Overwrites httpd.conf with invalid path after brew fails

Love the concept!
Here is a bug I have found:
Checking configuration...
Server is running.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using rooter.local. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Setting php56...
/bin/sh: brew: command not found
Linking /usr/local/Cellar/php56/5.6.4...
Error: Could not symlink bin/pear
Target /usr/local/bin/pear
already exists. You may want to remove it:
rm '/usr/local/bin/pear'
To force the link and overwrite all conflicting files:
brew link --overwrite php56
To list all files that would be deleted:
brew link --overwrite --dry-run php56
Filechange detected.
Restarting server...
Checking configuration...
httpd: Syntax error on line 1 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/opt/php56/libexec/apache2/libphp5.so into server: dlopen(/usr/local/opt/php56/libexec/apache2/libphp5.so, 10): image not found
Server is stopped.
Also, load module does not respect existing php module already in file.

httpd.conf looks like this:
1 LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so
2
3 #
4 # This is the main Apache HTTP server configuration file.  It contains the
5 # configuration directives that give the server its instructions.
6 # See URL:http://httpd.apache.org/docs/2.4/ for detailed information.
7 # In particular, see
8 # URL:http://httpd.apache.org/docs/2.4/mod/directives.html
9 # for a discussion of each configuration directive.
10 #
11 # Do NOT simply read the instructions in here without understanding
12 # what they do.  They're here only as hints or reminders.  If you are unsure
13 # consult the online docs. You have been warned.
14 #

Hi,
thanks for your feedback !
@bo01ean the message looks weird, did you install Brew the usual way ?

Also, load module does not respect existing php module already in file.

Do you have an example of this issue ?


Base64.js ( useless/base/3rd/Base64.js ) is outdated

What's the point of having a 3rd party implementation of Base64 encoding anyways? Afaik, Base64.js should be deprecated from now on in favor of btoa / atob JS atoms (web interface) or Buffer objects (Node.js). Is there a performance implication? I would say no, that 3rd-party code is naive (bitwise shifting is not accelerated in JS environment). So, why keeping it?
// within a web browser

$mixin (String, {
    $property: {
        btoa: function () { return btoa (this) },
        atob: function () { return atob (this) },
    }
}

// with Node.js

console.log (new Buffer ('Hello World!').toString ('base64'))
console.log (new Buffer (b64Encoded, 'base64').toString ())

Removed as obsolete.


Add reference to "Compiled Mode" in Variables/Expressions info page.

A preview is available:
Debugging expressions
This commit will also need a new screenshot file to be added as an image. Attaching it to PR.

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Pretrained models

Thank you for your work! You have provided two pretrained models: Pretrained model and ijcai Pretrained model.  What is the difference between them? I have trained the model with 28000 face dataset and using wgan-gp loss  with ijcai Pretrained model when the value of stage is one . But the model does not converge as follows. What' more, I think the code of wgan_gp loss should be change a little.  Another question is how many iterations do you used? Could you give me some advice?

Thanks for your attention! The ijcai pretrained model is the pretrained model for our previous work, "Coarse-to-Fine Image Inpainting via Region-wise convolutions and Non-local correlation".  You'd better train our model from the beginning.  In the first stage, we pretrain the model for 9 epoches without adversarial loss and then train the model with adversarial loss for 19 epoches. What's more, we didn't normalize the loss function during training. Therefore, the value of loss is large when it finally converges.

Thank you very much! I will try again.


Max iteration being hit on QV circuits targetting ECR-based systems

Environment

Qiskit Terra version:  latest
Python version: 3.9
Operating system:  ubuntu

What is happening?
It seems transpiling QV circuits for ecr based backends raises transpilation warnings for various seed values.  It is not hard to find a seed where this issue occurs.
How can we reproduce the issue?

from qiskit import *
from qiskit_ibm_provider import IBMProvider
from qiskit.circuit.library import QuantumVolume

provider = IBMProvider()

qc = QuantumVolume(7, seed=12345)
qc.measure_all()

backend = provider.get_backend('ibm_sherbrooke')
trans_qc = transpile(qc, backend, optimization_level=3)

gives
TranspilerError: 'Maximum iteration reached. max_iteration=1000'
Switching the backend to ibm_kyiv that has the same topology, but uses cx gates rather than  ecr works fine.
What should happen?
It should work fine.
Any suggestions?
No response

Thanks - we're fairly sure this is because an optimisation loop tends to get stuck oscillating between two possible solutions. #9612 should hopefully solve this.

confirmed that #9612 fixes this issue.


commonJS module configuration prevents externalizing package

Reflecting https://github.com/SharePoint/sp-dev-fx-controls-react/issues/415
https://github.com/SharePoint/sp-dev-fx-property-controls/blob/361a5e4c89e143388302555b71ffac82ff432a9e/tsconfig.json#L5

Moved to esnext module configuration


Allow formatting of references in combination with metrics that have an operation applied

Coverage decreased (-0.03%) to 91.45% when pulling c3d444f97a92de6202b6f0de841021c044fbf4a6 on gl3nn:format-reference-plus-operation into cde878ac22d286232fd12156bcd54abfed8ce539 on kayak:master.


[GSK-852] Change Tensorflow to latest version, to enable arm64 test a…

Needs https://github.com/Giskard-AI/giskard/pull/1401 to be merged
Description

Detoxify has been removed and changed by the HuggingFace model, but the prediction do change a bit...
I'm not sure why it's changing so much, but I guess we are not using the same weights exactly.
Is it

Notes :
Pydantic >2 cannot be installed with tensorflow >=2.13, because of incompatible version typing-extensions
https://github.com/tensorflow/tensorflow/issues/60687#issuecomment-1655280362
Should be fine in 2.14

Review finished.
I will try to test on Linux and macOS, with py3.11


Add to Play Store

Please add this app to Play Store.

Currently I don't plan to publish this app on the Play Store. You can download the APK from F-Droid website without having to install F-Droid.


Guidance on how to deploy webhook solver into a kubernetes cluster

I've been following along with https://github.com/cert-manager/webhook-example/issues/3 and trying my best to build a solver using this example as a starting point. I think I've done ok and based on what the tests are doing it seems to be working perfectly. I'm now just a little stuck on how exactly to make use of this solver in my actual kubernetes cluster 🤔
I figured because the solvers are Go libraries we will need to install them somehow, but I don't really have a clue how to proceed here. I'm going to go and look at some examples to try and divine how to get this in production but I thought I would open this issue to discuss adding some guidance to the readme or a partial example to the repo.
let me know what you think 😄

@mansona Have you managed to solve this issue? I wonder if you need to build and maintain your own cert-manager Docker image, which would not be easy.

@Exagone313 you have to maintain your own image, yes


Create if needed

Refactoring and configuration options for AWS Logging.

Allow for not creating log groups or log streams automatically
Rework code to allow for better testing
updated documentation for new configuration options

Looking for more testing on this before marking ready.


Fix index definition parse logic to handle nulls sort order

Add implementation to handle nulls sort order
Add unit tests
Add XML doc comments

Fixes #13

Fixes https://github.com/JasperFx/weasel/issues/13

@mysticmind, I added a few minor suggestions. They're non-blockers. Good job 👍

Thanks Oskar, will attempt to address the suggestions.

I went ahead and merged this PR.


⚠ SceneTime has degraded performance

In e0ad903, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1171 ms

Resolved: SceneTime performance has improved in cbb7f62 after 8 minutes.


Enhance sim: TypeError a is undefined

Describe the bug
When simming 300s enhance sims for p4 and p5:
About half the time I get an error "TypeError: a is undefined".
To Reproduce
Steps to reproduce the behavior:

Go to my links below.
Click on simulate.
See error about half the time

Expected behavior

error should not occur, sim should complete

Sim Links and Screenshots
https://wowsims.github.io/wotlk/enhancement_shaman/#eJztVE9IFFEYn++9cXd2WPU1SEybmg5RIhSzDlt6qHl5qugw1MXqkP2loGLxkkWgRpF/OoRY0dZBEtS2MDtkWQoLbsUG0p4kK9Sk0E6uYCRe7JuZNcIOIWmnvuH3eL/f+77vvXn8eHKhRHQohZ1gkUoIk1qAMfJO7AYSA0gCTAKUByRQoYAUAYcKCAOmtAJ0AjwDUITADe8l8FinD58/XiV5mTfwCeRsFr1O1a95mqdngPT0EtnHxpuoRmM49bNOXBvLW2BPo1T9jsxOU1jdNarO5mk+ZEPzxM7IZD2YcSVfE1ETkD7A8pbcNM1mL6JU87UnyGgvwRGF+7g+hVujYNdns1vY82au5om5go91Ywm1k31spCF9LJH1N1Ac+6IUD9WFJYPpQ/nZ41+YyCKNVMu0L80SK8RqqAe4R74ROUaE//FXoehLrbjgl4ARlaAd0ZTNcBnkallGjaJfQQcGgc0ykSiCIEQEIDIQHkQmwoeQEVkIryzopMzpzGv4DmcS7uC73M32cwvtf8pVr/KqLHTGw8/EcUbbBAlIEmFQQItII2zUQ4Zu6HqoZJOhh/AzbKLrQQMnRjBoBHHUQ8Fx8EvP44T1xYk6ECeTIKbAG4HtMpNFaSIFiuRuncMXKdz6TTnEZY+rvAchQgStifqclVgVX7XQZk3kth0J0/1LIWkWnnBiyCz5QAr2qVLxCvs4VceXo01tIr4sfVYi3Lvtn0o7SJg1K2Gv80J8dG5/2rzTmtGyLjxrLlQkDq5Plu+Z+8mVLcUbLo7PmIsaC9HmkVRZx7RZWl/ceGb+1aL1lHlseFJuOztnhobFyvyTX8xRiD1683rGrBl8sjVn9bT5sqv9SHJtBl+Jv/4Xoei7rbdDgbsK39ZWeu6oJfA/VRxY8pvyA+hU1DE=
https://wowsims.github.io/wotlk/enhancement_shaman/#eJztVF1IFFEUnnNm3J29rHobJKZNTYcoEYpZhy19qJl8quhhqBerh+yXgorFlywCLYr8CQqRfrYeJEFNxOrBJSthwa3YQNqnJStKxNCeXMFIfLGzMxphDyFpT53hu9zznTnfPfdy7mXFMupQDjvBxmoIYz3ACL6THgPGAJIAEwCVARlUKMISsKAKwkC/tAF0ATwFUITAHe9l8NinD58/XiN7uTcwBiyXd98U1a8Fmic6iNF+ZD4+2ixqYkcCmZ93UWykQBNj/Rkv3iyq3+e9XN5DsZlMXj+m5pBl8zkKXy3UJAoLjPPn5Lbma15yoxlG4X3E3MjXfC7jqjwklUlXxSVuXxfVW/maJ+YSPt6zUA5V1jg/lXhfo0jjAI1+3kspQ1RX1KnyyS+exCNNopadOTdbqpJqoQHgAX5DFkPhv/2VKfpSMy74ZeCoInUk9WULXAFWyxhxIrUs6MAhsJmhLBKQIBGAkEXwELIJPgIj5BC8TNCxwlG26qwdziTcae1yF9tv2XQDTrnsNasmhzqjZwydzmgfx4AsI4cisQSbYKMeMnRD10Nlmww9RJ+RcXQ9aNDECAaNII16KDgKfvlZHPmLOKqDcZwAKQ3eCGxnnEnyeBoU2V06z1rEWPZvzCGLeVzmPQgRFLRm0edEYjXWqgWZNZG7GUuY7i6FpFl8wrGUWfYBi/apcukK93H6krUcMvWJ+LLorIS5ZzswOd9BwoxZDXudF+Kjc/pT5r22rNZ14RlzISNxcH2ycs/sT1/ZUrrh4ui0uUhY6G75lK7onDLLG0qbzsy9WhRPm8eGJ1j72VkzNCxVF578Yn6G2KM3r6fNuqG+rXmrp8yXvR1HkmuzrJXY9b8wRd9tv00F7ivWtvbyc0dtwfpTxoElvyk/AG8G1KU=
Desktop (please complete the following information):

OS: Windows 11 and EndeavourOS (Arch Linux)
Browser: Firefox
Version 112

Additional context
According to Watcher7 and some sim people who are much smarter than me (I'm just learning programming) have pointed this out.
Watcher7: "That's not a Go error, looks like it's frontend error originating at https://github.com/wowsims/wotlk/blob/master/ui/core/proto_utils/logs_parser.ts#L829
looks like when it attempts to look up how many times https://www.wowhead.com/wotlk/spell=58643/strength-of-earth-totem is cast in the logs it gets an empty value
not sure what the root cause of that is though"
{     "raw": "[298.18] [Player (#1)] Casting {SpellID: 58643} (Cost = 413.224, Cast Time = 1s, Effective Time = 1s)",     "logIndex": 13068,     "timestamp": 298.18,     "source": {         "name": "Player",         "ownerName": "",         "index": 0,         "isTarget": false,         "isPet": false     },     "target": null,     "actionId": {         "itemId": 0,         "spellId": 58643,         "otherId": 0,         "tag": 0,         "baseName": "Strength of Earth Totem",         "name": "Strength of Earth Totem",         "iconUrl": "https://wow.zamimg.com/images/wow/icons/large/spell_nature_earthbindtotem.jpg"     },     "threat": 0,     "activeAuras": [],     "manaCost": 413.224,     "castTime": 1,     "effectiveTime": 1 }
" seems to be the offender, given that cast is happening at 298.18 maybe it's somehow not completing?"
This is all the context I have at the moment.

I replicated the error using the above links.

Not sure whether the root cause is just a parser bug or if something is wrong with the sim itself, but what happens is:
Towards the end of the sim, spell 58643 Strength of Earth Totem starts but does not end (i.e. there is a abilityCastsBegan for it, but no corresponding abilityCastsCompleted). The parser code tries to access the corresponding completed event anyway and fails with this error as a result.
The question now is: is this an issue in the sim (i.e. there should be a completed event?) or does the parser have wrong assumptions? Given the comment here, I'd think this is expected but just not handled properly by the parser:
				// Assume cast completed log is the same index because they always come in pairs.
				// Only exception is final pair, where there might be a cast began without a cast completed.
				const ccLog = abilityCastsCompleted[cbIdx] || null;
				const nextCcLog = abilityCastsCompleted[cbIdx + 1] || null;

When there is no completed cast, accessing this undefined var leads to the error. Probably just needs a more strict check?


Update osdctl checksum asset name

Corrects the checksum asset name for the osdctl tool from checksums.txt to sha256sum.txt.
Adds this name as a constant at the top of the osdctl tool definition for easier discoverability in the future.

/lgtm


insert new row/coumn throws error in console

While right clicking, I found 2 errors in the console
While clicking insert new row/coumn throws error in console
TypeError: $(...).prop(...) is undefined
TypeError: jQuery(...).jexcel is not a function
I am using the following libraries

DO you have the prop ID in your DIV?

This is the full script. The following runs fine when placing this in a html file. However, we are using an application development tool named Oracle Apex, where it throws error
`

`

Yes


I can't turn off the Context Menu

@jpribyl Thanks for this lib.
I'm trying to feed in
const mathJaxOptions = {
  enableExplorer: false,
  enableMenu: false,
};

<MathJaxProvider options={mathJaxOptions}>
  ...
</MathJaxProvider>

But I'm still able to see the Context Menu shows up.
This is based on the doc > http://docs.mathjax.org/en/latest/options/accessibility.html#explorer-extension-options

Hey @iroy2000 thanks for the issue! I won't have time to look fully into this for about a week - however take a look at my comment on this issue:
https://github.com/jpribyl/react-hook-mathjax/issues/1#issuecomment-739245787
I didn't realize that the provider was bubbling up and I wrapped Tex2SVG in its own provider. My guess is that the most recent comment I left on that issue may fix this one as well.
Please try that out and let me know if it works for you! If so, I can update the docs :muscle:

I just tried the comment above, it is still showing the menu.

@iroy2000 thanks for the update, I will probably have some time to look this weekend

@iroy2000 It appears that you have your options incorrect :smile:  try it like this:
const mathJaxOptions = {
  options: {
    enableMenu: false,
  },
};

For future reference, this is also possible using css by wrapping the element in a tag containing pointer-events: none

If this works for you, then I think we can close this one!

Thanks, it works for me. Let me close this one.

It doesn't work for me, but pointer-events: none in CSS - is a reliable solution.

Same here - after setting const mathJaxOptions = {     options: { showMathMenu: false },   }; I get MathJax(?): Invalid option "showMathMenu" (no default value). and the package is not loading at all. Unfortunately pointer-events: none won't work in my case as I need the generated output to be clickable.
Any help would be appreciated @jpribyl

@ssmirnow you are getting that error because that is not a valid option. Please refer to this page for valid options http://docs.mathjax.org/en/latest/options/accessibility.html#explorer-extension-options
This package uses v3 of mathjax - so some old options may no longer be supported.

Uhm, trying to use
const mathJaxOptions = {
    options: { enableExplorer: false },
  };

From what I can see, you are now attempting to use an option from the Explorer Extension without actually loading that extension. It makes sense to me that you would get that error in this scenario - it is coming directly from MathJax and letting you know that you don't have that extension loaded.
Please refer to section 8.4 here if you require that extension https://readthedocs.org/projects/mathjax/downloads/pdf/latest/. It is possible that it would require additional work to load it, I have not tried.
What exactly is your goal? Are you attempting to get the right click menu to turn off?

@iroy2000 It appears that you have your options incorrect 😄 try it like this:
const mathJaxOptions = {
  options: {
    enableMenu: false,
  },
};

For future reference, this is also possible using css by wrapping the element in a tag containing pointer-events: none

and where in WordPress do I have to put that code?


WIP: compatibility data files and template changes

Amazing!  I'll try to do a basic review of this tomorrow.  Thanks!


Missing auth for split-descriptive-statistics

| INFO: 2023-08-21 09:23:35,871 - root - [split-descriptive-statistics] compute JobManager(job_id=64dd8b2e4833e19c97d7c0db dataset=mozilla-foundation/common_voice_9_0 job_info={'job_id': '64dd8b2e4833e19c97d7c0db', 'type': 'split-descriptiv │
│ INFO: 2023-08-21 09:23:35,879 - root - Compute descriptive statistics for dataset='mozilla-foundation/common_voice_9_0', config='pt', split='invalidated'                                                                                │
│ INFO: 2023-08-21 09:23:36,440 - root - Downloading remote data to a local parquet file /storage/stats-cache/74577196210609-split-descriptive-statistics-mozilla-foundation-c-1d56685e/dataset.parquet.                                         │
│ ERROR: 2023-08-21 09:23:37,038 - root - HTTP Error: HTTP GET error on 'https://huggingface.co/datasets/mozilla-foundation/common_voice_9_0/resolve/refs%2Fconvert%2Fparquet/pt/invalidated/0000.parquet' (HTTP 401)                            │
│ Traceback (most recent call last):                                                                                │
│   File "/src/services/worker/src/worker/job_manager.py", line 160, in process                                                                                │
│     job_result = self.job_runner.compute()                                                                                │
│   File "/src/services/worker/src/worker/job_runners/split/descriptive_statistics.py", line 404, in compute                                                                                │
│     compute_descriptive_statistics_response(                                                                                │
│   File "/src/services/worker/src/worker/job_runners/split/descriptive_statistics.py", line 323, in compute_descriptive_statistics_response                                                                                │
│     con.sql(                                                                                │
│ duckdb.HTTPException: HTTP Error: HTTP GET error on 'https://huggingface.co/datasets/mozilla-foundation/common_voice_9_0/resolve/refs%2Fconvert%2Fparquet/pt/invalidated/0000.parquet' (HTTP 401)

Maybe it is related to gated datasets, same as https://github.com/huggingface/datasets-server/issues/1686


Debugging errors

Hi there,
So I have followed the tutorial exactly as it says but I have got some errors while debugging. The first error says:
Unhandled exception at 0x00007FF9D4EEA388 in Helloworld.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000009C90EFEF48.
The second says:
Unhandled exception at 0x00007FF9D4EEA388 in Helloworld.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000009C90EFEC10.
Third:
Exception thrown: read access violation.
std::shared_ptr<Microsoft::CognitiveServices::Speech::SpeechRecognitionResult>::operator-><Microsoft::CognitiveServices::Speech::SpeechRecognitionResult,0>(...) returned nullptr.
I am new to Visual Studios and really have little idea on how to fix this. If I could please get some guidance on how to fix this that would be fantastic. Otherwise this is a great tutorial, well done.
Regards,
Aidan

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

ID: d411b797-9127-fd45-17e9-6fd720bd38e2
Version Independent ID: 823ed1f7-bda4-4a8e-6a69-1cbe6b3edd41
Content: Quickstart: Recognize speech, C++ (Windows) - Speech Services - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/quickstart-cpp-windows.md
Service: cognitive-services
GitHub Login: @wolfma61
Microsoft Alias: wolfma

@AidanP24 Thanks for the feedback! We are currently investigating and will update you shortly.

@AidanP24 I went through the document and it worked as expected for me. Can you please verify that you haven't missed any step(specially steps #2 and #3) and in your code you are replacing "YourSubscriptionKey" with the key generated in the speech service.
Also, when you Start Debugging, and an exception occurs, Visual Studio will point and highlight the source-line which is causing the exception. You might want to take a look at that once.

@AidanP24
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

@ChiragMishra-MSFT
I followed the same instruction and used the exact same code, but it still gives the following error
Unhandled exception at 0x00007FF907406278 in SAPI.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000003AA5F6F990. occurred
in the line - auto recognizer = SpeechRecognizer::FromConfig(config);
I am not able to figure out the issue. Please suggest if anybody has some fix.


Y-axis minimum gets set way too low for negative values

See:

The negative Y axis minimum always seems to get set to minimumValue * abs(minimumValue - 1), as you can see from these example minimumValue->yMinimum mappings I tried out:
-1 =>  -2  (-1*2)
-2 =>  -6  (-2*3)
-3 => -12  (-3*4)
-4 => -20  (-4*5)
-5 => -30  (-5*6)
-6 => -42  (-6*7)
-7 => -56  (-7*8)

This quickly leads to absurdly low Y-axis minimums and the graph becomes useless. This only seems to happen if there are also values at or above 0 in the graph.

I meant to file this in PromDash. Closing here.


[GH-36]

Summary
This PR updates text to specify the subscription is relative to the current channel.
Ticket Link
Fixes #36

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   29.48%   29.48%
=======================================
  Files           8        8
  Lines         234      234
=======================================
  Hits           69       69
  Misses        153      153
  Partials       12       12

Impacted Files
Coverage Δ

server/service/save_subscription.go
31.57% <ø> (ø)

Continue to review full report at Codecov.

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


Exercise 16: Data Types and Sizes in C ("data_types") ("Chapter 2.2")

Looking for help creating exercise:
Topic: Data Types and Sizes in C
Exercise Directory Name: data_types
Note: For Directory Name, refer to the exercises directory to find the correct number to use. It should be close to the number in the issue title but may be slightly off.
Refer to "The C Programming Language" book, Chapter 2.2 for more information.
Contribution instructions: https://github.com/danwritecode/clings?tab=readme-ov-file#contributions

Can I take this one?

go for it! just assigned you.


extend ngWYSIWYG

how can i extend the directive so that the editor can show different buttons for different html views?

It is easy, it is just a matter of creating a literal object to be passed as the config parameter of wysiwygEdit directive. This is explained here.
As an example, to choose what buttons to show in page 1, you create an object:
angular.module('whatever').controller('page1Controller', ['$scope', function($scope) {
    $scope.configPage1 = {
        toolbar: [
            { name: 'basicStyling', items: ['bold', 'italic'] }
        ]
    };
});

And then pass it to the directive at page1.html:
    <wysiwyg-edit content="your_variable" config="configPage1"></wysiwyg-edit>

To use other buttons in other page, you just replicate it, choosing whatever buttons you want:
angular.module('whatever').controller('page2Controller', ['$scope', function($scope) {
    $scope.configPage2 = {
        toolbar: [
            { name: 'basicStyling', items: ['orderedList', 'unorderedList'] }
        ]
    };
});

And then pass it to the directive at page2.html:
    <wysiwyg-edit content="your_variable" config="configPage2"></wysiwyg-edit>


Onboarding: migrate V1 REP to V2

Need modal design
https://www.figma.com/file/aAzKHh4cA6OT2t7WFv2BQ7fB/Reporting-and-Disputing?node-id=2342%3A542

You'll find that here @bthaile (visual design updated):
https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=9706%3A6055


Internal updates

Description
Experimental changes.

Testing
None.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[x] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes
None.

LGTM! Some minor suggestions. Thank you!

Thanks for the review! Addressed the comments in a new commit.

Looks good, just a few nits/questions.

Thanks for the review Jon! Added responses to the comments. PTAL and let me know.

There's a rare code path that leaves a hanging jobject reference.

Thanks for the review David! Addressed the comments in the latest commit.

Approved with some last nit comments!

Thanks again!


Stop running WordCount on Travis CI

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

The signal from Travis CI is so degraded we should delete it rather than keep it as-is. This is one attempt to salvage it.
My overall thought is that we should simplify its responsibilities until it is not flaky. And that basically implies that it will simply do less, which means it can be used to try to give very rapid feedback, while Jenkins does the more intense stuff.
So this PR just proposes removing the flaky and slow integration test. Technically, we lose the matrix of JDKs. In practice, we already ignore them and combine the matrix with "OR" instead of "AND".
R: @dhalperi
CC: @jasonkuster

R: -@dhalperi @davorbonaci
I missed any discussion on this

I was mistaken about this being costly, but I am seeing a number of weird failures that look like flakes. I think perhaps our classpath setup is nondeterministic?

I'd love to remove this script and have appropriate coverage in Jenkins.
I don't believe, however, this is the cause of the flakiness. This is something that runs locally only, without outside calls. So, my feeling is that this change removes coverage without giving much (any?) benefit.
Perhaps we should try to solve the problem differently by enhancing the precommit coverage in Jenkins, and simplify Travis just to be a quick and simple signal, primarily as a backup from Jenkins.

I agree completely with your comment. That is my goal as well.
The wordcount execution is definitely the cause of many spurious failures, with the error that the WordCount class cannot be found. I had hastily assumed this had something to do with staging files in a flaky manner, but if it is a local-only script, then the problem is just a bug in the script.
Perhaps it is interacting incorrectly with the mvn built artifacts. I'll close this PR and if I have a moment will take a look at why the script fails so often.

The wordcount execution is definitely the cause of many spurious failures, with the error that the WordCount class cannot be found.

I would be interested to see logs where the Maven verify/install of the SDK succeeded but wordcount flaked. My understanding is the wordcount flaking usually means the actual SDK install failed.

Next time I see it, I'll file a JIRA.


Fix typo in openvswitch-switch.README.Debian

Fixed a typo describing the linux kernel module vs the 3rd party module.

Hi, @dqadri .
Thanks for your contribution.
I am closing this PR as patch submissions via the email workflow, as described in Submitting Patches, are the preferred mechanism for contributions to Open vSwitch.
Note: I believe the intended word was 'This' and not 'The', it may not even be a typo but the old English version of a word, though unlikely.  Also, this whole documentation section will need to be removed soon since OOT module is deprecated long ago, so I'm not sure if it is worth fixing.


[Issue-2955] Extension - Do not show transaction history in case sender account null

Related issue(s)

#2955

Is your feature request related to a problem(s)? Please describe.

Fix error when parsing history

Describe the solution you'd like

Fix error when parsing history

Describe alternatives you've considered

No

Additional context

No

🚀 Deployed on https://pr-2956--sw-web-runner.netlify.app


support for information schema list tables

tools such cloudbeaver likely expect the jdbc driver to return list of tables in information schema.
Sounds like this jdbc implem does not honnour this yet ?

apparently the info is within the "main" stuff


feature request: message for all users in web ui

It would be nice to set some kind of MOTD or other message for all users. I would like to be able to notify users of upcoming or current maintenance or other similar issues. Something that an admin can set/remove in the admin view.

Makes sense.

I support this FR it to. It would help new users to better get familiar with it and to show who is the admin to get help from (esp sicne the Help link just points to the general documentation).
Question: would it be desirable to have this message on the login site (pro: would even work if login does not work for whatever reason) or on dashboard site (user can always at look w/o logging out)?

I support this FR it to. It would help new users to better get familiar with it and to show who is the admin to get help from (esp sicne the Help link just points to the general documentation).

Question: would it be desirable to have this message on the login site (pro: would even work if login does not work for whatever reason) or on dashboard site (user can always at look w/o logging out)?

I see two things here:

The "Help" section could be shown somehow to users that are not even logged in.
It might be desirable to have a "local" help section. Maybe listing the admins that can be contacted for any help and such (configurable).

For my second point I wouldn't like something like allowing administrators to setup a welcome message or something on the web UI, since this can be a can of worms in the UI front. Maybe we can allow administrators to configure an email that will be sent to users once they login ?

The "Help" section could be shown somehow to users that are not even logged in.
It might be desirable to have a "local" help section. Maybe listing the admins that can be contacted for any help and such (configurable).

What about this: The help section is something the admin has to edit (a single markdown rendered page). This page is preloaded with a short explaination and a link to the official portus documentation.
Thus a new admin would get help and users would get the help an experienced admin would like to give them.

Maybe we can allow administrators to configure an email that will be sent to users once they login ?

For me is kind of chicken and egg problem (LDAP based setup). If the user doesn't know to use his LDAP credentials he would be unable to login and wouldn't get help....


Raise user config validation exception when features_to_vary list is empty

This came up in testing that if the features_to_vary is empty list then the counterfactual computation fails eventually. Raising this as an exception condition.
Signed-off-by: Gaurav Gupta<EMAIL_ADDRESS>

Codecov Report

Merging #296 (84e8763) into master (5e70ef4) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
+ Coverage   71.29%   71.46%   +0.16%
==========================================
  Files          26       26
  Lines        3459     3462       +3
==========================================
+ Hits         2466     2474       +8
+ Misses        993      988       -5

Flag
Coverage Δ

unittests
71.46% <100.00%> (+0.16%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

dice_ml/explainer_interfaces/explainer_base.py
89.64% <100.00%> (+0.90%)
:arrow_up:

dice_ml/explainer_interfaces/dice_random.py
93.28% <0.00%> (+1.49%)
:arrow_up:

Continue to review full report at Codecov.

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


404 NotFound

I've tried to GET from res.users using postman, and here's my request :
GET /api/res.users
Request Body
{
    "params": {
        "session_id": "19c6f61a6680310ad9aef098a1fdbc45c5d6f388"
    }
}

(I tried using only the Cookie header but it didn't work so I sent the session_id as a parameter as mentioned in the documentation)
Response
{
    "jsonrpc": "2.0",
    "id": null,
    "error": {
        "message": "404: Not Found",
        "code": 404,
        "data": {
            "debug": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 642, in _handle_exception\n    return super(JsonRequest, self)._handle_exception(exception)\n  File \"/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py\", line 177, in _dispatch\n    rule, arguments = cls._find_handler(return_rule=True)\n  File \"/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py\", line 79, in _find_handler\n    return cls.routing_map().bind_to_environ(request.httprequest.environ).match(return_rule=return_rule)\n  File \"/usr/lib/python2.7/dist-packages/werkzeug/routing.py\", line 1430, in match\n    raise NotFound()\nNotFound: 404: Not Found\n",
            "exception_type": "internal_error",
            "message": "404: Not Found",
            "name": "werkzeug.exceptions.NotFound",
            "arguments": []
        },
        "http_status": 404
    }
}

Hello

Body - None (because first call /web/session/authenticate then after session_id included on all requests header)
Header - No content-type
Method - Get
Params - key => query, value=>{id,name}

First Request - Web/session/authenticate

Second Request - GET /api/res.users

If you want to use /auth/ route for authentication this examples might help
import json
import requests

AUTH_URL = 'http://localhost:8069/auth/'

headers = {'Content-type': 'application/json'}

# Remember to configure default db on odoo configuration file(dbfilter = ^db_name$)
# Authentication credentials
data = {
    'params': {
         'login'<EMAIL_ADDRESS>         'password': 'yor_password',
         'db': 'your_db_name'
    }
}

# Authenticate user
res = requests.post(
    AUTH_URL,
    data=json.dumps(data),
    headers=headers
)

# Get session_id from the response
# We are going to use this as our API key
session_id = json.loads(res.text)['result']['session_id']

# Example 1
# Get users
USERS_URL = 'http://localhost:8069/api/res.users/'

# Pass session_id for auth
# This will take time since it retrives all res.users fields
# You can use query param to fetch specific fields
params = {'session_id': session_id}

res = requests.get(
    USERS_URL,
    params=params
)

# This will be a very long response since it has many data
print(res.text)

# Example 2
# Get products(assuming you have products in you db)
# Here am using query param to fetch only product id and name(This will be faster)
USERS_URL = 'http://localhost:8069/api/product.product/'

# Pass session_id for auth
params = {'session_id': session_id, 'query': '{id, name}'}

res = requests.get(
    USERS_URL,
    params=params
)

# This will be small since we've retrieved only id and name
print(res.text)

@yezyilomo this example not working with odoo version 10
I get this error:

Traceback (most recent call last):
File "auth.py", line 28, in
session_id = json.loads(res.text)['result']['session_id']
KeyError: 'result'


[redis_proxy] potential out of memory/ with untrusted buffer when onData()

Since documentation of redis_proxy shows it is only accepts trusted data now, I think this is not a security issue, so I post it here.
In the decoder of redis_proxy filter, it reads an integer from the buffer and constructs a vector with size equal to it(pending_integer_.integer_).
https://github.com/envoyproxy/envoy/blob/master/source/extensions/filters/network/common/redis/codec_impl.cc#L442
Untrusted buffer containing a very large integer here(as the size of the vector) may lead to out of memory or uncaught length_error exception.
We may consider adding a constraint on the vector length(for example, not more than buffer.size()?) to avoid this bug.
The issue and test case can be found here:
https://oss-fuzz.com/testcase-detail/5663259240431616

cc @envoyproxy/redis-dev


FR: Display backlinks of a location note

Really loving the plugin so far! Here's one use case I'd think would be very useful for me: Alongside a location note (one with a location in the YAML frontmatter, ie a note that represents a certain location), I would like to visually see what other notes talk about this.
For instance, if I have a daily note [[27-06-2021]] which says I want to [[Fantastic burger restaurant]], one could display this by a small graph of all backlinks (incoming links) of [[Fantastic burger restaurant]]. Whether to draw this small graph could possibly be limited by zoom level, or in the context menu of the location note.

Nice mesh of the map and graph views. But do you think it makes sense to actually display it on the map (given that those related notes don't have locations of their own, so they'll need to be displayed "around" the relevant location)? Perhaps it would make more sense to display a mini-graph when hovering on a map marker, or show the actual graph view in a linked pane?

Perhaps it would make more sense to display a mini-graph when hovering on a map marker
I was thinking of something like this! Showing the graph view or the backlinks pane in a linked pane is also a cool idea, that would work well for me.

Another related idea to this would be the ability to "see the map of a note". So the ability to see all the locations highlighted on the map that are mentioned in a note!

Now that I completed the Presets functionality, more useful filters such as "all the locations within a specific note" are definitely in my shortlist.


Error while getting FastRTPS and FastCDR

https://github.com/JdeRobot/RoboticsAcademy/issues/554#issue-643594608
http://jderobot.github.io/RoboticsAcademy/installation/#px4 - using the instructions here
I successfully did this
wget https://www.eprosima.com/index.php/component/ars/repository/eprosima-fast-rtps/eprosima-fast-rtps-1-7-1/eprosima_fastrtps-1-7-1-linux-tar-gz -O eprosima_fastrtps-1-7-1-linux.tar.gz

But next step: tar -xzf eprosima_fastrtps-1-7-1-linux.tar.gz eProsima_FastRTPS-1.7.1-Linux/
gives error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Hi @joeljosephjin
The URL changed. Try this:
wget https://www.eprosima.com/index.php/component/ars/repository/eprosima-fast-dds/eprosima-fast-rtps-1-7-1/eprosima_fastrtps-1-7-1-linux-tar-gz -O eprosima_fastrtps-1-7-1-linux.tar.gz

Best regards.

Thanks @LuisGP, it worked. :)


Sporadic “504 Gateway Timeout” errors behind Apache reverse proxy

Home Assistant release (hass --version):
since 0.38.0
Python release (python3 --version):
included in Docker
Component/platform:
Web Interface
Description of problem:
I running HA behind an Apache 2.4 reverse proxy.
Since the 0.38 release I often see sporadic 504 Gateway Timeout HTTP errors when opening the HA web interface.
Trying to reload the page several times usually makes it load correctly.
There's a discussion in the community forum with configuration examples, error messages and other users stating they see the same issue.
See this for further details: https://community.home-assistant.io/t/sporadic-504-gateway-timeout-errors-behind-apache-reverse-proxy/
Expected:
The Web UI loading every time without errors.
Sebastian

This happens only when the site is behind a proxy
When I try to access locative api from a webserver
I get
The gateway server did not receive a timely response ```
in the app and
```INFO:homeassistant.components.http:Serving` /api/locative to <IP_ADDRESS> (auth: True)
INFO:homeassistant.components.http:Serving /api/locative to <IP_ADDRESS> (auth: True)
INFO:homeassistant.components.device_tracker.netgear:Scanning```
in the logs
Same thing from the actual Locative or GPSLogger app, success some times, fails most of the time.
See the screenshot
![screenshot_20170319-105744](https://cloud.githubusercontent.com/assets/35991/24077279/e3a29254-0c93-11e7-8f5f-4133b5f3814c.png)

Closing this issue as it's not an issue with Home Assistant.

@balloob How can you be sure it is nothing to do with ha? After all it was not happening before ha 0.38.0 right?

I agree. I've also never seen this error on any of the other hosts I've set up a reverse proxy for.
Normally, you'd get a gateway timeout error when the target host is not answering for $ProxyTimeout) seconds.
This is obviously not the case here.
Even if this is a thing that can be solved with a "correct" reverse proxy configuration, it should be accepted as an HA issue and a working example for a reverse proxy should be provided in the docs.
Sebastian

it should be accepted as an HA issue and a working example for a reverse proxy should be provided in the docs

Have it be documented in the ecosystem section of the docs is fine. However, note that we do not officially support this hence it is not a HA issue.

I'm happy to provide the documentation once we figured out what's causing the error and how to fix it.
I understand your point - it's true, it's not an immediate HA issue, since the web interface probably works flawlessly in a non-proxy environment.
But still something (supposedly in HA) broke proxy setups after 0.38.
It's probably no use to open an issue with the Apache and Nginx guys to investigate something that only happens with one specific web application and with different proxy vendors.
It's not the most critical issue, but I think ist should be investigated from the HA end.
Accessing HA through a reverse proxy is quite common, I suppose, so more people will have this problem.
Sebastian

0.38+ depends only on web sockets, before that streaming was already broken. Your proxy is misconfigured, the examples in the docs work just fine.

I also got 504 error last week until I switch back to the internal web server.
I used the example configuration from here:
https://home-assistant.io/cookbook/apache_configuration/
HA is running on ubuntu server 16.04, so I guess there is something wrong with the docs.

If you're referring to this documentation:
https://home-assistant.io/cookbook/apache_configuration/
I'm sorry - I don't see any game-changing differences to my configuration as shown in the thread I linked in my original post.
If you do, please don't leave me in the dark.
I have included both ProxyPass/ProxyPassReverse directives for websockets and the wstunnel proxy module is loaded as well:
# apachectl -t -D DUMP_MODULES | grep wstunnel
 proxy_wstunnel_module (shared)

My config is missing the ProxyRequests Off directive, but Off is the default value anyway, so this can't be it.
So what more is there?
Just now I tried opening the WebUI.

Feel free to continue the discussion in the community forum thread from the first post.
Sebastian

I have seen this issue as well; currently running HA 0.41.0
I have seen them on camera-url's on gpslogger requests, even on static content, etc.
I traced the network traffic between Apache and HA to find out who is sending the 504 and why.
I ran tcpdump on my Ubuntu server to catch the network traffic from Apache to HA (running on the same server, over the lo-adapter):

sudo tcpdump -i lo -w /tmp/tcpdump.pcap

What I see in Wireshark is the following:

Apache sends all requests to HA, event the ones we see the 504 error for in Apache log files
Apache is using a connection pool for the proxy; requests will go from apache->HA using tcp ports (for example 42635->8123)
Since Apache uses connection pooling, this port will get reused later on
in my case I have seen a port used (secs are offset to trace start):

Request 1:
0.06 sec: GET /api/camera_proxy/camera.schuur?token=966...40b&time=1490557176003
0.32 sec: 200 OK
Request 2:
30.0 sec: GET /api/camera_proxy/camera.voordeur?token=47c...5d7&time=1490557206005
30.26 sec: 200 OK
105.073 sec: 504 Gateway timeout (NOTE: no request for this response! see below for the content of this 504 sent by HA!)
Request 3:
110.05 sec: GET /api/camera_proxy/camera.schuur?token=cb2...cf0&time=1490557286013
110.05 sec: tcp port is reset by HA (8123 → 42635 [RST] Seq=64315 Win=0 Len=0)

SO: it looks like the 504-errors are related to Apache connection pooling

this is something you would never see without a proxy in front
Big question is

why is HA/aiohttp sending 504's
and why is it being sent without a request?

If I turn TCP port reuse off in apache proxy settings; i no longer get 504 errors (at least for now):

ProxyPass /api/websocket ws://localhost:8123/api/websocket disablereuse=On
ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket
ProxyPass / http://localhost:8123/ disablereuse=On
ProxyPassReverse / http://localhost:8123/

This is a workaround to prevent the errors from occuring
It seems to work, for now...  But what will be the fix for this?
504 returned by HA/aiohttp without a request....

HTTP/1.1 504 Gateway Timeout\r\n
Content-Type: text/html; charset=utf-8\r\n
Content-Length: 182\r\n
Connection: close\r\n
Date: Sun, 26 Mar 2017 19:41:21 GMT\r\n
Server: Python/3.4 aiohttp/1.3.5\r\n


corrupted downloaded files in windows

Hi,
The lib is stating that the written was successful, however, the downloaded image file is corrupted.
Here are the original and the corrupted one.
It only happens in Windows (I only have windows 10 to test).
In Mac catalina the image is ok.
What can it be?

Hey @jodinathan,
Can you give us more information how to reproduce the issue? What are the exact steps that we need to execute?

Our app takes a picture and saves it at this path: Documents\fotos\6fda137520191106100346.png.
Then I execute the exe and send the below command to download it:
C:\path\node\node_modules\ios-device-lib\bin\win32\ia32>ios-device-lib.exe
{"deviceClass":"iPad","deviceColor":"1","deviceId":"xxx","deviceName":"iPad","event":"deviceFound","isUSBConnected":1,"isWiFiConnected":0,"productType":"iPad7,11","productVersion":"13.1","status":"Connected"}{ "methods": [ { "id": "8", "name": "download", "args": [ { "appId": "br.com.app", "deviceId": "xxx", "source": "Documents\fotos\6fda137520191106100346.png", "destination": "C:\path\img.png" } ] } ] }
h{"deviceId":"xxx","id":"8","response":"File written successfully!"}^C
The "C:\path\img.png" is corrupted while when the lib is executed within a macos using the same command, it downloads the image correctly.


source_code_uri metadata

This PR both updates the homepage and specify the correct metadata for source_code_uri.
Currently, it is very difficult for automated tools to figure out where to get the full source of the gem. In particular, libraries.io's has the wrong repository link for this gem, because there is no source_code_uri set on rubygems.org and because the fallback (homepage) isn't a format it recognizes.
Thanks

Since this gem is quite stable, it would be nice to update the metadata manually on the rubygems.org webpage too


Hot instrumentation

Would be great to have an ability to instrument classes on the fly, not just when they are loaded

Requires complete redesign and actually this would render a whole new program.
Won't fix.

Review one more time - actually make sense

Fixed.
93a816014a770c022a722079e5dc4aeced534634
811b901668d5890bc754828c12d66ed3af41bbbb
b7a33404857ff6504e3d2fc91dfe525f87199bec
150bc20648094a0eed647638e97551efc6a6021e
35811e1c9d7c84613a635e535e41e028bcc46087
bb5b4a996ba0c790f609fadcbfea9e8812d3fb2e
544cf8cb34778b0576e751e89a9063de9930bbb9
39769ee67585bf4418dd9c8a1a8c7782417ac377
8ad19c4cf58377e83a0ef657cc3db398fd710b3a
abd07fa5ffc1c16659f568e12f8e5e7987ef1781
c360fafa0b91d541d8aeae0add532611f1c97edf
c7b65aab7ce17e11ff584ff28a5b90a7f3a9409b
4993152d715c1e828e45836dce34160e58de65f3


Document Workflow install/upgrade scenarios with a different set of components

Would be handy to have docs how to install and upgrade Workflow with a different set of components e.g.:

For production builder is not needed, as deis pull is used
in some cases monitoring components might not be needed
and etc.

closing this as an upstream feature request via https://github.com/kubernetes/helm/issues/1568.


Setup each of the repos on CI tool, Jenkins?

Setup each of the repos on CI tool, Jenkins? - I think we are already using something. So Conor, please can you do the following:

[ ] Give KG access to Jenkins Travis CI - CH
[ ] Explain current setup - CH
[ ] Kevin setup new instances for new repos - KG
[ ] Debug / refactor / fix till all builds working - KG

Been using Travis-CI.org at the moment. It's free of charge for public repositories.

Nice one, I will take a look...


Integrate DCM Estimator

This PR allows BWC to compensate for the DCM bias estimated by the LipmDcmEstimator
In the video below, the JVRC1 controller model (URDF) is not modified, but only the simulation model (VRML) is mass offset in the lateral direction. Only when the DCM estimator is enabled and the bias is removed, the robot is stable in stepping.
https://github.com/isri-aist/BaselineWalkingController/assets/6636600/032ddff6-8f94-4293-8983-5f32cccc7d40

That is great! I hope it helps,
I have two remarks:

Less important
In the simulation video, we can see that the bias in y-axis saturates, I think you have added too much mass or not enough bias limit for the estimator to properly estimate the bias and it would be even more stable. I am wondering if we should not run an unconstrained estimator in parallel just to see how much it is bigger than the limit (I don't recommend to use an unconstrained one and clamp the output, because it would be slow at coming back to zero if the bias was caused by a disturbance).

Very important
It seems you did not integrate the correction of CoM position implemented here in the lipm stabilizer
https://github.com/jrl-umi3218/mc_rtc/blob/418f74fac4e8e14331db105727ce666a18cba603/src/mc_tasks/lipm_stabilizer/StabilizerTask.cpp#L873-L883

In the case the bias on the DCM comes from a bias in the CoM (which is most often the case) you will have a static error in the tracking of the ZMP and CoM positions. Is there a reason you did not report this part?


about encoding

Hi, I am using gift on my server.
It is a nice package and everything good.
But there is one problem.
I put commit messages with Korean.
Commit messages are malformed.
I can't read it!
I found gift uses child_process.exec with binary encoding.
I tested with utf-8 encoding, and it works fine for just commit messages.
I think there is a reason for binary encoding, So I don't know how to fix this issue.
Any suggestion?

https://github.com/notatestuser/gift/issues/51


ios 13.1 xcode 11.1

hello , i try it at ios 13.1 test, connect error , please help me done it.thank you.

@gityjh519 the app is updated, make sure to use the latest Xcode version (11.4).

thank you


Run the integration tests on CI

If possible, E2E as well (although they would take a long time due to the need to compile Polkadot)

although they would take a long time due to the need to compile Polkadot

Let's make it a separate step and cache the results


Typescript v4.7 TS7016 error

Describe the bug
Typescript 4.7 and above reports the error:
error TS7016: Could not find a declaration file for module '@braks/revue-draggable'. '/Users/.../node_modules/.pnpm/@braks+revue-draggable@0.4.3_vue<EMAIL_ADDRESS>implicitly has an 'any' type.
  There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@braks/revue-draggable' library may need to update its package.json or typings.

To Reproduce

Create a new vue app using pnpm create vue@latest
Add this library using pnp i @braks/revue-draggable
Import Draggable into a component import { Draggable, DraggableEvent } from '@braks/revue-draggable'
Attempt to build the application pnpm build

Expected behavior
Build should succeed by finding and including the types and source for the library from node_modules
At least a partial solution is shown here where a "types" attribute is added to the library's package.json, but there is still an issue with the 'default' import (see below).
Desktop (please complete the following information):

OS: MacOS Sonoma

Additional context
Note that even after adding the "types" attribute, attempting to import Draggable as default  import Draggable, { DraggableEvent } from '@braks/revue-draggable' prompts a different error:
RollupError: "default" is not exported by "node_modules/.pnpm/@braks+revue-draggable@0.4.3_vue<EMAIL_ADDRESS>

Thanks for the report.
I followed the steps to reproduce this issue on my machine but it worked fine for me. Can you give me a quick rundown of your package.json file or possibly a repro sandbox / repo that I could check out for direct comparison? :)

Also what's your tsconfig file look like?
It seems like the default for create vue is setting "moduleResolution": "Bundler" which, afaik, doesn't work with TypeScript <5.
So you might have to modify your tsconfig file and set "moduleResolution": "Node" instead.

Ok, the version of Typescript installed by the process described is 5.3.  Sorry, I should have stated v5 in the title but from investigations it seemed like this is something that changed in Typescript 4.7 referred to here
I still see the problem following the procedure in my first post.
You can see a repo with the exact code used here
src/views/HomeView.vue:3:27 - error TS7016: Could not find a declaration file for module '@braks/revue-draggable'. '/Users/richarne/Documents/code/tsTest/node_modules/.pnpm/@braks+revue-draggable@0.4.3_vue<EMAIL_ADDRESS>implicitly has an 'any' type.
  There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@braks/revue-draggable' library may need to update its package.json or typings.

3 import { Draggable } from '@braks/revue-draggable'

Maybe your choices differed during setup?
✔ Project name: … tsTest
✔ Package name: … tstest
✔ Add TypeScript? … Yes
✔ Add JSX Support? … No
✔ Add Vue Router for Single Page Application development? … Yes
✔ Add Pinia for state management? … No
✔ Add Vitest for Unit Testing? … No
✔ Add an End-to-End Testing Solution? › No
✔ Add ESLint for code quality? … Yes
✔ Add Prettier for code formatting? … Yes

I'm also using "type": "module" in package.json, so need to use NodeNext rather than Node as the moduleResolution. Using "moduleResolution": "Node" does seem to make this error go away, but then causes lots of TS2834 errors resolving files with absolute paths, for example import { NamedExport } from 'src/components/shared/things/NamedThing' - very similar to this issue here

Thanks, I'll investigate :)

Should be resolved with 0.5.0

@nesnass Let me know if that worked for you 😄

It does work :) The error is gone without any changes to package.json.  Thank you very much for the quick turn around.

No problem :)


Move Bridge.Html5.Console class into a new Bridge.Console class, project

Steps To Reproduce
public class App
{
    [Ready]
    public static void Main()
    {
        System.Console.WriteLine("Native C# Console Class");
        Bridge.Console.WriteLine("User-Agent Console Class");
    }
}

Bridge.Console has been added to Frameworks repo:
https://github.com/bridgedotnet/Frameworks/tree/master/Console


Improve uploadOrUpdate returned data.

Fixes #9
What is the current behavior?
Currently, the uploadOrUpdate function (so automatically the upload and update functions as well), only returns a Key: value pair that represents the file path prefixed by the bucket id.
This path cannot be then passed to the download method as the download doesn't need the bucket id prefix.
What is the new behavior?
By simply adding 2 more Key: value pairs to the returned data object, we can provide more useful information in the returned object:
{
  Key: the old path, for backwards compatibility
  downloadPath: the path not prefixed by the bucket ID
  bucketId: the id of the bucket
}

By also providing the bucket ID in the returned data, we give users the full set on information required to be able to call download, as I assume that the data returned from upload will then immediately be stored in the database for later use.
By implementing these changes, we enable a workflow similar to this:
const { data, error } = await storageClient.from('bucket').upload('/folder/file.txt', fileBody)
// ...
const { data2, error2 } = await storageClient.from(data.bucketId).download(data.downloadPath)

Yep, i think simply calling it "path" is good. I will look into tests, sure.

@alaister sorry I've been inactive for such a long time on this one. I've been rather busy lately. I fixed the mentioned issues, but I don't think I will get around to making some proper tests until this summer (around July perhaps). I've my bachelor degree taking up all of my spare time till then. 😅

As a side note, something that I noticed is that running npm build fails on the build::umd task with the following output on my machine:
mike@workstation:~/workspace/supabase/storage-js$ npm run build

><EMAIL_ADDRESS>build
> genversion src/lib/version.ts --es6 && run-s clean format build:*

><EMAIL_ADDRESS>clean
> rimraf dist docs

><EMAIL_ADDRESS>format
> prettier --write "{src,test}/**/*.ts"

src/index.ts 153ms
src/lib/constants.ts 10ms
src/lib/fetch.ts 53ms
src/lib/helpers.ts 10ms
src/lib/index.ts 4ms
src/lib/StorageBucketApi.ts 44ms
src/lib/StorageFileApi.ts 92ms
src/lib/types.ts 14ms
src/lib/version.ts 6ms
src/StorageClient.ts 6ms
test/storageApi.test.ts 12ms
test/storageFileApi.test.ts 5ms

><EMAIL_ADDRESS>build:main
> tsc -p tsconfig.json

><EMAIL_ADDRESS>build:module
> tsc -p tsconfig.module.json

><EMAIL_ADDRESS>build:umd
> webpack

/home/mike/workspace/supabase/storage-js/node_modules/loader-runner/lib/LoaderRunner.js:146
                if(isError) throw e;
                            ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:135:10)
    at BulkUpdateDecorator.hashFactory (/home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/util/createHash.js:144:18)
    at BulkUpdateDecorator.update (/home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/util/createHash.js:46:50)
    at RawSource.updateHash (/home/mike/workspace/supabase/storage-js/node_modules/webpack-sources/lib/RawSource.js:64:8)
    at NormalModule._initBuildHash (/home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/NormalModule.js:839:17)
    at handleParseResult (/home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/NormalModule.js:904:10)
    at /home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/NormalModule.js:995:4
    at processResult (/home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/NormalModule.js:718:11)
    at /home/mike/workspace/supabase/storage-js/node_modules/webpack/lib/NormalModule.js:778:5 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.8.0
ERROR: "build:umd" exited with 1.
mike@workstation:~/workspace/supabase/storage-js$

I get this both on this branch and the main branch.

Thanks for the fixes @mirceanton. No worries at all, we've been busy too!
We're aiming to get all these PRs released by the end of this month, so I'll merge this in soon.
If you do find some time in the summer to write some tests, contributions are always welcome! (not a problem if not, though 🙂)
Thanks for the report on the umd build too, I'll check it out.

Hey @mirceanton,
Just circling back around to this now.
I've updated this to go into the next branch, would you mind fixing the merge conflicts and updating the return types to match how we're doing returns now?
Let me know if you run into anything or don't have the bandwidth to make these changes at the moment.
Thanks!

Hey @alaister ! I will look into fixing things up by the end of this week, no worries!

Hmm, I updated my branch and then did a rebase on the next branch and it seems there are a few commits now that are outside the scope of this PR. Should I drop them? @alaister

:tada: This PR is included in version 1.8.0-next.1 :tada:
The release is available on:

GitHub release
npm package (@next dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-rc.1 :tada:
The release is available on:

GitHub release
npm package (@rc dist-tag)

Your semantic-release bot :package::rocket:


Patient profile being deleted

While deleting booked appointment from patient's profile - whole patient's profile is being deleted.
Edit: For Admin and Doctor users - delete_app(app_id) function works properly.

Corrected by removing cascade element with patient/profile in Appointment model

Also, added the end point for deleting appointment by patient - it does not delete whole row for appointment, but instead it removes patient_id from appointment and sets the availability to True -> Therefore the "deleted" appointment goes back to being able to be booked.


[CARBONDATA-2221] Throw exception when dropTable failed in metastore

When dropping table, exception should be not ignored if dropTable failed in metastore. This PR throws the exception to the user.

[X] Any interfaces changed?
No
[X] Any backward compatibility impacted?
No
[X] Document update required?
No
[X] Testing done
Re-run all test
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4027/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3747/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2782/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3029/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4273/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3120/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4354/

LGTM


Top To Bottom Joined?

Is it possible to have topToBottomJoined and bottomToTopJoined the same way it works for left/right joined?

Yeah this can be done. Will  be next build.

Awesome! thanks @kalismeras61

This is has been done. Please use page_transition: ^2.0.5

awesome thanks!!


Slick not working

Describe the bug
Slick not showing images...
To Reproduce
I tried and face a issue: https://i.gyazo.com/6559ab687bc8011f91ff15743b968360.mp4
Current I stopped debug that issue.
So I'm using the slick with jquery to push live my project.
I am expecting your final vanilla js version to use, @ubergeoff.
It would be great if you make a web page to explain the difference between your version with Kenwheeler (if have)

I believe lazy loading images - has not been completed... Are you making use of the "lazy load images" option..?

Hi @ubergeoff ,
I added one line at 636: https://i.gyazo.com/037139a3fb306df39d57f187666474e3.png
And it resolve my issue.

OK @chinhphan099  - so I can close this one..?

Yes ! I think you should add that line to the source.
You can debug by add breakpoint at line 577 to check the value of _.$slides
And one breakpoint at line 636 (means after div.slick-list is created). The value of _.$slides is changed.

This is my quick demo: https://chinhphan099.github.io/slick-vanilla/index.html @ubergeoff

Please let me know if you are happy: https://github.com/ubergeoff/flingo/pull/3/files

It looks good to me @ubergeoff
Have nice weekend :)


General improvements

Improvements:

Added aws to the PATH
Changed README.md to have the updated way of adding the buildpack, and added git push heroku master to the bottom to advise that you need to add the config vars before pushing

@thomasmorelli , can't believe I just saw this. approved!


Not found while downloading

OS - Android/Chrome OS
Node - 11.10.1
process.platform - 'Android'
Similar to #1592, anytime I try installing Now in Termux on my Pixel Chromebook I get the following warning:

Closing because as of Now CLI >= v16.0.0, we no longer use pkg pre-compiled binaries, which was the root of this issue (we never had ARM binaries compiled for android platforms).
Please attempt to install Now CLI again (using the latest version) and it should work as expected, and open a new issue if there are still any problems that you experience.


How to ensure Boolean fields are treated as Boolean?

There is a dissonance between how the Dashboard imports CSV fields that have what one thinks is a Boolean value, and how this Lambda appears to do.
A custom attribute with a value True, true, TRUE or False, false, FALSE are all being imported as String by the Lambda.
There are no QUOTES used anywhere around these values.
The dashboard imports them as Boolean. An attached is row is an example of the data being sent in through a CSV.
external_id,bool_test_3
8a6180cd-8c5c-4d50-b70a-3bea42dd8bda,True
How does one ensure that a custom attribute that is meant to be Boolean is treated as boolean?

Hey @skolin,
All these values will from now on be treated as boolean. You can also adjust the existing attribute's data type in Manage Settings in the dashboard. You can read more information about the automatic data casting and the ability to override it here.
Make sure you update the app to v0.2.0 to take advantage of the new feature.

Thanks, we'll put it to test and I'll come back if there are any issues in the next few days.

I've validated this and it works, however I have a few questions. For very large sets of data, do you ensure that there is a full conformity that all values are True/False and/or Numeric in the whole column set before settling on the data type or is it based on a sample of values in the first row?
What would the resulting impact be on the import of say its True/False in the first row but a non-boolean string in the second row for the same column.

Each value is processed individually without assuming the type for the entire column. In case where there are different data types in the same column, they would be sent to Braze as appropriate data types.

Understood, I'm talking about the range of values within one Column. I
assume a Column's data type in each row is identical the representation of
the column in other rows.
That is the intent of my question. If not this will be new behavior I've
not seen in Braze.
On Fri, Jan 14, 2022 at 12:12 PM Maciej Olko @.***>
wrote:

Each value is processed individually without assuming the type for the
entire column. In case where there are different data types in the same
column, they would be sent to Braze as appropriate data types.
—
Reply to this email directly, view it on GitHub
https://github.com/braze-inc/growth-shares-lambda-user-csv-import/issues/5#issuecomment-1013306010,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMLNMDTXUDFEQRHYODQ2GDUWBKRRANCNFSM5LMZ2VKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

--
Sridhar Kolinjavadi
AWS Certified Solutions Architect - Professional
AWS Certified
https://drive.google.com/file/d/115lnyn9zdfMugifHno9CgYriHbING7-E/view?usp=sharing
Big
Data Architect
CSM

You should make sure that the data types in one column are of a single type. That way, segmentation will be consistent. Using multiple data types in one column might make options for segmentation more limited as the data type for some values will be assumed incorrectly.

Agreed and they always are , when in our control. I'm trying to anticipate
the behavior of the Lambda, especially the code you have touched with a
recent update when that is not the case.
If the data types are based on a sample of the column, then I'll at least
put some warning when I write some guidance for people who will follow me
here in using the lambda and the associated process I'm putting in place.
Thanks
Sridhar
On Tue, Jan 18, 2022 at 11:48 AM Maciej Olko @.***>
wrote:

You should make sure that the data types in one column are of a single
type. That way, segmentation will be consistent. Using multiple data types
in one column might make options for segmentation more limited as the data
type for some values will be assumed incorrectly.
—
Reply to this email directly, view it on GitHub
https://github.com/braze-inc/growth-shares-lambda-user-csv-import/issues/5#issuecomment-1015606264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMLNMGFVIPGR2GTWM4WVGDUWWKVZANCNFSM5LMZ2VKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

--
Sridhar Kolinjavadi
AWS Certified Solutions Architect - Professional
AWS Certified
https://drive.google.com/file/d/115lnyn9zdfMugifHno9CgYriHbING7-E/view?usp=sharing
Big
Data Architect
CSM


Android local release/debug works, play store version crashes

I've developed a react-native app and published it to the play store. After upgrading React Native to v0.60.5 and adding some features the updated version 1.1.0 stopped working.
While the local builds (debug/release) built in android studio are working, the uploaded app bundle available in play store is not.
The version downloaded in the play store stucks in the slash screen and isn't returning any feedback.
React Native version: 0.60.5
adb logcat *:E is throwing following lines:
09-30 17:40:33.025  1194  1253 E PackageManager: failed to find package com.brive_app
09-30 17:40:33.025  1194  1253 E OverlayManager: Failed to change enabled overlays for com.brive_app user 0

09-30 17:40:50.114 30740 30740 E com.brive_app: Not starting debugger since process cannot load the jdwp agent.

09-30 17:41:56.791 25572 25600 E s.nexuslaunche: Failed to open APK '/data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk' I/O error
09-30 17:41:56.791 25572 25600 E ResourcesManager: failed to add asset path /data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk
09-30 21:43:31.034  1194  1244 E ActivityManager: ANR in com.brive_app (com.brive_app/.MainActivity)
09-30 21:43:31.034  1194  1244 E ActivityManager: PID: 12998
09-30 21:43:31.034  1194  1244 E ActivityManager: Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)

What I did already

Clean the whole project
Restarted everything

Used packages
   "@react-native-community/async-storage": "^1.6.1",
    "@react-native-community/netinfo": "^4.2.2",
    "@types/react-native-svg-charts": "^5.0.2",
    "@types/react-redux": "^7.1.2",
    "@types/redux-api-middleware": "^3.0.1",
    "interpolate-range": "^2.1.0",
    "moment": "^2.24.0",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-background-fetch": "^2.7.0",
    "react-native-device-info": "^2.3.2",
    "react-native-iphone-x-helper": "^1.2.1",
    "react-native-keychain": "^3.1.3",
    "react-native-maps": "0.25.0",
    "react-native-modal": "^11.3.1",
    "react-native-navigation": "3.0.0-alpha.11",
    "react-native-svg": "^9.6.4",
    "react-native-svg-charts": "^5.3.0",
    "react-native-webview": "^6.9.0",
    "react-native-zendrive": "^1.0.2",
    "react-redux": "^7.1.0",
    "redux": "^4.0.4",
    "redux-api-middleware": "^3.0.1",
    "redux-persist": "^5.10.0",
    "redux-thunk": "^2.3.0",
    "string-format": "^2.0.0"

Did you find any fix for the above issue??

@usernameisrichin No unfortunately not – I guess it could be related to the app signing progress.
I discovered, that the hash value of the apk (downloaded in the play store) on my device
/data/app/com.brive_app-4MOTQRqvfusy3yg3AzEgRA
is not the same as the device is searching for:
ResourcesManager: failed to add asset path /data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk

@DanielJanke did you resolve it? is that problem occurs with some specific mobile phones? in my case it is onePlus3T. Please let me know if you find any solutions.

@vipin-developer No I couldn't resolve it, one workaround is to switch to APK instead of generating app bundles (AAB).

I am also facing the same issue.

@DanielJanke I have the same issue with RN 0.60.6 and the only workaround I found is indeed to switch to APK.
Let me know if you find something else please.
I did not try with RN 0.61, maybe it is the solution.

@Nico924 Good to know that I'm not the only person with this issue. Once I updated the React-Native version I will let you know!

I have tried with 0.61.1 and I still face the issue. @Nico924

@grabbou We have the same problem

Also on React Native 0.61.2, looks like it's working on Android 5 devices.

I'll share more details and crash logs tomorrow

Is that happening to all Android apps using react-native 0.60 or just the ones with Hermes enabled?

I have hermes enabled

Looks like the same issue!

Ok than close this one and move over! 💡

duplicate of: #26400

@RichardLindhout it is the same issue, where you commented to

@RichardLindhout it is the same issue, where you commented to


Causes projects to always rebuild

When lz4 is listed anywhere in the dependencies of a project, the project must always rebuild/relink; it is never clean. I would expect the second cargo build here to report Finished, without any Compiling.
% cargo build
   Compiling lz4 v1.21.0
   Compiling lz4rebuild v0.1.0 (file:///home/faux/code/testcases/lz4rebuild)
    Finished dev [unoptimized + debuginfo] target(s) in 0.43 secs
% cargo build
   Compiling lz4 v1.21.0
   Compiling lz4rebuild v0.1.0 (file:///home/faux/code/testcases/lz4rebuild)
    Finished dev [unoptimized + debuginfo] target(s) in 0.43 secs

This is especially annoying when repeatedly re-running tests in a project that takes a while to link.
I don't know what's causing the problem
The above project is just a cargo init --bin with the dependency added. Using an explicit version makes no difference:
% cat Cargo.toml
[package]
name = "lz4rebuild"
version = "0.1.0"
authors = ["Chris West (Faux<EMAIL_ADDRESS>
[dependencies]
lz4 = "*"

% cat src/main.rs
fn main() {
    println!("Hello, world!");
}

@FauxFaux I think it's the skeptic call in the build.rs script in the main crate. I have a branch that allows it to be disabled, will submit PR after testing a bit.


Fix emmision color space.

Emmision color is currently not converted to linear space, which is inaccurate behaviour.

Fixed.


Update source and test

Create source.py;
Update test for type generator;

Update test for type kafka

(Jove Github Bot) added it to the current sprint.

(Jove Github Bot) moved this ticket out of the GitHub project(up to 1200 tickets for one project).


Nojira add offcanvas stickynav flyout

Add sticky nav like mySail but with notification and greeting on mobile
Restore optional Fly-out menu bootstrapized. (the menu toggle is on the left of each tab because it won't interfere with delete tab link)
Add a new optional off-canvas menu for the main nav.
in navigation.xsl you just need to set true for these param

:+1:

Great to have this!  I hope to have a chance to look shortly.

+1 Overall looks great!  I'm looking forward to seeing this merged in.

Hi James, hi All
In fact my approach was at two level with OffCanvas :
First, make it optional, I don't want to disturb people who like the vertical dropdown navigation on mobile. So, that's why all the offcanvas css classes are separated  from the other css classes
Also the second level is to manage the future possibility to have perhaps on mobile rightOffcanvas, topOffcanvas, leftOffcanvas or downOffcanvas
(like the double or triple offcanvas of http://forecast.io on iphone, if you don't know this html5app, have a look, it's so great, no need to go in iTunesStore).
and I'll try to explain my code
if the offcanvas is activated, when someone clicks on the toggle menu two things happen first the visibility of the nav bar is activated and then in an other function, the offcanvas panel is open  simply by toggle of a css class.
this means that you can imagine to open the panel for an other purpose if you want it for options in a portlet, aside blocks in portlet, etc.
you just need to position these blocks in the offcanvas on mobile and switch the visibility and open the panel. not sure if I am clear, sorry for my english, I'm french...
James you can improve the code as you want.
I will improve maybe the code in a couple of weeks with swipe right and swipe left functions on mobile but I need to test this, if it won't enter in conflict with your pull resquest with drag 'n drop portlet you've made which is very cool.
I'm doing baby steps
I have a doubt and a question for Drew about region.header-top what's in it ? and for which purpose, because the sticky nav will be perhaps positionned on it on mobile...
Sorry for "#portalCASLogin" it was the end of friday night...

@cousquer  sounds great. Baby steps are good (and encouraged :smile: ).
RE the regions: see https://wiki.jasig.org/display/UPC/Respondr+Regions+Feature.  Currently there are no portlets in the quickstart data set that use header-top.  However it is available for use as a general region.  I know we are using it for a multi-tenant client where the top has a logo branding that applies to all college campuses, and header left and right are used for a college-specific branding area and search.

@drewwills
Hi Drew,
Did you have time to look at this PR ?

+1

+1

This is definitely a must have

Hi guys, why this hasn't been merged yet ? Any compatibility issues ? Cheers

Hi @cervomix
I do not know why.
For my part, everything works fine for my deployment and I don't think there is any compatibility issues. But I think they need to solve the most important problems first.

I'd say this implementation of the small-display menu is vastly preferable to the old version.  I'm not sure we need the old version at all... I think I'm inclined to cut it, in the interests of simplicity.

Could it be integrated in the upcomming release ?
:+1:

@jgribonvald -- That is my hope & intention.

thanks a lot Drew for that !


update the release instructions

What this PR does / why we need it:
this change updates the email address for the kubernetes developer
mailing list, and adds the project name to the sample subject to make it
easier for copy and pasting.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
n/a
Special notes for your reviewer:
just a docs change
Release notes:
Update release instructions with new mailing list address.

/lgtm


Upgrade repos to Swift 5.1

Now that 5.1 is released, all repos should upgrade to the release 5.1 image and dockerfiles.

Done, with a few exceptions (Kitura-Sample is currently failing to build due to appid,  BlueRSA has an unrelated intermittent test failure).  Both have open PRs:
https://github.com/IBM-Swift/BlueRSA/pull/53
https://github.com/IBM-Swift/Kitura-Sample/pull/130


README.md cargo build command misses a flag

Describe the bug
Building subtensor leads to a non-functioning binary (with fatal errors such as "runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1'") which is solved by adding --features=runtime-benchmarks as mentioned in the Discord. It would be nice if the README would reflect this requirement.
To Reproduce

Go to https://github.com/opentensor/subtensor
Follow the build instructions, especially cargo build --release
Run the subtensor
Observe it crashing with error "runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1'"

Expected behavior
I expect a working binary after performing the build instructions.
Screenshots
No response
Environment
Linux Ubuntu
Additional context
It seems to be solved by adding --features=runtime-benchmarks to the cargo build command.

This bug still relevant.


How do I draw a box of a specific size at a specific coordinate?

Question
How do I draw a box of a specific size at a specific coordinate?
Code example
No response

Thanks for the answer. I'm excited for this. When will the new version arrive?


Android CI update

Google service retrial
:ballot_box_with_check: Definition of Done checklist

[x] Meaningful title and valuable description in pull request
[ ] Code change tested manually if not covered by automated tests
[ ] Pull request linked to one or more issues/stories
[ ] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change

Feature needed already implemented in the previous pull request


Add Full TypeScript chapter

Description
Adds the Full TypeScript chapter to js-slang. This branch can only be merged once https://github.com/source-academy/js-slang/pull/1376 is merged and js-slang is bumped; opening as draft for now to facilitate testing of https://github.com/source-academy/js-slang/pull/1376.
Also refactored out utils regarding FullJS/HTML/FullTS disclaimers into one file.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test
Link local frontend to https://github.com/source-academy/js-slang/pull/1376, then switch to the Full TypeScript chapter and run TS code.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 17 (52.94%)  changed or added relevant lines in 4 files are covered.
45 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 34.815%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/utils/WarningDialogHelper.tsx
6
10
60.0%

src/pages/playground/Playground.tsx
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/pages/playground/Playground.tsx
45
2.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
4673

Relevant Lines:
12513

💛  - Coveralls

Adding ts-morph as a js-slang dependency caused some warnings to appear when building the frontend. This is a known issue when bundling TypeScript with webpack, and cannot be resolved on the js-slang side because the js-slang build does not include its dependencies and they are instead installed directly to the frontend node_modules folder. Fix is to add typescript.js to the webpack noParse config, and also increase the file size limit for caching.


Updated the CognitiveServiceExample solution to use the Face api.

The Emotion api is set for deprecation on Feb. 19 2019.
I have gotten a lot of use out of this sample in my demos during talks.  Figured I would make an update to keep it relevant.

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

Nice job @pulcher! Looks good to me.

Thanks!
From: Sara<EMAIL_ADDRESS>Sent: February 1, 2019 2:31 PM
To: Microsoft/Windows-iotcore-samples<EMAIL_ADDRESS>Cc: Harold Pulcher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/Windows-iotcore-samples] Updated the CognitiveServiceExample solution to use the Face api. (#305)
Nice job @pulcher https://github.com/pulcher ! Looks good to me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/Windows-iotcore-samples/pull/305#issuecomment-459858137 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABQGvT8ck01KrLIhvMfwtKljTK_ZD1wAks5vJKQdgaJpZM4ae_Wb .


解决No acceptable module found的问题。

在手机上编译好这个音乐项目后，打开会闪退，找了解决办法好久都没方法
我的手机是魅族手机，在魅族的应用市场中搜索“谷歌安装器魅族专用"后，将相关的服务安装好，同时手机翻墙，再打开这个app就不会闪退了，至于具体的代码原因，目前还没有看源码，等看完源码后来再继续补充。。。。。。

same problem!when application start running,it crash immediately! my phone is HUAWEI CAM-AL00.
android 6.0

Sorry, but I'm not able to quite understand your comment, even while using Google Translate. If you could comment in English, or provide a stack trace, I can take a look, but until then I'm going to close this.

your phone has to connect to Google Service to make sure the app  working regularly。And you should install Google AppStore to confirm to Google Service.


possibility to get flatlist current height

I think flatlist need some stuff to get height, etc. based on quantity of rendering rows or do this with ref maybe. For example, it's usefull if you don't wanna leave the free space in a block and change container element height (modal, etc.) according to flatlist. Maybe, I don't understand something.

Hi, i'm having a little bit of trouble trying to understand your issue. What are you trying to achieve? Can you provide some sort of code example to illustrate your issue a bit more?

This doesn't seem to be active. Please open a new issue (please follow the issue template) if this is an issue for you.


Placeholders for empty directories and symlinks

I use rclone v1.38-025-gedfab09eβ with crypt to backup a Linux system on pCloud. I noticed that some folders were not sync'ed. After investigation, it appears that these folders contain nothing else than empty sub-directories and symbolic links. Because #1152 has not been implemented yet, symlinks are not copied, which lead to empty folders. And because empty folders are deleted after sync (https://github.com/ncw/rclone/issues/100#issuecomment-321395459), my directory structure is completely messed up. These two issues render rclone useless as a backup system.
I am not sure I understand why ALL empty directories must be deleted after sync. IMO, only the directories not present on the local filesystem should be removed from the remote.
But since it seems that the solution for syncing symlinks would be placeholders, could not we have the same for empty directories? That would work on remotes that don't support them (pCloud DOES support empty folders).

I created an empty file in one of the empty directories, and then synced. Sure enough, the empty file was uploaded on the remote. I then removed the empty file locally, and synced again. The file disappeared from the remote, but the empty directory is still there!
So now I'm lost. It seems that empty directories are removed only after the initial sync. If I create a file, sync, remove the file, and sync again, the empty directory is not removed anymore.
Any reason for this incoherent behavior?

Rclone directory handling is improving, but still not 100% there yet!
Sync doesn't make empty directories is the problem.  It does manage them properly after that as you've seen.
I'll try to fix this and post a beta here.
Here is a little demo I did to work out what is happening
$ touch src/dir/empty
$ tree src
src
└── dir
    └── empty

1 directories, 1 files
$ rclone sync src dst
$ tree dst
dst
└── dir
    └── empty

1 directories, 1 files
$ rm src/dir/empty
$ rclone sync src dst
$ tree dst
dst
└── dir

1 directories, 0 files
$ rmdir src/dir
$ rclone sync src dst
$ tree dst
dst

0 directories, 0 files
$ mkdir src/dir
$ rclone sync src dst
$ tree dst
dst

0 directories, 0 files

Note the directory not being created in the last step

@ncw I think #2310 addresses this issue


No static method async(Landroid/support/v4/app/Fragment;Lkotlin/jvm/functions/Function1;)Ljava/util/concurrent/Future; in class Lorg/jetbrains/anko/AnkoPackage; or its super classes (declaration of 'org.jetbrains.anko.AnkoPackage'

I'm using asyncResult in one of my fragments and when I execute it the following exception occurs:

java.lang.NoSuchMethodError: No static method async(Landroid/support/v4/app/Fragment;Lkotlin/jvm/functions/Function1;)Ljava/util/concurrent/Future; in class Lorg/jetbrains/anko/AnkoPackage; or its super classes (declaration of 'org.jetbrains.anko.AnkoPackage' appears in /data/app/pacakge.name/base.apk)

Also when compiling with ProGuard enabled the following warning appears:

Warning: de.busliniensuche.android.BookingSummaryServiceFragment: can't find referenced method 'java.util.concurrent.Future asyncResult(android.content.Context,kotlin.jvm.functions.Function0)' in program class org.jetbrains.anko.AnkoPackage

I'm using Anko 0.6.2-19s and Kotlin 0.12.412 with Gradle.

Hello. Can't say about anko. This problem may arise if you add top level member (property or function) to that package (org.jetbrains.anko). If you're not doing anything of the sort, disregard my comment.

That was it! Thanks for the help.


Error az network dns record-set txt update

Related command
# az network dns record-set txt update -g <resource-group> -z <dns-zone> -n <name> --set txtRecords[0].value=value>
I would like to update the existing DNS TXT entry to a new value:
Current entry:
_acme-challenge.wpgurgel.     TXT     3600     FraO_zWySUBG3rUxiXsEn47qTkqQDpwoQKrOxV9PArE
Updated entry:
_acme-challenge.wpgurgel.     TXT     3600     ABC123
Command used:
# az network dns record-set txt update -g <resource-group> -z <zone-dns> -n _acme-challenge.wpgurgel --set txtRecords[0].value=ABC123
After running the command replacing the resource group and dns zone values, we received the following error:
The command failed with an unexpected error. Here is the traceback:
Refuse str type as a valid iter type.
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 240, in handler
    result = cached_put(self.cmd, setter, **setterargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 452, in cached_put
    return _put_operation()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 446, in _put_operation
    result = operation(**kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/mgmt/dns/v2018_05_01/operations/_record_sets_operations.py", line 201, in create_or_update
    body_content = self._serialize.body(parameters, 'RecordSet')
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 631, in body
    return self._serialize(data, data_type, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 483, in _serialize
    return self.serialize_data(
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 787, in serialize_data
    return self._serialize(data, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 574, in _serialize
    raise err
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 523, in _serialize
    new_attr = self.serialize_data(orig_attr, attr_desc['type'], **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 782, in serialize_data
    raise err   # don't rewrap as SerializationError
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 777, in serialize_data
    return self.serialize_type[iter_type](
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 867, in serialize_iter
    raise err
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 864, in serialize_iter
    serialized.append(self.serialize_data(d, iter_type, **kwargs))
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 787, in serialize_data
    return self._serialize(data, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 574, in _serialize
    raise err
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 523, in _serialize
    new_attr = self.serialize_data(orig_attr, attr_desc['type'], **kwargs)
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 782, in serialize_data
    raise err   # don't rewrap as SerializationError
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 777, in serialize_data
    return self.serialize_type[iter_type](
  File "/opt/az/lib/python3.10/site-packages/msrest/serialization.py", line 856, in serialize_iter
    raise SerializationError("Refuse str type as a valid iter type.")
azure.core.exceptions.SerializationError: Refuse str type as a valid iter type.
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
To open a new issue, please run `az feedback`

Environment Summary
Linux-5.15.0-1035-azure-x86_64-with-glibc2.35, Ubuntu 22.04.2 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.47.0

Thank you for opening this issue, we will look into it.

Try to set .value[0]
# az network dns record-set txt update -g <resource-group> -z <zone-dns> -n _acme-challenge.wpgurgel --set txtRecords[0].value[0]=ABC123

when trying to update an existing txt record using az cli 2.56 it looks good for me:
az network dns record-set txt update -g <group> -z <zone> -n <name> --set txt_records[0].value[0]=foo
However I am unable to set a value containing quotes, because az-cli is internally manipulates the value.
e.g. "a=1 b=2" is transformed into "a=1b=1" which can not be processed by dns-sd clients.
(make sure your shell does not mangle quotes either!)
az network dns record-set txt update -g ipp -z sendletters.online -n send1._ipp._tcp --set txt_records[0].value[0]='"a=1" "b=1"'

"TXTRecords": [
    {
      "value": [
        "a=1b=1"
      ]
    }
  ]