Fix Composition and collection error

Issue #189, #135
See PR #181

Coverage decreased (-0.3%) to 95.906% when pulling af58781a5bd76ebb3ba8777cce69f9ce854fbb09 on thangngoc89:master into f69adc38b4008ad3770dbbf4cd33d7c816ddc3d8 on lapwinglabs:master.


How to upload a file to a specific location?

Hi, Is there any format/syntax to upload a file to a location?
Reason:
I would be able to download a file from a location, is there anyway to upload a file to specific location, then what would be the options or any other params that I would need to pass/set?
Thanks in advance.

See #20 and the man page for curl.


More block aliases

I want the common cases to be covered if you type in a pattern for the "obvious" but underspecified name for a block.
water -> fluid.water.still
log -> log.oak
furnace -> furnace.stone.idle
etc.

Will be in 0.5.0 :)


Added block method that runs all backgrounded jobs immediately

any objection to renaming the method to in_foreground?
Backgrounded.in_foreground do
  # run jobs
end

Totally fine with me!


Fix fenced code block

Fixes the inconsistent code block on this page
Related issues (optional)
Fixes #2012

Thanks, @allejo!


DOC – Keybase Pages

On https://keybase.io/docs/kbp the TXT entry  is noted as:
_keybase_pages.example.com 300 TXT   "kbp=/keybase/private/yourname,kbpbot/my-site"

but with the quotes it is not working
_keybase_pages.example.com 300 TXT   kbp=/keybase/private/yourname,kbpbot/my-site

works perfect

Correction. I get not reliable results. See #17801

This differs among different DNS record UIs. The one with the quotes matches the output of dig command. Thanks for bringing it up; we'll clarify in the doc.

ok. thank you. I close the Issue. Feel free to reopen if you still need it for your track


[Persistance] Filters still won't restore in URL on initial request

I updated to latest version in order to test the restoring of filters. Filter Buttons work now as expected perfectly fine! Thank you for fixing this. I would have answered in the other issue, but it was closed and I guess this is the best way to cantact you?
I updated to the latest version and after some adjustments it seems to work fine in my project.
So I added the following to my controllers.json:
            "state": {
                "enabled": true,
                "fetch": "eager"
            }

I do see the controller to be executed:
kreyu--data-table-bundle--state #initialize
kreyu--data-table-bundle--state #connect

However URL remains without params when I come back to the datatable page, so persitence is read successfully all filters are there and work, but the URL is not overwritten, anything I can do to help to understand the issue?
Steps to reproduce (on my end)

Go to a page with a data table,
Apply a filter
Move to a different page
Go back to the table
See the filters applied again, but URL remains unchanged without params

Hey!

I would have answered in the https://github.com/Kreyu/data-table-bundle/issues/107, but it was closed and I guess this is the best way to cantact you?

I'm getting notifications even on closed issues, so you can comment on those as well, and I can reopen them if necessary 😄

However URL remains without params when I come back to the datatable page, so persitence is read successfully all filters are there and work, but the URL is not overwritten, anything I can do to help to understand the issue?

Are you using a custom theme that modifies the base kreyu_data_table block? The turbo-frame should contain a data-kreyu--data-table-bundle--state-url-parameters-value param with JSON-encoded URL parameters. Or maybe those are empty in your case?
https://github.com/Kreyu/data-table-bundle/blob/7cadde7b0d4a6206aff89733cc90a3d4e24a2ee5/src/Resources/views/themes/base.html.twig#L12-L16
The url_query_parameters variable should be accessible inside the view of your data table - you can check it by dumping the data_table.vars.url_query_parameters (assuming DataTableView you are passing to the view is named data_table). Its contents are generated in the base DataTableType:
https://github.com/Kreyu/data-table-bundle/blob/7cadde7b0d4a6206aff89733cc90a3d4e24a2ee5/src/Type/DataTableType.php#L396-L429

Thanks for the fast reply! <3

I'm getting notifications even on closed issues, so you can comment on those as well (if related, of course), and I can reopen them if necessary 😄
Sadly no, the comment button was disabled, so i couldn't put the reply there, else that would have been my choice, maybe it is some kind of setting to allow that specifically?

Are you using a custom theme
Yes I do, but I don't override those blocks and I checked my HTML and all necessary attributes are there. I debugged into the JS code and it seems that for some reason it can't read the this.urlQueryParametersValue however, the attribute itself has a string with the filters:

<turbo-frame id="kreyu_data_table_sales_note"
                       target="_top"
                       data-controller="kreyu--data-table-bundle--state"
                       data-kreyu--data-table-bundle--state-url-parameters-value="{"filter_sales_note":{"search":{"value":"Test"}},"page_sales_note":1,"limit_sales_note":25}"
                       >

So for some reason the conversion to an object seems not to work on my side, not really sure why, tho

Dammit, the HTML attribute is named ...url-parameters... instead of ...url-query-parameters..., I swear it somehow worked before I published a release 😅 Should be fixed in 0.21.1

Sadly no, the comment button was disabled, so i couldn't put the reply there, else that would have been my choice, maybe it is some kind of setting to allow that specifically?

Hmm, I've had multiple issues in this repo with people commenting on already closed issues, so I'm not sure. Although, thanks for the info

Dammit, the HTML attribute is named ...url-parameters... instead of ...url-query-parameters...

Oh, wow even I didn't see it, I debugged into it, I tried to adjust the json_encoded string to see if something changes, and I also checked that attribute, but because it's so long I also didn't realize there is a -query- missing in between - Good catch!

thanks for reporting the issue!
Thank you for taking a look and fixing it so fast, I updated it and now it works perfectly fine, for filters, pages and sorting, thank you so much <3

Hmm, I've had multiple issues in this repo with people commenting on already closed issues, so I'm not sure. Although, thanks for the info

Actually you are right, I am just plain dumb, the button was disabled, but it was because I didn't put any text into the box 🤦♂
I can't really tell why I didn't even realize there is the comment box, it was like it doesn't exist in that moment, kinda worrying.
So sorry that I created the new issue here for no reason in the end, next time I will stick to the existing issue 🤞😄
I will hit close and comment now, all looking good 👍Thanks again!


Log.html and Report.html not returning Data when executing for large test cases

Log.html and Report.html not returning Data when executing for large test cases
Keywords part of the test cases are not returned in log.html resulting in returning NaN data in report.html page
this is seen when executing large test cases.
Only the suite level data is returned in the log file. Test cases within the suite are not returned.
Version used: robotframework==3.2.2

Could you please clarify.

In the log generated, i am unable to see the test cases. Only data at test suite level are returned. Resulting in the report to give error data. The issue is not seen always.

Do you get any errors in javascript console or elsewhere?

I have not been able to reproduce the issue when running locally. The issue is seen when the tests are run via bamboo pipeline. There are no errors in logs.
Currently i have upgraded the RF version to 5.0 in Bamboo to see if its an issue with the old version and so far the issue has not reproduced after the upgrade. Will continue observing and will update, in case its back. Thanks


installer_type must be a kind of [String]

Currently struggling with the NTP cookbook on a Windows machine, on which chef 11.18.6 is currently installed. While running NTP cookbook, I got following error:
1437420344,,ui,message,    null: Chef::Exceptions::ValidationFailed
1437420344,,ui,message,    null: ----------------------------------
1437420344,,ui,message,    null: Option installer_type must be a kind of [String]!  You passed :custom.
1437420344,,ui,message,    null:
...
1437420344,,ui,message,    null: 36:  windows_package node['ntp']['vs_runtime_productname'] do
1437420344,,ui,message,    null: 37:    source         node['ntp']['vs_runtime_url']
1437420344,,ui,message,    null: 38:    options        '/q'
1437420344,,ui,message,    null: 39>>   installer_type :custom
1437420344,,ui,message,    null: 40:    action         :install
1437420344,,ui,message,    null: 41:    only_if        { node['kernel']['release'].to_f < 6 }
1437420344,,ui,message,    null: 42:  end
According to the documentation of windows_package https://docs.chef.io/resource_windows_package.html
installer_type can be ":msi". I am not sure that the NTP cookbook does use the windows_package from the windows cookbook, but, from the chef core.

According to the docs on both the windows cookbook and core chef this should be a symbol.  Are you running the latest windows cookbook?

@tas50 why not add version construct to your metadata.rb of required windows cookbook version?

I'll probably add that to the next version. An open ended dep was a bad idea

The metadata has been updated to require 1.38.0 or later, which should get us around the package changes.


Instancing relatively large Viewport Textures consistently causes frame drops.

Godot version:
v3.2.1
OS/device including version:
win10, gtx 1080, GLES3
Issue description:
Consistent freeze when instancing a scene with a ViewportTexture with a high resolution, despite the scene being preloaded.
I also noticed that during these frame drops, the Profiler registers it as being below the average frame rate during them, as if the profiler itself is also freezing.

Steps to reproduce:
create a scene with a 3d viewport, same as this demo project, set the Viewport size to something like 3500x3500 or higher.
Then create another scene where your previous scene is preloaded into it, and add a control or something to instance the scene into this scene at runtime in order to see the effect it has on framerate.
Minimal reproduction project:
I don't want to spend time on one right now in case this is not an issue but just a known limitation in Godot. So let me know and I will.

Most likely shaders compiling?

@Zireael07 do they have to compile for every instance? There's no way to preload them?

Nope, GLES 2 and 3 don't allow preloading shaders. There are some tricks, @BastiaanOlij I think showcased some, but IIRC they don't work for viewport textures...

Darn, guess this isn't a bug report as much as it is a performance issue, i could try and instance this 3d viewport scene from a thread and just have a delay before the instance appears rather than a stutter if that's possible.

This is a known issue. It makes dynamic resolution unfortunately not viable. It might be solvable in Vulkan though: https://github.com/godotengine/godot-proposals/issues/917


client: handles OAuthException

When you login with CERN OAuth and you go 'Back' it throughs an Internal Server Error
[2017-03-28 14:16:22 +0200] [13916] [ERROR] Error handling request /app/oauth/authorized/cern/?code=d73e90f281524c23970ee1a88987047a97999c979bcc41908e65d5fe229551e8&state=eyJhbGciOiJIUzI1NiIsImV4cCI6MTQ5MDcwMzY3MiwiaWF0IjoxNDkwNzAzMzcyfQ.eyJhcHAiOiJjZXJuIiwic2lkIjoiZDU4ODRmYjM0NDIxNWRiMjUwN2ViYzg3ZDNlZTFiZThiYjlhNzY0MDgyOTliY2M4ZThiYzIwOTM2ZGM5MTQzNTNiMDkzYjQ4Mjc3NjdiMzM4MzkyYzM1NDQxMTczNjY3MDNjYTc1ZmMyYzU4NjIzYzE2NmI0YjQ3ZGRkYTkwODAiLCJuZXh0IjoiLyJ9.jL4lLM5AFT2HQigFtIPuV1-1sOQ1RvqY4FSc_HvChYw
Traceback (most recent call last):
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
    self.handle_request(listener, req, client, addr)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1994, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/werkzeug/wsgi.py", line 659, in __call__
    return app(environ, start_response)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1994, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/pamfilos/.envs/cap/src/invenio-oauthclient/invenio_oauthclient/views/client.py", line 129, in authorized
    return current_oauthclient.handlers[remote_app]()
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask_oauthlib/client.py", line 698, in decorated
    data = self.authorized_response()
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask_oauthlib/client.py", line 677, in authorized_response
    data = self.handle_oauth2_response()
  File "/Users/pamfilos/.envs/cap/lib/python2.7/site-packages/flask_oauthlib/client.py", line 664, in handle_oauth2_response
    type='invalid_response', data=data
OAuthException: Invalid response from cern

catching the exception and redirecting to homepage fixes the issues

@lnielsen Can't catch it from here https://github.com/inveniosoftware/invenio-oauthclient/blob/master/invenio_oauthclient/handlers.py#L226

The error seems to be generated by Flask-Oauthlib
Can you put a breakpoint there and extract the request.header, request.data, request.code and paste it here. I'm interested in what is actually in the response from the remote side and why it is considered invalid.

So the issue when you go 'Back' exists because Flask-oauthlib needs the redirect_url (here), which doesn't exist as it is popped from here and it is None at that point.
When the redirect_url is missing CERN Oauth returns an {"error": "invalid_grant"} which can't be caught from oauth_error_handler
Also, @lnielsen @jirikuncar, how does this thing work for the Github contrib. Does it ever go here?


JavaScript Capstone

GitHub project
We are two members:

Student A: Jorge Abrahan
Student B: Edahi Gutierrez

Hi @jorgeabrahan and @edahigure,
✔ Status: APPROVED 🏆 🎉 🎊
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

All tasks are assigned 👍
Issue description is descriptive 📝

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Difficulty Taxonomy

It would be good to have a difficulty indicator for blog posts and definitions
Fields

Level (int): The difficulty level (i.e. 1)
Sessions (list): Which sessions you should have completed (i.e. [beginner, flare])

Overview page

Include difficulty level at top
Include concepts people should be aware of for this difficulty level (i.e. strings, variables, lists etc.)
List of recent posts in that language
List sessions that should have been completed

Is there a range for the difficulty? For instance, 1 is no coding required, and 10 is an advanced understanding of programming.

@b-smiley the current plan to start is 1-3, 1 being concepts in beginner, 2 concepts in scorch, 3 concepts in web dev. But any other suggestions are welcome


Jump Desktop no connection: protocol error 3

Hi guys,
I'm currently messing around with several RDP clients. I want at least one decent RDP client on iOS getting to work but as already reported, Parallels client doesn't work (at least not for me) and my favorite one, Jump Desktop, cannot connect at all.
I get an error message in the client stating "protocol error, error code = 3" for iOS and the same is for Jump Desktop on macOS.
The syslog just states:
Dec 28 02:11:56 eos xrdp[11893]: (11893)(140493878143104)[INFO ] A connection received from: <IP_ADDRESS> port 51007
Dec 28 02:11:56 eos xrdp[11893]: (11893)(140493878143104)[DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
Dec 28 02:11:56 eos xrdp[12319]: (12319)(140493878143104)[DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
Dec 28 02:11:56 eos xrdp[12319]: (12319)(140493878143104)[INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Dec 28 02:11:56 eos xrdp[12319]: (12319)(140493878143104)[INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Dec 28 02:11:56 eos xrdp[12319]: (12319)(140493878143104)[DEBUG] Security layer: requested 3, selected 1
and after pressing OK in the client:
Dec 28 02:12:36 eos xrdp[12319]: (12319)(140493878143104)[DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
Dec 28 02:12:36 eos xrdp[12319]: (12319)(140493878143104)[ERROR] Listening socket is in wrong state, terminating listener
Using iFreeRDP works but this client is really bad in performance and usablity...
Anything I can help with? I can test alot of thing if you want but I can't code (at least not more than a little perl scripting :-) )
Cheers
Markus

Try the current devel branch with this patch on top: https://github.com/neutrinolabs/xrdp/pull/588
Remove the existing certificates (/etc/xrdp/*.pem) to get then regenerated. Use --enable-painter --enable-rfxcodec --enable-jpeg to configure xrdp.
Try this patch as well:
https://github.com/speidy/xrdp/commit/d3cd4533d6bea468634b312767c8a779411c7029
Try using rdp security layer. Try different color depth. Try disabling audio forwarding.
I hope you would find an acceptable workaround and share it with us.

ok, I tried with the current devel branch of today where https://github.com/neutrinolabs/xrdp/pull/588 is already merged.
I also tried using speidy@d3cd453 but it did not work at all. I can't get Jump Desktop to connect.
Is there some extended debugging/logging where I could see how the protocol negotiation looks like?
Something like: client asking for protocol version x, offering y, agreed on z?
I think that would make debugging of different clients easier.
BTW I tried the original Microsoft RDP for iOS and could connect but I think it's not using remoteFX when connecting to xrdp. The videos are very slow and audio stutters...

Hi,
One issue i found here is related to TLS: Jump Desktop client sends the SNI extension for TLS in TLS handshake (Client Hello message), but they always send zero-length hostname in the list. OpenSSL 1.0.1 returns TLS Alert cotains 'decode error (50)' in response to Client Hello in that case.
there is a known issue with OpenSSL (at least 1.0.1) which doesn't accept zero-length host names in SNI extension.  linking xrdp against newer OpenSSL 1.1.0, seems to be fixing this issue.
I believe Jump Desktop just need to take care of empty hostnames in SNI hosts list (the right host name / IP address will work). Also, i don't know any RDP server that support multi-tenant right now.
Second issue i found is that xrdp drops the connection through the connection phase.
Jump Desktop got some Diagnostic Logs under "Help" menu. They say that something is wrong around the Client Security Exchange PDU.
That one requires further investigation.

Please try the following patch #615 .
Make sure you uncheck "Use Network Level Authentication" under Advanced in the connection settings.

I just tried #615 on top of todays devel branch. It's MUCH better now. Jump Desktop connects. Even Parallels iOS Client shows the desktop now. I still get no sound with both iOS clients and Jump Desktop seems not to use remoteFX as all videos are stuttering. In Parallels Desktop remoteFX seems to work fine, I have fluent video (although also without audio).

Cool, please check our wiki for audio redirection. It requires a manual
build for pulseaudio module on the server.
בתאריך יום ב׳, 9 בינו׳ 2017 ב-0:25 מאת macdanger<EMAIL_ADDRESS>
I just tried #615 https://github.com/neutrinolabs/xrdp/pull/615 on top
of todays devel branch. It's MUCH better now. Jump Desktop connects. Even
Parallels iOS Client shows the desktop now. I still get no sound with both
iOS clients and Jump Desktop seems not to use remoteFX as all videos are
stuttering. In Parallels Desktop remoteFX seems to work fine, I have fluent
video (although also without audio).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/issues/594#issuecomment-271184565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1Fs-0d-bT-Grrl2Um7xsFmKx9Ykwks5rQWJYgaJpZM4LWmpb
.

--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

I already have pulseaudio sinks working. They just don't work with Jump Desktop or Parallels Client.
Jump Desktop connects but plays destorted sound.
Parallels Client doesn't even connect when you check "play sound on this computer/device"
So this is another problem regarding incompatible audio encoding I guess...

@macdanger plesae have a look @ #608


boost word2vec service

Fixes image build (currently is broken) by removing pinned indirect dependencies
Reduces image size from

REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
vampolo/word2vec-service   latest              54832724a48b        20 months ago       706MB

to
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
vampolo/word2vec-service   latest              41e7727450bf        2 minutes ago       511MB

as well as the number of layers from 14 to 9

boost start up. Pull and load directly from url (also supports local files).

Now: 2:30 min to download and load the model and using 4.4GB memory

Before: around 2 min to download and 8 to load the model and 6GB mem
server_1  | 2019-08-20 05:35:58 (10.8 MB/s) - '/opt/data/GoogleNews-vectors-negative300.bin.gz' saved [1647046227/1647046227]
server_1  |
server_1  | + gunzip /opt/data/GoogleNews-vectors-negative300.bin.gz
server_1  | + exec python3 /app/main.py
server_1  | [2019-08-20 05:43:05 +0000] [1] [INFO] Goin' Fast @ http://<IP_ADDRESS>:8000
server_1  | [2019-08-20 05:43:05 +0000] [1] [INFO] Starting worker [1]

Thank you for this !


Validate vaccination record administered at date

This validates the administered_at column to ensure that it's always within the start and end date of the campaign. We need this to ensure that we're only recording vaccinations that are part of the campaign.

@thomasleese Just to understand, why do we validate the dates for VaccinationRecord in the model but for Session it's in the importer?

@thomasleese Just to understand, why do we validate the dates for VaccinationRecord in the model but for Session it's in the importer?

Effectively we have the same validation in two places. The validation in the importer is so we capture the problem at a higher level and show the errors to the user before trying to even create a VaccinationRecord. The validation in the model itself is to capture when we create vaccination records outside the importer, via the normal interface in the app, it's more of a last defence because I imagine the interface wouldn't even allow you to get to that page if the campaign is finished.


Add data import to readme

Answered in one of the issues hope this helps.

mind.nodeData = newData
mind.refresh()

I think we can import data in 2 steps


Potential incompatibility with Quilt?

I don't exactly know what this means, but it only happens when I try to load the mod with Quilt instead of Fabric

nevermind, I accidentally downloaded the forge version instead of the fabric version


avoid dtype warning + use pandas.Timestamp

@lmanul
Sorry I forgot to test after deleting the lat/long conversion to string; It worked + passed the tests for that first commit;

Thanks! LGTM :-)


Events not displaying on android device

Hi,
I use react-native-big-calendar version 3.4.1.
On android emulator and using android device whith Expo go everything ok

But on real android device ,using apk file , events not displaying.

I'm not sure why it happens, because this library does not depend on any native code. Posting React Native version here might help.


ES6 destructuring & ractive.data

Now that ractive.data is deprecated, this a step backward for ractive ES6 friendliness, as one can no longer use destructuring to read and write data to the ractive instance.
It also seems it's not possible to generate an object that can be destructured… I had high hopes for ractive.get('') but it seems to entirely ignore data passed in as properties on components:
import Ractive from 'ractive'

const child = Ractive.extend({
  template: '
{{name}}
{{#items}}{{.}}
{{/items}}',
  data: {
    items: [1,2,3]
  },
  oncomplete: function() {
    let getName = this.get('name')
    let {name, items} = this.get('')
    console.log('name:', name)
    console.log('getName:', getName)
    console.log('items:', items)
    // Output:
    // name: undefined
    // getName: test
    // items: [1, 2, 3, _ractive: Object]
  }
})

new Ractive({
  el: document.body,
  template: '<child name="{{name}}"></child>',
  components: {child},
  data: {
    name: 'test'
  }
})

I can't find the issue right now, but the plan is to include mappings (which includes non-static component attributes like name='{{name}}) and computations in this.get() (or this.get(''), so this would work:
let { name, items } = this.get();

You can still use destructuring to write data:
this.set({ name, items });

I've got a start for this on #1785. There are a couple of questions that need to be resolved:

Should a root get from the template also be inclusive of computations and mappings? My incliniation is yes:

{{JSON.stringify(.)}}

Should non-computed property computations (expressions) be included? They are in the computations hash, but is that cool or confusing? (Leaning towards later):

{
  "${JSON-stringify()}": "{\"foo\":\"foo\"}",
  "bar": "foobar",
  "foo": "foo"
}

Should a root get from the template also be inclusive of computations and mappings?

Vanilla data is easiest to rationalise. Including "rendered" computations means you need to be aware of any dependencies in the computation, e.g. consider this computation:
new Ractive({
  data: {
    users: [new ValidUser('alice'), new InvalidUser('bob')]
  },
  computed: {
    validUsers(): {
      return this.get('users').filter(isValidUser)
    }
  },
  oninit() {
    let { users, validUsers } = this.get();
    this.push('users', new ValidUser('kim'))
    console.log(validUsers.length) // 1
  }
}

Different story if computations are included as getters or functions.

Should non-computed property computations (expressions) be included?

No, seems like implementation detail and very tight coupling in the wrong direction.

@timoxley good points. Why don't we start with just mappings for 0.7 and see where things go from there.

Why don't we start with just mappings

:+1:

Oh, hang on, where does data that's passed in via attributes end up?

Those are the "mappings". We discovered a couple of issues we need to work through, see #1785.


insert nan as the values for missing nodes

When performing a mathematical operation on two graphframes, and a node is
contained in 1 graphframe but not another, the resulting value will also be
nan.
10 - 5 = 5
10 - nan = nan
nan / 3 = nan
Todo:

[x] update tests (based on discussion below)
[x] determine if nan should be its own color (external to the existing colormap)

Nodes that are missing will be assigned an NaN value, and pandas will handle the arithmetic. In the tree printout, nodes with a value of NaN will have its own color. If a node has a value of inf, the max metric value takes the second max value, since using inf to compute each node's proportion of the max introduces inf throughout. Nodes with an inf value will be colored the same as the highest proportion (red or green depending on the color map inversion).


In-Memory Engine: region stats manager.

What is changed and how it works?

Issue Number: ref #16141, ref #16417,  close #16507

What's Changed:
Add basic load eviction manager for in-memory engine.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[X] Unit test
[X] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/cc @tonyxuqqi @SpadeA-Tang

LGTM

/assign @tonyxuqqi

Ready for review.

BTW. after get_top_n_regions, we expect these regions in this collection will still be cached when evicting?

good point: not sure if it makes sense to remove after eviction, so for now we will
not remove it from here. in this case, if a region is still part or the topN regions after eviction we can re-load it back into memory provided there is room and eviction was due to a split.

/test

Addressed @tonyxuqqi's concerns, see changes to handle_top_regions().

/merge


Checkout button doesn't redirect to checkout page (pwacommerce pro)

Describe the bug
Checkout button doesn't redirect to checkout page
To Reproduce
Steps to reproduce the behavior:

Select product
Select variations
Click in checkout button
Redirect to homepage

Expected behavior
Redirect to ckeckout page
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: iPhone 6
OS: iOS11.4.1
Browser: Chrome / Safari
Version: / 69.0.3497.71

Wordpress: 4.9.8
woocommerce:  3.4.2 (Tested in 3.1 too)
Additional context
Jupiter Theme 6.1.5

Hey @Asarael
Can you check if the CHECKOUT_URL variable is set up correctly in the index file (view source)? This checkout url should be set up from the WooCommerce settings and the app should submit the cart contents to the WordPress main theme.

Tanks for the answer. The checkout url is set up correctly in WooCommerce.
This is the code in the file
$config = [
'API_CATEGORIES_URL' => $api_url . 'categories/',
'API_PRODUCTS_URL' => $api_url . 'products/',
'API_PRODUCT_URL' => $api_url . 'product/',
'API_REVIEWS_URL' => $api_url . 'reviews/',
'API_VARIATIONS_URL' => $api_url . 'product-variations/',
'API_CHECKOUT_URL' => $api_url . 'proceed-checkout/',
'CURRENCY' => get_woocommerce_currency_symbol(),
'SHOP_NAME' => $site_name,
'OFFLINE' => 'true',
];

@Asarael
What is the value of API_CHECKOUT_URL if you view the source of the index file in the browser?
It should be something like "http://{your_wordpress_installation_url}/wp-json/pwacommercepro/proceed-checkout". Can you check if that url exists (if you open it in a browser)?

Hi, the url exist. There is the value.
"API_CHECKOUT_URL":"https://valdov.com.mx/wp-json/pwacommercepro/proceed-checkout/","CURRENCY":"$","SHOP_NAME":"Valdov","OFFLINE":"true"}        }

Hey @Asarael ,
It looks the route is not registered (404 not found status). From the output:
{"code":"rest_no_route","message":"No se encontr\u00f3 la ruta que coincida con la URL y el m\u00e9todo de la petici\u00f3n","data":{"status":404}}
Does the message change if you activate the plugin?

Hey @anghelalexandra
The message doesn't change.
Checking with DevTools noticed  that.

could be the problem?

@Asarael
I'm not sure if this is the problem. Do other API routes work? Can you see products and categories in the app?
API routes are registered from the backend (WordPress plugin): https://github.com/appticles/wordpress-pwacommerce/blob/master/includes/class-pwacommerce-api.php. The path to the file is the same in the PRO version.
Can you check if the register_pwacommercepro_routes function is called? The routes will be registered only if you have entered a WooCommerce key and secret from the PWACommerce admin area, but it is weird if products and categories are working and checkout is not.

@anghelalexandra
The function is called, i can see products and categories. I have changed the WooCommerce key but not work.


deployment UI does not support multiple dns forwarders

The customer scripts support multiple forwarders but the UI only accepts one for now

Closing until we get feedback regarding this issue.


[SDK] Fix failed tasks being recovered by deploy plan

Resolves https://jira.mesosphere.com/browse/INFINITY-962
On scheduler restart, permanently failed tasks were incorrectly being picked up by the deployment plan which doesn't have the correct logic for dealing with permanent failures.

retest this please

retest this please


conflict with SoftwareSerial library

Hi. What correction should I make to compile arduino by including this library with: SoftwareSerial.h?
Thank you.
Hola. Que corrección debo hacer para que compile arduino al incluir esta librería con: SoftwareSerial.h?
Gracias.

compilation terminated.
exit status 1
PinChangeInt.h: No such file or directory
what should i do?


Use getAbsolutePath instead of getCanonicalPath in executeProtoc.

Using getCanonicalPath in executeProtoc has adverse effect in less
standard environments, such as Bazel compilation sandbox -- since
the file is on a path with a symlinked directory, getCanonicalPath
rewrites the path to one outside the sandbox. All the -I arguments
were still inside sandbox, and thus protoc failed with:
--proto_path (or -I).  You must specify a --proto_path which
encompasses this file.   Not sure I follow how SBT and Bazel interact in your use case - can you explain? Would it be possible for you to add a travis test for the scenario you are fixing (w, bazel etc)

Hi; for sure. TL;DR Our codebase is currently built mostly by sbt and we started facing some limits there (support for languages other than Scala, caching, ...) and are assessing transition to Bazel.
The current plan to use Bazel as a glue for the build process we'd like to  use Bazel's genrule to build our targets -- in this scenario, Bazel basically launches sbt in a sandbox to build a project and then uses artifacts. Later we might also adopt Bazel's rules_scala, but we're going the less disruptive way for now.
I can try to implement a test, but I'm not from the Scala/Travis world, so it might take a bit longer to patch up.
Btw, just out of curiosity -- what was the original motivation for using getCanonicalPath in executeProtoc (the rest of the code seems to use getAbsolutePath) ?

In the end, the trivial approach to reproduce the issue didn't work; there's probably more trickery than just a simple symlink and thus it might get more complicated to have Travis tests for this. I pushed a minimalistic repo reproducing the issue at https://github.com/emempi/bazel-sbt-protoc-issue ; bazel build //... should by default fail and regular build (or a Bazel build with the proposed patch) succeed.

@thesamet bump


Add PII data to endpoint

Also update spec from upstream crAPI.

@mgiamberardino Merging this since @ricekot has fixed your comment and we need this for demo setup. Please review again and leave if you have more comments.


FPS is slow even when cuda is enabled

FPS is slow even when cuda is enabled
environment
Ubuntu18.04.
$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
I tried to install DLIB with CUDA enabled using the following steps.
git clone https://github.com/davisking/dlib
python3 setup.py install --set CUDA_HOST_COMPILER=/usr/bin/gcc-6 --set USE_AVX_INSTRUCTIONS=yes --set DLIB_USE_CUDA=yes
However, despite CUDA being enabled, FPS is slow
I checked the GPU load on nvidia-smi, but there's no sign that dlib is using the GPU
dlib.DLIB_USE_CUDA was set to true.
What can I do?

Same isssue! I installed dlib with the same command and downloads the lasted release source code. We grateful for any help.

Neither of you said what you are doing with dlib or what parts of dlib you are using.  So no one can answer.  Maybe you aren't even using things that use CUDA.

Same issue here!
I install dlib as below:

Which would always work before.
And the model I use:

But now, the model is running super slow
Even though I try these following steps and still fail:

make sure my docker environment does recognize cuda:
print(dlib.cuda.get_num_devices())  ==>  1
print(dlib.DLIB_USE_CUDA) ==> False

force to enable cuda:
dlib.DLIB_USE_CUDA = True

make sure is the same version as I did work out before:
git checkout 579a41d5


iconTheme: null shouldn't show a warning

I have the following setting  "workbench.iconTheme": null,. It shows a warning but the doc-hover says to to null when no icons are desired.

Regression from https://github.com/Microsoft/vscode/commit/96168a883585cc02a44724c9ef69605ab778d67a
Thanks, @jrieken, for spotting this.


discord support?

is any support for discord now?

This is a duplicate of https://github.com/prometheus/alertmanager/issues/1365

This is a duplicate of https://github.com/prometheus/alertmanager/issues/1365

https://prometheus.io/docs/operating/integrations/#alertmanager-webhook-receiver

https://prometheus.io/docs/operating/integrations/#alertmanager-webhook-receiver


Fix vertical Stepper draws connector on the last step

fixes Vertical stepper shows line after last step
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Stepper(
            currentStep: 1,
            steps: const <Step>[
              Step(
                title: Text("Step 1"),
                content: Text("Content 1"),
              ),
              Step(
                title: Text("Step 2"),
                content: Text("Content 2"),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Before

After

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Can we include it in a next hotfix version? :)

Can we include it in a next hotfix version? :)

This would probably be available in the next stable.


tabbar

📝 Description
https://github.com/LedgerHQ/ledger-live/assets/112866305/ee5f7cf3-ff10-491b-bc21-4835852f10d8
❓ Context

JIRA or GitHub link:

✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.

[ ] npx changeset was attached.
[ ] Covered by automatic tests.
[ ] Impact of the changes:

...

🧐 Checklist for the PR Reviewers

[ ] The code aligns with the requirements described in the linked JIRA or GitHub issue.
[ ] The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
[ ] There are no undocumented trade-offs, technical debt, or maintainability issues.
[ ] The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
[ ] Any new dependencies have been justified and documented.
[ ] Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Louuuurddd


run cs

Q
A

Fixed Tickets

License
MIT

I cannot merge my own PRs @sstok you will have to help me here

Done :+1:


return OneHotArray on proper reshape?

Right now a reshape of a OneHotArray that preserves the first dimension doesn't return a OneHotArray:
julia> oh = onehotbatch(rand('a':'b', (3, 2)), 'a':'b')
2×3×2 OneHotArray(::Matrix{UInt32}) with eltype Bool:
[:, :, 1] =
 0  0  0
 1  1  1

[:, :, 2] =
 0  0  0
 1  1  1

julia> x = reshape(oh, 2, :)
2×6 reshape(OneHotArray(::Matrix{UInt32}), 2, 6) with eltype Bool:
 ⋅  ⋅  ⋅  ⋅  ⋅  ⋅
 1  1  1  1  1  1

julia> x isa Base.ReshapedArray
true

It would be convenient to return onehotarrays in that case, for convenience and  in order to avoid downstream such as
https://github.com/FluxML/Flux.jl/issues/2160.
If we want to do this we have two options:

give up type instability, and return a onehotarray only if the first dimension is preserved, and a reshaped array otherwise
error out on any reshape that doesn't preserve the first dimension.

I remember we already had a discussion on reshape somewhere, but maybe worth revisiting.

The discussion is at https://github.com/FluxML/Flux.jl/pull/1459.
Some arguments were made in favor of allowing arbitrary reshaping, so we went with the ReshapedArray thing. I wonder how problematic type instability would be instead.

The reshape there is implementing a particular multiplication, but looks like it could implement anything. A possible solution is to specify what it's doing at a higher level, and overload that operation for OneHotArray. Is this the right operation?
https://juliamath.github.io/TensorCore.jl/dev/#TensorCore.boxdot

Yes, \boxhot is the right operation. Dense does the same as well, again with the reshape trick
https://github.com/FluxML/Flux.jl/blob/7ae67a3d41d0cacbe616410087af3a60e50d95ec/src/layers/basic.jl#L175

OneHotArrays.jl already has a solution for this: to dispatch on OneHotLike. This keeps type stability and allows any code paths to be the same for real and properly reshaped one hot arrays. I don't think we should be returning a OneHotArray. A basic array package should try to be type-stable as much as possible.
I suspect the downstream issue is caused by an outdated Flux (<0.13.7) before https://github.com/FluxML/Flux.jl/pull/2084. Previously, Flux's Embedding dispatched on OneHotVector/OneHotMatrix directly which is not correct (it should use OneHotLike). After that PR, this does not even matter, because OneHotArrays.jl isn't even in the picture...just AbstractArray{Bool}. An up to date Flux would dispatch correctly as seen below.
julia> oh = Flux.onehotbatch(rand('a':'b', (3, 2)), 'a':'b')
2×3×2 OneHotArray(::Matrix{UInt32}) with eltype Bool:
[:, :, 1] =
 1  0  0
 0  1  1

[:, :, 2] =
 0  0  0
 1  1  1

julia> x = reshape(oh, 2, :)
2×6 reshape(OneHotArray(::Matrix{UInt32}), 2, 6) with eltype Bool:
 1  ⋅  ⋅  ⋅  ⋅  ⋅
 ⋅  1  1  1  1  1

julia> x isa AbstractMatrix{Bool}
true

julia> m = Embedding(2, 2)
Embedding(2 => 2)   # 4 parameters

julia> m(x)
2×6 Matrix{Float32}:
 -0.425469  -0.976092  -0.976092  -0.976092  -0.976092  -0.976092
  0.770382  -0.165354  -0.165354  -0.165354  -0.165354  -0.165354


Work with CSRF

Hi I made a package that uses laravel's auth and is compatible with october, so i could use passport and what im wondering is how can i put the csrf token in an axios request like how laravel does?
https://github.com/laravel/laravel/blob/master/resources/js/bootstrap.js#L23
Package: https://github.com/Teranode/october-laravel-auth-bridge

The session token is already being included with the initial data in our index.htm file, adding something like this in the main.js file should get you the rest of the way.
import axios from 'axios';

axios.interceptors.request.use((config) => {
    if (config.url.startsWith('/')) {
        return {
            ...config,
            headers: {
                ...config.headers,
                'X-CSRF-TOKEN': token,
            },
        };
    }

    return config;
});

This will include the token on all local requests, and we should probably include an initializer out of the box to handle data included on the initial page load. I'll try to get the implemented in the next few days.


[not error] Task code list

example ignored list example in .env:
IGNORE_TASKS=["telegram", "wallet"]
Task code list:
Follow channel (TG) - telegram
Follow twitter - twitter
Invite 10 friends - invite
Connect wallet - wallet

Tweet about PAWS - linked

A person who only steals others’ software is unlikely to be of any help to you. My advice: don’t use this software, as no one knows what hidden elements it might contain.
Reliable repositories are available on GitHub from trusted developers who can always provide support.

One falls, one rises - paragraph
Put 🐾 in your name - emojiName
Repost PAWS tweet - daily
Join Blum Channel - blum
Boost PAWS channel - boost

Join Tomarket Channel - custom
Join X Empire Channel - custom
Go vote - vote
Vote for a winner - voteup
Vote for a loser - votedown
Mystery Quest - mystery


(PUP-7600) LDAP Terminus gives a deprecation warning

After this update, the LDAP Terminus will report with a Puppet.deprecation_warning when instantiated.

set my node_terminus to ldap in puppet.conf, then tried puppet apply, successfully got the deprecation warning:
bundle exec ./bin/puppet apply tmp/manifest.pp --noop --verbose
Warning: Puppet::Indirector::Ldap is deprecated and will be removed in a future release of Puppet.
   (location: /Users/jtappa/Documents/puppet/lib/puppet/indirector/ldap.rb:7:in `initialize')
Warning: Retrying LDAP connection
Error: Could not run: LDAP Search failed

CLA signed by all contributors.


[FLINK-19091][python] Introduce expression DSL for Python Table API

What is the purpose of the change
This pull request introduces expression DSL for Python Table API
Brief change log

Introduce class Expression class which defines functions on an expression
Introduce module expressions which contains a series of utility functions to create an expression

Verifying this change
This change added tests and can be verified as follows:

Added test_expression.py

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (No, I'll add doc in another PR as this PR is already very huge)

@dianfu Thanks a lot  for the PR.  It looks good overall. I have one question whether it is necessary for Pyflink to support all methods to align Java methods. For example, Python provides a way of operator overloading, I think overloading == is enough, we don't need to support is_equal. What do you think?

@HuangXingBo Thanks for the comments. I think you raised a very good point. Removing the methods which could be covered by existing built-in Python methods seems fair enough for me as the built-in methods are more Pythonic. I have updated the PR and removed these kinds of methods.

@WeiZhong94 Thanks a lot for the review. Updated the PR. Could you take a further look at of the PR?


Add notebooks to show how to run active learning cycle

Codecov Report

Merging #34 (8dd9eb0) into main (5ca9d23) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   91.79%   91.79%
=======================================
  Files          26       26
  Lines        1768     1768
=======================================
  Hits         1623     1623
  Misses        145      145

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


Publishing work flow, disclaimer, and code commenting

Upgraded the workflow to publish to pypi as well as git packages. Also commented / inserted disclaimer into the codebase. Renamed the git packages name for standard naming.

Resolves #21 and #22


Disable globalDNS collection/resourceMethods

As Global DNS would only work on the setups with local cluster present, we should disable collection/resource methods on the setups with no local cluster.
@kinarashah lets make sure UI hides the corresponding tabs when the collection/resource methods are removed.

Tested with latest build from master - Mar 7 - 6d41993c
Single node install using the following command
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:master

Using this rancher server instance , able to still see GDNS provider and entries under tools .
Also able to create a Gdns provider entry.

Rancher server logs:
2019/03/08 04:20:29 [INFO] Rancher version 6d41993c is starting
2019/03/08 04:20:29 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:auto Embedded:false KubeConfig: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false NoCACerts:false ListenConfig:<nil> AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0}

root@sangee-testserver:~# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
rancher/rancher     master              b4e18ff93fa1        7 hours ago         493MB

https://github.com/rancher/rancher/issues/17558

Tested with latest build from master.
On a single install node , UI does not present Global DNS provider/entries options under "Tools".
Not able to access Global DNS provider/entries using API.
https://<ip>/v3/globalDnses/
https://<ip>/v3/globalDnsProviders/
"message": "Method GET not supported",
"status": 405,```


Differences in the How to for Visual Studio Pro

In Visual Studio 2019 Professional, some details in the steps are slightly different:

To create an MFC dialog based application, choose MFC App as the project type, not the Wizard. The Wizard creates a Window based application. The easiest way to find this project type is to search for "MFC". Then only one project type is found as a desktop application which is the right one to select. Also, for that project type don't hesitate pressing the Create button. It will not yet create the project but will pop up a project configuration dialog in which one can configure the application type, for example a dialog based one.
The configuration for Common Language Runtime support, \clr, can be found at the project properties under "Configuration Properties / Advanced / Common Language Runtime Support".
In step 5, the include line has to be inserted into framework.h, not Stdafx.h.

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

ID: b6b9db41-a73f-73a3-fd0e-f4b756f38eb2
Version Independent ID: 0970feb1-0b72-48c3-f5a0-fd568df9e36a
Content: How to: Create the User Control and Host in a Dialog Box
Content Source: docs/dotnet/how-to-create-the-user-control-and-host-in-a-dialog-box.md
Product: visual-cpp
Technology: cpp-cli
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@gha2z, thank you for taking the time to write. The docs should generally target the latest version of Visual Studio. So, we wouldn't target them for 2019, but when resources allow, they should reflect the latest version of VS (2022, currently). Adding to the backlog.

Closing as part of backlog grooming. We have accrued more issues than our resources can manage.
Criteria for closing include severity of the issue, how broadly applicable it is, whether the issue enough information is provide to act on the issue, etc.
If you think this issue should not have been closed, reopen it with a comment explaining why.


[Feature Request] Player search/Player pages

Implement a way to view what decks a particular player plays (probably just by name). Functionality borrowed from mtggoldfish
(see here and click on a player's name in the sidebar)

TODO: add route get_players that takes player_name and player_id, gives players matching either

moving this issue to rewrite, already have the backend route implemented for profiles; probably not doing any work to identify entries without profile (just not feasible)


Bug in combination of TimeDistributed with LSTM with param consume_less='cpu'

Please make sure that the boxes below are checked before you submit your issue. Thank you!

[X ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ X] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[X ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hello,
I encountered a problem, which I guess is a Bug. I do combine TimeDistributed with LSTM and run into a broadcast problem when I use the LSTM with parameter consume_less='cpu' :
ValueError: operands could not be broadcast together with shapes (50,64) (100,64) (50,64)
Using the LSTM with parameter consume_less='gpu' works.
Code in Github(link):
from keras.models import Model
from keras.utils import np_utils
from keras.layers import Dense, Embedding, Input, TimeDistributed, LSTM,  \
    Activation
import numpy as np

def main():
    DATA_SIZE = 1000
    BATCH_SIZE = 100
    WORD_COUNT = 20
    WORD_LENGTH = 10
    CHAR_VOCAB_SIZE = 50
    NB_CLASSES = 5
    CONSUME_LESS = 'cpu'

    X = np.random.randint(CHAR_VOCAB_SIZE, size=(DATA_SIZE, WORD_COUNT, WORD_LENGTH))
    Y = np.random.randint(NB_CLASSES, size=DATA_SIZE)
    Y = np_utils.to_categorical(Y, NB_CLASSES)

    input = Input(batch_shape=(BATCH_SIZE,WORD_COUNT, WORD_LENGTH, ),
                  dtype='int32')
    embedded = TimeDistributed(Embedding(CHAR_VOCAB_SIZE, 128,
                                         input_length=WORD_COUNT))(input)
    char_lstm = TimeDistributed(LSTM(64, consume_less=CONSUME_LESS))(embedded)
    lstm = LSTM(64,consume_less=CONSUME_LESS)(char_lstm)
    dense = Dense(NB_CLASSES, activation='sigmoid')(lstm)
    output = Activation('softmax')(dense)
    model = Model(input=input, output=output)
    model.compile(loss='categorical_crossentropy', optimizer='adam',
                  metrics=['accuracy'])
    model.fit(X, Y, batch_size=BATCH_SIZE, nb_epoch=5)

if __name__ == "__main__":
    main()


[cleanup] Cleanup sonarlint issues

Hi @hazendaz,
great thank you! I'll look to it and merge it.
Greetings
Stefan

@ste-gr Wow wasn't expecting so fast here given couple years since repo updated.  I'm looking to get a cut of this working on jakarta namespace.  I'm using this over in https://github.com/hazendaz/displaytag/ that I just rolled out jakarta support officially but the site cannot work yet as this project is still javax.  Was trying to just hard-fork it but thought I'd give it a shot sending a PR with general updates first.  Given you are available here, I'll try to get some more updates in general on javax namespace in coming weeks.  I'm in no real rush so it may be a while but think it will eventually be worthwhile.  Not sure if you have had to deal with jakarta namespace yet but typically what I've been doing is getting as up to date as possible on projects then cutting support branches to rename 'javax' (with unlikely releases at that point) then letting the main go to jakarta.  Anyway its encouraging to see such a quick response so I may not hard fork after all unless you want to keep this just javax.

Hi @hazendaz,
nice to surprise you 😄. Your project looks very interesting too.
I'm also updating this project for the jakarta namespace to document the struts1 project. This is the last part, the documentation 😃.
Currently I'm working on updating tlddoc (dependency of this project) to also handle JakartaEE 9+ tld files (it's done) and do some modernization. I think I will be done with it in the near future. And then I will update this project. But any support is appreciated and welcome.
Greetings
Stefan


joystick lib?

Hello,
pls tell me, which joystick lib are you using for your project?
Thanks!

Maybe this one?
https://github.com/MHeironimus/ArduinoJoystickLibrary


Add Low Power Cluster

Problem
We do not have low power cluster which is needed for Chip to put TV into sleep state
Summary of Changes
This is boilerplate code. There will be follow up with logic update of the cluster.

Added low power cluster.xml file
Added low power server.cpp file
Updated example chip-tool so you can use low power cluster
Updated example tv-app so you can use it a TV server for low power cluster
Updated all-cluster-app  so you can use it a server for low power cluster

Documentation

You can see the content launch cluster specification in this URL

Test

Tested locally using chip-tool client and newly created tv-server
Used the ./scripts/tools/zap_regen_all.py  and ./gn_build.sh  to verify the building is successful

@lazarkov needs merge

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@lazarkov can you take a look at merge conflicts, as well as sign the CLA? Thank you!

@lazarkov can you take a look at merge conflicts, as well as sign the CLA? Thank you!

Hi @woody-apple I've pushed rebased commit to origin now.


chat

https://github.com/AwesomestCode/mineflayer-web-test/blob/main/chat.js but doesn't work by default, needs fixing
@circuit10 @AwesomestCode

Do you mean that the chat system doesn't work by default or something else?

yes

Will do.

now there, but it's ugly, would be best to make it less ugly

Could you please attach a screenshot showing which parts are ugly?

html horizontal and vertical scrollers
chat stays displayed when not chatting
font too big ?

nothing urgent though ;)

Not supposed to look like that. I'm bad at UX design, but not that bad. Did you copy over the fonts and other assets from the MineWeb repo?

Good enough for now


String var containing time, not displayed correctly

This pull request is not fully fix #106, but just to indicate problems which was discovered during the debugging.

Thx. This approach makes sense, but there should be a more direct way to get at the the value as a string. I'd need to refresh my memory a bit more on Newtonsoft.Json, but have you tried this method?
http://www.newtonsoft.com/json/help/html/M_Newtonsoft_Json_Linq_JToken_Value__1.htm

This method just convert Value property to appropriate type.

Have you gotten a chance to update this in response to https://github.com/Microsoft/nodejstools/issues/106#issuecomment-138608332?

Sorry forget completely about that. Will take a look on the option provided.

Would love to get this fix in, but closing because we haven't heard back in a while. If the proposed methods aren't working, then let us know and we can revisit the less "elegant" solution :smiley:


Add inputmode to HtmlTag

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode is missing from the types, though transpiling fine. This is a small type patch.

Can you add (string & {}) as an option too? This way auto complete still works while also allowing any string to work.

thanks!


Merge with existing variables (instead of clobber)

Currently, if --extra-vars=filename is used with job launch , any existing extra-vars defined in the job template are ignored and only the ones defined in the file are used. This makes it very hard to automate answering surveys via tower-cli (e.g. filling in a variable).
I think merging together the 2 sets of extra-vars is more expected behaviour and allows more use-cases to work.

@tomfotherby this is a behavior of the Tower API endpoints, not of tower-cli.  Can you confirm which version of Tower you are using?

@tomfotherby Thanks for the contribution. This functionality has been on our radar, and I've been working on a fix for it. Using the syntax in this PR of directly referencing data['extra_vars'] will create issues with other common scenarios. The needed behavior will also change with the Tower release cycle. Very soon, I intend to submit another PR which will cover all of these relevant cases.
Your feedback valuable information, and we will make sure to have it merge the variables as you would logically expect.

@AlanCoding - Thanks for the info. I'll close this PR then. The minor change I made solves my use case , but I totally agree more things should be considered. (I never used python before so couldn't really contribute more than this hack)
@jlaska - I'm running Ansible Tower 2.2.0, Tower CLI 2.1.1 . The problem I'm trying having is that the Tower job uses a "survey" to ask the user for a particular variable. Since tower-cli doesn't have this, I need to pass a extra-var in the job launch which effectively provides the answer to the survey. It would work fine except the other variables configuered in Tower get lost. The hack in this PR fixes this issue. See https://github.com/ansible/tower-cli/issues/39#issuecomment-141939811 for more info.

@tomfotherby thanks for the extra details.  Sounds like we're all working in the same space.  A upcoming PR on tower-cli from @AlanCoding should help with this.  In addition, an upcoming Tower release will alter the handling of extra_vars in the manner you'd expect.  More detail on that later.

Sorry, this is a bit late in the game, but I just noticed a older issue that is a duplicate of this one: #44.

@tomfotherby thanks for the issue link.  Yup, that looks awfully similar.  @AlanCoding when your PR lands, can you include a comment that closes #44 ?

Might as well close #43 with your new PR also


0.9.10

Description
In this release HiveMQ replaces VerneMQ, a simulator for OPC/UA has been added, along with an internet-facing API to connect to factoryinsight, and the possiblity to split custom tags in Grafana.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?

[x] Installing a new instance
[x] Upgrading an old instance
[x] Complete data workflow

Checklist:

[x] I have made corresponding changes to the documentation
[x] I have made corresponding changes to the changelog (if needed).
[x] I have made corresponding notices to the upgrade instructions (if needed)

Changelog changes
Features

HiveMQ instead of VerneMQ
OPC/UA simulator
tulip-connector API
Multiple custom tag splitting in Grafana

Chores

Upgraded various dependencies

Upgrade instructions
Here

Ready to merge 🚀
@Scarjit @JeremyTheocharis

WIP


Fix HASWELL capitalization in kernel cmake file

Refs #951
Thanks to @martin-frbg for pointing out the bug.

Apparently this was merged into master, not develop. Do you want me to make another pull request for develop?


How to change the attributes of a variable that can be trained or not ？

First, a model was obtained from the trainable variables. Then I needed to change the trainable variable to an untrainable variable and continue training.
Have any idea may be help? please help.Thanks

@zxqchat: Check here

yeah .I have view this page before ,but I need to change some trainable variables ,not all and not little. Have any efficient way to implement?

Nagging Assignee @skye: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


[DO NOT MERGE] First attempt and spike on using pundit gem for authorisations

We wanted to use this gem because it allows us to format authorisation
levels in policies objects, which might be an improvement on readability
of permission rules.
This commit replaces the original "permitted?" method used in DocumentController with Pundit code.
Another benefit is that we are moving away from using the "helper methods" in application controller (#formats_user_can_access) and it helps clean up the code some more.

This is looking encouraging...


FYI....for your information,   my bad


The Navbar is being displayed twice

Description
The Navbar is being displayed twice
Relevant files
index.html
Screenshot

I am willing to work on this

I am willing to work on this

sorry bro.... already someone is working on it, he showed me, so you can try some other issue