Feat migrate to node lts 14

Pull Request Checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Appropriate label or labels have been added
[x] ✅ Tests for the changes have been added (for type:fix / type:feat)
[x] 📝 Docs have been reviewed, added or updated if needed (for type:fix / type:feat)
[x] 🏁 Issue number has been linked if this PR closes one

Description
Please describe your pull request.
Breaking Change?

[x] 💥 Yes
[ ] No

❤ Thank you for contributing!

Codecov Report

Merging #250 (4f6414d) into master (f372885) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #250   +/-   ##
=======================================
  Coverage   96.93%   96.93%
=======================================
  Files          31       31
  Lines         392      392
  Branches       66       66
=======================================
  Hits          380      380
  Misses         10       10
  Partials        2        2

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 f372885...4f6414d. Read the comment docs.


Add uploadImage endpoint

Change-type: patch
Signed-off-by: Pedro Henrique Kopper<EMAIL_ADDRESS>

@balena-ci I self-certify!


This needs to be made clearer, I think

Which part is unclear

I don't understand what you mean by Adapts find command and Update model itself? It's kinda vague

kk


pull request for e2e test at 11/16/2016 07:15:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Ability to add a contract to a contract set from the UI

Add a context menu option that triggers a dialog where the contract set(s) can be selected, deselected, and then saved.

Removed contract sets


Named views lazy loading

Loading named views at run time(after loading state)  rather than loading at the time of state route access.
I tried to load view using below code but view is not showing up in UI.
$view.load("viewName@stateName", {
  view: { templateUrl:  'Test/Index' },
  locals: $state.myDst.globals,
  params: $state.myStateParams,
  notify: $state.myOptions.notify
})

After calling above code we are trying to add view to tab
<tab ng-repeat="tab1 in tabs">

 </tab>

Can we load named views dynamically after route access?

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb


adding scripts to iam-tools package

Check tested with Zabbix.

Looks good. Feel free to squash your fix commits into your main commit.


Convert Content Container component to CSS Modules

Issue Description
To better align with modern CSS practices and modern CSS theming capabilities, we want to update this component to use CSS modules and if applicable, CSS custom properties.
Issue Type

[ ] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
Component styles are converted to use CSS modules. If applicable, convert SCSS variables to CSS custom properties.
Current Behavior
Component styles use manual name spaced classes and SCSS variables.

Released in terra-content-container v1.2.0


Minor suggestions

I just realized that my package has made it to conda; nice! :-)
There are two minor things that may need fixing in the recipe, as far as I understand:

The license identifier says "GPL-2.0-only", but it should be "GPL-2.0-or-later" (or similar, I don't know the canonical name)
The default build script for the package compiles the C++ code with "-march=native", which is most likely not the way to go when building binary packages for download. From a first glance at the build scripts here I can't tell whether this is overridden. Just in case it's not, this should be changed.

Thanks,
Martin

Thanks, Martin. Both should be fixed now.

Thanks a lot!
I must admit that I originally didn't expect the package to be distributed via PyPI, Conda etc. This is why I thought I could get away with the default setting of "optimize natively for the current computer." And unlike many other packages, the performance gain from native optimization is really significant (can be up to a factor of 4  on CPUs with AVX512).
Still, it feels now as if defaulting to a portable binary may be the wiser choice. I could set "DUCC0_OPTIMIZATION=portable" as default in future versions and tell users to use "DUCC0_OPTIMIZATION=native" for optimized binaries. What do you think?

I think defaulting to DUCC0_OPTIMIZATION=native is fine. People who need to have "portable" binaries should already know they need to be careful on the target instruction sets. Documenting this in the "Install" section of the doc would help those people who need this.
Also, could the binary be compiled as fat binaries targetting both avx512 and avx2? I know that it is quite easy to do that using Intel compilers but not so sure about gcc. This suggests it can be done in gcc but I'm not sure if it will be overly complicated.

I'm aware of the function multiversioning capabilities in gcc, but unfortunately they don't do the trick, because gcc doesn't emulate the various preprocesor defines that depend on the target. For example, I take different code paths when __AVX__ is #defined and when it isn't, and I can't cachieve this with the curent gcc tools (as far as I know).
While the Intel compilers certainly have come a long way in compiling modern C++, I would be very surprised if they generated good code for AMD CPUs (I'm thinking about the FMA3/FMA4 differences here), so this not really an option either.
An approach like https://pypi.org/project/compilertools/1.1.1/ certainly looks interesting, but I didn't manage to get this package to work with ducc so far. I will continue to investigate this.

Thanks for the info. I think the current solution is good enough for almost all use cases. It probably is nice to have if compilertools can help, but on the other hand, the one that really need a feature like that is conda (because PyPI allows sdist so you can default to optimize for the user’s computer), as it is binary distribution only.
I only mention icc because it seems to perform those dispatch with a very simple setting. I also think Intel compilers has many problems. It being proprietary making distributing it via CI complicated (probably use free beta license which is suboptimal), also the code it generates for AMD is handicapped and requires some sort of hack for it to be functioning optimally. And together with the fact that increasingly more HPC facilities including NERSC is abandoning Intel, it will not be good default.


What's next !?

IMO we have now to define a list of  "Done" or "Quite Done" and "Todo".
Done:

Defined LvObj
Defined LvWidgets
Defined LvTimers
Define LvStyle
Defined LvAnim
Defined LvAnimTimeline

Quite done:

Defined LvDisplay - At moment only for "Make it works"
Defined LvIndev - At moment only for "Make it works"
Defined LvScr - At moment only for "Make it works"

Todo:

[ ] Define Themes
[x] Define Layouts
[ ] Choose a default interface for OS for locking lvgl function calls and make it Threadsafe ??!
[ ] Others ...

LVGL Rocks !

Sounds good. Let me know if you have any LVGL related questions! :slightly_smiling_face:

Can the function defined in lv_flex/lv_grid be applied to any obj ?

Yes, they can.

if so in your opinion can be integrated in the LvObj Class ?

IMO if a function starts with lv_obj_* it can be integrated into the LvObj class. Similarly, lv_style_* function can go to the LvStyle class.

Great ! 👍

@kisvegabor  You can view some example on how to use Flex on lv_cpp_example in the repository.
https://github.com/lvgl/lv_binding_cpp/blob/master/lv_cpp_examples/FlexEx.cpp
This use also the standard "new" for create objects.
:+1:

Hi @fstuff-dev ,
Are you planning at some point to generate the C++ API automatically from the C API? Or are you already doing this?
Otherwise, any future change to LVGL would require manual fix to lv_binding_cpp

Hi, I already use a python script to automatically generate cpp API from C code !
It's in a early stage but it works ...

I already use a python script to automatically generate cpp API from C code !

That's great!
I didn't find the script in the repo, maybe I missed it?
Do you plan to run the script as part of your build process?
This could be useful if someone wants to use a different/modified version of LVGL, other than the one you converted and submitted.

As I said the script is in a really early stage, so at the moment i don't like to make it public ! In the near future I will clean and make it usable at user prospective, so i will make public
😊

@amirgon If you want to see the script you can find at  https://github.com/fstuff-dev/lv_binding_cpp_generator/tree/earlystage .
As the link says is "earlystage" so don't use it. Some Class in /core folder are added manually !.
As i said i will write a clean script and complete script that i will upload in the repo !
:+1:

As i said i will write a clean script and complete script that i will upload in the repo !

Ok, great!
On the long run I think it would make sense to generate the code as part of the build process, instead of comitting generated code into the repo. What do you think?

I think that is the best choice !

A few questions:

In an event callback, how do you get the CPP object from the event?
You can get lv_obj by calling lv_event_get_target, but how do you get the CPP object from that?
How do you handle object lifetime?
Suppose I inherit from LvObj, what would happen if the underlying lv_obj is deleted either directly or indirectly (when its parent is deleted)?

A few questions:

In an event callback, how do you get the CPP object from the event?

You can get lv_obj by calling lv_event_get_target, but how do you get the CPP object from that?

The library sacrifice the "user_data" to make C and CPP object match. But if someone have better idea will be appreciated.

How do you handle object lifetime?

Suppose I inherit from LvObj, what would happen if the underlying lv_obj is deleted either directly or indirectly (when its parent is deleted)?

That's one of the problem to resolve !

The library sacrifice the "user_data" to make C and CPP object match. But if someone have better idea will be appreciated.

No, that make sense. We use user_data on the Micropython bindings for the same purpose.
Do you save the CPP object into user_data automatically? Do you provide some standard way to convert user_data back to the correct CPP object or is the user supposed to do the casting? Do you verify that the casting is correct? (casted to the right type of CPP object)

Do you save the CPP object into user_data automatically?

The matching between 'LvObj' and 'user_data' is done automatically inside derivated object constructor. For example:

LvBtn::LvBtn(LvObj* Parent) : LvObj(Parent) {
	if(Parent)
		cObj.reset(lv_btn_create(Parent->raw()));
	else
		cObj.reset(lv_btn_create(lv_scr_act()));

	setUserData(this); // Matching the C and Cpp object
}

i don't know if using 'LvEvent' and Cpp event dispatcher is the best choice or simply keep the regular callback method using function pointers. You can use standard lvgl callback system passing static Cpp method. For example:
static int pressed = 0;

/* Callback for button pressed */
static void ButtonPressedAdd(lv_event_t *e) {
	pressed++;
}

int main() {

     LvBtn* btn = new LvBtn();
     LvLabel label = new LvLabel(btn);
     btn->addEventCb(ButtonPressedAdd, LV_EVENT_PRESSED, label);
     while(1) {
         ....
     }

}

Do you provide some standard way to convert user_data back to the correct CPP object or is the user supposed to do the casting? Do you verify that the casting is correct? (casted to the right type of CPP object)

No at moment, but user can check the type using '' provided with C++11. Or we can implement some helper function for check the type to simplify the usage of ''

i don't know if using LvEvent and Cpp event dispatcher is the best choice or simply keep the regular callback method using function pointers. You can use standard lvgl callback system passing static Cpp method. For example:

It looks good to me. It mimics the LVGL's API, so the users can intuitively know how to add/create events.

i don't know if using LvEvent and Cpp event dispatcher is the best choice or simply keep the regular callback method using function pointers. You can use standard lvgl callback system passing static Cpp method.

If I want to use my non static member functions of my class as callback functions it would become a bit more cumbersome and require some casting boilerplate.
Maybe worth adding an example of using LvEvent and event dispatcher to make it clear how they can be used (or did I miss an already existing example?)

Yes I can do it !
I've removed the example some time ago but i will upload and I'll give some other examples !

If I want to use my non static member functions of my class as callback functions it would become a bit more cumbersome and require some casting boilerplate.

In relation to object member function callback have look at this.

No at moment, but user can check the type using <typeinfo> provided with C++11. Or we can implement some helper function for check the type to simplify the usage of <typeinfo>

Header <typeinfo> is not available for embedded systems! Technically you can enable it however it will use most of your flash memory same as exceptions.
Regarding casting to lv_obj_t*  have you considered operator overloading? For example:
// in object class:
operator lv_obj_t*() const {
    return raw();
}

// this allows you to dereference pointer and pass it automatically to functions which requires it.

LvBtn::LvBtn(LvObj* Parent) : LvObj(Parent) {
cObj.reset(Parent ? *Parent : lv_scr_act());
}

// or any other lvgl function

auto btn = new LvButton();
auto lbl = lv_label_create(*btn);

And have you thought about templates?
// I have class basic_object which contains most of the object methods, every widget inherits from it.

template <typename Derived>
class basic_object {
public:
  using type = std::remove_cvref_t<Derived>;  // this ensures we have plain class.

  basic_object(lv_obj_t* parent = nullptr) : m_obj(parent ? parent : lv_scr_act()) { lv_obj_set_user_data(m_obj, this); }

  operator lv_obj_t*() const { return m_obj; }
  operator type&() { return reinterpret_cast<type&>(*this); }

  // every void function is implemented like:
  type& set_x(lv_coord_t x) {
    lv_obj_set_x(*this, x);
    return *this;
  }
  type& set_size(lv_coord_t w, lv_coord_t h) {
    lv_obj_set_size(*this, w, h);
  return *this;
  }
};

// and wiget inherits from it like:

class label : public basic_object<label> {
public:
  label(lv_obj_t* parent = nullptr) : basic_object(lv_label_create(parent?parent:lv_scr_act()) {}

  template<typename... Args>
    label& set_text(const char* fmt, Args&&... args) {
        lv_label_set_text_fmt(*this, fmt, std::forward(args)...);
        return *this;
    }

    label& set_text(const char* txt) {
        lv_label_set_text(*this,txt);
        return *this;
    }

};

it allows to chain object members and correct derived class is returned.
static auto lbl = label().set_x(100).set_text("hello");

If in object i would return basic_object& i could not use set_text aftrer set_x.

If I want to use my non static member functions of my class as callback functions it would become a bit more cumbersome and require some casting boilerplate.

In relation to object member function callback have look at this.

No at moment, but user can check the type using <typeinfo> provided with C++11. Or we can implement some helper function for check the type to simplify the usage of <typeinfo>

Header <typeinfo> is not available for embedded systems! Technically you can enable it however it will use most of your flash memory same as exceptions.

That's right !

Regarding casting to lv_obj_t* have you considered operator overloading? For example:
// in object class:
operator lv_obj_t*() const {
    return raw();
}

// this allows you to dereference pointer and pass it automatically to functions which requires it.

LvBtn::LvBtn(LvObj* Parent) : LvObj(Parent) {
cObj.reset(Parent ? *Parent : lv_scr_act());
}

// or any other lvgl function

auto btn = new LvButton();
auto lbl = lv_label_create(*btn);

Nice and really useful !

And have you thought about templates?
// I have class basic_object which contains most of the object methods, every widget inherits from it.

template <typename Derived>
class basic_object {
public:
  using type = std::remove_cvref_t<Derived>;  // this ensures we have plain class.

  basic_object(lv_obj_t* parent = nullptr) : m_obj(parent ? parent : lv_scr_act()) { lv_obj_set_user_data(m_obj, this); }

  operator lv_obj_t*() const { return m_obj; }
  operator type&() { return reinterpret_cast<type&>(*this); }

  // every void function is implemented like:
  type& set_x(lv_coord_t x) {
    lv_obj_set_x(*this, x);
    return *this;
  }
  type& set_size(lv_coord_t w, lv_coord_t h) {
    lv_obj_set_size(*this, w, h);
  return *this;
  }
};

// and wiget inherits from it like:

class label : public basic_object<label> {
public:
  label(lv_obj_t* parent = nullptr) : basic_object(lv_label_create(parent?parent:lv_scr_act()) {}

  template<typename... Args>
    label& set_text(const char* fmt, Args&&... args) {
        lv_label_set_text_fmt(*this, fmt, std::forward(args)...);
        return *this;
    }

    label& set_text(const char* txt) {
        lv_label_set_text(*this,txt);
        return *this;
    }

};

it allows to chain object members and correct derived class is returned.
static auto lbl = label().set_x(100).set_text("hello");

If in object i would return basic_object& i could not use set_text aftrer set_x.

Sounds good and more clean for returning Obj reference !!!!

@maciekr1234  At moment i'm working on implementing your solution in the automatic script generator !
I think that your ideas are really good ! nice work !

I can't understand one thing.
auto btn = new LvButton();

Why do we have to do this allocation through new operator? I guess, it should be enough to use the simple allocated object.

Object should be created after lv_init() call !

I jave opened a repo with the generator
https://github.com/fstuff-dev/lv_binding_cpp_generator let me know…
This is more clean and usable as my first script !

I really appreciate your work but given that you're currently pretty much writing everything yourself and how the interest (compared to the original discussion) has flattened out I'm afraid that everything but fully automated code generation is a dead end. Personally I'd already be happy to have the simplest possible form of bindings where every C function has a class equivalent which simply forwards it's arguments. No additional memory management, no smart objects, nothing. (so basically syntactic sugar)
Have you thought about using Clangs LibTooling for handling the original LVGL code?

For the current moment, we can provide a small set-of-tips article for using LVGL in the C++ environment

For example a C++ section here?
What could we mention in such an article?

@kisvegabor yes, exactly.
We can mention:

Smart pointer wrapping for  a LVGL type
std::function like subscriptions for events
Usage with the existing C-API
.....

Any other propositions?
As for me, it's cool to have either a set of utilities or a auto-generated wrapper. For the first step, we can just add a sections of C++-related tooltips.

Sounds good! Do you have time to send a PR with it?

@kisvegabor I'll try to find it, really. I guess, it will be better, as a first step of the further C++ integration

I agree, it should be only a few hours of work but still very useful.

Is this still a goal? Is it OK to start using for new projects and hopefully it will be stable in the future?
Or is there another effort tracking this down? I have just started in the lvgl world and would like to use c++ if possible.

This project seems stale a little bit, but it'd be great to boost it.
You might have heard of our new Sponsor opportunity. The C++ binding can be a good target for it.  @embeddedt what do you think?

I agree.

Great! I'd be happy to give 400 USD for a C++ binding which is

mostly auto generated
can have minor manually written parts
documented (the binding and the API too)
code example is added to at least 15 existing examples

If it makes sense for you too I'll open an issue for it.

Hello there! Just in case I did release one a while ago there:
https://github.com/vpaeder/lvglpp
I have a python code for autogeneration but it needs more work and cleanup.

@vpaeder Very nice!

I have a python code for autogeneration but it needs more work and cleanup.

Do you plan to add that Python autogeneration code to the repo?
Do you plan to auto-generate the C++ wrapper as a build step, so the users could switch LVGL version and build C++ wrapper for it?

Do you plan to add that Python autogeneration code to the repo?
Likely after I clean it up and document it.

Do you plan to auto-generate the C++ wrapper as a build step, so the users could switch LVGL version and build C++ wrapper for it?
So far I used it as an aid to avoid having to wrap all the styles and widgets by hand, not really in that sense. In theory it's of course possible, in practice it'll depend on how the workarounds for things like events, timers and animations behave.

Amazing!  I think this is exactly what we need. OOP like API and many examples.
I'd be happy to pay the 400 USD if you finalized it and we could bring it into the LVGL organization. cc @embeddedt
@Sxs7513 To avoid duplication do you think this C++ binding could be used in the hearth of your JS binding?

Alright, I'll try to squeeze in some tidying up in the coming days.

Great! :slightly_smiling_face:


3D Tiles - Newly generated tilesets

For #3241
Adds new tilesets generated from 3d-tiles-generator and some small bug fixes.
Completely new tilesets:
BatchedColorsMix
BatchedColorsTranslucent
BatchedWGS84 - position directly in WGS84 (no RTC), only for testing purposes
BatchedWithQuantization - uses gltf quantized positions, oct encoded normals, compress uvs
BatchedDeprecated - has the legacy 20-byte header and BATCHID gltf semantic instead of _BATCHID - my experience is its a lot easier to have this tileset for testing purposes than making fine-tuned tests.
BatchedNoBuildings renamed to BatchedNoBatchIds
InstancedWithBatchIds - some of the old tileset had BATCH_ID in the feature table, now this is the only one. This will be helpful for https://github.com/AnalyticalGraphicsInc/cesium/issues/4987
It's fine if this PR parks in here for a few days in case I notice other needed updates.

Looks good.  Just open another PR for other tilesets.
Please make commits with data-only changes so we can squash them later.


Ermish/vue3refresh

Site is alive with vue3/nuxt3!
Resolves #30, #23, #24, #25

Upgraded to Vue3
Upgraded to Nuxt3
Remove imcompatible google analytics nuxt plugin (for now)
Created Home/Search page, about, news, login, admin dashboard empty templates.
migrated components to vue3
added pinia for state management
Adding in eslint, stylelint, editorconfig
updated tsconfig to support vue3
Updated yarn build commands
Added min node version dependency for builds

@ermish I tried to run this using yarn dev but I'm getting the following error. It looks like it's being caused by Nitro?

It seems that the Vue.extend() you're using in the LoginPage and AdminDashboardPage are causing the issue. I removed those and was finally able to get the server to run. Is this block of code needed?
<script lang="ts">
import Vue from 'vue'

export default Vue.extend({
    name: 'IndexPage'
})
</script>

@ermish I'd like to see a preview of this on Netlify before it gets merged to main. Can you re-enable previews for PRs?

oh wierd! I updated that 🤔  perhaps I have a local commit I didn't check in

It seems that the Vue.extend() you're using in the LoginPage and AdminDashboardPage are causing the issue. I removed those and was finally able to get the server to run. Is this block of code needed?
<script lang="ts">
import Vue from 'vue'

export default Vue.extend({
    name: 'IndexPage'
})
</script>

@ermish I'd like to see a preview of this on Netlify before it gets merged to main. Can you re-enable previews for PRs?

finally got them working! Had to upgrade the netlify build image and node version dependency.
Here's the new preview
https://deploy-preview-29--findadoc.netlify.app/

@ermish Had a look at the preview and noticed that there are links to the empty pages in the top app bar. Can those be removed until they're ready and we've decided on a navigation system? Also, I think we can remove the News component altogether, since it won't be included in the MVP.

@ermish I'm still unable to run the project. I'm now getting the following message after yarn install and yarn dev:

@ermish I'm still unable to run the project. I'm now getting the following message after yarn install and yarn dev:

Hmmm not sure why. That seems to be a package issue 🤔 we might need to walk through this one

@ermish Had a look at the preview and noticed that there are links to the empty pages in the top app bar. Can those be removed until they're ready and we've decided on a navigation system?

For now, I just want to get this in here so I can start developing again. Since these aren't going out to production I didn't want to add temporary logic for hiding the navbar. There will be a whole separate ticket for working on the navbar section and the welcome banner. I just wanted to verify the vue3/nuxt3 routing is working and have an example

@theyokohamalife can we get this merged in and I'll investigate the build in the next PR?

@theyokohamalife can we get this merged in and I'll investigate the build in the next PR?

I understand that you want to get this merged quickly, but also please understand that I can't approve it if I can't get it working.
It might help if you break this PR down into smaller ones, because it's trying to do a lot of things and it's hard to pinpoint where things are going wrong.

@ann-kilzer updated! please check  :)

@theyokohamalife I just upgraded the yarn version in the project to the latest 2+. See if it helps the project build for you now.
@theyokohamalife @ann-kilzer
To check your yarn version, use yarn -v and you can upgrade to the latest using yarn set version stable

@theyokohamalife I just upgraded the yarn version in the project to the latest 2+. See if it helps the project build for you now.
@theyokohamalife @ann-kilzer To check your yarn version, use yarn -v and you can upgrade to the latest using yarn set version stable

@ermish I'm using yarn 3.2.2

@theyokohamalife I just upgraded the yarn version in the project to the latest 2+. See if it helps the project build for you now.
@theyokohamalife @ann-kilzer To check your yarn version, use yarn -v and you can upgrade to the latest using yarn set version stable

@ermish I'm using yarn 3.2.2

@theyokohamalife ok we should be good to merge! Please check if it works for you now


add cynthia-peter-year-generalist

Hi @immortallight, thank you so much for contributing! ✨
Your PR has some conflict with the master branch BTW. This is because there's been a recent change to repository, since the last time you committed your changes to your own repo, and before creating your PR.
One way to resolve this would be, running the command below in yoir terminal to get the latest changes from the repo.
git pull upstream master

...and change your entry_id key to 16.
Kindly do this, and tag me when you're done.


Add sales number input field to sample app to allow for proper of Dia…

Here we go Sir @acamino

@juancarlospaco thanks for your review, appreciate it. Yesterday we had a meeting with @joliveros where we defined the scope of this change. We don't want to refactor the existing code. The purpose of this work is to address the requested changes described in https://www.pivotaltracker.com/story/show/135974741.
@joliveros could you please make sure the test suite is passing in Travis - if I'm not wrong it would be just adding the .travis.yml file.

Thanks @joliveros - LGTM!


Convert client_authority_filter to a promise.

Also introduce some initial scaffolding to make that possible.
Notes:

promise_based_filter.h will ultimately go away
we'll convert a set of filters over using it, and aim to get sets of things commonly found in the same stack converted together, such that we can transition that stack to a promise based thing quickly and avoid the over head here
the point of this transition step is to get the filters into the right form - we'll likely end up with a few different implementations of CallData in promise_based_filter.h to facilitate that.

@drfloob

@markdroth I merged your #28607 into this.


Retrain AE with fixed validation dataset and larger batches

Closes #508
[x] mean_sources=0.004 ? (only for location encoder)
[x] larger dataset per epoch?
[x] more autoencoder epochs?

Overall results improved and/or stayed the same after retraining with a fix validation dataset with more images per epoch.
All the of the results of hand-picked blends look better and global statistics results on precision/classification stayed mostly the same. The precision decreased a little bit due to predicting more stars at the high magnitude end. We also classified some before galaxies as stars now. But this is above 22 magnitude (see prob scatter plot) where uncertainty should be high


Traversed fields not showing up in List Reports

class TestList(ListReportView):
    report_title = "Test List"
    report_model = MyModel # has a foreign key fk_field which is a model with a field 'a'
    date_field = "dt"

    columns = [("dt", {"verbose_name": "Date"}),
               ("fk_field__a", {"verbose_name": "Alien Field"}),
               ("field1", {"verbose_name": "MyModel Field"}),]

The column under Alien Field renders as blank because list reports are not able to read and include values of traversed fields. I could come up with a work around by changing the second column to "fk_field" and then traversing the foreign key object myself in format_row to read the appropriate field. But that is a bit inconvenient. Therefore, traversed fields should be read and rendered in List Reports just like any other model fields.
The columns specified in List Reports are also checked at the time of initialising the class to ensure that all belong to the model, attribute of generator etc. There is no need for doing any column checks in List Reports as we are not doing any aggregation/grouping on any of the fields. Let the developer be given the freedom to specify any thing as a column (even non fields) and make it the responsibility of the developer to populate it in format_row or through a callback.

Hello
Yes this issue with traversing fields in ListReportView is noted.
Thank you for the report, will address it asap.

Hello @oaaoaa
Published a new release 1.1.0
This issue should be fixed


Namespace overriding in route groups.

Allow route groups to specify a namespace with a leading slash to escape the current namespace, allowing you to choose whether to nest or not.
Other routing functions already work this way, and adding it to groups would make them consistent with the other functions.
Have also extended existing test to test this condition.

Personally I would prefer to have this send to master branch, as it could possibly break any code that append leading \ in their route group by mistake (it really bad to make this switch in a patch release now).

I agree.

Ah OK. I thought there would be an issue because obviously it could be a breaking change, but I wasn't sure how best to proceed.
I'll resubmit this to master then.


404 at: /reference/logging/fluentd/

URL: /reference/logging/fluentd/

The correct URL is https://docs.docker.com/engine/admin/logging/fluentd/, where did you find a link to this URL?

ping @johndmulhausen looks like we're missing some redirects since the migration (see the linked page for the old location of the logging section)
@julianfrank I'll reopen this issue so that we don't forget restoring the redirects


API Simplification

Hey Ondrej,
This is a PR to simplify the API of your package.
I advise to first read example/addressbook.jl, to see the potential benefit. We may want to start agreeing on this.
Then, we can iterate on the actual implementation.
There are a few things that I'm not sure I like about the proposed API:

enum comparison: I currently use something like Capnp.isenumequal(phone.type, :mobile). This is linked to this discussion. I'm not sure yet what the best solution is. We could also do phone.type == :mobile, but the community seems to not be in favour of that.
in the following statement bob.employment.unemployed, the second getindex is actually some kind of setter. There is certainly a way to do better.
I proposed to create a list using the parenthesis operator: bobPhones = bob.phones(2). Let me know if you agree.

About the implementation:

the idea is simply to wrap your pointers in a struct for each julia type. Those types are defined in typed_pointers.jl.
I wrote a small AnonymousEnums to deal with enums, without requiring the users to know about the names of the enum instances.

Also, even if this PR seems to work, there are some mistakes:

the typed pointer are defined several times.
only the generated types should be put in some module (possibly the optionnal c+ namespace). The implementations should be put somewhere else. This is to allow for a type that is called "Base" or "Core". This is why I am not a big fan of emulating the c++ namespacing with Julia modules. I'm not sure this is robust enough, and if the c++ annotations should be supported at all by this library.

Before fixing those mistakes, we may want to test this library. I suggest using this file.

Sorry, I forgot to emphasize this, but if we set the API first, then we can start writing tests, independently from the implementation.

Hey, I've just reverted the last commit.

I'm not quite sure what to do for enums.
But I can make a preliminary remark. The current implementation for Base.which, that allows to discover the actual type of a union, is not optimal. It converts an integer into a symbol, and then we test for symbol equality.
With AnonymousEnums, even if we write "myenum == :mysymbol", the symbol gets propagated, and we compare integers, which not only is more efficient, but also allows to generate jump tables.
What I could propose, if we want to keep the syntax "reader.myenum == :myinstance" would be to wrap myenum into a TypedPointer that is meant to represent a symbol, but that actually contains an anonymousenum. This way we could keep the == syntax as specificity of this library. This would make the API simple, and the if/elseif/end blocks more performant.

Good stuff, this makes it actually looks like Julia. I think the getproperty/setproperty (dot syntax) is uncontroversial and I'll aim to look at that code soon.
Regarding some of the details:

enum comparison: I'd propose we keep the current style (Person_employment_union_employer) until we find a truly satisfying solution. Let's move this to another PR? (That said, I think the AnonymousEnums+isequal overload solution looks pretty neat.)
"bob.employment.unemployed, the second getindex is actually some kind of setter" -- could we do bob.employment.setUnemployed()? I'd like this to be a verb. Hopefully returning a function from getproperty on bob.employment.setUnemployed can be made efficient. (Or we could do bob.employment = Person_employment_union_unemployed for now if setUnemployed() somehow depends on the enum business above.)
"create a list using the parenthesis operator: bobPhones = bob.phones(2)" I'd like this to be a verb if you don't mind, bob.initPhones(2).

Let me know how does that sound to you.

Any plans regarding this pull request? The proposed API seems very nice!

Any plans regarding this pull request? The proposed API seems very nice!

I don't have any immediate plans with this but I am happy to review PRs if you want to take over this proposal.


Link to CCCS-Medium config is broken in the sample configurations page README.md

Regional Configurations
Canadian Centre for Cyber Security (CCCS) Cloud Medium
is broken.
It should point to : https://github.com/aws-samples/landing-zone-accelerator-on-aws-for-cccs-medium

Hi Martin! Thanks for reaching out. I've gone ahead and created an issue in our backlog to address this issue.
I will keep this issue open until it's addressed and released. Please let us know if you have any additional questions or concerns in the meantime.

Hello @ipnextgen,
The links to Landing Zone Accelerator for CCCS Cloud Medium has been fixed with v1.6.0 release. I will be closing this issue as resolved. Thanks for your support of Landing Zone Accelerator!


How to use Bee Free Templates in Bee Plugin Editor

There are many templates available in bee free at [https://beefree.io/templates/], but how to integrate some of those templates to bee plugin editor.

Hi @subhojit-me,
The beefree templates must be used through the beefree.io site, JSON cannot be downloaded. But you can add some favorite templates, then by clicking on the top right button you will be redirected on your favorite templates page. Here  you should se a "Purchase these template" button, basically you have the option to buy the selected templates that will be downloaded in a BEE Plugin JSON format.
For more information you can check our support page at https://beefree.io/support/


React Grid Layout Remounting Items Whenever Unrelated State Changes

Describe the bug
Any state change that occurs inside the same component that contains the react causes a remounting of the items, even if the state is completely unrelated.
In the codesandbox, you will see that I create a state variable foo which is boolean, and a button that onClick negates the foo variable. It doesn't have anything to do with the grid, but for some reason it causes all the components in the grid to refresh. I notice that this wasn't a problem with React 17.
Your Example Website or App
https://codesandbox.io/s/react-grid-layout-issue-6nnuiy?file=/src/App.tsx
Steps to Reproduce the Bug or Issue
Click on the button Unrelated State Change
Expected behavior
No refresh of the components
react-grid-layout library version
1.3.4
Operating System Version
macOS
Browser
Firefox
Additional context
No response
Screenshots or Videos
No response

I am facing the same issue. Any help will be appreciated. Thankyou

Please help I am facing the same issue.

Hi @imReCoder, forgot to update this. We overcame it by putting const Grid = WidthProvider(RGL); outside of the function at the top level.
From
const GridDemo = () => {
  const Grid = WidthProvider(RGL);

  let [foo, setFoo] = useState(false);

  return (
    <>
      <button
        onClick={(x) => {
          setFoo(!foo);
        }}
      >
        Unrelated State Change
      </button>
      <Grid>

      </Grid>
    </>
  );
};

to
const Grid = WidthProvider(RGL);

const GridDemo = () => {

  let [foo, setFoo] = useState(false);

  return (
    <>
      <button
        onClick={(x) => {
          setFoo(!foo);
        }}
      >
        Unrelated State Change
      </button>
      <Grid>

      </Grid>
    </>
  );
};

Though I don't understand why it should behave like that.

Thankyou so much.It saved my day.Thankyou so much.

Happy to help :)


Devise 4.x

Update Gemfile to reflect Devise version 4.x

@pkarman, looks like this branch is including the changes from #12 - can you please split it up so we can merge each commit separately? :)

@lucasmazza done, thanks.


tests: add retries to waiting for log output

Possibly fixes https://github.com/dagger/dagger/issues/7979 (to be confirmed in CI since that's the only place I can get it to happen).
I also am not sure yet if this is handling expected behavior more robustly vs. just avoiding a bug. If it's just avoiding a bug we shouldn't go with it.
Basically, I noticed that these flakes appear to just be cutting off the output while it's still being received. If you look in the logs you can see most of the expected output there but not all of it, which results in the error message expected not showing up.
cc @vito @jedevc on confirming whether it's expected that if you close a client while output is still being received then it is expected you might be cutting off some of the output, since you've worked on that whole are more than I

Yeah I think this would just be working around a bug - I'd leave it and see if my draining rework fixes it. The expectation is that if all work is done prior to client.Close - which it is in this case (the Sync above it) - that calling Close synchronously flushes all output. So you shouldn't need to poll after closing it.

Yeah I think this would just be working around a bug - I'd leave it and see if my draining rework fixes it. The expectation is that if all work is done prior to client.Close - which it is in this case (the Sync above it) - that calling Close synchronously flushes all output. So you shouldn't need to poll after closing it.

Okay good to know, thanks!


PR: Set focus for filter line when doing symbol search

Fixes #5661

@ccordoba12 I think this happens also in 3.x


Deploy BeaconProxy using create2: Proxy Implementation Verification error

Hi, I used create2 to deploy a BeaconProxy but i not able verify implementation for BeaconProxy
it is error:
The proxy contract verification completed with the message:

A corresponding implementation contract was unfortunately not detected for the proxy address 0x1af9dee53d62a7124c81ad68d5ab76092f2b3f6a

Address Implementation: https://testnet.bscscan.com/address/0xa088a202e42223392D7eB441904cb5F5a00E1791#code
Address Beacon: https://testnet.bscscan.com/address/0x8Cc81d1f67a602f131C5F7b1f3D188d4fDd30fCC#code
Address Factory: https://testnet.bscscan.com/address/0x060D9f079a4Ee734F0E1d6A723EBB00Aa237f0b4#code
Address BeaconProxy: https://testnet.bscscan.com/address/0x1af9dee53d62a7124c81ad68d5ab76092f2b3f6a#code
Please help me!!!, thanks very much

Hi @moderate3012, we've reached out to the Etherscan team and this appears to be a limitation for now where the beacon proxy needs to have at least one transaction submitted to it in order for the implementation to be detectable.
As a workaround, can you submit a transaction to the beacon proxy (https://testnet.bscscan.com/address/0x1af9dee53d62a7124c81ad68d5ab76092f2b3f6a#code) and then try the proxy verification again?


[20.03] linux: really remove 5.5

5.5 was removed in https://github.com/NixOS/nixpkgs/commit/aa7c5b02ff2874833ae4a0cad7691ab994d19303,
but this attribute was missed, leading to an evaluation failure for the
nixos-20.03-small channel.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @NeQuissimus: Hope I've done this right. I don't think this would need to be forward-ported, but let me know.
https://nix-cache.s3.amazonaws.com/log/i9vglf7w5z13w0d6cya5w623xmvzgdr3-nixos-channel-20.03.1502.d72fcc568d2.drv

Correct, @cole-h, this is something that isn't dont the same way for stable vs. unstable releases.

I verified locally with the ofborg evaluator, the failure is the release branch failing to eval.
I ran the following on the tip of both branches:
.../ofborg/ofborg/src/outpaths.nix

And this indeed fixes it.

Oops, my bad!

@NeQuissimus can I propose you add running the (quick) ofborg evaluator as part of your release process?
I'm assuming it's somewhat automated.
This nix expression:

https://github.com/NixOS/ofborg/blob/released/ofborg/src/outpaths.nix

Can be run like a script (wild!)
Assuming you end up running some tests at the end of your changes, you could run .../ofborg/src/outpaths.nix at the end. It would have failed in this instance.
No one would end up knowing if you don't or can't, though now you know it's a possibility :slightly_smiling_face: .

Roger that :D I really do need to automate these things...

Looks like it's around 6.3GiB "total-vm", I'm never confident with those numbers and how they map to actual RAM use.
Let's run it locally:
TIME=\n → exit status: %x\n → user: %U, system: %S, elapsed: %E\n → cpu: %P, max mem: %M, avg mem: %t, unshared: %D\n → I/O: <I:%I O:%O>, sock: <r:%r s:%s>

.../nixpkgs/nixos-20.03 $ time ~/tmp/ofborg/ofborg/src/outpaths.nix --show-trace
...
 → exit status: 0
 → user: 226.35, system: 6.38, elapsed: 8:01.42
 → cpu: 48%, max mem: 21833600, avg mem: 0, unshared: 0
 → I/O: <I:0 O:8>, sock: <r:0 s:0>

Ignore the time elapsed, as it was waiting on input in a less.
  %M   maximum resident set size in KB

irb(main):002:0> 21833600.0 / 1024 / 1024
=> 20.8221435546875

That explains it.


Are reducers supposed to be pure?

I'm wondering where to place my API calls within my reflux application.
Would within the reducers be appropriate or are they supposed to be pure as with the general flux pattern? It seems this would be the quickest solution.
I was thinking that perhaps wrapping 'view components' in 'container components' is better design.
The container components could then handle the API calls.

I'm not 100% sure I understand the question (because Reflux doesn't use reducers in the same sense that Redux does, so something might be getting lost in terminology translation).
So by reducers I assume you mean the methods within stores that are catching and reacting to action calls (which are the closest equivalent to Redux reducers, though they're never quite "pure" because they work off calling setState, not off returning values like Redux) and I'm assuming that by API call you mean the calling of an action?
So the basic question is, can you call actions from the stores during an update that's happening from some other action? Is that about right?
From a technical perspective, Reflux is not opinionated on that. My recommendation is that if you're going to do so, then at least put it at the very end, so that the current function's changes are all complete before the next action begins its work. That'll make it more readable what's going on, and less error prone.
However, there're reasons Redux recommends the pattern that it does...and they're not bad reasons.
If action A always ends up calling action B, then it's usually smarter and cleaner to just wrap up all the things that A and B do together so that each action is its own modular set of changes to state...easier to read, easier to map the flow of what actions do what, etc.
But I also recognize that there might be times when chains of actions need to happen, and you might need to start it in different places in the chain...and DRY concepts would then mean that A calling B calling C calling D with the ability to start the chain at any point in the middle makes more sense (so that you're not writing ABCD, BCD, CD, and D all as separate concepts with a bunch of repetitious code).
But that should be the "expert level" concept of flux type usage :) As a generalized rule, pure is better.

Sorry to clarify by API calls, i meant AJAX requests.

Still, I assume you're doing your AJAX requests as part of async action calls? The concept is the same, assuming I'm on base about what you're asking.

they are callback-based AJAX requests within the 'reducer' functions in the store. Thanks for your help


Cast password as string

Fixes: #418

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (150e1c3) 98.08% compared to head (03e50ea) 98.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #449   +/-   ##
=======================================
  Coverage   98.08%   98.08%
=======================================
  Files          13       13
  Lines        2246     2247    +1
=======================================
+ Hits         2203     2204    +1
  Misses         43       43

Impacted Files
Coverage Δ

ldap2pg/config.py
98.78% <100.00%> (+<0.01%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Git extension causing VSCode to slow down/not react

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.89.0
OS Version: Ubuntu 22.04, running code-server accessed via Windows 10 Chrome

Steps to Reproduce:
https://github.com/microsoft/vscode/assets/946010/b260214f-4d94-4fbe-a32b-b80bd4dc2bce

Git extensions scans my multiroot workspace infinitely after certain git operations, e.g. git reset --hard etc
The scan causes the whole Code UI to become unresponsive, i.e. the scan seems to be thrashing
Closing and reopening Chrome it makes the problem go away (implies VSCode and not code-server problem)
This start sometime around 1.88.1
I have always been performing the same git operations, usually scripted
My desired solution is for this scanning to stop without having to restart my code-server

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

It is very obvious git extension had some big changes in 1.90, let me monitor. Thanks.

The issue is still there in 1.90. When it "thrashes", clicking around in Source Control Repositories has no effect on Source Control, not sure what it is so busy with.

I have to restart every 10-15 minutes of use... and I can't pinpoint the git operation that is causing it.

I did a namespace search and replace across 107 files, git extension when thrashing and was not able to recover from it.

This continues to be a problem in 1.90.1

Hmm if another extension displays a progress indicator, does it prevent Git from showing the changed files as I click between repositories? Because Git does not react when I click between the repos.
Let me see what I can do about removing all extensions.

The top of your recording is clipped of but from what I can see the UI seems responsive as you are clicking around so I am suspecting that the issue is with the extension host. All extensions are running within the same extension host so if you have a misbehaving extension then it may starve other extensions. I would try to narrow down the list of running extensions as much as possible in order to track down the extension that is causing this issue.

VSCode UI generally remains responsive but slower than usual, i.e. I can edit files, ctrl + p brings up the palette etc
It is not shown in the video, but if I click between repos in Source Control Repositories, the Source Control portion does not change and continues with its progress bar

I'm using the latest version and have the same issue. The source control so lagging and not response. The same issue with @bilogic video
Version: 0.42.0
VSCode Version: 1.93.1
Commit: 9e8f0f993884031e2f08d75f7adab80d1732a980
Date: 2024-10-09T23:06:04.586Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621


'color' is not recoginized by the IDE and type checkers.

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
I encounter the issue in both the IDE and using pyright:
error: "color" is not a known member of module "pydantic" (reportGeneralTypeIssues)

It suggests that color is not declared.
Example Code
No response
Python, Pydantic & OS Version
python 3.11
pydantic 2.0a4

You probably mean Color.
@Kludex can you take a look.
Honestly I think we should deprecate Color and suggest people use pydantic-extra-types.

You probably mean Color.
@Kludex can you take a look.
Honestly I think we should deprecate Color and suggest people use pydantic-extra-types.

No, i import from pydantic.color import Color

then something else must be wrong, with your setup, from pydantic.color import Color works fine for me on 2.0a4

then something else must be wrong, with your setup, from pydantic.color import Color works fine for me on 2.0a4

there is nothing wrong with my setup, the issue is that color is not defined in __all__ top level, and Color is not defined in all inside color and hence both the IDE and type checkers complain.

there is no __all__ defined in pydantic.color, so that shouldn't be a problem.

there is no __all__ defined in pydantic.color, so that shouldn't be a problem.

And yet it is. As you can see from the pyright error - the issue its complaining about is that color is not a known member of pydantic, because its not declared in __all__ top level.
You can deprecate it of course, but thats a different thing.

modules shouldn't be defined in the top level __init__.py::__all__ AFAIK.
If you think there's something wrong that can be fixed, please create a PR.

I'm using strict mode on the IDE, and I'm running pyright 1.1.310 and I can't reproduce with neither. How can I reproduce it with pyright?

I'm using strict mode on the IDE, and I'm running pyright 1.1.310 and I can't reproduce with neither. How can I reproduce it with pyright?

you can see it here: https://github.com/litestar-org/polyfactory/pull/222

ok, this is my bad - i didnt pin to v2 in my linting setup. Apologies.

No problem. Thanks for coming back and letting us know. 🙏


Added Configuration of properties

For planned changes we will need to add new fields to ManagementWebappProperties.  This branch and PR in its current form is in no way the correct means to do this.  A real solution will require a refactor to remove ManagementWebappProperties from the CAS Server and most likely moving other properties to an api project.  This is here now to facilitate discussion and provide a means to continue development on features.

 Refactor Configuration of Properties

A real solution will require a refactor to remove ManagementWebappProperties from the CAS Server and most likely moving other properties to an api project.

I think this is what we should shoot for. I am in the process of a cleanup to remove circular dependencies as much as possible to further break the codebase down, enable annotation processing, etc and I think as part of this effort, I will be able to execute that extraction so that the management app can own its own properties more successfully.
I think the more difficult/interesting question has to deal with how to load properties here without code duplication, with the same degree of functionality. Probably can answer that better once the clean up is done.

That sounds like exactly what is needed.  Let me know if there is a piece you want to look at or work on.

I should have something to review soon.
A couple of notes up front:
A lot of the circular dependencies I am fixing were discovered as a result of me turning on annotation processing in IDEA, which is something required by Lombok (which should help reduce noise quite a bit). To get around the problem, (I did report the behavior to IDEA folks as well), I am breaking the modules into those that contain core classes of a given functionality and those that simply contain Configuration objects of those classes. This is a pattern recommended by boot as well where you have core modules and then starter modules. I didn't want to rename modules to match that pattern because that would break everyone's configuration so I have opted for a compromise where we might have cas-server-core-logout-api where the core code lives for logout ops and then cas-server-core-logout per usual which only contains the configuration beans for logout. A lot of this maneuvering simply is caused by carelessly referencing modules here and there which gradle is perfectly fine with, but annotation processing isn't and a lot of also deals with using test components of a module in a different module in such a way that confuses the processor.
I am not planning for any of this to go into 5.2 yet, since the changeset is too large and uncertain at this point. we can revamp and revise after the release.


Try to run preseq lc_extrap in quick mode

https://github.com/trev-f/SRAlign/blob/52ba5ce916f88d3b1ca352bea63bab4fdd6e32cc/modules/Fastp.nf#L4
Preseq plots in MultiQC don't include confidence intervals. See if this process can be sped if run in quick mode (option -quick) while still producing the proper MultiQC plot.

On second thought, it could be beneficial to have the confidence intervals even though they don't get added to the MultiQC report. I'm going to close this without actually making the change (at least for now).


Upgrade to winit 0.14

A new cargo release of glutin following merging this would be appreciated.

Seems like a duplicate of #1021

Ah, so it is.  My bad, I should review existing PRs before I open mine.  Well I guess I should explain myself, we're trying to fix a bug in Amethyst and we think upgrading winit might help with that, but in order to do that we have to domino effect upgrade a few of our dependencies and this is one of them.


unpkg-distributed FCL UMD does not include config

Hi there,
I've been trying to get FCL working in my web application, which is a plain JS app, no bundle or NPM packages in use. We use UMD modules via CDNs in order to fetch additional functionality.
I added FCL via this unpkg entry, which I believe from package.json is officially supported by Flow. However, including the fcl.umd.js results in the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'config')
    at fcl.umd.js:1:1180
    at fcl.umd.js:1:524
    at fcl.umd.js:1:629

(The script tag:)
<script src="https://unpkg.com/<EMAIL_ADDRESS>
My suspicion is that there might be some other package I need - which I've been unable to find - or that the UMD module is built in such a way that config has been omitted. I thought I ought to report this as an issue in case this is unintended behaviour; I was unable to find any documentation about using FCL without modules so if it's just outright not supported then please feel free to close this.
Thanks!

There is a lot of packages needed, a bit tricky. Best option is to using browserify, rollup or webpack. Then export a js with polyfills (http, https, process, url, buffer etc)

Best option is to using browserify, rollup or webpack

I did a bundle with browserify but I get the exact same error.

I have a similar problem

Any chance you could point me to a code sample of this?
@kringsnw @JoelOtter


SARAALERT-699: Fix admin table sort persistence

Description
Jira Ticket: SARAALERT-699
Write out a concise summary of this pull request and what it addresses.
(Feature) Demo/Screenshots
Insert demo video or photos for a new or updated feature or capability.
(Bugfix) How to Replicate
Insert steps for how to replicate the bug this PR addresses.
(Bugfix) Solution
Insert description for the solution this PR implements to address the bug.
Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
example_file.js

Example change (ex: refactored import function)

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] IE11

Please describe the tests needed to verify your changes. Provide instructions for reproducing these tests. List any relevant details for your test configuration.

Can you make sure to update the body of your PR as well? It helps everyone on the dev team who may want to understand the change, and we also need to remember others are contributing and looking at this open source application as well.

Added small fix and comment update. Looks good to me now.


Release 14.12 - adding configFile option for the dovecot so that absolute path could be used

Config file used for the whole dovecot configuration.
Example usage
$ cat /etc/nixos/dovecot-config.nix
services.dovecot2.enable = true;

# all settings are useless if the configFile is specified like so
services.dovecot2.configFile = "/etc/dovecot/dovecot2.conf";

Reason
Absolute path is required when one has such postfix configuration where he/she needs to specify tha actual (real) path to active dovecot config as below.
Before this patch is applied, the dovecot is running in such way: /nix/store/hashAAA-dovecot-2.1.17/sbin/dovecot -F -c /nix/store/hashBBB-dovecot2.conf   ; and postfix can't be aware of the value of "hashBBB" via services.postfix.extraConfig = '' ... '';   ;  (only it can be aware of "hashAAA" with ${pkgs.dovecot} parameter)
$ cat /etc/nixos/postfix-config.nix
  services.postfix.extraMasterConf =
''
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=${pkgs.dovecot}/libexec/dovecot/deliver -c /etc/dovecot/dovecot2.conf
  -f ''${sender} -d ''${recipient}

Patch
[root@mail:~]# diff -u nixpkgs/nixos/modules/services/mail/dovecot.nix.orig nixpkgs/nixos/modules/services/mail/dovecot.nix
--- nixpkgs/nixos/modules/services/mail/dovecot.nix.orig	2015-01-17 08:49:24.894834703 +0100
+++ nixpkgs/nixos/modules/services/mail/dovecot.nix	2015-01-17 08:58:09.160141108 +0100
@@ -45,8 +45,6 @@
       pop3_uidl_format = %08Xv%08Xu
     '' + cfg.extraConfig;

-  confFile = pkgs.writeText "dovecot.conf" dovecotConf;
-
 in

 {
@@ -88,6 +86,12 @@
         description = "Additional entries to put verbatim into Dovecot's config file.";
       };

+      configFile = mkOption {
+        default = null;
+        description = "Config file used for the whole dovecot configuration.";
+        apply = v: if v != null then v else pkgs.writeText "dovecot.conf" dovecotConf;
+      };
+
       mailLocation = mkOption {
         default = "maildir:/var/spool/mail/%u"; /* Same as inbox, as postfix */
         example = "maildir:~/mail:INBOX=/var/spool/mail/%u";
@@ -155,7 +159,7 @@
             ${pkgs.coreutils}/bin/chown -R ${cfg.user}:${cfg.group} /var/run/dovecot2
           '';

-        exec = "${pkgs.dovecot}/sbin/dovecot -F -c ${confFile}";
+        exec = "${pkgs.dovecot}/sbin/dovecot -F -c ${cfg.configFile}";
       };

     environment.systemPackages = [ pkgs.dovecot ];

Credits
Thanks to Lethalman from #nixos IRC :-)

Omg what a mess this PR, github screwed up :P Can you please rebase your commit on top of master and reopen the PR? Thanks.

Yeah, 1,590 changed files is a bit much.

I'm noob with this :) Let me retry...

@arno01 np it's not straightforward to get a clean PR in github across different branches... you tried the hard path :P

@lethalman  not sure if this is right/good approach... but I forked the nixpkgs and committed two patches to myself :-)
Please check it and tell me what's the easiest way to make a pull request to the official repo?
https://github.com/arno01/nixpkgs/commits/release-14.12
https://github.com/arno01/nixpkgs/commit/85fb6ed3628d76d498052ff04f993253db72e4c7
https://github.com/arno01/nixpkgs/commit/bdd2a2d0b5271a8015a9fb5cfe64ca48afd46f55
Just to keep the track (for myself and other git-noobs), I followed:
https://help.github.com/articles/set-up-git/
https://help.github.com/articles/fork-a-repo/
https://help.github.com/articles/syncing-a-fork/
https://help.github.com/articles/using-pull-requests/

Then I cloned release-14.12 to my laptop, added upstream (I guess I didn't even use it...)
git clone -b release-14.12 https://github.com/arno01/nixpkgs
cd nixpkgs/
git remote add upstream https://github.com/arno01/nixpkgs.git
git fetch upstream
git checkout release-14.12

Then applied patches one-by-one with patch -p1  & git commit .
Result
~/nixpkgs $ git log -2
commit 85fb6ed3628d76d498052ff04f993253db72e4c7
Author: Andrey Arapov<EMAIL_ADDRESS>Date:   Sat Jan 17 14:08:59 2015 +0100

    Absolute path is required when one has such postfix configuration
    where he/she needs to specify tha actual (real) path to active dovecot
    config.

    Without this commitapplied, the dovecot is running in such way:
    /nix/store/hashAAA-dovecot-2.1.17/sbin/dovecot -F -c /nix/store/hashBBB-dovecot2.conf

    and postfix can't be aware of the value of "hashBBB" via services.postfix.extraConfig = '' ... '';
    (it can only be aware of "hashAAA" with ${pkgs.dovecot} parameter)

commit bdd2a2d0b5271a8015a9fb5cfe64ca48afd46f55
Author: Andrey Arapov<EMAIL_ADDRESS>Date:   Sat Jan 17 14:07:00 2015 +0100

    libmilter isn't compiled with the IPv6 support,
    because of that OpenDKIM fails to verify and postfix won't accept email:

    Jan 17 10:01:39 mail opendkim[5628]: OpenDKIM Filter: connect[140678164576000]: unknown family 54

    To remedy this patch has to be applied.

And then I pushed local changes to my fork with git push

Ok I guess I should do it against the master :-)


fix Issue #52

fix Issue #52

GetActualTargetSecondsAverage uses GetTargetSecondsAverage
add linux compiled executables and libcrypto.so.1.1 to gitignore
code refactoring of GetTargetSecondsAverage
enable average time stats in blockchain explorer

@HermanSchoenfeld any reason to ignore this pull request ? :)

What does it solve exactly? And it is Alberts decision to merge source, I only update PIPs on this repo.
Sent from my iPhone

On 19 Feb 2018, at 4:45 am, KunNw0n<EMAIL_ADDRESS>wrote:
@HermanSchoenfeld any reason to ignore this pull request ? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

It eliminates code complexity and duplication in GetActualTargetSecondsAverage and GetTargetSecondsAverage implementations keeping the underlying algorithm intact.
Prevents occasional including of the compiled binaries into the code commit.
@PascalCoin could you please accept or decline the request
Thanks!

closing PR as outdated due to project structure reorganization


Not possible to calculate fast, normal and cheap transaction fee ?

@DiwakarThapa hi. Not with this lib. The cost of a transaction is determined by gas price. You can make "fast, normal and cheap" fee by setting gas price constants, for example (cheap = 1 av = 3 fast = 16). If you need more clarification, read this answer


[DOC update] Add some doc on how to add libraires to gVisor

Description
Hi etienne, just a quick feedback on this fontastic tool :)
I managed to execute a ping command from my openweb-ui chat and also make it run a matplotlib code.
I think you should add some doc on these two use cases:
1/adding tools to gVisor context:
In the docker file add needed tools:
RUN apt-get install -y iputils-ping sudo
After that it works (if you enable network access in sandbox)

2/adding more python libs:
Strangely adding python3-xxx package did not worked as expected; your tool still didn't find the libs:
RUN apt-get install -y python3-numpy python3-matplotlib
but this works:
RUN pip install matplotlib numpy
Which is better by the way :)
Still I can't manage to get result from matplolib, I need to run proposed code to get an image, is this expected?

3/Any way to support venv? For example is it possible to prepare some venv and to propose to the tool to use this ot this venv?
Thanks!
General information

Open WebUI version: v0.3.32
Tool/function version: 0.8.0
Open WebUI setup:

Kernel information: 6.10.11+bpo-amd64
Runtime: doker-compose
If running in Docker:

Docker version: Docker version 27.3.1, build ce12230

I will add documentation to mention that you can preinstall tools and packages, but per issue #15 I think the better end state here is to allow sandboxes to install their own command-line tools and Python packages. Installing Debian and Python packages from inside the sandbox is safer, it can accommodate multi-user setups, and it doesn't require users to modify their Dockerfile. For this same reason, supporting venv is not needed; it would just become code that isn't needed once each sandbox can install its own packages.
And yes, matplotlib not displaying images is a known issue. The code execution function however display any image inline that is saved to disk.


[Task]: Communicate migration changes to users from client side - POC

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
No response

Detecting migration changes just on the client is not possible. Since it doesn't have access to git DSL data. Closing this as the POC is complete


Service did not respond to the start or control request in a timely fashion

I know this issue was raised before but currently I am also facing the same issue and I have tried all the solutions provided in #13  but no luck. Most annoying part here is the code base is same in master branch and my current branch. I just added few arguments to pass while running the program however the code to install/start/stop/uninstall service is the same. I am able to install and run service from master branch code base. But I am getting below error while trying to start service via command-line in my current branch. I am running this program in administrator terminal and also my basedirectory path does not contain space.
System.InvalidOperationException: Cannot start service testService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
         --- End of inner exception stack trace ---
         at System.ServiceProcess.ServiceController.Start(String[] args)
         at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.StartService(HostConfiguration`1 config, ServiceController sc)
         at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.UsingServiceController(HostConfiguration`1 config, Action`2 action)
         at PeterKottas.DotNetCore.WindowsService.ServiceRunner`1.Run(Action`1 runAction)
info: *.Service.Program[0]
      Return value from Run function -1

Even If I try to run the installed process from user interface it gives me below error.
windows could not start the service on local computer
error 1053 the service did not respond to the start or control request in a timely fashion

I am using 2.0.8 version of PeterKottas.DotNetCore.WindowsService library.
What could be the reason here?

I am having same error with the latest version also 2.0.9 version of PeterKottas.DotNetCore.WindowsService library.

I have this trouble too

Quite a common problem. My solution was to implement an own descendant of MicroService class where I've started a RunOnceTimer with all the initialization, IoC with assembly scanning, Akka, Nancy in a callback method. Not before or during Run(). Basically, you start a separate thread (like timer) and immediately tell Windows you're all done loading.

Im having this problem too. @Apostol59  could you elaborate on your solution?

@kalimist123, no problem, bro.
I had di container configuration in method main, container cofiguration was be relocated in OnStart.
Main method must contains minimum of operations before OnStart.
//from example
void Main()
{
//old di configuration
ServiceRunner<ExampleService>.Run(config =>
{
	var name = config.GetDefaultName();
	config.Service(serviceConfig =>
		{
			serviceConfig.ServiceFactory((extraArguments, microServiceController) =>
		{
			return new ExampleService();
		});
		serviceConfig.OnStart((service, extraArguments) =>
		{
//now di configuration
			Console.WriteLine("Service {0} started", name);
			service.Start();
		});
...
}
}

@Apostol59  thank you

I'm getting this same error when I try to start my windows service, it fails instantly (it's not waiting 30 seconds) and generates in the eventlog the error that it timed out after 30 seconds. Anyone able to get past this?

I was running into this error as well, however I was hitting it immediately when starting the service, it wasn't waiting 30 seconds. The issue was that I was using Network Service instead of Local System to run the windows service, must have been some sort of permissions issue...

@Apostol59
I am having same error with the latest version of PeterKottas.DotNetCore.WindowsService library.
Above your solution didn't work for me
can you please help me..

@sagar-patel-sls
Hi, I'm not a maintainer.
May be @PeterKottas can help you, but, will be need more details, I think)

Hii @PeterKottas
I am having same error with the latest version of PeterKottas.DotNetCore.WindowsService library.
Above your solution didn't work for me
can you please help me..


Emblem and Coffeescript generators conflict

I thought it was worth mentioning that there are issues running emblem with coffeescript generators. There is a ticket in the ember-cli-coffeescript repo
https://github.com/kimroen/ember-cli-coffeescript/issues/97
This is likely something emblem should be aware of. Not entirely sure where this issue should ultimately live but I figured a conversation on both ends likely makes sense.

thanks for linking the conversation here. Will take a look

Thanks @joebartels
I'll try and look into this a bit myself as well.


Automated cherry pick of #6287: region: lbagent: undeploy: make it idempotent

Cherry pick of #6287 on release/3.2.
#6287: region: lbagent: undeploy: make it idempotent

Codecov Report

Merging #6288 into release/3.2 will increase coverage by 0.01%.
The diff coverage is 7.77%.

@@               Coverage Diff               @@
##           release/3.2    #6288      +/-   ##
===============================================
+ Coverage         7.04%    7.05%   +0.01%
===============================================
  Files              646      649       +3
  Lines           110882   111212     +330
===============================================
+ Hits              7813     7850      +37
- Misses          102467   102754     +287
- Partials           602      608       +6

Flag
Coverage Δ

#aFlag
7.05% <7.77%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/baremetal/manager.go
0.50% <0.00%> (+<0.01%)
:arrow_up:

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/db_dispatcher.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/domainresource.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/infraresource.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/project.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/sharablevirtual.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/virtualresource.go
0.00% <0.00%> (ø)

pkg/cloudprovider/cloudprovider.go
1.53% <0.00%> (-0.11%)
:arrow_down:

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

... and 33 more

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 9034bff...d2197ae. Read the comment docs.


Remove CSS import in order to support Next.js

Hi, I'm trying to use this component in a Next.js application, but the code fails to compile due to this error:
./node_modules/react-datasheet-grid/dist/style.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-datasheet-grid/dist/components/DataSheetGrid.js

See https://nextjs.org/docs/messages/css-npm
Would it be possible to remove the CSS import and allow developers to instead import the CSS in their own projects (to control how the CSS is consumed/injected)?

Sounds reasonable. But the doc needs to be updated, and that sounds like a breaking change for existing users, how do you propose we can handle that?

Closing this issue as it seems dead

Sounds reasonable. But the doc needs to be updated, and that sounds like a breaking change for existing users, how do you propose we can handle that?
Hello, @nick-keller.
I think this can be solved with css in js or style = {{}} in the component. However, I see that the library makes use of CSS variables. Maybe the CSS variable can be moved inside the component with js as well? What are your thoughts?

Had this same issue and had to drop this lib :(

Yea, me too.. :(

Let's discuss and Proposed Solution in the discussions tab @lveillard @LoncaSorin

Hello @iacobfred @cholazzzb lveillard,
This will be live in less than 24h, this will be a v4 as it is not backward compatible.

Alright, 4.0.0 is live ;)


[MAD][DATA1018][Visualizing_real_world_data]Elena JP

Una proyecto muy util aun que he tenido problemas con los datos

Good try Elena!! Try what commented in class, plot the number of accidents by
The 2 variables chosen for the scatter plot don't make sense at all. It's a good practice to think about possible relationships among variables before any plotting. In this case you could have explored based on a correlation matrix for a subset of variables. You can make some initial assumptions based on your logical thinking, the check with a correlation matrix and finally plotting some of your conclusions. I'll close this pull request but you need to repeat the project with these guidelines. Let's seat this afternoon to review steps in your analysis.


frustrated with the global variable like $!!!

fist of all ,thanks for your effort to the great tool
and then there is an question frustrating me for a long time;
here it is :
global variable for this cli-tool;
for example:
if we want to use $ variable as in global way, the suggestion way of our cli
is editing the "script:[]" in the file ".angular-cli.json";
in this senario:
we can get a script.bundel.js when server running;
but the the '$' is limtted in the script.bundel.js,not be shared,it's a 'fake global';
that's say if we use other libary based on jquery '$' not included in the 'script:[]',the '$'
can't be accessed!we have to do some work like ' import * as $ from jquery'
but in this way,we will get an error like '$ is not defined';
so,we have to leave the 'script:[]' empty.and then verything is go well,but the $ is not global;
that's to say:either we include all the libary in the 'script:[...]' or left it empty;
they can never coexist;
to say the least,even ,we can included all the libary files in the 'script:[]'
the script.bundel.js file may very large size ,that's not  good idea;
IMHO,I know we create  this cli too not for expert,just for out of the box using;
so maybe we don't encurage to do more complex job on config webpack. i really
agree with this!
In sum,we just want to find a way to set 'real global' variable like config setting
in webpack.config.js:
plugins:[new webpack.ProvidePlugin({
		  jQuery: 'jquery',
		  $: 'jquery',
		  jquery: 'jquery'
		}) ];

so,how we go through this question?
thank you again.

yes,yes,yes
think that i'm a idiot to webpack config. all i can is "Fill in the blanks" of the config file as the official instruction ;so how about if we don't want use this feature.   :)

ng eject isn't mentioned anywhere in documentation. I occasionally found it after reading your comment. Maybe it should be mentioned in some .md file inside docs/?

@metamaker thanks for the suggestion. I just made this... https://github.com/angular/angular-cli/pull/5155

thanks all.
@delasteve @afontaine    in fact i knew this "ng eject";
as i'v said, we should not 'encourage' doing too much work on webpack configing. we should keep this cli-tool simple to use for primary user who may have not rich experience on webpack;

so how about we make variable global if we don't want use this (‘ng eject’)feature?

if we use 'ng reject'
plugins:[new webpack.ProvidePlugin({
jQuery: 'jquery',
$: 'jquery',
jquery: 'jquery'
}) ];
script:['path/to/jquery.js'] in .angular-cli.json 'can never coexist.

What about "scripts" setting in .angular-cli.json?
This will, probably, should be used with types and/or typeRoots setting in typescript config files.

Regarding webpack.ProvidePlugin, there are no plans to add it in the CLI. It requires outside information that cannot be easily inferred, and doesn't provide as strong interop as global script support.
Supporting global script interop with typescript is rather easy and intuitive (imho), especially for people that aren't webpack wizards. And if you are a webpack wizard and 100% must have ProvidePlugin, then eject is just perfect for you.
I'm going to cross post my answer (https://github.com/angular/angular-cli/pull/3814#issuecomment-283630346) to your other comment here for visibility:

Ah so semantic is a jquery plugin? You never told me that 😃
Then it really depends on how that plugin functions unfortunately.
The global and local jquery instances are completely separate as that is the only way to ensure functionality.
When you add jquery to scripts it's exactly the same as adding it as a script tag in index.html. jquery is then on the global scope.
But when you import it via an import statement, you get a second local copy, that is not the same as the one on the global scope. This is intended by design, since ES6 modules are isolated.
The local copy does not have that semantic plugin. It's up to the plugin to provide import semantics compatibility. If that plugin only works by detecting jquery on the global scope then it cannot be used as a ES6 module.
For interop with packages that aren't meant to be used as ES6 modules your best bet is to work with the global scope. That means that you add jquery and all those plugins to the script array, and never import them in your TS code.
Then you create a src/typings.d.ts file and add declare var $: any there. If you have the real jquery type use that instead of any. That basically tells TypeScript to just assume there is a variable called $ in the global scope.
Then when you use it in your code you are using the global one and not a locally imported one. That global one has all the legacy jquery plugins you added.


Trust keys should fetch them first

Otherwise there will be a nullpointer exception

This was a bug in my test client.


Use our version of the theme-api plugin to get automatically ordered languages

Man, I actually reformatted book.json. This is somewhat related to #171, I think we should just go with the 2-space indent anyway.

Could you add "R" too?

I could but this is already based on the latest version of master. We can just add it once we have an implementation in the language.

We already do: #206


Add Cask for 'SafeSign Identity Client'

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Additionally, when adding a new cask:

[x] Checked there are no open pull requests for the same cask.
[x] Checked there are no closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

Ref: https://github.com/caskroom/homebrew-cask/issues/24722

Before discussing inclusion of this further, I’d like @rogeriopradoj’s input here, since he knows the app/cask well.

alright I'll close this one first

@berniechiu @vitorgalvao 😃

Thank you. Merging.


question, how about indexing big public repos?

High level details
I tried index my fork repo https://github.com/Slach/ClickHouse, but something went wrong

How to debug it? Where bloop store their logs on Windows?
Proposal
Add ability to show current logs

Hi @Slach, as of v0.4.3 the indexing architecture has been heavily revised. Can you index this repo?

I clean %USERPROFILE%/AppData/Local/bloop/ and %USERPROFILE%/AppData/Roaming/bloop/ folders
run blood 0.4.3 under windows link with my github account
select
and after 24 miniutes of "cloning" status

got "error" status

how to debug root reason for error?
%APPDATA%\bloop\bleep\local_cache\github.com_Slach_ClickHouse
size only 20 Kb instead of > 1Gb

@ggordonhall
look like you have a timeout for git clone
i see
"ssh" -o SendEnv=GIT_PROTOCOL<EMAIL_ADDRESS>git-upload-pack 'Slach/ClickHouse.git'
which downloaded 350Mb of traffic
but stop and re-run after some time
Could you suggest how to configure git clone instead of ssh? or increase timeout for git cloning?
Why application still doesn't have any debug logs?

@Slach I am trying to repro this on a Mac, but checkout works for your repo. Another strange thing is that you'd see an ssh process communicate, since after 0.3.5 all git-related operations in Bloop are implemented in Rust, and work over HTTPS.

@rsdy 0.4.14
still execute ssh.exe and failed

how about add debug logs?

found logs folder
2023-08-27T12:18:26.899802Z DEBUG sync{repo=github.com/Slach/ClickHouse}: bleep::background::sync: new status self.reporef=RepoRef { backend: Github, name: "Slach/ClickHouse" }
new_status=Error { message: "git clone fetch: HeadUpdate(FileTransactionCommit(PackedTransactionCommit(Commit(Error {
error: Os { code: 5, kind: PermissionDenied, message: \"Access is denied.\" },
instance: File { inner: Handle {
id: 34, _marker: PhantomData<gix_tempfile::handle::Writable> },
lock_path: \"C:\\\\Users\\\\Slach\\\\AppData\\\\Roaming\\\\bloop\\\\bleep\\\\local_cache\\\\github.com_Slach_ClickHouse\\\\packed-refs.lock\" } }))))" }

2023-08-27T12:18:26.906129Z ERROR bleep::background::sync: failed to sync repository err=Sync(GitCloneFetch(HeadUpdate(FileTransactionCommit(PackedTransactionCommit(
Commit(Error { error: Os { code: 5, kind: PermissionDenied,
message: "Access is denied." },
instance: File { inner: Handle {
id: 34, _marker: PhantomData<gix_tempfile::handle::Writable> },
lock_path: "C:\\Users\\Slach\\AppData\\Roaming\\bloop\\bleep\\local_cache\\github.com_Slach_ClickHouse\\packed-refs.lock" } }))))))
self.reporef=RepoRef { backend: Github, name: "Slach/ClickHouse" }

I tried to run bloop under Admin user
after chmod 0777 /cygdrive/c/Users/Slach/AppData/Roaming/bloop/bleep/local_cache -Rv
bloop successfully clone repo
but got another error
2023-08-28T04:00:42.214608Z DEBUG bleep::background::sync: new status self.reporef=RepoRef { backend: Github, name: "Slach/ClickHouse" } new_status=Indexing
2023-08-28T04:00:42.220905Z  INFO bleep::indexes::repo: finished indexing repo metadata repo.disk_path="C:\\Users\\Slach\\AppData\\Roaming\\bloop\\bleep\\local_cache\\github.com_Slach_ClickHouse"
2023-08-28T04:00:43.008778Z  WARN bleep::indexes::file: Path not found in language map entry_pathbuf="\\\\?\\C:\\Users\\Slach\\AppData\\Roaming\\bloop\\bleep\\local_cache\\github.com_Slach_ClickHouse\\config"
2023-08-28T04:00:43.008751Z  WARN bleep::indexes::file: Path not found in language map entry_pathbuf="\\\\?\\C:\\Users\\Slach\\AppData\\Roaming\\bloop\\bleep\\local_cache\\github.com_Slach_ClickHouse\\refs\\remotes\\origin\\fix-datetime-overflow-formatting"

and after it
got
2023-08-28T04:00:53.550245Z DEBUG bleep::background::sync: new status self.reporef=RepoRef { backend: Github, name: "Slach/ClickHouse" } new_status=Done
2023-08-28T04:00:53.550307Z DEBUG bleep::background: sync finished result=Ok(Done)

but Natural language queries still not available

Hey @Slach, do you still experience this?

@ggordonhall
yes, pissue still present
local copy of git repo indexed fine
but public repo with http://github.com/ClickHouse/ClickHouse url added but stuck in cloning state
and now, I don't see any ERROR in logs
2023-10-24T14:06:07.291844Z  INFO bleep::webserver: starting webserver bind=<IP_ADDRESS>:7878
2023-10-24T14:06:07.809923Z DEBUG bleep::webserver::github: github auth started interval=3s
2023-10-24T14:11:02.064284Z DEBUG bleep::webserver::github: acquired credentials
2023-10-24T14:11:02.491904Z DEBUG bleep::periodic::remotes: credentials exist
2023-10-24T14:11:03.441093Z  INFO bleep::analytics: sent analytics event...
2023-10-24T14:11:03.445534Z DEBUG bleep::webserver::github: github auth complete
2023-10-24T14:11:05.279812Z DEBUG bleep::periodic::remotes: repo list updated
2023-10-24T14:11:06.665517Z DEBUG bleep::periodic::remotes: updated user user="Slach"
2023-10-24T14:11:38.190833Z  INFO bleep::background: queueing for sync reporef=github.com/CLickHouse/ClickHouse
2023-10-24T14:11:38.191108Z  INFO bleep::background: indexing next.reporef=RepoRef { backend: Github, name: "CLickHouse/ClickHouse" }
2023-10-24T14:11:38.191167Z DEBUG bleep::background::sync: syncing repo self.reporef=RepoRef { backend: Github, name: "CLickHouse/ClickHouse" }
2023-10-24T14:11:38.191199Z DEBUG bleep::background::sync: new status self.reporef=RepoRef { backend: Github, name: "CLickHouse/ClickHouse" } new_status=Syncing
2023-10-24T14:11:38.355580Z  INFO bleep::analytics: sent analytics event...
2023-10-24T14:14:07.491093Z DEBUG bleep::periodic::remotes: timeout expired; refreshing repositories
2023-10-24T14:14:07.491198Z DEBUG bleep::periodic::remotes: credentials exist
2023-10-24T14:14:10.301717Z DEBUG bleep::periodic::remotes: repo list updated
2023-10-24T14:14:11.367351Z DEBUG bleep::periodic::remotes: updated user user="Slach"

looks like ssh.exe executed and closed after some time out

installed version of bloop 0.5.6


Bug: severity and state on create or on update incident

Hi,
On on create or on update incident, i want tp read the severity or state of this incident.

In my post to Mattermost, i have this configuration
{
"channel": "monitoring",
"username": "monit",
"text": "@channel **{{local.components.incident-on-create-1.returnValues.model.description}} ** \n State : {{local.components.incident-on-create-1.returnValues.model.currentIncidentStateId.name}}  \n Severity : {{local.components.incident-on-create-1.returnValues.model.incidentSeverity.name}}"
}
But State and Severity are undefined always !
How to you configure these entities to show the name ?
Thnaks for your help,

In Select you can add:
{
    ....
   "incidentSeverity": { "name": true }
}


SM on UE5.3

CARLA version: UE5.3 Dev
Platform/OS: Window
Problem you have experienced: missing mesh
What you expected to happen: load the map with the mesh.
I follow this step,
git clone -b ue5-dev https://github.com/carla-simulator/carla.git CarlaUE5
Run the setup script:
cd CarlaUE5
Setup.bat
Configure. Open x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and runn the following command:
cmake -G Ninja -S . -B Build -DCMAKE_BUILD_TYPE=Release -DBUILD_CARLA_UNREAL=ON -DCARLA_UNREAL_ENGINE_PATH=%CARLA_UNREAL_ENGINE_PATH%
Build CARLA. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command:
cmake --build Build
Build and install the Python API. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command::
cmake --build Build --target carla-python-api-install
Launch the editor. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command:
cmake --build Build --target launch
but after here I deleted the version that file have download the

Then restart the setup.bat again and after the project is build, I have this issue appear
if there a other step to find the meshes or need to rebuild the project again, or cmd command that need to be use.

Any support that you can provide, it would appreciate.

First, run Setup.bat and you don't need to run the cmake command line separately because the batch file contains all the cmake commands.
The problem with CARLA Mesh missing is that the content file is most likely not decompressed. Downloading the content file is also included in Setup.bat, which starts downloading and decompressing asynchronously when you run Setup.bat. Please check it out in these file.
make sure that there are uncompressed files on the path "C:\Users\USER\CarlaUE5\Unreal\CarlaUnreal\Content" and if no problem is found, you will need to download the content file yourself. Find the content file that supports CARLA 0.10.0 and download it yourself. I hope you get good results.


Better handling of failed downloads

Switched to newer version of the download plugin which fails on
incomplete downloads. Disabled cache polling for large server ZIP file
and enabled overwriting of the target file.

@ngrigoriev Please put the non-caching version in a different profile, and add a command line option to the install-gremlin-server.sh script to optionally always download a new copy. When doing testing of the install-gremlin-server.sh script, it is a pain to have to wait for the 200 MB file to download. Otherwise I think you raise valid points and is good to have a non-caching download profile.

I see your point, I'll make that change.


go install error

When using go install github.com/Ullaakut/cameradar/v5/cmd/cameradar@latest
I get this error:
# github.com/Ullaakut/go-curl In file included from .go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/const.go:5: ./compat.h:423:2: error: #error your version is TOOOOOOOO low   423 | #error your version is TOOOOOOOO low       |  ^~~~~

See the README in this repository, and more specifically the section about requirements :)
Have a nice day!


pass global setting via a config file

config locates in resources/anystub/anystub.yaml
config includes settings for http

body mask
body trigger
headers

0.9.3


invoices_operations.py generating a stack trace

Describe the bug
I am getting a Python stack trace when I run az billing invoice list:
(UnsupportedSubscriptionType) Offer id XXXXX is not supported.
Traceback (most recent call last):
File "/usr/lib64/az/lib/python2.7/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 336, in execute
six.reraise(*sys.exc_info())
File "/usr/lib64/az/lib/python2.7/site-packages/azure/cli/core/commands/init.py", line 323, in execute
result = list(result)
File "/usr/lib64/az/lib/python2.7/site-packages/msrest/paging.py", line 121, in next
self.advance_page()
File "/usr/lib64/az/lib/python2.7/site-packages/msrest/paging.py", line 107, in advance_page
self._response = self._get_next(self.next_link)
File "/usr/lib64/az/lib/python2.7/site-packages/azure/mgmt/billing/operations/invoices_operations.py", line 119, in internal_paging
raise models.ErrorResponseException(self._deserialize, response)
ErrorResponseException: (UnsupportedSubscriptionType) Offer id XXXXXX is not supported.
I was expecting a one line error message instead of the stack trace. Thought I would let you know.

Stack trace no longer displayed.


[GSSOC23]Adding all the patterns on sliding window algorithm

Hey , Ishita I have already raise this issue . Please check other's issues also before posting . Thanks

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.

I am a GSSoC'23 Contributor. I am interested to work on this issue. Please assign this to me.


Mem fixes v2

v2 since (#1496):

fixed typo "Thi"
fixed sol-iio so the next partial read accounts for only what is missing

damn, the trim is still wrong. I'll upload a new version with that... or push directly if that's the only issue that is broken.

see #1506


Should x_0 and x0 be considered identical?

They're rendered exactly the same, so should they be considered identical? Maybe the version without an underscore should be normalised to the version with.

I had exactly the same quandary with STACK.  Currently they are different, but as you can see from the LaTeX generated from students' input the subtle difference between [ x_1 ], and [ {\it x_1} ] might be lost on some students...

Students regularly fail to notice (or don't know how to interpret) a string of letters in monospace font instead of italics, so I wouldn't want to rely on them noticing the difference between upright and italics!

This was resolved in 4839de7a11860e51fdf8d0c34cba65e787b16751 - expand_juxtapositions now rewrites x1 to x_1, and this happens automatically in the mathematical expression part types' built-in marking algorithm.


[Question] There was an error sending this message to your bot: HTTP status code Unauthorized?

Bot Info

App ID: c6b91627-a308-47f6-ab1c-d7ba09ce74f3
SDK Platform:  .NET
SDK Version: VS 2015 (Framework 4.6)
Active Channels: FaceBook
Deployment Environment: Auzure Bot Service,Manual

There was an error sending this message to your bot: HTTP status code Unauthorized
I got the error message like this
"There was an error sending this message to your bot: HTTP status code Unauthorized"
I have validate App id and passwords from both sides. its same. updated the components through nuget too. as of now I'm using Microsoft.Bot.Builder- V<IP_ADDRESS> . when i run my code in local emulator  its working fine at the same after deploy the same code my windows server[Windows server 2012]. i published my application like subdomain[https://abc.com/TTBotDemo/TTBot/]. I don't know the way to fix it. please anyone guide me to out of this.

Hi guys any update of my issue. i'm struck up whole day.

Hi @senthilcsk,
I noticed that your bot hasn't been migrated yet. Please migrate your bot to benefit from the latest Auth features.
Let me know if the problem persists afterwards.
Regards,
Francisco

Hi FranciscoPonceGomez,
Thanks for the update. Let me know is there any other way to run my bot temporarily.


Search algorithm: Exact match should get higher priority

Currently if you search for "cdktf-github-constructs", you get the package cdktf-github-constructs as the fifth result in the list instead of being the first one.

I believe this is done - exact matches do get a higher priority, though due to how search indexing works, it won't guarantee in all cases they have the highest relevance score