expand array into columns?

Hi I would like to know if the following example is possible or I should first format my data in some way achieve it:
[{
  name: 'Denis',
  interests: [{id: 1, label: 'code'}, {id: 2, label: 'read'}]
}, {
  name: 'John',
  interests: [{id: 1, label: 'code'}]
}]

name,interest1,interest2
Denis,code,read
John,code,

json2csv({
  fields: [
    { label: 'name', value: 'name' },
    { label: 'interest1', value: 'interests[0].label' },
    { label: 'interest2', value: 'interests[1].label' }
  ]
})

Should do it

You can also use the flatten option https://github.com/zemirco/json2csv#available-options

ok I'll try that and come back, thanks for the super fast response

yes that works thanks again

flatten doesn't work for me, It makes an empty csv,
Any solution?


random stage event

Describe your problem here.
How can I get the stage characters to cross the screen from side to side like in funkin is magic mod, giving random addresses and appearances to the characters using .lua?

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

how about you learn lua
math.random() is a part of lua and not fnf luajit api

doTweenX

but how can I return the appearance of random characters?

math.randomseed(os.time())
local charcter = math.random();
idk

I’m sorry you’ve been caught in in “nimu” mess

doTweenX

but how can I return the appearance of random characters?

** _ How can I get the stage characters to cross the screen from side to side_**

hmm moment
math.random();
also, are you good at coding?

doTweenX

but how can I return the appearance of random characters?

How can I get the stage characters to cross the screen from side to side

hmm moment
math.random();
also, are you good at coding?

not so much, I'm new to this, I don't know many ways to do what I'm looking for

Basically just use math.random for the random character appearance and
FlipX and doTweenX for the character's direction

Basically just use math.random for the random character appearance and
FlipX and doTweenX for the character's direction

ok, i think i got it, thanks

so uhh did It work?

Basically just use math.random for the random character appearance and
FlipX and doTweenX for the character's direction

ok, i think i got it, thanks

if it worked, close the issue please

local funni = 0
local funnier = 0
--black square variables
local BlackNumberTweens = 1
local willBlackNumberTweens = false
local BCTA = false
--white square variables

function onCreate()
    setProperty("defaultCamZoom", 0.4)
    makeLuaSprite('1', nil, -400, 600);
    makeGraphic('1', 200, 200, '000000');

    makeLuaSprite('2', nil, 0, 0);
    makeGraphic('2', 200, 200, 'FFFFFF');

    addLuaSprite("2", true)
    addLuaSprite("1", true)
end

function onBeatHit()
    funni = math.random(1, 2)
    funnier = math.random(1, 20)
    if funnier == 1 then
        if funni == 1 then
            if BCTA == false then
                if willBlackNumberTweens == true then
                    BlackNumberTweens = BlackNumberTweens + 1
                end
                BCTA = true
                doTweenX( BlackNumberTweens .. 'WalkingDown', '1', 1600, 8);
            end
        else
            --code the white square yourself, nerd.
        end
    end
end

function onTweenCompleted(t)
    if t == "1WalkingDown" then
        doTweenX('1WalkingBack', '1', -400, 0.001);
        willBlackNumberTweens = true
        BCTA = false
    end
    if t == BlackNumberTweens .. "WalkingDown" then
        doTweenX('1WalkingBack', '1', -400, 0.001);
        BCTA = false
    end
end

close the issue


umbrella: add speech

Depends on speech 0.1.0 release.

@stephenplusplus I think this should be good to go!

Can you add speech-related keywords to the package.json?

Changes Unknown when pulling b9e66b611b65b95f1b744cd22bd20bf79140034e on callmehiphop:umbrella-speech into ** on GoogleCloudPlatform:master**.


Model is not correct when has multiple inputs and outputs

At the last line of reduce_keras_model method one creates model that have only one input and one output, it's not true in general since keras model can get multiple inputs and multiple outputs.

Thank you. I guess we need to create some generic test for such case.
I also know the problem with complex models which included other models as layers. Code won't work on them as well. For example: RetinaNet.

The problem was fixed. Test with multi input and multi output was added.

Good job!


defined query should handle CAT_NO_ROWS_FOUND as okay

With v1.1.0 installed against iRODS 4.2.2:
Attached two queries to the fast tier...
$ imeta ls -R archiveSCResc
AVUs defined for resource archiveSCResc:
attribute: irods::storage_tiering::group
value: archiving_group
units: 0
----
attribute: irods::storage_tiering::time
value: 180
units:
----
attribute: irods::storage_tiering::query
value: SELECT DATA_NAME, COLL_NAME, DATA_RESC_ID WHERE META_DATA_ATTR_NAME = 'archive_object' AND META_DATA_ATTR_VALUE = 'true' AND DATA_RESC_ID IN ('523221', '523222')
units:
----
attribute: irods::storage_tiering::query
value: SELECT DATA_NAME, COLL_NAME, DATA_RESC_ID WHERE META_DATA_ATTR_NAME = 'irods::access_time' AND META_DATA_ATTR_VALUE < 'TIME_CHECK_STRING' AND DATA_RESC_ID IN ('523221', '523222')
units:

Upon waiting enough time for the file to move from stage 0 to stage 1, one query succeeds in finding a candidate (the time check query), and moves the data object successfully.  The other query (user-based tagging of the data object) fired and was angry that it didn't find any candidates to move.
The next time (30 seconds later), nothing was returned by either attached query, and there were two new stacktraces in the log;
Apr 17 14:19:54 pid:84436 NOTICE: _rsDataObjRepl - Failed to resolve a single replication copy.
Apr 17 14:19:54 pid:84436 NOTICE: rsDataObjRepl - Failed to replicate data object.
Apr 17 14:19:54 pid:84436 remote addresses: <IP_ADDRESS>, <IP_ADDRESS> ERROR: rsExecMyRule : -808000, [-]       /tmp/tmp8nzKh3/libi
rods_rule_engine_plugin-storage_tiering.cpp:176:irods::error exec_rule_text(irods::default_re_ctx &, const std::string &, msParamArray_t *, const std::string &, irods::callback) :  status [CAT_NO_ROWS_FOUND]  errno [] -- message [iRODS Exception:
    file: /tmp/tmp8nzKh3/irods_object_migrator.cpp
    function: void irods::object_migrator::replicate_object_to_resource(const std::string &, const std::string &, const std::string &, const std::string &)
    line: 182
    code: -808000
    message:
        failed to migrate [/tempZone/home/rods/README.md] to [archiveNDResc]
stack trace:
--------------

Dumping stack trace
<0>     Offset: 0x65    Address: 0x7fb562f02e75 irods::exception::exception(long, std::__1::basic_string<char, std::__1::char_trait
s<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >
const&, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
<1>     Offset: 0x43    Address: 0x7fb562f02ff3 irods::exception::exception(long, boost::basic_format<char, std::__1::char_traits<c
har>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > con
st&, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
<2>     Offset: 0x544   Address: 0x7fb5604f3c64 irods::object_migrator::replicate_object_to_resource(std::__1::basic_string<char, s
td::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1:
:allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::
basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
<3>     Offset: 0x10b   Address: 0x7fb5604f27bb irods::object_migrator::operator()()
<4>     Offset: 0xc3    Address: 0x7fb5605040a3 irods::storage_tiering::move_data_object(bool, std::__1::basic_string<char, std::__
1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::alloc
ator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_
string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
<5>     Offset: 0x88f   Address: 0x7fb5604db6ff exec_rule_text(std::__1::tuple<>&, std::__1::basic_string<char, std::__1::char_trai
ts<char>, std::__1::allocator<char> > const&, MsParamArray*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::al
locator<char> > const&, irods::callback)
...

It seems the attached queries should be checking for -808000 CAT_NO_ROWS_FOUND and not try to replicate anything.

This was a bad query...
I was using a bad list of DATA_RESC_ID in my IN() clause...
value: SELECT DATA_NAME, COLL_NAME, DATA_RESC_ID WHERE META_DATA_ATTR_NAME = 'archive_object' AND META_DATA_ATTR_VALUE = 'true' AND DATA_RESC_ID IN ('523221', '523222')

needed to just be
value: SELECT DATA_NAME, COLL_NAME, DATA_RESC_ID WHERE META_DATA_ATTR_NAME = 'archive_object' AND META_DATA_ATTR_VALUE = 'true' AND DATA_RESC_ID IN ('523221')


AI - Decide on a Vector Database

What is a vector database?
Article

either pinecone or chroma seems to be the best choice

The officers discussed this, and Pinecone might be the way to go! Thanks for the suggestion @rahulvikram. We will have a little debrief on Pinecone and Vector DB's today to make sure everyone is on the same page.


time to move up the version of pause we use

Hold waiting for:
https://github.com/kubernetes/kubernetes/pull/90700
Signed-off-by: Mike Brown<EMAIL_ADDRESS>

k8s.gcr.io/pause:3.3: not found 😂

we pause till it passes :-|

closing till they get back on track for the change...


Could resec be used with Docker swarm?

Sure, check the docker-compose example in Readme and feel free to talk in Gitter.


Lanes for bus and bicycles not shown up

Real situation:

Tags of Way 194755333 :
lanes	4
lanes:forward	3
lanes:backward	1

cycleway:right	share_busway
cycleway:right:lane	advisory
cycleway:left	lane
cycleway:left:lane	advisory

turn:lanes:forward	left|through;right||

vehicle:lanes:forward	yes|yes|no|no
bus:lanes:forward	yes|yes|designated|designated
bicycle:lanes:forward	yes|yes|yes|designated

vehicle:lanes:backward	yes|yes
bicycle:lanes:backward	yes|designated

sidewalk:both	separate
foot	use_sidepath

highway	primary
lit	yes
maxspeed	50
name	Sankt-Peter-Hauptstraße
oneway	no
ref	B67a
smoothness	excellent
surface	asphalt

A/B Street (V0.3.49)
Turn arrows missing, no bus lane, no cycle lane on the right

This is fixed on the osm2streets side as far as I can tell.

I currently can't compile a/b street, but that seems to be caused by the osm2lanes module being moved out of osm2streets, causing the imports to fail or something similar.

I'm not planning to update A/B Street anytime soon; any development and validation should be happening here for now. Thanks for fixing this with Muv!


Upload api swagger-ui on release

Motivation
Automate the process of building and deploying the spacemeshos/api Swagger UI with each go-spacemesh release, ensuring consistent and up-to-date documentation.
Description
This PR introduces a new GitHub Action that automates the build and upload process of Swagger UI. It leverages the Swagger spec from the spacemeshos/api version in the current release of this repository.
Test Plan
Tested locally

https://testnet-api-docs.spacemesh.network

bors merge

flaky test https://github.com/spacemeshos/go-spacemesh/issues/6113
bors merge

bors merge


Flexi Types: Loosen typescript parser version restrictions, bump all dependency versions

This PR bumps to latest linting dependencies, as well as loosening
the version restriction on the TypeScript parser and related packages
so that newer versions can be pulled in that support newer TypeScript
versions.
Note that there will likely be some breaking changes for consumers in
terms of lint updates that need to be fixed, so the new version tagged
with this included should be migrated to judiciously.

Ran this against the latest in https://github.com/thesis/thesis.co and all looks well.

I did you one better, bumped + tagged 0.4.0 and bumped to 0.5.0-pre for forward dev.


Docker image x86 functions differently than wsl/native

As found in PR #11  , for some reason docker requires the stack to be aligned. The compiler should be modified to make sure this is ensured and the docker version of the code can also be run

Issue was fixed by changing the entire compiler backend 🗿


How to create a QR code?

I happen to see the library , I want to learn if the library can create a QR code.And will the library limite
the QR code's  content? thanks for your replay

The library cannot create QR codes, only scan them. There are a lot of tools online/other npm libraries that can be used to create QR codes, but this is one of only a few libraries that scan them.


Target netcoreapp1.0 for MSBuild executable

Instead of targeting NETStandard1.5, our executable should target netcoreapp1.0.  This also renames MSBuild.exe to MSBuild.dll
Related to #1136 Rename MSBuild.exe to MSBuild.dll for .NET Core
Closes #1136 and #1098

I'm not going to merge this right away, I'm mainly looking to see how it does on other platforms.  I'll wait to see what people say about #1136 before merging.

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test Windows_NT Build for Desktop please


Update sbt-sonatype to 3.8.1

Updates org.xerial.sbt:sbt-sonatype from 2.6 to 3.8.1.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Going to merge this and figure out release process later


I am unclear on what exactly this is offering

Greetings:
  I have a C++ application that uses Protobufs to manage it's data. I saw your work and believe it would do the following:

Storage
1) use PBs bool SerializeToString(string* output) const; to produce a string
2) use your tools to store said string into a Postgres DB
Loading
1) use your tools to store retrieve a string from a Postgres DB
2) use PBs bool bool ParseFromString(const string& data); to rebuild the model in memory
 Is this correct? Might you have an example?

I also get the impression you might be able to access individual components of the PB while it remains inside the DB ( analogous to "shredding") .. is this a capability?

Regards
Carl

@CESlater This plugin can't accept any incoming data. It's a logical decoding plugin. The plugin only gets called by Postgres internals when changes are made if a logical slot has been created.  For more info on logical decoding check out the Postgres docs.
I'm not sure I see what the benefits or reasons would be to store Protobufs in the database as strings, but I think what you're describing would be doable with a custom Postgres plugin. Just not this one.


Inline validation in signup and login

Description
Added inline validation in signup and login forms.
Solves issue #590 Real-time validation in login and signup.
Sample Output Video:
https://github.com/narayan954/dummygram/assets/86224794/2be2798b-5338-4b57-8645-b98d53b0ac99

I doubt we need to validate login form for passwords, maybe I'm incorrect with that.You can tell me.  Also, there's one critical problem. You're validating and showing errors but not restricting any user from login/signup. we can still signup/login along with errors. Please fix that

About the login password, If the validation exists it will provide immediate feedback to the user to type the correct password in case they typed incorrect password validation-wise,  Also if you think there's no need for that then let me know I'll do as you say.
And about restricting form submission ,  I'll fix it as soon as possible and make  a commit.

I doubt we need to validate login form for passwords, maybe I'm incorrect with that.You can tell me.  Also, there's one critical problem. You're validating and showing errors but not restricting any user from login/signup. we can still signup/login along with errors. Please fix that

About the login password, If the validation exists it will provide immediate feedback to the user to type the correct password in case they typed incorrect password validation-wise, Also if you think there's no need for that then let me know I'll do as you say.
And about restricting form submission , I'll fix it as soon as possible and make a commit.

you may remove the password validation at login, because old users won't be able to login.

I doubt we need to validate login form for passwords, maybe I'm incorrect with that.You can tell me.  Also, there's one critical problem. You're validating and showing errors but not restricting any user from login/signup. we can still signup/login along with errors. Please fix that

About the login password, If the validation exists it will provide immediate feedback to the user to type the correct password in case they typed incorrect password validation-wise, Also if you think there's no need for that then let me know I'll do as you say.
And about restricting form submission , I'll fix it as soon as possible and make a commit.

you may remove the password validation at login, because old users won't be able to login.

Okay, will do it soon. 👍🏻

Hello @narayan954
Implemented the changes you asked for, my new commits contain the following changes:

Rename the class username-not-allowed to error-border.
Implemented the code for preventing the form from getting submitted if errors exist.
Remove the password validation of the login form.

Hello @narayan954
Implemented the changes you asked for. My new commits contain the following changes:

Rename the class username-not-available to error-border.
Implemented the code for preventing the form from getting submitted if errors exist.
Remove the password validation of the login form.

Thanks for fixing them, reviewing


Fix Radius Crash

Fixed crashes caused by the radius of envoys by:

Changing Max-Radius so that it is actually the radius instead of the diameter.
Adding a check to make sure that there is enough room for all crates to spawn.

Change the NBT-API link to the new one.

Go into gradle.properties & bump the version to 1.4.21


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.
If you want to publish the node manually, install the cli and run comfy node publish

Please message me on Discord if you have any questions!

hey @GTSuya-Studio, wanted to send a small nudge and ask if you had any questions!

@GTSuya-Studio, wondering if there's any way we can support you on this PR!


Uhdmovies: new content not showing on uhdmovie

Source information
Uhdmovies 13.19(english)
Source language
English
Steps to reproduce
Open aniyomi
Open uhdm extension
Expected behavior
If any content upload on website then it should also show on uhdm extension and there should be 3 worker as usual
Actual behavior
The killers of the flower moon is uploaded on 4dec but still not showing up in extension... and my adventure with superman(which uploaded early from killer of flower) have only one worker... but there no problem in older uploads maybe they are uploaded before new updates(13.18 & 13.19) of uhdm
Aniyomi version
<IP_ADDRESS>
Android version
Android 12
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

The killers of the flower moon is uploaded on 4dec but still not showing up in extension...

Your screenshot shows it, but it isn't showing up here when opening it on the browser, at the main page (https://uhdmovies.zip). Maybe it got removed from the main page? If so, it isn't the extension fault, and it is working as expected. Btw, you're still able to simply search the serie name, so you can watch it even without it showing up in the popular page.

... have only one worker...

You're using aniyomi STABLE. Aniyomi stable is known for having some strange problems with video extractors, so you should be using Aniyomi Preview instead.

The killers of the flower moon is uploaded on 4dec but still not showing up in extension...

Your screenshot shows it, but it isn't showing up here when opening it on the browser, at the main page (https://uhdmovies.zip). Maybe it got removed from the main page? If so, it isn't the extension fault, and it is working as expected. Btw, you're still able to simply search the serie name, so you can watch it even without it showing up in the popular page.

... have only one worker...

You're using aniyomi STABLE. Aniyomi stable is known for having some strange problems with video extractors, so you should be using Aniyomi Preview instead.

I am using preview brother...
Search the main page https://uhdmovies.zip on any browser not see through webview.. its showing ... yeah i can find the killers of flower using the search... and my other issue was worker ... there were 3 workers earlier but now only 1 ..  does it will create problem???

The killers of the flower moon is uploaded on 4dec but still not showing up in extension...

Your screenshot shows it, but it isn't showing up here when opening it on the browser, at the main page (https://uhdmovies.zip). Maybe it got removed from the main page? If so, it isn't the extension fault, and it is working as expected. Btw, you're still able to simply search the serie name, so you can watch it even without it showing up in the popular page.

... have only one worker...

You're using aniyomi STABLE. Aniyomi stable is known for having some strange problems with video extractors, so you should be using Aniyomi Preview instead.

In preview also showing only 1 worker for each quality.... and earlier with quality it also shows size

The killers of the flower moon is uploaded on 4dec but still not showing up in extension...

Your screenshot shows it, but it isn't showing up here when opening it on the browser, at the main page (https://uhdmovies.zip). Maybe it got removed from the main page? If so, it isn't the extension fault, and it is working as expected. Btw, you're still able to simply search the serie name, so you can watch it even without it showing up in the popular page.

... have only one worker...

You're using aniyomi STABLE. Aniyomi stable is known for having some strange problems with video extractors, so you should be using Aniyomi Preview instead.

Now its showing when find me in your memory uploaded... so the problem is its dont show the last uploaded content on main page... its cab show upto the 2nd last uploaded ...


ci: add typo detection tool

Time spent on this PR: 1h

use typos-action detect typos in github action
fixed all checked typos && test github action
Exclude some false postive word, please refer to the configuration file for details. like.

error: `ba` should be `by`, `be`
  --> ./onchain/src/bip340.cairo:68:5
   |
68 |     ba.append_word(rx.low.into(), 16);
   |     ^^
   |
error: `ba` should be `by`, `be`
  --> ./onchain/src/bip340.cairo:70:5
   |
70 |     ba.append_word(px.high.into(), 16);

Result

@maciejka do we need this?

I think adding automated tools to check typos is a once and for all way to avoid many subsequent small PRs

If it does not generate to many false positives.


[docs] link to config.js broken

The link on https://open-wc.org/demoing/#usage to config.js is broken.
I think we should list the config contents, instead of linking to files which keep changing.

This is no longer applicable


Unprintable characters blend in

With this theme enabled, unprintable characters blend in with the regular ones.
You can test this by setting listchars:
set listchars=tab:»»,trail:·,nbsp:~

sonokai (atlantis):

catppuccin_macchiato:

This should work

An improvement for sure!

I didn't want to deviate too much from the original theme, however if you want a lighter color, you can edit the guifg field in the SpecialKey highlight


[BUG] structured inline declarations not working

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
TypeScript
Current Behavior
Based on cds typer we have a project in which we have deep structures in an entity. So far it has always worked. Unfortunately, this no longer works properly since the last update.
If we set the following parameter to flat, it works. However, this would mean that we would have to work in many places in the project.

--inlineDeclarations: <flat | structured>
(default: structured)
Whether to resolve inline type declarations
flat: (x_a, x_b, ...)
or structured: (x: {a, b})

example: https://cap.cloud.sap/docs/guides/domain-modeling#prefer-flat-models
in the debugger this results in

companyData_name: ...

not in

companyData: {name: ...}

the types are generated correctly in the ts and js file, but not at runtime
Expected Behavior
working structured types
Steps To Reproduce
No response
Environment
BAS with
@cap-js/cds-typer: 0.19.0
@cap-js/cds-types: 0.2.0
@cap-js/sqlite: 1.6.0
@sap/cds: 7.8.0
@sap/cds-compiler: 4.8.0
@sap/cds-dk: 7.8.1
@sap/cds-dk (global): 7.8.1
@sap/cds-fiori: 1.2.3
@sap/cds-foss: 5.0.0
@sap/cds-hana: 2.0.0
@sap/cds-mtxs: 1.17.0
@sap/eslint-plugin-cds: 2.6.7
Node.js: v18.14.2

Repository Containing a Minimal Reproducible Example
No response
Anything else?
No response

Hi @qby-ankul ,
thanks for reporting this issue. I don't think I fully understand your use case and the problem at hand. Could you please attach a self-contained, minimal sample in which I can observe the problem? Thanks!
Best,
Daniel

Hi @qby-ankul ,
I assume this problem has resolved itself? I am going to close it for now due to the lack of activity. Should you find that the problem still persists, feel free to reopen the issue with a minimal sample attached.
Best,
Daniel


packaging for Desktops, Mobile and web for golang

https://github.com/pojntfx/hydrapp might be useful later.
I started to use it for common golang packaging of apps.

Thanks, I will try.


Update eslint-config-tui dependency (1MD)

This is for enhancement.
Update eslint-config-tui to latest version.

Completed by https://github.com/nhn/tui.editor/pull/513


Physical switching of a zwave module does not update status in Home-Assistant

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
HomeAssistant 0.55.0
Python release (python3 --version):
Hassio 1.1
Component/platform:
Zwave
Aeon Labs Z-stick S5
Description of problem:
Status when a zwave module is physically triggered is not registered/updated in HomeAssistant. Zwave modules switched from within HomeAssistant does work
Expected:
When I click a physical switch I would expect it to update its status in HomeAssistant
Problem-relevant configuration.yaml entries and steps to reproduce:
zwave:
  usb_path: '/dev/ttyACM0'
  debug: True
  polling_interval: 60000
  autoheal: True

Its always happening. Restart of homeassistant or unplug/plugin zwave stick does not matter
In the past it work instantly. Think the problem has arisen since 0.50>

Traceback (if applicable):

Additional info:

Which switch is it?
Do you see anything in OZW log when you flip the switch?

Its all my switches. Duwi, Zwave.me and qubino

Works fine for me with 0.55 and Aeotec, Qubino and Fibaro switches/dimmers. Weird if it suddenly has stopped working for you. Some devices have configuration options where reporting back to the controller can be switched on/off, have you checked that it looks ok?

I will try to do a re-asociation with the controller. Or do you mean there is a homeassistant option for reporting back?

It's device dependent, some (most?) devices support reporting back their status, others have to be polled. Some of those that support reporting also has configuration options that can be used to switch the behavior off.

I had some time to play with the config again. Just did a full hardware reset of the aeon labs z-stick gen5 and only added 2 zwave devices.
When I restarted home-assistant the two devices were added but still the problem exists.

From home-assistant ui triggering the switches works fine and fast
When the physical buttion of the switch is triggered no updates are send to homeassistant

I do see this error in the ozw_log.txt:
2017-11-06 10:47:07.930 Info, Node002, Response RTT 34 Average Response RTT 81
2017-11-06 10:47:07.930 Info, Node002, Received SwitchBinary report from node 2: level=Off
2017-11-06 10:47:07.931 Detail, Node002, Refreshed Value: old value=true, new value=false, type=bool
2017-11-06 10:47:07.931 Detail, Node002, Changes to this value are not verified
2017-11-06 10:47:07.931 Detail, Node002,   Expected reply and command class was received
2017-11-06 10:47:07.931 Detail, Node002,   Message transaction complete
2017-11-06 10:47:07.931 Detail,
2017-11-06 10:47:07.931 Detail, Node002, Removing current message
2017-11-06 10:47:07.931 Detail, Node002, Notification: ValueChanged
2017-11-06 10:47:07.942 Warning, Exception: Manager.cpp:2499 - 102 - ValueID passed to GetValueFloatPrecision is not a Decimal Value
2017-11-06 10:47:07.943 Warning, Exception: Manager.cpp:2499 - 102 - ValueID passed to GetValueFloatPrecision is not a Decimal Value
Could this be related?

zwcfg_0xda07e86b.txt
This i my zwcfg file. It contains 3 devices:
aeon labs z-stick s5
2 x duwi ZW ES 1000 Flush Mounted Switch which always auto updated to there status to the controller in the past without any polling needed

I hope my recent testing and debugging is helpful. I was trying to get polling to work, too, and the only way I see polling is by setting polling_interval super low.
My zwave yaml:
  usb_path: /dev/ttyACM1
  polling_interval: 30
  device_config_glob:
    "light.*":
      refresh_value: true
      polling_intensity: 1```

From the UI updating I'm seeing and from the OZW log, the value of 30 gets me a poll result in 2-3 minutes after the physical switch is toggled. It may not be quite as simple as just reducing the interval, though, because I get a burst of 2-12 "Notification: ValueChanged" entries in the log each time I get a poll result. I can't tell if this is expected or not, but some of it seems to be it noticing the light level changing during dimming.

[This shows the OZW logs after manually operating the dimmer.](https://github.com/home-assistant/home-assistant/files/1459232/toggled_dimmer_log.txt)

[This shows the OZW logs during a time when the dimmer was left alone.](https://github.com/home-assistant/home-assistant/files/1459234/left_dimmer_alone.txt)

I'd be happy to do more testing and to provide more logging.

I wanted to add that I have the same z stick as @flyingdutchman31 but I'm on HASS 0.57.2 and python 3.4.

I needed to reboot last night after hass ate all my RAM (possibly due to the insane polling value I used), but after the reboot, I switched to a polling interval of 30000, and now it somehow produces results within a few seconds. This would imply that it's some state issue, possibly a driver issue, and probably not a HASS issue.
@flyingdutchman31 do you get improved behavior after a reboot?

I updated homeassistant to the latest release 0.57.2 and it seema a bit better now. The 2 of the qubino modules report no there status within 2 seconds when i switch them physical.
The duwi modules still have no improvement and only report there status at a homeassistant poll or zwave node refresh.
Especially the duwi modules always were rock solid and instant in there status report

I still have the same problem. All of my zwave devices don't update status when turn on/off using physical button.
I am using latest HASS version 0.64
Nortek USB stick Zigbee and Zwave
Not only my Zwave devices but also all of my Zigbee devices don't update. It's too annoying. I just changed from Smartthings hub to USB stick, using ST hub, everything update as normal.
Please help me to fix this. Thanks

I'm also having this problem.  I'm hoping to switch away from my SmartThings hub.  Relatively fresh install of Hass.io (the easy rpi install).  Not sure which version is what considering I see so many different version numbers.  0.101, 1.2.1, Either way it's a fresh install to an rpi 3 and fully up to date.
I have a Aeotec Gen 5 stick and two Leviton DZS15-1LZ switches.  Upon initial configuration and inclusion, controlling from the dashboard is pretty instantaneous.  The problem is if I switch on/off directly from the switch, the state change wasn't noticed in Hass.  In my zwave config I added:
polling_interval: 30000
device_config_glob:
"switch.*":
refresh_value: true
polling_intensity: 1
Now it does detect the change but of course it takes up to 30 seconds.  Normally this wouldn't be a big deal for me but I eventually want to add another switch along with an appliance/lamp module/plug that I can set an automation to link them together so when the switch is on, it turns on the plug/lamp module.  That will be REALLY annoying if it takes up to 30 seconds to trigger because it doesn't detect it for 30 seconds.

I use something like that for Leviton switches:
alias: 'Update Office Light'
hide_entity: true
trigger:
  - platform: state
    entity_id: zwave.office_light
condition:
  condition: or
  conditions:
    - condition: template
      value_template: '{% if states.automation.update_office_light.attributes.last_triggered == none %}True{% else %}False{% endif %}'
    - condition: template
      value_template: '{{ as_timestamp(now()) - as_timestamp(states.automation.update_office_light.attributes.last_triggered) | int > 5 }}'
action:
  - service: zwave.refresh_entity
    data:
      entity_id: switch.office_light

However, it takes 10 seconds to update the state after pushing the button.
I do see "ERROR: Dropping command, expected response not received after 1 attempt(s)" messages in the log file. That message happens 10 seconds after pushing the button and that's what triggers the state change that I use in the automation above. But maybe there is a better way of doing that, within open zwave? Maybe just increasing the number of attempts would be sufficient?

Same issue here.
It also seems like turning on/off switches from within HA has issues updating the status as well.

Issue for me too.  No errors in the logs though.  Tried re-pairing, healing, testing, refreshing, power flip flop.  No dice.

I gave up on the Leviton switches that I have (DZS15-1LZ).  They're older Z-Wave and not Z-Wave plus for one.  Thankfully I only had a very small handful of Z-Wave switches to start off with.  I've been buying the inovelli Z-Wave plus switches from amazon which are a fraction of the price of the GE or Levitons.  They've been working wonderfully for me.  The only issue I have is they initially appear as inovelli unknown blah blah but the on/off and dimming features work flawlessly.  There's supposed to be a way to fix that but none of the fixes have worked for me.  Either way as long as they work I don't really care all that much.  They also damn near instantly report back to Hassio their status.  I haven't bought any of the scene enabled inovelli switches yet but they're supposed to work with some manipulating.

I have been seeing this same issue with status not updating on AEOTEC Nano series dimmers and switches, the Gen 5 ones.  I am also using an AEOTEC Gen 5 Z-Stick.
I can get the updating to work by mucking around in the configs for each individual device usually, but recently I had a failure and had to completely reset the z-wave network to defaults
Now I can't for the life of me get the updating to work.  Mine are all Z-Wave Plus devices.
OpenZWave log seems to indicate results are going through the Z-wave stack though, so not what is going on.
If my issue is different and an easy fix, I'd welcome being pointed in the right direction :).

I'm also experiencing this issue with an AEOTEC Gen 5 Z-Stick and Aeotec Micro Double switches. It worked flawlessly for over a year, then I updated Home Assistant to 0.77 and it stopped working. I've just updated to 0.79.2 (latest Hass.io offers me), and still have the issue.
I'm seeing this in OZW_Log.txt when I manually switch:
2018-10-03 09:49:40.680 Detail,
2018-10-03 09:49:40.680 Error, Node018, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_BASIC endpoint 4
2018-10-03 09:49:41.784 Detail, Node018,   Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x12, 0x07, 0x60, 0x0d, 0x03, 0x00, 0x20, 0x03, 0x00, 0xae
2018-10-03 09:49:41.785 Detail,
2018-10-03 09:49:41.785 Error, Node018, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_BASIC endpoint 3

I changed the notification to HAIL just to make sure (I've always had it on BASIC), and I get the same thing with the different command:
2018-10-03 09:52:21.846 Detail,
2018-10-03 09:52:21.846 Error, Node018, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_HAIL endpoint 4
2018-10-03 09:52:22.950 Detail, Node018,   Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x12, 0x06, 0x60, 0x0d, 0x03, 0x00, 0x82, 0x01, 0x0e
2018-10-03 09:52:22.951 Detail,
2018-10-03 09:52:22.951 Error, Node018, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_HAIL endpoint 3

Nothing appears in home-assistant.log.
Given the number of people I see experiencing this issue I have to assume it's a change in Home Assistant or OpenZWave.

Are you still having this issue on 0.84.x?

@marchingphoenix:
My issue is mostly fixed, but I am still using 0.83
I just had to go to basic reporting and save the setting half a dozen times before it took.
It is not perfect, still sometimes a couple of seconds delay and sometimes the light will turn on and off and back on again.
I'll try updating over the weekend once I check the breaking changes.  It's only affecting a couple of devices for me as mostly I use MQTT and Arduino devices for the lights.  The Zwave switches are just in a couple of places where cabling was difficult to access 🙂

Great to hear, I'll go ahead and close this out.

Thanks for the reply on this old thread! When you say use Basic command class to get the switch status, how do I go about doing that? Do I have to set a configuration on the switch or do I watch for an event and get the status myself?
There is a thread on the OpenZWave side for this that was closed as well. [here](url
https://github.com/OpenZWave/open-zwave/issues/933). I'll add to that as well.
Thanks.

It is done in the Zwave control panel.
For that, we would be better taking this away from here and to it's own topic I think as it is out of scope for this thread


bumping js-slang

bumping js-slang

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 37.427%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5734

Relevant Lines:
14390

💛  - Coveralls


Label Limited to 1 Character Wide with Autowrap Inside ScrollContainer

Godot version:
3.2.1
OS/device including version:
Windows 10
Issue description:
When placing a label inside of a scroll container node with the autowrap property set to true, the label text is limited to one character wide. Turning autowrap off will fix this issue, but text may now exceed the desired width of the control, especially if the text is set via a script. Note that the scroll container can have horizontal scrolling enabled or disabled, the result is the same.
Minimal reproduction project:
ScrollContainerBug.zip

Try setting the Label's Min Size to the desired width.

This is not a bug, you need to enable Expand in horizontal size flags.


Basic readme setup for localization plugin

Adds basic docs/links for localization release https://github.com/mapbox/mapbox-plugins-android/issues/323
Related:
https://github.com/mapbox/android-docs/issues/321
https://github.com/mapbox/mapbox-android-demo/issues/629

Should be good to go here @cammace


Make /lib in deep import paths optional

Enables importing modules as import { Either } from 'fp-ts/Either' instead of 'fp-ts/lib/Either' while staying backward compatible. It publishes from /lib instead of the package root, copies and patches package.json to /lib, and copies all generated source files to /lib/lib to keep backward compatibility.
The changes are intended to be minimal, but one caveat is that npm-link also needs to run from the /lib directory to work, and that changes in the copied files (/lib/lib and /lib/package.json) won't be updated by using tsc watch mode.

Closing in favor of https://github.com/gcanti/fp-ts/issues/1053


WIP: konqueror: init at 18.08

Motivation for this change
It looks like konqueror isn't packaged?
NOTE: I need some help testing this. It doesn't seem to always have the correct DPI, and is missing icons, but that may just be because of other local changes or my DE/WM setup at the moment. (I'm changing things up and not sure Qt apps are working correctly right now).
So if someone else can test and let me know, that would be helpful.
Things done

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

[x] 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 nox --run "nox-review wip"
[sorta] 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)
[ ] Fits CONTRIBUTING.md.

Seems to be packaged here: https://github.com/NixOS/nixpkgs/blob/14f57b1e64d4a91d4acf147bec1c4b94606408a9/pkgs/applications/kde/srcs.nix#L1013

My issues were related to QT5 running under Sway.
This package seems to work fine. Can someone take a look? Thanks.


chore: update testing example to RC4

This updates the example to RC4

This is LGTM, only needing the setInterval stuff.


Bug

Omg please fix the bugs. The idea is so awesome 👍 ❤

send the errors your getting and ill fix them and make a pull request

Yeh... fixed now. 😂
I've been half sleeping whilst making it.


Added enzyme test for categories page

Wrote tests for categories page Closes #472

Please, fix code smells

Add Assignee


Fix 3D FFT

This PR will aim to fix the issues with 3D FFTs, right now, it just changes the FFT test to test the result of the forward fft, and this test fails.

@aboucaud @EiffL ,
This is ready to go
FFTs and IFFTs are compatible with pencilx XY and YZ slabs, and they are all compatible with cubes, and non-cubes.
Forward FFTs give back Z-pencils if the decomposition is pencils or XY slabs, and it gives Y-pencils for YZ slabs.


Add int64 type for data unmarshaled with UseNumber()

Hi, thank you for such great project, I really like it!
Just found a minor type issue when I was using this project along with json decoder which enabled UseNumber option, and the query results for operators >,<,>=,<= was not correct, this mr is an attempt to fix this, and it currently works in my use case.
Thank you for your great work!

Adding int64 is not a good solution here because it increases the number types and complexity. Please attach a code which you think does not work.

I was using json library from k8s.io/apimachinery/pkg/util/json which converts json numbers explicitly:
func Unmarshal(data []byte, v interface{}) error {
	switch v := v.(type) {
// ...
         case *interface{}:
		// Build a decoder from the given data
		decoder := json.NewDecoder(bytes.NewBuffer(data))
		// Preserve numbers, rather than casting to float64 automatically
		decoder.UseNumber()
		// Run the decode
		if err := decoder.Decode(v); err != nil {
			return err
		}
		// If the decode succeeds, post-process the map to convert json.Number objects to int64 or float64
		return convertInterfaceNumbers(v, 0)
// ...
}

func convertInterfaceNumbers(v *interface{}, depth int) error {
	var err error
	switch v2 := (*v).(type) {
	case json.Number:
		*v, err = convertNumber(v2)
	case map[string]interface{}:
		err = convertMapNumbers(v2, depth+1)
	case []interface{}:
		err = convertSliceNumbers(v2, depth+1)
	}
	return err
}

// convertNumber converts a json.Number to an int64 or float64, or returns an error
func convertNumber(n json.Number) (interface{}, error) {
	// Attempt to convert to an int64 first
	if i, err := n.Int64(); err == nil {
		return i, nil
	}
	// Return a float64 (default json.Decode() behavior)
	// An overflow will return an error
	return n.Float64()
}

Here is the code to reproduce the error
import (
        kubejson "k8s.io/apimachinery/pkg/util/json"
        "github.com/itchyny/gojq"
	"github.com/stretchr/testify/assert"
)

func Test_gojqError(t *testing.T) {
	const (
		input = `2`
	)

	var inputData interface{}
	err := kubejson.Unmarshal([]byte(input), inputData)
	assert.NoError(t, err)

	query, err := gojq.Parse(". > 1")
	assert.NoError(t, err)

	iter := query.Run(inputData)
	ret, ok := iter.Next()
	assert.True(t, ok)

	// will fail
	assert.True(t, ret.(bool))
}

And as to your performance concern, I believe the implementation of type switch is really efficient in go, and should not be a issue with so little types, so I did some benchmarks:
BenchmarkTypeSwitchWithInt64-16    	74681617	        14.5 ns/op (min 14.3ns/op)
BenchmarkTypeSwitchWithoutInt64-16    	72684529	        14.7 ns/op (min 13.7ns/op)

and the benchmark code:
func BenchmarkTypeSwitchWithInt64(b *testing.B) {
	var a interface{}

	a = int(1)
	for i := 0; i < b.N; i++ {
		switch b  := a.(type) {
		case int:
			a = int64(b)
		case int64:
			a = float64(b)
		case float64:
			a = int(b)
		}
	}
}

func BenchmarkTypeSwitchWithoutInt64(b *testing.B) {
	var a interface{}

	a = int(1)
	for i := 0; i < b.N; i++ {
		switch b  := a.(type) {
		case int:
			a = float64(b)
		case float64:
			a = int(b)
		}
	}
}

Your test case fails with json: Unmarshal(nil), seems kubejson.Unmarshal return some error. I don't concern the performance. Having both int and int64 looks weird. Note gojq uses UseNumber option and echo 2 | gojq '. > 1' emits true which is correct.

The test case fails due to missing & for inputData, copy paste error, following code should work
func Test_gojqError(t *testing.T) {
	const (
		input = `2`
	)

	var inputData interface{}
	err := kubejson.Unmarshal([]byte(input), &inputData)
	assert.NoError(t, err)

	query, err := gojq.Parse(". > 1")
	assert.NoError(t, err)

	iter := query.Run(inputData)
	ret, ok := iter.Next()
	assert.True(t, ok)

	// will fail
	assert.True(t, ret.(bool))
}

and as I said in the first line of the last comment, it was caused by: explicit json.Number conversion:
// convertNumber converts a json.Number to an int64 or float64, or returns an error
func convertNumber(n json.Number) (interface{}, error) {
	// Attempt to convert to an int64 first
	if i, err := n.Int64(); err == nil {
		return i, nil
	}
	// Return a float64 (default json.Decode() behavior)
	// An overflow will return an error
	return n.Float64()
}

looks like you have found a better way to address this issue, thank you!


GetSetCookieLength method is not parsing correctly when cookie has invalid keyvalue pair

Lets say set-cookie value is
cookiename=cookievalue; Version=1; Domain=.contoso.com; Path=/; Secure; HttpOnly";
Then it's not parsing to SetcookieHeaderValue in  SetcookieHeaderValue.TryParse is returning null.
Version =1 might not be valid as per the spec. But other non-windows servers are sending the cookie like that.
Expected Ignore Version =1 and fill remaining values in SetCookieHeaderValue.

Where are you getting cookies like this from?

From one of the dependent systems.

I think its java app don't know much details. we are consuming https endpoint int he response set-cookie it has version=1


Refs #13312 -- Removed unnecessary IF wrapping in MySQL nulls_last handling.

The MySQL ISNULL function already returns 0 and 1 booleans

Thanks Simon!

@pope1ni agreed, IS NULL would probably work as well but I didn't investigate it. Just wanted to avoid any breakages.

@pope1ni FWIW I assumed there was a good reason why we favoured ISNULL over IS NULL in https://github.com/django/django/pull/7563 but since it's evolution happened across multiple PRs it's hard to tell if it's the case.
I would assume IS NULL is also faster given it doesn't involve one (or two in the case of nulls_first) function calls.

@charettes So I suspect that the implementation was chosen based on this comment on the ticket. That links to a posting on the MySQL Forum from May 2008. I checked and IS NULL and IS NOT NULL were supported at least as far back as MySQL 5.0...
That same comment on the ticket refers to use of IS NULL for SQLite. So I suspect that the MySQL and SQLite implementations could be merged... 🤔


Support python3.6

Some users only have a python3.6 environment to run their application, but currently our client doesn't support python3.6 yet.
Let's support python3.6 on a specific branch.

Fixed.


Add simple time module

This adds a time module to Acton. It exposes a single function, time(x),
which returns the current time as an integer with nanosecond precision.
time(x) currently takes an argument, though its value is irrelevant.
It's a dummy. I tried to remove the argument but  that breaks the build
and I don't get why. Halp.
I'm not sure how we should design our time module. Like we can model it
directly on Python's time module or we can do something else...
something better!? It's low level enough that I'm not sure it matters
making it more Pythonic / Actonic.
There is a simple test of time.time(x).
Closes #18
TODO

[ ] remove argument from time.time()
[ ] sanity check the code by @nordlander or @sydow

@nordlander I need your help in understanding why removing the argument from time.time(x) doesn't work... Either I'm missing something or there's a bug somewhere.

I've now re-read my code. Maybe it's really reading it for the first time since the first time I blindly charged through trying to implement the functionality I needed. I now see that I have a completely unecessary float class. It makes sense for math, from which I copied the whole shebang, but not for my time module. So this needs to be cleaned up...

Spoke to @nordlander about it. The more I look at the code and the more I listen to Johan the more I realize how wrong this way. Closing. Will try to sort this out and push another attempt.


More translations to readme

Checklist / 检查清单

[X] No one has submitted a similar or identical feature request before. / 之前没有人提交过类似或相同的功能请求。
[X] This suggestion does not depart from the original intention of Easter Eggs. / 这个建议不会背离 Easter Eggs 的初衷。

Enhancement propose / 改进目的
Add More translations to readme
Solution / 解决方案
Add More of The translations to The readme
Additional info / 额外信息
No response

If you want to add README translations, you can submit a PR to participate in contributions.


KeyError

Hello,
I've installed Caldera Server on Ubuntu 19.04 and my caldera agent ist also running and connected.
But everytime I start an operation via the adversary plugin I get this error:
INFO:root:Bootstrapping rat with SYSTEM account
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp_session/init.py", line 152, in factory
response = await handler(request)
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 96, in impl
return await handler(request)
File "/home/ubuntu/.local/lib/python3.7/site-packages/aiohttp/web_urldispatcher.py", line 120, in handler_wrapper
result = await result
File "/home/ubuntu/Desktop/caldera/plugins/adversary/app/service/adversary_api.py", line 133, in rat_clients_checkin
await self.api_logic.save_rat(token.session_info['_id'], data)
File "/home/ubuntu/Desktop/caldera/plugins/adversary/app/service/api_logic.py", line 112, in save_rat
mode=active_rats[key]['params']['rat_mode'],
KeyError: 'params'
Any ideas how to fix this?

Hey, I've started looking into this and have pulled it into a larger patch that will be pushed out (hopefully) later this week or early next week.

I believe this issue is resolved. @khyberspache or @AngryOnigiri can either of you confirm?

@AngryOnigiri If the issue persists in the most recent version of Caldera, please let us know by re-opening this ticket or creating a new one. In the mean time, I'm closing this because it appears to have been resolved.


Update filter numerical range slider to user input fields

Screenshot

Description
The slider as a filter isn't an intuitive pattern and it's hard to set the filter values at a large value. Move to two input boxes instead (see below)
Design input

Should we support both, and make it an option when configuring "range" filters?

@kasiazjc @yousoph Beto also suggested something similar to what @rusackas is proposing above. What do you guys think?

🎉 Preset Bounty Available: $250 USD 🎉
To claim this bounty, please carefully follow the steps below.

📋 Steps to Participate

Review Guidelines:
Read through the Preset Bounty Program Contribution Guide for complete details on bounty requirements.

Show Your Interest:
Complete the Preset Bounty Program Survey and comment this issue to express your interest.

Join the Slack Channel:
After completing the survey, you’ll receive an invitation to the dedicated Apache Superset Slack channel.

Get Assigned:
To officially start, ensure a Bounty Program Manager has assigned you to this issue.

Submit Your Solution:
When ready, submit your solution with the Fixes #{issue_number} notation in your Pull Request description.

Claim Your Bounty:
Sign up at GitPay.me and submit your solution via: https://gitpay.me/#/task/1034

💡 Additional Notes

Only developers assigned by a Bounty Program Manager should start working on this issue to win the bounty.
Be sure to follow the guide closely to avoid any delays in payment. Please, allow a few days after your PR has been merged for the bounty to be released.

Good luck, and happy coding! 🎉

Hey @geido I am interested in taking this one

@geido can I take this?

Hey @geido , I want to work on this.......


Add github action

Add github action (Build and test)
Add github stale (Close old Issues and PR
Add github bot (Auto update github action to latest version)

Thanks for the input. I ended up just adding a simple workflow for testing, inspired by this.


Optimize the command line and fix typos

llvm 12 should be available in all current Linux repositories (at least Ubuntu 20.04.2 LTS is available.
Only compiling source-only can avoid make distrib failure due to network problems.

[x] The conflict between llvm 11 and 12 in the remaining classes.

The conflict between llvm11 and 12 is processed.

Thanks for such an excellent Fuzzing learning library, I will continue to learn and try to improve the following courses in the next few weeks.


How to use continiously?

I understand how to use the keras-rl framework in a limited train / test workflow as demonstrated in some of the samples.
But, how would one implement keras-rl in a scenario where one wants to deploy it into a real environment, where training starts from scratch and improves over time? Should I call "fit" and let in run for an episode and then persist the weights and then start over again? Or, how would the flow look like?

+1

In theory, yes, although I think you'd really want to pre-train this thing with historic data if you can. If your timesteps are say minutes, or even seconds, training live could take a pretty long time.  A lot of the benchmark programs that just do things like learn to play atari and whatnot can take hundreds of thousands or even millions of timesteps to reach their optimal policy.
Also, might want a different policy for running live vs training. Like you might want to just run a pure greedy policy live, but then have your training do something else, like epsilon-greedy or whatever so it doesn't get stuck learning a sub-optimal policy.
But yeah in general if you have a trained system, you'd just save the weights, then load them again when you're ready to use it live.

To give a little more context on the scenario. I want to use RL to control an air ventilation system with the goal of keeping air quality (as measured by CO2 level) at a reasonable level, while keeping energy cost down. Training data is not available, so it would need to train in production. The challenge as stated above is that it will take a long time to train and it will make lots of mistakes before it gets reasonably good at the job.

ok that might be doable, though I confess I haven't tried doing anything like this (i.e. training with purely live data) before, so definitely listen to others if they chime in here. I think you'd just need to use an off-policy algorithm, like DDPG or whatever as you may not be easily be able to break this into "episodes." The trick would be in getting your reward function defined correctly and maybe also set this up in a way that each snapshot can see a window of historic sequential data leading to the present since there may be a pretty big time delay between action and reward here.  The simple way is to put some time offset columns in your state (CO2 level now, one minute ago, two minutes ago, etc), or you can do something with recurrent neural nets / LSTM where you provide those past observations in a 3d array. I don't know the best way to set up your reward function off hand. You can go a couple different ways. Either everything's a penalty (i.e using electricity, exceeding CO2 threshold), or you can do something more complex. Either way, how you weight the cost of electricity vs CO2 levels will definitely play a role in the training speed, but the feedback loop with tweaking those might be too slow to be practical, so you'll probably just want to pick something reasonable and let it run.
I think one thing that could help with all this would be if you were able to pilot this idea in several buildings at once and do an asycn off policy method. Like A3C or D3PG/D4PG (which hopefully will be added to this repo soon). Then have each building be controlled by a different actor with some additional state variables involved about the overall system specs (system capacity, size of building, and maybe a one-hot vector to identify each building, etc.). That way you can have a critic that's learning a more general value function that informs the policy and hopefully it all could learn faster. I just don't know how ok it would be if this thing isn't working correctly in several buildings for a couple months while it learns.  You might need some backup system here, or have your environment force a fan on at some really poor CO2 threshold to ensure there's a backstop at least.

@olavt @M00NSH0T So, is there any possibility to train during a lot of time and obtain some weights, and then update those weights with more training?

Yes, I have updated the environments here to include a more realistic training in production scenario. https://github.com/olavt/gym_co2_ventilation.

@olavt Ok, so I think I do not understand the whole idea. When you fit() the second time after loading the weights, aren't you just overwriting the weights? Another thing is I don't understand the behavior of the memory in both the first and the second training.

@guillem74 No, the fit() method on the Agent does not overwrite the weights from a previous run. If you call fit(), save_weights() and then load_weights(), fit() it should continue the training from when you saved. I'm note sure how the memory of the agent should be preserved between runs. Maybe someone else could comment on that?

I was considering making a PR to build this into the keras-rl, its a small thing but makes training much easier.

@pathway Thanks, I have now added similar code to the test_keras_rl_continious.py example found here: https://github.com/olavt/gym_co2_ventilation

@olavt I updated my comment since it was first posted, it now reads the various buffers separately (see above).  As it was before, it was not loading the buffers.  I will make a PR when I have time.


Remove Verilator Warnings

The following changes were necessary to emit warning-free Verilator Verilog:

Remove ValidIfs. This pass replaces ValidIfs with their value, with the hopes of future simplification of Emitter.scala
Pad Widths. This pass pads/truncates assignments and expressions (e.g. mux inputs are the same width)
ConstProp case. This addition simplifies two cases: comparisons against zero, and comparisons against a value outside the range of a wire.
Memory ports are under same clock
Randomized values are bit-selected from (to eliminate corresponding Verilator warning)

This generates incorrect Verilog for the randomization code by behaviorally assigning to wires.  To generate a 1-bit random signal, it's emitting
wire [31:0] GEN_36;
reg [1:0] GEN_17;
...
GEN_36 = {1{$random}};
GEN_16 = GEN_36[0:0];

Haven't had time to do a CR, but I did verify rocket-chip passes.

Replaced by #164, I'm looking over the code but should merge soon.


Implement AsContextMut for call_async futures

This commit updates the Func::call_async and TypedFunc::call_async
functions to return futures that implement the AsContextMut trait.
Originally brought up as part of #2986 it was pointed out that once you
create a future from an async function in wasmtime you lose access to
the StoreContetMut that was passed in. While by design this is
somewhat unfortunate if you want to otherwise get access to it while the
future is not actually running.
This unfortunately requires changing the function signatures to no
longer use async. While not necessarily the end of the world it does
mean that the documentation might be a bit less readable. The larger
impact, however, is that the implementation of the future needs to be
significantly different. The input store is now threaded through
by-value which requires a few more generics in a few more places which
will end up monomorphizing more code to the user as well.
Overall this wasn't too too bad. The call_async function bottom out in
only a single future (one previous .await) where code is running on a
fiber. That code was already using a manually defined and implemented
future, so it wasn't moving heaven-and-earth to get that working.
The significantly more difficult part, which this PR does not implement,
was to change Instance::new. For now the new_async and
instantiate_async methods all continue to be async functions which
return a bland future that does not give access to the underlying
StoreContetMut closed over in the future. The reason for this is that
the implementation for those functions was significantly more
complicated and would require a great deal of unsafe due to
self-borrows of Pin types (hidden for us today through the usage of
async in Rust).
Overall I don't think this PR is in a great state, but I wanted to put
this out there. I'm not super happy about the inconsistency of some
futures implementing AsContextMut and others not implementing it. I
don't think there's a feasible route to implementing AsContextMut from
the futures returned by instantiation, due to how complicated the
internal logic is for instantiation. It's certainly possible that we
could implement AsContextMut and have manual trait impls, but I'm
not certain that the tradeoff is worth it.


Add slurm-gcp-v5-ubuntu2004 example to integration tests

Dependent on https://github.com/GoogleCloudPlatform/hpc-toolkit/pull/587 being merged. This will be rebased before submitting for review.

[x] Is unit test coverage still above 80%?
[x] Have you updated all applicable documentation?
[x] Have you followed the guidelines in our Contributing document?

Partially just because I could, and there was space to do so in that group, but also I like having a test that deploys 2 v5 clusters in the same group in parallel as a bit of a stress test. It seems to handle it pretty well actually!

Partially just because I could, and there was space to do so in that group, but also I like having a test that deploys 2 v5 clusters in the same group in parallel as a bit of a stress test. It seems to handle it pretty well actually!

I think the problem with parallel builds is that a failure in one will cause the other to pause rather than cleanup. Group 3 and 4 are examples of doing it linearly for this reason.

It won't let me make a comment in an unchanged section, but line 20 of the integration group 3 YAML file should be updated to include the new test in whatever dependency order we decide upon.

Unless there is a good reason not to, I believe that we should the current published image family: schedmd-v5-slurm-22-05-3-ubuntu-2004-lts

Fixed. I also ran another test, and it also fixed the issue with SMT core counts, so I reverted to using the default for disable_smt as well. Thanks for catching that!

Partially just because I could, and there was space to do so in that group, but also I like having a test that deploys 2 v5 clusters in the same group in parallel as a bit of a stress test. It seems to handle it pretty well actually!

I think the problem with parallel builds is that a failure in one will cause the other to pause rather than cleanup. Group 3 and 4 are examples of doing it linearly for this reason.

Good point. I changed it to sequential, if it takes too much time I'll also move one of the tests to another group.

Switching to sequential execution did take longer, so I moved the ubuntu image to group 4 instead (both ran at around 30min before, now are ~50min). I will need a follow-up review when you have time.


Update anka-run to 1.0_41

After making all changes to the cask:

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

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

This needs a couple of uninstall changes before it is merged.


Use intersphinx instead of explicit links

@arcondello,  this moves to .com version of RtDs, also adds draw_tiling function to RtD, and fixes some standing build errors ("...dwave_sampler.py:docstring of dwave.system.samplers.DWaveSampler.validate_anneal_schedule:19: WARNING: Unexpected indentation.")

@arcondello CI gives a "Endpoint URL and/or token not defined" not caused by my changes


TF Lite ---- Not a variable: Tensor("w1:0", shape=(1, 128, 128, 3), dtype=float32)

Environment:
tensorflow 1.8,ubuntu16.0.4,cuda9.0,cudnn:7.0.5
Test Demo:
def save_to_pb(sess):
constant_graph = graph_util.convert_variables_to_constants(sess, sess.graph_def, ['out'])
with tf.gfile.FastGFile(MODEL_DIR + 'expert-graph.pb', mode='wb') as f:
f.write(constant_graph.SerializeToString())
train_model():
img = tf.placeholder(name="img", dtype=tf.float32, shape=(1, 128, 128, 3))
b = tf.Variable(tf.truncated_normal((1, 128, 128, 3), seed=1),name='w1')
y_real = img + tf.constant([1., 2., 3.]) + tf.constant([1., 4., 4.])
val = tf.add(img, b)
val = batch_norm_lite(val)
out = tf.identity(val, name="out")

MSE = tf.reduce_mean(tf.square(y_real - out), name='mse')
train_step = tf.train.GradientDescentOptimizer(0.9).minimize(MSE)

saver = tf.train.Saver(var_list={'w1':b},max_to_keep=10)

os.environ["CUDA_VISIBLE_DEVICES"] = ''
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.1
config.gpu_options.allow_growth = True

with tf.Session() as sess:
    sess.run(tf.initialize_all_variables())
    for epoch in range(100):
        sess.run(train_step,feed_dict={img:read_data(sess)})
        if epoch % 20 == 0:
            save_path = saver.save(sess, MODEL_DIR + MODEL_NAME, global_step=epoch + 1)
        print('step = ' + str(epoch))
    save_to_pb(sess)

Terminal:
bazel-bin/tensorflow/python/tools/freeze_graph --input_graph=/path/to/expert-graph.pb --input_checkpoint=/path/to/model.ckpt --output_node_names=output --output_graph=/path/to/frozen.pb --input_binary=true
Error：
/home/leve/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2018-07-13 18:37:04.467417: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-07-13 18:37:04.579724: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-07-13 18:37:04.580044: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.7845
pciBusID: 0000:01:00.0
totalMemory: 5.93GiB freeMemory: 5.29GiB
2018-07-13 18:37:04.580057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2018-07-13 18:37:04.747082: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-07-13 18:37:04.747104: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2018-07-13 18:37:04.747109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2018-07-13 18:37:04.747225: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5066 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
Traceback (most recent call last):
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 382, in
run_main()
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 379, in run_main
app.run(main=my_main, argv=[sys.argv[0]] + unparsed)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 378, in
my_main = lambda unused_args: main(unused_args, flags)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 272, in main
flags.saved_model_tags, checkpoint_version)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 254, in freeze_graph
checkpoint_version=checkpoint_version)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/tools/freeze_graph.py", line 128, in freeze_graph_with_def_protos
var_list=var_list, write_version=checkpoint_version)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/training/saver.py", line 1338, in init
self.build()
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/training/saver.py", line 1347, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/training/saver.py", line 1384, in _build
build_save=build_save, build_restore=build_restore)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/training/saver.py", line 813, in _build_internal
saveables = self._ValidateAndSliceInputs(names_to_saveables)
File "/home/leve/tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph.runfiles/org_tensorflow/tensorflow/python/training/saver.py", line 714, in _ValidateAndSliceInputs
variable)
TypeError: names_to_saveables must be a dict mapping string names to Tensors/Variables. Not a variable: Tensor("w1:0", shape=(1, 128, 128, 3), dtype=float32)

Does anyone know about this problem?

@longchr123 : Can you used tf.saved_model to save the graph and tf_convert https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/lite/toco/g3doc/cmdline_examples.md#savedmodel
to convert it. It is available with latest version of Tensorflow

@longchr123 : Please reopen this issue, if you are still having trouble converting the model.


render power plants on state detail page

Once #51 comes in, we will have access to 3 lists of power plants: coal, gas and oil.
Following the wireframes, we'll want to iterate over this list and show a power plant icon for each one:
coal

gas

oil

Each one should also show the power plant name, county, utility and MW capacity. This could be done either by hovering or displaying the text below it. The ultimate effect we want is something like what we have in the wireframes:

@hkier want to take a stab at this one?

yes, thank you!

Crazy Passover/Easter weekend.  will work on it as I can.


feat: Add missing flags for "DOM-TOM" countries

Is your feature request related to a problem? Please describe.

We are going to use the Vitamin flags in the CubeInStore application and there are 5 flags missing.
Describe the solution you'd like

Below are the 5 flags to add with their associated ISO code.
Martinique -> Code ISO : MQ

Reunion -> Code ISO : RE

Guadeloupe -> Code ISO : GP

Guyane française -> Code ISO : GF

Nouvelle-Calédonie -> Code ISO : NC

Additional context

Hi ! Merged with this issue: https://github.com/Decathlon/vitamin-design/issues/35


Okta comms plan: Leadership Sign off

Problem statement
We want product/program leadership to sign off a final version of Communication plan.
What you need to know
[Links to documents, workflows, or list of key people and contact info]

Comm plan draft
Okta flow mural
...

Acceptance criteria

[ ] Communication plan signed off

To do

[x] Set up Communication plan sign off meeting
[x] Implement feedback
[x] Approve plan's final version

Approved by Mo on 8/31 in PO sync meeting.


XML feeds removed from NFL website?

In live.py there is a reference to the schedule in XML format on the following URL: http://www.nfl.com/liveupdate/scorestrip/ss.xml
Now when I try to update the schedule there is a XML issue, apparently because the XML is removed from the NFL website. Does anyone know if it is available on another URL? Is it possible to use data from NFL API instead?
I know this project is no longer maintained but if someone found a solution to this issue, please let me know.

Update: apparently the data is still there, but on another domain:
http://static.nfl.com/liveupdate/scorestrip/ss.xml

Hey, so all you did was change out the url from the live.py file? Did you have any other issues?

Yes, there was. I used this primarily for getting info about rosters and that didn't work at all so I had to give up on the whole thing unfortunately.

Yes, there was. I used this primarily for getting info about rosters and that didn't work at all so I had to give up on the whole thing unfortunately.

Unfortunately you can only use this to download historical Play by Play data now, the NFL appears to have ceased publishing the Play by Play statistics live.  If all you want to do is analyse complete seasons, this does appear to work, but until next season starts it won't be clear if 2020 will start being made available.

Unfortunately you can only use this to download historical Play by Play data now, the NFL appears to have ceased publishing the Play by Play statistics live.  If all you want to do is analyse complete seasons, this does appear to work, but until next season starts it won't be clear if 2020 will start being made available.


Move to component specific Design System JS files

Now that https://github.com/ONSdigital/design-system/pull/1798 is merged (pending release) we can look into dropping the whole JS bundle, and only using the code that is relevant to specific components. This should help with all the DOM readiness vs Svelte lifecycle / mounting issues we've had.

Closed by #105.


[FEATURE] Show host role promote status on UI

Is your feature request related to a problem? Please describe.

Show host role promote status on UI
related issue: #259
Describe the solution you'd like

*** Label  Role ***
control-plane means label node-role.kubernetes.io/master="true" is exist or label node-role.kubernetes.io/control-plane="true" is exist.
*** Promote Status ***
The value of annotation harvester.cattle.io/promote-status,
none means this annotation is not exist
*** Show Promote Status ***
Show on UI

Label  Role
Promote Status
Show Promote Status
Show Promote Status(ZH)

none
none
none
none

none
running
promoting
角色升级中

none
failed
promote failed
角色升级失败

none
unknown
promote halted
角色升级中断

none
complete
restarting
角色升级重启中

control-plane
none
none
none

control-plane
running
promoting
角色升级中

control-plane
failed
promote failed
角色升级失败

control-plane
unknown
promote halted
角色升级中断

control-plane
complete
promote complete
角色升级完成

Describe alternatives you've considered

Additional context

So sorry, may be promote complete should be promote completed @WuJun2016

promote complete => promote completed    (done)

Validation Scenarios

From 2 nodes, expand to 3 nodes and observe the state change of the compute node
Remove one of the control-planes from 4 nodes and observe the state of the compute node

The results are in accordance with the following table

Label  Role
Promote Status
Show Promote Status
Show Promote Status(ZH)
Validation

none
none
none
none
passed

none
running
promoting
角色升级中
passed

none
complete
restarting
角色升级重启中
passed

control-plane
none
none
none
passed

control-plane
running
promoting
角色升级中
passed

control-plane
complete
promote complete completed
角色升级完成
passed

Exception Scenario Verification

Use the command kubectl edit node harvester,Modify harvester.cattle.io/promote-status

Label  Role
Promote Status
Show Promote Status
Show Promote Status(ZH)
Validation

none
failed
promote failed
角色升级失败
passed

none
unknown
promote halted
角色升级中断
passed

control-plane
failed
promote failed
角色升级失败
passed

control-plane
unknown
promote halted
角色升级中断
passed


String overhead

Soo, this is something I wanted to discuss a long time ago, now that you have started working on #118, I think it's the right time. The client is currently using strings for arguments across the board. These strings are then converted to []byte and sent across the wire. Responses are received as byte streams and then converted (mostly) to strings again. This is quite inefficient if you are dealing with larger objects at higher frequency as it causes many allocations and therefore GC overhead. I was wondering if it would be sensible to implement most command methods using low-overhead []byte and then have MethodNameString/MethodNameValue accessors. Example:
func (c *commandable) Set(key, value []byte)
func (c *commandable) SetString(key, value string)
func (c *commandable) SetValue(key string, value interface{})

Alternatively:
func (c *commandable) SetBytes(key, value []byte)
func (c *commandable) Set(key, value string) // calls SetBytes internally
func (c *commandable) SetValue(key string, value interface{})  // calls SetBytes internally

I don't know how valuable this would be for everyone else, but it would make a huge difference for us.

I think strings usage in Set(key, value string) should not cause any additional allocations, because string can be appended to []byte without conversion, e.g.:
var data []byte
data = append(data, "string"...)

See https://github.com/go-redis/redis/blob/master/parser.go#L20 for details.
But if you have large []byte value and you want to pass it to go-redis then indeed there is an overhead, because you need to convert it to string. It is possible that https://github.com/go-redis/redis/pull/118 can help if:

we use unsafe to cast []byte -> string
we change args type from []string to []interface{} in appendArgs and all New[String|Int|...]Cmd methods

As for the API I think that default should be Set(key string, value []interface{}). We can consider adding SetBytes(key, value []byte) if benchmark shows it is considerably faster, but I wonder if you have a real use case for key []byte?

That API sounds good to me. Your'e right, there is no real use-case for key []byte but I would recommend using http://golang.org/pkg/bytes/#Buffer.WriteString instead of data = append(data, "string"...) to generate the socket message (or http://golang.org/pkg/bufio/#Writer.WriteString)


installation doesnot work

i am trying to install this packge using composer
steps :
1- open SSH
2- browse to specific folder
3- execute this  composer global require "acacha/adminlte-laravel-installer=~3.0"

Changed current directory to /root/.composer
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

Nothing to install or update

what i have to do ?
is there any missing steps ?

See the Readme please at https://github.com/acacha/adminlte-laravel section Installation an Use.

first step i did
3- execute this composer global require "acacha/adminlte-laravel-installer=~3.0"
and the result AS shown
then i tried to do this  laravel new laravel-with-admin-lte
but larvel is not defined

Hi @manhag,
It seems like you do not have laravel installed on your computer yet. Try installing it based on this page: https://laravel.com/docs/5.4/installation
Also, it seems like you were using root to create your projects. This is not recommended. You should use a regular user and not use sudo for the commands like laravel new my-project. Make sure to set the folder permissions if necessary.
Let us know if that works for you.
Good luck!

Ok @manhag now I see as @clebersa say it seems you don't have laravel installed (or may you installed it but have to configure path to bin laravel file)


Added Matrix4 pybind11 interface

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
This PR creates a Matrix4 Pybind11 interface
Require

https://github.com/ignitionrobotics/ign-math/pull/334

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1


Comments in analytics views

Hello,
this feature seems to work fine with powerbi, but I seem to be missing the ability to pull comments for work items. Any ideas ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 508bfe7d-16cf-7b44-53a7-26a9f9563be8
Version Independent ID: f365dd42-530f-e145-5dd3-28420237bc7b
Content: What are Analytics views? - Azure DevOps
Content Source: docs/report/powerbi/what-are-analytics-views.md
Product: devops
Technology: devops-analytics
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


[Feature] Introduce a bulk insert mode for dynamic bucket

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Remove bucket assigner node.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

I am interested in this task, please assign to me.

I am interested in this task, please assign to me.

Welcome, You can just create a pull request.

Is this feature available now？ i want to bulk insert to the dynamic table.  i have two question:
1.how to bulk insert .If according to the official example, if there are 100000 pieces of data, the write method will be called 100000 times ，Will this seriously affect efficiency?
2.if dynamic table execute “write.write(row)”.it will appears:"Can't extract bucket from row in dynamic bucket mode, you should use 'TableWrite.write(InternalRow row, int bucket)' method."
Can I successfully execute the write method without specifying a bucket

@JingsongLi @TaoZex


Access denied

I know this has bed discussed before, but i would like to know why this behaviour is different from installing a regular windows service using sc.exe or wix.
When installing with TopShelf i get access denied when starting and trying to connect to my local sqlserver with integrated security. I have to set service to run as the logged in user, or add the machineaccount to the SQL server.
Service runs as localsystem, and this is never an issue when installing a regular windows service.
I know this has bed discussed before, but i would like to know why this behaviour is different from installing a regular windows service using sc.exe or wix.

The reason explained here:
https://github.com/Topshelf/Topshelf/issues/466
wbr, Maxim Cherednik
On Thu, Aug 16, 2018 at 3:50 PM schh<EMAIL_ADDRESS>wrote:

I know this has bed discussed before, but i would like to know why this
behaviour is different from installing a regular windows service using
sc.exe or wix.
When installing with TopShelf i get access denied when starting and trying
to connect to my local sqlserver with integrated security. I have to set
service to run as the logged in user, or add the machineaccount to the SQL
server.
Service runs as localsystem, and this is never an issue when installing a
regular windows service.
I know this has bed discussed before, but i would like to know why this
behaviour is different from installing a regular windows service using
sc.exe or wix.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Topshelf/Topshelf/issues/466, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEA3gaiJpn3RsZdvCVeD1di8-npFBi-Nks5uRXiwgaJpZM4V_5cb
.

Did you find a solution?

No i did not, the linked issue in the reply was wrong.

@schh Sorry, here is the link: https://github.com/Topshelf/Topshelf/issues/461

Yes that is also wrong. My question is why i dont get access to domainresources like sqlserver as localsystem by default as i do when installing with sc.exe or wix. Topshelf seems to handle this differently somehow.
Even on my local machine i cant connect to my local sqlserver as localsystem. This always worked fine using our traditional windowsservices.

I am running into the same issue when running as service my app can't even create logs because its permissions are denied to the folder it is in.

@igloo15 under which account your service is installed and executed?

@maxcherednik both Local System and Local Service. When I run the application normally the log is created fine but not when its installed as a service.

@igloo15 when writing log, what is the path of the log file? When running as service, the current working directory of the service is %windir%\system32. You should always use/configure an absolute log file path.

I am closing all issues that haven't seen any activity. You're welcome to submit a PR to resolve the issue or provide more information.

for others my problem was that I had Registered the Service with:
SC Create "abc" binpath="c:\mystuff\myservice.exe"
configure.SetServiceName("bla");//error
configure.SetDisplayName("bla");//error because of "bla" string
that dis not work set it how you registered it:
configure.SetServiceName("abc");
configure.SetDisplayName("abc");
this worked for me
no need for
var myThread = new Thread(new ThreadStart(StartThread));
myThread.IsBackground = true;
myThread.Start();
public void StartThread{
while (true)
{
Thread.Sleep(1000);
}
}
maybe there is someone with the same idiotic problem I faced wasting too much time for things that could be done easily :)


fix bindForeignMethod() example

add() method is bound as static but bindForeignMethod responds to non-static

👍


Open Feedback: How are you using Mark?

I would love to get some feedback from anyone who has use mark. All comments, questions, concerns, anecdotes, stories, and rants are welcome!
Some starter questions:

Are you using mark? Why or why not?

What have you used it for?
How has it been helpful?

Did you have any trouble with mark?

What frustrated you?

Is there a task your trying do with an LLM currently?

Does mark help with this task?

What other LLM tools are you looking at?

Which have you tried? What did you think of them?

What is the single most important feature missing from mark?

Answer any question you want! It's not a survey, just looking for your thoughts.

Hi Ryan,
Kudos for mark - I have checked out and tried it, it's a nifty tool and I really like the workflow / UX, as I try to organize all my work in text files and this is a great fit (I don't have too much use for image generation right now). I keep all my LLM conversations in different files and can index / grep them to find them again if needed.
However, I do have very specific requirements (set of different LLMs, both local and company-internal with no OpenAI-compatible API, mixing conversational with tool and rag use cases), so I cannot use mark without major changes right now. I have done some adaptations locally, but I had to rip out and change too much so only the file structure and the name remains... and it's too bad code to contribute back right now :)
Still, mark is a great tool, thanks for your work!

Thanks @philScholl for responding and for the feedback. I really appreciate it. I agree that the workflow/UX is one of the chief benefits of this tool. I always feel that I have the LLM constantly at my fingertips.
I'd like to know more about your specific use cases and workflows. What specifically did you change to make it work for you? I definitely figured that being limited to OpenAI or OpenAI-compatible endpoints is going to be a deal breaker for a lot of people. So, I've been thinking about ways to expand this elegantly. I was planning on looking into Ollama support as a potential next step.
https://github.com/ollama/ollama
As it has an API that is fairly similar to OpenAI, I imagine there are plenty of client libraries available for it.
Thanks again for your response!

Mark has been a handy way to generate images.
Moving forward I'm going to see how good Mark is at extracting or generating tables from web sites, kind of doing AI web scraping without using those "free with premium options" subscriptionware tools like Kadoa, Bardeen, Browse AI, WebScraping.AI, ScrapeStorm and Anypicker.

Thanks for the reply @johnblommers
Let me know how it works for your use case. My scrapper logic is pretty basic but I have found it gets the job done for most things I throw at it.
The obvious limitation is it's not going to hand any auth or user session, so it wont read any content that requires a login 🤷
But I don't think most other web scrapping services will do that either though. Maybe you can correct me on that?

But I don't think most other web scrapping services will do that either though. Maybe you can correct me on that?

No web scrapers I've encountered have supported login/authentication, and frankly it's never been a use case of mine.

Right on. Actually, now that I think about it, browser plugin based scrapper will obviously be able to use your session. But yeah, those usually make it pretty awkward to do scrapping at a large scale.
Anyway, there is certainly room for improvement with the scraper so let me know if you run into any issues @johnblommers
Cheers!


Add working graffiti?

Adding graffiti to the inventory and apply to spray it out, it doesn't,there's only spray interface
I guess making this as decal will do it right?

I actually wanted to make this work but I don't know how I would. I am too inexperienced.
Something like using the engine to make a texture which contains the spray texture and then apply that texture in the world at wherever the user sprayed.
No clue how this will be implemented, though.


Chirp daily

Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download chirp-daily is error-free.
[x] brew cask style --fix chirp-daily left no offenses.

There are conflicts. You’re editing an old version of the cask.

Newer version with better URL versioning added in
https://github.com/caskroom/homebrew-versions/pull/2279


Disabling "All" and "Reset" buttons

Is your feature request related to a problem? Please describe.
It would be very nice to be able to remove the "all" and "reset" buttons.
Describe the solution you'd like
A parameter in the constructor to allow you to remove the "all" and "reset" buttons if desired. If removed, the "Accept" button should be the only one remaining and could be automatically centred to the bottom middle.
Describe alternatives you've considered
I have tried removing the text from the button (using "resetButtonText" and "allButtonText"), but it's still showing the buttons. Maybe giving an empty string ("") could disable it.
Additional context
I am using the widget as a tag selector while in the creation of elements for my app, and it makes no sense to have the "all" button, I wouldn't want the users to set all the tags to a new element, usually they should add only 2-3.

@guplem Thanks for the suggestion. I'll add the boolean parameter to hide All and Reset buttons. The new version of the package will be rolled out soon and make sure to read the documentation and Changelog.md before updating the package because the new version of the package will contain some breaking change related to  filter dialog theme.

@guplem I have added a controlButtons parameter in the widget and its type is List<ControlButtonType>.
ControlByttonType is an enum that consists All and Reset.
// Display 'All` button alongside `Apply` button
controlButtons: [ContolButtonType.All]

// Display 'Reset` button alongside `Apply` button
controlButtons: [ContolButtonType.Reset]

If you want to display all buttons (All, Reset, Apply) then don't use controlButtons parameter or pass null value.

@guplem New version is available on pub.dev. Let me know if you face any issue.

Thanks for the update!
It seems to work flawlessly, and it has many new features that will be highly appreciated!
The slightly new design is cool too, thank you for your time!