Example demonstrating how to resume an upload

File uploads are resumable, but we don't have any examples of how that works.
When we know the precise chunks already, it's pretty easy, but the example should demonstrate how to recover from an error - e.g. what info to save and how to resume from whatever is there, specifying the right offset.

(idea suggested by @jochenkirstaetter)

Is there a specific language you'd like the example in? I think we should just support this via the python SDK directly

Just the standard stuff we use here - Python and maybe REST. We need the SDK support too but depending on the complexity we should either update the existing guides here to show resumption or add new ones.

Hi there, thanks @markmcd to bring this up, appreciated.
Any language would be great.
I'm interested in any code so that I am able to adapt it into my Gemini SDK for .NET ;-)
And as we are talking about resume. How about parallel upload channel/streams? Is this something possible on the API side?

Hi @jochenkirstaetter, I don't think we'll have examples or SDK support for .NET.
But to unblock you, I think you can rely on the googleapiclient library for .NET and create a DiscoveryService using our API documentation. Then upload files using ResumableUpload class (similar to the Drive example).
This is how we're doing it in JS right now until we have SDK Support:

   const GENAI_DISCOVERY_URL = `https://generativelanguage.googleapis.com/$discovery/rest?version=v1beta&key=${API_KEY}`;
   // Initialize API Client
    const genaiService = await google.discoverAPI({url: GENAI_DISCOVERY_URL});
    const auth = new google.auth.GoogleAuth().fromAPIKey(API_KEY);

    // Prepare file to upload to GenAI File API
    const media = {
        mimeType: mime.lookup(filePath),
        body: fs.createReadStream(filePath),
    };
    var body = {"file": {"displayName": fileDisplayName}};
    try {
        // Upload the file
        const createFileResponse = await genaiService.media.upload({
            media: media, auth: auth, requestBody:body});
        const file = createFileResponse.data.file;
        const fileUri = file.uri;

Hi @TYMichaelChen
Thanks for the example code which I already assimilated into my SDK. The issue is about resuming an upload which I don't see in the Javascript code. And I couldn't find it in the source code of the Python SDK.
Maybe it could be of interest to you that I implemented a client for the Gemini API in NET supporting Google AI and Vertex AI in one package.
https://github.com/mscraftsman/generative-ai
Actually, the repository contains three projects

a core package for Gemini and PaLM
a package for ASP.NET Core, and
a package using Google Cloud Client Library for NET
and lots of tests to verify functionality.

This is based on the REST API and a little bit of network capture to correct my initial file upload from the (for me) insufficient sample.sh using multiple requests to the correct use of the multipart request as done in the Python (create_file method) and Javascript SDK. Something I exchanged with @markmcd recently.
I also had a look at the official dotnet-docs-samples repository provided by Google. Which is totally different to anything else you provide in the other SDKs. Which is actually the reason I implemented the client in NET. End of February there was nothing available for Gemini, only PaLM 2.
Anyway, I'll have a look at the Drive sources, maybe I'll be able to find something. 🤔
FYI, I have a signed CLA and I'm a GDE for Cloud. I'd be glad to assist with an official Gemini SDK for NET. 🙏

Hi @TYMichaelChen and @markmcd
I think that I found the right information here: https://cloud.google.com/storage/docs/performing-resumable-uploads
Those cURL examples are easy to understand. Using the suggested ResumableUpload class should allow me to give it a shot and see what happens. 🙏

https://github.com/google-gemini/generative-ai-python/pull/275

Hi @MarkDaoust
Thanks for following up.
I noticed a while ago that the handling in .NET is based on using Streams instead of using chunks like in Python.
// other code before
var multipartContent = new MultipartContent("related");
multipartContent.Add(new StringContent(json, Encoding.UTF8, Constants.MediaType));
multipartContent.Add(new StreamContent(new FileStream(uri, FileMode.Open), (int)Constants.ChunkSize)
// other code after

Which already works nice and stable.
I'm going to review the Python code you linked to see how it works and how I could possibly adapt it in .NET.
Thank you very much.
Cheers, JoKi


Add youtube-style timestamp queries

I propose adding a feature to accept an optional query string on show links that starts playback at a specific timestamp, similar to Youtube. E.g. you would be able to go click on syntax.fm/show/121/hasty-treat-tips-to-succeed-on-youtube?t=23m17s (note the ?t=23m17s) and be taken to the show's page (as before), but also have playback start at 23 minutes 17 seconds.
This would enable

being able to link to specific timestamps from elsewhere (like twitter)
Making timestamps in shownotes clickable links that jump the player to that point

I would like to attempt this. Would you be interested in merging this feature?

Hi @416serg I am working on this gradually, but it's actually quite chunky.
Part of the trickiness relates to decide precedence between a start time from the URL and/or clicking on a timestamp link vs using the last played time from localstorage. To make this easier I proposed a refactor to the localstorage code in #415.
This makes it easier to introduce more logic that plays nice with the localstorage position stuff. Could you have a look at that PR please and let me know if you are happy to merge it?

I worked on bullet point no. 2 in #518 if that can interest someone


[fix][sqllab] nullable booleans in dataframe

CATEGORY
Choose one

[X] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
The pandas "bool" dtype is not nullable, so null booleans were incorrectly displayed as false in sqllab.
e.g. SELECT true UNION ALL (SELECT null); ->

Mapping boolean to object type to support boolean + null.
TEST PLAN
Ran the above query locally and confirmed it showed null instead of false.
REVIEWERS
@etr2460 @graceguo-supercat

Codecov Report

Merging #8833 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8833   +/-   ##
=======================================
  Coverage   65.88%   65.88%
=======================================
  Files         483      483
  Lines       24176    24176
  Branches     2779     2779
=======================================
  Hits        15928    15928
  Misses       8070     8070
  Partials      178      178

Impacted Files
Coverage Δ

superset/db_engine_specs/bigquery.py
40% <ø> (ø)
:arrow_up:

superset/db_engine_specs/presto.py
22.48% <ø> (ø)
: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 b6f31ab...a14f3e3. Read the comment docs.

@etr2460 It doesn't really make a difference here because pandas would infer it as object anyways, but I think it's better and more consistent to be explicit since we're explicit about all the other types.

hmm, we're not really being explicit about all the other types though... Here's a list of all the presto types: https://prestodb.io/docs/current/language/types.html. A bunch of them aren't in this mapping

I'm just a little worried that leaving it out might look like an oversight and that someone in the future would be like "LOL, they forgot bool dtype lemme add it". Don't have a strong opinion though.

fair enough! let's add a comment when it's object then. I'll accept and merge after the comment is added!
also i assume that you checked that bigquery boolean is actually nullable boolean too?

also cc @betodealmeida that added this stuff so that he knows


Custom response

Hello,
is it possible to customize end point response?
Currently I am registering sql server, redis and rabbitmq health checks. If all the health checks are OK, I would like to return something as following:
{
     "health" : "healthy"
}

If one of the health checks fails, I would like to return a different message etc.
How can I do this?

Hi @fatagun
In  new Asp.Net Core 2.2 HealthChecks you can customize the response and continue using this HealthChecks, please review:
https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks
With BeatPulse (mantained for 2.1 .net core) this is not an option.

Thanks.


Setting can_target in widget constructor does not work

I don't know if this is because of gtk4.cr or because of gtk itself, but the following code does not actually set can_target to false:
require "gtk4"

app = Gtk::Application.new("test.test", Gio::ApplicationFlags::None)
app.activate_signal.connect do
  window = Gtk::Window.new(application: app)

  # Does not work
  window.child = Gtk::Button.new(can_target: false)
  # Does work
  # window.child = Gtk::Button.new.tap { |btn| btn.can_target = false }

  window.present
end
exit(app.run(ARGV))

can_target is not the only variable where this happens, the variables can_focus and focusable also have the same issue.
As shown in the inspector:

I think it's a bug, the equivalent C code works as expected:
#include <gtk/gtk.h>

static void activate(GtkApplication *app, gpointer user_data) {
  GtkWidget* window;
  GtkWidget* button;

  window = gtk_application_window_new(app);
  gtk_window_set_title(GTK_WINDOW (window), "Window");
  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);

  // Create GValue
  GValue value = { 0 };
  g_value_init(&value, G_TYPE_BOOLEAN);
  g_value_set_boolean(&value, false);

  // Create button
  button = gtk_button_new_with_label("Hello World");
  // Set button prop
  g_object_set_property(G_OBJECT(button), "can_target", &value);

  gtk_window_set_child(GTK_WINDOW(window), button);
  gtk_window_present(GTK_WINDOW(window));
}

int main(int argc, char *argv[]) {
  GtkApplication *app;
  int status;

  app = gtk_application_new("org.gtk.example", G_APPLICATION_FLAGS_NONE);
  g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
  status = g_application_run(G_APPLICATION (app), argc, argv);
  g_object_unref (app);

  return status;
}

Compiled it with:
gcc `pkg-config --cflags gtk4` src/crash.c -o bin/crash_c `pkg-config --libs gtk4`

Hmmm... I just noticed that the version that works is the one equivalent to the C code (using set_property)... I need to modify the code above to initialize the property in the constructor to check if this is a GTK4 behavior or a binding bug.

Also works, so it's really a bug.
#include <gtk/gtk.h>

static void activate(GtkApplication *app, gpointer user_data) {
  GtkWidget* window;

  window = gtk_application_window_new(app);
  gtk_window_set_title(GTK_WINDOW (window), "Window");
  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);

  // Create GValue
  GValue value = { 0 };
  g_value_init(&value, G_TYPE_BOOLEAN);
  g_value_set_boolean(&value, false);

  // Create button
  const char* props[] = {"can_target"};
  GtkWidget* button = GTK_WIDGET(g_object_new_with_properties(GTK_TYPE_BUTTON, 1, props, &value));

  gtk_window_set_child(GTK_WINDOW(window), button);
  gtk_window_present(GTK_WINDOW(window));
}

int main(int argc, char *argv[]) {
  GtkApplication *app;
  int status;

  app = gtk_application_new("org.gtk.example", G_APPLICATION_FLAGS_NONE);
  g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
  status = g_application_run(G_APPLICATION (app), argc, argv);
  g_object_unref (app);

  return status;
}

hehehe, found the issue, the constructor written for this is:
      if can_target
        (_names.to_unsafe + _n).value = "can-target".to_unsafe
        GObject::Value.init_g_value(_values.to_unsafe + _n, can_target)
        _n += 1
      end

But if can_target is false it never enters the if, the correct code must check if !can_target.nil?. I can fix that later today, thanks!


Add instructions on generating charts

This adds basic instructions for using generate_charts.py to the README.

@vuldin I can review this for you if you'd like.

@vuldin I can review this for you if you'd like.

Thanks!

I prefer to go with .venv than install directly in the user environment since you can't always satisfy all the versions of the random python stuff on localhost, but this is a personal choice.
So LGTM.


Improve site navigation

Currently quiz and lab only give a 'back' button on the doQuiz and doLab pages (and on the grading pages).
It would be good for them to have proper navigation buttons.
Would be good for Enrollment and Attendance pages as well

Latest commit fixes this


Update 'bem-components' to v2.0.0; update deps

closes #101

/cc @tadatuta

После того как вольем буду выпускать<EMAIL_ADDRESS>

:+1: Thanks!
p.s. Missing tests ;-(

There are specific testing system for yeoman generator.
All in all,  func testing - is not trivial task, because of the dependencies which generator uses.
So... nowadays only unit testing was provided.

Nice to know, thanks! ;-)


Updates to packages and experimental SteelSeries HID Support

List any issues that this PR fixes: fixes # , etc...

This pull request proposes the following changes:

Updates NuGet packages.
Changes platform toolset and windows sdk to a newer version to ensure compatiblity with latest visual studio.
Adds experimental steelseries hid write support.

Known issues/To do:

To do: Use mono usb library instead and add other rival mouses support.

Thanks for the contribution! I've had a bit of a look around the code and I don't really like the hardcoded hex values that are used for communicating with the device, it may make sense to create a base class for devices and create sub-classes for each device which deals with the particular interactions?

What do you mean by sub-classes, different class for each rival mouse? Wouldn't that create mess?

Damn this close and comment button is big.

What would create a mess would be having if statements in every method that interacts with a device, for every device. It would make a whole lot more sense to just have one class which handles the interaction for each device (as for stuff like Rival 300, and 300 CSGO all you need to change is the identifiers) and just swap out which class is being used based on what devices are found.
Having the main class not be changed for every device you add is very powerful. If all you need to do is create a new sub-class for, let's say the rival 700, you change any particular interactions that are different and that's it, that makes everything a whole lot nicer. Things will get really messy if you start hardcoding interactions and putting if statements in places where there are interactions, it makes it more awkward to find & fix bugs and more awkward to add new devices.

Oh ok I get it. I'm on it now.

Is this what you asked dude? I added new commit, it has better performance and I added other devices but Rival 310 and Rival 700 is not reverse engineered yet so I couldn't add their support now. For Rival 500 It looks complicated. And sorry but the HidReport can only be local variable.

I made it modular, other rival mouse supports can now be added easily.

Sorry for inconvenience boss, now It is same as you wanted.

@SnakePin It's looking a lot better! There are some more changes I want to make, but I'll deal with those, you've already done a lot of really good work! Let me know whenever you've finished making your changes for this PR, then (when I'm free after exams) I'll make some finishing touches and merge! Thanks again!

I think I my job on this PR finished for now. But what changes do you want to make, maybe I can do that.

Mainly just cleaning up the code related to the classes. i.e. create a list of the different device classes that is iterated through for checking them all, a list of the ones that have been found instead of having individual bools and simplify some things. You don't need to worry about it, I don't mind doing it, but you can try and do some of it if you want.


Project Leads can submit Project Proposals

Project Leads should be able to submit a link to a project proposal for the active semester.

This is currently handled by Submitty with grading, so for now we can just store the links to proposals and not handle grading.


Changelogs limit

@mleeBoeing @J-Fid @lsemesky
Removed the unused code in Listing.js.
Prior PR wasn't updating the Listing Changes when moving between different Application quickview displays.  This should fix that.

:+1:


Add action secrets as input

[ ] Issue number
[ ] Private key

Steps:

Release v0.0.3
Select good version in Lafontaine
Test push in Lafontaine


com.google.fonts/check/018 should detect abbreviations

Observed behaviour
>> com.google.fonts/check/018 with ((u'font[0]', '/home/nikolaus/Downloads/Ubuntu GF Font/Ubuntu-R.ttf'),)
   Checking OS/2 achVendID.
 * WARN: VendorID 'DAMA' and corresponding registered name 'Dalton Maag Limited' does not match the value that is currently set on the font nameID 8 (Manufacturer Name): 'Dalton Maag Ltd' [code: mismatch]
 * WARN: VendorID 'DAMA' and corresponding registered name 'Dalton Maag Limited' does not match the value that is currently set on the font nameID 8 (Manufacturer Name): 'Dalton Maag Ltd' [code: mismatch]

   Result: WARN

Expected behaviour
The check should detect "Ltd" as an abbreviation for "Limited"
Resources and exact process needed to replicate
Download and check the GF release of Ubuntu.

Please consider updating the font metadata in your files instead.

Since 'Limited' and 'Ltd' appear in roughly enough proportion in the the vendor listed derived from:

https://www.microsoft.com/typography/links/vendorlist.aspx
it would likely save time and hassle if "Limited"/"Limited."/"Ltd"/"Ltd." where treated equivalently for the purposes of evaluation.

Background: @felipesanches: the workplan here is to build an equivalent to the binary Ubuntu in GF from source form, and preferably keep FB happy too (FB is designed to help onboard, not hinder).

i have the impression that this was already fixed. Can any of you confirm, please?

yes. This was already fixed in the past when we dropped the portion of the check routine that compared the vendor-id with the manufacturer name (nameid 8).


Code snippets added to live demo

Showing the code for each transition in the live demo, maybe in the future adding a more detailed explanation about the transition.

Sorry for the late replay
I agree with your points about the overall look, but the page needs to be redesigned in order to solve this problem, maybe have a code link with the code, i still think that having the necessary code to implement the transition is important, most people use github on the desktop and usually they are looking for a quick solution, this is specially true with react since is a new technology and most people using it are new to programming in general, just the fact that you have to download the code or browse through github is a huge pain.
about the code being too long, that's where my other comments come in, maybe we could ship some transitions with the component or create a separate module with the transitions, so we could download the component and the transitions that we wanna use, these are just ideas, the overall goal is just to be more user friendly.


[BUG]: Installation Broken

Contact Details [Optional]
No response
What happened?
The installation didn't work. I think versions need to be updated in your code. Maybe the issue is that I'm running Python 3.10.1 but I don't think so.

Reproduction steps

pip install zenml

...
ZenML Version
None
Python Version
No response
OS Type
Mac OS
Relevant log output
See image above.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

No you're right it's because you're using Python 3.10.1. We only support 3.7 and 3.8. Try one of those @startakovsky

Closing due to inactivity. Please let us know if it worked with changing the Python version


Fix for autocompletion of columns containing uppercase characters

This fixes a bug preventing autocompletion of columns with uppercase characters.

Thanks!


.after() only runs if all tests are passing

Near as I can figure, the .after() hook is only being ran if the tests have passed. I have a test file something like this (simplified/pseudo for clarity)
// ... imports

test('create a file', ...) // passes

test('do something else', ...) // fails

// ... other tests

test.after('clean up created files', ...) // never runs

Yep. That is the currently defined behavior. Your use case makes sense, so maybe we should change it.
The current behavior is useful in other situations though (if after actually requires successful execution of your tests, etc).
Perhaps a finally test type is in order (one that always runs, no matter the results from before)

Yeah, a .finally method would make sense. I had to check the docs last night when I realized .after wasn't working (the way I thought it was meant to) to see if I had missed some other method.
So I would assume that the appropriate way to handle it would be to make .finally be the one that runs at the end no matter what. Fair assumption?

Either that or just change after to do what you expect. Let's see what everyone thinks.

I think it's definitely a valid request and has its right to be in the core. And .finally() looks good too.

What if we make this a default behavior?

What if it's always, and chainable:

test.always  - even if a beforeEach fails.
test.afterEach.always - even if a test fails.
test.after.always -  the OPs request.

Not sure the first one makes sense.

I like this idea too.

Not sure the first one makes sense.

Nope, it does not :)

Seconded @vdemedes's last comment

@sindresorhus can we get some help wanted etc labels on this? :smile:

I like this idea too.

:+1:

@therealklanni Done. Sorry about the delay. I've been traveling.

No worries, thank you

@sindresorhus I started working on this a few weeks ago. Keep meaning to get back around to it, but I'm just swamped lately. Rather than leaving it open any longer I wanted to let you know that I probably won't have time to work on it (certainly not any time soon). I just have too much going on right now, sorry.

No worries @therealklanni!

seems that class Sequence must be modified for this feature, I'll try to work on this issue, any advices?

I'm not sure Sequence will need to be modified.
Sequence takes a list of tasks and a boolean bail argument.
We currently build a list like this:
+ bailing sequence
  - beforeEach
  - beforeEach
  - test
  - afterEach

I think you could just wrap that in an non-bailing sequence:
+ non-bailing sequence
  + bailing sequence
    - beforeEach
    - beforeEach
    - test
    - afterEach
  - afterEach.always (afterEach is promoted to the non-bailing wrapper if it has a `always` modifier)

This sequence building takes place in test-collection.js.
Chainable methods are defined here.

Thanks for your advice! I'll try to wrap them as follows:

wrap the final return Sequence: wrap it in a new Sequence followed by after.always as non-bailing if necessary
wrap serialTests, concurrentTests: wrap them in a new Sequence followed by afterEach.always  as non-bailing if necessary

As for the chain modification, I'll add a new item always: {always: true} (default false) and then modify the add(https://github.com/sindresorhus/ava/blob/master/lib/test-collection.js#L67) method for adding them to a proper hookset.

I think you are on the right track.

Hi @jamestalmage , I've opened a pull request #806, however it leads to some failure in other tests, could you have a look and give some advices? Thank you!

@jamestalmage I've fixed the mistake, now it should work as desired

Should an afterEach.always execute if a beforeEach failed? Or should the always only apply if we made it to the actual test function?

It should probably execute even if a beforeEach fails I think. Maybe you opened a DB connection or wrote a file, and you want to clean that part up even if something else failed in the beforeEach. You could catch it in the beforeEach I guess, but then you'd duplicate the clean up in both places.

Sorry to bring this up again, but should always just be the default behavior? If for some reason your after hook should only run if tests succeed then you can keep track of that yourself. I imagine that'd be rare though.

If for some reason your after hook should only run if tests succeed then you can keep track of that yourself

There are plenty of scenarios where you wouldn't want afterEach running, particularly if you are using mocks and want to call someMock.verify().

should always just be the default behavior?

I am not sure. That certainly makes sense in a serial test runner, where it is very likely you are using afterEach to cleanup some state so it doesn't mess with the next test. For concurrent tests however, there really shouldn't be a whole lot of cleanup todo - you need to avoid messing with state anyways.

@jamestalmage in your example, do you mean verifying mocks in your afterEach? Hadn't considered that.
I'm struggling with what to name the "only if there were no failures" after hook. always is easier. I'm just concerned that users may use after for cleanup where they really should have used always.after, but don't notice until a test starts to fail in CI. It's hard to test your tests 😉

Some mock libraries allow you to set up expectations, run your test, and then verify all expectations were actually called. Think of the verification step as the mocking equivalent of t.plan(). One example is nock. They have methods like nock.isDone() (or nock.done() which is the throwing equivalent).

I'm just concerned that users may use after for cleanup where they really should have used always.after

Yeah, that's a potential problem, but I'm not sure how to avoid it.

RE: naming

after and always.after is pretty clear naming once you understand the default behavior of after. I'm not sure of a better naming scheme if we flip the default behavior. afterEach.success?

after and always.after is pretty clear naming once you understand the default behavior of after. I'm not sure of a better naming scheme if we flip the default behavior. afterEach.success?

Yea I think I prefer after and always.after.
Given that these run after the normal after hooks, maybe .finally would be better? But maybe that's too strong.

I think finally helps communicate it comes last, don't know that it helps communicate the always part though I think people would catch the try/finally parallel.
I think some users might be confused if they specified .after.always followed by always but they ran in the opposite order. finally would make that clear.


Recreate temp dir if it no longer exists

Previously we do not check if self.good_temp_dir is actually good before using it.
If the path that self.good_temp_dir has been removed then we need to re-create it before trying to use that directory.
ansible_mitogen.target.is_good_temp_dir(self.good_temp_dir) ensure that that is the case.
Fixes #1061

Notes to myself

ansible_mitogen.target.is_good_temp_dir(path) has a misleading name. It doesn't just do checks on an existing dir, it attempts to create the path.


"invalid value" error

I am getting the error "invalid value" from here: https://github.com/go-gorm/gorm/blob/db2630cb3a02edcc92678ed78e49d1e85d268224/callbacks.go#L100
Pointing to a line as simple as db.Take(&user)
There is absolutely no hint as to what the error could be or how to solve it.

user is nil pointer

For others finding this error in the future, @jinzhu is correct.
I had this:
var user *User
db.Where().First(&user)

which makes user  a nil pointer. Instead, use:
user := User{}
db.Where().First(&user)

user now is no longer a nil pointer, if you need to return it as a pointer make sure to use return &user


Added commands and fixed some errors

I have added 3 commands:
-Low Ammo , Target Neutralized , KIA/Lost one
Fixed 2 command:
-Wait for me
-Take Cover

Hi @geriko7,
Thanks for this (y) I'll see if I can get my local build environment setup again and will package a new release as soon as that's done.

Hey there,
Thanks for putting it in, but in the latest release it's not working.
I didn't find anything and I don't know a lot about it, so can you take a look at the files?

Certainly, sorry about that - will check as soon as I get home after work

Thank you! Looking forward to your reply!

Hi @geriko7,
I unfortunately wasn't able to reproduce any crash (I assume that you're referring to a crash when you say "it's not working"). I've included a couple of other fixes and tweaks to try and track down any crashes if that is the case - so if you wouldn't mind trying out v0.2.8 I'd appreciate it.
Regards,
Benjamin

Thanks for your reply!
Actually, the Hungarian translation was only one of the issues. The other was, that when I said any commands that I've put in the software, wasn't working. It didn't understand my pronunciations. I've tried all of these commands. Did it work for you?
Best Regards,
Gary Raven

Commands appear to work for me, however you need to remember to say a unit group before the command itself, so "all, be advised, low fuel" should work. That's a limitation of the grammar used currently, it's of the form [subject] [command] (direction).
Before the project sort of closed down, Michael and I were looking at implementing a custom grammar syntax which would have allowed greater flexibility here, but unfortunately we never got around to finishing it (it's a rather complex task to undertake, especially when you need to bind it to keystroke sequences, and while trying to keep it compact).

Yeah, yeah... Thank you. Now it's working.
Anyway, thank you for fixing the grammar problems in the commands!
It'd be good to make a custom grammar syntax, because in status actions It's bad to say the [subject] first, it'd be good to make to say only command.
Soon I'll go and work on it.


Chenriks/theming

Depends on @btelnes PR, which re-enables oxa playbook execution for edxapp. Trying to keep this consistent with those changes.

@ms-hukoyun @btelnes please review


doc: Clean up documentation for cycle counter API

Discussion in #55658 showed that our API docs for the hardware cycle counter layer were a little lacking.  Technically it's owned by the architecture layer, but the arch docs were unhelpful.  And the arch layers uniformly farm it out to an API in the timer drivers that was never documented at all.  Clean things up.

What about also adding something like this for sys_clock_cycle_get_32():
"If this wraps within less than 60 seconds, it is recommended to also
implement sys_clock_cycle_get_64() as well."

Agreed, but that's a policy change that should be a separate PR IMHO.  This is just plugging the hole with the documentation of existing behavior.


Use a sheet instead of a popup for plugin/theme installation

fix: Use a sheet instead of a popup for plugin/theme installation popup (this fixes issues on older versions and also matches the popup with the font install popup)

I installed 215.24 stable version and have this. Did branch merged into official or not?

It is not merged you can use my plugin in the meantime https://plugins.notmarek.com/224compat (source at https://GitHub.com/NotMarek/bunny-plugins) to install it use /eval bunny.plugins.fetchPlugin("https://plugins.notmarek.com/224compat")  (you will first need to enable developer settings and eval inside them)

It is not merged you can use my plugin in the meantime https://plugins.notmarek.com/224compat (source at https://GitHub.com/NotMarek/bunny-plugins) to install it use /eval bunny.plugins.fetchPlugin("https://plugins.notmarek.com/224compat") (you will first need to enable developer settings and eval inside them)

Thanks for response! But for some reason i get this.
TypeError: undefined is not a function
at global (JavaScript:1:26)
at eval (native)
at ?anon_0_ (bunny:2:31033)
at next (native)
at uu (bunny:1:1048)
at u (bunny:1:1247)
at anonymous (bunny:1:1307)
at tryCallTwo (/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
at doResolve (/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
at Promise (/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
at anonymous (bunny:1:1197)
at execute (bunny:2:31179)
at apply (native)
at anonymous (bunny:1:2207)
at apply (native)
at anonymous (bunny:4:1013)
at call (native)
at anonymous (bunny:1:2152)
at apply (native)
at td (bunny:1:2213)
at f (bunny:1:2927)
at apply (bunny:1:2994)
at proxy trap (native)
at ?anon_0_ (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:5392:6033)
at next (native)
at asyncGeneratorStep (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:25:87)
at _next (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:25:338)
at tryCallOne (/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)
at anonymous (/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)
at apply (native)
at anonymous (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:2034)
at _callTimer (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:575)
at _callReactNativeMicrotasksPass (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:1017)
at callReactNativeMicrotasks (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:3831)
at __callReactNativeMicrotasks (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:3309)
at anonymous (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:1164)
at __guard (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:2908)
at flushedQueue (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:1122)
at callFunctionReturnFlushedQueue (/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:853)
at apply (native)
at td (bunny:1:2024)
at f (bunny:1:2927)
at apply (bunny:1:2994)
at proxy trap (native)

Sorry meant vendetta.plugins.fetchPlugin
On Tue 24. 9. 2024 at 16:46 saberana @.***> wrote:

It is not merged you can use my plugin in the meantime
https://plugins.notmarek.com/224compat (source at
https://GitHub.com/NotMarek/bunny-plugins) to install it use /eval
bunny.plugins.fetchPlugin("https://plugins.notmarek.com/224compat") (you
will first need to enable developer settings and eval inside them)
Thanks for response! But for some reason i get this.
TypeError: undefined is not a function
at global (JavaScript:1:26)
at eval (native)
at ?anon_0_ (bunny:2:31033)
at next (native)
at uu (bunny:1:1048)
at u (bunny:1:1247)
at anonymous (bunny:1:1307)
at tryCallTwo
(/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
at doResolve
(/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
at Promise
(/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
at anonymous (bunny:1:1197)
at execute (bunny:2:31179)
at apply (native)
at anonymous (bunny:1:2207)
at apply (native)
at anonymous (bunny:4:1013)
at call (native)
at anonymous (bunny:1:2152)
at apply (native)
at td (bunny:1:2213)
at f (bunny:1:2927)
at apply (bunny:1:2994)
at proxy trap (native)
at ?anon_0_
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:5392:6033)
at next (native)
at asyncGeneratorStep
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:25:87)
at _next
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:25:338)
at tryCallOne
(/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)
at anonymous
(/tmp/tmp7p868pi8/ReactAndroid/hermes-engine/.cxx/MinSizeRel/3g3ur182/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)
at apply (native)
at anonymous
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:2034)
at _callTimer
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:575)
at _callReactNativeMicrotasksPass
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:1017)
at callReactNativeMicrotasks
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:166:3831)
at __callReactNativeMicrotasks
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:3309)
at anonymous
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:1164)
at __guard
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:2908)
at flushedQueue
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:1122)
at callFunctionReturnFlushedQueue
(/workdir/discord_android_rn/android/app/src/main/assets/index.android.bundle:49:853)
at apply (native)
at td (bunny:1:2024)
at f (bunny:1:2927)
at apply (bunny:1:2994)
at proxy trap (native)
—
Reply to this email directly, view it on GitHub
https://github.com/pyoncord/Bunny/pull/91#issuecomment-2371523246, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZQHJTRKL4ZXGDQYGXYLH3ZYF3MJAVCNFSM6AAAAABOURZX6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGUZDGMRUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry meant vendetta.plugins.fetchPlugin
Sadly its gives crashes when open Plugins section on my version 215.24. ;[

Huh that's weird :( I've only tested it in 224
On Tue 24. 9. 2024 at 16:57 saberana @.***> wrote:

Sorry meant vendetta.plugins.fetchPlugin
Sadly its gives crashes when open Plugins section on my version 215.24. ;[
—
Reply to this email directly, view it on GitHub
https://github.com/pyoncord/Bunny/pull/91#issuecomment-2371555156, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZQHJQJZFMZLP5PBSBEG23ZYF4W7AVCNFSM6AAAAABOURZX6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGU2TKMJVGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

closing in favor of https://github.com/pyoncord/Bunny/commit/ad6524772b9dd98f36b640b8fba2d36e2d6a7f2b


Implementations improvements part 1

Trying to not focus on what it means to associate a type, nor deal
too much with generic impls at this point. Those will come in future parts.
Right now everything about associated types are defined in items/traits.md. I didn't touch that here.
Fixes #5. Albeit, I'm not a fan of the wording which I just pulled directly from the RFC.
cc @scottmcm for review.

Thanks!


Unable to add a single CF to Sonarr v4

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Add a single CF to Sonarr v4.
I have 4 Quality Profiles and zero Custom Formats in Sonarr v4.
Recyclarr fails to parse my reclarr.yml and is expecting a - on the line:  quality_profiles:
I can use quality_profiles: after trash-ids. according to https://recyclarr.dev/wiki/yaml/config-reference/custom-formats/
Expected Behavior
Create a 'AMZN' CF.
Add that CF to all 4 Quality Profiles
Steps To Reproduce
cd C:\Users\nick\AppData\Roaming\recyclarr
./recyclarr.exe sync sonarr -p -d
Environment & Versions
- Operating System: Win 11
- Architecture: x64
- Recyclarr Version: 5.4.3+Branch.tags-v5.4.3.Sha.d4e8be42ddd69f6b226f5e9ca6246957d439eb9f
- Recyclarr Build: win-x64
- Sonarr Version: <IP_ADDRESS>2
- Radarr Version:

Recyclarr Log File(s)
recyclarr_2023-09-20_14-51-17.verbose.log
recyclarr_2023-09-20_14-51-17.debug.log
Configuration YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/config-schema.json

# A starter config to use with Recyclarr. Most values are set to "reasonable defaults". Update the
# values below as needed for your instance. You will be required to update the API Key and URL for
# each instance you want to use.
#
# Many optional settings have been omitted to keep this template simple. Note that there's no "one
# size fits all" configuration. Please refer to the guide to understand how to build the appropriate
# configuration based on your hardware setup and capabilities.
#
# For any lines that mention uncommenting YAML, you simply need to remove the leading hash (`#`).
# The YAML comments will already be at the appropriate indentation.
#
# For more details on the configuration, see the Configuration Reference on the wiki here:
# https://recyclarr.dev/wiki/yaml/config-reference/

# Configuration specific to Sonarr
sonarr:
  sonarr:
    # Set the URL/API Key to your actual instance
    base_url: http://<IP_ADDRESS>:8989/sonarr
    api_key: <redacted>

    # Quality definitions from the guide to sync to Sonarr. Choices: series, anime
    quality_definition:
      type: series

    custom_formats:
       - trash_ids:
          # [No Category]
          - d660701077794679fd59e8bdf4ce3a29 # AMZN
       quality_profiles:
          - name: 1080p to 4K Remux
          - name: 720p to 4K Remux
          - name: Any
          - name: SDTV to 1080p

Sonarr / Radarr Logs
No response

Your YAML is malformed. You can use any yaml lint tool online to see this. I recommend you use VS Code with Schema Validaton for editing in the future as it will easily point out these issues.
The correct YAML should be:
    custom_formats:
       - trash_ids:
          # [No Category]
          - d660701077794679fd59e8bdf4ce3a29 # AMZN
         quality_profiles:
          - name: 1080p to 4K Remux
          - name: 720p to 4K Remux
          - name: Any
          - name: SDTV to 1080p

Oh I'm very sorry. I didn't realize YAML needs alignment. Thank you.


Homebridge dependency warning

Hi there,
We've noticed your plugin is using homebridge as a prod-dependency.
Homebridge should only be included in plugins as a dev-dependency and used for TypeScript types.
In the next release of we are changing Homebridge to only export types and const enums which can be safely used in your code and not result in Homebridge becoming a runtime dependency.
You can test this out using the current beta of Homebridge:
npm install --save-dev homebridge@beta

I will investigate.  As I remember it, I put it that way so that unit testing of my structure can use Homebridge to query any changes you make.  I will look into this further.

This is probably why homebridge complains when it starts up:

[6/17/2020, 11:03:59] The plugin "homebridge-cmd4" defines 'homebridge' and/or 'hap-nodejs' in their 'dependencies' section, meaning they carry an additional copy of homebridge and hap-nodejs. This not only wastes disk space, but also can cause major incompatibility issues and thus is considered bad practice. Please inform the developer to update their plugin!
[6/17/2020, 11:03:59] Loaded plugin<EMAIL_ADDRESS>[6/17/2020, 11:03:59] Registering accessory 'homebridge-cmd4.Cmd4'
[6/17/2020, 11:03:59] Registering platform 'homebridge-cmd4.Cmd4'

This is a new message by homebridge. I probably just skipped over it. this
message also refers to another issue so is a duplicate, but i will not
close this one either because I like the warning and will see if it goes
away when the other issue is fixed.
thanks,
john Talbot
On Wed, Jun 17, 2020 at 5:07 AM jsiegenthaler<EMAIL_ADDRESS>wrote:

This is probably why homebridge complains when it starts up:
[6/17/2020, 11:03:59] The plugin "homebridge-cmd4" defines 'homebridge' and/or 'hap-nodejs' in their 'dependencies' section, meaning they carry an additional copy of homebridge and hap-nodejs. This not only wastes disk space, but also can cause major incompatibility issues and thus is considered bad practice. Please inform the developer to update their plugin!
[6/17/2020, 11:03:59] Loaded plugin<EMAIL_ADDRESS>[6/17/2020, 11:03:59] Registering accessory 'homebridge-cmd4.Cmd4'
[6/17/2020, 11:03:59] Registering platform 'homebridge-cmd4.Cmd4'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/51#issuecomment-645252597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCXY5C3Y5BFCZ7BW6SP3RXCBTJANCNFSM4M6ZI2LA
.

Fixed with commit 810a7ae


How to grasp?

Dear author, Thanks for your work. After obtaining the pose, how is the grasping determined? For example, grasping a cup or grasping a bowl.

After obtaining the 6D pose of an object, the 3D bounding box of the object can be estimated from the object's point cloud and normalized to the object's canonical space. We have defined operational methods in the canonical space for each category of objects and each task. Therefore, by combining the estimated pose of the object with these predefined operational methods, the manipulation of this category of objects can be realized.

After obtaining the 6D pose of an object, the 3D bounding box of the object can be estimated from the object's point cloud and normalized to the object's canonical space. We have defined operational methods in the canonical space for each category of objects and each task. Therefore, by combining the estimated pose of the object with these predefined operational methods, the manipulation of this category of objects can be realized.

Hello, thanks for great work! Where can I find the code of this grasp part? I am very insterested in it. I would be very grateful if you could provide me with the sample code. Thank you again!

After obtaining the 6D pose of an object, the 3D bounding box of the object can be estimated from the object's point cloud and normalized to the object's canonical space. We have defined operational methods in the canonical space for each category of objects and each task. Therefore, by combining the estimated pose of the object with these predefined operational methods, the manipulation of this category of objects can be realized.

Hello, thanks for great work! Where can I find the code of this grasp part? I am very insterested in it. I would be very grateful if you could provide me with the sample code. Thank you again!

We have only created a demo for the robotic grasping and have not yet organized it for release. However, the implementation is relatively simple. I would be delighted to assist if you encounter any issues during replication.


maskFastaFromBed fails if fastas have windows line endings

I exported genomes in fasta format from geneious on windows. This seems to introduce lineendings or other characters which seem to trip maskFastaFromBed up. It runs without error, but it does not mask the supplied genome.

bedtools does not support windows line endings. You will need to do a conversion.


Merge back OracleUpsertDestination

https://github.com/bfabry/activewarehouse-etl/commit/fa8b71d3699bfabcfa9f01bf2adab41f7aa0103c
https://github.com/bfabry/activewarehouse-etl/commit/feb96c08190e8390220fd026924cc7785d912780

Won't do for now as I don't have any way to test that. Maybe we should have some contrib module or something.


Gather and display information after initialization

Related to PR https://github.com/Terracotta-OSS/terracotta-platform/pull/1019
And discussion: https://github.com/Terracotta-OSS/terracotta-platform/pull/1019#issuecomment-868115092

I think I have a better way to deal with this issue. Please make sure that help goes to stdout or stderr and the issue should be fixed I. The next release.


feature request: function to verify x-twitter-webhooks-signature header

New feature request
Expected behavior
another util function to verify x-twitter-webhooks-signature header
Actual behavior
none
Steps to reproduce the behavior
none

@owlwalks just to let you know this is now implemented (since 1.7.0).


[Feature] Syncing Feature: Archive Old Chats

Is your feature request related to a problem? Please describe.
Yes, the problem is that the latest version lacks a syncing feature, and it would be beneficial to have the ability to archive old data of chats/messages.
Describe the solution you'd like
I would like to see a clear and concise description of what I want to happen, which is the implementation of a syncing feature that allows for the archiving of old data in chats/messages. This feature would help users organize their conversations and reduce clutter in the interface. (example if there is lots of chats/messages it's lagging)
Describe alternatives you've considered
I have considered alternative solutions or features, and one option could be to manually delete old chats/messages. However, this can be time-consuming and may lead to accidentally deleting important information. Therefore, having an automated archiving feature would be more efficient and user-friendly.
Additional context
It would be beneficial if the archiving feature allowed users to selectively choose which chats/messages to archive or set up automatic archiving based on specific criteria, such as date or topic. This would give users more flexibility and control over managing their chat history, especially when dealing with a large volume of conversations.

[+] Additional context
Description :
It would be beneficial if the archiving feature allowed users to selectively choose which chats/messages to archive or set up automatic archiving based on specific criteria, such as date or topic. This would give users more flexibility and control over managing their chat history, especially when dealing with a large volume of conversations.

I plan to use indexedDB to solve the lagging issue caused by excessive messages. Please refer to #2433. The message archiving feature you mentioned is quite complex and may not be prioritized for implementation. Currently, a simple key-value storage approach should be sufficient to meet most requirements
However, regarding the hidden demand for old conversations that you mentioned, I feel that it is indeed necessary to implement it. In the future, it may be necessary to add a time-based sorting/grouping function to the left-hand conversation list and provide an option to collapse old conversations

@Yidadaa other feature might interesting

#2835


is it support with React Native?

I'm sorry,
react-epub-viewer library is not supoorted React-Natvie. 😥

Do you plan to do one? :(

There are other projects currently in progress, so it will be difficult in the near future.
However, if anyone interested in the Epub Viewer is making a PR, there is a willingness to review it!
Thank you!
:)


undersizedFramesIngress to be made available as status value (statistics), too

undersizedFramesIngress shall be made available as an un-reset counter.
Proposal:
The MacInterfacePerformanceType::undersizedFramesIngress to be copied into MacInterfaceStatus::undersizedFramesIngress, but datatype to be changed from signed INT32 to signed INT64.

Decision at the 5G-xhaul call on Tuesday 2nd of September 2020:
The MacInterfacePerformanceType::undersizedFramesIngress to be copied into MacInterfaceStatus::undersizedFramesIngress, but datatype to be changed from signed INT32 to signed INT64.
Updating UML and YANG required.

Has been solved with MacInterface_1.0.0-tsp.220314.1200.


updated container activity event class.

Updated container activity event class.
Added UID and some name changes.
Tested the json files on local server, which resulted in 0 errors.
Screenshot of UI attached.

Signed-off-by: Ashish Verma<EMAIL_ADDRESS>

Hello @rroupski,
Below is summary of changes as requested.

container.json is removed.
container_activity is base class, with no UID.
lifecycle.json is extending conatiner_activity, with UID 1, so that it is visible on browser.


[gh-549 and gh-514] refactor and add auth and validator tests.

This PR resolves #549 and closes #514.

I've leaved the issue https://github.com/rooch-network/rooch/pull/551/files#diff-a813ae75dd946c80da62e40d5cf6797d34629e913dbc1350bee6258788935067R113 to #567. Anyone can merge this first and I will resolve the issue at #567.


Introduce List Options with recursive flag

There was no real alignment on the List call. The list of children would be different from a store to the next, with one returning the recursive version and the other not, or one returning the directory key and the other not for example.
#32 attempts at aligning the List call for every backend with the recursive use case. Although this is not viable for very large sets of keys and subfolders.
We should introduce a recursive option to Listto be able to select whether we want the result to be recursive or not. This could be a simple boolean flag for example.

@abronan
LGTM :wink: :loop: :+1:


ci: improve gha ccache caching key

Previously each build would generate its own ccache cache because the gha we use appends a timestamp, which really limits the usefulness of ccache. Researching this by looking at some of the discussion on hendrikmuhs/ccache-action found that turning this off is caveat emptor because you have to ensure that if there's multiple builds running, they should use a separate cache key.
So, by appending ${{ matrix.version }} to the cache key, we ensure there's a cache for each build, and we will stop storing so many useless caches.

So just based on the increased build time of trying a new cache key, it seems the logic of the gha was picking up the previous timestamp. This still litters our cache with old versions, but that's not causing any issues.
This PR now just separates the caching to be per job (i.e. per PG version).


Test for findByIds fails

I've temporarily commented out the part of the test which fails.
The original test case was available at: https://github.com/strongloop/loopback-datasource-juggler/blob/master/test/basic-querying.test.js
I simply copied and repurposed it here: https://github.com/strongloop-community/loopback-connector-elastic-search/blob/master/test/02.basic-querying.test.js
In order to reproduce the problem:

un-comment the following lines:

names.should.eql( // NOTE: order doesn't add up, is 2.ii.iii broken?
  [createdUsers[2].name, createdUsers[1].name, createdUsers[0].name]);

comment-out the following lines:

names.should.include(createdUsers[2].name);
names.should.include(createdUsers[1].name);
names.should.include(createdUsers[0].name);

After you follow the steps above to reproduce the problem: You will see a failure like the following in logs when you run DEBUG=loopback:connector:* mocha:
loopback:connector:elasticsearch ESConnector.prototype.all +0ms model User result [
  {
    "seq": 1,
    "name": "a",
    "vip": true
  },
  {
    "seq": 2,
    "name": "b"
  },
  {
    "seq": 3,
    "name": "c"
  }
]
Possibly unhandled AssertionError: expected [ 'a', 'b', 'c' ] to deeply equal [ 'c', 'b', 'a' ]
    at /Users/pulkitsinghal/dev/shoppinpal/loopback-connector-elasticsearch/test/02.basic-querying.test.js:160:38
    at /Users/pulkitsinghal/dev/shoppinpal/loopback-connector-elasticsearch/node_modules/loopback-datasource-juggler/lib/dao.js:721:5
    at allCb (/Users/pulkitsinghal/dev/shoppinpal/loopback-connector-elasticsearch/node_modules/loopback-datasource-juggler/lib/dao.js:1210:7)
    at /Users/pulkitsinghal/dev/shoppinpal/loopback-connector-elasticsearch/lib/esConnector.js:705:17
    ...

@raymondfeng - Is the core code unable to sort when the id is represented by something other than id?  Like seq in this example? If so, would you mind opening an issues in the appropriate repository and leaving a reference to it here as well.

find code that tries to add sort order and tell it not to do so because findByIds isn't meant to work like that
can get clues from how mongo connector tracks the calling method name to accomplish the same thing


Non-existent service breaks template

I'm trying to create dynamic haproxy configs and everything works great, unless I'm missing a service.
When I try to use a with service "X" statement and the service X doesn't exist, rancher-template errors. I would expect it to return empty or nil so the else statement would take effect.
Is there a better way to do this?
My template: haproxy.tmpl
backend bk_web
  description "http://web:8400/_status"
  option httpchk GET "http://web:8400/_status"
{{ with service "web.web" }}
{{ range .Containers }}  server {{.Name}} {{.Address}}:8400 check inter 10s{{ end }}
{{ else }}  server none <IP_ADDRESS>:80 disabled {{ end }}

The error:
level=fatal msg="Executing template: template: haproxy.tmpl:102:8: executing \"haproxy.tmpl\" at <service \"web...>: error calling service: (service) could not find 'web.web'"

@jgreat Thanks for capturing this. I agree, it should return an empty service object for non-existing services.

Fixed in https://github.com/janeczku/rancher-template/commit/60d97cd21776a956aca3bce480a4b3c3ed4340e3

Confirmed, Thanks


Add missing modules to runpod notebook

https://github.com/JoePenna/Dreambooth-Stable-Diffusion/issues/139

Thanks for the resolution! hopefully it will be merged soon.

Can confirm these changes aren't required if running on vast.ai, but it doesn't seem to cause any problems.


Evaluate DeepSeek-Coder-V2

Lite model likely the only one within my reach.

Evals completed, instruct seems quite sensitive to 4-bit quantization.


README touchup

ummmm, OK wercker 😺

❤

Oops, I'm sorry, I completely glossed over the fact that you added the middleware docs when I submitted #121 :fearful:
The rest of this looks great.

I much preferred your middleware docs!  <3
On Wed, May 11, 2016, 22:37 Jesse Szwedko<EMAIL_ADDRESS>wrote:

Oops, I'm sorry, I completely glossed over the fact that you added the
middleware docs when I submitted #121
https://github.com/codegangsta/negroni/pull/121 [image: :fearful:]
The rest of this looks great.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/codegangsta/negroni/pull/118#issuecomment-218644692


nzFrontPagination set to false doesn't works in beta.2

Reproduction link
https://stackblitz.com/edit/angular-5woub3
Steps to reproduce
Change the for loops amount to see pagination respects nzData count not nzTotal.
What is expected?
Because nzTotal is set to 25 the pagination should show 3 pages.
What is actually happening?
Pagination shows 1 page. Based on nzData count.

Environment
Info

ng-zorro-antd
9.0.0-beta.2

Browser
Chrome, Safari

In beta.0 it is working correct. I looked into documentation throughly and somewhere it was written there is a nzServerRender option. Enabling that didn't helped either. nzFrontPagination was set to false in all tests.

angular version is 9.0.7?

@doukun Yes, Switching between beta.0 and beta.2 fixes this issue. didn't tried with different angular versions.


Add dart sdk link

Added a link to the dart sdk (usable with flutter framework)
The logo is from official dart repository which may need to be rebranded to fit your design
The sdk follow the new sdk api design.
Units tests is being written, and memorystorage controller is not implemented yet. Once done the sdk will be published to pubspec.

@Njuelle Can you make a separate list for community SDK when you have some time?

Hi, thx for the PR, we included the SDK as a community SDK on PR: https://github.com/kuzzleio/documentation-V2/pull/229


Use Blazor 0.8.0 preview

This is work required to make Logging extension work with Blazor 0.8.0 preview which is hybrid version between original Blazor and Razor Components based Blazor
This is change for informational purposes only, to serve as sample for those who want to try 0.8.0-preview bits of Blazor
I order to use pre-compiled version of this PR, you could add to you project file
  <PropertyGroup>
    <RestoreAdditionalProjectSources>
      https://dotnet.myget.org/f/blazor-dev/api/v3/index.json;
      https://www.myget.org/F/blazor-experiments/api/v3/index.json;
    </RestoreAdditionalProjectSources>
  </PropertyGroup>

Nuget was created using dotnet pack Blazor.Extensions.Storage.csproj /p:Version=0.1.8-preview1 /p:Configuration=Release to those who want to create package manually from branch

Hi @kant2002. I just cloned you're branch and build the nuget package with the command you provided.
After adding it to my 0.8.0 Blazor project it gave me multiple errors on incompatible Blazor versions.
When I do a quick find in the whole project I found multiple references to Blazor 0.7.0.

Updated to preview4


SVG convert style inline

I'm trying to put the style of a svg inline. With node.js svgo tool you can do it with the command:
svgo path/to/file.svg --enable=inlineStyles  --config '{ "plugins": [ { "inlineStyles": { "onlyMatchedOnce": false } }] }' --pretty

I created this php script for do it:
require __DIR__ . '/vendor/autoload.php';
use Spatie\ImageOptimizer\OptimizerChain;
use Spatie\ImageOptimizer\Optimizers\Svgo;
 $optimizerChain = (new OptimizerChain)
            ->addOptimizer(new Svgo([
                '--enable=inlineStyles',
                '--config \'{ "plugins": [ { "inlineStyles": { "onlyMatchedOnce": false } }] }\'',
                '--pretty'
            ]));
$optimizerChain->optimize('path/to/file.svg');

but the svg generated is same to original.
Can you help me to find and understand the error?
UPDATE:
I implemented the logs that return the following error:
name.ERROR: Process errored with sh: svgo: command not found
but if I open the terminal and enter svgo, the command works as expected.

@ciarlystreet: When commands are entered into shell, a binary/executable with that name is searched through all paths in the PATH environment variable (which is set at shell startup, it can also differ from shell to shell and user to user).
Using a PHP script, the PATH environment variable can be different than to what is set for the shell or not set at all.
You can find out the complete absolute path to the svgo executable by using the command which svgo on your shell.
You can use the absolute path to svgo in your PHP script.
However, to make this more robust you may want to look into a way of finding the svgo with proper version, or installing it with the optimizer project instead just hardcoding it for a particular server.

Seems like not a SVGO question.


Release 2.0.0: Customizable links

Update version to 2.0.0
Add a customization dialogue which allows users to change the ID part of their redirect link to something more human readable

Fixes issue #2


Mysql container Fail to init DB with volume mount

Output of docker version:
(paste your output here)Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:38:55 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:38:55 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 57
Server Version: 1.11.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 54
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.4.0-22-generic
Operating System: Ubuntu 16.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 740.5 MiB
Name: docker
ID: PRFJ:MIZ6:XOWX:2SU7:6MXS:PQOG:DZWC:NRJX:BE5H:WGYB:QJH4:AZXI
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
On physical Ubuntu and Centos
Steps to reproduce the issue:

create File $(pwd)/init-db/test.sh

#!/bin/bash
echo "HELLO ......."

docker run --rm -v $(pwd)/init-db:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=toto   mysql

Describe the results you received:
On log i can see /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
But test.sh is on mounted volume
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
This work on docker 1.10.0 with this log:
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/test.sh
HELLO .......

If i test my script with  run -it --rm -v $(pwd)/init-db:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=toto --entrypoint /docker-entrypoint-initdb.d/test.sh  mysql the HELLO is shown

Can you help me understand the problem. I'm not following here.
What are you trying to do?
Is the file mounted in the container?

My ovjectif is to initialise DB with an external script that i wan't to mount with volume.

Thist work with postgres Image but not with mysql or mariadb

@sebglon Ok, this does not sound like a docker issue.
Please check the docs for the images you are using, and potentially you can open issues in the respective repos.
You can usually find the repos from the DockerHub page.

This work on docker 1.10 but not on 1.11


Errors in setting up GPU with CUDA and cuDNN

System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows10
TensorFlow installed from (source or binary): pip install tensorflow (in Anaconda)
TensorFlow version: 2.5.0
Python version: 3.8
Installed using virtualenv? pip? conda?: pip install tensorflow (in Anaconda)
CUDA/cuDNN version: CUDA: cuda_11.0.3_451.82_win10 and cuDNN: cudnn-11.0-windows-x64-v<IP_ADDRESS>
GPU model and memory: NVIDIA GeForce GTX 1660 Ti with Max-Q Design 6 GB
Dear All,
I have tried several CUDA and cuDNN versions for setting up my GPU without luck. Finally, I have used
cuda_11.0.3_451.82_win10 and
cudnn-11.0-windows-x64-v<IP_ADDRESS>
in Anaconda (Python 3.8.12). I see there are few positive results and 3 errors  (please see the full output below) as I executed this command:
import tensorflow
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())

Error 1:
2021-11-13 22:15:44.176901: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found
Error 2:
2021-11-13 22:15:44.191130: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
Error 3:
2021-11-13 22:15:44.191174: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1766] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU.
I tried to delete EVERYTHING from previous CUDA & cuDNN installations; I wonder if I had missed something!?
Could you please look into the following error messages and give me some suggestoins, please?
I am using Anaconda 3 in a Windows 10 laptop (Lenovo legion 7 slim with NVIDIA GeForce GTX 1660 Ti with Max-Q Design ).
TIA
Sheri

import tensorflow
2021-11-13 22:50:53.719861: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())
2021-11-13 22:51:32.529087: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-13 22:51:32.531546: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library nvcuda.dll
2021-11-13 22:51:33.925024: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1660 Ti with Max-Q Design computeCapability: 7.5
coreClock: 1.335GHz coreCount: 24 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 268.26GiB/s
2021-11-13 22:51:33.925223: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll
2021-11-13 22:51:33.932212: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cublas64_11.dll
2021-11-13 22:51:33.932294: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cublasLt64_11.dll
2021-11-13 22:51:33.935750: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cufft64_10.dll
2021-11-13 22:51:33.936811: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library curand64_10.dll
2021-11-13 22:51:33.937346: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found
2021-11-13 22:51:33.939861: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cusparse64_11.dll
2021-11-13 22:51:33.940487: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2021-11-13 22:51:33.940591: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1766] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2021-11-13 22:51:34.007417: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-11-13 22:51:34.007508: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]      0
2021-11-13 22:51:34.008197: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0:   N
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation:<PHONE_NUMBER>8735033247
]

@mshariful Could you please try using latest stable TF version 2.7.0 & refer to the build from source .Please let us know if it helps? Thank you!

Hi @sushreebarsa Thanks for your response. I will try to do that and inform you.

Hi @sushreebarsa ,
I have gone through all the installations as described in build from source. Now after git cloning the tensorflow, as I execute the config.py file
I get repeatedly the following message; though I enter the correct paths of CUDA and cuDNN paths.

C:\Users\endro\tensorflow>python ./configure.py
You have bazel 3.7.2 installed.
Please specify the location of python. [Default is C:\Users\endro\AppData\Local\Programs\Python\Python39\python.exe]:

Found possible Python library paths:
C:\Users\endro\AppData\Local\Programs\Python\Python39\lib\site-packages
Please input the desired Python library path to use.  Default is [C:\Users\endro\AppData\Local\Programs\Python\Python39\lib\site-packages]
Do you wish to build TensorFlow with ROCm support? [y/N]: N
No ROCm support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.
Could not find any cudnn.h, cudnn_version.h matching version '' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: CUDA 11.5
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: cuDNN 8.3
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include
Could not find any cuda.h matching version 'CUDA 11.5' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: CUDA 11.5
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: cuDNN
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\
Could not find any cuda.h matching version 'CUDA 11.5' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: CUDA 11.5
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: cuDNN 8.3
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5
Could not find any cuda.h matching version 'CUDA 11.5' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: CUDA 11.5
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: cuDNN 8.3
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA
Could not find any cuda.h matching version 'CUDA 11.5' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: Traceback (most recent call last):
File "C:\Users\endro\tensorflow\configure.py", line 96, in get_input
answer = raw_input(question)
NameError: name 'raw_input' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\endro\tensorflow\configure.py", line 1475, in
main()
File "C:\Users\endro\tensorflow\configure.py", line 1387, in main
set_tf_cuda_version(environ_cp)
File "C:\Users\endro\tensorflow\configure.py", line 898, in set_tf_cuda_version
tf_cuda_version = get_from_env_or_user_or_default(environ_cp,
File "C:\Users\endro\tensorflow\configure.py", line 600, in get_from_env_or_user_or_default
var = get_input(ask_for_var)
File "C:\Users\endro\tensorflow\configure.py", line 98, in get_input
answer = input(question)  # pylint: disable=bad-builtin
KeyboardInterrupt
^C
C:\Users\endro\tensorflow>
C:\Users\endro\tensorflow>nano configure.py
C:\Users\endro\tensorflow>python ./configure.py
You have bazel 3.7.2 installed.
Please specify the location of python. [Default is C:\Users\endro\AppData\Local\Programs\Python\Python39\python.exe]:
Found possible Python library paths:
C:\Users\endro\AppData\Local\Programs\Python\Python39\lib\site-packages
Please input the desired Python library path to use.  Default is [C:\Users\endro\AppData\Local\Programs\Python\Python39\lib\site-packages]
Do you wish to build TensorFlow with ROCm support? [y/N]: N
No ROCm support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.
Could not find any cudnn.h, cudnn_version.h matching version '' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: CUDA 11.5
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: cuDNN 8.3
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include, C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\bin, C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\lib\x64
Could not find any cuda.h matching version 'CUDA 11.5' in any subdirectory:
''
'include'
'include/cuda'
'include/*-linux-gnu'
'extras/CUPTI/include'
'include/cuda/CUPTI'
'local/cuda/extras/CUPTI/include'
of:
'C:\ProgramData\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include'
Asking for detailed CUDA configuration...
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]:
Could you please tell me what I should do?
TIA
Sheri

@mshariful Could you please have a look at the instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions  to install from Tensorflow website.
Please, refer #36167, #42367,#42197,#45435
Could you please refer to the common errors and let us know if it helps ?
If the issue still persists please post it on Anaconda repo as we do not support conda environment.
This issue is more suitable on Continuum Anaconda repo since its related to TF installation with Anaconda.
Please post it on Continuum Anaconda.
Thank you!

Hi @sushreebarsa Thanks for your response. I will do these steps and inform you accordingly. TIA

@mshariful Could you please let us know if you have tried as per the comment and if it is still an issue ? Thanks!

Hallo @sushreebarsa, Thanks for your message. I
Hallo @sushreebarsa , thanks for your message. I have got installed tensorflow through 'Anaconda' way very easily.
Installing CUDA and cuDNN from Nvidia and setting up all the paths....it turned out to be a horror for me! What a frustrating experience it was!


SESSION_FAILED for Firefox

I have selenoid (docker) v1.6.2 running against chrome just fine. I then wanted to try against firefox. This is what I get in the selenoid logs:
2018/07/12 17:12:49 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2018/07/12 17:12:49 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2018/07/12 17:12:49 [2] [LOCATING_SERVICE] [firefox] []
2018/07/12 17:12:49 [-] [DEFAULT_VERSION] [Using default version: 61.0]
2018/07/12 17:12:49 [2] [USING_DOCKER] [firefox] [61.0]
2018/07/12 17:12:49 [2] [CREATING_CONTAINER] [selenoid/vnc_firefox:61.0]
2018/07/12 17:12:49 [2] [STARTING_CONTAINER] [selenoid/vnc_firefox:61.0] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70]
2018/07/12 17:12:50 [2] [CONTAINER_STARTED] [selenoid/vnc_firefox:61.0] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70] [0.33s]
2018/07/12 17:12:50 [2] [SERVICE_STARTED] [selenoid/vnc_firefox:61.0] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70] [0.45s]
2018/07/12 17:12:50 [2] [PROXY_TO] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70] [http://<IP_ADDRESS>:4444/wd/hub]
2018/07/12 17:12:50 [2] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:4444/wd/hub] [1]
2018/07/12 17:13:20 [2] [SESSION_FAILED] [http://<IP_ADDRESS>:4444/wd/hub] [500 Internal Server Error]
2018/07/12 17:13:20 [2] [REMOVING_CONTAINER] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70]
2018/07/12 17:13:20 [2] [CONTAINER_REMOVED] [7eaf0b6158bd16647f8f7ca29f0dd3096f963a47eba0f777120bbe3703876f70]
Not sure where to look now to why the session is failing to start.

@bhoppeadoy make sure you are using a recent Selenium client library. It should support the W3C Webdriver specification. E.g for Java version should be 3.4.0 and above.

@vania-pooh Sorry, can you explain how I verify selenium client library? Where is the client library?
For java, are you referring to java on my docker host or in the container?

I'm running tests using Protractor with all the latest versions:
Protractor v5.3.2
selenium-webdriver v4.0.0-alpha.1
webdriver-manager v12.1.0

@vania-pooh Ah, it looks like its an issue with how I defined the proxy. For chrome, this is what I had:
  proxy: {       proxyType: 'manual',       httpProxy: 'webproxy.ext.ti.com:80',       sslProxy: 'webproxy.ext.ti.com:80',       noProxy: 'localhost.ti.com,*.dhcp.ti.com'     },     'selenoid:options': {       'enableVNC': true,       'screenResolution': '1200x1600x24'     },
If I remove the proxy {} the container starts and runs the test, but then it can't reach the application. So looks to be an issue with proxy definition.

@bhoppeadoy yes, I'm meaning selenium-webdriver version.

The issue turns out to be noProxy. Chrome works fine when noProxy is a string. Firefox expects noProxy to be an array.


test-branch/execute-job/wrong-comment-on-pr/4b19defe-fa7d-4196-90f8-fa3e88dca454

PR for testing 546a5752b71ac146562cae9432b34181a4873eba

comment 1


strings.capitalize

Converts the first character of string to upper case and the remaining to lower case.
Checklist

[ ] implementation
[ ] tests
[ ] jsdoc

Details

console.log(strings.capitalize('flying CAR'));
>'Flying car'

References

_.capitalize

Closed as invalid b/c performing this transform this with reduce would be really inefficient.