  Normally I can let it go but I know I'm going to get really confused with stuff like this:
sense.show_message("Stella is a bad cat.", text_colour=textColor, back_colour=backColor)
Is it possible to use localiZation to translate any common spelling differences in the api?  Add aliases or something?  Or will I just have to adapt to the queens english?

Adapt, we have to do it the other way all the time, so annoying. It's nice
to have it the English way for a change.
;-)
Ok so it's not up to me.
 Normally I can let it go but I know I'm going to get really confused
with stuff like this:
sense.show_message("Stella is a bad cat.", text_colour=textColor,
back_colour=backColor)
Is it possible to use localiZation to translate any common spelling
differences in the api? Add aliases or something? Or will I just have to
adapt to the queens english?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RPi-Distro/python-sense-hat/issues/85, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ALALtwtCpVvWLzZWMpVW1wICJ8JlER7aks5tkPHKgaJpZM4TC3hl
.

Aoxo,
Aside from your rudeness and ignorance, you can make the changes yourself. Simply clone the repo, copy the sense_hat directory to your project’s directiry, and make the edits you deem necessary. Because the module is in your projects base directory, your import of sense_hat will use your local copy before checking the other library paths.
Of course you could submit a pull request with your changes too so that other people who are offended by the British can benefit as well.
While you’re making the change from colour to colour, would you mind creating an alias to tsvet? Russian is my native language (even though I have lived in the states for most of my life) and your American ignorance offends me so why not add an alias to satisfy my language requirements? Also, can you add farbe because my adoptive grandfather was German? And farge because my adoptive grandmother was Norwegian?
It’s only fair, right?
The easiest solution is to grow up but that is unfortunately difficult for some people to grasp.

-AlmightyOatmeal
I asked a question.  I didn't insult anyone or any nationality and if I did I surely didn't mean to.  Ignorant?  Yes, well it WAS a question wasn't it?  Am I expected to know the answer to my own question?

I'm sure the issues section for the Sense hat API isn't the place to vent your hostility.  Even if you did somehow manage to weave an answer to my question into your string of insults.

Aoxo,
You have a solution yet you still complain.
You don’t feel your question was insulting when it was; you have no right to tell someone else how your words come across; that shows ignorance. You should choose your words carefully next time.
My words were more than fair — if you don’t like colour and want it changed to color then you should consider other nationalities.

You are not the authority on what my words mean, I AM.  Your perception of what they mean to you is yours, but that's it.  It is not unreasonable for me to ask if there is a way to work around my language issue.  I didn't ask all of the United Kingdom to stop using the word Colour.  I didn't ask the developers to add or change features.
I'll just shoot to the bottom line here, because any more discussion with you would just be feeding a troll.    You can take whatever offense you took and shove it.  I don't really care if you were offended or not because I think any normal person reading my post was able to process my question without taking offense to the notion of translation.
I'm sorry that your existence is so sad that you must scour the Internet for things to rage about and demean people who know less than you.

To everyone else:
I'm sorry that I've been so far unable to resist a troll, an that the Sense Hat issues forum has turned into a nerd fight.  If you're reading this then I'm sure that drama isn't what you clicked for.  Hopefully no one is reading, and if you are...I pity you.
I got a Sense Hat to learn more about code, not because I already know everything.  I'm sure this is true for a number of the people who use the product.  It's pretty sad that some people feel a need to personally attack people who ask questions, if even dumb questions.  This kind of thing happens alot.  It does very little to encourage people to challenge themselves to learn more about something technical when asking a simple question somehow becomes an invitation for personal insults from a socially inept know-it-all.

Being someone who replied and hence gets to read these.
I am from the UK, I am English.
Given we say the same about the way you (Generalised Americans) mangle the
language with you lack of U's, Z instead of S's and other simplifications,
I didn't take offence, but read it in good humour.
It is a problem as we normally have to cope the other way around, teaching
kids to spell colour as colour and then have to type color.
It's a good suggestion.
P.S. there is no reason other languages could be added, but it takes
someone to do the 'fix' and create a pull request.
One thing though this is used as standard code on the ISS and used though
schools in then UK, EU with respect to to the ESA projects.
So I don't think changes will be added lightly, mainly as changing it on
the ISS maybe a bit troublesome?  At least not while competitions are
running.
But the RPF maintainer(s) may respond at some point.
I know there is another topic on adding/changing other language characters
to the text image files for the scrolling text.
Have fun and no offence taken or hopefully given :-)
On Tue, 10 Apr 2018, 21:34 Aoxo<EMAIL_ADDRESS>wrote:

To everyone else:
I'm sorry that I've been so far unable to resist a troll, an that the
Sense Hat issues forum has turned into a nerd fight. If you're reading this
then I'm sure that drama isn't what you clicked for. Hopefully no one is
reading, and if you are...I pity you.
I got a Sense Hat to learn more about code, not because I already know
everything. I'm sure this is true for a number of the people who use the
product. It's pretty sad that some people feel a need to personally attack
people who ask questions, if even dumb questions. This kind of thing
happens alot. It does very little to encourage people to challenge
themselves to learn more about something technical when asking a simple
question somehow becomes an invitation for personal insults from a socially
inept know-it-all.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RPi-Distro/python-sense-hat/issues/85#issuecomment-380237531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALALt4PFU9XndmYHF2JpI2HRZT6Jt-aMks5tnRdJgaJpZM4TC3hl
.


CoinGecko price

[ ] Get coingecko price of token
[ ] Do NOT fail if we cannot get price
[ ] Add it to the sheet (or add N/A)

Superseded by #61


e2e: Stick to a stable OCP version

A number of jobs in the OCP end-to-end lane are failing due to a failure in the operator deployment.
Logs show an error during the pull of the image from the internal registry:
2024-06-26T12:39:09.9431067Z             "message": "Failed to pull image \"image-registry.openshift-image-registry.svc:5000/openshift-sriov-network-operator/sriov-network-operator:latest\": reading manifest latest in image-registry.openshift-image-registry.svc:5000/openshift-sriov-network-operator/sriov-network-operator: authentication required",

job-logs.txt
Sticking to a stable version of OCP can mitigate the risk of flaky lanes.
cc @SchSeba

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

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

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5455

Relevant Lines:
13511

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5455

Relevant Lines:
13511

💛  - Coveralls

/hold
Still seeing errors like:
Error: logging into "default-route-openshift-image-registry.apps.opr-ocp2-1.lab": invalid username/password

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

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

Details

0 of 0   changed or added relevant lines in 0 files are covered.
869 unchanged lines in 13 files lost coverage.
Overall coverage increased (+0.6%) to 40.962%

Files with Coverage Reduction
New Missed Lines
%

controllers/drain_controller.go
3
67.42%

pkg/host/internal/lib/netlink/mock/mock_netlink.go
10
90.1%

pkg/host/internal/lib/netlink/netlink.go
22
5.88%

pkg/webhook/validate.go
27
64.05%

test/util/util.go
37
42.68%

pkg/apply/merge.go
40
76.02%

pkg/host/internal/network/network.go
61
55.03%

controllers/sriovoperatorconfig_controller.go
64
63.76%

controllers/sriovnetworknodepolicy_controller.go
77
12.13%

api/v1/helper.go
78
73.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
5586

Relevant Lines:
13637

💛  - Coveralls

@SchSeba I added
https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/727/commits/182fbfc01494cb90b884f6a98f08eb98767379d3
to fix the podman login problem. PTAL


add wget/curl prompts to release note pages

Our release note pages include direct download links for Mac, Win, Linux, and Source. However, a wget or curl prompt like those we include on our full "Install CockroachDB" pages, and similar to the Docker link on release notes, would be more beneficial for scripting purposes.

Consider using more space on release note pages to include these commands
Update the Python script that generates the release note Markdown to include this content
Consider cleaning up the URL by streamlining the naming scheme for the binaries

Context: https://cockroachlabs.slack.com/archives/C65RYUY3Z/p1596640325086200

Related to #7948

Closing as docs team determined this isn't a priority, since the prompts are already available on the install pages.


Update docker images to use the ones in nablact namespace

The instructions for measurement use local images. Let's update them to the namespaced images available in docker hub for convenience.
Issue raised in: https://github.com/nabla-containers/nabla-measurements/issues/5

@lumjjb the generate_graphs.bash script does use the namespaced images:
https://github.com/nabla-containers/nabla-measurements/blob/27564d6c940e6c6c7b896098563cc8588b0dc073/graphs_generate.bash#L24
However, the README.md does not specify the namespaced images in its examples of runtest.bash.  I think all that is needed is a README update.  Do you agree?

Yup! Agreed!
On Tue, Sep 18, 2018 at 9:31 AM Dan Williams<EMAIL_ADDRESS>wrote:

@lumjjb https://github.com/lumjjb the generate_graphs.bash script does
use the namespaced images:
https://github.com/nabla-containers/nabla-measurements/blob/27564d6c940e6c6c7b896098563cc8588b0dc073/graphs_generate.bash#L24
However, the README.md does not specify the namespaced images in its
examples of runtest.bash. I think all that is needed is a README update.
Do you agree?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nabla-containers/nabla-measurements/issues/6#issuecomment-422394033,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC6xhrhkuvBK5GA-RCThR6wUXjxCa1t-ks5ucPWfgaJpZM4Wt6HE
.

--
Independent Security Blog - lumexsec.wordpress.com
http://lumexsec.wordpress.com
LinkedIn http://www.linkedin.com/profile/view?id=61656575
GPG Key ID: 795B4468


Add docs page about environment variables

As we've built out more configuration by environment variables, we need to update the docs to explain what functionality is out there.
Examples:
$CUE_FRAME_LOG_DIR
$CUESUBMIT_CONFIG_FILE

Is there a straight forward way to identify a list of the available variable names for users? The two examples you listed are in quite different paths in the repo.

Not really right now. Part of this issue should really be to simply catalog and organize these types of environment variable and configuration settings. I can take a pass through that early next week.


Windows support

Please make this work on windows.
That would be awesome of you.

This would be nice to have though I don't have windows etc (tired of virtual machine bullshit). Any windows guys here that want to work on this?

As of Node 0.6.4 on windows npm is installing Brunch, but when running 'brunch watch' it throws the following error:
The "sys" module is now called "util". It should have a similar interface.
fs.js:734
throw new Error('use fs.watch api instead');
^
Error: use fs.watch api instead
at Object.watchFile (fs.js:734:11)
at C:\Users\Dave\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:81:1
4
at Object.oncomplete (fs.js:810:7)

http://cloudpy.blogspot.com/2011/10/nodejs-windows.html
I have a Python 3.2 script that fixes the issue Fix "The "sys" module is now called "util". It should have a similar interface."
This is the repairnode.py python file
C:\Python32\python.exe repairnode.py
python repairnode.py
python3.2 repairnode.py
Here it is:
import os
class SuperFile:
'''Encapsulates the path and content of a file'''
path = ''
read = ''
def findtextinfiles( rootdir, ext, finds, replaces=None ):
'''Replace text only in necessary files
rootdir = this is a root folder
ext = extension should have period
finds = is list
replaces = is nullable list
Returns list of SuperFiles'''
if ( type( finds ) is not list ):
print( 'finds must be a list' )
return None
superfiles = []
for root, subFolders, files in os.walk( rootdir ):
for file in files:
if os.path.splitext( file )[1].replace( '\n', '' ).lower() == ext:
sf = SuperFile()
sf.path = os.path.join( root, file )
with open( sf.path, mode='r', encoding='utf-8' ) as f:
sf.read = f.read()
i = 0
found = False
for find in finds:
if findtextinline( sf.read, find ):
found = True
if replaces != None:
sf.read = sf.read.replace( find, replaces[i] )
i = i + 1
if found:
superfiles.append( sf )
print( sf.path )
return superfiles
def findtextinline( line, find ):
'''Return true if find is in line'''
lineno = 0
lineno = line.find( find )
if lineno <= 0: return False
return True
def modifyfiles( rootdir, ext, finds, replaces=None ):
'''Replace text only in necessary files'''
superfiles = findtextinfiles( rootdir, ext, finds, replaces )
for sf in superfiles:
with open( sf.path, mode='w' ) as f:
try:
f.write( sf.read )
except UnicodeEncodeError as err:
print( 'UnicodeEncodeError', sf.path )
if name == "main":
modifyfiles(
'C:\Users\[your_user_name]\AppData\Roaming\npm\node_modules',
'.js',
["require('sys')", 'require("sys")'],
["require('util')", 'require("util")']
)

Windows error on "brunch new"
PS C:\drive\projects\brunch> brunch new
fs.js:196
binding.close(fd, callback || noop);
^
TypeError: Bad argument
at [object Object]. (fs.js:196:11)
at [object Object].flush (fs.js:1303:10)
at [object Object]. (fs.js:1347:8)
at [object Object]. (util.js:478:17)
at [object Object].emit (events.js:64:17)
at afterRead (fs.js:1111:12)
at Object.wrapper [as oncomplete] (fs.js:254:17)

Windows error on "brunch new"
PS C:\drive\projects\brunch> brunch new
fs.js:230
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory 'C:\drive\projects\brunch\brunch\index.html'
at Object.openSync (fs.js:230:18)
at Object.writeFileSync (fs.js:618:15)
at Object.createExampleIndex (C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\lib\brunch.js:61:15)
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\lib\brunch.js:23:17
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:61:16
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:37:26
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:37:26
at C:\Users[your_user_name]\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25

Same issue here, I am on 0.8.1...
C:\projects\brunch\rythmn>brunch new
The "sys" module is now called "util". It should have a similar interface.
fs.js:230
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory 'C:\projects\brunch\rythmn\brunch\index.html'
at Object.openSync (fs.js:230:18)
at Object.writeFileSync (fs.js:618:15)
at Object.createExampleIndex (C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\lib\brunch.js:61:15)
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\lib\brunch.js:23:17
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:61:16
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:37:26
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\lib\helpers.js:37:26
at C:\Users\meierott\AppData\Roaming\npm\node_modules\brunch\node_modules\async\lib\async.js:105:25

Try spine.js (with coffee!). It is very well documented and it works on windows.
http://spinejs.com/
https://github.com/maccman/spine
npm install -g spine.app hem
spine app my-app
cd my-app
npm install .
hem server

@joesomozawork as I understand, this is not a backbone.js framework.
Also brunch-beta.1 (would be released in a couple days) would have experimental support of windows.

I am a big fan of brunch so I am looking forward to this! =)

I've set up a virtual machine with windows 8 for the bug.
As I can see in https://github.com/tmpvar/jsdom/issues/360, contextify (jsdom dependency) doesn't support windows because node.js 0.6 doesn't support external C++ modules. This makes brunch not working on windows.
Other issues seem to be fixed for now.

What is the status of this issue?

There were no updates and contextify still doesn't work on windows.

Right now, getting contextify to work on Windows is a fight (if interested, see my notes). I strongly believe that dev tools should work (easily!) cross-platform.
For me, this issue is a showstopper.

Of course this is easy to do, but we need a legit automatic npm way. When the fixed version of contextify will be on npm, the ball will start rolling.

Agreed. Gotta wait then.

Anyway, even if they'll release fix tomorrow, this wouldn't be done because 1.0 needs to be released in March with stable API, there's some unclosed issues. This targets 1.1-april unless someone will provide a patch.
Sorry.

I agree that it should work on every platform. Is there any alternative to
contextify we could implement?
On Mar 6, 2012 4:47 PM, "jsalonen" <
<EMAIL_ADDRESS>wrote:

Right now, getting contextify to work on Windows is a fight (if
interested, see my notes). I strongly
believe that dev tools should work (easily!) cross-platform.
For me, this issue is a showstopper.

Reply to this email directly or view it on GitHub:
https://github.com/brunch/brunch/issues/160#issuecomment-4348005


[SPARK-16839][SQL] Use unresolved CreateStruct instead

A PR against you PR. I have created an unresolved CreateStruct class.

@hvanhovell
test-suite org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite fails to initialize,
basically it boils down to a call to encodeDecodeTest which takes (among other things) an implicit ExpressionEncoder and registers a test case, creation of the encoder somehow creates a struct tree and attempts to observe its datatype, since the expression is not resolved it fails miserably.
This issue was one of the guidelines for transforming CreateStruct into a factory method that introduces named_struct trees, luckily enough in this specific use case the trees were 'born' resolved...
attaching the stack-trace

@hvanhovell
I've managed to fix the initial problem in commit 9e398da4406ad0260c77221e67c20badf181de8f by creating a named struct using the schema of the 'sub' encoder.
there are still some (4) test failures in spark-catatlyst, all related to code that operates directly on a CreateStruct tree without running it through analysis, all of these failures can be fixed by running the code through the Analyzer (in most cases the fix is in the test code) however this concerns me as it implies there might be client-code out there making the same mistake (i.e. expression encoders relied on CreateStruct to be resolved ootb).
do you see any real advantage for this approach over mine?

@hvanhovell
ping :-)

@hvanhovell ,did it pass unit-tests?

It does pass sql tests.

I have not tried hive yet

that was going to be my exact next question :-)

can you explain the issues fixed by the last two commits?
NamePlaceHolder can't appear outside of CreateNamedStruct, so why did you have resort to the previous approach?
what's the difference between transformDown... and transformAll... ? where did the foldable=true made a difference given that the expression is Unevaluable?

I turned the NamePlaceholder into an object, because it was not playing nice with a Star expression. The rule revolving Star expression would start to complain that it could not resolve the Star expression in that location. Also you didn't like the explicit Star handling (which was required to prevent the aforementioned problem).
transformExpressionsDown transforms expression within the current plan node. transformAllExpressions transforms all expressions in the entire plan sub-tree. It was a mistake on my side to use the first one.
Setting foldable to false creates a better error message when the plan cannot be resolved. CheckAnalysis will now indicate that one of the naming expressions is invalid. We could improve the error message here, by checking for a NamePlaceholder explicitly.

@hvanhovell, can you please explain how did the Star expansion failed due to the more generic handling of Star? looking at his code I can't really see how would it care about the ignored name expression.


Call for maintainers

Call for maintainers
Since I haven't had time to maintain sodiumoxide lately, I think it is time for
someone else to take the reins. There are some outstanding pull-requests and
open issues and even though sodiumoxide is usable as is, I feel bad for
everyone contributing when I don't have time to merge, or even look at, their
changes.
In this document I'll try to explain the background and philosophy of
sodiumoxide and also what I'm looking for in a maintainer.
Background
When I started to learn rust (back in the 0.x days, when pointers still had
sigils) I decided to implement a network service as my learner project. For
that service I needed some cryptographic functionality, so I made some bindings
to libsodium since the cryptographic ecosystem of rust was basically
non-existent at the time.
After a while I realized that good, and easy to use, cryptographic bindings
were something that the whole rust community could make use of. Also, by making
one of the first cryptographic libraries for rust consist of relatively safe
primitives there was an opportunity to make other rust projects keep a higher
cryptographic standard than in many other languages. This might sound
far-fetched, but in my experience many developers unfamiliar with an API will
read the documentation and experiment until they have something that seems to
work. The main issue of course is that in cryptography something that seems to
work can still fail in catastrophic ways. I believe the right solution for that
is to make the APIs as fool-proof as possible, and NaCl/libsodium has done a
lot of work in exposing those kinds of APIs.
The main box/secretbox abstraction is a really nice one, and even though it
doesn't protect against misuse of nonces, the abstraction protects against a
lot of potential errors. This can be contrasted to just giving a programmer
without cryptographic experience raw access to block ciphers, cipher modes,
MACs, asymmetric cipher and hope that they will magically combine these
primitives into something secure.
By making it easy to use secure primitives in rust, my hope was that authors
looking to use cryptography would default to using these primitives.
A bindings library per-se isn't that big of an achievement, but I saw no
need in reimplementing NaCl in rust at the time. This might be a fun future
project idea though.
Philosophy
The basic philosophy of sodiumoxide is the same as of NaCl. Expose secure and
easy to use primitives by default. The main goal isn't to implement all
possible cryptographic primitives or to be able to implement something like TLS
using sodiumoxide.
Another important part of the philosophy is to not add primitives and
functionality that hasn't been proven secure (or isn't part of the
cryptographic literature). An example of this is the key-conversion
functionality between curve25519 and ed25519 keys that has been requested
multiple times. Since there is no literature proving that dual-use of keys for
both key derivation and signing is secure I haven't added that functionality.
I prefer the maintainer to subscribe to the same philosophy. We can add
functionality as long as we don't create new potential foot-guns for the users
of the library.
Tasks for a maintainer
For all open issues and pull-requests:
- For each issue, decide if it's something that should be added
- Do a thorough code review of all changes
- Make sure that the code follows the coding style in the project
- Make sure that the code contains thorough tests
- Merge the code into the master branch
I'm also looking for someone that can communicate with the community.
Future Directions
Add new functionality from libsodium
This is of course contingent on the functionality being compatible with our philosophy.
Try to make sodiumoxide usable on embedded systems
Make sure that the library can work without dynamic memory allocations, that we can build it with xargo and so on.
Use bindgen to create libsodium-sys instead of handwriting it
This hasn't been done yet since bindgen has an open bug where it messes up constness of pointers.
Choice of static compilation of libsodium-sys
There have been some pull-requests that automatically download and build
libsodium as part of the build of sodiumoxide.  This is something that would
help a lot of users, but I have been concerned about verifying the authenticity
of the libsodium download. This functionality is contingent on being able to
solve the download issue in a secure way.
Transition Plan

First I will see if anyone wants to maintain the library at all, if not then it might be time to deprecate it.
If I find someone suitable I will discuss the issue with them
We will then decide if I should grant commit access to the repository of if they should fork the repository (effectively moving it).
During a transition period the maintainer will need to ask me to make a new release

I will review the diff and discuss it with the maintainer
If I'm happy a new release will be pushed to crates.io

After a transition period I will hand over access to crates.io to the new maintainer.

Discussion
Any questions about the search for a new maintainer are directed to this thread.

Hi @dnaq
Do check out: https://users.rust-lang.org/t/bus-factor-1-for-crates/17046/22
We are willing to help you maintain this and set this up for a team to maintain.

@Dylan-DPC Thanks for the offer, that sounds like just what I'm looking for.

@Dylan-DPC how does this work. Will you suggest a maintainer?

@dnaq We don't have many maintainers in the rust bus organisation so right now it will be either me and/or @kornel. Will create a post and an organisation so we can move the repo there.

@dnaq @Dylan-DPC Although I'm fairly new to Rust, I was once a mathematician, have a modest crypto employment background, and have studied the NaCl code base. I don't have enough experience with Rust and its tooling to take on the full maintenance task but I believe that I could be a substantial contributor to the process.

@Tom-Phinney Your background seems to be really suitable for co-maintaining this project. Do you have any links to any online presence of yours?, (code you've written, related work).

hey @Tom-Phinney
That's fine. It is good to have someone who knows cryptography well. Even if you are a beginner at rust, it is okay we will help you

I'd be keen on becoming a co-maintainer as well. I've done a couple of Rust libs (but none as popular as sodiumoxide) --  see libpasta for example.
My background is in crypto as well, so can help on that side of things as well.

@Tom-Phinney @samscott89 okay cool. I have sent you invites to the organisation.

The repository is now moved to the sodiumoxide organization and it feels really good to have two cryptographers onboard as co-maintainers. I'll hold on to the crates.io account for a while, but after a couple of successful releases I'll add the organization to the crate as well. Thanks for stepping up everyone, looking forward to the next release.

@Dylan-DPC you mentioned me, but I think you must have meant someone else :-)

@Kornel Nah. I mentioned you earlier thinking you might want to join us as being part of rust bus. Its fine :smile:

I was wondering why the docs stopped working. Guess this answers my question.
I would actually like to join the bus factor for this crate if possible. My background is a math bachelor's (with two undergraduate theses related to cryptography) followed by 3 years in the information security industry. I'm starting an Information Security master's program in September. I've only known Rust for a number of months, but have worked on a few cryptography projects in that time.
I'm currently using SodiumOxide in a one-time signature scheme implementation I'm working on.

I love how @Dylan-DPC quietly didn’t mention me ... :P

@dnaq should this be considered resolved for now? If so I think its a good idea to close this issue

I’ll let one of the new maintainers close the issue, feels more appropriate.

I didn't get a response before you closed this, but I'm still interested in helping to maintain this repo.

Oops @nvesely. Will add you to the organization

Awesome!

I joined the organization, but that doesn't make me a repo maintainer or add me to the bors reviewers list. If you could set that when you get the chance @Dylan-DPC -- thanks.

Yah will give you all that don't worry

How can I help?

@Dylan-DPC As a user of the library, I'm a bit familiar with the source code, and I have fairly good knowledge of applied cryptography, etc. Not sure where or how I could help, but willing and able :)

@naftulikay great. will add you to the organisation, repo and gitter

I have a couple of projects that depend on sodiumoxide, if you're still looking for help I would be interested in joining.

@kpcyrd I'm on-board with you joining. We already have a lot of maintainers, but that's a good thing IMO.

@nvesely, @kinggoesgaming is open to stepping down as a co-maintainer because he isn't able to devote time to the repo. So we can swap him with @kpcyrd

Sgtm!

FWIW I'm also not able to devote much time to it, other than providing
advice on API decisions and applied crypto stuff. I was overly optimistic
about my time constraints when I joined. I don't necessarily want to leave
the project, but I figured I'd be honest here.
On Tue, Aug 21, 2018 at 12:51 PM, Dylan DPC<EMAIL_ADDRESS>wrote:

@nvesely https://github.com/nvesely, @kinggoesgaming
https://github.com/kinggoesgaming is open to stepping down as a
co-maintainer because he isn't able to devote time to the repo. So we can
swap him with @kpcyrd https://github.com/kpcyrd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sodiumoxide/sodiumoxide/issues/203#issuecomment-414800015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVNszBZD5lnaXjQpwbLWNpVW5gwSGx0ks5uTGTdgaJpZM4TygiH
.

@naftulikay That's fine. We are moving slowly on this repo so we don't need to a lot of involvement. Just a review whenever you can should be enough :+1:

I've added @kpcyrd to the organisation :+1:

Awesome, thank you :)

@naftulikay You should at least be following the repo though :smiling_imp:

My bad, refollowed.


examples: Jaffle shop example added

This repository is a reimplementation of the canonical dbt example jaffle_shop. Here, Hamilton + Ibis provides a Python-centric alternative to dbt (Learn more).  It illustrates data transformations for an ecommerce store. Since it is used by many different frameworks, it can ground comparisons between tools.
Changes

added examples/jaffle-shop
included data files

How I tested this

ran run.py locally

Notes

it servers as a good reference for tabular data workflows, but Hamilton supports a much wider set of use cases than dbt

Checklist

[x] PR has an informative and human-readable title (this will be pulled into the release notes)
[x] Changes are limited to a single goal (no scope creep)
[x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future TODOs are captured in comments
[x] Project documentation has been updated if adding/changing functionality.

But question on location. Should this instead be under Ibis? Versus standalone jaffle-shop?
Where would a link in the main documentation help?
Would a vanilla pandas version be helpful?

top-level jaffle-shop is a bit easier to find for those that know the name, but I agree to move it to Ibis given it's so tightly coupled.
I would include it in an upcoming docs/code-comparisons/dbt page. Hamilton and dbt might not be direct competitor, but it would give an idea to new users how concepts from translate to the other
it would be more work with little payoff IMHO given the goal is to showcase the "declarative orchestration" rather than "the data transforms". The code seems intelligible even if you don't know Ibis.

Other thoughts:
It would be cool to have a canonical Hamilton project (e.g., Ibis uses penguins dataset, dbt jaffle shop). It should serve the "Getting started" step-by-step tutorial, and be extensible to be able to showcase Hamilton features (add data validation, change execution engine, etc.). Will open an issue to spec this


fix for missing labels

fixes a bug around slice copying when dealing with labels

Fix for #276

Thanks a lot :)


Investigate traits usage in SSI library, whether to move them in corresponding crates or keep in the core library

To prevent circurar dependencies between SSI crates and SSI core library we need to investigate traits usage in SSI library, whether to move them in corresponding crates or keep in the core library.

@sKudryashov please confirm if still required and close as necessary.

Not required for now


Add a new literal data type for user ID default

Connects to #3357
Why was this change made?
...
How was this change tested?
...
Which documentation and/or configurations were updated?
...

@ndushay Thanks for paying attention to the naming. The naming gets really confusing (would make some different choices if starting over...). However, I think the naming in this PR is consistent with other naming in the base templates.


Support for more than 5 players

I know the official game recommends 2-5 players but my understanding the game can still be playable with more people.

Hey @gy, thanks for the issue 👍
The main reason why we chose to stay aligned with the official rules is more related to UI & mobile friendliness. We put a lot of effort to ensure everything displays nice on small screens, and having more than 5 players would mess things up.
Just curious, how often to you happen to want to play with 5+ players? Is is rather 6 or even more than that?

Hi @bstnfrmry. First of all thanks so much for this game ❤. It was a really fun team bonding activity. In my particular case 6 teammates wanted to play and I ended up observing/hacking the game to add 6 players 😂

Thanks for the kind words 😊
Yeah, a nice way to handle more than 5 players is to have people spectacting, or 2 people behind the same screen (if possible!) 😉


Issue for me

i have cloned the code and ran it , I am getting below error ..  suggest me what could be the issue
Error: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/praveen-sahukara/global/healthChecks/group-ilb-hc-http' already exists, alreadyExists
on .terraform/modules/gce-ilb/terraform-google-lb-internal-2.1.0/main.tf line 80, in resource "google_compute_health_check" "http":
80: resource "google_compute_health_check" "http" {
Error: Error creating HttpHealthCheck: googleapi: Error 409: The resource 'projects/praveen-sahukara/global/httpHealthChecks/group1-lb-hc' already exists, alreadyExists
on .terraform/modules/gce-lb-fr/terraform-google-lb-2.2.0/main.tf line 41, in resource "google_compute_http_health_check" "default":
41: resource "google_compute_http_health_check" "default" {
Error: cannot determine self_link for subnetwork "mysubnet-01": Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
on .terraform/modules/instance_template2/terraform-google-vm-1.4.1/modules/instance_template/main.tf line 57, in resource "google_compute_instance_template" "tpl":
57: resource "google_compute_instance_template" "tpl" {
Error: cannot determine self_link for subnetwork "mysubnet-01": Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
on .terraform/modules/instance_template3/terraform-google-vm-1.4.1/modules/instance_template/main.tf line 57, in resource "google_compute_instance_template" "tpl":
57: resource "google_compute_instance_template" "tpl" {

It sounds like you're attempting to create a resource which already exists. Please choose a different name.


Open Call for Collaborators

Hey language-nunjucks users, fans, and contributors. As many of you probably have noticed, I am not as active as I could be here. Work at @duckduckgo has been taking precedent over managing this repo, however, I am still very attached to it and would like to maintain a stewardship and decision-making position for the codebase.
I have offered collaborator positions to @frasertmay and @puranjayjain.
@frasertmay has shown a keen interest recently and @puranjayjain added autocomplete to the original syntax highlighter, bringing language-nujucks to the next level.
I could envision another one or two people joining the team as well. Please message or email me if you're interested. I would prefer that you have some experience working with or using this repo, as well as experience in the atom dev environment.
Thanks!

@revelt interested?

@alohaas I would be but currently I'm making some very important OS projects which will benefit the society more. So I'll just observe for now. I'm flattered though :o)

@revelt cool! what's it called?

it's a secret, that would be a bad luck to announce not ready :o)

Gotcha. Looking forward to finding it in the wild 👍

thx


Type issue on Nav component

Can you give little detail about this issue? You want us to add proper type for this instead of giving it type any?right? I think i can work on this issue.

Can you give little detail about this issue? You want us to add proper type for this instead of giving it type any?right? I think i can work on this issue.

Yes, that's it. We try to avoid any in the codebase.

Yes, it is better to remove any from our code base. I spend sometime on it and i think we may need to adjust our Item according to the  Types Flex or MenuItem. I tried a quick trick
const Item: typeof Flex = Flex

I start getting errors on our Item element , it means we need to check the Item  element according to our types.
Correct me if i did something wrong

@yoannfleurydev , i am stuck with this issue can you assist me what can i do ? Can you give me some pointers for this issue?

@yoannfleurydev , i am stuck with this issue can you assist me what can i do ? Can you give me some pointers for this issue?

Hey sorry for the delay, I'm a bit busy at the moment, I'm probably gonna check that this week (maybe on Friday). I let you know what I'll find.

Hey, no worry. I  explored the types little bit in depth and I got a clue and i need your confirmation that am i thinking it right?
For Flex  this gonna work.
  const Item:ComponentWithAs<"div", FlexProps> = Flex

And for MenuItemProps
  const Item:ComponentWithAs<"div",MenuItemProps> = MenuItem

@Junaid300 sorry, got a lot on my plate with a huge Start UI PR and some improvements. I'm checking that tomorrow.

Hey, no worry. I explored the types little bit in depth and I got a clue. Flex is typed as ComponentWithAs<"div", FlexProps>  and MenuItem is typed as ComponentWithAs<"div",MenuItemProps>
According to me, this should work but it throw error
  const Item: ComponentWithAs<"div", FlexProps> | ComponentWithAs<"button", MenuItemProps> = isMenu ? MenuItem : Flex;

I tried this solution too, but yeah, got Expression produces a union type that is too complex to represent. ts(2590). Because the union of those 2 types generates a type with too much attributes.

If we remove {...rest} from <Item>, it start working and when i consoled rest, it gives empty object. Weird..
I am not sure, may be we need to play with the Component props type too.

@yoannfleurydev , any update on this ?

@yoannfleurydev , any update on this ?

Hi, no sorry, no solution at the moment on that issue. But in my head, I think about a rewrite of how we handle this part to avoid strange types. Mixing MenuItem and Flex to me isn't a good idea anymore.


Create itivolta.txt

Accr_ENGLISH.pdf
diploma_all_Optimized.pdf

@ProfGallo Pull request merged. Thank you!
FTR: it's related to #8465.


fix(typo): Fix small typo in AbstractAnchor.ts

Type of change

[X] Other (please describe): Fix typo

Preview: https://react-topology-pr-topology-239.surge.sh

@lordrip Thanks for the PR. Could you update the title to be chore instead of fix please?


Failed to execute simplest documentation example

I've installed the software pip install googletrans
then opened a console and tried to run the simplest example and got the exception below:
Jupyter QtConsole 4.4.1
Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from googletrans import Translator
In [2]: translator = Translator()
In [3]: translator.translate('veritas lux mea', src='la')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-38b8431795c7> in <module>()
----> 1 translator.translate('veritas lux mea', src='la')

d:\Anaconda3\lib\site-packages\googletrans\client.py in translate(self, text, dest, src)
    170
    171         origin = text
--> 172         data = self._translate(text, dest, src)
    173
    174         # this code will be updated when the format is changed.

d:\Anaconda3\lib\site-packages\googletrans\client.py in _translate(self, text, dest, src)
     73             text = text.decode('utf-8')
     74
---> 75         token = self.token_acquirer.do(text)
     76         params = utils.build_params(query=text, src=src, dest=dest,
     77                                     token=token)

d:\Anaconda3\lib\site-packages\googletrans\gtoken.py in do(self, text)
    178
    179     def do(self, text):
--> 180         self._update()
    181         tk = self.acquire(text)
    182         return tk

d:\Anaconda3\lib\site-packages\googletrans\gtoken.py in _update(self)
     57         r = self.session.get(self.host)
     58         # this will be the same as python code after stripping out a reserved word 'var'
---> 59         code = unicode(self.RE_TKK.search(r.text).group(1)).replace('var ', '')
     60         # unescape special ascii characters such like a \x3d(=)
     61         if PY3:  # pragma: no cover

AttributeError: 'NoneType' object has no attribute 'group'

How do I fix this problem?

ME TOO

This is because googletrans is currently outdated. Issue is here https://github.com/ssut/py-googletrans/issues/77 . There is a fix but you need to fork it to modify it yourself. Other option is to use googles official python api.

@Ukonhattu  thank you.
how long soen it take to fix this issue and this gets patched?

@Ukonhattu thank you.
how long soen it take to fix this issue and this gets patched?
Depends on the owner of this api.

I made a pull request that fixes issues with token generation. Waiting for response from repo owner

I am also facing the same issue, can you please update this package as per Google update.

Fixed library are here https://pypi.org/project/py-translator/


Added file logging on tickets

After merging change line 16 of Global.java or else you are gonna be for a good time
Also forgot to change the commit msg XD

Btw, quick note, if the bot restarts, the information is lost. If you want, ask for changes and I will make that not happen


Extra value for Clause

Now we only have two types Clause: Same and Distinct(Unspecify is actually distinct). But some times we have enough nodes in reality but we can't get enough selected nodes whether we use Same or Distinct in policy. Take following as an example.
Suppose there are 4 nodes with specific country:
[
    { "attributes": [ { "key": "Country", "value": "Russia" } ] },
    { "attributes": [ { "key": "Country", "value": "Russia" } ] },
    { "attributes": [ { "key": "Country", "value": "Germany" } ] },
    { "attributes": [ { "key": "Country", "value": "China" } ] }
]

If I want 3 nodes not from China, whether I use policy(different in Clause) REP 1 CBF 1 SELECT 3 IN SAME Country FROM notCN FILTER Country NE China AS notCN or REP 1 CBF 1 SELECT 3 IN DISTINCT Country FROM notCN FILTER Country NE China AS notCN, I can't get enough nodes. We have 3 nodes not in China but I can't select them.

SELECT is used to group nodes in buckets, so both policies in your post work as expected. You can still select 3 nodes outside China, e.g. by omitting attribute to perform grouping on: REP 1 CBF 1 SELECT 3 FROM notCN FILTER Country NE China AS notCN. This way we will just select 3 distinct nodes which satisfy notCN filter.

SELECT is used to group nodes in buckets, so both policies in your post work as expected. You can still select 3 nodes outside China, e.g. by omitting attribute to perform grouping on: REP 1 CBF 1 SELECT 3 FROM notCN FILTER Country NE China AS notCN. This way we will just select 3 distinct nodes which satisfy notCN filter.

I see. Thanks. I'm closing this.


Roll engine 83239e141b09..bcc7dcbe79dc (7 commits)

https://github.com/flutter/engine/compare/83239e141b09...bcc7dcbe79dc
git log 83239e141b090aabe0e95fe8be8057c5710be89e..bcc7dcbe79dc008f5248d1b58c3d33f940be1b08 --no-merges --oneline
bcc7dcbe7 Revert "Test SDK roll" (flutter/engine#7374)
ee83c383b Roll src/third_party/skia 275eaff3be4b..3d5b488e5cd7 (9 commits) (flutter/engine#7372)
a4450af55 Dart SDK roll for 2019-01-04
b35f021a8 Update GetCallbackHandle to use Dart_IsTearOff instead of a string comparison (flutter/engine#7324)
4ea457355 Roll src/third_party/skia 18df87ec8bda..275eaff3be4b (7 commits) (flutter/engine#7369)
27eaab4f6 Roll src/third_party/skia 5f1692c60a43..18df87ec8bda (12 commits) (flutter/engine#7368)
9fb8f8bdf Roll src/third_party/skia c519fed6ddce..5f1692c60a43 (1 commits) (flutter/engine#7367)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6441419965202432

Commit queue failed; closing this roll.


Hot reloading an app using AppWindow  raises a warning.

Hot reloading an app using AppWindow on macOS raises a following warning:
Error: Message responses can be sent only once. Ignoring duplicate response on channel 'flutter[/system_tray/app_window]()'.

This occurs in the example app too.

It seems like v2.0.1 resolved this issue.


Add ignorePrivatePreviews option to ignore private previews from being snapshotted

Add ignorePrivatePreviews option to ignore private previews from being snapshotted
Support local snapshots
Update readme

#168  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


Create operations ImportFromCsv and ExportToCsv using a standardised file format

Create operations that build upon those added in gh-2549 that work to/with a standardised file format

For the standard format, something like this would be nice and compatible: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html

Closed by https://github.com/gchq/Gaffer/pull/2647


msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!

With current CoreOS Alpha (779.0.0):
TASK: [defunctzombie.coreos-bootstrap | Copy get-pip.py] **********************
failed: [etcd] => {"checksum": "6aa4ab7873ad21e4316f0deadbbc794c5a46e93c", "failed": true}
msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
failed: [node-001] => {"checksum": "6aa4ab7873ad21e4316f0deadbbc794c5a46e93c", "failed": true}
msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
failed: [node-003] => {"checksum": "6aa4ab7873ad21e4316f0deadbbc794c5a46e93c", "failed": true}
msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
failed: [master] => {"checksum": "6aa4ab7873ad21e4316f0deadbbc794c5a46e93c", "failed": true}
msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!

FATAL: all hosts have already failed -- aborting

Also: https://github.com/coreos/bugs/issues/449

Fixed in https://github.com/coreos/bugs/issues/449


Set up CI

Best bet is probably Appveyor, which does free CI and CD for open source projects.
Once we have the integration written, we'll block merges to master on passing tests.

FYI - I set up a quick Appveyor project against my Fork to keep any eye on build status until one is set up against the upstream repo.

Dang, I forgot that I have to enable it as a maintainer. Can you open a PR with the YAML file, and I’ll flip the switch here to get it integrated?

I've got a working build on myget.org.  Badge:

I have this set up on AppVeyor now, although I never really finished.  Badge added to the README.  Will keep working as I can.

Solid. Closing accordingly!

I've done this again on Azure Pipelines; it is much more comprehensive (tests against all three supported platforms and both supported framework targets), and more flexible for helping with automating releases, is triggered to verify PRs, etc.
https://dev.azure.com/true-myth/TrueMyth/_build?definitionId=1&_a=summary


Handlers need to be unregistered to avoid memory retention leaks

Adding and removing markers leads to retention leak. Unregistering handlers on destroy

For some reason the CI build hasn't triggered?

@NiclasLindgren Sorry for the delay, I'm quite busy atm. Going to address this PR very soon.

@NiclasLindgren good things take a while :wink:. Merged it in. The CI process starts soon and should publish it to npm and bower within the next minutes. Thx for contributing.


Adjust screenshots

This adjusts the screenshot on the reference page, and adds a bit of a teaser screenshot to the overview page.
The reason I thought to go with a teaser is because screenshots will become outdated soon, and I didn't think it would be productive to go into a discussion about which apps to show and which not.

Intro teaser image looks like:


error during validation of cf script

am getting following error when trying to validate cf template:
An unexpected error with cloudformation, cfn-lint, atom-cfn-lint, atom, linter, and/or your playbook, has occurred.
Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3138, in
@_call_aside
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3122, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3151, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 666, in _build_master
return cls._build_from_requirements(requires)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 679, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 867, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jsonschema~=3.0' distribution was not found and is required by cfn-lint

jsonschema 3.2 is installed and available on path /usr/local/bin

Resolved by following these steps:
Created a requirements.txt file using "pip freeze".
Modified the line containing jsonschema = 0.0.0 to 3.2.0
ran "pip install -r requirements.txt"
Sample template with unsupported Type:
AWSTemplateFormatVersion: "2010-09-09"
Resources:
Unsupported Type "AWS::EC2::Instance1"
MyEC2Instance1:
Type:                 "AWS::EC2::Instance1"
$ cfn-lint test-lint.yml
E3001 Invalid or unsupported Type AWS::EC2::Instance1 for resource MyEC2Instance1 in us-east-1
test-lint.yml:5:5

Resolved..


Add Attribute Spreading

I think attribute spreading must be added to leptonic.
Attribute spreading was added to leptos 0.6.12
I tried to use this, but it not works for Link of leptonic
use leptonic::prelude::*;
use leptos::*;

#[component]
pub fn NavLink(
    #[prop(into)] link: String,
    #[prop(into)] icon: MaybeSignal<icondata::Icon>,
    #[prop(into)] text: String,
    #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>,
) -> impl IntoView {
    view! {
        <Link {attr} href=link>

                <Icon icon=icon class="text-2xl"/>

{text}

        </Link>
    }
}

Then we can use like this;
<NavLink link="/" icon=icondata::BsHouse text="Home" attr:class="w-full"/>

https://docs.rs/leptos_router/latest/src/leptos_router/components/link.rs.html#64
https://github.com/lpotthast/leptonic/blob/6c2959f7336dd80e13a3ae8c05671d05ecd38d02/leptonic/src/components/link.rs#L11
I think it is very important feature and must be quickly added to leptonic

I 100% concur, you currently can't set type = "submit" on the Button component as provided by leptonic currently
If I get the time, I'll try to add this feature, but as @over-light said this should be added since it is stabilised in Leptos already!
but I guess 0.7 will roll around anyway


Add new doc to Web3dApp

No description provided.

It is enough to  add a link .  You needn't add the origin content .

No description provided.

It is enough to add a link . You needn't add the origin content .

So now for all commits we add link, or it is just for me?

No description provided.

It is enough to add a link . You needn't add the origin content .

So now for all commits we add link, or it is just for me?

I say it is suitable for this commit.   If you have published on other media ,   adding a link  is enough.


Use IPv6 address in PTR records

Hi,
Would be far more "user friendly" if IPv6 addresses could be used directly in the "Name" column for IPv6 PTR zones. I'm coming from the BIND-world, where static text-configuration files where used, and having a /32 IPv6 zone it was quite useful to have different sections in the configuration file for each /64 using $ORIGIN.
This is not possible in PowerDNS (afaik, at least), so some kind of simplification would be preferred (since we can't use $ORIGIN or sort the list "as we please"). PTR-records could be made using the set-ptr feature of the PowerDNS API (as per #43), but even when that feature gets implemented into PowerDNS-Admin, it might be useful to set PTR's manually (e.g. ones that doesn't have forward records).
And even with the "auto PTR" function, you'd still benefit from showing the actual IPv6 address, rather than the cumbersome entries we have today (dotted string from hell).
The logic would happen server-side within PowerDNS-Admin, and the records would still be stored/sent normally (as dotted strings), but would be converted to/from this format before displaying/storing.
Make it an option to disable/enable (so that it can be introduced as a "experimental feature") that is disabled by default. First implementation might have no error-checks, and imply that the user knows what he is doing. Then at some point; do checks if the IPv6 address actually matches the zone we're editing.

I plan to implement this at some point (unless someone beats me to it). Just made the issue to address the issue, and to keep track of it.

Should work with PR #118.

root@ns1:~## dig @ns1.foo.bar -x fc00::1 +short
lol.foo.bar.
root@ns1:~## dig @ns1.foo.bar -x fc00::2 +short
kek.foo.bar.

@ngoduykhanh notify

The code does no form of error-checking regarding if the IPv6-address actually is a part of that ip6.arpa-domain. That's left as an exercise for the user (-:

Also, it only works with NEW_SCHEMA. 4.0 is released, so I don't see a reason why new features should be implemented using the old method(s).

I left out IPv4 on purpose. I'll probably look into that at some point, but IPv6 PTR's was by far first-priority.

#118  has been merged.


Add mavenCentral() to pluginManagement

Before this changes:
On clean build error occurs: Could not get resource "...kotlin-compiler-embeddable/1.5.10/...jar"
(Reproduced on MacOS, jvm11)
Add mavenCentral() to fix problem

To reproduce:
rm -rf ~/.gradle
rm -rf ~/.m2
in project dir:
cd compose (follow instructions on README.md)
./scripts/publishToMavenLocal -Pcompose.platforms=js

I think the problem is related to disabling jcenter.
The Gradle plugin portal uses jcenter as a mirror.
You can read more here https://blog.gradle.org/jcenter-shutdown.
But If you explicitly specify mavenCentral, then the problem is solved.

I find it weird, that in the comment you're mentioning ./scripts/publishToMavenLocal, but the change is made to the gradle plugin settings.gradle.kts, which is not used by publishToMavenLocal.
Anyway the change is fine

Thanks for the contribution!

I find it weird, that in the comment you're mentioning ./scripts/publishToMavenLocal, but the change is made to the gradle plugin settings.gradle.kts, which is not used by publishToMavenLocal. Anyway the change is fine

Sorry, I mean ./scripts/publishGradlePluginToMavenLocal


A3000 SCSI install

I'm struggling to get a prebuilt hstwb image to boot on my A3000 (later model with Kickstart 3.1, not with superkick) after successfully running the image_setup powershell script.
And the same issue is seen in WinUAE, using the built-in A3000 SCSI (Commodore) expansion and attaching the hdf using the A3000 SCSI controller.
The Amiga (emulated or real) boots to the 'insert disk' screen.
In WinUAE, changing the HD controller to UAE (uaehf.device) it works fine.
I've tried both 8Gb and 4Gb images.
Do you have any suggestions?

In the startup-sequence there is a LoadModule line for patched scsi.device.  The A3000 uses a real SCSI device not an IDE controller.  Comment that line out and see if it gets further.  If it does, you'll want to extract your scsi.device from ROM and patch it with https://aminet.net/package/driver/media/SCSI4345p and use the result to replace the one that LoadModule is trying to load.


Supporting authentications.

first of all, thanks for make this useful plugin for vs code.
during I've used it as editing cql statement, I found that It supports executing the statement within vs code.
but there is no way to authenticate to cassandra database. do you have any plan to add the feature at the plugin?
thanks.

Thanks for taking the time to make a feature request! That is a great idea and one that makes perfect sense. I can get this implemented and updated pretty quickly.

Any progress on this?

Hi Lawrence,
May I suggest a full options Object in the user config to instantiate a cassandra-driver singleton.
something like:
"cql": {
    "contactPoints": ["<IP_ADDRESS>", "<IP_ADDRESS>"]
    "auth": { // will need a factory to get a new instance of authProvider
        "provider": "PlainTextAuthProvider",
        "user": "username",
        "password": "somapassword",
    }
    "keyspace": "somekeyspace", // none if empty
    "policies": // maybe later with localDatacenter and loadbalancing
}

Thank you for the work. If I get the time I will try to fix a PR.
In chrunchtime a.t.m. so it could be a while.
c

I've written some code to support authentication in local files("cqlExecutor.js:24")
It seems to be worked well, but "cql.execute" error occured.  because  I don't have any idea of making plugins for vscode and nodejs & typescript, I can't find where to start finding the issue.
anyone suggests? or hints?
function executeCqlStatement(statement) {
    console.log('Configuring cql statement execution.');
    let cassandraAddress = vscode.workspace.getConfiguration("cql")["address"];
    let cassandraPort = vscode.workspace.getConfiguration("cql")["port"];
    let cassandraConnectionOptions = vscode.workspace.getConfiguration("cql")["connection"];
    let cassandraAuth = new cassandra.auth.PlainTextAuthProvider(workspace.getConfiguration("cql")["username"], workspace.getConfiguration("cql")["password"]);
    let cassandraKeyspace = workspace.getConfiguration("cql")["keyspace"];
    let clientOptions = !!cassandraConnectionOptions
        ? cassandraConnectionOptions
        : {
            contactPoints: [cassandraAddress],
            hosts: [cassandraAddress],
            authProvider: [cassandraAuth],
            keyspace : [cassandraKeyspace]
        };

You can run your extension in debug mode in vscode.
https://code.visualstudio.com/docs/extensions/developing-extensions
If you post the error we might be able to help you =)


[WIP] to apply or customize rubocop

Moving this work to #7 to broaden the scope on code quality in general.

Might be useful to get this done first.


Perform integrity check on the change_history during migration

Trello

Update the integrity checker to ensure that the change notes we are replacing match the ones in the Publishing API

Note to reviewer: I still need to run the import locally or on integration. This may effect whether the timestamps need to match exactly or within a range, but I wanted to open for an initial review.

Thanks @emmabeynon and @kevindew. I have made the changes and amended. I am not sure about two things...

@emmabeynon, you said to write in the commit as to why we don't check that public_timestamp matches for the first item in the change history for draft editions... I think it is due to how it is set in the History class as the note is hardcoded and the first_published_at  method depends on wether backdated_to has been set... but I am a bit lost... will speak to you about it tomorrow.

Probably related to my above confusion... in order to check that the first mis matched time stamps for draft documents still cause the check to pass, I have to convert the time to rfc3339... this doesn't seem right but I haven't quite figured out what is happening there :(

Thanks @emmabeynon. I have updated the commit message.

Thank you @emmabeynon :) Have amended the changes.


TypeScript support

Ell TypeScript
Goals

Feature parity with Python
Unobtrusive/frictionless DX

Challenges

Capturing TypeScript source code - Ell captures user source code as written, the same as it looks in the user’s IDE. TypeScript is compiled to JavaScript before. Mostly this means type annotations are stripped. We need to read the code before this happens (before runtime and at or before compile time) or have a way to get to the source from runtime code/JavaScript (source maps).
Lexically closed-over definitions and values - Ell captures the source code of all variables in scope of the decorated function and records their values at runtime. These include module-level locals that are referenced in the decorated function. We’re open to ideas on how to do this in TypeScript unobtrusively. One idea could be to use Node’s inspector/debugger API.

Implementation requirements

ell needs LMP version id when it writes an invocation trace
LMP version requires the program's source code (to create a hash that serves as a version/id)
The source code is only guaranteed to be available at compile time (not necessarily at runtime)

Given this we need to get the source code at compile time.
HOWEVER:

users may combine their compile and run steps if they use ts-node, bun, or (in the near future) NodeJS. This guarantees the source is available at runtime, and likely to ell.

Compile only
DX
Instead of:
tsc

Users run:
ell tsc

Or
ell tsc —watch

This compiles TS and all LMPs using a TypeScript compiler plugin.
A source file is created and imported at runtime by ell typescript that contains LMP names by file path relative to the compilation root. Note: Matching this key at runtime is sound only if we match on greatest common substring of the __filename / path to file.
Requirements

__filename / import.meta points to a JS file of the same name as the source file
Directory structure between compilation and runtime is preserved
Ability to write out our own file and access it at runtime

Compile+run
DX
ts-node calculator-example.ts

Works just like ell python
Creates LMPs at runtime on a per-use basis

Requirements

Users must run their code with ts-node or similar
__filename for CommonJS modules or import.meta.url for ES Modules is available and references the original source file
Read access to the original source file
A TS server running in forked process or TypeScript compiler running in the same process
In-memory cache of LMPs per file and their source text

React with 👍 to help us prioritize this issue!

cc @MadcowD @emfastic

@alex-dixon thanks for writing this up! To pick one version to implement first, I think we should go with the compile and run. I played around with compile time a few weeks ago and was dissatisfied.
It seems things are trending towards just running Typescript files and makes more sense for us to build in that direction.
What's your preference? Any problems you see with focusing on this first?
cc @MadcowD

@emfastic Sounds good to me.
The AST code can be used for both and we have a start on it in the PR.
I have a plan for the ell tsc implementation that I’ll document in the PR.

Is someone developing this? @alex-dixon

@shivaylamba yes! Pr going here #162

We’re getting close to a release.
Check out the PR for a sneak peak:
git clone https://github.com/alex-dixon/ell.git
git checkout typescript
cd typescript
npm i

Run an example:
export OPENAI_API_KEY=sk-abc
ts-node -T examples/hello_world.ts


bug: ion-back-button triggers routerOutlet navigation when used in ion-nav

Ionic version:
[x] 4.x
Current behavior:
ion-back-button, when clicked, triggers ion-nav pop (as expected) and, simultaneously, triggers router navigation one step back, to previous route.

Expected behavior:
ion-back-button should only be concerned with current ion-nav it resides in (it should only trigger ion-nav pop). It shouldn't affect router.
Steps to reproduce:
Navigate from one route to another. On the target route, create component with ion-nav, set root and push another component to that ion-nav. Click ion-back-button on that newly pushed view.
Ionic info:
Ionic:

   Ionic CLI                     : 5.4.6 (/opt/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.5
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : android 8.1.0, browser 6.0.0, ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 7 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.1)
   native-run  : 0.2.8 (update available: 0.2.9)

System:

   Android SDK Tools : 26.1.1 (/Users/rattkin/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v10.16.3 (/opt/local/bin/node)
   npm               : 6.13.1
   OS                : macOS Catalina
   Xcode             : Xcode 11.2.1 Build version 11B500

Thanks for the issue. Having ion-nav nested in an ion-router-outlet is not a paradigm we recommend as it typically leads to a confusing user experience (as well as issues when interacting with the Angular Router as you've experienced). I am going to close this issue as this is not something we have plans to support at this time. Thank you!

@sebastian-zarzycki-es Pull requests to update the docs are always welcomed if you are up for it 😄


Please add Select2 library (js file) to the project

Hello,
I'm getting the following message in console when loading your select component:
"Please add Select2 library (js file) to the project. You can download it from https://github.com/select2/select2/tree/master/dist/js."
I did everything for the installation..

Installed Jquery & Select2 and added it to my angular-cli.json:
"scripts": [ "../node_modules/jquery/dist/jquery.js",      "../node_modules/select2/dist/js/select2.full.js" ]

Installed ng2-select2 via npm

Added ng2-select2 to my NgModule imports of my template where I added my select2 component.

module:
import {Select2Module} from "ng2-select2";
@NgModule({   declarations: [     RegisterCompanyComponent   ],   imports: [     CommonModule,     FormsModule,     ReactiveFormsModule,     Select2Module,     RouterModule.forChild(routes),   ] })
html:
<select2 [data]="countries" [width]="150"></select2>
If I look at the scripts.bundle.js in my browsers source, the select2 library is in there:
module.exports = "/*!\r\n * Select2 4.0.3\r\n * https://select2.github.io\r\n
Here are the versions I use:

ng2-select2: 1.0.0-beta.7
select2: 4.0.3
angular-cli: 1.0.0-beta.28.3
node: 7.5.0
os: darwin x64
@angular/common: 2.4.5
@angular/compiler: 2.4.5
@angular/core: 2.4.5
@angular/forms: 2.4.5
@angular/http: 2.4.5
@angular/platform-browser: 2.4.5
@angular/platform-browser-dynamic: 2.4.5
@angular/router: 3.4.5
@angular/compiler-cli: 2.4.5

I hope you can help me..

Having the same issue here.

@xtoff I see that you have basic installation via CLI. Is it possible that you would create github repo of your project, so that I can check it out myself?

@NejcZdovc I think that I'm not allowed to do that.. I just created a new angular2 cli project with only jquery, select2 and ng2-select2 and it works.. I think there are some conflicts with other dependencies. I will investigate some more.. :)

@xtoff what if you clone this repo https://github.com/NejcZdovc/ng2-select2-demo and try to install it. Is it working?

The demo works perfectly local

@NejcZdovc Problem is fixed! I also imported the library "ng2-select" (https://github.com/valor-software/ng2-select) on the same page, because I wanted to compare :), but when I removed that one, yours worked suddenly, so there is probably a conflict in naming...
I'm glad it works, because your library is a lot better than ng2-select ;-)

Great to hear that :smiley:

Hi There,
I have the same issue, my problem if I navigate from page to page the select is working fine but if I try to reload the page by pressing F5 or click the reload button of the browser then it is not working and see in the console log get the same message.

Hello,
I also encountered this error after installing another npm package into my project. It was working before the installation.
The trick was to move select2 js file to the end of the scripts array in angular.json. I suspect the installed library caused a conflict and making it the last script that gets loaded resolves this conflict.


Question: Get Georgian date value of selected date.

Is this possible to get Georgian value of selected Shamsi date? I don't want to convert it. is there any helpful function in this date-picker?

no its not configurable.
you could convert it or clone the project and customize it as you want.

@fingerpich thanks. ;)


Drawer outupdated

WARN  Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Move code with side effects to componentDidMount, and set initial state in the constructor.
Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Drawer

Where can I update the Drawer component?

Drawer is still using componentWillReceiveProps and componentWillMount
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Drawer
- node_modules/expo/build/logs/LogSerialization.js:166:14 in _captureConsoleStackTrace
- node_modules/expo/build/logs/LogSerialization.js:41:26 in serializeLogDataAsync
- ... 9 more stack frames from framework internals

Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Drawer
- node_modules/expo/build/logs/LogSerialization.js:166:14 in _captureConsoleStackTrace
- node_modules/expo/build/logs/LogSerialization.js:41:26 in serializeLogDataAsync
- ... 9 more stack frames from framework internals

nativebase is using an unsupported drawer component.  I swapped it out for this one: https://github.com/react-native-community/react-native-side-menu

@iamnader thanks for your reply. I also have changed to another drawer (React Navigation Drawer).

Hi @senda-dev , NativeBase Drawer works fine. You can check it out here. Closing for now, let us know if the issue still persists.

Sidebar.js
import React from "react";
import { View, Text } from "native-base";

export default Sidebar = (props) => (
  <View
    style={{
      flex: 1,
      width: "100%",
      backgroundColor: "white",
      height: "100%",
      justifyContent: "center",
    }}
  >
    <Text>Sidebar</Text>
  </View>
);

App.js
export default class App extends Component {
  constructor(props) {
    super(props);
  }
  closeDrawer = () => {
    this.drawer._root.close();
  };

  openDrawer = () => {
    this.drawer._root.open();
  };

  renderContainer = () => (
    <Root>
      <Container>
        <Header>
          <Right>
            <Button onPress={() => this.openDrawer()}>
              <Text>Menu</Text>
            </Button>
          </Right>
        </Header>
      </Container>
    </Root>
  );

  render() {
    return (
      <Drawer
        ref={(ref) => {
          this.drawer = ref;
        }}
        onClose={() => this.closeDrawer()}
        content={<Sidebar />}
      >
        {this.renderContainer()}
      </Drawer>
    );
  }
}

Hi @hanykumar, the issue is not about whether it works, but about updating the underlying component so that it doesn't rely on the deprecated React lifecycle methods.  Thanks!

@iamnader , we are working on it.
Thanks.

Thanks for the update

Bump: This issue still exists. Please note that you can suppress this warning easily within the Drawer component.
Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

Move code with side effects to componentDidMount, and set initial state in the constructor.
Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Why was this closed?

This issue is still running on the last version. It should be reopen.

I tested on the last version and it is still present. Nobody working on it?

I tested on the last version and it is still present. Nobody working on it?

Still an issue


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4417

Questions ?
Please refer to the Backport tool documentation


ObjectDisposedException: Cannot access a disposed object on ShellFlyoutRenderer

Hello. In 1.0.19 version I got "Cannot access a disposed object on BottomNavigationView". now it seems issue is fixed but I got another "Cannot access a disposed object", and it's "xamarin.forms.platform.android.shellflyoutrenderer"
I'm using:
Xamarin.forms <IP_ADDRESS>7
Xam.Shell.Badge 1.0.20
No issue on iOS

@mcapplication20, thank you, i'll investigate your issue. There shouldn't be any change in the "xamarin.forms.platform.android.shellflyoutrenderer" from this library.

I’ll make some different prove and I’ll update you

Update: it seems I did a mistake in my code, plugin is working perfectly even on android devices. I have some issue handling notifications but it's not linked to plugin. thanks for your incredible work

@mcapplication20, hello, oh, good, thank you for this information.

UPDATE: anyway it seems I got issue only when I install this plugin. I'm using Azure notification and Plugin.AzurePushNotification to handle notifications. When app is in background and user clicks on notification, CrossAzurePushNotification.Current.OnNotificationReceived fires. In this method I "push" user to the right page and I got issue. no problem on iOS and no problem on android without plugin

UPDATE: anyway it seems I got issue only when I install this plugin. I'm using Azure notification and Plugin.AzurePushNotification to handle notifications. When app is in background and user clicks on notification, CrossAzurePushNotification.Current.OnNotificationReceived fires. In this method I "push" user to the right page and I got issue. no problem on iOS and no problem on android without plugin

Try to invoke the navigation code using Device.InvokeOnMainThreadAsync.

Same issue with Device.BeginInvokeOnMainThread and Device.InvokeOnMainThreadAsync

after a lot of work, I confirm that plugin works like a charm; it's my code issue. so thank you very much for your incredible work and support

@mcapplication20, hello, thank you for information. Good that you're able to resolve situation.


feat: added mcq type to problem

Fixes #73

Adds MCQ Type to Problem.
Since auth is not there yet, adding the submissions to localStorage to save it temporarily for the user.

https://github.com/code100x/daily-code/assets/37402791/2ebf1b91-e534-4e23-921c-ed28e322e5fb

@hkirat pushed it since I had already completed ~80% of it, just some code cleaning was pending. No bounty needed if you decide to merge this, since it was already given out.


Use Netty's stream enumeration tools instead of rolling our own

In the process of working on #476, I noticed that Netty already has stream enumeration tools built into Http2Connection.Endpoint. We should use those instead of rolling our own.
Changes best viewed with whitespace-only changes hidden.

Build failures appear to be spurious.

Build failures appear to be spurious.

https://github.com/travis-ci/travis-ci/issues/7964


[Feature]: Climate Card add Pre-Set Mode

Is your feature request related to a problem?
Don't know pre-set mode
Describe the solution you'd like
If the house is un-occupied I want to set my thermostats to away mode Pre-set = away or none
I would like to be able to Show "Away" on the card
Describe alternatives you've considered
No response
Additional context
No response

Duplicate https://github.com/piitaya/lovelace-mushroom/issues/615


Application port not open in security group

If the exposed port is different than the application port running in the EC2 instance, incoming traffic will be blocked.
We should add the ELB exposed port in the security group for it to work.
We can create a new security group only for the load balancer or use the existing one.
We can
Create a Security Group for the Load Balancer ("LB-SG")
Create a Security Group for the EC2 instances ("App-SG")
In App-SG, permit inbound traffic on the desired port from LB-SG
We should keep in mind that we'll need access through SSH to the EC2 instance to run Ansible

We should keep in mind that we'll need access through SSH to the EC2 instance to run Ansible

This can (should?) be done in AWS EC2 Instance Connect from the AWS Console.  That way we don't have to worry about creating/sharing/managing .pems

If the exposed port is different than the application port running in the EC2 instance, incoming traffic will be blocked.

I don't think I understand why this would happen. I'd expect that whatever the LB has (:80 or :443 or whatever-the-app-set) shouldn't matter because it should be re-mapping it to whatever-the-app-set for the instance port. Is that not the case?
If that's not happening, can you share an example of what you're seeing?

looking at the SG terraform, i could see how if the LB terraform sets 80 or 443, the security group isn't, so traffic wouldn't go through.


Park trait, ParkThread implementation and using it in LocalPool

Hi,
I think it would be good to have a Park abstration (like the one in tokio) in futures-executor (this has already been proposed and merged in #665 for the tokio-reform branch, which has been abonded in #645).
In #665 Park was renamed to Sleep, but I think Park is the better choice:

std lib provides thread::park for a sleeping mechanism that can be cancelled ("unparked").
tokio users already know it by that name
it is not just a "sleep" mechanism due to the "wakeup" part

Apart from the names Sleep from #665 is basically the same as tokio Park; further changes to the API (compared to tokio):

merge Park::park_timeout into Park::park, now taking a ParkDuration enum: most implementations I've seen used shared code anyway.
Park::park now also includes a &mut Enter argument
Removed Unpark trait, Park no longer has an associated Unpark type.  Using futures_util::task::WakerRef instead for the result of the waker function (renamed from unpark).

I think reusing the Waker abstraction is rather obvious; but there are probably two open questions:

Use Waker instead of WakerRef?
Remove ParkDuration::Poll and interpret a zero duration in ParkDuration::Duration(..) as "poll only but don't yield"?

This pull request also contains a ParkThread implementation of Park (based on std::thread::park and similar to what LocalPool was using) and supports using LocalPool with custom Park implentations (defaulting to ParkThread).  This way LocalPool can be combined into a "local-thread runtime" with a timer and a reactor.
References:

tokio_executor::park
std::thread::park

Just rebased to current master.  Is there anything I can do to help moving this (and maybe other pull requests) forward?


I want to work on this

I can do it..


Change name of CONTRIB.md and link in readme

Change CONTRIB.md to CONTRIBUTING.md so that it follows the github recommendation.
https://github.com/blog/1184-contributing-guidelines
Also, link it from the README.md file.

Fixed & merged.


VS Code Plugin

Just having similiar functionality that we have on the web , but from a vscode plugin where you can drag drop your sketchfile and it will generate the files you need to run component/app/project
Describe the solution you'd like
I see that would be similar functionality like is already there in download part , but with aditional files like package.json , ts-config that are missing in donwload, cause we introduce them later when exporting to stackblitz.
Probably could be a 2 step implementation :
1 -Solve donwload converted sketch with additional files to run the app (pkg.json , etc. ..)
2 - Mimic same behaviour as VS code component

To keep everybody posted on this topic, we have created a separate repo for this xlayers-vscode-extension. Here you can create issues for bugs, feature request. We did not yet publish it to the marketplace. This is coming soon :)  for now I will close this issue as we have the separated repo.


Verify that the component passed to createAnimatedComponent is not functional

Stateless functional components don't support refs and we need that for the component to work, it used to crash with this error message: undefined is not an object (evaluating 'this._component.getScrollableNode'). This makes it clear what the issue is.
Fixes some of the errors in #10635, not sure if it fixes all the cases described in the issue though.
Test plan
Tested that passing a component with createClass or extends Component works but passing a function causes an error.

@sahrens Could you have a look at this?

@sahrens Yea I’m not sure if there is a better way, I commented on the diff to ask that but it doesn’t show up since I rebased. Maybe ask someone from the react team.

@bvaughn Is there a public API to check if a component is functional? (needed to know if refs are available).

FWIW we use this type of duck typing in React too (eg ReactFiberBeginWork, ReactTestUtilsEntry).
ReactBaseClass (aka React.Component, React.PureComponent) also defines an isReactComponent prop that we use some places (like in ReactFiber).

Thanks @bvaughn ! Update to use isReactComponent.
@ide I played with trying to flow type it properly again but there was an issue with default props, it didn't seem to pick it up properly anymore so it caused a bunch of errors where some props that should not be required were.

ping @sahrens @bvaughn :)

Updated and re-tested, we actually need to allow string components too since in prod views are just RCTView strings.