Modified Intermediate_PregnancyDuringART and intermediate_LatestObs

@Marymary-dev / @nobert-mumo  the naming should now be okay. The report name remains as REPORTING.dbo.Linelist_ServiceDeskRequests

@Marymary-dev / @nobert-mumo the naming should now be okay. The report name remains as REPORTING.dbo.Linelist_ServiceDeskRequests

@DennisGibz great. What about the reading from ODS. I feel we need a fact for this.

@Marymary-dev / @nobert-mumo the naming should now be okay. The report name remains as REPORTING.dbo.Linelist_ServiceDeskRequests

@DennisGibz great. What about the reading from ODS. I feel we need a fact for this.

@nobert-mumo I agree , we can plan to have this developed

sure, let's just do it right as part of this PR.

@nobert-mumo "we can plan to have this developed" I am not getting this.

Ah. I now get it. You can help in this? The plan was we first automate what was there since it was very manual.

The PR is attached to other two changes which are a bit urgent. Maybe we can have this approved for the ETL purposes then work on the fact in a different workstream.

The PR is attached to other two changes which are a bit urgent. Maybe we can have this approved for the ETL purposes then work on the fact in a different workstream.

@DennisGibz Am sorry, my bad what @nobert-mumo  says is that we develop the Fact for service desk so that we can have a linelistforServiceDesk and I agree, I thought he was referring to Fact for Pregnant on ART


Setup in-product notification to all users about changes to styling UI

TO BE ENABLED WHEN https://github.com/CartoDB/learn/pull/542 and https://github.com/CartoDB/cartodb/pull/14017 are merge/released
As part of https://github.com/CartoDB/product/issues/54, we want to display an in-product notification for all Builder users with the following copy:

We've been listening to your feedback and have made some important changes to styling in Builder! Learn about the new styling options here.

@javitonino is there some work we can start doing to prepare for this so that we can enable the notification when the code and guides are deployed? Thanks!
cc: @ivanmalagon

Thanks @javitonino!

Done. Let's remember to remove this in a few days/weeks.

@javitonino I think we can remove this notification.

Adding to RT (myself this week xD)


Json::encode() behaves differently from json_encode() when JsonSerializable::jsonSerialize() returns []

The documentation states that Json helper

enhances the PHP built-in functions json_encode() and json_decode()

and not changes their behavior.
But Json::encode() behaves differently from json_encode() when JsonSerializable::jsonSerialize() returns [].
What steps will reproduce the problem?
class EmptyJsonModel extends Model implements \JsonSerializable
{
    public function jsonSerialize()
    {
        return [];
    }
}

$data = new EmptyJsonModel();
var_dump(Json::encode($data));

What is the expected result?
[]

What do you get instead?
{}

Additional info

Q
A

Yii version
master

PHP version
7.0.8

Operating system
Ubuntu 16.04.1 LTS x86_64

But Json::encode() behaves differently from json_encode() when JsonSerializable::jsonSerialize() returns [].

This is expected. See #957

and not changes their behavior.

This is absolutely true. json_encode() provides several flags to control thier behavior. By default Yii uses thier combination, which is equal to 320.
You may use your own set of encode options if it is needed:
Json::encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
``

@klimov-paul how about adjusting https://github.com/yiisoft/yii2/pull/12044 to check out current behavior + document the difference?

@klimov-paul I expect Json::encode() here to return {} only if I use the JSON_FORCE_OBJECT option.
I also expect json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) to be replaceable with Json::encode($data) in all cases (except for JavaScript expressions, as the documentation states).

Resolved by commit acfe21b4001b3a7775ea7755266548b96b1fd192

Adjusted at 01e2ba1d28c3945156ecfd88e298e1d5129d2eb4

Hmm... wouldn't that break something in REST APIs part?

Unlikely JsonSerializable is not used anywhere in the core.
Thus normal serialization of the models and other Yii classes will not be affected.

OK.


How to get the original constraint name when we set "limit_names=True"?

Based on your previous advice, I installed new version and we understand we have no more "-" problem. Now we would like to ask you about the constraint name for the infeasibility analysis.
Usual case of infeasibility  analysis
When we have a model such as;
import pandas as pd
import saspy
s = saspy.SASsession(cfgname='winlocal')

import sasoptpy as so
model = so.Model(name="Test Model", session=s)

x_data = pd.DataFrame([['x1',2],['x2',3],['x3',4]],columns=['name','value']).set_index(['name'])
XS=x_data.index.tolist()
value=x_data['value']
x=model.add_variables(XS, vartype=so.CONT, lb=0, name='x')
model.add_constraints((x[i] <= 5*value[i] for i in XS ),name='c010')
model.add_constraints((x[i] >= 20 for i in XS ),name='c020')

Total = so.quick_sum ( value[i]*x[i] for i in XS )
model.set_objective(Total, sense=so.MAX, name='TotalValue')

optmodeldata = model.to_optmodel()
print(optmodeldata)

status=model.solve(limit_names=True)
print(status)

We can understand we must check c020 constraint from the log
NOTE: Constraint c020_x1 causes the problem to be infeasible.
With version 1.0.0.a2
When we run the long mathematical programming model, we got an error message like;
RuntimeError: Some object names are truncated, try submitting with limit_names=True parameter.
To put here, it is long, so alternatively we can reproduce the same error message with changing the data like
x_data = pd.DataFrame([['x-------------------------------1',2],['x-2',3],['x-3',4]],columns=['name','value']).set_index(['name'])
So we change solver call like
status=model.solve(limit_names=True)
Then we got following lines;
NOTE: Constraint o136 causes the problem to be infeasible.
NOTE: The LP presolver found this problem to be infeasible.
NOTE: Infeasible.
NOTE: The IIS= option can be used to help diagnose the cause of infeasibility.
We do not understand which is o136, so, we  called IIS;
status=model.solve(limit_names=True,options={'with':'lp', 'IIS':True})
then we got;
NOTE: The IIS= option is enabled.
(skip)
NOTE: The deletion filter removed 2 constraints and 0 variable bounds.
NOTE: The IIS= option found this problem to be infeasible.
NOTE: The IIS= option found an irreducible infeasible set with 0 variables and 2 constraints.
NOTE: The IIS solve time is 0.00 seconds.
How can we reach the infeasible place like variable name and/or constraint name?
expand / IIS
If we can call expand /IIS like optmodel, let us know. If we can get this kind of output, we can use it. We do not care which is usable.
Follow is the optmodel code and it's output.
proc optmodel;
   var x {{'x-------------------------------1','x-2','x-3'}} >= 0;
   con c010_x_______________________________1 : x['x-------------------------------1'] <= 10;
   con c010_x_2 : x['x-2'] <= 15;
   con c010_x_3 : x['x-3'] <= 20;
   con c020_x_______________________________1 : x['x-------------------------------1'] >= 20;
   con c020_x_2 : x['x-2'] >= 20;
   con c020_x_3 : x['x-3'] >= 20;
   max TotalValue = 2 * (x['x-------------------------------1']) + 3 * (x['x-2']) + 4 * (x['x-3']);
   solve with lp / IIS = TRUE;
	expand / IIS;
quit;

Output is;
Constraint c010_x_2: x['x-2'] <= 15
Constraint c020_x_2: x['x-2'] >= 20

Hi Kimiko,
When replaced, the long object names are stored inside an object of type SASMediator
[Source code] [API Reference]
Indeed, when you call model.solve, it directs and calls SASMediator.solve method. So, what you can do is make this process by hand, as follows:
from sasoptpy.interface import SASMediator
sm = SASMediator(model, s)
sm.solve(limit_names=True,options={'with':'lp', 'IIS':True})
sm.conversion

This should give you an output of following form:
{'o50': 'c010_x_______________________________1',
 'o51': 'c020_x_______________________________1'}

For the second part of the question, you can add literal optmodel code inside sasoptpy models now. Here is the full example for you:
from sasoptpy.abstract import LiteralStatement as ls

model = so.Model(name="Test Model", session=s)

x_data = pd.DataFrame([['x-------------------------------1',2],['x-2',3],['x-3',4]],columns=['name','value']).set_index(['name'])
XS=x_data.index.tolist()
value=x_data['value']
x=model.add_variables(XS, vartype=so.CONT, lb=0, name='x')
model.add_constraints((x[i] <= 5*value[i] for i in XS ),name='c010')
model.add_constraints((x[i] >= 20 for i in XS ),name='c020')

Total = so.quick_sum ( value[i]*x[i] for i in XS )
model.set_objective(Total, sense=so.MAX, name='TotalValue')

model.add_statement(ls("ods output expand=iis_output;"))
model.add_postsolve_statement(ls("expand / IIS;"))
model.add_postsolve_statement(ls("create data con_status from [j] = {1.._NCON_} con=_CON_.name value=_CON_.body status=_CON_.status;"))

sm = SASMediator(model, s)
sm.solve(limit_names=True,options={'with':'lp', 'IIS':True}, verbose=True)
sm.conversion

You can use model.add_statement and model.add_postsolve_statement together with sasoptpy.abstract.LiteralStatement. The first statement forwards "expand" output to a table called iis_output. The third one is a create data statement for printing the IIS status (an alternative way). After you submit, you can grab tables as follows:
s.sd2df('IIS_OUTPUT')

and
s.sd2df('CON_STATUS')

See the Jupyter notebook I have added.

Dear Sertalp,
Thank you for your samples. Please close this question.
P.S.
For the optimality check, I wanted to take out the "Bound Infeasibility" when we have a "Conditionally optimal solution(CONDITIONAL_OPTIMAL)". I understand that I can take it out from "SOL_SUMMARY". Thank you very much.
Regards,
Kimiko
from sasoptpy.abstract import LiteralStatement as ls
model = so.Model(name="Test Model", session=s)
x_data = pd.DataFrame([['x-1',2],['x-2',3],['x-3',4]],columns=['name','value']).set_index(['name'])
XS=x_data.index.tolist()
value=x_data['value']
x=model.add_variables(XS, vartype=so.INT, lb=1.00001, ub=30, name='x')
model.add_constraints((x[i] <= 5.1*value[i] for i in XS ),name='c010')
Total = so.quick_sum ( value[i]*x[i] for i in XS )
model.set_objective(Total, sense=so.MAX, name='TotalValue')
sm = SASMediator(model, s)
sm.solve(limit_names=True,options={'with':'milp'}, verbose=True)
sm.conversion
for i in s.list_tables('WORK'):
    print (i[0])
    if (i[0] == 'SOL_SUMMARY'):
        print (s.sd2df(i[0]))


Removed webspace as required parameter for get action

tasks:

[ ] gather feedback for my changes

informations:

q
a

Fixed tickets
fixes #1681

BC breaks
none

Documentation PR
none

@danrot this was also an easy fix we should include that in 1.1


Problem with the migration of books to 0.6.3

Hello,
I just encountered a very weird problem with a book that I upgraded from 0.5.1 to 0.6.3
I always used deploy.sh to build the book and when I upgraded my local installation of jupyter-books it required me to migrate the book to the new version. I did it apparently without problems, but from then on it was impossible to me to see changes on my deployed github pages books.
I think I just discovered the root of the issue: inside my old _build folder I had old .md files. Thus, every time I changed my source in content, either the gh pages system or my local jekyll were ignoring the changes and using the outdated .md file.
I guess this can be fixed in the migration script if it deletes the .md files from the _build folder.

oh no! tha'ts a good catch - so just to be clear, a fix here would be to ensure that old .md files in the _build folder are deleted upon upgrade...is that right?

That's what seems to me like the right fix. I deleted the old .md files in _build and now everything is updated when it should. I cannot say anything about old notebook files, but for markdown that seems to be the neccessary fix.

This should now be fixed in #449 - thanks for bringing it up!


module gconftool-2 fails with late ansible

not urgent or important, just want to provide feedback ->
When I run my forked copy of your provisioning-local repo with a recent checkout of ansible (I am currently on ansible <IP_ADDRESS> (detached HEAD b599477242), a task using gconftool-2 fails with:

TASK [common : install fonts - set system font] ********************************
task path: /home/sgw/provisioning-local/roles/common/tasks/font.yml:84
<<IP_ADDRESS>> ESTABLISH LOCAL CONNECTION FOR USER: sgw
<<IP_ADDRESS>> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044" && echo ansible-tmp-1465389604.39-33377802444044="echo $HOME/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044" ) && sleep 0'
<<IP_ADDRESS>> PUT /tmp/tmp3CQy_s TO /home/sgw/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044/gconftool-2
<<IP_ADDRESS>> EXEC /bin/sh -c 'LANG=C LC_ALL=C LC_MESSAGES=C /usr/bin/python2.7 /home/sgw/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044/gconftool-2; rm -rf "/home/sgw/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044/" > /dev/null 2>&1 && sleep 0'
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "gconftool-2"}, "module_stderr": "  File "/home/sgw/.ansible/tmp/ansible-tmp-1465389604.39-33377802444044/gconftool-2", line 88\n    from ansible_module_gconftool-2 import main\n                                 ^\nSyntaxError: invalid syntax\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}

Same task runs fine with older versions of ansible. Could you have a look?
In general: thanks a lot for that repo, I modified it for my own usage and use it regularly.

No problem, glad someone else has used it. Haven't needed to run it in a few months so it's out of date with current ansible.  Does it run fine on the version just before that one?

works with tags/v<IP_ADDRESS>-1 -> ansible <IP_ADDRESS> (detached HEAD 24d9e5e0b4)
fails with tags/v<IP_ADDRESS>-1 -> ansible <IP_ADDRESS> (detached HEAD b599477242)

Alright, I'll take a look this weekend.
On Thu, Jun 9, 2016, 1:49 AM Stefan G. Weichinger<EMAIL_ADDRESS>wrote:

works with tags/v<IP_ADDRESS>-1 -> ansible <IP_ADDRESS> (detached HEAD 24d9e5e0b4)
fails with tags/v<IP_ADDRESS>-1 -> ansible <IP_ADDRESS> (detached HEAD b599477242)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JBKahn/provisioning-local/issues/17#issuecomment-224805876,
or mute the thread
https://github.com/notifications/unsubscribe/ACiBva3SXEPfOnihI7Avj25q_Z_g8OmFks5qJ6mBgaJpZM4Iw604
.

this might be the same issue: http://stackoverflow.com/questions/37514125/syntax-error-in-ansible-regardless-of-input-when-using-ec2-module
Although we have "ansible_python_interpreter=/usr/bin/python2" in HOSTS

oh, based on that I assume it might be executing it in python 3? I'll double check it's python 2/3 compatible and fix it if it's not and see if that solves it? I'll fiddle around this weekend.

running it with -vvvv mentions python2.7
for 2.1
<<IP_ADDRESS>> EXEC /bin/sh -c 'LANG=de_AT.UTF-8 LC_ALL=de_AT.UTF-8 LC_MESSAGES=de_AT.UTF-8 /usr/bin/python2.7 /home/sgw/.ansible/tmp/ansible-tmp-1465497915.96-131643139944645/gconftool-2; rm -rf "/home/sgw/.ansible/tmp/ansible-tmp-1465497915.96-131643139944645/" > /dev/null 2>&1 && sleep 0'
for 2.0.2 it is nearly identical
<IP_ADDRESS> EXEC /bin/sh -c 'LANG=de_AT.UTF-8 LC_ALL=de_AT.UTF-8 LC_MESSAGES=de_AT.UTF-8 /usr/bin/python2.7 /home/sgw/.ansible/tmp/ansible-tmp-1465499348.76-213076821153402/gconftool-2; rm -rf "/home/sgw/.ansible/tmp/ansible-tmp-1465499348.76-213076821153402/" > /dev/null 2>&1'
I am no programmer so this is just simple comparing ... trying to figure it out ;-)
again, no hurries.

Ohhhh got it. They changes the way they import modules and so now it uses an actual import statement which breaks because it's gconftool-2. If you rename all cases of gconftool-2 in the script ot gconftool2 and rename the file in the ansible_modules folder from gconftool-2 to gconftool2 it should work. Let me know if that solves it.

like this: https://github.com/JBKahn/provisioning-local/pull/18

yes, that fixes it. Thanks!


add support for new python 3.11 features

Closes #67 Closes #68

Blocked due to https://travis-ci.community/t/please-add-image-for-python-3-11/13384

Pull Request Test Coverage Report for Build 380

60 of 60 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 99.915%

Totals

Change from base Build 377:
0.008%

Covered Lines:
1611

Relevant Lines:
1612

💛  - Coveralls


Bugfix UI Mirroring

with this small adjustment UI Mirroring Demo works like before with the version Godot.4.0-rc6
@bruvzg: do you see any problems when en is no longer hardcoded?
(Note: in the header file locale is initialized with 'en'. )
https://github.com/godotengine/godot-demo-projects/tree/master/gui/ui_mirroring
original gscript
https://github.com/godotengine/godot/assets/41921395/b91a0c47-228a-452e-8a69-1feab8bfdb04

So the correct fix for the demo is:

Add dummy translation.csv to the project:

keys,en,ar
dummy,dummy,dummy

Import it, and add both generated translation files in the Projects Settings→Localization→Translations.

ok I will try it later

Thanks for the tips!
https://github.com/godotengine/godot-demo-projects/pull/974


Name conflict: user defined check() macro conflicts with cereal's method name

I have an error check macro that looks like this:
    #define check(_expression)\
        (void)(!!(_expression) || (_wassert(_CRT_WIDE(#_expression), _CRT_WIDE(__FILE__), __LINE__), 0))

Compilation fails If this macro appears before the inclusion of cereal/access.hp, as it conflicts with  cereal's detail::shared_from_this_wrapper::check.
The issue is trivial. But It would be nice if cereal does not occupy beloved names like check. At least make it _cereal_check_

Similar issue to #104. Trivial issues can have trivial pull requests! Is the word test (I'm not a fan of leading underscores) safe to use? Is it the onus of a library to avoid common words that the preprocessor might replace?
Here's everywhere lowercase check shows up in our code:
./cereal/archives/xml.hpp:          We check to see if the specified NVP matches what the next automatically loaded node is.  If they
./cereal/archives/json.hpp:          check of our node state and decide whether we are in an array or an object.
./cereal/archives/json.hpp:          check to see if an NVP has been provided (with setNextName) and if so, see if that name matches the actual
./cereal/archives/json_backup.hpp:          check of our node state and decide whether we are in an array or an object.
./cereal/archives/json_backup.hpp:          check to see if an NVP has been provided (with setNextName) and if so, see if that name matches the actual
./cereal/details/polymorphic_impl.hpp:        Since the compiler needs to check all possible overloads, the
./cereal/details/traits.hpp:      typedef typename detail::has_member_save_impl<T, A> check;
./cereal/details/traits.hpp:      static_assert( check::value || !check::not_const_type,
./cereal/details/traits.hpp:      typedef typename detail::has_member_versioned_save_impl<T, A> check;
./cereal/details/traits.hpp:      static_assert( check::value || !check::not_const_type,
./cereal/details/traits.hpp:      using check = typename detail::has_non_member_##test_name##_impl<T, A>;                                                \
./cereal/details/traits.hpp:      static_assert( check::value || !check::not_const_type,                                                                 \
./cereal/details/traits.hpp:      using check = typename detail::has_member_##test_name##_impl<T, A>;                                            \
./cereal/details/traits.hpp:      static_assert( check::valid,                                                                                \
./cereal/details/traits.hpp:      using type = typename detail::get_member_##test_name##_type<T, A, check::value>::type;                         \
./cereal/details/traits.hpp:      static_assert( (check::value && is_minimal_type<type>::value) || !check::value,                                \
./cereal/details/traits.hpp:      using check = typename detail::has_non_member_##test_name##_impl<T, A>;                                                \
./cereal/details/traits.hpp:      static_assert( check::valid,                                                                                \
./cereal/details/traits.hpp:      using type = typename detail::get_non_member_##test_name##_type<T, A, check::value>::type;                             \
./cereal/details/traits.hpp:      static_assert( (check::value && is_minimal_type<type>::value) || !check::value,                                        \
./cereal/details/traits.hpp:          parameter as some generic template type and needs to perform trait checks
./cereal/details/traits.hpp:        Our strategy here is to first check if a function matching the signature more or less exists
./cereal/details/traits.hpp:        using check = has_non_member_##test_name##_impl<T, A, SaveType>;                                                     \
./cereal/details/traits.hpp:        static const bool value = check::exists;                                                                             \
./cereal/details/traits.hpp:        static_assert( check::valid || !check::exists, "cereal detected different types in corresponding non-member "        \
./cereal/details/traits.hpp:        static_assert( check::const_valid || !check::exists,                                                                 \
./cereal/details/traits.hpp:    //! Member load and construct check
./cereal/details/traits.hpp:    //! Member load and construct check (versioned)
./cereal/details/traits.hpp:    //! Non member load and construct check
./cereal/details/traits.hpp:    //! Non member load and construct check (versioned)
./cereal/details/traits.hpp:    /*! This creates checks that can be queried to see if a given type of serialization function
./cereal/details/traits.hpp:        static auto check( U const & t ) -> decltype( ::cereal::access::shared_from_this(t), std::true_type() );
./cereal/details/traits.hpp:        static auto check( ... ) -> decltype( std::false_type() );
./cereal/details/traits.hpp:    struct has_shared_from_this : decltype(detail::shared_from_this_wrapper::check(std::declval<T>()))
./cereal/details/traits.hpp:        users should use strip_minimal when performing any enable_if type type trait checks.
./cereal/details/helpers.hpp:    // base classes for type checking
./cereal/types/polymorphic.hpp:    /*! This check lets us try and skip doing polymorphic machinery if we can get away with
./cereal/types/polymorphic.hpp:        default constructors, but on clang/gcc this will return false.  So we also need to check for that here.
./cereal/types/polymorphic.hpp:    /*! This check lets us try and skip doing polymorphic machinery if we can get away with
./cereal/types/common.hpp:        traits checking at compile time will attempt to call something like
./cereal/external/rapidjson/document.h:    /*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessDouble() to check whether the converison is lossless.
./cereal/external/rapidjson/document.h:    /*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the converison is lossless.
./cereal/external/rapidjson/document.h:    //! Templated version for checking whether this value is type T.
./cereal/external/rapidjson/rapidjson.h:    \brief (Internal) macro to check for conditions at compile-time
./cereal/external/rapidjson/encodedstream.h:        // Runtime check whether the size of character type is sufficient. It only perform checks with assertion.
./cereal/external/rapidjson/encodedstream.h:        // Runtime check whether the size of character type is sufficient. It only perform checks with assertion.
./cereal/external/rapidjson/pointer.h:                // First check for index: all of characters are digit
./cereal/external/rapidjson/pointer.h:            // Second check for index: more than one digit cannot have leading zero
./cereal/external/rapidjson/pointer.h:        mark invalid, and to be checked by IsValid().
./cereal/external/rapidjson/reader.h:    caller to explicitly check the \ref rapidjson::GenericReader::Parse's
./cereal/cereal.hpp:      must check to see if they need to load or store version information).

I understand your point. People love words like check, no one wants to add ugly underscores to it.
And I agree that, usually it should be the job of the macro author(i.e. me) to make sure the macro does not break someone else's code.
But when it comes to libraries, I think the de facto standard is to avoid using common words, though it's not very fair for library writers. Just a snippet from STL:
template<class _Iter, class _UIter> inline
	_Iter& _Rechecked(_Iter& _Dest, _UIter _Src)
	{	// reset checked from unchecked, generic
	_Dest = _Src;
	return (_Dest);
	}

Don't get it wrong, cereal is a great library, it makes it much easier for C++ projects to have a quick and decent integration of serialization(instead of introducing boost), which I really appreciate:+1:

I mean, you're basically asking for it if you have a lowercase macro


Firewall rules excessive changes on terraform plan

User Story
As a Modernisation platform engineer
I want to explore a better way of merging all the firewall json file together
So that when a plan is run it only shows the new rule that is added and dose not change the position of existing firewall rules
Value / Purpose
This was noticed by one of our account holders when he put a new PR in for new firewall rules when he looked at the plan he noticed a lot of changes happening and could not tell if his changes where going though, it was only after investigation that we found out that this was expected behaviour due to the random nature of how merge works in terraform. That it recreates the main firewall file and current firewall positions are not guaranteed.
Useful Contacts
Mark Roberts
Additional Information
No response
Proposal / Unknowns
Definition of Done

[ ] Alternative options explored
[ ] Potentially implement new option
[ ] Relevant documentation has been updated
[ ] Another team member has reviewed
[ ] Firewall rules can be applied without significant churn

I don't think there's a better way on this; because the rules.json files are merged and passed in as an object - aws_networkfirewall_rule_group - there will be changes to that resource, and those will be output into the Terraform plan.

potenial change
https://github.com/ministryofjustice/modernisation-platform/pull/8774/files
adds a sort before the merge


Understand stable memory sizes

Look at the stable memory tests, we should understand exactly what the size numbers mean and why they behave as they do.

[x] pages
[x] stable memory size
[x] Why stable_bytes returns an array of size 655_360 no matter what

It isn't that complicated if you study the interface spec: https://internetcomputer.org/docs/current/references/ic-interface-spec/#system-api-stable-memory


Add ACL2020-DuRecDial.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liuzeming01 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

need to change local Git configuration settings.


[Question] Scripting SAM CLIs and Lambda Versioning best practice

Hi. Newbie here and hope someone can provide some guidance.
I originally posted my question here, but has some follow-up questions.
I uses Visual Studio SAM project to create multiple lambda functions, and I've written a script that:
sam build
sam package
sam deploy

Everything works great. However:

sam package generates and upload to S3 {UUID} package zip files (one per function). Can I give it a more meaningful name instead of {UUID}?
Running my script will always generate and upload new package files even thought I've made no changes to my function. Is there a way/method where it will only build or package IFF there is changes to my function?

Now, I'm planning on the CI/CD to bring it to the team and faces a few dilemma. I'm using the 3 stacks (dev, QA, prod) - 1 template - {stacks}functions model. When in production, I want my Lambda functions to be backward compatible with my app; so that if I've breaking change in my Lambda function and user has not updated the app, the app still works. So:
1. First, I thought of using Lambda Alias:
Everytime I deploy, I will set my AutoPublishAlias to a particular alias. In my app, I will use the ARN to the alias. However, because AutoPublishAlias always removed the previously set alias, this doesn't work
2. Then I though of using the Version:
I would use the ARN that points to the particular version. But, thinking ahead of cleaning up the artifacts in S3, it will be impossible. I managed to find a solution that delete the artifacts if it is not referenced by any alias. So, this option is not too good too.
Any advice is much appreciated?

Approach 2 is correct, but would need a modification to the lambda-janitor application that you linked to check if a version has been invoked recently before deleting it. This can be done by querying CloudWatch metrics for the lambda function.


Replace ns.Owner with ns.IsOwned in the forest

Since we only use subnamespace owner annotation as source of truth and
always set parent to the owner in HCR, ns.Owner string field is not
necessary and a ns.IsOwned bool field is enough.
Tested with 'make test' and manually tested the webhook of changing an
owned namespace's parent on GKE cluster.
Part of #457
Fixes #552

/assign @adrianludwin


O> Chantal as host of member debrief meeting

@dcpnlau is invited to host the weekly member debrief meeting
She will:

act as the chairman
host the meeting
make summaries
prepare newsletter updates
and more

Best of luck to her. Well done.

That's a very good effort. All the best.

Hi Everyone,
Nice to meet you and thanks for the introduction.
I will kick off hosting the weekly meeting in January. I am based in Sydney
so time difference can make meetings slightly challenging. Can you
therefore let me know which of the below works best for you - day and time
with most votes win:
Tuesday 8:30am CET
Tuesday 9:30am CET
Wednesday 8:30am CET
Wednesday 9:30am CET
I understand that you are still in the process of assigning roles and
responsibilities within Rchain.
With that in mind, can you please answer the questions below (can be reply
all or to myself only) so I understand what you'd like to contribute and
how the meetings will be most effective for you. I will then use that to
make sure everyone can work on their preferred subject matters, best use
their skills and make the meetings as useful as possible.

What role would you like to fulfil within Rchain?
What are your main skills that you can apply to Rchain?
What would you like to take out of the weekly meetings?

I look forward to hearing from everyone.
Thanks,
Chantal
On Fri, Dec 22, 2017 at 3:31 AM, kaka56<EMAIL_ADDRESS>wrote:

That's a very good effort. All the best.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-353395406, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhCvhkstGWTjN3nlTutsE9tChNtmSsTwks5tCofYgaJpZM4RIPul
.

Hi Chantal
Nice to meet you :)
I could help with digital marketing and white hat Seo (area of expertise)
and am also very proficient in WordPress development and setup.
Happy to help as needed
Best
Vishal
YetiYogi.com
On Wed, 27 Dec 2017 at 6:57 AM, dcpnlau<EMAIL_ADDRESS>wrote:

Hi Everyone,
Nice to meet you and thanks for the introduction.
I will kick off hosting the weekly meeting in January. I am based in Sydney
so time difference can make meetings slightly challenging. Can you
therefore let me know which of the below works best for you - day and time
with most votes win:
Tuesday 8:30am CET
Tuesday 9:30am CET
Wednesday 8:30am CET
Wednesday 9:30am CET
I understand that you are still in the process of assigning roles and
responsibilities within Rchain.
With that in mind, can you please answer the questions below (can be reply
all or to myself only) so I understand what you'd like to contribute and
how the meetings will be most effective for you. I will then use that to
make sure everyone can work on their preferred subject matters, best use
their skills and make the meetings as useful as possible.

What role would you like to fulfil within Rchain?
What are your main skills that you can apply to Rchain?
What would you like to take out of the weekly meetings?

I look forward to hearing from everyone.
Thanks,
Chantal
On Fri, Dec 22, 2017 at 3:31 AM, kaka56<EMAIL_ADDRESS>wrote:

That's a very good effort. All the best.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-353395406,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AhCvhkstGWTjN3nlTutsE9tChNtmSsTwks5tCofYgaJpZM4RIPul
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-354033856, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMXWnQWOt3gDtwnYZ0kfSXJbcFNfSa7Oks5tEZ0LgaJpZM4RIPul
.

For your questions I could make a google form.
Sent from my iPhone

On 27 Dec 2017, at 10:54, Vishal<EMAIL_ADDRESS>wrote:
Hi Chantal
Nice to meet you :)
I could help with digital marketing and white hat Seo (area of expertise)
and am also very proficient in WordPress development and setup.
Happy to help as needed
Best
Vishal
YetiYogi.com
On Wed, 27 Dec 2017 at 6:57 AM, dcpnlau<EMAIL_ADDRESS>wrote:

Hi Everyone,
Nice to meet you and thanks for the introduction.
I will kick off hosting the weekly meeting in January. I am based in Sydney
so time difference can make meetings slightly challenging. Can you
therefore let me know which of the below works best for you - day and time
with most votes win:
Tuesday 8:30am CET
Tuesday 9:30am CET
Wednesday 8:30am CET
Wednesday 9:30am CET
I understand that you are still in the process of assigning roles and
responsibilities within Rchain.
With that in mind, can you please answer the questions below (can be reply
all or to myself only) so I understand what you'd like to contribute and
how the meetings will be most effective for you. I will then use that to
make sure everyone can work on their preferred subject matters, best use
their skills and make the meetings as useful as possible.

What role would you like to fulfil within Rchain?
What are your main skills that you can apply to Rchain?
What would you like to take out of the weekly meetings?

I look forward to hearing from everyone.
Thanks,
Chantal
On Fri, Dec 22, 2017 at 3:31 AM, kaka56<EMAIL_ADDRESS>wrote:

That's a very good effort. All the best.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-353395406,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AhCvhkstGWTjN3nlTutsE9tChNtmSsTwks5tCofYgaJpZM4RIPul
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-354033856, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMXWnQWOt3gDtwnYZ0kfSXJbcFNfSa7Oks5tEZ0LgaJpZM4RIPul
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey @dcpnlau nice to have you on Board!
I currently help with a lot of the digital marketing and community building activities.
Cheers

hey @dcpnlau can ypou put your availability into this?
https://meeting.freecodecamp.org/event/5a43e8221f9aac1956bb5fe0

A google form would make it easier to collate and analyse data. Welcome aboard @dcpnlau

Thanks to those who replied.
I had a look at the calendar and realised that my time zone and
availability isn't ideal - most of the suggested times are during the night
time for me. If there are weeks where more people can make it and I can't,
I'm more than happy to have someone else facilitate the meeting, but we can
play it by ear.
Who manages the calendar? Is there a new calendar for the next few weeks?
Might be good to set availability for a few weeks out so everyone can
manage their diaries better.
I also created a Google form to answer my questions (thanks for the
suggestion), which you can find here
https://docs.google.com/spreadsheets/d/1YbmexWhD8MYXGT5NYoUqwSN3wKQ98avh_7U45kBN_g8/edit?usp=sharing
.
Let me know your thoughts.
Thanks!
On Wed, Dec 27, 2017 at 12:27 PM, Chantal Penning<EMAIL_ADDRESS>wrote:

Hi Everyone,
Nice to meet you and thanks for the introduction.
I will kick off hosting the weekly meeting in January. I am based in
Sydney so time difference can make meetings slightly challenging. Can you
therefore let me know which of the below works best for you - day and time
with most votes win:
Tuesday 8:30am CET
Tuesday 9:30am CET
Wednesday 8:30am CET
Wednesday 9:30am CET
I understand that you are still in the process of assigning roles and
responsibilities within Rchain.
With that in mind, can you please answer the questions below (can be reply
all or to myself only) so I understand what you'd like to contribute and
how the meetings will be most effective for you. I will then use that to
make sure everyone can work on their preferred subject matters, best use
their skills and make the meetings as useful as possible.

What role would you like to fulfil within Rchain?
What are your main skills that you can apply to Rchain?
What would you like to take out of the weekly meetings?

I look forward to hearing from everyone.
Thanks,
Chantal
On Fri, Dec 22, 2017 at 3:31 AM, kaka56<EMAIL_ADDRESS>wrote:

That's a very good effort. All the best.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/206#issuecomment-353395406,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhCvhkstGWTjN3nlTutsE9tChNtmSsTwks5tCofYgaJpZM4RIPul
.

@dcpnlau Impressive work well done.

All the best to her.

This appears to be done.


Roll Flutter Engine from 0ce67714ce4c to dbe6a9283a7d (12 revisions)

https://github.com/flutter/engine/compare/0ce67714ce4c...dbe6a9283a7d
2024-05-01<EMAIL_ADDRESS>Roll Skia from 5f4ebd628994 to bfbd738fb97b (2 revisions) (flutter/engine#52479)
2024-05-01<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from HP2saK9sVOtKvpquC... to PIHl-e41i3mzbriG1... (flutter/engine#52480)
2024-05-01<EMAIL_ADDRESS>Roll Skia from a6bc04f984d2 to 5f4ebd628994 (1 revision) (flutter/engine#52478)
2024-05-01<EMAIL_ADDRESS>Roll Dart SDK from c88854d4282c to d946408c559a (1 revision) (flutter/engine#52476)
2024-05-01<EMAIL_ADDRESS>[Impeller] Document the EGL toolkit. (flutter/engine#52469)
2024-05-01<EMAIL_ADDRESS>[skwasm] Change default FilterQuality to None for image shaders. (flutter/engine#52468)
2024-05-01<EMAIL_ADDRESS>Roll Dart SDK from 3f649c97a08c to c88854d4282c (1 revision) (flutter/engine#52475)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 30aaaef0390d to a6bc04f984d2 (1 revision) (flutter/engine#52471)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 85ec65ecd5ec to 30aaaef0390d (4 revisions) (flutter/engine#52466)
2024-04-30<EMAIL_ADDRESS>Roll Dart SDK from 7a517de88964 to 3f649c97a08c (1 revision) (flutter/engine#52465)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 77350e051f71 to 85ec65ecd5ec (2 revisions) (flutter/engine#52464)
2024-04-30<EMAIL_ADDRESS>Roll Skia from 8f2d039e1190 to 77350e051f71 (1 revision) (flutter/engine#52460)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from HP2saK9sVOtK to PIHl-e41i3mz
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Adds the possibility for third party to add a custom settings resolver

By implementing the ISettingsResolver interface.
Resolves: #50

I realize I changed the signature of GetSettings
from: T GetSettings() where T : IContent
to: T GetSettings() where T : SettingsBase
Maybe this is not a sane change? It just seemed weird to have a method called GetSetting and not be getting a setting back.


Refactor code to adhere to a number of standards

This was a big one!! Up until now, the code style in GeoUtils has been largely inconsistent, where each contributor has more or less had their own style. This PR brings an automatic check to validate the code using a bunch of tools, and a refactor of the entire code-base to adhere to these standards.

The codebase now uses black and isort to format the code automatically
An exception to black's strict rules is the 120 character limit instead of 88. This applies for all linters as well
Incorrectly spelled words in comments and text are now shown as lints (valdate -> validate and so on)
mypy is running in strict mode, with some exceptions. This means that all functions have to be type-annotated. I've needed to add the # type: ignore flag to some places where mypy doesn't understand the syntax (but it is still technically valid). In the future, we should try to avoid that flag, and could even add it as an anti-pattern (like e.g. pandas does). If mypy can't understand the syntax, it can most often be expressed in a more fool-proof way.
Docstring type annotations are now flagged as erroneous, and the function/method definition type hints are suggested instead.
An instruction of how to use these tools is added in CONTRIBUTING.md.

Tools that are used:

black: Formats the code in a strict and systematic way
mypy: Validates and enforces type hints
flake8: Provides various lints
check-yaml: Formats yaml files consistently
end-of-file-fixer: Formats the end of files consistently
trailing-whitespace:  Removes trailing whitespaces
codespell: Fixes common spelling mistakes in documentation
absolufy-imports: Convert relative imports to absolute (e.g. "from . import georaster" -> "from geoutils import georaster")
isort: Sorts imports alphabetically and by origin (builtin, third party, local)
pyupgrade: Automatically formats code to use the most modern syntax (set to fit 3.7+)
Multiple rst lints
python-no-eval: Avoid the use of eval() as it can execute arbitrary code.
relint: Custom regex lints. Used currently to define docstring types as an anti-pattern.

Tools that could be added are docstring checks. I didn't bother to add missing docstrings (there are quite many) in this PR, but we should probably enforce them at some point.

Wow, great job!! Thanks Erik!
It will definitely make the code more readable and consistent.
I will have a look, but not now. As long as it doesn't break the tests, I think I'm happy!

I have a few questions before we can merge that, but overall it's an impressive effort, thanks !!
My biggest concern is: how much effort will it be for the developers to follow the rules? I guess the linters will fix many of the syntax issues, but some aspects (e.g. type hinting) will need to be understood by the developers, or else they will never manage to merge a PR, right? So basically, I need to understand what will contributors need to do to be able to merge a PR.
I think it's definitely great to have a clear syntax, but I also don't want it to be so complex that it might discourage potential contributors. Not everyone is as up-to-date with coding practices as you are @erikmannerfelt ;-)

I have a few questions before we can merge that, but overall it's an impressive effort, thanks !!
My biggest concern is: how much effort will it be for the developers to follow the rules? I guess the linters will fix many of the syntax issues, but some aspects (e.g. type hinting) will need to be understood by the developers, or else they will never manage to merge a PR, right? So basically, I need to understand what will contributors need to do to be able to merge a PR.
I think it's definitely great to have a clear syntax, but I also don't want it to be so complex that it might discourage potential contributors. Not everyone is as up-to-date with coding practices as you are @erikmannerfelt ;-)

I get your point, and I understand that there needs to be some limit to strictness! As previously mentioned, this check doesn't necessarily need to pass in order to merge a PR (although I would strongly prefer to discuss this in the future). Also, running pre-commit run --all-files formats the code automatically. Then it's all about fixing the very descriptive lints provided by flake8 and mypy. We can of course also help with PR PRs.

I get your point, and I understand that there needs to be some limit to strictness! As previously mentioned, this check doesn't necessarily need to pass in order to merge a PR (although I would strongly prefer to discuss this in the future). Also, running pre-commit run --all-files formats the code automatically. Then it's all about fixing the very descriptive lints provided by flake8 and mypy. We can of course also help with PR PRs.

Yes, a failure is not really useful if one keeps ignoring it...
Ok, well if you say that error messages are helpful enough for most contributors to be able to fix the issue themselves, then it should be ok.
I think we should not spend our time trying to fix other people's PR though...
I guess we can give it a try and if it becomes too difficult to enforce, we can always deactivate some of the pre-commit checks, right?

I will merge this now, as I need to fix a bug in geoutils and if I do it in parallel there might be a lot of conflicts.


feat(payment): PAYMENTS-6813 add wip ppsdk payment method

What?
...
Why?
...
Testing / Proof
...
@bigcommerce/checkout

Awaiting a bumped SDK version following merge of: https://github.com/bigcommerce/checkout-sdk-js/pull/1139

Awaiting a bumped SDK version following merge of: bigcommerce/checkout-sdk-js#1139

Done

Code looks good. One thing regarding the payment methods that renders no UI, is that they usually modify the text in the submit button. They usually show "Continue with X" rather than "Place Order". More of a UX thing but might be worth keeping it consistent.

Good point! I've made an additional ticket to cover that off in future work: https://jira.bigcommerce.com/browse/PAYMENTS-6899


Error processing page (javascript - Ajax) after insert Captcha value

I'm using Htmlunit 2.43 with Spring.
When I click the button and call Ajax JavaScript I see in log the
Re-synchronized call to https://www.licitacoes-e.com.br/aop/listar-lotes.aop?opcao=listarLotesPosCaptcha&numeroLicitacao=824678&numeroLoteInicial=0&numeroLoteFinal=0&question=68pwr and it's ok, this link open the correct Page, but the variable Page doesn't change with the value correct the link.
My Code:
WebClient client = new WebClient(BrowserVersion.CHROME);

CookieManager cookieManager = client.getCookieManager();
cookieManager.setCookiesEnabled(true);
client.setCookieManager(cookieManager);
client.getOptions().setJavaScriptEnabled(true);
client.getOptions().setThrowExceptionOnScriptError(false);
client.getOptions().setCssEnabled(false);
client.setAjaxController(new NicelyResynchronizingAjaxController());
client.getOptions().setPopupBlockerEnabled(true);
client.getOptions().setThrowExceptionOnFailingStatusCode(false);
client.getOptions().setUseInsecureSSL(true);
client.getOptions().setRedirectEnabled(true);
.....
HtmlTextInput inputCaptcha =
  paginaAfterConsultaIdentificadorCaptcha.querySelector("input[name='questionCL']");
inputCaptcha.setValueAttribute("4wh7m");

paginaAfterConsultaIdentificadorCaptcha = ((HtmlButtonInput)
paginaAfterConsultaIdentificadorCaptcha.getElementById("botao_continuar")).click();
client.waitForBackgroundJavaScript(10000);
System.out.println(paginaAfterConsultaIdentificadorCaptcha.asXml());

 I already tried this too:
  for (int i = 0; i < 20; i++) {
        synchronized (paginaAfterConsultaIdentificadorCaptcha) {
            paginaAfterConsultaIdentificadorCaptcha.wait(10000);
        }
    }
   System.out.println(paginaAfterConsultaIdentificadorCaptcha.asXml());

In console log show me:
2020-09-14 15:39:45.201  INFO 2573 --- [pool-2-thread-1] .g.h.NicelyResynchronizingAjaxController : Re-synchronized call to https://www.licitacoes-e.com.br/aop/listar-lotes.aop?opcao=listarLotesPosCaptcha&numeroLicitacao=824678&numeroLoteInicial=0&numeroLoteFinal=0&question=4wh7m
2020-09-14 15:39:47.687  WARN 2573 --- [Client@2760b96d] c.g.htmlunit.html.HtmlScript             : Script is not JavaScript (type: 'true/text/javascript', language: ''). Skipping execution.
2020-09-14 15:39:47.687  WARN 2573 --- [Client@2760b96d] c.g.htmlunit.html.HtmlScript             :
Script is not JavaScript (type: 'true/text/javascript', language: ''). Skipping execution.

I realized that deleting the cookies (JSESSIONID) in Browser(FireFox) show the same page that the htmlunit after execute Ajax. But I put the cookie in code and the page doesn't return expected page.

I realized too that the new page that is call by ajax has a code

but not refer um jquery file.
Will be that it can be the error?

I believe that the error is when the ajax call open the link. This page needs the cookies, but I don't know. I tried everything. I putted the cookies in webClient, putted in header but doen't work. Really, I need help.

And please try to refresh your page variable (just in case the page got replaced by js) by doing something like
client.waitForBackgroundJavaScript(10000);
page = page.getEnclosingWindow().getEnclosedPage();

First, thanks for answer!
This is a government page and I use HtmlUnit for get datas.
I tried you example code: client.waitForBackgroundJavaScript(10000); page = page.getEnclosingWindow().getEnclosedPage()""
But sorry doen't worked!
This page use Cookie Session (JSESSIONID) when I deleted this cookie in browser (Chrome) happened the same error.
So, will be that the error is when send this cookie?
Other detail when I click in the button this function that is call:


Add support for ipsets

Currently, ipsets seems unsupported in the -allow flag:
e.g.:
2024/10/30 20:55:10 unsupported section [ipsets] specified in [-allow] flag

Fixed in #22.


[1.7.10] AdvancedRocketry + ICBM

I get a crash while starting my client with just AR, ICBM and Thermal Expansion installed (latest versions with libs)
Separately both mods works perfect.
Crashlog http://pastebin.com/8HdZhGDS

I also have a crash

Reminds me a lot of https://github.com/zmaster587/AdvancedRocketry/issues/281
investigating

Turns out the fix applied to #281 did not work in 1.7.10 because if no block for a given item is found in 1.7.10 it returns Block.air, in 1.10.2 it returns null, I had assumed the that return in 1.7.10 would also be null which is why this occured.

will probably push a release today or tomorrow with the fix

no (((
https://gist.github.com/aa4b2a6c54ca8e890e82a0765c0abb88
AdvancedRocketry-1.7.10-1.0.3.jar
LibVulpes-1.7.10-0.1.11-universal.jar
and
ICBM-1.7.10-2.14.0b26-universal.jar
VoltzEngine-1.7.10-0.23.1b11-universal.jar
separately work...
do not work together

That looks like you're missing the RF API

Try deleting and redownloading libvulpes

@zmaster587
AdvancedRocketry-1.7.10-1.0.3.jar
CRC-32: 8b58ea2d
MD4: f4db399eb2b59cb431c09c1564f48a76
MD5: 1e1bdd3da83f166d962978fb14539316
SHA-1: 8ad3ac1a5b944a33c94334c9659b7fda04447bd8
LibVulpes-1.7.10-0.1.11-universal.jar
CRC-32: 33af05ac
MD4: 5e8b06aedeb75b139e08ee0aba7758a7
MD5: 89bfc04765ee07246c3f2ca7e0fde690
SHA-1: e599cb9079da493ca79d26ec3d247439f719665e
AdvancedRocketry-1.7.10-1.0.3
ICBM-1.7.10-2.14.0b26-universal.jar
separately these mods work single player world is also checked.
and together do not want

I suspect VoltzEngine is doing something cooky as I am unable to get it to launch with buildcraft or enderIO.
looks like this issue here now: https://github.com/BuiltBrokenModding/VoltzEngine/issues/56

Oh.... very bad ((

Was talking to Darkcow earlier, he's working on a fix for it so hopefully everything should be working soon.

I didn't push the fix to curseforge yet. I will be doing that soon. going to test and make sure it works fine.

https://minecraft.curseforge.com/projects/voltz-engine/files/2353112 ok fix has been pushed to curseforge.
Thank you for your patience :)

Yes, now without crash, start with 400 mod)


Add role annotation for NF type

Also add nfCoercion to work around the role annotation as
needed.
Fixes #3

We should get a Travis build running >:)
Is the coercion really necessary? If you have the constructor UnsafeNF in scope you should have forall a. NF a ~ a, so you can derive NF a ~ NF b from a ~ b. I haven't tested yet.

@ezyang, perhaps my documentation was insufficient. The trouble with importing UnsafeNF is that it has a global effect in the importing module—every such coercion will be permitted. Using nfCoercion, the importing module can keep the effect local, preventing someone from accidentally performing an invalid coercion somewhere far from where they actually intend a coercion.

Oops, I totally failed to read the module header. So, if I understand correctly, you could also put nfCoercion in Internal, the idea being that you hide the UnsafeNF constructor to rule out constructors. Well, putting it in a separate module seems fine to me.

@ezyang, you certainly could put it in Internal and hide the constructor, but it seems kinder to let the users decide which unsafe interface they want. I will try to deal with Travis today or tomorrow.

Yes, I agree it's kinder.
Thanks for taking on Travis!

Wait a second... I just realized that we can stick this in the Internal
module anyway; anyone who wants to use the coercion instead of the
constructor can just hide the constructor on import! I think that's
probably better than having a separate module.
On Thu, Jul 21, 2016 at 7:36 PM, Edward Z. Yang<EMAIL_ADDRESS>wrote:

Yes, I agree it's kinder.
Thanks for taking on Travis!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ezyang/nf/pull/4#issuecomment-234415684, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABzi_YMPKd5nCJjzAbIB4yLxYKKCUHK4ks5qYAJ6gaJpZM4JSTeA
.

That's probably what you meant before; I misunderstood.
On Thu, Jul 21, 2016 at 7:46 PM, David Feuer<EMAIL_ADDRESS>wrote:

Wait a second... I just realized that we can stick this in the Internal
module anyway; anyone who wants to use the coercion instead of the
constructor can just hide the constructor on import! I think that's
probably better than having a separate module.
On Thu, Jul 21, 2016 at 7:36 PM, Edward Z. Yang<EMAIL_ADDRESS>wrote:

Yes, I agree it's kinder.
Thanks for taking on Travis!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ezyang/nf/pull/4#issuecomment-234415684, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABzi_YMPKd5nCJjzAbIB4yLxYKKCUHK4ks5qYAJ6gaJpZM4JSTeA
.


fix error in bootstrapping role table from fresh db

closes #149

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 50.852%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2329

Relevant Lines:
4580

💛  - Coveralls


[BUG] order of grids different when using openvdb::io::File vs openvdb::io::Stream

Windows 10
VDB 9.0
Clang 13 LLVM
When a .vdb file is opened with openvdb::io::File and iterated, the order of the names is different then when using openvdb::io::Stream and iterating.
openvdb::io::File file(sequence_filename);
// Open the file.  This reads the file header, but not any grids.
file.open();

if (file.isOpen()) {
   std::string channel_names[3];
   uint32_t numChannels(0);

  for (openvdb::io::File::NameIterator nameIter = file.beginName(); nameIter != file.endName(); ++nameIter)
  {
    channel_names[numChannels] = nameIter.gridName();
    ++numChannels;
  }

  FMT_LOG_WARN(VOX_LOG, "{:d} channels " " [{:s}]  [{:s}]  [{:s}]", numChannels, channel_names[0], channel_names[1],
                                                                                channel_names[2]);
}
file.close();

and
std::ifstream file(frame_data.path, std::ios_base::in | std::ios_base::binary);
openvdb::io::Stream const stream(file, false); // *bugfix - parameter false, disables "delayed" loading of voxel data. If delayed-loading is on, the performance tanks! speedup++
openvdb::GridPtrVecPtr const	grids(stream.getGrids());

file.close();

uint32_t const grid_count(SFM::min(3, grids->size()));
for (uint32_t grid_index = 0; grid_index < grid_count; ++grid_index) {

   GridType::Ptr const grid(openvdb::GridBase::grid<GridType>((*grids)[grid_index]));

   std::string const name(grid->getName()); // debug breakpoint here
}

Order of grid names needs to be the same when opened with openvdb::io::File  or  openvdb::io::Stream
The code above is a simple example needed to reproduce the problem and observe the resulting bug.

Hey @Carandiru0 thanks for reporting this. I can reproduce this issue. I believe this is because a openvdb::io::File stores grids in a std::multimap where as the constructor of openvdb::io::Stream(is, false) avoid this and directly appends grids as they are being deserialized. This fix would be to change this loop:
https://github.com/AcademySoftwareFoundation/openvdb/blob/3a38b68fd13549eafd5d5f9ed47e0fcb9ddbc9e2/openvdb/openvdb/io/Stream.cc#L115-L122
to:
        for (int32_t i = 0; i < gridCount; ++i) {
            GridDescriptor gd;
            gd.read(is);
            descriptors.push_back(gd);
            GridBase::Ptr grid = readGrid(gd, is);
            namedGrids[gd.uniqueName()] = grid;
        }
        // add grids based on multimap order
        for (auto& k : namedGrids) {
            mImpl->mGrids->push_back(k.second);
        }

An obvious side effect of this change would be breaking code that current relies on openvdb::io::Stream const stream(file, false); so my advice to you would be to sort the grid names yourself in both cases whilst we consider if we can fix this.
Finally this seems to only be an issue if you use openvdb::io::Stream  with delayLoad false, is that correct? If you change your code to openvdb::io::Stream const stream(file, true);, does the orders match? I see your comment about performance when delay loading is enabled, can you elaborate on what you're seeing there? I have a suspicion as to why what you're seeing is worse but it shouldn't be so this sounds like another issue.
dev: we should probably be defining our own comparison op in said multimap for platform deterministic behaviour.


FieldValue TryInto for string-like types.

Here are the three additional variants of TryInto for &FieldValue. To &LongStr, &String and &str.
They corresponds to three variants of From trait: there are also LongStr, String and &str.
These three variants try to convert a reference to FieldValue to the reference on internal data without creating additional copies.

@alllel , thanks, please add unit test cases


adapt to change in resolve_descriptors_function signature

https://github.com/numpy/numpy/pull/23211 changed the publicly visible typedef for resolve_descriptors_function. This adapts to the new definition and fixes a compiler warning introduced by the upstream change. I also deleted an outdated comment.

I also bumped the imported API version to get the tests passing. API version 7 added support for indexed ufunc loops so no need to actually update any of the implementations.

Self-merging to get the tests working again. If that's problematic let me know and I'm happy to fix ASAP.


Few more mitigations and corrections

XFG is not backward-edge CFI, but it can use Intel CET shadow stacks
if hardware supports it
Arbitrary Code Guard is enabled by default in Chromium Edge only under
certain hardware and software conditions
Firefox has a project to implement site isolation, but it is far from
ready and is only available in current Nightly builds.
Firefox only has some portions of their browser written in Rust and
slowly continues this under another project
Linux 5.4 implements the lockdown module, mitigates iTLB Multihit, and
TSX Async Abort
FreeBSD has support for Intel SMAP/SMEP

Signed-off-by: June<EMAIL_ADDRESS>

Thank you!


Is there a PBP version with on-ice players?

Had anyone found an API query that gets the full PBP? i.e. a) instead of b)
a) https://www.nhl.com/scores/htmlreports/20232024/PL020274.HTM
b) https://api-web.nhle.com/v1/gamecenter/2023020274/play-by-play
You can map this to shift charts, but they are notoriously inaccurate, while the on-ice player list is quite a bit better (not perfect.) The underlying JSON data for a) must exist; b) seems like a shortcut.
5 | 1 | EV | 0:0020:00 | FAC | DAL won Neu. Zone - NYR #93 ZIBANEJAD vs DAL #53 JOHNSTON | 93C 17R 20L 8D 79D 31G |  53C 63R 21L 2D 23D 41G
vs
{"eventId":101,"periodDescriptor":{"number":1,"periodType":"REG","maxRegulationPeriods":3},"timeInPeriod":"00:00","timeRemaining":"20:00","situationCode":"1551","homeTeamDefendingSide":"right","typeCode":502,"typeDescKey":"faceoff","sortOrder":11,"details":{"eventOwnerTeamId":25,"losingPlayerId":8476459,"winningPlayerId":8482740,"xCoord":0,"yCoord":0,"zoneCode":"N"}}

Are the shift charts really that inaccurate? I haven't integrated them yet, but it'd be frustrating if they are unreliable... I'd be surprised if that data isn't coming from the same place? But if it's not, there must be some internal API we don't have access to

I haven't QAed these shift charts yet, but in past, you'd sometimes have 14 guys on the ice for one team. And MSG frequently forgot to put the goalie in. It might end up a wash in the end.

Shift charts are missing for the following games that I've found:
2015020497
2023030245
2023030235
2023030246
2023030236
2023030247
2023030241
2023030311
2023030242
2023030324
2023030243
2023030325
2023030244


Remove superflous duplication between view models and models

Change the view models so that they don't simply duplicate the information held in the models. Where applicable the XAML should bind to the model inside the view model. Data should be removed from the view model where appropriate.

Currently implementing a data service to help coordinate access to the model from the view models.


green borders around overlay tabs

When ever you open one of the overlay a green border appears with it.

Hmm that's an odd one. Do you use any screen capture apps?


add support for named fonts

While exploring this crate for a project, I noticed there was no support for custom fonts (only system fonts.)
After reading through the AppKit docs and the source code a bit, it was pretty straightforward to add. I've also updated the safe_area example which just prints "Hello Word" in two additional custom fonts; wasn't sure a more relevant example to put this.
(NOTE: the trailing commas were added by my editor's formatter, if we really want them removed it won't be a big deal)

@ryanmcgrath any news to support named fonts?

Apologies for this sitting so long - definitely useful, merged! Thanks!


Labs v2 with an exposed API

This exposes the API for feature flags to into Emission. If you change any of the lab features, then it reloads the native modules and React Native runtime so that things that don't require a restart can run without any additional work 🌮
It's exposed as an object because in Eigen we have both lab features and "app features" which are server-controlled feature strings vendored from Artsy Echo, which we'll want to expose.

This looks very straightforward 👍 Will give it a spin in my other PR now.


Change the APL of Survival

Is your feature request related to a problem? Please describe.
I checked the timeline of survival to see what he is doing and realised that the prio is kinda weird, so i checked your code and found out that the Prio is wrong for Survival.
Describe the solution you'd like
The prio should be Kill Shot>Explosive Shot>Explosive Trap/Black arrow > Aimed shot > Serpent Sting > Steady Shot.
Additional context
Also i am still not sure how your steady is 1.58 casttime, if the spell has only 1.5 casttime ? or is there something wrong? did i miss something?
Here u can see it yourself: https://gyazo.com/c3feab2b94a188026664f20e864fcc91

The rotation is still very simplistic. I'm waiting until beta settles a bit more and the meta rotations are established, and then I'll rework all the rotations.
The base steady shot cast time is currently set to 2 seconds because I've had multiple beta testers tell me it is 2s. I'll change that if I get confirmation otherwise.
Going to close this because everything is WAI for now.


POL-918 Create Master Policy Permissions List

Description

Issues Resolved

Link to Example Applied Policy

Contribution Check List

[x] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

Warning message is working now after fiddling with the regex:

Added error if the PT is not in the "manually_verified_policy_templates" list which is used by the generate_permissions script


Can we insert images in table

Hi Team,
We are not finding a option to insert images into the table cells, We have created tables with rows/columns but we are un-able to add/insert image into the table tried all the available options for the table.
It could be great if please help us to insert images into the tables.
Thanks.

Hi @BandaSatish07
No, the current API doesn't allow for images being inserted into table cells.

Hi Team,
Thanks for the reply.
Do we have any option or alternate to achieve my requirement i want place images in the table.
Thanks.

@BandaSatish07 How did you achieve your requirement?

I'm interested too, there is some way to add image (as HTMLElement or as data) to a table, not to slide?

Hi All,
Is this feature available now . I do need a similar requirement.  I should add images to slide.

Is this feature available now?


Gsoc24 setup

Description
Update Readme file.
Add setup guidance.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hi @Niweera , could u upgrade my access as the maintainer? Thx

Hi @Niweera , could u upgrade my access as the maintainer? Thx

Hi,
Done.


Only lets me login 1 time per account?

Expected Behavior
To be able to start the Bot in terminal, then stop it, then be able to start it again whenever I choose.
Actual Behavior
I can only run the bot one time per account. After that, I have to change my account information in the config file for it to work.
Steps to Reproduce
Just running the bot
Other Information
This is the error that shows in terminal
Traceback (most recent call last):
File "pokecli.py", line 220, in
main()
File "pokecli.py", line 206, in main
bot.start()
File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 31, in start
self._setup_api()
File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 159, in _setup_api
balls_stock = self.pokeball_inventory()
File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 234, in pokeball_inventory
inventory_dict = inventory_req['responses']['GET_INVENTORY'][
KeyError: 'GET_INVENTORY'
OS:
Git Commit: commit 4182e93f9bfbe471d07b74e95c55cdfbacda127b
Python Version: Python 2.7.10

your error has nothing to do with what you are describing

Could you please explain how to fix both issues? The error I show only
appears when I use Control C in terminal to stop the bot, then try to
restart the bot with the same account logged in. For example, if I tried to
use the bot with<EMAIL_ADDRESS>it would work fine for the first use. But
if I stopped the bot in terminal, then tried to start it again (still using
the account<EMAIL_ADDRESS>the error I pasted in my issue would appear.
However, the error disappears after I try using a new account with the bot.
Any help would be greatly appreciated.
Cheers
On Tue, Aug 2, 2016 at 6:52 PM, Benjamin G<EMAIL_ADDRESS>wrote:

your error has nothing to do with what you are describing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2405#issuecomment-237073602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKNs_Vgf6jHE_vNfj2aWdwc5-9qACJXkks5qb8ocgaJpZM4JbHxV
.

I get that Get_Inventory error often, usually first time starting the bot. I just attempt to start it again immediately afterwards and it works.


 Sorry about that. Also, sorry for waiting, had  to git here and there. Cheery-picking skills aren't that great yet. You'd end up with 9 file changes if I'd PR the fix I ended up with, so I just forked it lazily. Enough about that...
So, the PR.. Lot's of confusion here.
First of all, I didn't see the validation before, so thanks for sorting that out. To address the reason for this PR:

Want to get rid of componentName = componentName || 'String'

Swap it around like a conditional, means that we can get rid of the self assignee here. I don't like it. Repeating code should be no-no.

The loop itself needs to be checked, what do you think of this method?

Also thank @sampeka for pointing out clearly bad code. The previous PR wasn't really well composed.
Ultimately I'd love to have componentName = 'String'  and have it loop through like I did in this PR.
Cons/Pros? @ryanflorence

Want to get rid of componentName = componentName || String
Why? Is this just a style thing? or is there a bug or something?

Thanks for this @ev1stensberg, but there are bugs in this code as-is and I don't think there is any point here other than a style change.

@ryanflorence For me it just seems like using logical OR with itself is messy to be able to use another value on demand. I have no problems using locial OR, and many use it, but I guess this is code style related. @taion to address the use of {} just wanted to make sure I didn't break anything while coming up with the suggestion, as I needed feedback on what you think about this!
Would it make sense to get rid of locial OR?

No – it's generally accepted best styling practice: https://github.com/airbnb/javascript#comparison--unneeded-ternary.

Wasn't targeting using tenaries, but I assume you knew that. What we should have, is something like:
myVariable || = 'String'

I'll slowly start on a temp fix on this btw. Would be as methods/functions though.
Conceptional it would be something like myVariable.equalOr(String). I'm sure there's a polyfill for doing such, @taion do you know of any?

There really isn't anything that needs to be fixed here. This is a commonly used pattern, e.g. in https://github.com/facebook/react/blob/v15.0.1/src/isomorphic/classic/types/ReactPropTypes.js#L114.

Cool if I put up a Issue once I've created something showing how I'd pull this off?

@taion @ryanflorence @timdorr This is what I wanted to target. Would be such a nice thing to have a logical  my variable || = 'Heyho so we avoid this.

You'll never hit that error. It's logically dead code.

There is default parameters in ES6 which can be used instead but if it isn't used in other places in the code it seems strange to me to change this line of code.

@timdorr In what way?
@edvinerikson tenaries are slow compared to logical OR.

@ev1stensberg Show me an input where that function will throw an error.

@timdorr thought you meant the function. The error is just there to ensure the user passes something into assignOr(). If it's wrong, how would you change it up?

But it comes after the logical OR. Again, show me any input that will cause it to throw that error. You cannot. Therefore, there is no point to it existing.
I'm really confused why you're so interested in this one line of code in a minor function. Is there some bug here that we're missing? This seems like a lot of bikeshedding.

say a user has var listItem = listItem || 'No listItem provided, oh buggers!' Seems to me this is repetitive code. Meaning listItem should be unique and you should not apply more values to it through the OR.
As stated in the example given, according to how I set it up: var listItem = listItem.assignOr("string") this could be reversed though, having you pass in an object as an argument rather than a string, as in the example. It would then be var  var someString = someString.assignOr(obj)
Iknow this is like super-picky. You'd end up having the same repetitive code just cause you assign a method to it. For me, this makes more sense than redeclaring your object. This is a paradox though, it's a hacky way of doing the same thing. That's why var buggersObject ||  = someString  would be much better in my eyes.
@timdorr example is twisted in as explanations here. obj is the argument passed to your assign, the conditional was meant to catch a error if user  types  assignOr() instead of having a parameter. Sure I could have used  ...args to do that though.

Additional note to my cyborg typo: Did you get any of that? If this just seems like you said, bikeshedding, I'd agree to that. Just wanted to point out why this is bad versus what I think it should be || =

I'm not seeing the point at all. Just because you use a variable twice doesn't make it repetitive. You still have to use it twice in your example. This only muddies the code further because now you've over-abstracted a simple conditional assignment.
Honestly, we might make better use of our time discussing the merits and performance benefits of single- vs. double-quoted strings...

@timdorr Yeah I mentioned that in what I wrote, both about abstraction and about repetitiveness. Anyways, enjoy rest of the week! :facepunch:

Branches are effectively free unless mispredicted; the ternary v logical boolean thing is just a stylistic choice, not a perf thing.
ES6 default parameters have slightly different semantics, in that the default will only replace undefined, not null (or other falsy values, but those matter less) – so unfortunately while they are the cleanest choice, they're not a drop-in replacement.
What @timdorr said in https://github.com/reactjs/react-router/pull/3330#issuecomment-210867630 – there's nothing wrong with repeating code per se, especially if it's in the context of a common idiom. In practice this sort of pattern doesn't really lead to incremental bug load.

@taion Thanks for the fix on tenaries. I'm not saying var hey = hey || 'ho' is bad programming practice. That would be absurd as 90% use it to set a fallback default value. I'm just pointing out seeing the variable value first evaluate it's own value is in my eyes not something  we , I want.
One thing to say about default parameters, is that it's not fit for everything, especially when it sets undefined and not null . In this use case the default would be a string, so setting the type or object
would seem like a shady thing to do.
I'm not the best programmer, of which you'd see in one of my many PR's. Worth noting.
Anyways, think this discussion has taken it's latest breath now, thanks for participating all!


assertFalse(undefined) behavior 🤔

Hello.
Crude example first:
runner = new TestRunner("Test runner")
suite = new TestSuite("Test suite")
runner.addTestSuite(suite)

test_assert_false_undefined = new TestCase("Assertion to undefined", function(){
	assertFalse(undefined)
	assertIsUndefined(undefined)
	assertTrue(undefined)
})
suite.addTestCase(test_assert_false_undefined)

runner.run()

First two assertions are true, last one is false. The fact that the first test passes successfully looks like not a best way for me.
I understand that this is standard GML behavior due to its bool and undefined logic. But I think it's actually harmful: the difference between false and undefined is often that something went wrong during the test. In my opinion, this is a potentially very large field for false-positive cases.
I understand that the problem is conceptual and, in part, my proposal goes against the ideas of GML, but, in my opinion, the potential harm from the current behavior is much greater. I agree with any solution: return false in such a situation, return undefined (not sure if this is the best option for assertion expression). Due to the controversial nature of the subject, this issue is an invitation to discussion.
Thank you in advance.

Hi,
Thanks for bringing this to my attention. Great example for replicating the issue.
You've helped find a bug in how assertTrue()/assertFalse() are being compared. The expression would first be converted into a boolean to check for a valid comparison. The boolean conversion would then be used for the comparison, which is where the issue lies.
So while false == undefined is false; false == bool(undefined) is true, which is the issue you're pointing out in your example.


This Is Not a Problem

I am not the best at JavaScript and I am wondering how to turn this into a plugin when I am done. How do I turn the .zip to a .jar?

Maybe Someone could just send me the working jar file?

Hello! You can download the latest version of the plugin in the Releases tab: https://github.com/MMonkeyKiller/CustomBlocks/releases

Hi thank u for helping me! You are olny person who had what I was looking for. This was a huge help. I do not know how to add more blocks yet but I think I can figure it out! 🙂


Deleting by .csv import not working

When importing a list of serial numbers and deleting that way:

It doesn't appear to be working. I get a message that the deletion was successful, but the computer count in Jamf Protect does not change at all.
I tested fetching a list of computers that haven't checked-in in X amount of days to delete that way, and that worked for me. The computer count in Jamf Protect decreased almost instantly.
So it seems like just the deletion by .csv import method isn't working.
Seeing many errors in the logs when doing .csv deletion:

Thanks for the update. Will investigate for you

Hi there
I just tried a csv file my side with v0.9.2 and it did indeed delete the computers.
The only difference I'm a test instance with only a few divices.
My csv file just had 5 serial numbers in it.
What happens if you have a csv file with a couple of serial numbers? Still get the same result?
Also can you just delete a device when you fetch the computers in app?

Very strange. Yeah even just doing a single one as a test produced the same behavior for me.

If I fetch in the app, it does delete. It's just from .csv that isn't working. Says it's successful, doesn't delete.
I ended up writing a python script that deletes from .csv. I'm using the exact same known working client ID and password I did with that for testing this app.
So I'm technically good on this now, but I'm happy to continue testing if at all helpful for you.

Could you send me a sample csv file over, feel free to change the serial number to a fake one, but interested in whats going on. The last error with the "could not decode" I cannot reproduced. Really strange.


Make idle notification not gain focus automatically

It should still display on top.
This may not be easily possible, needs testing.

Users may want to quickly respond to the notification with they keyboard, which would be more difficult if this was changed.
Won't fix.


Does ARM Tools Preview include ARM TTK?

Does ARM Tools Preview include ARM TTK? I think this should be included so partners can see best practices up front.

We've discussed this in the past but it hasn't happened yet.  Will investigate where this stands.

FWIW, I'd love to see this, too.

Given other priorities, I'm going to close this out as "Won't Fix"

Given other priorities, I'm going to close this out as "Won't Fix"


Legends to simple_regplot

Is it possible to add legend plotting functionality to the simple_regplot function that you have created? I have tried by simply adding ax.legend() to the function but the issue of no labeled handles occurs. This is the code I am using:
def simple_regplot(
    x, y, n_std=2, n_pts=100, ax=None, scatter_kws=None, line_kws=None, ci_kws=None
):
    """ Draw a regression line with error interval. """
    ax = plt.gca() if ax is None else ax

    # calculate best-fit line and interval
    x_fit = sm.add_constant(x)
    fit_results = sm.OLS(y, x_fit).fit()

    eval_x = sm.add_constant(np.linspace(np.min(x), np.max(x), n_pts))
    pred = fit_results.get_prediction(eval_x)

    # draw the fit line and error interval
    ci_kws = {} if ci_kws is None else ci_kws
    ax.fill_between(
        eval_x[:, 1],
        pred.predicted_mean - n_std * pred.se_mean,
        pred.predicted_mean + n_std * pred.se_mean,
        alpha=0.2,
        **ci_kws,
    )
    line_kws = {} if line_kws is None else line_kws
    h = ax.plot(eval_x[:, 1], pred.predicted_mean, **line_kws)

    # draw the scatterplot
    scatter_kws = {} if scatter_kws is None else scatter_kws
    ax.scatter(x, y, c=h[0].get_color(), **scatter_kws)

    ax.legend()

    return fit_results

Hi Matea,
You can simply add label="name" to the respective plot commands. For example,
fig, ax = plt.subplots()
simple_regplot(x, y, scatter_kws=dict(label="scatter"), line_kws=dict(label="fit line"), ax=ax)
ax.legend()

I wouldn't add the legend call to simple_regplot() itself but instead call it separately, as above.  This allows us the option of not using a legend.
A note: your comment refers to the post I made on StackOverflow, not to this package, since simple_regplot() is not a part of PyDove.


Applicability to SQLMI

This page doesn't seem to apply to SQL MI although it is listed in the "Applies to" section.

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

ID: 8b357e7d-b0a5-8e5f-96eb-735ec9562c7d
Version Independent ID: 0f2d3b33-ba65-01c9-1db7-b51c2611cf75
Content: Client Protocols - Named Pipes Properties (Protocol Tab) - SQL Server
Content Source: docs/tools/configuration-manager/client-protocols-named-pipes-properties-protocol-tab.md
Product: sql
Technology: tools-other
GitHub Login: @markingmyname
Microsoft Alias: maghan

@akiohose -- thank you for bringing this to our attention.  I am looking into this article.

@markingmyname -- Mark, please review this update in private PR 19407.

Hi, @akiohose.
First, apologizes for the extremely delayed response.
Thank you for making us aware of this.
Updates should be live sometime next week.
thank you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.


[Question]: Doubts about the trace generated by this plugin

Kong Version
3.6.1
Plugin Version
0.2.0-1
On which environment your Kong instance is running?
Other
Plugin Configuration
_format_version: "3.0"

_info:
  defaults: {}
  select_tags:
    - ddtrace

plugins:
  - name: ddtrace
    tags:
      - ddtrace
    config:
      service_name: my-api-gateway
      environment: production
      version: v0.1.1
      static_tags:
        - name: app
          value: my-api-gateway

What happened?
I'm new to using traces in Datadog, so here is a question:
With the plugin enabled, the traces are not being correlated with the kong access log. The upstream server logs shows the traces as from this service, but the logs of the service itself does not contain any trace.
The kong access log uses a custom nginx format, and I don't know if this impacts the datadog tracing.
Is there something that I'm missing?

Hi!
For traces to be correlated with logs, the log needs to contains trace context. As of now, trace context are not automatically, nor can be manually injected to Kong logs.
In case you really wants that feature, I strongly advise to create a support ticket asking for the feature.
I close this one as it's a duplicates of #25.
Thank you @lays147.


Change how hash functions are used in scripts

This will start bit by bit
each commit roughly corresponds to one script (minhash.py, simhash.py etc)
defaults will remain as current

I've used pre-commit and it has changed much more than I expected.
Let me know if there are any settings I should be aware of.

Thanks for the review!
I've done some internal testing and prepared a REALLY faster version that seems to work within 1~2% (FP and FN wise) the original implementation while using much less memory and time.
I'll try to prepare more commits for that but it's getting very complicated so I would appreciate it if you accept the parts thats okay and reject ones that are not so I can simplify it!
thanks

So right now, the implementation is very buggy.
I think as is, atleast some of the implementations went through.
As I've shared before, I had to upgrade mypy and isort on my end and it does not like a lot of the previous code, which I am having trouble working around.
If you Pull this as is, I will go around each dedup method and find the most optimal way to adapt the hash_functions.

After a lot of hacking around and testing, I feel like I have a much better understanding of this code base and the individual libraries used and I think this PR as is, is a good platform to build upon more.
some things I'd like to address:
calling digest() on xxhash.xxh3_64 objects are much slower and less adaptable. however, it is necessary to maintain backwards compatibility. however, putting if statements in the hot loop is a bad way to optimize this codebase.
As a whole, hashing is an important step in the process but the code as it is suffers from many non hashing related bottlenecks that can be addressed. I am working on it on another branch but the deltas between this branch, those branches, the original branch are too much for me to handle atm.

Thanks! I will now build upon this by adding more hashing changes as well.
As you might have seen from this PR i am planning to implement a low resolution hashing (16bit) that only losses a little bit of performance while gaining a lot of performance!


Should setFxRootTunnel and setFxChildTunnel be made virtual?

Currently, the setFxRootTunnel and setFxChildTunnel functions are non-virtual. Inherited classes are unable to override with their own logic or add their own modifiers to restrict anyone from calling them out of mischief.
Should these functions be made virtual intead?

That's a good point. @QEDK can you please add this?


Docs.MS Release Updates for azure_template

Update docs metadata and targeting for release of azure_template

Docs Build status updates of commit dc15459:
:clock10: Full build: the average full build time is 161 min(s) 43 sec(s), this is based on the last 489 build(s) for this repository.

Docs Build status updates of commit dc15459:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/template-readme.md
:warning:Warning
View (azure-python)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_all.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.new_uuid.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_any.yml
:warning:Warning
View (azure-python-preview)
Details

ci-configs/packages-latest.json
:white_check_mark:Succeeded

docs-ref-services/template-readme.md

Line 13: [Warning-h1-not-first] Markdown content is not allowed before {0}.
Line 25: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 29: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 33: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 37: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 41: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 45: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_all.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_all) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.new_uuid.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.new_uuid) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_any.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_any) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


List of Dependencies used

Describe the bug
Hello Team, Need some urgent help
We are looking to use this plugin in our project, and as part of this (as an org mandate) we need to declare all the dependencies of this plugin along with the license notice for each of the dependencies used.
We have earlier done the dependency extraction for Maven/Gradle-based projects. But this being a RUBY project and a plugin, we are not sure how to extract it.
We need help extracting all the dependencies of this project. Can you please help us with this? Or if there is a list already available, can you point us to it?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@krishnapyde ,
I'm not sure about a command-line tool to do this.
But, this data is available at rubygems.org.
For version 2.0.1 of this plugin:
https://rubygems.org/gems/logstash-output-opensearch/versions/2.0.1-java/dependencies

@krishnapyde did that answer your quesiton?


rich presence doesn't work after installation of the plugin

musicbee managed to install the plugin correctly with the right id app but the rich presence on discord doesn't work at all

Looks like you manually added MusicBee for Discord to show as playing. Thats not needed and you can remove it in Discord Settings -> Activity Status

Looks like you manually added MusicBee for Discord to show as playing. Thats not needed and you can remove it in Discord Settings -> Activity Status

I removed it now there's just nothing at all


agent() not exposed

Looks like I can't call superagent.agent() to persist sessions and cookies. Without it, I can't login to a website with redirects. Is there something I'm missing, or is there an alternative to calling superagent.agent()?

Nope, you're not missing anything. No one has needed it so far (or complained about it's absence at any rate).
Simple fix would be to set superagent's agent property after this line

Hey there, not too sure what to put there. I tried:
request.agent = require('./agent');

Where I copied agent and dependencies from superagent, but it's not working.

Can you give an example of how you would use SuperAgent.agent?

var superagent = require('superagent');
var session = superagent.agent();
session.post('/login').send({username:'username',password:'password'}).end(()=>{
  session.get('/posts').end(...)
})

SuperAgent.agent spins off a single-session to be used during the navigating lifecycle, especially useful during API mocha-testing. Without using superagent.agent(), each request has cleared headers & such, and the second superagent.get('/posts') would return 401 (if that route is protected). At least, this is how I understand superagent to work (see this stackoverflow)?
Ie, it's used for session-based requests. I too vote for this feature

Ok, I'll have to see how they Superagent does it. Sounds like it could be tricky, but not impossible

+1

+1 Also would be glad to see this feature. It's odd how SuperAgent removed docs of this and example script.

:+1: yes please :)

any update on this? Still not exposed, still an issue :)

Damn, ran into this dead end. Looks like I'll need to drop this dead project and upgrade superagent to a later version. They've been supporting Promises since 2.x


ansible: add logging path

Ability to log ansible plays in a log file. Default location is
/var/log/ansible.log
Be sure the user running Ansible has permissions on the logfile.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1445065
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

Potential logrotate module here: https://github.com/retr0h/ansible-logrotate

jenkins test kraken-ansible2.2-update_cluster


Multiple Name attribute during xml export

In xml an attribute must be unique in an node. IE: <SomeTag Name="foo" Name="foo"/> is not xml compliant.
When exporting the system class in xml (and possibly others, I have not tested) the system class name is duplicated. IE: <SystemClass Name="audio" Name="audio">. The rest of the xml is correct.

Solved by 36423a49fdde5755faea5914e554b64363034b0c


Devin/1735041527 pilot buzz landing

lgtm

damn im sorry, wrong repo

@0xrinegade ot but was this made with Devin? It's a lot of code... Does it work out of the box?

@igorgue
not, yet, but it will, devin kinda stupid tbh, i switched to other ai to finish it

@0xrinegade is it only generating the UI?

it can do anything bro, our profession is cooked, open twitter, we have 6-12mo max
i didnt write code myself since summer


Suggestion: omit "domains"

I just have this impression, from vague recollection of list emails and some fading first-hand experience, that the implementation details of domains when used in casting/functions makes using them potentially problematic.

After some reading I think you're correct. Removed. Thanks for the input!


Getting a 500 error in the admin when using the chooser

My Setup

Ubunutu 16.04
Jquery 3.2.0
Django 1.11
Wagtail 1.10
Jinja2 for front facing templates, but Django Templates for admin. (as per the wagtail guide)

My Model Definition:
class SomePage(Page):
    video= models.ForeignKey( ... stuff from example ... )

    content_panels = Page.content_panels + [
        EmbedVideoChooserPanel('video),
    ]

When I click on the Chooser I get a 500 error in the console:
jquery-2.2.1.min.js:4 GET http://localhost:5000/admin/embed_videos/chooser/ 500 (INTERNAL SERVER ERROR)
And it does not open up the chooser at all.
Things I've tried
I tried bringing back my version of Jquery to 2.2.1 - That didn't work
Any help is appreciated.

Try to reinstall it, if it doesn't works try with my fork, is more updated.

@SalahAdDin we ended up opting towards using the embedded function through the RichTextField.

@bmoe872 I'm sorry man, my fork have streamblocks and other usefull new features.
@DiogoMarques29 It's a fault that PR aren't merged yet.


Folders in Bookmarks Toolbar cannot be closed when clicking on them again

I have a few folders in my Bookmarks Toolbar. When clicking on one, the list with all bookmarks contained shows up. However, when clicking on the folder again, it doesn't close the list, it does nothing. Only clicking somewhere else will close the list/folder.
I often click on a folder to peak inside it and click at the same spot to close the list again, so it's weird when it doesn't work; I assume it's a bug.

Please test 98e51c4 to ensure the issue is resolved.

I downloaded and integrated the latest master and it appears to have fixed the issue – folders in the bookmarks toolbar now close when you click on them again.


Triple angle formula

Would like to add triple angle identities in addition to the existing trigonometric identities.
Please assign this to me under GSSOC21.

Feel free to ask your doubts, if any
Deadline 17 March,2021 (11:59 PM IST)

sure. Thanks for assigning


Add Sketchup model

Add a sketchUp model

Please note that this PR includes PR #1 :
For those (like me) using VS Code to contribute, is better to add .vscode folder to .gitignore.
Moreover, to help people that doesn't know well how to add files to KiCad and / or Eagle, I've made some house cleaning refactoring of folder structure.

Thanks for the organization and 3D model!