Dual energy fix

Pressure Calculation:
When using Dual Energy, each time the pressure is computed I apply condition from Bryan+2013 eq 44 to select the internal energy from which the pressure is computed. This was added to the following functions:

All cuda reconstructions: PLMP, PLMC, PPMP and PPMC
All cuda Riemann solvers: HLLC, ROE and EXACT
When adding the term p_div(v) to the advected internal energy update. ( Not applied on the half step update when using VL, We decided not to add the p_div(V) term for the half update, but I didn't change the implementation here )

Internal Energy Synchronization:
Now, there are two steps for the Internal Energy Synchronization:
-First I select wich internal energy to keep by applying the condition from Bryan+2013 eq 45 and write the selected internal energy ONLY to the GasEnergy array. This is because the condition for the Internal Energy selection depends on the neighboring values of the total energy, in order to avoid mixing updated and non-updated values of the total energy, the total energy is updated using the chosen internal energy in a separate kernel.
modified kernels: Select_Internal_Energy_3D   and  Sync_Energies_3D
I only applied this to the 3D versions, 2D and 1D use the original criteria for Dual Energy condition.
Aditional term for Advected Internal Energy:
The Advected Internal Energy is updated using an additional term: p_div(V), originally this term was computed and added on the Update_Conserved_Variables_3D kernel, the problem was that the value of div(V) was computed using the velocities on the conserved array and at the same time the conserved_array was being updated by the same kernel leading to mixing of updated and non-updated values of V for computing div(V). The solution was to add the term p_div(v) in a separate kernel ( Partial_Update_Advected_Internal_Energy_3D ) before the Update_Conserved_3D kernel.
Only implemented for 3D. Another possibility is to use the reconstructed velocities to compute div(V)
Ghost Cells in PPMP:
For PPMP ( and PPMC ) n_ghost=4, 2 ghost cells on each side. The PPMP kernel is ignoring the first 3 cells and the last 3 cells on each direction, I changed the kernel so that it only ignores the first 2 and last 2 ghost cells, On this implementation FLATTENING is not allowed since it requires 3 ghost cells on each side.

OK, you're right,  n_ghost is for each side.
The issue I had was that when using PPMP ignoring 3 ghost cells I got wrong results (surprisingly mass wasn't conserved ) and I fixed it by only ignoring 2 ghost cells ( same as PPMC ).  Perhaps some more tests are needed for that.

Hmmm yeah that's weird. Do you get mass conservation with PPMC? If so, I will merge in the pull request as you wrote it and just note that currently shock flattening in PPMP is disabled.

Yes, mass was conserved with all the other reconstruction methods except for PPMP.
That simple change fixed it and now I get the correct result.

Okay, I'll look into that. As currently written, it seems like all the reconstruction methods require one more ghost cell than is necessary, but it might be because of the centered-difference in the slope reconstruction.


WIP: Add compat for Spin's Auth Pattern

Would love your thoughts on how to best architect this, currently testing rn.

IIRC I this one pretty straightforward following these docs. We're not bothering with the refresh token and just request a new token every time. Is that bad?
Probably not helpful, but here's where we do auth stuff in our code that actually gets mds data:
https://github.com/cityofaustin/transportation-dockless-processing/blob/77965ad424d6382149c0fbdca8a4be0f4d788821/get_data.py#L197

Ah I see y'all are mixing in classes for provider-specific auth. Cool. That's more transparent than what we're doing, which is putting the auth params in a secrets.py config. Because these are just flavors of oauth with slightly different payload params, our approach is less fuss handling the provider nuances, but it's also hidden because it's in a secret config.

Maybe refactor OAuthClientCredentialsAuth to handle an arbitrary payload, and define the provider-specific auth payloads as mix ins?

yeah. I dunno. @thekaveman do you have strong feelings? I suspect John and I feel this pain point more with 8+ operators vs 4. Happy to architect and fix as needed.

I'm OK with an approach like this until we figure out a more permanent solution.
You sure this works though? I don't see where that mixin is.. mixed in?


List editing Shift+Enter should not indent newline

Hello! I think most users would shift+enter when they're finished list editing so the newline created should not be indented and just be an empty line. :) A setting to disable/enable this would also be nice :)
Thanks!

Ah. very nice! thank you :)


Migrate final require statements to solidity native errors

Scope
Migrate last remaining require statements to Solidity native errors
Why?
MP-799
Todos
If any, what are the follow-up tasks required other than merging this PR? Have they been arranged?

[ ] ???

merge madness complete


Add support for libvirt to the Vagrantfile

This adds support for libvirt in addition to virtualbox, creating a private network for the master/node to run within.

cheers for the PR!


Adding one-click deployment buttons to README.md

This pull request adds one-click deployment buttons to the README.md of the Umami project. These buttons provide straightforward, direct deployment options for users and contributors, facilitating an effortless setup and launch of Umami on different platforms.
Key Benefits:

Ease of Use: These buttons simplify the process for both new and existing users to deploy Umami quickly, reducing setup complexity and encouraging more widespread use.
Community Growth: By lowering the barrier to entry for deployment, these buttons help attract a diverse range of contributors and users, fostering a larger and more active community.
Flexible Deployment Choices: Offers users the freedom to choose their preferred deployment method from the outset, enhancing user satisfaction and broadening Umami's appeal.

This enhancement supports Umami's goal of being user-friendly and widely accessible, making it easier for the community to grow and thrive.

We have guides on our website on how to run on various platforms, https://umami.is/docs/guides. It's better to have a fully fleshed out guide than a short link in the README.


Retrieve volume

Hi, thank you for maintaining this library.
I was wondering what will be the best way to retrieve audio level (volume) for both ios and android?
If you provide some guidelines I can develop the feature.
Thanks

When you talk about volume do you want to say sound intensity in dB?

When you talk about volume do you want to say sound intensity in dB?

Yes exactly

Actually I have no idea how to do that, but I guess that you can start investigating if the libraries used as base already has support by this feature. The libraries be:

Beethoven for iOS
TarsosDSP for Android

Then if haven't support you can try verify if is physically possible convert or infer the sound intensity based on frequency and tone.


Implement lists sharing on cocoa

For more context: #71 explains what this is and #134 implemented it for Windows and X11.

Tracked at https://github.com/tomaka/glutin/issues/899


cursor.nextset() does not exist in turbodbc

Hi,
Ubuntu 16.04
Python 3.6.4
Driver: FreeTDS
turbODBC 2.5.0
SQL Server Database
I have a proc in db where I can receive multiple result sets per execute. While I was using pyodbc, I was able to read all result sets by calling cursor.nextset(), but when I switch to turbodbc, I could not find any similar function therefore it throws me the following error

'Cursor' object has no attribute 'nextset'

Thanks

Would nextset() be straightforward to implement in Turbodbc for MS SQL Server?
The equivalent code in pyodbc is at L1760 of cursor.cpp, and essentially just calls SQL Server's SQLMoreResults() function.

It looks like the back-end C++ machinery is already done. We only need to expose the C++ function call to Python.
More specifically:

statement.cpp already has more_results() calling raii_statement::do_more_results().
On the Python side, in cursor.py, need to define a Cursor.nextset() method, calling Cursor.impl.more_results().
In cpp/turbodbc_python/Library/src/python_bindings/cursor.cpp, need to add a line like:
.def("more_results", &turbodbc::cursor::more_results())

Can anyone try this quickly? I am on Windows and am having trouble compiling this...

Has this functionality been added? I need to run this as well.

This should be closed out due to #369


Better SEO Performance

I noticed this pretty simple update for the website that will help with WaterWolfs online visibility. It will give more character to linking the website via social platforms as well, because as it stands when you link the website it doesn't embed any images or provide any description.

Hello, it looks like you may have copied this from other resources, as it references other organizations in the code modifications of 140b877. Please see line 17 of your PR for header.twig, where it references PrideVR. I'd update this prior to us merging.

Regarding the Sitemap, we could possibly drive this dynamically, in case updates are made that would potentially invalidate it. I'd rather have things automated as we can, especially if we are doing this for SEO. :)

Hello, it looks like you may have copied this from other resources, as it references other organizations in the code modifications of 140b877. Please see line 16 of your PR for header.twig, where it references PrideVR. I'd update this prior to us merging.

ooopsies, correct I pulled the meta tags from what the web building tool we use for our own PrideVR website generates. One sec!

Regarding the Sitemap, we could possibly drive this dynamically, in case updates are made that would potentially invalidate it. I'd rather have things automated as we can, especially if we are doing this for SEO. :)

Oh yeas that's definitely possible, a static one will be worth it until you do that though.
You can also dynamically generate a lot of the meta tag-related content so its adjusting and relevant to the specific pages. Right now this configuration will give y'all the same meta tag data across all the web pages.

As a Digital Marketing Strategist in Trivandrum, Kerala, achieving better SEO performance requires a blend of strategic planning, consistent effort, and a focus on user experience. Here are key practices for boosting SEO results:
Thorough Keyword Research: Understand your target audience and find keywords that align with their search intent, balancing high relevance with achievable competition.
High-Quality Content: Create content that provides value, is informative, and answers users' queries. Content should be optimized for both keywords and readability, making it engaging for readers and appealing to search engines.
On-Page Optimization: Optimize title tags, meta descriptions, headers, and image alt text to improve relevancy and structure, helping search engines crawl and understand your content better.
Mobile-Friendliness: Ensure your website is responsive and mobile-friendly, as Google prioritizes mobile usability for ranking. A seamless mobile experience is essential for SEO.
Improved Page Load Speed: A fast-loading website is critical for user retention and SEO. Use tools like Google PageSpeed Insights to optimize load times.
Effective Link Building: Focus on building quality backlinks from reputable sites. High-quality links signal authority to search engines, boosting your rankings.
User Engagement Metrics: Monitor and enhance metrics like bounce rate, time on page, and click-through rates (CTR) as they reflect user satisfaction and impact rankings.
Regular SEO Audits: Conduct periodic SEO audits to identify and fix issues like broken links, duplicate content, and technical errors.
By implementing these strategies, I help brands in Trivandrum, Kerala, improve their online visibility, attract organic traffic, and achieve long-term SEO success.

Dang AI generated SEO advertising in github pull requests, well that's new.

Reported https://github.com/WaterWolfDev/WaterWolf-Website/pull/54#issuecomment-2464284912


bugfix:operate_node接口优化

Codecov Report

Merging #321 (c0fc5ea) into v2.6.x_develop (57fe576) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           v2.6.x_develop     #321   +/-   ##
===============================================
  Coverage           60.93%   60.94%
===============================================
  Files                 441      441
  Lines               26843    26840    -3
===============================================
  Hits                16357    16357
+ Misses              10486    10483    -3

Impacted Files
Coverage Δ

itsm/openapi/ticket/serializers.py
79.76% <0.00%> (-0.94%)
:arrow_down:

itsm/ticket/models/ticket.py
56.54% <0.00%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57fe576...c0fc5ea. Read the comment docs.


webpack serve lists common chunk as dependency to unrelated entry point

Bug report

What is the current behavior?
There are 3 entry points a.js, b.js and c.js. a and b have a common dependency to utils.js. Webpack with optimization.splitChunks option will generate a common.js chunk (with utils.js' content) which a.bundle.j and b.bundle.js are depending on. The c.bundle.js can be used standalone because it has no (shared) dependency with other entries.
This is the behavior when using the webpack cli with the webpack command:
cmd output:
Entrypoint a = common.js a.bundle.js
Entrypoint b = common.js b.bundle.js
Entrypoint c = c.bundle.js   //  <----------------

But when generating the bundles via webpack-dev-server (or with webpack serve cli command), the common chunk is listed as an output for entry c and therefor needed to be loaded with its bundle. even when it has no common dependency in the source code with other entries:
cmd output:
Entrypoint a = common.js a.bundle.js
Entrypoint b = common.js b.bundle.js
Entrypoint c = common.js c.bundle.js  //  <-------

In c.bundle.js:
/******/ 	// add entry module to deferred list
/******/ 	deferredModules.push([2,"common"]);

If the current behavior is a bug, please provide the steps to reproduce.

Minimal reproducible repo:
https://github.com/mbehzad/webpack-dev-server-common-chunk-bug
// webpack.config.js

module.exports = {
  devServer: {
    compress: true,
    port: 9000,
    hot: false,
  },
  entry: {
    a: "./src/a.js", // has dependency to utils.js
    b: "./src/b.js", // has dependency to utils.js
    c: "./src/c.js", // has no (shared) dependency
  },
  output: {
    filename: '[name].bundle.js',
    path: __dirname + '/dist'
  },
  mode: "development",

  optimization: {
    splitChunks: {
      cacheGroups: {
        commons: {
          name: "common",
          filename: "common.js",
          chunks: "initial",
          minChunks: 2,
          minSize: 0,
        },
      },
    },
  },

}

What is the expected behavior?

Preferably webpack serve's output should have the same common chunk dependency as webpack build's output.
Other relevant information:
webpack version:  5.64.0
Node.js version: 16.3.0
Operating System: Windows 10
Additional tools:  webpack-cli v4.9.1, webpack-dev-server v4.5.0

The issue seems to be that webpack dev server loads some additional modules (e.g. for showing error messages) for each bundle. which will then land in the common chunk and make all bundles dependent on loading the "common" chunk independent of the dependencies in the source code.

The issue seems to be that webpack dev server loads some additional modules (e.g. for showing error messages) for each bundle. which will then land in the common chunk and make all bundles dependent on loading the "common" chunk independent of the dependencies in the source code.

yes, but that's expected.
Best avoid splitChunks.cacheGroups.xx.name/filename as it will prevent multiple common chunks being created.
Instead you can use idHint.
That should lead to something like:
Entrypoint a = common-yyy.js common-xxx.js a.bundle.js
Entrypoint b = common-yyy.js common-xxx.js b.bundle.js
Entrypoint c = common-yyy.js c.bundle.js

Answered, feel free to feedback


Update index.md - test commit

Contributor guide pull request
Thanks for contributing to the Microsoft Learn contributor guide. Please read these instructions for processing your pull request (PR). Once you've read this text, delete it and write a brief description of the changes you're proposing.
Quality control

[x] 1. Successful build with no warnings: Review the build status to make sure all checks are green (Succeeded).

[x] 2. #Sign-off: Once the PR is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the PR. Signing off means the document is ready for review and can be published at any time.

Merge and publish

All PRs to this repository are manually reviewed and merged.
Once all feedback on the PR is addressed, we'll merge the PR into the main branch.

Need help?

If you have an open PR, tag the PR reviewers in comment with your question: @carlyrevier, @jehchow
Open an issue in this repo and tag the PR reviewers.

test commit

#sign-off

#sign-off

@mezbauddin - This looks great! If this were a real PR, someone at Microsoft would start the review process now. Because this is just a practice one, I'm going to close it. :) Thanks for being a contributor!


geoip not working

Hi ,everybody!
I am trying to enable geoip on my nginx webserver (nginx/1.18.0 (Ubuntu).
And here is what I get:
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [4] (Rule: 100) Executing operator "GeoLookup against REMOTE_ADDR.
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [9] Target value: "<IP_ADDRESS>" (Variable: REMOTE_ADDR)
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [4] Rule returned 0.
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [9] Matched vars cleaned.
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [4] (Rule: 111) Executing operator "Pm" with param "CN HK US" against GEO:COUNTRY_CODE.
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [4] Rule returned 0.
Nov 11 12:33:25 server1 modsec_debug.log [/favicon.ico] [9] Matched vars cleaned.
I've placed my config in file (REQUEST-100-CUSTOM-RULES.conf) under the rules folder:
_SecGeoLookupDb /usr/local/nginx/conf/GeoLite2-Country.mmdb
SecRule REMOTE_ADDR "@geoLookup" "chain,id:100,phase:1,t:none,pass,log"
SecRule GEO:COUNTRY_CODE "@streq RO"
block China,Hong Kong US
SecRule GEO:COUNTRY_CODE "@pm CN HK US"
"id:111,
phase:1,
t:none,
log,
logdata:'%{MATCHED_VAR}',
deny,
msg:'Deny Client IP from %{MATCHED_VAR}',
ver:'OWASP_CRS/3.3.4'"_
I 've cloned Modsecurity and piled it from this version.
My ./configure looks like this:
_ModSecurity - v3.0.8-12-gde01b027 for Linux
Mandatory dependencies

libInjection                                  ....v3.9.2-46-gbfba51f
SecLang tests                                 ....a3d4405

Optional dependencies

GeoIP/MaxMind                                 ....found

(GeoIP) v1.6.12
-lGeoIP, -I/usr/include/

LibCURL                                       ....found v7.68.0
-lcurl,  -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL
YAJL                                          ....found v2.1.0
-lyajl, -DWITH_YAJL -I/usr/include/yajl
LMDB                                          ....disabled
LibXML2                                       ....found v2.9.10
-lxml2, -I/usr/include/libxml2 -DWITH_LIBXML2
SSDEEP                                        ....not found
LUA                                           ....found v503
-llua5.3 -L/usr/lib/x86_64-linux-gnu/, -DWITH_LUA -DWITH_LUA_5_3 -I/usr/include/lua5.3
PCRE2                                          ....not found

Other Options

Test Utilities                                ....enabled
SecDebugLog                                   ....enabled
afl fuzzer                                    ....disabled
library examples                              ....enabled
Building parser                               ....disabled
Treating pm operations as critical section    ....disabled_

Any help is appreciated.
thanks!

I think I'll answer myself as it seems I've fixed it , and probably would be a good idea to share it in case anybody else has same issues.
It seems the issues were regarding the geoip libraries.
I have removed/uninstalled  these:
ibgeoip-dev/focal,now 1.6.12-6build1 amd64 [installed]
libgeoip1/focal,now 1.6.12-6build1 amd64 [installed]
And you have to have these installed:
libmaxminddb-dev/focal,now 1.7.1-0+maxmind1~focal amd64 [installed]
libmaxminddb0/focal,now 1.7.1-0+maxmind1~focal amd64 [installed]
Next, I have recompiled modsecurity , and at ./configire you should have this:
_Optional dependencies

GeoIP/MaxMind                                 ....found

(GeoIP) v1.6.12
-lGeoIP, -I/usr/include/_

And that was it for me. It worked after that.
Hope it helps somebody!

Hello @czirakim ,
Interesting. My test installation doesn't experience those same symptoms despite having the unneeded packages.
Thanks for posting your solution though, as it may well happen to someone else. I have also made note of your finding in the SecGeoLookupDb description in the Reference Manual.
I'll go ahead and close this.


Clean up and normalize Contributing and other PR Related Documenation

I made a first pass on cleaning up the CONTRIBUTING.md document (#4777), but I quickly realized that there already existed a body of documentation on Pull Requests.
Ref: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Pull-Request-Contribute
These instructions need to be cleaned up and normalized and integated into the two new (larger and more detailed) Wiki articles I just wrote:
https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/How-To-Fork-And-Maintain-a-Local-Instance-of-Free-Code-Camp
https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/How-To-Create-A-Pull-Request-for-Free-Code-Camp
@ltegman also mentioned a new rebasing doc?
We have this guide:
https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/git-rebase
The README.md also needs references to these things.
We need to decide what information should live where before we proceed.

I think this issue can be closed.


PROV: Add a DER to RSA-PSS deserializer implementation

This is made on top of #12410 and will stay WIP until that one is merged.

Now that #12410 has been merged, this got rebased and squashed, and is now out of WIP

A bit quicker to review than the last one :)

Just you wait for #12512 to be done :wink:

A bit quicker to review than the last one :)

Just you wait for #12512 to be done 😉

Well it has 64 files already... cant wait..

LGTM if the tests pass.

Looks that way

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged
456b3b97a489d4be42f4258cb65bf76dfd8bab00 EVP, PROV: Add misc missing bits for RSA-PSS
a4e55cccc9991b35c3f4b3f4aac32b59aa598584 PROV: Add a DER to RSA-PSS deserializer implementation
846f96f821260ca83cc93bfa35207864b05abec5 TEST: Add RSA-PSS cases in test/serdes_test.c


Use core::ffi::c_void insteead of libc::c_void.

This doesn't change any behavior; it just makes it easier to see where in the code actual libc things are being used.

The CI failures are fixed in https://github.com/jordanisaacs/rustix-uring/pull/5.


Navmesh flickering in editor in OpenGL

In 3.10 when you open a level with a navmesh in the editor it has graphic glitches:
http://duion.com/files/temp/navmeshglitches.jpg
This may be related:
https://gist.github.com/Duion/4467b8db6b3c32bc4ef04d5fee1d2b8d
But try it yourself to confirm it, you just need a navmesh in the level and render mode OpenGL

I'm not experiencing this at all on my end.

I recently had a guy with the same bug on Linux, I told him to disable navmesh rendering.
May this have been fixed in the meantime? I'm running the first 3.10 release canditate version.


Added topicExists functions in AdminClient

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@makarushka Could you share the motivation of adding this new method?

@makarushka Не могли бы вы поделиться мотивацией добавления этого нового метода?

We often use checking for an existing topic, and decided to send PR with this method.

@makarushka Could you share the motivation of adding this new method?

We very often need to find out if a topic exists, through AdminClient, we decided to add and parse PR.

@makarushka As the Admin client is a public API, this requires a KIP.

@makarushka As the Admin client is a public API, this requires a KIP.

Ok, we will do.
Thank you.


How would one receive a json object, process it, then return Json back via http in asp.vNext?

How would one receive a json object +[process with a dynamically loaded method /async task]
and then return the Json result back via http in asp.vNext?
It's a pretty common use case for an http server to be able to act as a json API... last night i cloned and browsed the source code of glimpse v2, to see how such a thing could be done (but there were way too many files and i didn't know which way was up) i google and i bing but i'm yet to see a small example that demonstrates such a thing in action.
for example here's how it could be done in 50 lines of javascript using dynamically loaded worker methods in •r:Ruby •v:JS •w:Clojure •x:Perl •y:Python •z:PHP
vx=require('vertx')
LOG=require('vertx/console').log
container=require('vertx/container')
DP=container.deployWorkerVerticle
l={a:LOG,j:JSON.stringify}
eb=vx.eventBus;
eb.registerHandler('godo',godo)
NUT={}
toolz={
fix:function(o){/*Ready o.[rx|rv|ry|rn] properties*/
if(typeof o.rx=='number'){o.rx=[o.rx.toString()]}
if(typeof o.rx=='string'){o.rx=o.rx.replace(/[\W\s]+$/,'').split('/');for(var i=0;i<o.rx.length;i++){if(/^-?\d+/.test(o.rx[i])){o.rx[i]=Number(o.rx[i])}}}
if(typeof o.rv=='undefined'){o.rv=''}
if(typeof o.ry=='undefined'){o.ry=[]}
if(typeof o.rn=='undefined'){o.rn=0}
if(o.cb){/*jsonp*/o.rb=-3}
if((''+o.rx[0]).charAt(0)=='~'){o.rb='-'+o.rx[0].substr(1);o.rx.shift()}else if(!o.rb){o.rb=o.all?-2:-1}
}
}
var N=0

function godo(o,cb){/*Run o thru one or more verticles*/
LOG(o.rn+' von.js received: ' + l.j(o));o.rb=++N
NUT[o.rb]=(function(cb){return function(o){cb(o)}})(cb)
toolz.fix(o)
DoNext(o)
}

function DoNext(o){LOG(o.rn)
if(o.rn!=0){o.e=o.rv}
if(o.rn>=o.rx.length){LOG('returning: ' + l.j(o));NUT[o.rb](o);/*delete NUT[o.rb]*/;return}
var ns=''+o.rx[o.rn];var s=ns.charAt(0);var n=parseInt(ns.substr(1))
LOG(o.rn+'/'+o.rx.length+' ~ '+ns+'['+n+']'+s)
o.rn+=1;
var ext=({r:'rb',v:'js',w:'clj',x:'pl',y:'py',z:'php'})[s]
LOG('EXT:'+ext)
if(!ext){NUT[o.rb](o);delete NUT[o.rb];return}
if(s=='v' && n==3){var RV='fail';try{eval('RV=('+o.e+')')}catch(er){RV=er.message};LOG(RV);o.rv=RV;return DoNext(o);}
if(NUT[ns]){LOG(ns+' already loaded');return eb.send(ns,o,DoNext)}
var fpr='../../../../2/'+s+s+'/Ax/'+n+'/'+s+'.'+ext;LOG('ns:'+ns);LOG('ns:'+fpr)
container.deployVerticle(fpr,null,1,function(){NUT[ns]=true;eb.send(ns,o,DoNext)})
}

web1=vx.createHttpServer()
sox=vx.createSockJSServer(web1)
sox.bridge({prefix:'/eventbus'},[{}],[{}])
web1.listen(1422)

this is the same question as: https://github.com/aspnet/Home/issues/770
except that one shows "Powershell Listening on http://<IP_ADDRESS>:1416..."
getting and returning Json via http

@danroth27

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (245/200 (122%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o9.sgmail.github.com ([<IP_ADDRESS>]:50735)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkIO-0001TP-M4
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:33:24 -0600
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=n4COun1V0YeOpywiocUvfQU/57g=; b=K0bCsE1DGnSEvpnE
eMO6DaHMnuXod4D4xowr5Ht0NrDtHFWh2Dk96QoDgwMqsCVxHx64tRUAfxy5eEqF
8hrhtCDXsZZNbXaUr4vNISnG0pG6QugqUhGwYv7H/Jyc4Ua0svU12KPnpzox3tI/
XVxIdN8UUPNRZ0Ord/fkKhjvLq0=
Received: by filter0571p1las1.sendgrid.net with SMTP id filter0571p1las1-29931-5A49497F-11
2017-12-31 20:33:03.710634861 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [<IP_ADDRESS>])
by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id J2PJk1EKTN2PIpT5cR9qRQ
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 20:33:04.033 +0000 (UTC)
Date: Sun, 31 Dec 2017 20:33:03 +0000 (UTC)
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] How would one receive a json object, process it,
then return Json back via http in asp.vNext? (#787)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a49497fc4b60_51f13f976a148f3438754";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRJfj--l8xMohdHXDYq_EKf3IkydLks5tF-9_gaJpZM4FjeOk
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-SG-EID: rlj3t9ahcX0BZUzAOlajQ3VmBXo43xFJc4M1ImIDJhEVcMnjH8pOlkIZsizO20Lx6GkHYL28Kzvu9E
kLnr3WqB2BhmxnpkHfpRGxjciLS29Uc66MnAPxzE11iEIvoKSHdgRnReCJ4oKoXU1fI9sS+Wo57Ok8
cqqdjc5Tg7wTPL9PajmRolWLbGjPFTB//cF+nWd6R0cfJqiPbbLMXzrlMMgEJCtQhfDKDWMYj4ZFXH
g=
----==_mimepart_5a49497fc4b60_51f13f976a148f3438754
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/787#issuecomment-354622655
----==_mimepart_5a49497fc4b60_51f13f976a148f3438754
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue is being closed because it has not been updated in 3 months.<=
/p>
We apologize if this causes any inconvenience. We ask that if you are st=
ill encountering this issue, please log a new issue with updated informatio=
n and we will investigate.
&mda=
sh;You are receiving this because you are subscribed to this thread.<=
br />Reply to this email directly, view it on GitHub, or mute the thread.

=
----==_mimepart_5a49497fc4b60_51f13f976a148f3438754--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (244/200 (122%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext4.iad.github.net ([<IP_ADDRESS>]:36957 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkIO-0001TN-CD
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:33:24 -0600
Date: Sun, 31 Dec 2017 12:33:03 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1514752383;
bh=BrfknNwe5b0bs2L53LqGq6TnRmS3v6t/yfhVEdzzEs0=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=nK2zxoKXK8syTz9RbqiIfXJcvltNi3I3pDhwUpjBnGEICgU/v/4ITr3ljwvlf41z1
LB9Tt4PnvEiFdIsXDek6ITcHNR1l1Rugpqw2ptfC+3XRKp6rabQh4umOruAFC3Vjhp
/RC3c6JpzTNS4FPzUnBqYZ11ienOOCO9Pihj8E0k=
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] How would one receive a json object, process it,
then return Json back via http in asp.vNext? (#787)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a49497ff0ba3_6dab3fbb505e8f301944150";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRJfj--l8xMohdHXDYq_EKf3IkydLks5tF-9_gaJpZM4FjeOk
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_5a49497ff0ba3_6dab3fbb505e8f301944150
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #787.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/787#event-1405408816
----==_mimepart_5a49497ff0ba3_6dab3fbb505e8f301944150
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #787.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5a49497ff0ba3_6dab3fbb505e8f301944150--


[fix] (Nerieds) fix tpch and support trace plan's change event

Proposed changes
This pr fix some bugs for run tpc-h

fix the avg(decimal) crash the backend. The fix code in Avg.getFinalType() and every child class of ComputeSinature
fix the ReorderJoin dead loop. The fix code in ReorderJoin.findInnerJoin()
fix the TimestampArithmetic can not bind the functions in the the child. The fix code in BindFunction.FunctionBinder.visitTimestampArithmetic()

New feature: support trace the plan's change event, you can set enable_nereids_trace=true to open trace log and see some log like this:
2022-11-03 21:07:38,391 INFO (mysql-nio-pool-0|208) [Job.printTraceLog():128] ========== RewriteBottomUpJob ANALYZE_FILTER_SUBQUERY ==========
before:
LogicalProject ( projects=[S_ACCTBAL#17, S_NAME#13, N_NAME#4, P_PARTKEY#19, P_MFGR#21, S_ADDRESS#14, S_PHONE#16, S_COMMENT#18] )
+--LogicalFilter ( predicates=((((((((P_PARTKEY#19 = PS_PARTKEY#7) AND (S_SUPPKEY#12 = PS_SUPPKEY#8)) AND (P_SIZE#24 = 15)) AND (P_TYPE#23 like '%BRASS')) AND (S_NATIONKEY#15 = N_NATIONKEY#3)) AND (N_REGIONKEY#5 = R_REGIONKEY#0)) AND (R_NAME#1 = 'EUROPE')) AND (PS_SUPPLYCOST#10 =  (SCALARSUBQUERY) (QueryPlan: LogicalAggregate ( phase=LOCAL, outputExpr=[min(PS_SUPPLYCOST#31) AS `min(PS_SUPPLYCOST)`#33], groupByExpr=[] )), (CorrelatedSlots: [P_PARTKEY#19, S_SUPPKEY#12, S_NATIONKEY#15, N_NATIONKEY#3, N_REGIONKEY#5, R_REGIONKEY#0, R_NAME#1]))) )
   +--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
      |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
      |  |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
      |  |  |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
      |  |  |  |--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.part, output=[P_PARTKEY#19, P_NAME#20, P_MFGR#21, P_BRAND#22, P_TYPE#23, P_SIZE#24, P_CONTAINER#25, P_RETAILPRICE#26, P_COMMENT#27], candidateIndexIds=[], selectedIndexId=11076, preAgg=ON )
      |  |  |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.supplier, output=[S_SUPPKEY#12, S_NAME#13, S_ADDRESS#14, S_NATIONKEY#15, S_PHONE#16, S_ACCTBAL#17, S_COMMENT#18], candidateIndexIds=[], selectedIndexId=11124, preAgg=ON )
      |  |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.partsupp, output=[PS_PARTKEY#7, PS_SUPPKEY#8, PS_AVAILQTY#9, PS_SUPPLYCOST#10, PS_COMMENT#11], candidateIndexIds=[], selectedIndexId=11092, preAgg=ON )
      |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.nation, output=[N_NATIONKEY#3, N_NAME#4, N_REGIONKEY#5, N_COMMENT#6], candidateIndexIds=[], selectedIndexId=11044, preAgg=ON )
      +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.region, output=[R_REGIONKEY#0, R_NAME#1, R_COMMENT#2], candidateIndexIds=[], selectedIndexId=11108, preAgg=ON )

after:
LogicalProject ( projects=[S_ACCTBAL#17, S_NAME#13, N_NAME#4, P_PARTKEY#19, P_MFGR#21, S_ADDRESS#14, S_PHONE#16, S_COMMENT#18] )
+--LogicalFilter ( predicates=((((((((P_PARTKEY#19 = PS_PARTKEY#7) AND (S_SUPPKEY#12 = PS_SUPPKEY#8)) AND (P_SIZE#24 = 15)) AND (P_TYPE#23 like '%BRASS')) AND (S_NATIONKEY#15 = N_NATIONKEY#3)) AND (N_REGIONKEY#5 = R_REGIONKEY#0)) AND (R_NAME#1 = 'EUROPE')) AND (PS_SUPPLYCOST#10 = min(PS_SUPPLYCOST)#33)) )
   +--LogicalProject ( projects=[P_PARTKEY#19, P_NAME#20, P_MFGR#21, P_BRAND#22, P_TYPE#23, P_SIZE#24, P_CONTAINER#25, P_RETAILPRICE#26, P_COMMENT#27, S_SUPPKEY#12, S_NAME#13, S_ADDRESS#14, S_NATIONKEY#15, S_PHONE#16, S_ACCTBAL#17, S_COMMENT#18, PS_PARTKEY#7, PS_SUPPKEY#8, PS_AVAILQTY#9, PS_SUPPLYCOST#10, PS_COMMENT#11, N_NATIONKEY#3, N_NAME#4, N_REGIONKEY#5, N_COMMENT#6, R_REGIONKEY#0, R_NAME#1, R_COMMENT#2, min(PS_SUPPLYCOST)#33] )
      +--LogicalApply ( correlationSlot=[P_PARTKEY#19, S_SUPPKEY#12, S_NATIONKEY#15, N_NATIONKEY#3, N_REGIONKEY#5, R_REGIONKEY#0, R_NAME#1], correlationFilter=Optional.empty )
         |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
         |  |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
         |  |  |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
         |  |  |  |--LogicalJoin ( type=CROSS_JOIN, hashJoinCondition=[], otherJoinCondition=[] )
         |  |  |  |  |--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.part, output=[P_PARTKEY#19, P_NAME#20, P_MFGR#21, P_BRAND#22, P_TYPE#23, P_SIZE#24, P_CONTAINER#25, P_RETAILPRICE#26, P_COMMENT#27], candidateIndexIds=[], selectedIndexId=11076, preAgg=ON )
         |  |  |  |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.supplier, output=[S_SUPPKEY#12, S_NAME#13, S_ADDRESS#14, S_NATIONKEY#15, S_PHONE#16, S_ACCTBAL#17, S_COMMENT#18], candidateIndexIds=[], selectedIndexId=11124, preAgg=ON )
         |  |  |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.partsupp, output=[PS_PARTKEY#7, PS_SUPPKEY#8, PS_AVAILQTY#9, PS_SUPPLYCOST#10, PS_COMMENT#11], candidateIndexIds=[], selectedIndexId=11092, preAgg=ON )
         |  |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.nation, output=[N_NATIONKEY#3, N_NAME#4, N_REGIONKEY#5, N_COMMENT#6], candidateIndexIds=[], selectedIndexId=11044, preAgg=ON )
         |  +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.region, output=[R_REGIONKEY#0, R_NAME#1, R_COMMENT#2], candidateIndexIds=[], selectedIndexId=11108, preAgg=ON )
         +--LogicalAggregate ( phase=LOCAL, outputExpr=[min(PS_SUPPLYCOST#31) AS `min(PS_SUPPLYCOST)`#33], groupByExpr=[] )
            +--LogicalFilter ( predicates=(((((P_PARTKEY#19 = PS_PARTKEY#28) AND (S_SUPPKEY#12 = PS_SUPPKEY#29)) AND (S_NATIONKEY#15 = N_NATIONKEY#3)) AND (N_REGIONKEY#5 = R_REGIONKEY#0)) AND (CAST(R_NAME AS STRING) = CAST(EUROPE AS STRING))) )
               +--LogicalOlapScan ( qualified=default_cluster:regression_test_tpch_sf1_p1_tpch_sf1.partsupp, output=[PS_PARTKEY#28, PS_SUPPKEY#29, PS_AVAILQTY#30, PS_SUPPLYCOST#31, PS_COMMENT#32], candidateIndexIds=[], selectedIndexId=11092, preAgg=ON )

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[x] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38 seconds
load time: 608 seconds
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221103190513_clickbench_pr_39557.html


AssertionError question

Hello,
I was able to run your demo fine before but now I am running into this issue with the val2017 data set listed in your demo.
Loading and preparing results...
Traceback (most recent call last):
File "eval_ssd.py", line 109, in
main()
File "eval_ssd.py", line 99, in main
cocoDt = cocoGt.loadRes(results_file)
File "/home/hotudon/.local/lib/python3.6/site-packages/pycocotools/coco.py", line 317, in loadRes
'Results do not correspond to current coco set'
AssertionError: Results do not correspond to current coco set
any help is appreciated

closing issue.   I was messing around with the code to see how I can use it for other data set.   It was a mismatch in how I call the data set vs what was in the annotation.


Include reset sequences in prerendered transactions

In the prerendered module, all of the data is sent in one single SPI transaction. However, the reset sequences are sent separately from the rest of the data. What's more, for a reset sequence, it sends 140 single-byte transactions instead of a single, 140 bytes long transaction.
On certain devices, the MOSI line is set high as soon as the transaction is completed. This is at least true for the SAMD21/SAMD51 line of chips. Therefore, after each of the 140 reset bytes sent, the MOSI line toggles HIGH, defeating the purpose of sending a reset sequence and messing up the timing.
This PR proposes to send everything in a single transaction, including the reset sequences at the start and end of a data frame. It will result in a maximum of 280 extra bytes needed in the storage buffer.
I've tested the propsed changes with a SAMD51 board, and I can confirm that it fixes the timing issues.

LGTM but I'll give @david-sawatzke a chance to weigh in before merging.

Done! Added a single_reset_transaction feature flag, so this shouldn't be a breaking change.


fix(es-dev-server): remove extra babel plugins

https://github.com/babel/babel/pull/10811 was merged and released in babel 7.8.0
Fixes https://github.com/open-wc/open-wc/issues/1295

@LarsDenBakker now in the new v1.38.0, I get this error:

page-user.ts:149 Uncaught (in promise) SyntaxError: Unexpected token '.'

And this line is an optional chaining.


Added optional $checkHeader param to loginRequired for checking the…

… Accept header; defaults to true.

#10937

Can someone look at why this test is failing?
It runs fine locally and the failing test doesn't even have anything to do with my code.

I've broken it. Fixed in https://github.com/yiisoft/yii2/commit/4dc771d0a0f092dc56d8dd002329fb0ed1022243
Update from master, please

I think this is ready for merge, let me know if you need anything from me!

Thank you for the notification. I'll verify it soon

Merged: https://github.com/yiisoft/yii2/commit/040e102d97c7af909da829c02825cdd6ff923e0e

Thank you!


Allow bulk DrHeader reports

Improve DrHeader parser to allow bulk scan reports
DrHeader bulk scanning drheader scan bulk -ff txt list.txt --json | jq '.' > drheader_report.json
Example report:
[
    {
      "url": "http://example.com",
      "report": [
        {
          "rule": "Content-Security-Policy",
          "message": "Header not included in response",
          "severity": "high"
        },
        {
          "rule": "Pragma",
          "message": "Header not included in response",
          "severity": "high",
          "expected": [
            "no-cache"
          ]
        }
      ]
    },
    {
      "url": "http://example2.com",
      "report": [
        {
          "rule": "X-Frame-Options",
          "message": "Header not included in response",
          "severity": "high",
          "expected": [
            "DENY",
            "SAMEORIGIN"
          ]
        },
        {
          "rule": "X-XSS-Protection",
          "message": "Header not included in response",
          "severity": "high",
          "expected": [
            "1",
            "mode=block"
          ],
          "delimiter": ";"
        }
      ]
    }
]

@blakeaowens and @rumaf please close this issue

Done, thanks!


Output role name along with container logs

Improves the output of kamal app logs -q -n 1, by printing the role instead of the word "App"
Before
App Host: bc4-beta-jobs-03
2024-11-22T11:30:41.641044197Z <IP_ADDRESS> - - [22/Nov/2024:11:30:41 +0000] "GET /metrics HTTP/1.1" 200 - 0.0102

App Host: bc4-beta-jobs-03
2024-11-22T11:30:41.378680867Z <IP_ADDRESS> - - [22/Nov/2024:11:30:41 +0000] "GET /metrics HTTP/1.1" 200 - 0.0005

After
solid_queue_dispatcher Host: bc4-beta-jobs-03
2024-11-22T11:30:41.641044197Z <IP_ADDRESS> - - [22/Nov/2024:11:30:41 +0000] "GET /metrics HTTP/1.1" 200 - 0.0102

resque_jobs Host: bc4-beta-jobs-03
2024-11-22T11:30:41.378680867Z <IP_ADDRESS> - - [22/Nov/2024:11:30:41 +0000] "GET /metrics HTTP/1.1" 200 - 0.0005

Hi @lewispb - we've got a test failure on test/integration/app_test.rb:23


Not work in Facebook PlayableAds

Hi, We use your nice library in CocosCreator3.6.1.
In this time, I made facebook playable ads, but can't play in facebook playable preview.
It only shows splashscreen and has a 2mb file size error.
However, my file size is not even 1mb.
I know these two problems are separate, but can you give me your opinion on each?

Thank you.

Could you confirm that the built package can be run locally?
If the file is small than 1mb, you could set the config isZip to false. (isZip is true default)

I can confirm that the built package starts locally, nothing wrong with Applovin or Mintegral's Playable Preview.
And even if I remove isZip, the error is still there, although it does not reach 2mb.

Does "not reach 2MB in size" refer to the size of each individual file or the overall size of the compressed folder?
The potential issue at the moment is that if any file within the uncompressed folder exceeds 2MB, it may not pass the detection on Facebook.

It means that the individual file size before compression does not exceed 2 mb.
The error occurs even though I created a new project and built it with only the libraries included and none of them exceed 2mb.
Does it work fine in your environment?

Try this new version of the plugin. I fixed it not long ago. here

Thanks a lot, but the problem still seems to remain.

I've tested it with the latest version, and it passes. Could you see if you need to further reduce or compress the project resources?

I see that it is working correctly in your environment.
It would be possible to pull out a few features, but I don't think further reduction of empty projects will solve the problem.
This is my build with an empty project, and this is causing 2mb errors.
Facebook.zip
If you don't mind, could you try to see if this build also causes problems with your previewtool?
this build used the latest libraries you have prepared.

It works.

I see that it is working correctly in your environment.
It would be possible to pull out a few features, but I don't think further reduction of empty projects will solve the problem. This is my build with an empty project, and this is causing 2mb errors.
Facebook.zip
If you don't mind, could you try to see if this build also causes problems with your previewtool? this build used the latest libraries you have prepared.

I changed the PC I am using and tried it, and for some reason the file size issue was resolved, thank you.
However, I still don't understand the issue of the screen not changing from the splash screen.
Looking at your screenshot, it seems to work fine in your app, but in the file I gave you, it doesn't seem to change from the splash screen.

This problem was fixed when CocosCreator was updated from 3.6.1 to 3.8.1.
Thanks for your generous support.


Passing properties to the TextInput not working

Hi,
I believe in GooglePlacesAutocomplete.js render function
this line
let { onChangeText, onFocus, ...userProps } = this.props.textInputProps;
should be like this
let { onChangeText, onFocus, userProps } = this.props.textInputProps;
Please fix it and push a new version.
also in your code I can see you have underlineColorAndroid="transparent" for the search TextInput but when i did npm install your last version, this line is missing, do you have the last version on npm?
Thanks

"You have a bug" doesn't really work as a issue description.
I'd suggest you come back with more details on the subject.

It's simple, in your render code, int GooglePlacesAutocomplete.js file, you assign the userProps and you have three (.) before the object and this doesn't work, it should be userProps instead with out three dots and inside the textInput with three dots for extraction as you do.
my scenario, I wanted to assign a specific properties to the textInput so I did the following in my code
<GooglePlacesAutocomplete
textInputProps={{
userProps:
{underlineColorAndroid : "transparent",
autoCorrect : false
}
}}
... />
And this worked only when I removed the three dots from
let { onChangeText, onFocus, ...userProps } = this.props.textInputProps;
If you have any suggestion to make this work without removing the three dots. please let me know.

userProps is not a valid TextInput prop. See the full list here https://facebook.github.io/react-native/docs/textinput.html#props

dude, your wrote this code? you are passing what ever in userProps to the TextInput and that great, but you have small bug which is the three dots, just remove them from the assign code, that's it

userProps is just the name of variable and is not exposed to the component's API.
I'm pretty sure, the issue is on your side. Just pass your props directly to textInputProps without wrapping them into userProp and you're done.


Auto Label Bot

Is your feature request related to a problem? Please describe.
Add GitHub action to auto label issues with gssoc21 label when contributor asks to work under gssoc21. As it takes time for the maintainer to add labels, I can add a script that can auto-label issues with the GSSOC21 label whenever contributors ask to work under that label.
Describe the solution you'd like
A script in .github folder to automate the process.
Describe alternatives you've considered
None
Additional context
Please assign me this issue with a GSSOC tag and a level tag.

I think for now there is no need, this project will be hauled for a long time.
Thanks anyway.


Problem to download and run in EV3 c4ev3

I use Open Roberta Lab online and now I'm trying to download the programming into my EV3 (c4ev3) brick. I'm using the firmware 1.10E, but after copying the .UF2 file in the EV3 it shows a Error.
I did the same test using makecode.com and the .UF2 file created works correct.
Someone can help me to undrstant what is the problem with the .UF2 file created by Open Roberta Lab ?
I'm attaching the .UF2 files created in Open Roberta and also in makecode.
UF2 files.zip

Could you please upload the exported program here? (change the .xml to e.g. .txt before uploading)
Could you please make a foto of the error message and upload it here?
It is quite hard for us to  reproduce this behaviour. On windows 10 everything works fine as expected.

@dmarcelo2  can you please send us the (exported) program which has caused the error? It would be very helpful for us to reproduce the problem

Hi,
To try understand what is happening I did the following tests:

Program "TesteAlpha" ( created in a computer with windows 10):

The program run in the EV3 brick. The program has a "repeat
indefinetelly" block and I was supposed to stop the robot by pressing the
button of the brick, but something happens with the "stop button" of the
brick when using the .UF2 file and it was necessary to force the restart of
the brick. After restarting, the program named "TesteAlpha" is no more
showed in the EV3.
Link to video: https://photos.app.goo.gl/fVzBNNjKjAFVxZhf7
Archives (.UF2 and .XML attached to the email)

Program "TesteAlpha3"

This programa don't have the "repeat indefinetelly" block and works
coorect in the brick.
Archives (.UF2 and .XML attached to the email)

Program "LetraM"

This program don't work. After restarting, other programs still works. I
did a film showing what happens. There is nothing so diferent between this
program and the "TesteAlpha3" that worked correct. I can't understand.
Link to video: https://photos.app.goo.gl/hZjmYeXfohA6kuZq9
Archives (.UF2 and .XML attached to the email)

Thanks if you can help.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Não
contém vírus.www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Em seg., 5 de jun. de 2023 às 08:50, Beate Jost @.***>
escreveu:

@dmarcelo2 https://github.com/dmarcelo2 can you please send us the
(exported) program which has caused the error? It would be very helpful for
us to reproduce the problem
—
Reply to this email directly, view it on GitHub
https://github.com/OpenRoberta/openroberta-lab/issues/1519#issuecomment-1576641224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAICMVUNHJT5TSHSB2DKC73XJXBXXANCNFSM6AAAAAAYXO3YCE
.
You are receiving this because you were mentioned.Message ID:
@.***>

When updating our servers from  Ubuntu 18.04 to 20.04 and 22.04 it turned out, that the  installation of the C4EV3 compiler results in something weird, so that the output of the compiler is different and not executable anymore. Unfortunatly the C4EV3 compiler is old and not supported anymore, so there is no workaround.
So we decided to set the C4EV3 plugin to "deprecated". For a short time, people may use https://c4ev3.open-roberta.org to program with C4EV3 and getting a correctly compiled .uf2 file.


HTTP server should serve gzipped responses

I could be wrong, but it doesn't appear to me that we've configured Undertow to Gzip responses. This is very important, especially since we serve ceylon.language-js through it.

@matejonnet Can you confirm my understanding of this?
Do you know how to set up the GzipEncodingProvider?
Thanks.

This is an example how to set it up, it needs to be added to https://github.com/ceylon/ceylon-sdk/blob/master/source/ceylon/net/http/server/internal/DefaultServer.ceylon#L111
public HttpHandler createHttpHandler(final Predicate predicate, ModelNode model, HttpHandler next) {
EncodingHandler encodingHandler = new EncodingHandler(new ContentEncodingRepository()
.addEncodingHandler("gzip", new GzipEncodingProvider(), 50, predicate != null ? predicate : Predicates.truePredicate()));
encodingHandler.setNext(next);
return encodingHandler;
}

But what do I actually do with the handler? What do I attach it to?

see: https://github.com/ceylon/ceylon-sdk/pull/454

@matejonnet thanks for fixing this!


⚠ Spryr has degraded performance

In 24fba09, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5733 ms

Resolved: Spryr performance has improved in 5d917a0 after 7 minutes.


how do i specify a masterkey

when installing meilisearch manually you can specify the master-key as a parameter
./meilisearch --master-key="asfkjsdflkas84"
How do you do it here?

We generate a password on service creation and specify that as MEILI_MASTER_KEY to the meilisearch container. You can get that from a dokku meilisearch:info $SERVICE call.
There is no way at this time to change that master key to something else.

@josegonzalez
$ dokku meilisearch:info staging-test
=====> staging-test meilisearch service information
       Config dir:          /var/lib/dokku/services/meilisearch/staging-test/data
       Config options:
       Data dir:            /var/lib/dokku/services/meilisearch/staging-test/data
       Dsn:                 http://:9a801d3c9b4d69f496bd9da1dd06d161@dokku-meilisearch-staging-test:7700
       Exposed ports:       -
       Id:                  8ecc5d158f5d6186b74e12f9fcc6c64ec3876f54ca7810f0d9f05437f2b09feb
       Internal ip:         <IP_ADDRESS>
       Initial network:
       Links:               -
       Post create network:
       Post start network:
       Service root:        /var/lib/dokku/services/meilisearch/staging-test
       Status:              running
       Version:             getmeili/meilisearch:v1.3.5

MEILI_MASTER_KEY is not exposed in the info. =(

It's in the Dsn. Specifically, it should be 9a801d3c9b4d69f496bd9da1dd06d161.

Indeed. I also had to remove the secret key from the MEILISEARCH_URL to make it work.

Is it possible to provide two env vars on linking process with stripping master key from the URL and add it as "{ALIAS}_MASTER_KEY" as a second env var along with clean "{ALIAS}_URL" ?

I mentioned this on slack (discord?) but this seems to be a failing of the client. Specifically in @undercontr's case, node fetch refuses to use URLs with basic auth in the url, and requires that users remove them and set them as a header. Not sure why it doesn't just parse it out and set the header itself, but here we are.
For various reasons, Dokku datastore plugins don't support multiple env vars today. I have a setup that copies a lot of the logic between plugins, and making a one-off change for meilisearch would make maintenance difficult for the dozen or so datastores we support.
Maybe in the future this will be easier to do with the introduction of dokku-service, but for now, I won't be implementing this functionality. I recommend parsing the DSN and constructing a URL that works for your client for now.

@josegonzalez I modified the URL inside the code to be able to work with it. Currently not a blocking issue. Thanks again for explanation on the Discord and here.


looking for a reliable , network free way to provide kickstart files.

Looking for simplest most reliable way to install from media + kickstart without network.  I could embed a kickstart on the boot media (works great) however then I have a 300MB ish file laying around everytime a new vm is created.  Not terrible but I'm looking for a way I could just have the kickstart file and reuse the boot media.  The best answer I can come up with so far is 2 cdroms, one with boot media, one with kickstart .  It's not terrible but feels a bit hackish.  Is there a better way ?

 With Pyvmomi you can create the VNX, then attach an ISO file to your virtual CDROM, change the boot order then boot the VM.
There is plenty of examples of how to do that. I've done that this way:
# Define parameters for CDROM
vm_datastore_obj = find_vsphere_object(service_instance, [vim.Datastore], datastore)
drive_spec = vim.vm.device.VirtualDeviceSpec()
drive_spec.device = vim.VirtualCdrom()
drive_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add
drive_spec.device.backing = vim.vm.device.VirtualCdrom.IsoBackingInfo()
drive_spec.device.backing.datastore = vm_datastore_obj
drive_spec.device.backing.fileName = "[%s] %s" % (datastore, "iso/CentOS-7-x86_64-Kickstart.iso")
drive_spec.device.unitNumber = 0
drive_spec.device.connectable = vim.vm.device.VirtualDevice.ConnectInfo()
drive_spec.device.connectable.startConnected = True
drive_spec.device.connectable.connected = True
drive_spec.device.connectable.allowGuestControl = True

# Create a new ConfigSpec and add the rest of our devices
config_spec = vim.vm.ConfigSpec()
config_spec.deviceChange = [drive_spec]

print " +  Attaching CDROM and ISO to "  + vm_name
wait_for_task(vm_obj.Reconfigure(config_spec))

Hope it helps.
Cheers.


Fixed the broken Get-VMNetworkAdapter* commands.

The commands used to gather the virtual NIC data were not working for the host because they were incorrectly referencing the DeviceID.  I updated the commands so they would gather the correct information.

Device ID does appear to be available for Host VNics ( -ManagementOS):
PS C:\WINDOWS\system32> get-vmnetworkadapter -ManagementOS | fl *

VMCheckpointId                          : 00000000-0000-0000-0000-000000000000
VMCheckpointName                        :
VmmqQueuePairs                          : 16
VmmqQueuePairsRequested                 : 0
IsManagementOs                          : True
MacAddress                              : 00155D0DDE3A
DeviceId                                : {70EBEFF6-10CD-400D-A29F-C6B4C0515E98}

Hi Tom,
Thanks for the reply.  I'm sorry, I should have been more clear.  You are correct that the Get-VMNetworkAdapter command itself does have DeviceID property available.  My effort was to show that all of the other commands that start with Get-VMNetworkAdapter (Get-VMNetworkAdapterAcl, Get-VMNetworkAdapterExtendedAcl, Get-VMNetworkAdapterIsolation, Get-VMNetworkAdapterRoutingDomain, Get-VMNetworkAdapterTeamMapping and Get-VMNetworkAdapterVlan) do not have the DeviceID property available.  Instead, these command reference the ParentAdapter like shown in the example below:
PS C:\> Get-VMNetworkAdapterAcl -ManagementOS | fl *

Action            : Allow
Direction         : Inbound
LocalAddress      :
LocalAddressType  : 0
MeteredMegabytes  :
RemoteAddress     : <IP_ADDRESS>
RemoteAddressType : IPv4
ParentAdapter     : VMInternalNetworkAdapter, Name = 'TestvNic'
IsTemplate        : False
CimSession        : CimSession: .
ComputerName      : TestNode01
IsDeleted         : False

Action            : Allow
Direction         : Outbound
LocalAddress      :
LocalAddressType  : 0
MeteredMegabytes  :
RemoteAddress     : <IP_ADDRESS>
RemoteAddressType : IPv4
ParentAdapter     : VMInternalNetworkAdapter, Name = 'TestvNic'
IsTemplate        : False
CimSession        : CimSession: .
ComputerName      : TestNode01
IsDeleted         : False

With the current code, all of the above mentioned commands error out.  I have suggested an update that will get the name of the vnic and reference that within the ParentAdapter property to get the correct information.

@tmolenh, any update here?  I have a lot of customers that use this module, but at times I must ask them to manually pull certain data due to this issue.  Thanks for any assistance you can provide here.

I'm no longer with Microsoft, so I am unable to assist.


LazySizes in Shopify Throwing TypeError

Hello, we have a shopify instance (shop.thursby.com) that uses lazysizes, and in the console, I'm seeing type errors.

Is there a way to fix this? What other information might you need to address the issue?
Thank you!

Without seeing the page with this error I can't reproduce your issue and without reproduction I can't help you.
As you also see the error itself is thrown inside of theme.js and not lazysizes, but this has nothing to say.


feature; completable Futures utility

TL;DR
Provides a completable future that completes async and returns the result or an error
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/297
Follow-up issue
NA

Codecov Report

Merging #65 into master will increase coverage by 0.71%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   71.81%   72.52%   +0.71%
==========================================
  Files          56       57       +1
  Lines        2384     2424      +40
==========================================
+ Hits         1712     1758      +46
+ Misses        533      528       -5
+ Partials      139      138       -1

Impacted Files
Coverage Δ

futures/future.go
100.00% <100.00%> (ø)

sets/generic_set.go
93.47% <0.00%> (-1.09%)
:arrow_down:

cache/auto_refresh.go
83.92% <0.00%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6c173d...0fd206f. Read the comment docs.


Unconfirmed Transactions: How They Should Affect Balance

Incoming/outgoing Unconfirmed Transactions

[ ] should not add to balance until the transaction is confirmed
[ ] should subtract from balance as soon as the transaction is made (without citing for confirmation)

moved to bitcoin kit repo, https://github.com/horizontalsystems/bitcoin-kit-android/issues/144


java.lang.NoClassDefFoundError: com/github/kilianB/Require

java.lang.NoClassDefFoundError: com/github/kilianB/Require

How is this closed? I'm still facing the same issue.

someone solved it ?

solved by define a new model..

I solved it. add to your pom:

    <dependency>
        <groupId>com.github.kilianB</groupId>
        <artifactId>UtilityCode</artifactId>
        <version>1.5.7</version>
    </dependency>
    <!-- Required for perceptive hasher -->
    <dependency>
        <groupId>com.github.wendykierp</groupId>
        <artifactId>JTransforms</artifactId>
        <version>3.1</version>
        <classifier>with-dependencies</classifier>
    </dependency>


option for only showing the code

I think in terms of safety and responsibilities I would prefer to also have an option where it only shows the code and then it is the responsibility of the user to copy and paste (parts of) the code into the executable cell.
Is that technically possible?
If you agree, but if you want to keep the option to directly execute, could we have different jupyter magick for this?
For example:
%bia-tischi would not execute the code, but %bia-bunny would?

could we have different jupyter magick for this?
For example:
%bia-tischi would not execute the code, but %bia-bunny would?

Yes, that makes a lot of sense! One would need to refactor this function:
https://github.com/haesleinhuepf/bia-tischi/blob/1354c4def483803e12f2d537dc8237eb1aea4606/src/bia_tischi/_machinery.py#L10C3-L30C3

I'd say having two %magic commands is great: one for generating code only and one for generating+ executing

OK, I will work on this in the coming days.


fix harvesting node not showing while activated on different devices

rebases #1541
fixes #1106

The fix is not working, after try on it.
I working some fix now.


[DOC] add info about meson build system

Hi, we are developing meson build system (parser for meson.build and meson_options.txt files with own DSL). Now we have our mime-type in xdg-mime-info database and our own language highlighter in GtkSourceView.
Reference: http://github.com/mesonbuild/
Reference: http://mesonbuild.com/

I'm not sure what this issue is about. https://github.com/martine/ninja/wiki/List-of-generators-producing-ninja-build-files mentions meson.

@nico hm, I looked at github.io page and couldn't find it. Can you update it?

You mean http://ninja-build.org ? That doesn't have an exhaustive list of generators.  https://github.com/martine/ninja/wiki/List-of-generators-producing-ninja-build-files is that list, and it contains it.
(Maybe ninja-build.org could link to that wiki though.)


Add command to update a local Docker Go repo

Adds a dockerupdate command alongside dockerupdatepr.
dockerupdatepr requires you to put your branch on a remote for the -branch flag, and runs Git operations in a temporary Git directory. This is not very useful when bringing up a whole new major.minor version of Go, because initial work is done locally, and it will likely be manually worked on and submitted as a dev PR.
dockerupdate works on an existing Git repo and doesn't run any Git commands, so it's easier to work with when developing nontrivial changes.
Both commands share UpdateFlags.

For SubmitUpdatePR, PRFlags embeds UpdateFlags.
For RunUpdate, UpdateFlags is used, plus one directory arg. (It doesn't seem worthwhile to create a command arg struct to contain the single dockerupdate-specific arg.)

@microsoft/golang-compiler PTAL, I'm using this to work on https://github.com/microsoft/go/issues/268.

Incorporated into https://github.com/microsoft/go-infra/pull/12


[Feature] Adding setup.py

In this PR, I'm adding the setup.py script for the installation of mip. This should lower the entry bar for mi-prometheus ( python setup.py install) and let external users easily use it. It should also allow to upload the framework to PyPI (by creating a wheel with python setup.py sdist bdist_wheel - though I haven't tested it).
The main points are:

Moved workers/, problems/, models/, utils/ into a directory miprometheus/. This is a major change which impacts the structure of mip as a Python package. I did this as the use of the setup.py authorizes the user to import the packages & modules of Mi-Prometheus. They are now all under miprometheus/, which enables the user to simply import miprometheus as mip to have access to all classes in his workspace. This is a screenshot of what the user would be able to do:

It is working well, and for now, all models / problems are import-able directly from miprometheus.models / miprometheus.problems respectively. This is due to the fact that all classes (and then modules) are imported from the innermost __init__ to the outermost one.
This may change in the future as it appears that having too many statements in the __init__s is not best practice: See here:

A commonly seen issue is to add too much code to init.py files. When the project complexity grows, there may be sub-packages and sub-sub-packages in a deep directory structure. In this case, importing a single item from a sub-sub-package will require executing all init.py files met while traversing the tree.

So I would support emptying the outermost __init__s, as this could avoid import issues, and force the import statements to reflect more closely the project structure.
On a similar topic, I would also support simplifying the problems directory (especially seq_to_seq) as it is too nested for me. My argument is that the setup.py exposes miprometheus as a regular API to the user (like most packages out there). While I agree that this is not the main use-case of miprometheus (which is through the scripts, see point below), we still should maintain it as it may be how a user would test integrating a new problem / model in miprometheus (with first the use of a decorator @register and then cloning the repo to fully integrate it in the source code).
For the others entities in miprometheus, it is not as critical as the directories aren't as nested. An import like from miprometheus.models.mac import MACNetwork is sufficiently short & clear to me.

The script also specifies the entry points of the workers so that the user can now use them from the command line in a simple way:

This is an example with mip-offlinetrainer --h and similarly, you'll have mip-gridtester-cpu etc.
:warning: As of now, there is an error related to the paths of the default_config files (they are treated as absolute paths), which should be easily fixable. Also, the setup.py has the option to install datafiles:
package_data={ # 'mip.config': ['default_config.yaml'] }
So perhaps that gives the option to list here some configs.yaml files that will be copied over with the data and thus accessible from everywhere. I'll look into that later on.

I have tested the python setup.py install command using a Docker image of Ubuntu 16.04. One main thing is that we should not use pytorch from pip, as it causes errors that shouldn't appear (I have seen this on others python projects as well). So installing pytorch from miniconda and then using the setup.py to install the rest of the dependencies works and does not cause issues. I have tested a run of MAES on SerialRecall & a run of SimpleConvNet on MNIST, which both converged and were tested with mip-tester.

I have encountered some (easily fixable) errors, related to matplotlib, and the backend it uses (related to PyQt5). The unique class which causes this is TimePlot (and I strongly advocate that it gets refactored to address this + becomes more efficient).

I have also reduced the number of dependencies of mip. Mainly I removed progressbar2 & pandas + the call to opening logger_config.yaml in the base workers classes (the content of this file is now directly a dict variable contained in the classes that use it, Worker & GridWorker).
The minimal dependencies needed to use mip are:

'pytorch=0.4.0',  # 0.4.1 not fully tested
'torchvision<0.2.0',  # ran in some issues with 0.2.1
'torchtext',
'tensorboardX',
'matplotlib',
'numpy',
'PyYAML',
'tqdm',
'nltk',
'h5py',
'six',
'pyqt5==5.10.1'  # ran into issues with higher versions

I recommend that you look at the setup.py to see which information are located here.
Feedback welcome!
Note:

I have only tested the script with Python3.6 .
I have included the readthedocs.yml file needed to build the doc, but as of now, readthedocs.io is still affected by the GitHub outage. So waiting for it to be back to normal to test the doc build.

Shoud close #5

Thanks for that great pull request.
Generally, I think that:
a) let's stay with the current content of the outermost init file for now,
b) creating an issue regarding the absolute paths of configuration files.


Support for Web Cryptography API

This is on the horizon: http://www.w3.org/TR/WebCryptoAPI/
It would be great if bitauth was ready and supporting this as soon as implementations start to emerge in browsers.

+1, great idea.  I'll be pursuing this shortly.

The secp256k1 curve unfortunately isn't supported. Also, with browser crypto.subtle support, I don't think there wouldn't be a need for this library, as it would be provided by the browser.

You can just specify the secp256k1 as ECDSA parameters: http://www.w3.org/TR/WebCryptoAPI/#dfn-EcdsaParams
Just perusing this document, this API is similar to BouncyCastle's.
I can't help but notice that crypto.subtle doesn't support ECDH shared secrets, but neither does WebCryptoAPI, so maybe I can sweet talk you guys into going the extra mile?


Bump cpubuilder dockerfile image to newer multi-arch version.

In https://github.com/iree-org/base-docker-images/pull/11, I replaced the single-architecture cpubuilder_ubuntu_jammy_x86_64 dockerfile with a multi-architecture cpubuilder_ubuntu_jammy dockerfile. This checks that the linux/amd64 platform build of the dockerfile still works for our usage.

Oh, I forgot to merge this. At least this validated that the new multi-arch version didn't break these workflows. Now that https://github.com/iree-org/base-docker-images/pull/14 has landed, I can just bump all the dockerfile images to the latest, including the *San workflows.

Updated all the dockerfile refs. Will wait until the builds complete to merge (or I'll forget about this again and merge it later :P)


Update to the latest syntax for layer and port

This PR needs to have its open-components-database reference updated. I believe version v3.15.0 will be the target version.

Here is the version that will support 3.15.0 - we should update the submodule to this:
https://github.com/JITx-Inc/open-components-database/commits/v3.15.0/

Actually - never mind. The OCDB is managed through SLM so there is nothing to change here.


Pach

Why:
Closes [issue link]
What's being changed:

Check off the following:

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

Комм

This is a poor PR request, please update it with reasoning as to why this should be accepted.


Activate Bound Selection demo

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Consume topics on MacOS build 1.5.1

Hey!
On released version 1.5.1 (arm62 and x86_64) i can't consume any topic: After click "lens" button on topic list, nothing happens.
On version 1.5.0 all works fine.
Configuration:
MacBook Pro (13-inch, M1, 2020)
MacOS 12.2.1 (21D62)

Hi. Thanks.  I'll take a look on this weekend

If you need any additional information, I'll be glad to help.

@mik-sher try to run https://github.com/RPG-18/plumber/releases/tag/v1.5.2

Can i close issue?

@RPG-18 Sorry for the long reply. Everything works fine now (version 1.5.2 arm62 and x86_64), thanks a lot 👍


pxc_strict_mode=ENFORCING

I have a question.
I use PXC5.7.
pxc_strict_mode  is 'ENFORCING';
I try to Execute 'skeema diff'.
The following error occurs.
 [ERROR] Skipping xxxx Unable to lock temporary schema on xxxx:3306: Unable to acquire lock

Can I use it without LOCK?
https://github.com/skeema/skeema/blob/611b1b9fec33098b21b5e62c1e948f95deffff9a/target.go#L362
regards.

Thank you for trying out Skeema!
The GET_LOCK call is an important safety mechanism to prevent two simultaneous executions of Skeema from interfering with each other in a dangerous way. It's far from a comprehensive solution, since the locks are only held while Skeema performs operations in its temporary scratch-space db, and not while a long ALTER TABLE runs, for example. But it does prevent the worst class of possible collisions, where Skeema's diff logic could do the wrong thing if 2 copies of Skeema are stomping on each others' scratch space operations.
So removing the locking is risky, unless you have some other solution in place to prevent 2 simultaneous copies of Skeema from running at once. And I should also mention that Skeema has not been tested on Galera-based clustering solutions (including PXC) at all, so PXC isn't considered supported yet anyway.
That all said, if you want to give this a try (at your own risk!) you can compile Skeema with the locking calls removed. Edit target.go and replace the last two methods in the file with:
func (t *Target) lockTempSchema(maxWait time.Duration) (*sql.Tx, error) {
    return nil, nil
}

func (t *Target) unlockTempSchema(tx *sql.Tx) error {
    return nil
}

You'll also have to remove the import of errors at the top of target.go. After that, go install should be able to compile Skeema successfully with the locking removed.
If you give that a try, please let me know how that goes! If that's currently the only blocker around using Skeema with Galera/PXC, I can definitely make the locking configurable. But I suspect there may be other caveats, and Skeema may also need addition functionality to support both possible values of Galera's wsrep_OSU_method option.

Just wanted to check in on this. Any luck using Skeema with PXC with the above hack, or did you encounter any other problems?


[beta] QA of Object Oriented Programming Section

This was originally opened for one specific challenge, but noticing a couple of other things along the way in this section so just going to consolidate them in this one issue (a comment for each). @HKuz, if there is perhaps already another issue for this, I'm guessing you'd be the one to know, I did a quick search but could not find anything.
Overall - I think these challenges are great! Definitely a major improvement over the existing OOP section!!!! Well done to whoever created them!!
General Comments / Issues:

It seems that in this section, once you've solved a challenge, you can change or even erase the code, and the challenge will still pass. I've created a separate issue for this: #13021
It would be nice to get outputs logging to the embedded challenge console so people can see the results of their code. We're often calling methods that log things to the console in these challenges, but they are not designed to log in the in-page console.

Verify an Object's Constructor with instanceof:

For some reason, the linter throws the warning Expected an assignment of function call and instead saw an expression when the correct solution myHouse instanceof House; is written. The challenge does pass though.
Also, the seed code itself has a linter warning on load for a missing semi-colon.
Lastly on this one, not sure if it's intentional, but it might be a little confusing - in previous challenges in this section, constructors are defined like this:

function House(numBedrooms) {
  this.numBedrooms = numBedrooms;
}

but in this challenge they switch to this syntax:
let House = function(numBedrooms) {
  this.numBedrooms = numBedrooms;
}

This isn't so much an issue as a possible source of confusion. If we do use both ways, I think that we should specifically note the difference, otherwise, just keep the syntax consistent throughout the section. Probably introducing both is a good idea though I think.

Verify an Object's Constructor with instanceof:

For some reason, the linter throws the warning Expected an assignment of function call and instead saw an expression when the correct solution myHouse instanceof House; is written. The challenge does pass though.
Also, the seed code itself has a linter warning on load for a missing semi-colon.
Lastly on this one, not sure if it's intentional, but it might be a little confusing - in previous challenges in this section, constructors are defined like this:

function House(numBedrooms) {
  this.numBedrooms = numBedrooms;
}

but in this challenge they switch to this syntax:
let House = function(numBedrooms) {
  this.numBedrooms = numBedrooms;
}

This isn't so much an issue as a possible source of confusion. If we do use both ways, I think that we should specifically note the difference, otherwise, just keep the syntax consistent throughout the section. Probably introducing both is a good idea though I think.

Understanding Own Properties:
Just an observation on this own, and curious to see what other opinions are - but this challenge seems to revolve a bit more around for...in rather than hasOwnProperty, and for...in is not adequately explained in this section as of yet.
If we are assuming people have worked through the rest of the curriculum, I think this is OK, because this is at least covered in the Basic Data Structures section, but if we intend the sections to be independent of one another and not require prerequisites than we may want to revisit this? Not sure... just a thought.

Understand the Constructor Property:
This challenge will pass with either solution:
function joinDogFraternity(candidate) {
  if (candidate instanceof Dog) {
    return true;
  }
  return false;
}

// OR:

function joinDogFraternity(candidate) {
  if (candidate.constructor === Dog) {
    return true;
  }
  return false;
}

I don't see this as being a major problem since instinct dictates that people will try the solution suggested to them first, however, I can also see this being an issue being opened down the line when a savvy camper tries both ways and wants to point this out.
We could just add a test case that says "message: 'your solution should use the constructor property'" and verify with a regex.

Use Inheritance So You Don't Repeat Yourself:
This challenge I think is a bit confusing - mostly just with the title. The title refers to Inheritance, however, the concept is not distinctly covered in the challenge - I realizes it ties in to the next challenge, so campers will quickly find out, but perhaps the concept should be introduced in this challenge? Also, at the end of the challenge, we've made an Animal supertype, but we're left a little confused, because Animal, at this point, does not tie in to Cat and Dog. To quell the confusion a bit, I think we could make a slight change:
This bit is in the the challenge after this one:

This and the next challenge will cover how to reuse Animal's methods inside Bird and Dog without defining them again. It uses a technique called inheritance.

Perhaps, to tie things in, a higher level overview similar to this, can instead be given in this challenge that ties all 3 together so it's understood they are a sequence, and actually introduces the concept that the challenge is titled after, and makes it clear that at the end of this challenge we are not yet done.

Inherit Behaviors from a Supertype:
Super minor issue here - part of the seed for this reads as follows:
// Add your code below this line

let duck
let beagle

duck.eat(); // Should print "nom nom nom"
beagle.eat(); // Should print "nom nom nom"

This throws a linter error. I would propose the following instead:
Super minor issue here - part of the seed for this reads as follows:

let duck; // change this line
let beagle; // change this line

duck.eat(); // Should print "nom nom nom"
beagle.eat(); // Should print "nom nom nom"

@no-stack-dub-sack - these are all great points, and I haven't seen any issues for this section although I was offline a chunk of yesterday. Thanks for going through this section in such detail 👍 Here are my thoughts (tl; dr - I agree with everything you brought up):

Use Dot Notation to Access the Properties of an Object: tests should pass if someone uses one console.log statement.
Verify an Object's Constructor with instanceof: we should fix the missing semi-colon and be consistent about the way House is defined. While there are multiple ways of doing things in JS, no need to confuse people learning this for the first time.
Understanding Own Properties: On your point about the for...in - we generally took the view that it's okay to use concepts already covered in the curriculum. Campers can jump around as they want, but there is a flow to the topics. (Otherwise, challenges can get long/repetitive if they have to re-cover things before getting to the point). That said, I think it may be helpful to put in a note right under the example that briefly explains the syntax ("Recall that for...in does ...)
Understand the Constructor Property: agree on your point to add using the constructor in the instructions
Use Inheritance So You Don't Repeat Yourself: yup, good points to tie the challenges together better
Inherit Behaviors from a Supertype: we should definitely add the semi-colons, and the comments are helpful, too

Let me know if you want to work on these - I'm jumping into another section (could work on this in a day or two), or we could open this up as help wanted 😄

@HKuz Cool, thanks! I'm going to finish up the section, add a few more comments if I have any, and then we can decide at that point, but I'm thinking opening it up to Help Wanted will prob be best. Will keep you posted.

Add Methods After Inheritance:
This challenge is slightly confusing because of the following test case:
Dog should have the bark() method as an own property.

The solution for this part is looking for this:
Dog.prototype.bark = function() {
    console.log('Woof!');
};

and while Dog.prototype.hasOwnProperty('bark') does return true (so this is, of course, correct), the source of the confusion comes from here (which is from Iterate Over All Properties):

With the information campers are given up to this point, they would likely assume that to make that test pass, they would have to define the bark method, directly on the object instance  of Dog rather than on the prototype.
The distinction is that for instances of Dog, bark would not be an own property, but that it is andown property of Dog.prototype. So, this is a little confusing for someone just getting introduced to these concepts.
The simplest solution would be to change the test case to say:
Dog.prototype should have the bark() method as an own property.

Although, maybe a quick explanation is in order to let campers know that a prototype property of a prototype is actually an own property of that prototype? Wow, that's a tongue twister, so yeah, its a bit confusing, and I'm not sure what the best way to allay that confusion is...

Use Closure to Protect Properties Within an Object from Being Modified Externally:
Small typo:

I think supposed to be "...outside of bird's definition." ?

Understand the Immediately Invoked Function Expression (IIFE):
No major problems with this challenge - just a suggestion - while I realize anonymous IIFE's are the more common pattern (and the pattern that's used in the next challenge), perhaps here is a good place to mention that IIFE's can also be named, and that this might even be considered better practice (although less commonly seen) because it can make debugging easier since errors will be harder to track down if there are many anonymous IIFEs.

Use an IIFE to Create a Module:
I'd like to get some thoughts on this one... my thinking is that I don't think the challenge does an adequate job of explaining why an IIFE makes sense in this scenario. Here, there does not seem to be a benefit to organizing these mixins into an IIFE.
The solution calls for:
let funModule = (function() {
  return {
    isCuteMixin: function(obj) {
      obj.isCute = function() {
        return true;
      };
    },
    singMixin: function(obj) {
      obj.sing = function() {
        console.log("Singing to an awesome tune");
      };
    }
  };
})();

so you can do something like:
function Bird () { }
let duck = new Bird();
funModule.singMixin(duck);
duck.sing();

however, the following allows the same thing, in a less verbose way, and without invoking a fucntion, simply by just defining the object the IIFE returns:
let funModule = {
  isCuteMixin: function(obj) {
    obj.isCute = function() {
      return true;
    };
  },
  singMixin: function(obj) {
    obj.sing = function() {
      console.log("Singing to an awesome tune");
    };
  }
};

The challenge says this:

The advantage of the module pattern is that all of the motion behaviors can be packaged into a single object that can then be used by other parts of your code.

But since this does not require an IIFE at all, I guess I would question the idea of introducing the concept here, or finding a stronger way to tie it in. This might be confusing / misleading because campers might think they NEED to do this to achieve this pattern when that's not the case.
Any thoughts?

@no-stack-dub-sack I agree that this isn't the best example of an IIFE. Would it be better if we provide a module as an example? I think the core value of the IIFE is that you can create private properties and methods of your objects. It is really useful for decreasing the ways others can (mis)use your software in the hope that it makes things more reliable.
For example, you might have a small utility module for your vanilla js application where you only want to expose a few public methods since the rest are about to be changed/removed and would cause trouble if they got used in other parts of the codebase.
This site has a lot of good examples: https://toddmotto.com/mastering-the-module-pattern/

@Greenheart Well in the last of the 2 IIFE challenges here, it is introduced as a module pattern, and I don't have an issue with that, I just think it could be more clearly explained why use an IIFE, and that an IIFE does not necessarily have to be present to achieve the same functionality. I think this says it all:

core value of the IIFE is that you can create private properties and methods of your objects. It is really useful for decreasing the ways others can (mis)use your software in the hope that it makes things more reliable.

If we can just explain this, and let the user know "you can achieve the same functionality without an IIFE, but with an IIFE is a better way, and here's why...".
The current instructions say:

An immediately invoked function expression (IIFE) is often used to group related functionality into a single object or module.

To this let's just add: "While the same functionality can be achieved without an IIFE, the core value of the IIFE, in this context, is that you can create private properties and methods of your objects. This can be very useful for decreasing the ways others can (mis)use your software and make things much more reliable."

@no-stack-dub-sack This! :point_up:
I took the freedom to compile it and make some minor changes. Something like this is what we need :blush:
An <dfn>immediately invoked function expression</dfn> (IIFE) is often used to group related functionality into a single object or module. While the same functionality can be achieved without an IIFE, its core value in this context is that you can create private properties and methods for your objects. This can be very useful for decreasing the ways others can (mis)use your software, and make things much more reliable.

I'll go ahead and update the tests for Use Dot Notation to Access the Properties of an Object!

Continuing with https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-275974706.
The first problem is because the linter doesn't want us to write an expression that essentially is dead code (since we neither call a function or create a variable). To fix this, I suggest we assign the result to a variable.
The second and third problem could be fixed by changing the seed to use the code you proposed.
I'll fix this :smile:

Fixing https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-276268534 :smile:

Fixing https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-276565338

I'll fix https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-276245864

I noticed that no challenge have solutions - I could try adding them

Understanding Own Properties:
The tests currently allows use of the built in method Object.keys(), but I think campers get better practice by using for...in combined with Object.hasOwnProperty().
I'll submit a PR for this.

Object Oriented Programming: Iterate Over All Properties:
Just discovered that this challenge has the same problem - it allows use of Object.keys() As I still don't think this should be allowed in these challenges, I'll create a PR adding the test case from this line
function Dog(name) {
  this.name = name;
}

Dog.prototype.numLegs = 4;

let beagle = new Dog("Snoopy");

let ownProps = Object.keys(beagle);
let prototypeProps = Object.keys(Dog.prototype);

Fixing this right away :smile:

Object Oriented Programming: Change the Prototype to a New Object
Insufficient instructions and tests. Should describe and eat just exist on the prototype, or should they be functions?
I think we should add tests to verify that they are functions.

Object Oriented Programming: Remember to Set the Constructor Property when Changing the Prototype
This challenge should probably format "constructor property" as constructor property to increase readability. What do you think?

A general suggestion is that we replace let statements with const. This video by @mpj explains it well!

Object Oriented Programming: Reset an Inherited Constructor Property:
Minor typo: supertype's should probably be supertype's

Object Oriented Programming: Use an IIFE to Create a Module:
Minor typo: "Here is a example using it:" should be changed to "Here is an example using it:"

I'm working on a PR for https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277447340

Another general suggestion: I think we need to change the examples so campers can't just copy the example and change 1-2 things to complete the challenge.
The examples should show the concept, but not use properties or methods that are used by the challenge itelf. This ways, I think people will learn more from each challenge.

Ditch Custom CSS for Bootstrap
On Sat, Feb 4, 2017 at 9:11 PM, Samuel Plumppu<EMAIL_ADDRESS>wrote:

Another general suggestion: I think we need to change the examples so
campers can't just copy the example and change 1-2 things to complete the
challenge.
The examples should show the concept, but not use properties or methods
that are used by the challenge itelf. This ways, I think people will learn
more from each challenge.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277463832,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX9USApjW3rwocbHWe2yoFLV0RegbkCCks5rZL9SgaJpZM4LxApU
.

@iansibindi It looks like you're subscribed to all messages of this repository. To disable it, visit https://github.com/freecodecamp/freecodecamp and click "Unwatch" in the top right.
Sorry for the inconvenience!

@Greenheart I'm finding it a bit hard to follow each of these even with the links - I guess I perhaps should have opened an additional issue for each one! I meant to add a checklist the original comments too.
I'll start doing an initial review of the PRs, but do you think you could add a comment to each of the original comments if they have a PR open for them so we can track which issues have been addressed?

@no-stack-dub-sack Haha I've got to admit I can't follow it myself either, I just kept posting! :smile:
I'll add a big "PR open" (with link to it) to the beginning of each comment that is WIP/fixed.

@Greenheart Perfect! Thanks! I've reviewed the first several PRs

I'll fix https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277457211

I'll fix https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277459744

I'll fix https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277447340

@no-stack-dub-sack Alright, still a few things to do here but I resolved some of them today!

Oops, closed it again :laughing:

@Greenheart Whoa! A throwback - is there anything left to do in this one? Some major improvements were made!

@no-stack-dub-sack I don't know - there are some things left to do according to the comments above, but they might have been resolved in other places?

I think its not fixed yet.  Let me know if you think otherwise

Great work everyone. I'm closing this issue and we can reopen more specific issues as they crop up.