Session 5; provided pre-trained model incompatible (and not loaded)

On Session 5, part 2, the check
    if os.path.exists(ckpt_name):
        saver.restore(sess, ckpt_name)
        print("Model restored.")

... does not match the provided checkpoint file name exactly trump.ckpt.data-00000-of-00001 so the load is not attempted.
Therefore, the model is untrained for the example and the predictions are all non-deterministic random strings,
!!--sssjjj44www???ggvvvwwwx??ggggvaaa577777t777t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t77t777t

??ffd88l:ttttt?efiiiii8880cc99v666444sszssxrpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiiiiii888ccc8994444sszszsírpp/mmmxxxxr!//33gggggkgggkmmmeeiiiii

etc.
If the check is removed, then the saver does pick up the provided model, but then cannot load it.
It blows up with the error below.  I've also noticed, while chasing this, that the encoder and decoder used for this part of the exercise are actually initialized with a different text -- the one from Part 4 - Character-Level Language Model;  I guess that's fine as the sets are probably equivalent in this case, but wouldn't it be better to add a cell just to regenerate these for the latter section?
I'm running TF 1.1.0 wit GPU support on a Debian 4.9.18-1 laptop.
INFO:tensorflow:Restoring parameters from ./trump.ckpt
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
   1038     try:
-> 1039       return fn(*args)
   1040     except errors.OpError as e:

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
   1020                                  feed_dict, fetch_list, target_list,
-> 1021                                  status, run_metadata)
   1022

~/anaconda3/envs/potrero/lib/python3.6/contextlib.py in __exit__(self, type, value, traceback)
     88             try:
---> 89                 next(self.gen)
     90             except StopIteration:

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
    465           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466           pywrap_tensorflow.TF_GetCode(status))
    467   finally:

InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [2048] rhs shape= [800]
	 [[Node: save/Assign_17 = Assign[T=DT_FLOAT, _class=["loc:@rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases, save/RestoreV2_17/_49)]]

During handling of the above exception, another exception occurred:

InvalidArgumentError                      Traceback (most recent call last)
<ipython-input-8-999cfb8483be> in <module>()
     11     saver = tf.train.Saver()
     12     # if os.path.exists(ckpt_name):
---> 13     saver.restore(sess, ckpt_name)
     14     # print("Model restored.")
     15

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py in restore(self, sess, save_path)
   1455     logging.info("Restoring parameters from %s", save_path)
   1456     sess.run(self.saver_def.restore_op_name,
-> 1457              {self.saver_def.filename_tensor_name: save_path})
   1458
   1459   @staticmethod

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
    776     try:
    777       result = self._run(None, fetches, feed_dict, options_ptr,
--> 778                          run_metadata_ptr)
    779       if run_metadata:
    780         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
    980     if final_fetches or final_targets:
    981       results = self._do_run(handle, final_targets, final_fetches,
--> 982                              feed_dict_string, options, run_metadata)
    983     else:
    984       results = []

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
   1030     if handle is None:
   1031       return self._do_call(_run_fn, self._session, feed_dict, fetch_list,
-> 1032                            target_list, options, run_metadata)
   1033     else:
   1034       return self._do_call(_prun_fn, self._session, handle, feed_dict,

~/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
   1050         except KeyError:
   1051           pass
-> 1052       raise type(e)(node_def, op, message)
   1053
   1054   def _extend_graph(self):

InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [2048] rhs shape= [800]
	 [[Node: save/Assign_17 = Assign[T=DT_FLOAT, _class=["loc:@rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases, save/RestoreV2_17/_49)]]

Caused by op 'save/Assign_17', defined at:
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 477, in start
    ioloop.IOLoop.instance().start()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/zmq/eventloop/ioloop.py", line 177, in start
    super(ZMQIOLoop, self).start()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tornado/ioloop.py", line 888, in start
    handler_func(fd_obj, events)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tornado/stack_context.py", line 277, in null_wrapper
    return fn(*args, **kwargs)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 440, in _handle_events
    self._handle_recv()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 472, in _handle_recv
    self._run_callback(callback, msg)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 414, in _run_callback
    callback(*args, **kwargs)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tornado/stack_context.py", line 277, in null_wrapper
    return fn(*args, **kwargs)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 283, in dispatcher
    return self.dispatch_shell(stream, msg)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 235, in dispatch_shell
    handler(stream, idents, msg)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 399, in execute_request
    user_expressions, allow_stdin)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/ipkernel.py", line 196, in do_execute
    res = shell.run_cell(code, store_history=store_history, silent=silent)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/ipykernel/zmqshell.py", line 533, in run_cell
    return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2698, in run_cell
    interactivity=interactivity, compiler=compiler, result=result)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2802, in run_ast_nodes
    if self.run_code(code, result):
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-8-999cfb8483be>", line 11, in <module>
    saver = tf.train.Saver()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1056, in __init__
    self.build()
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1086, in build
    restore_sequentially=self._restore_sequentially)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 691, in build
    restore_sequentially, reshape)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 419, in _AddRestoreOps
    assign_ops.append(saveable.restore(tensors, shapes))
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 155, in restore
    self.op.get_shape().is_fully_defined())
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 270, in assign
    validate_shape=validate_shape)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 47, in assign
    use_locking=use_locking, name=name)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
    op_def=op_def)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2336, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/gabriel/anaconda3/envs/potrero/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1228, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [2048] rhs shape= [800]
	 [[Node: save/Assign_17 = Assign[T=DT_FLOAT, _class=["loc:@rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](rnn/rnn/multi_rnn_cell/cell_1/basic_lstm_cell/biases, save/RestoreV2_17/_49)]]

I ran into a similar error but TF complained about a different, more interpretable issue:
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [512,53] rhs shape= [200,53]
	 [[Node: save/Assign_7 = Assign[T=DT_FLOAT, _class=["loc:@prediction/W"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](prediction/W/Adam_1, save/RestoreV2_7)]]

When I changed n_cells from 512 to 200, the error went away, but I started getting mostly garbage output again.

Ah, I forgot to make the "os.path.exists(ckpt_name + '.index')" fix at inference time. If I add that after initialization I'm seeing reasonable output (well, as reasonable as one can expect in this case).

Is this working now then or is there still some issue?

It works for me with the following changes (but doesn't work as-is):

Replace all existence checks for ckpt_name with ckpt_name + '.index'
Change n_cells from 512 to 200

New model provided in https://github.com/pkmital/CADL/commit/5ef9564478d8facf7ffcc82144c9652b058850a7

Sorry this is still half an issue: the model is compatible, but in infer, the code which checks if the model exists is not working and should use e.g. latest_checkpoint or remove the check entirely, or else the model is not loaded.


Select features on initialize.

I have a map that's being reloaded frequently and needs to persist data between instances. I can't seem to find any exposed method for selecting features as they're loaded. Is there any functionality like that somewhere in the library that I could access somehow? Or, if not, do you think it would be reasonably straightforward to add that functionality?

You can try using the filter method of the config object.  The filter method is called for each Vector Tile feature as it is being parsed, but before it's drawn.  This is an opportunity to alter the properties of the feature, or choose to not have it displayed (by returning False).
Try using vtf.select() to make it selected.  I saw, however, that the select() method causes the feature to redraw, which (in this case) we don't want since the features haven't even drawn the first time.
Another thing to try is to set the selected property to true, and see if that works for you.
filter: function(vtf){

     //Modify the feature's properties before draw.
      vtf.properties.theme = theme;
      vtf.properties.myMadeUpProperty = "blue";
      if(vtf.properties.size = "large"){

            //Try this first:
            vtf.selected = true;

           //Try this if that doesnt' work:
           vtf.select();

      }

    return true; //draw feature if true.  To hide feature, return false;
},

Thanks so much for the input! I'm still not having any luck though using this method. Setting the 'selected' property had no effect, and when I try calling select() on the feature I get this exception:
Uncaught TypeError: feature.select is not a function
This is all that's going on in my code...
filter: function(feature) {
    feature.select();
    return true;
},

When I inspect the properties of 'feature' it appears several are missing compared to when I inspect a feature in the MVT handleClickEvent() method, or in the toggle() method (which appears to call select() successfully). Do you know why that would be?

Hmm.  The only other think I can think of is to try waiting until the tiles load, and then use the onTilesLoaded event to grab the collection of features, and then call .select() on the ones you want to select.
Pulling from here: https://github.com/AmericanRedCross/GeoForce/blob/74359575cbd3ecf607c1f1924525e3e03db4780c/GeoAngular/app/scripts/controllers/map.js#L575
Something like
`layer.options.onTilesLoaded = function(){
 //Now grab your layer's features
 var features = layer.getLayers()[0];  //<--if you only have a single vector tile layer in your PBFs.

Hopefully this will work for you - Sorry I don't have a better answer.  I haven't really looked at this stuff in the last year or so.
Good luck!

I really appreciate all of the feedback! I've had to switch tasks for the moment, but I'll get back to this as soon as possible and let you know how it goes. Thanks again!

This worked! I had to change the first line from layer.getLayers()[0] to mvt.layers.<layername>.features and loop through the features as an object rather than an array, but then it worked perfectly. Thank you so much for the help!


Ability to only take first N elements instead of sorting the entire array?

Would it be possible to implement a parameter to pick the first N elements of the sort results, without the need to sort the entire array? Similar to a heap sort.

I would recommend implementing this use case outside of this package as it is more of a special case.


Typo in docs

The word "with" is repeated twice at this point  of the docs.

Thank you, will fix soon!

Done, did some clarifications as well. The good news is that the current way of manually setting form.id will be in most cases not needed in v1.0.

Amazing, thank you!


[WIP]AEROGEAR-2327 [UI] view and allow editing the configuration for this service

after discussion with @maleck13 we close this ticket. Now if user wants to edit configuration he needs go to config map UI and change it there


Capturing All Events in Audit Trail

Hi,
I have a requirement to create an audit trail of all actions that modify the userAccount.
Our initial solution was to add a trigger to the UserAccount table so that we could see a history of what was changing. This was good, however we need to know which MR User is making the change in addition to which DB User is making the change.
I know you can write event handlers for MR, is there a way to write 1 global event handler that will insert into an audit Trail table for all events that happen in MR (Eg Change Password, Login, Verified, Closed, etc)?

One of the sames shows something like this. It might help get you started./

I'm not sure which sample you're referring to, but here's what I was thinking.
I could override the EmailEventHandler's Process method to include the call to write the Audit Trail entry. This would allow me to do it in 1 place, while retaining the existing functionality of the EmailEventHandler.
The one thing I'm not sure on, is how I could get the currently logged in UserID into the Audit Trail.

Sorry, I thought this was opened in the MR repo, but the sample I was thinking about is here: https://github.com/brockallen/BrockAllen.MembershipReboot/blob/master/samples/CustomizationsSample/CustomizationsSample/Customizations.cs#L130

Ahhh I see what you've got there. That makes sense.
Is there a list of all events somewhere?
Does this have all the events used: https://github.com/brockallen/BrockAllen.MembershipReboot/blob/2f1e5d4b39e6f9a567eeca634665a1551615341e/src/BrockAllen.MembershipReboot/AccountService/UserAccountEvents.cs
In that sample I see you're using HttPContext, which means I should be able to retrieve information for the user if they're logged in. For login failures, I obviously can't give them who "failed", but that's fine.

Yep that's all the events.
-Brock

On Mar 31, 2016, at 8:52 PM, parkinsona<EMAIL_ADDRESS>wrote:
Ahhh I see what you've got there. That makes sense.
Is there a list of all events somewhere?
Does this have all the events used: https://github.com/brockallen/BrockAllen.MembershipReboot/blob/2f1e5d4b39e6f9a567eeca634665a1551615341e/src/BrockAllen.MembershipReboot/AccountService/UserAccountEvents.cs
In that sample I see you're using HttPContext, which means I should be able to retrieve information for the user if they're logged in. For login failures, I obviously can't give them who "failed", but that's fine.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

I have this kind of working now, but I have 2 questions

Is it possible to write a handler for the UserAccountEvent class that will fire for all its children?
In the sample you use:  HttpContext.Current.Request.UserHostAddress. This keeps returning ::1. I tried returning claims from HttpContext, but the claim list was also empty. Am I missing something?

I think I've worked out the answer to my 1st question.
The event handler will find the best match in the handlers that I have.
In my auditTrailHandlerClass I had a handler for both UserAccountEvent & PasswordChangedEvent. When I was changing the password, it was only firing the PasswordChangedEvent. To fire the UserAccountEvent I had to remove the handler for PasswordChangedEvent.
Is this only if the event handlers are within the same class?
PasswordChangedEvent is handled in the default EmailAccountEventsHandler and that has continued to work.

I think I've got this worked out now.


Require glibc-iconv for unixODBC

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ ] The toolchain has been rebuilt successfully (or no changes were made to it)
[ ] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ ] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[ ] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ ] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

Require glibc-iconv for unixODBC.
Without glibc-iconv, unixODBC will produce the below error whenever you attempt to connect to SQL.
> isql -v -k "driver={ODBC Driver 17 for SQL Server};server=*.database.windows.net;database=*;authentication=ActiveDirectoryInteractive;"
('IM004', "[IM004] [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (0) (SQLDriverConnect)")

https://github.com/mkleehammer/pyodbc/issues/738#issuecomment-825219716
Change Log

Require glibc-iconv for unixODBC

Does this affect the toolchain?

NO
Associated issues

https://github.com/mkleehammer/pyodbc/issues/738

Test Methodology

Locally tested in container running in Docker using isql command and pyodbc Python package.

@mfrw FYI

I believe this was needed at runtime dependency not at build time. Can you confirm ?

Yeah, it's runtime.

Approved the GitHub Actions workflow runs for first-time contributor. Running an internal buddy build.

Thanks @bikoboshi. Might be good for the Mariner maintainer if you can rebase/squash the commits into 1.


Issue27 validation

Summary: This is just the old tests for check_mmd.py. It has been removed from py-mmd-tools and we may want to use it to have coverage for check_mmd.py as well.
Related issue: #27 (which has already been closed)
Suggested reviewer(s): @vkbo
Reviewer checklist:

[ ] The headers of all files contain a reference to the repository license
[ ] 100% test coverage of new code - meaning:

[ ] The overall test coverage increased or remained the same as before
[ ] Every function is accompanied with a test suite
[ ] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[ ] Functions with optional arguments have separate tests for all options

[ ] Examples are supported by doctests
[ ] All tests are passing
[ ] All names (e.g., files, classes, functions, variables) are explicit
[ ] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see General Conventions). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

This PR has a completely different test setup than the rest of the code.

Also, coverage is not 100%, so tests need updating anyway.

I've moved the tests over to the pytest module. Even though pytest could run the unittest based tests, making them proper pytests means that the pytest features work properly, like the filtering commands. In addition, having tests in different places makes it harder to maintain the test suite as the unittests were inside the source.
In the process, I also made sure the tests for the rectangle checker trigger the actual errors they are supposed to. There was a bug in the function itself that would determine a coordinate at long or lat 0.0 as invalid. This has now been fixed. This brought test coverage to 100%.
I also deleted the two XML files added as they were not used by any of the tests.


Field does not expand the choices with the {||} pattern in the prompt

I am using the following code to define a string field with a fixed set of choices:
   public class SelectWorksheetForm
    {
        public static string[] Worksheets;
        public string WorksheetName;

        public static IForm<SelectWorksheetForm> BuildForm()
        {
            return new FormBuilder<SelectWorksheetForm>()
                .Field(new FieldReflector<SelectWorksheetForm>(nameof(WorksheetName))
                    .SetType(null)
                    .SetActive((state) => true)
                    .SetDefine(async (state, field) =>
                        {
                            foreach (var worksheet in Worksheets)
                            {
                                field
                                    .AddDescription(worksheet, worksheet)
                                    .AddTerms(worksheet, worksheet);
                            }
                            field
                                .SetPrompt(new PromptAttribute("Which worksheet do you want to work with? {||}"));
                            return true;
                        })
                    )
                .Build();
        }
    };

The prompt will show "Which worksheet do you want to work with?", but not the available choices. The field accept the choices available in the Worksheets array.
Any ideas on what is going on?
Jakob

Are you testing this through the emulator?  If so, then this most likely because you need to update it.  We added support for buttons which the old emulator did not know how to render into text.  You should find it works fine in other channels or if you upgrade.

Yes. This was by testing in the emulator. Updating it to the latest version helped. Thanks!

I'm surprised that the ChoiceFormat is something like "* ({0}) {1}" which makes the choices render like this:
•	(1) Sheet1
•	(2) Sheet2
•	(3) Sheet3

instead of...
1. Sheet1
2. Sheet2
3. Sheet3

That is because those are buttons and the emulator choose to render them that way.  If you change your choice style to autotext you will get the old behavior.
Sent from Outlookhttps://aka.ms/liysn4 on Android
On Tue, May 17, 2016 at 6:50 AM -0700, "Jakob Nielsen-MSFT" <notifications<EMAIL_ADDRESS>wrote:
Yes. This was by testing in the emulator. Updating it to the latest version helped. Thanks!

You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/288#issuecomment-219723223

OK. Good to know. Is there more documentation on the topic of buttons? For example, which channels currently support them and how?

All channels support “buttons”—it is up to them how they interpret them.  There is a lot of variation in capabilities.  I think they are currently supported by Facebook, Slack and Telegram, but Lars would know for sure.
From: Jakob Nielsen-MSFT<EMAIL_ADDRESS>Sent: Tuesday, May 17, 2016 1:13 PM
To: Microsoft/BotBuilder<EMAIL_ADDRESS>Cc: Chris McConnell<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder] Field does not expand the choices with the {||} pattern in the prompt (#288)
OK. Good to know. Is there more documentation on the topic of buttons? For example, which channels currently support them and how?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/288#issuecomment-219838922

Facebook and Telegram.  For text only channels buttons are displayed as text.

 Hamburger

 Fries

 Nuggets

In the schema they are referred to as “Actions”
{
"type": "Message",
"attachments": [
{
"text": "Pick one:",
"actions": [
{
"title": "Willy's Cheeseburger",
"message": "CB"
},
{
"title": "Curley Fries",
"message": "F"
},
{
"title": "Chocolate Shake",
"message": "S"
}
]
}
]
}
From: Chris McConnell
Sent: Tuesday, May 17, 2016 4:19 PM
To: Microsoft/BotBuilder<EMAIL_ADDRESS>Microsoft/BotBuilder<EMAIL_ADDRESS>Cc: State change<EMAIL_ADDRESS>Lars Liden<EMAIL_ADDRESS>Subject: RE: [Microsoft/BotBuilder] Field does not expand the choices with the {||} pattern in the prompt (#288)
All channels support “buttons”—it is up to them how they interpret them.  There is a lot of variation in capabilities.  I think they are currently supported by Facebook, Slack and Telegram, but Lars would know for sure.
From: Jakob Nielsen-MSFT<EMAIL_ADDRESS>Sent: Tuesday, May 17, 2016 1:13 PM
To: Microsoft/BotBuilder <BotBuilder<EMAIL_ADDRESS>Cc: Chris McConnell <chrimc<EMAIL_ADDRESS>State change <state_change<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder] Field does not expand the choices with the {||} pattern in the prompt (#288)
OK. Good to know. Is there more documentation on the topic of buttons? For example, which channels currently support them and how?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/288#issuecomment-219838922


Tumbling Grit Recpie Incorrect

In game showing as requiring 3 waters, not 2

Opened pull request #61


Document how-to highlight option

General Support Request
See thread from listed issue

https://github.com/AlaskaAirlines/auro-combobox/issues/57

Support request
Update element documentation to illustrate a how-to feature for auro-menu that will allow a user to highlight an option in the menu.
Possible Solution
There is already a feature that supports the pre-activation of an option in the menu, the scope of this update is to add more clarity to the documentation that illustrates how to use this in other use cases.
Exit criteria
This issue will be considered complete once there is an updated demo that clarifies this existing solution.

Moving this to "Triage" as this ticket needs more clarification


Should the SIGs page exist on spinnaker.io and in the Community repo?

Per @robzienert:

[The SIGs] page really should get deleted... since the community repo is the SOT for all governance stuffs.

The Docs SIG can look at this and discuss during our larger reorganization discussion.

Closing this and putting this feedback into the issue already open related to the SIGs page.


install: list basic dependencies

followup to #333

Thanks for this, Alex. Please remove the style-only changes from the patch. If they're from the upstream go branch, I'll merge them in a separate commit.

Upstream is using a separate repository for the install script now, rather than the go branch, so I wasn't sure if it was still a priority to keep the branches in sync.

I'd rather keep the patch small. It makes it easier to review.

Done.

Thanks, Alex.


Is this plug in Bootstrap Friendly?

I haven't tried but there shouldn't be any conflicting CSS class names, so it should work just fine, yes.


Add 'Queen Elizabeth University Hospital' Centre

Fixes #7
Adds the QEUH barcode prefix. Makes the following assumptions:

Centre name should be 'Queen Elizabeth University Hospital'
Files will be named begining QH

This repo also needs those changes to the GitHub workflow files please.


Add an API to create session for tests instead of NewPairing

Problem
NewPairing takes too many arguments, actually it only need to take a PairingSession argument. All other arguments are used for tests.
Change overview

Add an API SessionManager::InjectPaseSessionWithTestKey to replace NewPairing in tests
Remove class SecurePairingUsingTestSecret (moved to TestSessionManager.cpp, this is the only place it is used).

All changes are test-only
TODO: Currently the SessionManager::NewPairing is called by SessionEstablishmentDelegate implementations. In the following PR, it will be called inside CASESession and PASESession, such that NewPairing will be a SDK internal API, rather than a public API.
Testing
Passed unit tests.

/rebase

Created a issue to track follow ups #17476

/rebase


Add package.json for cordova 7

Fixes #35

Will this be merged?

I havn't seen any response to my 3 PRs from several months ago. Suggest you use https://github.com/mzealey/cordova-plugin-background-download repo instead.

@mzealey thank you a lot for your contribution!

@brodybits I plan to add some love to the plugin during next few days. Priority to make it fully working on iOS and Android (address issues).


Change appthreat to cyclonedx to make things releasable

@stevespringett It used to be a limitation of the GitHub JavaScript action where you must upload the node_modules directory to make it work.
https://github.com/actions/javascript-action/issues/3
I am fine with archiving this repo completely to reduce maintenance needs.


Add warning to make sure we ask for quota in right region

I almost asked for quota in wrong region just now :)

whee, thanks @sgibson91 :)


Redhat Engineer pointed out this during troubleshooting call

There were extra "" in two places. We also need "boolean-op=or" to make it work properly.

@krishnamsft20 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@krishnamsft20 - thank you for the submission. The updates appear to match updates submitted by @liweiSecurity in https://github.com/MicrosoftDocs/sql-docs-pr/pull/16293/files


Provisional backport to 3.11

The changes required are few (https://github.com/Gouvernathor/parliamentarch/commit/90526b43fbf65f54bcebd5c612c3cd9c4b2ec101) and costs almost nothing to maintain.
Apparently there is no simple way for exporting two wheels from two branches for the same release.
Toolforge's maximal version is 3.11 at the moment.
The required version can be raised back to 3.12 as soon as parliamentdiagram can support it.

This issue stays open until the version rises back to 3.12.


Unable to deploy hostpool

I am receiving an error during the dscextension deployment step.
VM has reported a failure when processing extension ‘dscextension’. Error message: DSC Configuration ‘FirstSessionHost’ completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed.
In troubleshooting this, I found the following URl to be unreachable:
https://catalogartifact.azureedge.net/publicartifacts/rds.wvd-provision-host-pool-a6ce9b11-d690-4507-ad19-923cf56a9375-preview/Artifacts
This is described in the template as The base URI where artifacts required by this template are located. Visiting the page produces a blob does not exist error. I am unsure if the page being unreachable is a permissions issue, or if it could be contributing to my hostpool deployment failure.

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

ID: 970202b7-165f-18df-e928-c47c45a18755
Version Independent ID: d5393b62-4211-72f5-fc7a-363f68f6d8a2
Content: Create a Windows Virtual Desktop Preview host pool with Azure Marketplace  - Azure
Content Source: articles/virtual-desktop/create-host-pools-azure-marketplace.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

We have a section with common errors during host pool creation
https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-set-up-issues#issues-using-windows-virtual-desktop--provision-a-host-pool-azure-marketplace-offering
More specifically, related to DSC
https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-set-up-issues#azure-resource-manager-template-and-powershell-desired-state-configuration-dsc-errors
Have you checked these links and the suggested actions?

I appreciate the response. Yes, I have checked these links.
Error: DeploymentFailed – PowerShell DSC Configuration ‘FirstSessionHost’ completed with Error(s), matches my error message. The fix indicates that the username and password provided should have admin access on the host VM. I can confirm that  the account provided for the the Windows Virtual Desktop tenant RDS Owner is both a TenantCreator and Domain Administrator in my environment. I presume this is is the account used by the deployment to execute the DSC commands?
Re-deploying after checking for proper administrative access yields the same result.

@Heidilohr @ChristianMontoya any suggestions?
@r-maestas you can also check Tech Communities where we support Virtual Desktop and have helped other users with similar issues
https://techcommunity.microsoft.com/t5/Windows-Virtual-Desktop/bd-p/WindowsVirtualDesktop

Update- I was finally able to get past this by following the procedure to create the host pool using Powershell:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell
Still have no idea why dscextension was not running prior, but at least I can move on configuring resources! Thank you!

Thanks for the update @r-maestas
Glad to hear you are no longer blocked :)

I ran into the same issue yesterday because MFA was turned on for my upn. I got around it by using service principal instead.


chore: 优化自动发布 CI

👀 PR includes

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[x] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description

增加自动发布的 dist-tag (默认使用 name, 显示指定更容易懂)
修复部分错误官网链接
简化发布完成后的同步流程

🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.35.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.33.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-v2.0.0-next.2 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.2 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use methods inside Objects to override 'Obj == null' and 'Obj != null' and 'obj == obj'

Canonical code format! #2971

WIR


Calc() with multiplication causes "Please check validity"-error

I notice this snippet of CSS:
body {   padding: calc(10 * 10); }
causes following error:
"Please check validity of the block starting from line #1 CSScomb Core version: 4.2.0".
I did found out that the root of the problem were inside<EMAIL_ADDRESS>so I tried to update gonzales-pe to latest version (4.2.3). Then the problem was gone.
What do you think, is it time to update gonzales-pe or is it causes other issues?

Fixed 🎉


Variables should show description

Feature description 💡
Currently variables can have a description, but it's only displayed when editing the variable. However, I believe it could be useful to display this description just under the variable name (workspace variables, global variables, variable collections, ...).
Anything else?
No response

Maybe adding something like a tooltip could work

This is how TFC shows it (under the name)


Beta9 causes implicit compilation of node_modules

Most of what is here is from some AngularJS2 boilerplate (not sure what exact boilerplate). I have next configuration in tsconfig.json:
{
  "compilerOptions": {
    "target": "es5",
    "module": "system",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true
  },
  "exclude": [
    "spec",
    "e2e",
    "node_modules"
  ]
}

In Gruntfile.js I have next:
// ... some code
    ts: {
            build: {
                src: ['app/**/*.ts', '!app/**/*.spec.ts', 'typings/**/*.ts', 'missing_typings/**/*.ts'],
                outDir: 'dist',
                tsconfig: 'tsconfig.json'
            },
            options: {
                fast: 'never',
                verbose: true
            }
        },
// ... moar code

I use typings package.
When running grunt with grunt-ts-5.5.1 everything compiles fine, command for tsc is next:
grunt-ts-5.5.1-cmd.txt
However, in grunt-ts-6.0.0-beta.9 compilation fails. Command for tsc is different and doesn't notice that typings were specified in  typings/ directory, and tries to compile node_modules directly. Specifying !node_modules/**/*.ts in src doesn't help.
grunt-ts-6.0.0beta.9-cmd.txt

Thanks for the report.  I'll take a look.

Would you please try again with<EMAIL_ADDRESS>which has just been published to npm.

I changed my configuration a bit.
tsconfig.json is the same.
ts part in Gruntfile.js is next:
      ts: {
            dev: {
                src: [
                    'app/**/*.ts',
                    '!app/**/*.spec.ts'
                ],
                outDir: 'dist/dev',
                tsconfig: 'tsconfig.json',
                baseDir: 'app',
                options: {
                    fast: 'always',
                    rootDir: 'app',
                    additionalFlags: 'missing-typings/missing.d.ts typings/index.d.ts' // Include typings during every compilation attempt
                }
            },
            prod: {
                src: '<%= ts.dev.src %>',
                out: 'dist/prod/index.min.js',
                tsconfig: 'tsconfig.json',
                baseDir: 'app',
                options: {
                    fast: 'never',
                    rootDir: 'app',
                }
            },
            "test-karma": {
                src: [
                    'app/**/*.ts', // Including .spec files
                ],
                outDir: 'dist/test/karma',
                tsconfig: 'tsconfig.json',
                baseDir: 'app',
                options: {
                    fast: 'always',
                    rootDir: 'app',
                    additionalFlags: 'missing-typings/missing.d.ts typings/index.d.ts' // Include typings during every compilation attempt
                }
            },
            "test-e2e": {
                src: [
                    '**/*e2e-spec.ts'
                ],
                outDir: 'dist/test/e2e/from-ts',
                baseDir: '.',
                options: {
                    fast: 'never',
                }
            }
        },

5.5.1 works
5.5.1.txt
6.0.0 still fails
6.0.0-beta10.txt

Hi - I believe I figured out what's going on.  The negation globs from the gruntfile were not being considered when evaluating the implicit globs in the tsconfig.json file.  This should now be fixed in<EMAIL_ADDRESS>which I've just published to npm.  Would you please take a look?  Thank you for all the reports.  I will look into the fast thing soon.

Yes, no problem I will have a look on Monday (I have to do it from my work PC, so can't do it earlier). Much thanks for your help with issues!

Still same problem as in 6.0.0-beta.9 - it started including node_modules folder. Sadly, I can't share my source code for you to test as it is not my intellectual property.

just to confirm- did you really retest with beta 9?  I don't think this issue was resolved until beta 10.

just to confirm- did you really retest with beta 9? I don't think this issue was resolved until beta 10.
I retested both beta9 and beta10, the problem still exists. I use nodejs 7.4.0, btw, maybe it is the reason, because it looks like node 7.4.0 creates additional node_modules/@types folder that contains typings. Sorry, I can't look into it deeper - too much other work these days :( .

Thank you for all the help.  I'll keep investigating.

Same problem for me, stuck in 6.0.0-beta.3

I will spend some time on this today - thanks.

Thanks @metamaker and @xtazy for reporting this issue.  I was able to resolve an issue earlier in this thread, but I'm not able to make further progress.  It seems to be working correctly on my end.
In order to make some progress, I've created a new Angular 2 project using their quickstart repo here: https://github.com/nycdotnet/grunt-ts-issue-392/
If you run the following you should be able to help troubleshoot:
git clone https://github.com/nycdotnet/grunt-ts-issue-392/
cd grunt-ts-issue-392
npm install
grunt

From the above, grunt-ts is going to only compile the .d.ts files that are referenced inside of the node_modules folder by the TypeScript source files.  If you uncomment the tsconfig line in the tsconfig.json file, it should be the same list of files to compile.  Are you seeing something different?  If not, what is different about this project versus your projects?
Thank you again for all of your help.

@basarat Any chance you'd be willing to run v6.0.0-beta.10 through its paces?  I haven't been able to find any more issues.

@nycdotnet I don't use gulp or grunt in any of my currently active projects 😢 :rose:

I believe this is resolved in the latest beta on npm.  Please re-open if not.  Thank you!


Adding custom HTML to site body

First of all, thanks for this theme, I love it!
I am working on a site right now and I stumbled upon a use case that I don't know how to address despite the flexibility built in academic.
I need to add a code snippet to the site that will include a simple div followed by a script tag.
Based on the documentation here, it seems like head_custom.html would be a great match if it weren't for the fact that what I need to do requires the div to be in the body of the page.
Seems to me like one option would be to have an equivalent option for embedding content right before the page footer, like in this commit: 0468d1f77422c838d4e4c0dfb3dafe02d8d59e61
Can you recommend a better way to do this? Or you'd like me to submit a PR with the change?
Thanks again,
Alessandro

What are you trying to accomplish? You might find the information on Hugo's website more informative: https://gohugo.io/templates/data-templates/#data-driven-content

Thanks Hugh, I didn't know about data driven content, thanks for pointing that out!
Unfortunately, I am not sure that will help for what I am trying to do here.
To give you some more background, I am trying to integrate with a third party API (Amazon's) that will require me to embed code that looks like the following on my site.

The best thing for me to do would be embed this code in my template and have it load after the content, hence the mention of the footer.
Let me know if that does not make sense.

I assume you are attempting to add Amazon adverts to your site.
Your script can be added to head_custom.html as per the documentation.
The div can either be added to the body of any of your Markdown content files or you can use Hugo's inheritance principle to duplicate and override one of Academic's files such as themes/academic/layouts/partials/footer_container.html.
Please consider posting on the discussion forum if you need any further support with customization.


ISSUE-330 # Send header kafka producer

PR Branch
#ADD LINK TO THE PR BRANCH
Motivation and Context
@authorjapps -- Please review and approve. This contribution is not tested.
Checklist:

[ ] Unit tests added?

[ ] Integration tests added?

[ ] Test names are meaningful?

[ ] Feature manually tested?

[ ] Branch build passed?

[ ] No 'package.*' in the imports

[ ] Relevant Wiki page updated with clear instruction for the end user

[ ] Http test added to http-testing module(if applicable) ?

[ ] Kafka test added to kafka-testing module(if applicable) ?

PR is Not relevant any more, as the issue has been resolved by another PR.


Where did you get structs from?

ex unity::Il2cpp::Method::GetAddress("GhostAI", "Hunting", 3)),
Like where did you find the class for ghostai

Do you have a list of deobfuscated structs and classes?

The structure is from a dump file, and the dump tool is https://github.com/Perfare/Zygisk-Il2CppDumper.

Does it auto do this I know in the injector there is stuff about dump.cs etc?

The structure is from a dump file, and the dump tool is https://github.com/Perfare/Zygisk-Il2CppDumper.

Does it auto do this I know in the sln in UnityHack.h there is stuff about dump.cs etc?

There is no content about "dump.cs" in UnityHack.h. It is just a C++ library that retrieves game function information during runtime.


Docs/remove files moved to .github repo

NB: CONTRIBUTING works as a gateway to the guide entries (Documentation Driven Development, Reviewing through PRs, How to add posts) and decision posts (Why Discord, Why Quarto). Should this file be kept here or should we create a new intro post for these posts?
Relates to PR#6 in the .github repo adding these files to the .github repo

We'll keep the CONTRIBUTING here, since it lists guide entries and decisions we've made. I've removed the commit and will merge.


terminate called after throwing an instance of 'std::bad_alloc'

Describe the bug
When running the MicroROS agent, it periodically crashes with std::bad_alloc.
To Reproduce
Steps to reproduce the behavior:

Clone ArduPilot on my branch: https://github.com/Ryanf55/ardupilot/tree/dds-plane-goal-interface
Set up the ArduPilot build environment: https://ardupilot.org/dev/docs/building-the-code.html
Follow the PR instructions to run ardupilot and the micro ROS agent
Wait 2-3 seconds after initialization and observe the runtime crash

Expected behaviour
The agent runs reliably without an allocation error.
System information (please complete the following information):

OS: Ubuntu 22.04
ROS 2: humble binaries
Version: 3.0.5

Additional context
Here's the debug logs at verbosity 6 while running under gdb:
[1702444844.833881] debug    | UDPv4AgentLinux.cpp | recv_message             | [==>> UDP <<==]        | client_key: 0xAAAABBBB, len: 36, data:
0000: 81 80 17 00 07 01 0C 00 00 50 00 05 01 00 00 00 20 5D 04 33 07 01 0C 00 00 51 00 75 01 00 00 00
0020: 20 5D 04 33
[1702444844.833918] debug    | DataWriter.cpp     | write                    | [** <<DDS>> **]        | client_key: 0x00000000, len: 8, data:
0000: 01 00 00 00 20 5D 04 33
[1702444844.833930] debug    | DataWriter.cpp     | write                    | [** <<DDS>> **]        | client_key: 0x00000007, len: 8, data:
0000: 01 00 00 00 20 5D 04 33
[1702444844.833981] debug    | UDPv4AgentLinux.cpp | send_message             | [** <<UDP>> **]        | client_key: 0xAAAABBBB, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 18 00 00 00 80

Thread 19 "micro_ros_agent" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdcff9640 (LWP 130694)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140736901125696) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736901125696) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140736901125696) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140736901125696, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff6c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff6c287f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff70a2b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff70ae20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff70ae277 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff70ae4d8 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff70a27ac in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007ffff7ec8915 in ?? () from /opt/ros/humble/lib/librmw_dds_common__rosidl_typesupport_fastrtps_cpp.so
#11 0x00007ffff7ec8eb7 in rmw_dds_common::msg::typesupport_fastrtps_cpp::cdr_deserialize(eprosima::fastcdr::Cdr&, rmw_dds_common::msg::NodeEntitiesInfo_<std::allocator<void> >&) ()
   from /opt/ros/humble/lib/librmw_dds_common__rosidl_typesupport_fastrtps_cpp.so
#12 0x00007ffff7ec91f7 in rmw_dds_common::msg::typesupport_fastrtps_cpp::cdr_deserialize(eprosima::fastcdr::Cdr&, rmw_dds_common::msg::ParticipantEntitiesInfo_<std::allocator<void> >&) ()
   from /opt/ros/humble/lib/librmw_dds_common__rosidl_typesupport_fastrtps_cpp.so
#13 0x00005555555a02ed in uros::agent::graph_manager::ParticipantEntitiesInfoTypeSupport::deserialize(eprosima::fastrtps::rtps::SerializedPayload_t*, void*) ()
#14 0x00007ffff7a2f42a in ?? () from /opt/ros/humble/lib/libfastrtps.so.2.6
#15 0x00007ffff76ed47b in eprosima::fastdds::dds::DataReaderImpl::read_or_take_next_sample(void*, eprosima::fastdds::dds::SampleInfo*, bool) () from /opt/ros/humble/lib/libfastrtps.so.2.6
#16 0x0000555555585888 in uros::agent::graph_manager::GraphManager::update_node_entities_info() ()
#17 0x00005555555868c4 in uros::agent::graph_manager::GraphManager::DatareaderListener::on_data_available(eprosima::fastdds::dds::DataReader*) ()
#18 0x00007ffff76ee84d in eprosima::fastdds::dds::DataReaderImpl::InnerDataReaderListener::onNewCacheChangeAdded(eprosima::fastrtps::rtps::RTPSReader*, eprosima::fastrtps::rtps::CacheChange_t const*) ()
   from /opt/ros/humble/lib/libfastrtps.so.2.6
#19 0x00007ffff76716b4 in eprosima::fastrtps::rtps::StatefulReader::NotifyChanges(eprosima::fastrtps::rtps::WriterProxy*) () from /opt/ros/humble/lib/libfastrtps.so.2.6
#20 0x00007ffff7671e5b in eprosima::fastrtps::rtps::StatefulReader::change_received(eprosima::fastrtps::rtps::CacheChange_t*, eprosima::fastrtps::rtps::WriterProxy*, unsigned long) () from /opt/ros/humble/lib/libfastrtps.so.2.6
#21 0x00007ffff7672381 in eprosima::fastrtps::rtps::StatefulReader::processDataMsg(eprosima::fastrtps::rtps::CacheChange_t*) () from /opt/ros/humble/lib/libfastrtps.so.2.6
#22 0x00007ffff767ff20 in eprosima::fastrtps::rtps::MessageReceiver::process_data_message_without_security(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) ()
   from /opt/ros/humble/lib/libfastrtps.so.2.6
#23 0x00007ffff7689a7b in eprosima::fastrtps::rtps::MessageReceiver::proc_Submsg_Data(eprosima::fastrtps::rtps::CDRMessage_t*, eprosima::fastrtps::rtps::SubmessageHeader_t*) const () from /opt/ros/humble/lib/libfastrtps.so.2.6
#24 0x00007ffff768b6c8 in eprosima::fastrtps::rtps::MessageReceiver::processCDRMsg(eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::CDRMessage_t*) ()
   from /opt/ros/humble/lib/libfastrtps.so.2.6
#25 0x00007ffff769134f in eprosima::fastrtps::rtps::ReceiverResource::OnDataReceived(unsigned char const*, unsigned int, eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::Locator_t const&) ()
   from /opt/ros/humble/lib/libfastrtps.so.2.6
#26 0x00007ffff78c7618 in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /opt/ros/humble/lib/libfastrtps.so.2.6
#27 0x00007ffff78c22fb in ?? () from /opt/ros/humble/lib/libfastrtps.so.2.6
#28 0x00007ffff70dc253 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#29 0x00007ffff6c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#30 0x00007ffff6d26660 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) Quit
(gdb)
quit

Hello @Ryanf55, this is a well-known problem and IMO not really a micro-ROS issue.
The key is that the ROS 2 ros_discovery_info topic has a significant change on its type rmw_dds_common::msg::dds_::ParticipantEntitiesInfo_. They have reduced the size of an array from 24 to 16 for this very same topic, making it incompatible between ROS 2 distros:

Iron version: https://github.com/ros2/rmw_dds_common/blob/iron/rmw_dds_common/msg/Gid.msg
Humble version: https://github.com/ros2/rmw_dds_common/blob/humble/rmw_dds_common/msg/Gid.msg

Specifically, if your Humble installation receives an Iron ros_discovery_info data representation will not be compliant to the Humble deserialization, making its deserialization unpredictable a very likely to throw an exception.
In summary, this is a ROS 2 distro incompatibility issue and shall be solved if you ensure that your Humble environment does not have any interaction with an Iron environment (local or remote).

HI Pablo,
thanks for the info. Just FYI, I do not have Iron installed, and there are no other ROS 2 developers on my home network, so I don't think that's the issue. Everything is on humble.

You have the very same error that we found some weeks ago.
How are you building the micro-ROS Agent?
Are any docker in your system?
Because of this line #26 0x00007ffff78c7618 in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /opt/ros/humble/lib/libfastrtps.so.2.6 it seems that the message that raises the error is in your same computer and communicating via shared memory.

We are building it from source with colcon, with the humble branch in our ROS workspace. This is all on host, no docker.
https://github.com/ArduPilot/ardupilot/blob/6515df72f0473b8982f3d25bdade74f5d9df8be3/Tools/ros2/ros2.repos#L9

Can you provide a Dockerfile with a replicator without the Ardupilot part?

Can you provide a Dockerfile with a replicator without the Ardupilot part?

I can try. The MicroXRCE DDS Agent is heavily tied to ArduPilot right now; it may be hard to build a standalone example to reproduce.
Would it be acceptable to provide a dockerfile with ArduPilot already built and running? Then you can just run it against MicroROS on your host OS built with debug and run under GDB?

That would be acceptable as far as everything runs inside a Docker.

Thanks. Can you assign this ticket to me. I can get you the info a few days.


Question: Is it possible to add this to a desktop markdown editor?

Thanks for creating this. I'm excited by the idea, but I haven't really tried it out yet because I'm used to working in a desktop MD editor (MacDown, HarooPad, and Atom are my faves). I would like to explore it, but I don't get how to reconcile it with my workflow.
I'd love to be able to work in a comfortable markdown-oriented editor where I can see the preview alongside, and possibly have keystrokes or menu items (or even text suggestions -- I think this is possible in Atom) to help with learning the new MD commands.
Please let me know if I'm totally barking up the wrong tree. I think this project has a lot of potential, and I think it would be extremely successful in a UI that meets less techie users halfway.
Thanks again for such an innovative and useful idea!
Ted

This would be awesome. Unfortunately it is now 2019 and we have no answer yet...

Thanks for reaching out, and having interests on the project.
The next branch contains the new changes where the goal is make it non-framework specific.
I think this feature will be the most important feature to support other frameworks.
I am not actively maintaining the project at the moment since I have many responsibilities on real life.
You are free to fork the project and shape it on whatever form you need it.


Update AutoRest C# version

Update AutoRest C# version to 3.0.0-beta.20220327.1

conflicts being resolved here https://github.com/Azure/azure-sdk-for-net/pull/27780


UI: after creating the EVC desired links is not cleared

Hi,
All fields in the EVC creation form are cleared except the desired links for primary and secondary paths (probably also undesired links).

Other attributes that dont clear:

SPF attribute
SPF max path cost
Min. flexible hits
all of them

Based on how things have evolved issue #283 will be shipped as an workaround on 2022.3.1.
This one here will be left for a next opportunity on 2023.1


Use std::process::Command instead on wrappers

Motivation
Depending on where we're running this (what runtime), using the tokio one can make these calls hang. So it's better to use std::process::Command directly instead
Proposal
Use std::process::Command
Test Plan
Run from e2e tests, make sure they don't hang

Current dependencies on/for this PR:

main

PR #1314

PR #1315

PR #1316   👈

This stack of pull requests is managed by Graphite.

What do you mean "hang"? We probably want to stick with the same type of Command for everything

Seems like it was related to stdout/stderr like you mentioned. This is only triggered from inside drop, so my current guess is that as the tokio runtime is shutting down, stdout/stderr never get flushed, so code trying to capture the output in any way will be waiting for a buffer flush that never happen.
Just spawning the process and waiting on it to finish (with no stdout/stderr interaction) doesn't hang.

Branch and PR name are not correct now, so will close this one and send an updated one


Readiness probe for Orakl Fetcher

@Bisonai/orakl-team Fetcher will be decommissioned soon. Closing issue.


AttributeError: 'CacheControl' object has no attribute 'update_db'

The following happens when I run the bot:
Ignoring exception in on_ready
Traceback (most recent call last):
  File "/home/sajid/miniconda3/lib/python3.9/site-packages/discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "/home/sajid/Projects/TLE BCS/tle/cogs/cache_control.py", line 31, in on_ready
    self.update_db.start()
AttributeError: 'CacheControl' object has no attribute 'update_db'

I've looked up but couldn't find any task named update_db(). Please look into it.

I deleted that task in #19, and I forgot to remove this. I'll fix it right now.


rosdep not working properly

Issue on ros-infrastructure: https://github.com/ros-infrastructure/rosdep/issues/677

Thanks for reporting @LanderU

These commits should fix the issue:

https://github.com/AcutronicRobotics/moveit_ci/commit/d403158394a68be06e01cbb7b4ea20c8cb7a64b7
https://github.com/AcutronicRobotics/moveit_ci/commit/ebcc93ba7e768fc304401b243eebcfb9f51e5af6

Thanks @LanderU


Can't get attribute 'simple_class_factory' on module 'django.db.models.base'

Exception Value:
Can't get attribute 'simple_class_factory' on module 'django.db.models.base'
Exception Location:
/django_q/signing.py in loads, line 44

Getting this error after updating to django 1.10 when I try to reach the "Queued tasks" admin page (django_q/ormq/)

django 1.10
django-q 0.7.18
broker : Django ORM

It looks like the attribute was removed after 1.10a1 see https://github.com/django/django/commit/7f51876f99851fdc3fef63aecdfbcffa199c26b9
Thanks

Have you tried clearing your queue?
Django doesn't support unsigning ( and unpickling) objects that have been signed with a previous version.

Thanks a lot for the ultra quick response, I didn't know about this.
The queue is working again after a brocker.delete_queue().


PowerToys Run runs console programs don't use WindowsTerminal

Description of the new feature / enhancement
PowerToys Run runs console programs don't use WindowsTerminal
Scenario when this would be used?
I have Windows 11 installed on my computer and I want PowerToys Run to use the new WindowsTerminal instead of the old console.
Supporting information
No response

If you set terminal to the standard one it should work.

If you set terminal as standard one it should work.
Let me know if you have already tried that

I am using Windows 11 Preview and there is no "default terminal application" tab in the WindowsTerminal settings.

If you set terminal as standard one it should work.
Let me know if you have already tried that

I am using Windows 11 Preview and there is no "default terminal application" tab in the WindowsTerminal settings.

Search in the windows settings for developer options. There I found it. But maybe you need terminal preview. IDK

If you set terminal as standard one it should work.
Let me know if you have already tried that

I am using Windows 11 Preview and there is no "default terminal application" tab in the WindowsTerminal settings.

Search in the windows settings for developer options. There I found it. But maybe you need terminal preview. IDK

Okay, it worked. But there is another unfortunate news, unless I install both versions, uninstalling the stable version will cause "WindowsTerminal" to be unavailable in the start menu.

If you set terminal as standard one it should work.
Let me know if you have already tried that

I am using Windows 11 Preview and there is no "default terminal application" tab in the WindowsTerminal settings.

Search in the windows settings for developer options. There I found it. But maybe you need terminal preview. IDK

Now Powershell Run works with Windows Terminal, but after I execute ">wsl code" or ">wsl", wsl.exe prints out an error "bad argument" and Windows Termial stops accepting user input, even "Ctrl+C".

in terminal, if i just typed Wsl, it gave same output.


Add drop down list for "files to include" in search window

This is a feature request:
Please add a drop down list with the latests inputs (maybe 10?) in the search window. The inputs should be saved over restart or update.
This is especially important in the files to include testfield. With the drop down list, you can faster switch between file types like Makefiles (Makefile,*.mak) and Source files (*.c,*.cpp,*.h). The sting might be longer and also errors may occur from retyping all the time.

https://github.com/Microsoft/vscode/issues/23099

Thanks for the information. Nevertheless, this feature should be enhanced.
The list(s) should be visible and sorted by last use.


Can't resolve filters because unique class (resolveFilters)

Quick fix would be to either create separate classes for those two filters or pass in ->key('your_attribute_name')
So for your example
(new MultiselectFilter())->key('phanloai_cl')
(new MultiselectFilter())->key('noi_ph')


Adding type="button" to button used in select

This should make it work within a form and may fix #13

thanks for contribution :+1:


Issue #123 Font Size

I adjusted the font size, line weight, and line height to make the
paragraph text a little more visible. In Chrome I had no problem seeing
it, but on Mac the text was a bit hard to read. It should read across
the site for p and p.large.

Looks geat @dutchbay :+1: !

With @Cara-Jo approval I feel :100: about merging this in. Thanks for the contribution!


[core] Listing files recursively not working (raylib 4.2.0)

Hello everyone.
When calling LoadDirectoryFilesEx with scanSubdirs=true only files in the top level directory ("basePath") are listed.
I had a quick look in the in the sources and found the issue.
The first line in the ScanDirectoryFilesRecursively function:
static char path[MAX_FILEPATH_LENGTH] = {0};
must be wrong. Actually it should be:
char path[MAX_FILEPATH_LENGTH] = {0};
In order to work. Else the path is set instantly to an empty string in every recursive call of ScanDirectoryFilesRecursively.
else ScanDirectoryFilesRecursively(path, files, filter);
and therefore no files of subdirectories and sub-subdirectories etc are listed.
Have a nice day.

@gordonshamway23 Thanks for the review!


Phoenix close the connection if the request need more time than normal

Hi, I came cross a issue that the Phoenix Application will close the connection after about 60s.
I have a nginx server before the Application, I found the nginx error log show upstream prematurely closed connection while reading response header from upstream.
Check the Application log, I found the Application just close the request without any log!
I think someone can find the behavior just use :timer.sleep(70_000)  in any handler.
I think the endpoint is responsible for this. So I check the endpoint and find the :http - the configuration for the HTTP server. Currently uses Cowboy and accepts all options as defined by Plug.Cowboy. Defaults to false.
I found I should config the cowboy, the cowboy server has some params, I think the idle_timeout or 'inactivity_timeout` is more important for this issue.
So I config the http: [protocol_options: [idle_timeout: 300_000, inactivity_timeout: 300_000]], and solve this problem.
My question is why the server not emit the error message ? I think it is hard to add the missing config if we do not have any obviously information.

Closing this as mentioned, thanks for the report!

@josevalim  I am sorry. And thanks a lot for your reply


Scaling and accelerated development at Pipedrive using Docker Enterprise

This video shows how Pipedrive, a small firm, uses Docker to their ease of deployment pipeline.

Hi @avidLearnerInProgress ,
There are some conflicts with my previous commit. So, please "git pull" to make your local repo updated before making changes.
Moreover, making 8 commits in a PR is not a good practices, I suppose.
https://github.com/binhnguyennus/awesome-scalability/pull/39/commits
Thanks and have a nice day :)


Finetuned BART checkpoints available?

Hi Authors, Thanks for the great work.
I want to run your BART models but no checkpoint seems available.
Are you planning to privide one? Thanks.

Hi! Thanks a lot for noticing our work!
Unfortunately, it has been two years since we run the experiments. We didn't keep our checkpoints, and we no longer have the access to those servers. You may need to run our training code to get models, I remember it just takes a couple of hours to run. Sorry for the inconvenience.

codes are well written and functional. Thanks.


minor refactor to the fibonacci array generator

The fibonacci sequence being zero indexed as well as the arrays, I think we could just initialize an array with the passed length, fill it with zeroes and use the indexes for the first positions.

Sure! No problem, I got confused about the style guide, but then I saw the open issue about it.
Great project!


 As seen from the camera, the line is partially behind the surface and partially in front of it. However, the line is drawn completely in front of the surface. See the media output below.
Expected behavior
I would have expected that the parts of the line which are behind the surface are not visible. I added also an edited image below which shows what I expected.
How to reproduce the issue
I used the following code to create the images below:
from manim import *
import math

class Test3d(ThreeDScene):
    def construct(self):
        self.set_camera_orientation(phi=70 * DEGREES, theta=-110 * DEGREES)
        axes = ThreeDAxes()
        surf = Surface(lambda phi,r: axes.c2p(math.cos(phi)*r,math.sin(phi)*r,0.5*r**2+1), u_range=[0,2*math.pi], v_range=[0,2])
        line = Line(start=axes.c2p(-0.5,-0.5,0), end=axes.c2p(-0.5,-0.5,4))
        self.add(axes, surf, line)
        self.wait(5)

Additional media files
Images (actual)
Default rendering by cairo:
manim -pqh  -s .\test_3d.py Test3d
The line is in front of the surface, even in the middle where it should be hidden by the surface.

When using opengl
manim -pqh --renderer opengl -s .\test_3d.py Test3d
the line is again not hidden. Here, now even the axes are not correct anymore.

I also tried different combinations of the  --use_projection_fill_shaders and --use_projection_stroke_shaders, however, I am not sure if I use them correctly, as the results are a bit strange.
manim -pqh -s --renderer opengl --use_projection_fill_shaders .\test_3d.py Test3d:

manim -pqh -s --renderer opengl --use_projection_stroke_shaders .\test_3d.py Test3d:

manim -pqh -s --renderer opengl --use_projection_fill_shaders --use_projection_stroke_shaders .\test_3d.py Test3d

Images (expected)
Expected result: This is what I want to achieve (manually edited by paint):

System specifications
System Details

OS: Windows 10
RAM: 16 GB RAM
Python 3.9.13
manim version 0.17.3

Installed Python Packages

certifi==2022.12.7
charset-normalizer==3.1.0
click==8.1.3
click-default-group==1.2.2
cloup==0.13.1
colorama==0.4.6
colour==0.1.5
decorator==5.1.1
glcontext==2.3.7
idna==3.4
isosurfaces==0.1.0
manim==0.17.3
ManimPango==0.4.3
mapbox-earcut==1.0.1
markdown-it-py==2.2.0
mdurl==0.1.2
moderngl==5.8.2
moderngl-window==2.4.3
multipledispatch==0.6.0
networkx==2.8.8
numpy==1.24.2
Pillow==9.5.0
pycairo==1.23.0
pydub==0.25.1
pyglet==2.0.5
Pygments==2.15.0
pyrr==0.10.3
requests==2.28.2
rich==13.3.3
scipy==1.10.1
screeninfo==0.8.1
six==1.16.0
skia-pathops==0.7.4
srt==3.5.3
svgelements==1.9.1
tqdm==4.65.0
urllib3==1.26.15
watchdog==2.3.1

Hi there, try using Line3D class instead of Line for this case, this should fix the problem.
line = Line3D(start=axes.c2p(-0.5,-0.5,0), end=axes.c2p(-0.5,-0.5,4))

Output

Thank you very much, this seems to be exactly what I searched for! I missed that these "3D" classes existed.


Cache dropped series and cache fully assembled label sets

Fixes #3150 and caches all relabelings including metric relabel drops.
Depends on #3145

LGTM sorry for the delay.


fnc: 0.10 -> 0.12

Install check is removed, courtesy: https://fnc.bsdbox.org/info/9b191697d6
Description of changes
https://fnc.bsdbox.org/doc/trunk/CHANGES.md
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Ci failed

Ci failed

Sorry about this. I rebased my commit on top of 509a6f1ebae10bf3c056ef49961768e5ca5a3406, and should be fixed now.


Feedback on progress of the import

Hi,
I have some big imports to do (programmatically) and it would be very useful to have a function that gives the feedback on progress of the import.
Is there something that can help me?
Gregorio

Hi Gregorio,
Sorry I don't really use this library very much anymore, but I'm glad that someone is!
It might be worth you implementing your own policy? One that is similar the ones in the policies.py module? Maybe something like this:
class NotifyStepsPolicy:
    def __init__(self, actions, callback):
        self.actions = actions
        self.callback = callback

    def execute(self):
        for action in self.actions:
            action.execute()
            self.callback(action)


Add zola agency

Here is a demo
zola.endingthealphabet.xyz

Looks like it can't clone it?

@pcvonz Correct url is https://git.sr.ht/~vonzimp/zola-agency

Sorry about that! Should be good to go now.


Hawk isn't a 64-bit compliant library

According to these 2 links, those apps who support 32-bit devices only will no longer be accepted by Google play starting August, 1st:
https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html
https://developer.android.com/distribute/best-practices/develop/64-bit
And Hawk uses Conceal which is a Library that uses native code and if one analyzes an APK that uses Hawk, one will be able to see that the only obstacle to make one's app 64-bit compliant is the Conceal dependency that Hawk uses(Refer to this link and follow the steps: https://developer.android.com/distribute/best-practices/develop/64-bit). Do you have any plan on how to remove this dependency from Hawk and change it so it can be 64-bit compliant? I look forward to hearing from you soon. Thank you

Please, can we migrate to this version?
Conceal 64 bits

A

From: Halyson Lima Gonçalves<EMAIL_ADDRESS>Sent: Tuesday, August 20, 2019 6:36:18 PM
To: orhanobut/hawk<EMAIL_ADDRESS>Cc: Caio Costa<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [orhanobut/hawk] Hawk isn't a 64-bit compliant library (#233)
Please, can we migrate to this version?
Conceal 64 bitshttps://github.com/facebook/conceal/releases/tag/v1.0.4
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/orhanobut/hawk/issues/233?email_source=notifications&email_token=AE6WVPTGJY677B23XCWKJRTQFRPVFA5CNFSM4HNERT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XXRHQ#issuecomment-523204766, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE6WVPQOOEYV2QKDJEDFAOTQFRPVFANCNFSM4HNERT4A.

I create a PR for that

Please, can we migrate to this version?
Conceal 64 bits

I created a PR for that https://github.com/orhanobut/hawk/pull/238 : D


parse does not find name for test.each block

      test.each([
        [1, 1, 2],
        [1, 2, 3],
        [2, 1, 3]
      ])('wtf', (a, b, expected) => {
        expect(a + b).toBe(expected);
      });

https://jestjs.io/docs/en/api#testeachtablename-fn-timeout
(note: its not possible to put a test.each inside a "it" or a "test" )
parser outputs a warning if he detects such a block.
  console.warn node_modules/jest-editor-support/build/parsers/typescript_parser.js:96
    **NamedBlock but no name found for it tsNode= NodeObject** {
      pos: 442,
      end: 526,
      flags: 0,
      modifierFlagsCache: 0,
      transformFlags: 0,
      parent: undefined,
      kind: 195,
      expression: NodeObject {
        pos: 442,
        end: 459,
        flags: 0,
        modifierFlagsCache: 0,
        transformFlags: 0,
        parent: undefined,
        kind: 193,
        expression: IdentifierObject {
          pos: 442,
          end: 454,
          flags: 0,
          modifierFlagsCache: 0,
          transformFlags: 0,
          parent: undefined,
          kind: 75,
          escapedText: 'test'
        },
        questionDotToken: undefined,
        name: IdentifierObject {
          pos: 455,
          end: 459,
          flags: 0,
          modifierFlagsCache: 0,
          transformFlags: 0,
          parent: undefined,
          kind: 75,
          escapedText: 'each'
        }
      },
      questionDotToken: undefined,
      arguments: [
        NodeObject {
          pos: 460,
          end: 525,
          flags: 0,
          modifierFlagsCache: 0,
          transformFlags: 0,
          parent: undefined,
          kind: 191,
          multiLine: true,
          elements: [Array]
        },
        pos: 460,
        end: 525
      ]
    }

Hey guys!
I am using a VS Code extension which depends on this project.
Could you tell me, what is the status of this issue and related PR?
It would be really awesome to have it merged, since it solves my problem with the test.each block (parametrized tests).
Thank you!

Hey @pbotsman. Well, it looks like that PR has been stalled for over a month. If you've got the interest and capacity, I'm sure we'd all appreciate your help having a look with fresh eyes and "managing" it to get it back on track. What's left to do? I can't assign you as a reviewer (yet). 😉

i think this isuse is resolved now, please re-open if im wrong.


Envoking "python somedir/module.py" from another dir other than the one the module is in confuses relative use-Paths

Since use-Path takes the CWD as base, this is different if envoking the module from another dir. However, this could be taken into account by looking at sys.argv - but how?

            if not source_dir:
                source_dir = Path(__import__("__main__").__file__)

should do the trick :)


How can I make it works with PistonWindow

Hello everyone,
i tried to use gfx-glyph with Piston and it does show only black screen without text.
I have proper font in folder with program. Os : windows 10.
Thank you for your reply.
I apologize for my english. Its not my native language.
use piston_window::*;
use gfx_glyph::{Section, GlyphBrushBuilder};

fn main() {
let mut window: PistonWindow = WindowSettings::new("App", [640, 480])
    .exit_on_esc(true)
    .opengl(OpenGL::V3_2)
    .build()
    .unwrap_or_else(|e| { panic!("Failed to build PistonWindow: {}", e) });

let consola: &[u8] = include_bytes!("consola.ttf");
let mut glyph_brush = GlyphBrushBuilder::using_font_bytes(consola)
    .initial_cache_size((256, 256))
    .build(window.factory.clone());

let section = Section {
    text: "Hello All",
    screen_position: (10.0 , 10.0),
    color: [0.1, 0.9, 0.1, 1.0],
    ..Section::default()
};

while let Some(e) = window.next() {

    window.draw_2d(&e, |c, g| {
        clear([0.0, 0.0, 0.0, 1.0], g);
    });

    glyph_brush.queue(section);

    glyph_brush.draw_queued(&mut window.encoder, &window.output_color,
                                             &window.output_stencil).expect("draw");

}
}

It looks like if you use the window.encoder in Piston you have to flush it yourself.
...
glyph_brush
    .draw_queued(
        &mut window.encoder,
        &window.output_color,
        &window.output_stencil,
    )
    .expect("draw");

window.encoder.flush(&mut window.device);

That makes sense. Thank you. It works now.


Question: Color Feed and Diffs

You make mention in your comments that folks should be careful about hitting the Color Feed resource and not using the diff approach. Curious if allowing that parameter in your API is something you want to do. I might hack on it and add a PR.

Yes feel free to make a PR for this. Currently in what I'm building I don't
have a need for the diffs so it's pretty low on my priority list although I
see why it would be useful and smart. Im absolutely open to additions and
enhancements.
On Thu, Mar 29, 2018, 9:04 PM Randy Burgess<EMAIL_ADDRESS>wrote:

You make mention in your comments that folks should be careful about
hitting the Color Feed resource and not using the diff approach. Curious if
allowing that parameter in your API is something you want to do. I might
hack on it and add a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/erwstout/node-mlb-api/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJASeUbZi7gvLxyf9perPBITcsqV-y3Eks5tja7bgaJpZM4TBRnf
.

Closing this, feel free to submit a PR if you've done it.


test broken after 2.81 release(?)

After commit d0126beb22a72c3be53f9325dc2b181eea2f5664
Seems that there was an error downloading blender 2.81
It was only a few hours after 2.81 release, so maybe relate to new stable version ?
@pjoe

Does this fix it? There isn't a 2.81 release on the https://builder.blender.org/download page anymore.
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6261f83..1d729bb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -33,8 +33,7 @@ jobs:
             fi
             if [[ $FILTER =~ blender28 ]]; then
               echo "Installing Blender 2.81"
-              BLENDER281_URL="https://builder.blender.org$(curl -s https://builder.blender.org/download/ | \
-                grep -oe '[^\"]*blender-2\.81[^\"]*linux[^\"]*-x86_64[^\"]*')"
+              BLENDER281_URL=https://download.blender.org/release/Blender2.81/blender-2.81-linux-glibc217-x86_64.tar.bz2
               mkdir /opt/blender281
               echo "Downloading from: $BLENDER281_URL"
               curl -SL "$BLENDER281_URL" | \

No, we have to switch from 2.81 to 2.82 if there is a 2.82 build already.
Aims is to test with latest dev build, so 2.82 now that 2.81 is official stable


Feature request: Training Peaks/Garmin Connect-integration

To avoid having to build structured workouts manually every time, it would be great to have them "automatically" imported from my Training Peaks

Do you have a reference to the format TP uses, @edvardvb?

Not directly, you'll have to apply for API access it seems
https://github.com/TrainingPeaks/PartnersAPI/wiki/API-Endpoints
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workout-Structure-Object
https://api.trainingpeaks.com/request-access
https://www.trainingpeaks.com/blog/an-update-on-trainingpeaks-partner-api/

Good suggestion! It seems like TrainingPeaks requires you to be a partner to be able to access their API, and it seems like the don't accept any more partners at the moment due to some maintenance, but I sent a request that will be considered once they open for more partners!

Looks like it is possible to download the workouts into .zwo (and other formats).
We have some WIP on importing .zwo-files.
Would download from TP and then uploading into dundring suffice and help this process, or is that still too cumbersome, and automatic import through the api is needed ?

Automatic would be the gold standard, but sitting down once a week to manually import next week's workouts is absolutely doable 🤩

The TP workouts have different IntensityTarget/Unit,
PercentOfFtp
PercentOfMaxHr
PercentOfThresholdHr
PercentOfThresholdSpeed
Rpe
I think dundring only have support for the PercentOfFtp currently.
I guess that one is the one you use mainly, @edvardvb ? Hopefully 😅

PercentOfFtp is probably the one, yeah!


Code colouring breaks on 'this' string inside element

'This' is being mistaken for a reference, while it is just plain text inside an JSX/HTML element.

Same for logical operators. ! and && are interpreted as operators, not text inside JSX:

It seems that all reserved words in JSX text nodes are highlighted when they shouldn't be.


Amazon Linux 2023

Hi,
Is there a plan to migration from Amazon Linux 2 to Amazon Linux 2023 ?
Regards.

see https://github.com/awslabs/amazon-eks-ami/pull/1212

Thanks


Suggest the "data" folder to store .toml and knowledge base

In the project's root directory, should we indicate in the README that .toml and the knowledge base (.csv) should be in a data/ folder? It's already ignored by .gitignore to avoid their versioning.

@lgabs we can suggest it in the README for sure, but its not a must to be there. The user can use another structure for storing their data.


DR16: Update config file to point to wiley.orbistechnologies.com

Updated config.properties file to point to wiley.orbistechnologies.com and pushed the changes to git.


feature/menu-table

Closes #4
Closes #9

feat: add menu banner
feat: add menu table

This has some conflicts apparently.

This has some conflicts apparently.
Resolved conflicts! Thanks for pointing that out.


Add a readiness probe to the application deployment

From customer email (Faizal)
The services are meant to load balance the request by default (roundrobin by default). Once the pods startup the application is considered to be available to use. In the case of Hybris though the application startup in Tomcat server takes much time to become online (even Hybris cluster shows up after few minutes).
Adding a readiness probe will make sure that pod starts entertaining requests only after it becomes ready from the application perspective

https://github.com/redhat-sap/sap-commerce-operator/pull/13


getitem error

Previously I was able to use tweet. Now not anymore.
i get this error:
TypeError: 'NoneType' object has no attribute 'getitem'
what next?
lorenzo

Hope do you reproduce this error?
On Tue, Dec 5, 2017, 8:49 AM lorenzoromani1983<EMAIL_ADDRESS>wrote:

Previously I was able to use tweet. Now not anymore.
i get this error:
TypeError: 'NoneType' object has no attribute 'getitem'
what next?
lorenzo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/haccer/tweep/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGaPSzAT5qn0CCc5boRE2f8LnLsil1x7ks5s9VgCgaJpZM4Q2aIB
.

just typing python tweep.py -u username
in the command line.
i have python 2.7

Are you positive you have the proper dependencies installed?
On Tue, Dec 5, 2017, 8:54 AM lorenzoromani1983<EMAIL_ADDRESS>wrote:

just typing python tweep.py -u username
in the command line.
i have python 2.7
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/haccer/tweep/issues/8#issuecomment-349327857, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGaPS_UoVA9RMY3roVPyhrMArs_Rl6F_ks5s9VkzgaJpZM4Q2aIB
.

yes...i do!

Solved by using linux.
do you think it is possible to modify the script in order to scrape all the followers/friends of a user, or of a list of users, in order to make a network graph without having to wait weeks? The API is really inefficient for this kind of work...

Oh, yeah I use linux lol.
Scraping followers is difficult, the tweets are scrapable via a trick w/ the search operators.


fix for protocol error when 32 bit color and non rfx

Works fine. I don't see no protocol errors.

Wow! I totally forgot about the order size issue!
@jsorg71 Has the issue reproduced easily for you? I wonder why I didn't
face it. Might be special resolution.
+1
--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

@speidy Yes, easy to reproduce.  Turn off bitmap compression in xrdp.ini and then connect at 32 bit color and no RFX.

Just had the opportunity to test. Everything is working fine, I will close #737 as soon as the Pull request has been merged.

Let's merge and prepare release.


Error in line 120

Running code leaves an error in line 120
"'charmap' codec can't decode byte  0x90 in position 3016: character maps to "

I'm aslo getting this bug is there a fix?

Ohh, makes sense

I'll try that when I get home, see if it fixes it.

No, that isn't the issue.
It's still the same error code but it is now in position 2994.


merge content api updates

Docs Build status updates of commit 7ced407:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/shopping-content/products-resource.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Set Object Alignment Label Set (Feature Request)

Sorry Kirk, as much as I would love to do this, I don't expect to have time. Feel free to reopen this in the future if you want to tackle it.

There seems to be more interest in this, so I'm going to try and make it happen.
https://forum.dynamobim.com/t/camber-feedback-thread/68942/191?u=mzjensen


Missing Font Awesome fonts

Running the latest PDNS Admin via Docker gives me missing fonts within the frontend.
I've searched within the Container for the files and couldn't find them. I've also tried another browser to exclude a cache, also there the erro 404 is still present. PDNS is not behind a reverse proxy or something else, im calling the IP and the Port directly!

@Pacerino I will look into this, but as I have told others, please do not use the latest or report on it if you do have an issue. This is directly tied to the primary branch of the project which is not guaranteed to be stable or for production use.
Thanks,

Is this on a particular page?

On every page

@Pacerino I will look into this, but as I have told others, please do not use the latest or report on it if you do have an issue. This is directly tied to the primary branch of the project which is not guaranteed to be stable or for production use.
Thanks,

I'm sorry, i've missed that! Will change the Tag of the Container.

@Pacerino no worries, thanks for the report!

@Pacerino this has been fixed in the primary branch FYI. I also pushed a bug fix that was introduced by the mobile first PR. The updated Docker image is building now and should be available within a matter of minutes.

Hi,
I'm not sure if this is related but while installing on a clean Debian 11.6 server I've just run into
`FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>The<EMAIL_ADDRESS>part of the path doesn't exist.
If this is the wrong forum could someone point me at the right one?
Many thanks
N

@xword9009 it seems like you haven't completed all of the deployment steps such as the module installation process. Please consult the project wiki for Debian / Ubuntu installation to view these steps which include the use of the yarn install command.

I am having a similar issue with PowerDNS-Admin version 0.4.1 built in Docker based on Debian bullseye:
nodejs version: v20.10.0
yarn version: 1.22.19
Any help is much appreciated.

 => => # + yarn install --pure-lockfile --production
 => => # yarn install v1.22.19
 => => # [1/4] Resolving packages...
 => => # warning Resolution field "<EMAIL_ADDRESS>is incompatible with requested version "<EMAIL_ADDRESS>
 => => # [2/4] Fetching packages...
 => => # warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>
 => => # warning "admin-lte ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>
 => => # warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^2.0 || ^3.1".
 => => # warning "admin-lte ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>
 => => # warning "admin-lte ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>
 => => # warning "admin-lte > bootstrap-colorpicker ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>

Dockerfile-builder.txt

@macrokernel you're much more likely to get helpful feedback if you post output with an actual failure. Unfortunately, what you have shared doesn't show any issues as those are just warnings. If you're trying to build your own custom Docker image, we don't have the time/capacity to help support any issues you may have created in doing so. Thanks @macrokernel.

@AzorianMatt, thanks for looking into this. The actual issue can be seen in the screenshot attached to my previous message: Font awesome icons are not working and it seems like something is wrong with auto-generated CSS.

@macrokernel you're welcome. Have you done the more obvious things such as verifying whether the files needed actually exist where they should be? Review your browser console for all 404's to see what else may be missing. You shouldn't be getting any 404's on font files so that is a starting point to focus on.

@AzorianMatt, thanks for the advise. It is weird that the only 404 listed in console is the one I mentioned above regarding glyphicons-halflings-regular.woff2. I can see that main.css references both glyphicons-halflings-regular.woff2 and glyphicons-halflings-regular.woff, so this shouldn't be a real issue.

@macrokernel you're welcome. It seems like to me, the last time this happened it was because the asset building process was not being ran or completing successfully. My memory is vague right now without looking, but I do believe that process copies the font files into a final location for production. That is to say, if they aren't where they need to be when the process runs, then they may not even get referenced in the production output which could create false positives where there are no 404s.
Have you checked the asset building step?

@AzorianMatt, yes, the fonts are copied to where they should be. This is the bit in my Dockerfile where it is done, it does not differ much from the one in the original Dockerfile:
# Prepare assets
RUN set -x && \
    yarn install --pure-lockfile --production && \
    yarn cache clean && \
    sed -i -r -e "s|'rcssmin',\s?'cssrewrite'|'rcssmin'|g" /build/powerdnsadmin/assets.py && \
    export LC_ALL=C.UTF-8 && \
    export LANG=C.UTF-8 && \
    export FLASK_CONF=../configs/development.py && \
    flask assets build

RUN mv /build/powerdnsadmin/static /tmp/static && \
    mkdir /build/powerdnsadmin/static && \
    cp -r /tmp/static/generated /build/powerdnsadmin/static && \
    cp -r /tmp/static/assets /build/powerdnsadmin/static && \
    cp -r /tmp/static/img /build/powerdnsadmin/static && \
    find /tmp/static/node_modules -name 'webfonts' -exec cp -r {} /build/powerdnsadmin/static \; && \
    find /tmp/static/node_modules -name 'fonts' -exec cp -r {} /build/powerdnsadmin/static \; && \
    find /tmp/static/node_modules/icheck/skins/square -name '*.png' -exec cp {} /build/powerdnsadmin/static/generated \;

RUN { \
      echo "from flask_assets import Environment"; \
      echo "assets = Environment()"; \
      echo "assets.register('js_login', 'generated/login.js')"; \
      echo "assets.register('js_validation', 'generated/validation.js')"; \
      echo "assets.register('css_login', 'generated/login.css')"; \
      echo "assets.register('js_main', 'generated/main.js')"; \
      echo "assets.register('css_main', 'generated/main.css')"; \
    } > /build/powerdnsadmin/assets.py

I have verified that the fonts are present in the Docker image and I am able to download, for example, this font /static/webfonts/fa-regular-400.woff2 from the running docker container.

@AzorianMatt, my Dockerfile is attached to the first message posted yesterday. I had to re-base the Dockerfile on Debian Bullseye in order to be able to install a specific version of PowerDNS server and other stuff, as I am building an all-in-one Docker image with  DNS server, DBMS and GUI.
I had to change PyYAML version from 5.4 to 5.3.1 in Python requirements.txt , as the requirements won't install otherwise. It might be because Debian's Python version is 3.9 while in the original Alpine 3.17 Docker image it is 3.10. I was going to try a newer version of Debian to see if it helps.
I have not modified powerdnsadmin/assets.py.

@macrokernel yep, that all makes sense now. Making these changes might seem rather minor on the surface, but this is the very reason I have froze this edition of the project. It is far too delegate to develop with effectively and leads to many issues the moment seemingly anything is changed. I wish I could offer you further help on this endeavor, but this is precisely why I recently froze this code base. It's costing me too much time to continue any efforts on it at all (including support) which is stealing from the project's future.