Suggestions for sorting boxes interactive

This issue is user submitted and needs to be validated:
I'm loving the new sorting widget in the 'sneak peak' version of the guide.  I'm wondering if it would be possible to make it a lot more obvious when the boxs are / are not in order.  It is super easy to misread the statement at the bottom.  If the boxes are in order, would it be possible to have the text in blue / green with a smiley face?  Having the phrase 'Congratulations these are in order' as a success message would make things very easy.  Are fireworks / some other type of animated celebration at this point out of the question?
Likewise if the order is not correct, having a message saying 'Sorry, the boxes are not yet in order'  would help make things really clear.
Also, I've noticed that the initial order of the boxes doesn't seem to be random.  When I do an insert sort going from heavy to light, the number of comparisons is generally quite low (between 13 and 20).  If I use the same method but go from light to heavy, I end up needing 24 - 27 comparisons which is verging on the worst case.  Whilst the boxes are not quite reversed, it seems like much of the time they are almost reversed.
Another piece of feedback:
I really like the sorting widget in the 'sneak peak' of the guide.  Combining both interactive (and simplifying) the scale is working well.
Can you please consider putting in a 'reset' button so that if the boxes are not in order, it is easy to reset the page and try again.
Also, I would love to be able to choose the type of data (random, nearly sorted, few unique and reverse).  Being able to get students to sort with different data types, using different algorithms be massively helpful in teaching the 'search / sort' topic at level 1.
Ultimately it would be great to have a button that students could push that says 'show sort' for a given algorithm and data-type.  For this option making the box transparent and showing the value inside would potentially help students to see exactly how the algorithm should be implemented.
:)

To summarise:
Fairly simple fixes

[ ] Make it more obvious when the boxes are/are not in order
[ ] Improve randomisation of boxes
[ ] Add reset button (ideally back to the original unsorted order with the same numbers)

More long term suggestions

[ ] Add choices for types of data to sort (random, nearly sorted, reverse, etc)
[ ] Add further features for teaching students how to do the sorting

I did some tests to check the randomisation of boxes. The code is an adapted form of this algorithm (the Durstenfeld variation of the Fisher-Yates shuffle) which is itself a good method of randomisation.
To check the 'randomness' of the boxes I summed the displacement of each box in each test, so for example, for the boxes:
0|1|2|3|4|5|6|7
And the shuffled form:
2|6|5|7|1|0|4|3
The differences are:
2|5|3|4|3|5|4|4
Which is a sum of 28.
The maximum value 32 can be obtained when the order is reversed:
7|6|5|4|3|2|1|0
or when the boxes are in the correct order but displaced by 4:
4|5|6|7|0|1|2|3
The minimum number is 0 where the boxes are sorted.

In 8 tests the average displacement sum was 21.5, or an average of 2.69 per box.
A displacement of 4 (where the box is where it would be if the boxes were in reverse order) occurred 11 times over 5 tests (in the other 3 it didn't occur), an average of 1.4 times per test.
I didn't see anything that looked like the boxes were not sorted randomly, certainly not in reverse order.

So I can't conclude that the randomisation algorithm is not working as intended. But with so few tests and a method of testing I came up with on the spot I also can't say it is working as intended.
I can conclude:

It was not implemented as Sattolo's Algorithm (a minor implementation error) as in my tests boxes were occasionally placed in their original locations.


Inverter IP address change

Hello, I have had problem with inverter that IP address change due to the router upgrade (not have setup static lease). After IP address change the HA integration stop working. According to log the integration tries to connect to the old IP address again and again. I have to change IP address directly in config/.storage/core.config_entries file to new one.
Is there any "better" way how to specify inverter IP address?  Or way how to "clear" the settings?
Thank you for the answer.

I suggest to make a reservation for the (old) IP on your router and then restart the inverter. It should then get the old IP.
Alternatively remove the integration from HA and add it again using new IP - this however will not fix the problem permanently as the IP might change again in the future.

Yes, I already did it. But it was kind surprise to me as there is no host/ip address setting, nor anything in documentation. So one would assume that the integration will automatically discover the inverter.
I just want to ask if it's possible to expose inverter ip address as configurable variable or do some discovery retry if old ip address does not response.
Thank you

+1 This feature would be great to have. I know you can set static IP in inverted settings, but when I do it then the inverter wifi led starts freaking out and SEMS portal is unavailable.

IP is now exposed via configuration UI -  v<IP_ADDRESS>


Add profile for server-iron-switch

What does this PR do?

See title
Motivation

https://datadoghq.atlassian.net/browse/NDM-2076
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Is it a normal situation to have a profile that is fully based on the other ones?


Giiant->Model and Model->Generator TypeError: yii.gii is undefined

i have install phundament last version and if i try to generate model using giiant or model generator from admin i get this error:
TypeError: yii.gii is undefined

Could you please paste the complete log output of this error?

I try to access my web app: http://localhost/app/web/index.php?r=gii/default/view&id=giiant-model and in firebug console i get his error:
TypeError: yii.gii is undefined
http://localhost/app/web/index.php?r=gii%2Fdefault%2Fview&id=giiant-model
Line 486
This is happening because on the footer in the scripts is added this: yii.gii.autocomplete(... and the javascript with this function is not included.

I'd also recommend to use the CLI generator, see also: https://github.com/schmunk42/yii2-giiant/blob/master/docs/generate-sakila-backend.md

http://localhost/app/web/index.php?r=gii is accessible ?
if not, maybe Gii is not loaded in your application config.
Gii is only loaded in YII_ENV_DEV.
if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][]    = 'gii';
    $config['modules']['gii'] = [
        'class'      => 'yii\gii\Module',
        'allowedIPs' => $allowedIPs
    ];
}

Additionally you may update

$allowedIPs = [
    '<IP_ADDRESS>',
    '::1',
    '192.168.*',
    '172.17.*'
];

But as schmunk42 said, better use the CLI generator.

but why is exist the "Code Generation" button in admin dashboard if is recommended to use CLI generator, if web interface don't works

Good point ;) I wanted to remove that already, but the list is generated automatically by gii.
The project is not stable yet ... the web-interface should work, but it's very likely that there are issues at the moment.
But give the CLI a try, it's a bit of a hurdle in the first place, but it will increase your development speed and reduce your error rate.


SKOS-specific merge needed?

Some possible problems:

Merging of SKOS turtle files with git file-merge may not always do the right thing. For example, provenance info could be added as a log of actions (the new entry may be appended to the former) while a git file-merge would replace the old provenance entry with the new one.
Editing the full vocabulary may not always be practical especially if the vocabulary gets large. In this case one wants to export only specific parts to excel, update them in Excel and merge only these specific parts back to the source vocabulary.

A good approach to keep the size of git diffs manageable is to split the vocabulary file into multiple turtle files. This is technically possible without a problem. The large "all-in-one" turtle file would then not be kept under version control but just created as artifact that is made available via gh-pages.


Feature Request: Zero-padding for DFT

It would be a fairly simple implementation, since a zero padding method already exists in the utils methods, but having zero padding implemented in the dtf-method of DiscreteFourier would be handy.

Zero-padding itself is not considered a part of DFT. In most implementations, the signal is padded separately and then the DFT is called. Implementation here will look something like this:
N = 20; //Such that padding length is less than signal length
double[] paddedSignal = UtilMethods.padSignal(signal, N);

DiscreteFourier df = new DIscreteFourier(paddedSignal);
df.ffit();

Well, in the MATLAB-implementation of fft, you do have the possibility of the FFT-length, which will either truncate the signal or zero-pad it. Since zero-padding is very often used, maybe it makes sense to implement dft-size inputting, so that users don't have to write the zero-padding code.

This could lead to a lot of additional complexities in the DiscreteFourier class. One of the prime things that surfaces is the mode of truncation and padding. The existing padding pads on either sides in various modes, however in MATLAB, the padding is only on the end with zeros. Then comes the question of truncation. How will the truncation be implemented; will it be truncating from the middle as in: signal [n/2:-n/2]; or just chop off the end or the start?
I think the present implementation is simple and allows for signal modification as required in an extra line of code mostly. The prime reason to avoid this would be to keep the documentation simple and the APIs easy to use.


BUG: Airfoil fins normal force coefficient derivative calculation.

Continuing #117 that was accidentally closed

Pull request type
Please check the type of change your PR introduces:

[x] Code base additions (bugfix, features)
[ ] Code maintenance (refactoring, formatting, renaming, tests)
[ ] ReadMe, Docs and GitHub maintenance
[ ] Other (please describe):

Pull request checklist
Please check if your PR fulfills the following requirements, depending on the type of PR:

Code base additions (for bug fixes / features):

[x] Tests for the changes have been added
[x] Docs have been reviewed and added / updated if needed
[x] Lint (black rocketpy) has passed locally and any fixes were made
[x] All tests (pytest --runslow) have passed locally

What is the current behavior?

The current calculation of the normal force coefficient derivative for airfoil fins assumes that the term where the derivative of the lift coefficient is multiplied by alpha is a constant value. However, for curves that are not linear that simplification does not apply due to another intermediate derivative term.
What is the new behavior?

The calculations for the lift coefficient now use a more generalized equation based on thin airfoil theory, which is more in the lines of what Barrowman showed in his paper. The differences in calculating the lift with and without airfoils is only considered in the Cnalpha0 (see equation 3-1 in Barrowman). For planar fins, Cnalpha0 is considered to be 2π / beta. For airfoil fins, Cnalpha0 comes from the derivation of a lift coefficient curve that must be given as an input to the addFins method.
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

The addition of the beta parameter makes it so the calculations for fins lift coefficient take into account the variation of the Mach number, which in turn can change a few other behaviors in the simulation (i.e. the static margin). This is worth noting since the other aerodynamic surfaces (nosecone and tail) don't consider the Mach number (yet).

Hey, one more thing. I failed to create a test for the airfoils because I couldn't figure out a way to reach the airfoil lift curves in the tests. Some weird errors kept popping up.
I left the test commented in test_rocket.py so someone can check it out.

Am I doing something wrong or the getting_started_colab.ipynb is no longer working on this branch's Pull Request ?

Uhh i think something is wrong. It is not running the new code. That error shows the old airfoil implementation

OK I fixed my code here.
In my opinion it's brillant, we can move forward. Congratulations @MateusStano really easy to understand the code.
Sugestion of creating good plots of airfoils data in the future, embedded on allInfo()

Sugestion of creating good plots of airfoils data in the future, embedded on allInfo()

Can we add this to our action log?

I'll finish my last review by tonight so that we can merge it!

@Gui-FernandesBR, when you approve, feel free to merge!


Remove Watermark

Hi love your mod! How do I remove watermark at the bottom of screen? I am a streamer.

You can disable "Capture third-party overlays (such as steam)" in your OBS settings:

After this the watermark is not going to appear on your stream.

TY!  That works ,but I really wanna have the option to remove it altogether! 😄


fix typo of username. see https://github.com/cockroachdb/docs/issues/613

This change is

LGTM. Thanks, @HenryEscobar!
Fixes #613


⚠ Bofrost.fr has degraded performance

In c56afa0, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 817 ms

Resolved: Bofrost.fr performance has improved in bbf5b6a.


Upload not working

I am trying to upload a picture, but I got an error. This is my code:
func upload(filename string, inst *goinsta.Instagram) { 	f, err := os.Open(filename) 	if err != nil { 		log.Fatal(err) 	} 	_, err = inst.UploadPhoto(f, "test", 0, 0) 	if err != nil { 		log.Fatal(err) 	} }
And this is the output:
xxx@kwaremont:~/go/src/i$ go run uploader.go  2020/08/11 11:50:37 invalid status code, result: 404 Not Found exit status 1

fixed in my fork


Get position of the hands as array (coordinates) in multi_hand_tracking

Hi there, i want to extract, from a video where multi hand detection is already done, the position of the hands and put all those array, frame per frame, in a .txt file. Does mediapipe give something already developed for it?
I think that the position would be given as an array, am i right? Could you please tell me how can i do it?

@dgrnd4 Were you able to get the coordinates of the hands ?

@Aprameyah yes I did, check my last comment in #1192 post!! Let me know if u get it


Makefiles with extensions

It seems to be fairly common practice to add file endings to make files, like Makefile.win for the windows version. See https://searchcode.com/?q=makefile.win&p=0&loc=0&loc2=10000
It's probably easy to Makefile.win specifically as a special case because it's common, but people also invent other extensions like [.version_extra] (https://github.com/HaxeFoundation/haxe/blob/development/Makefile.version_extra). I guess it's reasonable to not support those? I'm not sure what other ones besides .win are common, but I don't use makefiles too much.
What do you think?

Hi @Gama11, in my opinion this kind of scenarios are already covered with custom associations. If someone wants to associate Makefile.xxx to makefile icon he can do it by leveraging custom associations functionality, which uses regular expressions in order to match files.
For instance, see #181.

Okay, good point - that's a great feature. :)
Do you still think it's a good idea to include common ones (such as Makefile.win)?

I don't really think is worth the effort. User custom config is more than enough. But if you feel that this is something that can add some value go on with it and I will accept the PR.
By the way, I'm going to publish a new version in a minute as there's been a change in VSCode insiders. Do you have something that you want to publish?

Alright, fair enough.
Feel free to publish a new version, I'm gonna take a break from PRs for now. ;) Besides, you release frequently enough that it doesn't make a big difference if it's "only" available next version.

@Gama11 I'm publishing right now. I've to attend other businesses and I want to let this fix with Insiders version solved before I go. :wink:


Handle time zones when creating key credentials

My previous PR had a bug that caused the cmdlet to create the keycredential with same start and end date. It also seems that time zone conversion should only be done for the end date. If you convert the start date you will get a bad_request response.

Docs Build status updates of commit 9987c52:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureadps-2.0/AzureAD/New-AzureADApplicationKeyCredential.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Hi @gabbsmo
Per the read me file:
Please be aware that if you have any updates to automatically generated reference content, you should create an issue and not a PR.  The issue will then be created into a bug and triaged accordingly.  We do this because the reference content must mirror the *dll-help.xml file and subsequent updates to the reference content may overwrite any changes made through the repo.  Capturing it in the source code ensures that this does not occur.  Any PR with changes to automatically generated reference content will be closed.
Automatically generated reference content is any of the content under this Reference node, such as Get-AzureADUser
This only applies to reference content and not conceptual content.  Pull requests for changes to conceptual content are accepted and encouraged.  An example of the conceptual content is the Overview or a scenario such as importing data.
Thank you!
Bill


Proposal (frontend): Prune duplicate columns

Similar to ColPrunable, which prunes top down based on output columns, we should have a trait DuplicateColPrunable which prunes bottom up based on duplicate columns originating in various operators.
This idea has been proposed several times (references: ?) but has not been implemented. However, ExprRewritable machinery makes it easier to solve this problem easily.
Motivations

Handle aliasing/Col mapping non-injectivity: Handle non-injective column mappings in a non-hacky way. Both (https://github.com/risingwavelabs/risingwave/pull/8267, https://github.com/risingwavelabs/risingwave/pull/8269) do not fix the root cause, which is properly handling non-injective col mappings and efficiently dealing with aliasing.
Performance: It has been shown that removing duplicate agg calls can lead to performance improvements: https://github.com/risingwavelabs/risingwave/issues/7351#issuecomment-1429474290. Removing duplicate columns can merge agg calls that are falsely marked as distinct due to aliasing, in addition to being expected to reduce other forms of unnecessary work done in other operators. Furthermore, we can save storage.

Notes:

Duplicate columns can originate in various operator's:

output_indices
Project operator equal exprs
eq keys of inner joins
Duplicate agg calls (While aggs may no longer be a source after https://github.com/risingwavelabs/risingwave/pull/8200, pruning duplicate columns in Agg's input may still cause us to handle duplicate agg calls after inputs have been de-aliased. See below.)
naively adding stream key

Whenever we deduplicate, we will pass col_index_mapping to the parent. The col_index_mapping need not be injective; an old column index can map to a single column multiple times. The upstream operator needs to rewrite all its expressions as well as depend on changed input schema.

Examples:
Prune based on duplicate output_indices:
Project { exprs: [InputRef(0), InputRef(1)] }
  Join { output: [0, 0] }
->
Project { exprs: [InputRef(0), InputRef(0)] }
  Join { output: [0] }

Project can also be pruned
Join { eq_keys: [(0, 5)],  other_cond: ($1 > 100:Int64) }
  Project { exprs: [InputRef(0), InputRef(0)] }
->
Join { eq_keys: [(0, 5)],  other_cond: ($0 > 100:Int64) }
  Project { exprs: [InputRef(0)] }

Pruning eq keys in inner joins
Project { exprs: [$0 * 2, $1] }
  Join { eq_keys: [(0, 1)], output: [0, 1] }
    Scan { [x] }
    Scan { [x] }
-> /* Internal step to rewrite output indices */
Project { exprs: [$0 * 2, $1] }
  Join { eq_keys: [(0, 1)], output: [0, 0] }
    Scan { [x] }
    Scan { [x] }
->
Project { exprs: [$0 * 2, $0] }
  Join { eq_keys: [(0, 1)], output: [0] }
    Scan { [x] }
    Scan { [x] }
->

Pruning agg calls falsely considered unique
Agg { agg_calls: [sum($0), sum($1)] }
  Project { exprs: [InputRef(0), InputRef(0)] }
->
Agg { agg_calls: [sum($0), sum($0)] }
  Project { exprs: [InputRef(0)] }
->
Agg { agg_calls: [sum($0)] }
  Project { exprs: [InputRef(0)] }
->

Handling of Materialized View
MaterializedView { output: [0, 1] }
   Join { .., output: [0, 0] }
-> /* In this case, we prefer duplicate expressions to always be absorbed by Project */
MaterializedView { output: [0, 1] }
   Project { exprs: [$0, $0] }
     Join { .., output: [0] }
->

Implementation details:

In order to rewrite expressions' InputRef to the alias, we will use ExprRewritable to walk all the expressions in a given parent operator.
Since const_eval can reveal new expressions that are equivalent, perhaps we should run this optimization pass after const_eval

Ease of Implementation
The generic implementation is expected to be simple:
impl DuplicateColPrunable for Logical_ {
  fn prune_duplicate_cols(self) -> (PlanRef, ColIndexMapping) {
    let (new_input, map) = self.inputs.prune_duplicate_cols();
    let plan = self.rewrite_with_inputs(new_input, map);
    let mut new plan = plan.rewrite_exprs(&mut InputRefRewriter::new(map));
    // Now that we have propagated both schema changes in inputs as well as
    // de-aliased any input cols, we check if we have any duplicate cols that can be removed.
    if let Some(rewritten, mapping) =  new_plan.rewrite_without_duplicates() {
      (rewritten, mapping)
    } else {
      (new_plan, identity)
  }
}

Alternately, to enable Logical_ to handle rewriting input with non-injective mapping more generally, we should move plan.rewrite_exprs(&mut InputRefRewriter::new(map)); into rewrite_with_inputs.
Questions:

How do we deal with LogicalShare operator? A: we need to propagate the result of .prune_duplicate_cols() to each parent simultaneously, so that each parent can propagate pruning of duplicated cols. We can cache this result in a DuplicateColPruningContext, similar to ColPruningContext.

The idea sounds good. Do we have any plan to carry it out someday?


Any new documentation on the way for configuring Turnouts?

The example in the documentation doesnt compile. Is an extra nuget package required or is the documentation out dated?
Thanks,
Lewis

Did you add any nuget package? Or just copy-pasted the code?

@SvenVandenbrande Just the standard Mass Transit nuget package. Looks like it contains the MassTransit.Turnout namespace but the copy and pasted code doesnt compile?

For that specific example, with the in-memory scheduler being used, you would need to add the MassTransit.Quartz package: https://www.nuget.org/packages/masstransit.quartz
If you are using RabbitMQ or Azure Service Bus, you can use their built-in message scheduling features instead.

Any example or documentation about turnout with rabbitmq and container? I need support long running process.
Thanks.

It was built around Azure Service Bus, but should work with RabbitMQ as well. There is documentation available, but the feature is most certainly in early-adopter status.

See also: https://groups.google.com/d/msgid/masstransit-discuss/a6a5a020-fb59-41e1-ab77-3653deb0f47f%40googlegroups.com?utm_medium=email&utm_source=footer

@phatboyg Trying to get the turnout feature working for long running processes that we have in our system. Do you have an example on how to exactly work with the turnout feature? We are using RabitMQ, posted at https://groups.google.com/d/msgid/masstransit-discuss/a6a5a020-fb59-41e1-ab77-3653deb0f47f%40googlegroups.com?utm_medium=email&utm_source=footer how we worked arround the issue with the extension function.
I do have some questions about the turnout feature:

Is this feature ready for use in production? We don't have a lot of message going around in our system, but we use the messages to start/stop long running processes on runners.

If we have multiple runners consuming command from the queue ans starting long running processes, how can we ensure that a runner first completes a task before picking up the next task, i.e. do one task at a time?

How can we send a stop command to a runner without waiting on other start commands waiting on the queue?

Does turnout has functionality for job control, like stopping a job started with SetJobFactory()?

We now have a long running task that waits with sending the ACK till the job is done. In your documentation (chapter 6.1) you write "... they are intended to live for a short time...", is iit bad to wait with sending the ACK till the job is done (can take hours)?

I hope you can provide me some answers, and thanks for the great system!

The Turnout feature is usable, but there is likely a few things lacking. For instance, cancelling a job is currently not there - but using a cancellationToken should be fairly easy to add. The trick is knowing which node is executing the job, and that's likely a bigger feature to have a network of job servers with management around it to help get the cancellation to the right server.
I really need to sit down and diagram some of these use cases to make sure they can be handled consistently. It was initially just a quick feature, but there are so many nice to haves that I need to look deeper at the implementation to make it work.

Shouldn't there be a separate queue to the long running "runner" to control this specific runner? I that case be know which runner to address and for example a stop command could be sent directly to the runner which can cancel the long running process using a cancellation token stored globally in the runner itself to kill it's running process. This would be the case when a runner may only execute one job at a time. If multiple jobs can be executed on a runner we need to have a jobid to look up the cancelation token to cancel that specific job with.
Looking forward to any ideas you have on this topic!

Added some additional work in this area: b22b4509a8be29c826d6aaf2521804550ee16021
Also updated documentation: 6181c6b8dfc073a075562fc96a7093ab34761f31


Feature request for RemoveChatButtons - Being able to hide the Nitro channel

Is your feature request related to a problem? Please describe.
The Nitro channel that is situated underneath the Friends button is useless, an eye soar and basically an ad. Also, I used to get rid of it with custom CSS, but it always breaks, and I have no idea how to fix it, so I have to go asking around in the BetterDiscord Discord server.
Describe the solution you'd like
Being able to disable the Nitro channel by enabling the "Disable Nitro channel" in the settings of the "RemoveChatButtons" plugin. I know it is not a chat button, but it is an annoyance just like the chat button, and it is the same intention (removing it). Maybe you would need to change the plugin name to RemoveAnnoyances? (not necessary imo).
Describe alternatives you've considered
Using custom CSS, but it always breaks. It also didn't work with the pin dms plugin, but I don't use it anymore so idk if it is still an issue.
Additional context
How it currently is:

And after enabling this feature in the plugin's settings:

(this image was edited in paint.net because, as I said earlier, my custom CSS broke, so it probably looks more scuffed then it will actually look)

Added in 1.2.1, update when prompted to


removed the repeated "2016"

removed the repeated "2016" under practical applications in "Windows Server 2016 2016 provides..."

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


Dealing with high vibration environments

I have D435 camera and I am doing a video capture but I am in a high vibration area. I am doing the depth aligned rgb capture using ros noetic.
Do you have any suggestion for improving the quality or postprocessing of sort?
Are there 3D printed encasement you would suggest for this camera?
Any suggestion is really appreciated.
I am using Ubuntu 22.04 OS.

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

Hi @monajalal  The depth sensing algorithm of RealSense 400 Series cameras is robust against vibration, though severe vibration (such as when the camera is on a vehicle travelling over rough ground) may cause image degradation or camera disconnection.
You could therefore consider adding a vibration damping pad to the camera's mounting point, or if the camera is on a tripod, to the feet of the tripod.  Searching a store such as Amazon for the term vibration damping pad can show relevant products.


Initialization in Anaconda not possible when following the instructions

Describe the bug
Initialization in Anaconda not possible when following the instructions
To Reproduce
Steps to reproduce the behavior:

Open Anaconda Prompt in Windows 10 using Anaconda3 64 bits

Execute the following steps as instructed in the Readme:
conda create --name label-studio python=3.8
conda activate label-studio
pip install label-studio
python label_studio/server.py start labeling_project --init

You will get this error:
python: can't open file 'label_studio/server.py': [Errno 2] No such file or directory

You will also notice that your current folder is empty and Label Studio was installed at:
C:\Users\username\Anaconda3\Anaconda3\envs\label-studio\Lib\site-packages\label_studio

Expected behavior
I'm expecting results consistent with the instructions, so that I can initialize the application.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10
Anaconda 3, 64 bits, Python 3.8.5
Label Studio Version0.9.1.post1

There seems you are using python label_studio/server.py start labeling_project --init for cases when you install LS from git repository instead of pip. You should replace it to:
label-studio start labeling_project --init

I was able to initialize by moving to the Anaconda environment folder:
C:\Users\myusername\Anaconda3\envs\label-studio-env\Lib\site-packages\label_studio
and executing this:
python server.py start labeling_project --init
A pretty cumbersome solution, as I don't want to be running my project from the python library folder.
Your solution, however, worked much better. Thanks. You should document it as the way to initialize the project for Anaconda users.


Release 0.0.1 Tracker

Naming & Packaging & MEDS

[x] #54
[x] #14

Interface

[x] #29

Extraction ETL

[x] #33

Public Data Examples

[x] #52

Documentation & Testing

[x] #74
[x] #66

This release is pushed.


Kubernetes HA upgrades

We need additional changes to handle settings added in v0.5.0 and v0.6.0 (see commit https://github.com/to-bar/epiphany/commit/f529303c32d368b3c2c18b6a997314286d26300c) or do not rely on manifest.yml.

We need additional changes to handle properties added in v0.5.0 and v0.6.0 (see commit to-bar@f529303) or do not rely on manifest.yml.

@to-bar thank you so much! I cherry-picked your commit a1e5c28 :+1:

The upgrade from version 0.6 to develop for K8s HA configuration (3 masters, 3 nodes) has been tested and it works fine.
There is a random issue with deploying HA clusters on Azure environments that was reported in #1075


Add loaders on buttons

When login or register, the button should show a loader and be disabled when the request is being processed by the backend to avoid multiple requests.

I am taking this issue

Sorry i didn't mention it but i'm on this issue for a few hours and i did a little more than just adding the spiner. I will PR the changes soon, choose which one you like more :)

Check this out https://github.com/harshjohar/stutea/pull/123

good work @evirusky

thank you :)

nest time get assigned before working @evirusky

sorry @boomboss200, but @evirusky submission was bit better.

for more issues like this, you can participate in the event https://pwoc.vercel.app/

sorry my bad, i'm new . thank you again

No issues and also bravo @evirusky
On Sun, 5 Feb 2023 at 1:22 PM, evirusky @.***> wrote:

sorry my bad, i'm new . thank you again
—
Reply to this email directly, view it on GitHub
https://github.com/harshjohar/stutea/issues/119#issuecomment-1417089136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXL3FN5XDLARZ3IPCELO6ZLWV5PODANCNFSM6AAAAAAURA26UE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Unsubscribe Link Question

Do we have to include the Unsubscribe link on the page layouts for the link to work?

Hello, Not needed, just include the merge field in the email.


caption issue: the sequel

Command that caused the error
caption
Image that caused the error
No response
Steps to reproduce

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

Self-hosted instance?
No
Error file
Message: request to http://<redacted>:3762/image?id=15203 failed, reason: read ECONNRESET

Stack Trace: undefined

Additional context
No response

Same situation as your original issue, should be fine now.


Setting the WorldBorder message to "" bugs out the config

I'd like a way to just set wrap and avoid using the worldborder message altogether. However, setting the message to "" from inside the plugin using the /wb setmsg command works only until the next restart, and then the config is misparsed and replaced by the default config.

Looks like this would be the culprit
https://github.com/PryPurity/WorldBorder/blob/87ab7acca605fee6d43a14c288419021776a6789/src/main/java/com/wimbli/WorldBorder/Config.java#L558-L565
Anyway to make sure that the worldborder is correct other than checking for the worldborder message? That seems kind of dumb that I can't set it to ""

"/wb list - show full border information for all worlds.
Permission: worldborder.list"
https://www.spigotmc.org/threads/worldborder.339635/#post-3162179

I think you misunderstood me. I would like to disable the message that says "you have reached the end of the world", but currently there is no way to disable that message getting send when someone reaches the worldborder.

#40 Fixes this

Closing issue to do recent Commit fixing, Thank you.


GitHub debugging

Not sure why this shows as having two commits. I think github bug.  This adds PyGithub request debugging, when debug is turned on.

Closing for now. Reopen if we want #34 broken up into pieces.

Thats really strange... Somehow, you based all your changes against a strange commit..

They should be based on b899c46ff6f6f2ec6392deedcaa4e93f44acc175 . However you have a different version of that commit: 01ec1fbf0b5c8c3c41a75e81ecd5644cd944d803 which is identical (git diff shows no differences...)
I guess its more likely to be a git bug than a GitHub problem... Maybe some strange encoding /  whitespace thingy..
If the commits are really equal, they should have the same commit hash...


patcher for w11^

https://github.com/valinet/ExplorerPatcher

https://winget.run/pkg/valinet/ExplorerPatcher


How to configure it with Vite

I was able to integrate and bring the UI part but wasn't able to understand the webpack or the rollup part.
Can anyone help,  how do I use this with vite. Steps would be nice please or a demo would be great.

@SagarVishal hi, here are some advices:

Vite is based on rollup, so the rollup part in readme will also be useful for vite
In this project source code, we also show the code with Vite already (local env: yarn dev), so you can check the vite.config.ts

And we know a live demo will be helpful, so will attach some demo( Stackblitz ) in recent days, if we finished, i will append to this issue

Take a look: https://stackblitz.com/edit/vitejs-vite-bfx1bj?file=src/App.vue

StackBlitz


Fix error message for && and ||

Usage of && and || should tell the user to use "and" or "or" (heh) instead of telling them it expected ; or } but got the entire line of code.

Also should include ! for not


main: Improve table play section

Table play section along current join as owner functionality could provide summary who and how can join the table.

Done in beb39fa and f662374


Please add Watchbox.de

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.23. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.07.23

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.watchbox.de/serien/he-man-and-the-masters-of-the-universe-12247/staffel-1/der-kosmische-komet-328614']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.07.23
[debug] Python version 3.4.4 - Windows 10
[debug] exe versions: ffmpeg N-71883-geb9fb50, ffprobe N-71883-geb9fb50
[debug] Proxy map: {}
[generic] der-kosmische-komet-328614: Requesting header
WARNING: Falling back on generic information extractor.
[generic] der-kosmische-komet-328614: Downloading webpage
[generic] der-kosmische-komet-328614: Extracting information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://www.example.com/video123.flv'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\YoutubeDL.py", line 1863, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\YoutubeDL.py", line 1805, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\downloader\common.py", line 361, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\downloader\http.py", line 61, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\YoutubeDL.py", line 2166, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.watchbox.de/serien/he-man-and-the-masters-of-the-universe-12247/staffel-1/der-kosmische-komet-328614.html
Single video: https://www.watchbox.de/filme/free-jimmy-12325.html
Playlist: https://www.watchbox.de/serien/he-man-and-the-masters-of-the-universe-12247/

Note: Content seems to be region-locked to German speaking areas.
Watchbox.de replaces Clipfish.de
Site seems to use MPEG-DASH

The site is embedding a HLS Playlist that can be played right away with mpv or vlc.
Example:
wget -q -O - "https://www.watchbox.de/filme/donnie-darko-14491.html" |grep hls
            hls: 'https://vodwbusohls-a.akamaihd.net/proxy/manifest-wb-clear/at-ch-de/344218-1-28733.ism/fairplay.m3u8',

Hope that helps to include it! Thank you!

As far I understand it watchbox.de is the successor of clipfish.de, which already was supported by youtube-dl. I don't know if the underlying technologie has changed, but if I remember right clipfish was based on the services of akamai as well.
I guess adding support for watchbox should be trivial because of that.
On the other hand I know that on other pages based on akamai services it is now much harder to stream videos with extermal apps. Since a few weeks akamai returns an Error 403 if you try to access the m3u8 files with vlc or mplayer.
Maybe this also could cause truble with youtube-dl.
I hope this informations are helpful.

Watchbox.de ist the successor of Clipfish.de, but the specs changed:

higher bitrates
higher resolution
no flash required

Clipfish used .mp4-files linked in source-code, not .m3u8

So I am sure you will have to jump over the same hurdles like on other akamai based media pages.
I will check this out later but I expect that there will be any authentication process you have to pass in order to access the m3u8-file that leads to the mp4.
I'm not sure if youtube-dl can handle this. Bit if it can, it maybe could be possible to add a generic support for media pages that use akamai as underlying service.

For me watchbox.de playlist downloads seem to be broken.
Example link: https://www.watchbox.de/serien/blood-c-12633/
Output:
youtube-dl -v https://www.watchbox.de/serien/blood-c-12633/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.watchbox.de/serien/blood-c-12633/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.26
[debug] Python version 3.6.3 - Linux-4.13.12-1-ARCH-x86_64-with-arch-Arch-Linux
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4, rtmpdump 2.4
[debug] Proxy map: {}
[WatchBox] 12633: Downloading webpage
[WatchBox] 12633: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError('title',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 437, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/watchbox.py", line 88, in _real_extract
    compat_str) or source['title']
KeyError: 'title'
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 437, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/watchbox.py", line 88, in _real_extract
    compat_str) or source['title']
KeyError: 'title'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 450, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('title',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Single videos, like this series first episode seem to work fine on the other hand.
As OP's first and third example URL bring up 404 error's, I guess they might have changed there website again?


Replace book, embedonomicon with docs subdomain

Implements changes requested in https://github.com/rust-embedded/wg/issues/208
Output of terraform plan:
------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  - aws_route53_record.rust_embedded_com_book

  - aws_route53_record.rust_embedded_com_embedonomicon

  - aws_route53_record.rust_embedded_org_book

  + aws_route53_record.rust_embedded_org_docs
      id:                 <computed>
      allow_overwrite:    "true"
      fqdn:               <computed>
      name:               "docs.rust-embedded.org"
      records.#:          "1"
      records.4141188299: "rust-embedded.org"
      ttl:                "300"
      type:               "CNAME"
      zone_id:            "Z1K6QDM5H6MZNC"

  - aws_route53_record.rust_embedded_org_embedonomicon

  - aws_s3_bucket.embedonomicon_rust_embedded_com_redirect

Plan: 1 to add, 0 to change, 5 to destroy.

------------------------------------------------------------------------

I made a few additional changes and commits, in a somewhat trial and error style while trying to get HTTPS support working correctly. I was largely successful: the following URLs should all work now, with non-secure connections redirecting to secure connections:

http://rust-embedded.org
https://rust-embedded.org
http://www.rust-embedded.org
https://www.rust-embedded.org
http://rust-embedded.com
http://www.rust-embedded.com
http://areweembeddedyet.com
http://www.areweembeddedyet.com
http://docs.rust-embedded.org
https://docs.rust-embedded.org

The following URLs aren't working - they are the redirect domains that go through S3, and I believe something is getting screwed up making the initial TLS connection to Amazon, and then redirecting to Github. Note that non-secure connections work fine. I'm not sure what to do with them at this point, I have to give it some more thought and am open to suggestions:

https://rust-embedded.com
https://www.rust-embedded.com
https://areweembeddedyet.com
https://www.areweembeddedyet.com


Unable to resolve module

This is a neat idea, but I am getting the following error when following the basic setup outlined in the docs:

Hi @thecodehunter, sure thing, here are the details:
Platform: MacOS 10.15.6
React Native version: v14.3.0
Expo:  37.0.8 (bare bones project)
TypeScript: 3.8.3

@thecodehunter Are you available on Gitter / Slack / anywhere else to discuss this?

Ross i would follow up with you via Email with some details.

I published a new version that exports JS files instead of JSX , let me know if webpack is grabbing the files now.

Nice, I am now receiving another error, again with the basic example:

Seems like an issue with having 2 versions of react-native-svg colliding, activity-rings has a dependency on react-native-svg, try deleting lock and do a fresh yarn install, check this out that might help you: https://github.com/react-native-community/react-native-svg/issues/591

Fixed on 1.1.2 please update and let me know.
Thank you!


Community Building in web3

Title: Community Building in web3
Description: Community is the most important thing in web3 and most people forget this, we will talk about how a company, DAO, project can look for community building. Community is important aspect for marketing, growth, BD of a web3 company
Labels for Talk Style: 30 min session/45 min panel
Talk Audience Type: Everyone
About me: I lead community at questbook which is one of the biggest web3 dev community in India, started memedao where we worked with few of the biggest companies in ecosystem including coinbase, polygon, chingari.
Twitter: Raj Karia

You rock. 🚀


Cutomization of SASWork location is not handled correctly

Hi All,
SAS PSD engineer has opened this track<PHONE_NUMBER> with SAS Technical Support as he is trying to redirect the SASWORK location to use an Azure disk as an ephmeral volume using Viya4-Deployment project. He found that the file change-viya-volume-storage-class.yaml, was added to the resources section instead of patches.
The similar issue was raised here https://github.com/sassoftware/viya4-deployment/issues/223
To resolve the above issue, the workaround has been provided here: https://github.com/sassoftware/viya4-deployment/pull/279
The engineer has tried it, but it does not work. According to him, the deployment operator does not start the deployment and remains failed with the error (related to a resource anomaly on the kustomization.yaml ):
Error: The reconcile-once command failed
Caused by:

exit status 1

Thanks and regards,
Ira

Hi,
Could you please help us!
It's for an important French customer and I need a fix as soon as possible.
Best regards

@irchum/@hobsas, Are you still having this issue?

Closing this issue due to inactivity. Please feel free to open new issue if the error still persists.


Store Front menu & link not working after installing

Hello Sir,
I install TastyIgniter in localhost as well as on server by after installation completes the front panel menu and link not redirecting properly, it is redirecting to localhost or main host.
Suggest me if any changes require in config file or in .htaccess

You need to set your RewriteBase value


Remove duplicated GOFLAGS from Makefile

What this PR does / why we need it:
Concurrent PRs having almost the same GOFLAG settings caused duplication
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Optional Release Note:

NONE

/approve
/lgtm


Get build working

@ghaug
Copied the build from your latest PR to SHT31 but it fails and I don't see the difference.
Do you have time to take a look?
https://github.com/RobTillaart/SHT31_SW/actions/runs/4478285461/jobs/7870863891
Run gem install arduino_ci
gem install arduino_ci
./.github/scripts/patch_arduino_ci.sh
arduino_ci.rb
shell: /usr/bin/bash -e {0}
Successfully installed os-1.1.4
Successfully installed rubyzip-1.3.0
Successfully installed arduino_ci-1.5.0
3 gems installed
/home/runner/work/_temp/52529932-30c4-46b7-bb78-dfe7d85b4d03.sh: line 2: ./.github/scripts/patch_arduino_ci.sh: Permission denied
Error: Process completed with exit code 126.

The issue is that patch_arduino_ci.sh is not executable, chmod a+x on the file will fix that.
But now you lost me. Why did you copy all the code into the new library? If you make the three functions virtual in SHT31 you just need to implement these three in SHT31_SW, which is derived from SHT31.

The issue is that patch_arduino_ci.sh is not executable, chmod a+x on the file will fix that.

I am working under windows with a bash shell which shows the x flags set.
(the chmod command has no effect)
$ ls -al
total 20
drwxr-xr-x 1 Rob 197121     0 Mar 21 12:05 ./
drwxr-xr-x 1 Rob 197121     0 Mar 21 12:05 ../
-rwxr-xr-x 1 Rob<PHONE_NUMBER>3 Mar 21 12:05 patch_arduino_ci.sh*

But now you lost me. Why did you copy all the code into the new library?

Sorry, I had no dependency in mind. Your proposal makes sense as it would reduce the maintenance.
It means the SHT31 repo need an update / new release.
Hope to find some time slot this week to work on it.

SHT31.h only needs
virtual bool isConnected();
virtual bool writeCmd(uint16_t cmd);
virtual bool readBytes(uint8_t n, uint8_t *val);

and protected instead of private.

No worries, I'm away from my desk till Friday anyway.

The filemode disappeared when adding / pushing so some google moments later
I found the command for setting the chmod in the add.
git add --chmod=+x patch_arduino_ci.sh


not recognized as an internal or external command

Steps to Reproduce

...Install flutter as mentioned in the video
...Run flutter_console
...Enter flutter --version

Logs

C:\Users\sarav>flutter --verbose create foo
'"C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe"' is not recognized as an internal or external command,
operable program or batch file.

operable program or batch file.

Hi @AravindanSwaminathan
don't forget to update your path
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


can not upload attachment

can not upload attachment. The response code is 500.
The infomation of the file:
fe3b5879-3729-11ee-9e8a-165afc6b6ecb.txt
text/plain
{'file': ('fe3b5879-3729-11ee-9e8a-165afc6b6ecb.txt', <_io.BufferedReader name='./tmp_files/fe3b5879-3729-11ee-9e8a-165afc6b6ecb.txt'>, 'text/plain'), 'orgUuid': (None, '176ff333-3f38-4a03-a289-626369842e3b')}

same problem

Hey, It's working fine at my end ! Please retry once and also try to update package to latest version.


Image from widget not shown

Hi, there
Recently i tried to use story book to present components and found there is a image assets issue.
There is a component Rating as:
class Rating extends StatelessWidget {
  double iconSize;
  double spacing;
  int rating;

  Rating(this.rating, {this.iconSize = 32, this.spacing = 4});

  @override
  Widget build(BuildContext context) {
    return Row(
      children: List.generate(5, (index) {
        return SizedBox(
            width: iconSize.convert(),
            height: iconSize.convert(),
            child: Image.asset(
              index < rating
                  ? "assets/images/icon_star_selected.png"
                  : "assets/images/icon_star.png",
              fit: BoxFit.contain,
            ));
      }),
    );
  }
}

And i tried to present the rating inside story book as:
 Story(
              name: 'Widgets/Rating',
              description: 'Rating widget.',
              builder: (context) => Container(
                    child:  Rating(3) // all the images not shown
                  )
        )

All images inside Rating widget not shown.
My flutter env:
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.1 21C52 darwin-x64, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    ! CocoaPods 1.10.1 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.2)
[✓] VS Code (version 1.67.2)
[✓] Connected device (2 available)
    ! Error: 明棣的iPad is not connected. Xcode will continue when 明棣的iPad is connected. (code -13)
    ! Error: iPad-GG7DJ7P1Q16T is not connected. Xcode will continue when iPad-GG7DJ7P1Q16T is connected. (code -13)
    ! Error: 明棣’s iPad Air 4th is not connected. Xcode will continue when 明棣’s iPad Air 4th is connected. (code -13)
[✓] HTTP Host Availability

Please help to check this issue, tks!

Hi,
I cannot reproduce it – it works for me. Are you sure that the images are shown in the main app, and are broken in storybook only?


Task ignores case in file names

Ex. I have a 'tableList.jsx' and hence I want 'tableList.js' - It will be generated
But if I rename it to 'TableList.jsx' then I would want 'TableList.js' - but it isn't generated as 'tableList.js' already exists.

This task only changes the file extension. Your problem is elsewhere. Try asking on StackOverflow.


Local emulator upload file failing

Does this occur consistently?  Yes
Repro steps:

Created local emulator
Uploaded a sample file to blob container

Action: azureStorage.uploadBlockBlob
Error type: 400
Error Message: Failed with code "400".
Version: 0.9.0
OS: win32
OS Release: 6.3.9600
Product: Visual Studio Code
Product Version: 1.45.1
Language: en

Call Stack
new RestError extension.bundle.js:31:141061
extension.bundle.js:31:442161extension.bundle.js:31:442161
processTicksAndRejections task_queues.js:85:5

@manikantabandaru Are you using Azurite or the Windows specific Storage Emulator?
If you're using the emulator for Windows, make sure you're using version 5.10

@manikantabandaru I wasn't able to reproduce this error by

Making sure the Azurite extension is installed in VS Code
Expanding the "Local Emulator" node in the storage view
Selecting "Start Blob Emulator"
Creating a blob container and uploading a blob via "Upload Files..."

Are you still running into the problem when you follow those steps?


Create a timeline

Add a list of all your activities, achievements, work experience. Add as much info as you can remember. In case you don’t have working experience tell about your pet-projects or student projects. Don’t be shy :)

Thank you for your contribution!


Basic high level API functionality

I added some basic high level API functionality similar to https://github.com/paragonie/paseto . Could you provide some feedback and let me know if I am on the right track?
With this, the creation of a token is possible with Paseto.Builder().setKey(key).setClaims(claims).toString()
Obviously a lot is missing compared to the reference implementation, but I'd like to know if what I am doing is any useful before I continue.

Agreed with @PCouaillier --- further, I'd like any such PR to follow the code style of the remainder of the library, e.g., using the prototype idiom for class definitions as opposed to the explicit class keyword.

@sjudson I have created a small npm package for my needs some weeks ago (pasetohlvl)...
import { addInstanceFactory, Duration, getInstance, MessageFactory } from 'pasetohlvl';

const KnownLocalKey = Buffer.from('DL/1XkMvU6Qw8OXgA430Fm4BdkCmyjnlG+NsZvM5VCc=', 'base64');
const knownPrivateKey = Buffer.from('2lR/xbDCIT1CHec7zz96//iyxQ4xv+MYBtrOVV11k6gPo8OLG1+o+07E+ZwIBI72wA4DD7A+7GwebzCL0fwWkw==', 'base64');

addInstanceFactory('local', async (factory) => ({
    local: await factory.getLocalKey(),
    private: await factory.getPrivateKey(knownPrivateKey),
}));

addInstanceFactory('private', async (factory) => ({
    private: await factory.getPrivateKey(),
}));

const durationOfFiveMinutes = Duration.shortDuration(5);
const durationOfTwoYearOneMounth = new Duration(2, 1);

const longLivingMessageFactory = new MessageFactory({ duration: durationOfTwoYearOneMounth });
const shortLivingMessageFactory = new MessageFactory({ duration: durationOfFiveMinutes });

const validatorFactory = new ValidatorFactory({issuer: 'paragonie.com'})

async function useInstances () {
    const { local } = await getInstance('local');
    const { private, public} = await getInstance('private');
    const longTimeCryptedMessage = await local.encrypt(longLivingMessageFactory.createMessage(hello: world));
    const message = await local.decrypt(shortTimeCryptedMessage);
    const messageValidator = validatorFactory.validator(message);
    // assert.ok(messageValidator.isValid({ OR
    assert.ok(!messageValidator.isValidStrict({
        audience: 'pie-hosted.com';
        tokenIdentifier: '87IFSGFgPNtQNNuw0AtuLttPYFfYwOkjhqdWcLoYQHvL';
        issuer: 'paragonie.com';
        subject: 'documentation'
    }));
}

If you wan't I can translate it to javascript and submit a PR.

@sjudson
Alright, thanks. I will update it and try to follow the code style.
I understand that the changes currently are too light, but you have to start somewhere. And instead of everyone trying to implement it in their own way, we might as well collaborate and try to create some high-level API functionality.
Is there also an RFC for the high-level API? Correct me if I'm wrong, but it looks like the RFC only describes the already implemented low-level API?

The only things I've seen is : https://github.com/paragonie/paseto/tree/master/docs/03-Implementation-Guide

I added some V2 functionality and tests for creating and parsing the token.
@PCouaillier I think it would be nice if you could integrate your package's functionality into this PR (or a new PR, just hoping we can implement a proper high-level API. Whatever the case, I'm willing to help).

When tests are passing I'll give this a proper look over.

I didn't realize the tests were broken. Fixed them now and added issuedBy functionality.

@sjudson
When I run the tests locally, they all pass. However Travis generates the error:
TypeError: Raw key must be provided as a buffer
Any clue on how to fix this?

From the source of sodium I can that the function you call return :
"outputs": [
                {
                        "type": "buf",
                        "name": "publicKey",
                        "length": "libsodium._crypto_sign_publickeybytes()"
                },
                {
                        "type": "buf",
                        "name": "privateKey",
                        "length": "libsodium._crypto_sign_secretkeybytes()"
                }
]

In the output of lib wrapper (dist folder) I can see that it uses Uint8Array maybe. Maybe the solution bellow will solve this issue...
Buffer.from(publicKey, 'binary')

The tests in V2.test.js use the same approach however and they do not result in an error.

I'll try tomorow with some docker containers to reproduce the bug.

Fonctionne avec :

alpine linux + node 11
alpine linux + node 8

J'ai pas de solution...

I should have some time in the next week or so to pull the branch and take a look myself.

I managed to fix the test with help of: https://github.com/sjudson/paseto.js/commit/265f042f0c71c14a699ed0a415966767b4e39d4b
However, node 6 fails because async functions are not supported.

No. It's unlikely this will end up in a release before the end of the month, when Node 6 support drops. So you can drop it from the travis config if you'd like.

Ok, thanks. Tests are finally passing now. Please let me know what the required changes are to the code and I will (try to) fix it.

Any news on this?

Been short of time as of late, not sure when I'll have an opportunity to review, but hopefully soon.


daemon.json example

File: network/bridge.md
In daemon.json example we have wrong configuration IMHO.
default-gateway should belong to the same network as bridge (bip).
So bip network is <IP_ADDRESS>/24 but default gw is set to <IP_ADDRESS> which doesn't belong to <IP_ADDRESS>/24 network

Thanks for sharing the issue. It looks like it was fixed in https://github.com/docker/docker.github.io/commit/5b5a4424d0a182204f9ec5fc9508d50755d25e9c
If the issue still persists, please let us know.


Add volume controls

i am not a great designer but i think its not too ugly... and it works

feedback is always welcome

Change to circle to be consistent with the position handler

@grunjol Awesome work!
A few suggestions:

Dragging the volume control actually drags the whole window, this feels counter intuitive and might hurt UX.
Also it only changes when you click exactly on the volume bar, I think it would be better to increase the 'hitbox'.

That's weird, I am not getting any windows dragging in any moment on volume slider, bar, or icon... is it happening to anyone else?
You are right, the hit area is narrow, i agree with you, i think its related to the use of input[type=range], a pure graphical slider should fix that.

Also, you can control volume dragging the circle, clicking in the bar (narrow as you said) or using the wheel.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

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

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

Questions ?
Please refer to the Backport tool documentation


[dest] refactor backbone part

Refactor backbone part and add config files for b4 and b5 models

b5: 75.28 , b4: 73.99, b3: 73.51 , b2: 71.89 , b1: 68.21 , b0: 64.34

mIoU for dest b0-b5 models b5: 75.28 , b4: 73.99, b3: 73.51 , b2: 71.89 , b1: 68.21 , b0: 64.34

What about Segformer baseline?


RuntimeError: pyplate.yaml not found.

After installing the package using pip: pip install pyplate-hte
I am trying to run the Quick Start code, but everytime , it is generating an error RuntimeError: pyplate.yaml not found
Error given below
File "PyPlateDemo\main.py", line 1, in <module>
    from pyplate.pyplate import Substance, Container, Plate, Recipe
  File "PyPlateDemo\env\Lib\site-packages\pyplate\__init__.py", line 42, in <module>
    from .pyplate import Substance, Container, Plate, Recipe
  File "PyPlateDemo\env\Lib\site-packages\pyplate\pyplate.py", line 43, in <module>
    config = Config()
             ^^^^^^^^
  File "PyPlateDemo\env\Lib\site-packages\pyplate\__init__.py", line 20, in __init__
    raise RuntimeError("pyplate.yaml not found.")
RuntimeError: pyplate.yaml not found.

Same error with this Code:
from pyplate.pyplate import Substance, Container, Plate, Recipe
# solid
sodium_chloride = Substance.solid(name="Sodium Chloride", mol_weight=58.44)

# liquid
water = Substance.liquid(name="Water", mol_weight=18.01528, density=1.0)

# enzyme
enzyme_X = Substance.enzyme(name="Enzyme X")

Thank you for your feedback. This issue should be resolved in pyplate-hte 0.4
If you still have any issues, please let me know.


Are filter and config in spec methods for Viz just like encode is?

I'm having trouble understanding exactly how those should be implemented. I'll take another look tomorrow when I have a clearer head =)

For config we have both an attribute and method. Right now the name of the attribute is vlconfig but once we fix #53 it will be config and configure.
The case of filter is different (and difficult) as filter is both a noun (for the attribute) and a verb (for the method). Not sure how to address that.


Nova 4 support

We would like to use this package in Nova 4.

@milewski, could you please clarify, when do you plan to implement support for Nova 4?

Hi @yburlakov currently I don't have enough bandwidth to go through and upgrade all the packages to nova 4... There are way too many packages that need to be essentially remade...

We use eminiarts/nova-tabs now, the have updated to support Nova 4. Maybe others are happy to use it as well.

Now it works in Nova 4 v2.0.0


Close view with locked value scales

Commit:
Steps to reproduce

Open a config with two views
Lock value scales of tracks in the two views
Close one of the views
Scroll in one of the views

Observed behavior
Error:
HiGlassComponent.jsx:410 Uncaught (in promise) TypeError: Cannot read property 'trackRenderer' of null
    at HiGlassComponent.jsx:410
    at Array.map (<anonymous>)
    at HiGlassComponent.syncValueScales (HiGlassComponent.jsx:409)
    at Object.onValueScaleChanged (HiGlassComponent.jsx:3099)
    at HeatmapTiledPixiTrack.onValueScaleChanged (TrackRenderer.jsx:773)
    at HeatmapTiledPixiTrack.receivedTiles (TiledPixiTrack.js:525)
    at worker.js:490
    at <anonymous>

Expected behavior
No error

Can't reproduce. Might be fixed. Will reopen if it isn't.


authority concerns on the trade issues on US EAR

We are concerned about the authority of boost as recently arised trade issues between US and the rest of the world (especially China). We are looking forward to get your official answers for the questions below:

Is the boost project subject to U.S. Export Administration Regulations (EAR) and classified under ECCN 0D521? Or such AI software is subject to EAR, but not classified under ECCN 0D521?
Is U..S. Bureau of Industry and Security license required for exporting this project to China？

Hi,
You are free to use it provided as long as you include the the following disclaimer and license information.
https://www.boost.org/doc/libs/1_85_0/libs/hof/doc/html/doc/src/license.html


Map tiles out of order/too many

Hello all! I'm fairly new to JS, and leaflet all together. I started putting together a map based on GTA V, and using leaflet to do it, with Google API implementation. It loads the map and markers and layers all fine, but to the side of it, randomly left or right, it adds extra tiles all out of order, so it's not quite like the wrapped or continuous world. In the link below is a snippet I took of it. the 2 bits on the left are reversed, out of order, and the more I zoom in that area, the worse it gets, but the map on the right is fine, and stays fine through any zoom level. Any help would be greatly appreciated.
https://imgur.com/2ORGkM6

Could you kindly provide your code?

Absolutely, the site the map is located at is bythebry.com/map.html. Code is linked.
map.html: https://pastebin.com/nejs4W7n
leaflet.css: https://pastebin.com/p9pAfBYx
leaflet.js: https://pastebin.com/nYjAyMZC

@Beauyoung
It is better (and a very good practice) not to provide the entire source code. The best way way is to find out the part that is creating the problem and provide only that (n a stripped-down manner).
Do you think you can isolate the specific part of Leaflet that is creating the problem? (Maybe it is the creating of a tile layer, or maybe Leaflet Search is causing it.) You may then be able to identify the cause and solve the problem by yourself. If the problem still remains, I will be happy to be able to help.

Yeah, this is a simple case of Leaflet requesting tiles with negative tile coordinates, and the webserver replying with a HTTP 301 redirect, similar to this case.
Use the bounds option of L.TileLayer so that Leaflet will request tiles withing the given box.
Also, I suggest reading "How To Ask Questions The Smart Way" and "http://www.chiark.greenend.org.uk/~sgtatham/bugs.html". It will improve your bug-reporting skills.

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.
If you are really sure that this is a bug in leaflet, or a feature request, please change the wording to make it look like a bug report.


Accessing EvaDB tables using Postgres query engine

Search before asking

[X] I have searched the EvaDB issues and found no similar feature requests.

Description
Currently, it is not clear whether we can access EvaDB tables using a different query engine like Postgres. This will be useful when we want to leverage Postgres features like window functions and string_agg on the output of EvaDB tables. One concrete workflow that benefits from this is RAG-based question-answering:

Create vector index of a document in EvaDB.
Use similarity to retrieve top-5 similar chunks to the user question.
Concatenate all the retrieved chunks in Postgres using group by and string_agg.
Run an LLM function on the concatenated output.

If this is not possible, we would need to add support for STRING_AGG and GROUP BY 'chunks' natively in EvaDB.
Use case
No response
Are you willing to submit a PR?

[ ] Yes I'd like to help by submitting a PR!

Claimed for EvaDB Project 2 @jarulraj


Seems to clash with highlight on yank

Whenever I activate this plugin I lose highlight on yank. I'm not doing anything special, I just have this in my init.vim
  augroup highlight_yank
      autocmd!
      autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank()
  augroup END

What does it mean to lose highlights?

Sorry I should have made this a bit more clear. Highlight on yank no longer works at all. I can yank as much as I want but my yank highlighting never appears.

I also tried and it was highlighted successfully
vim.cmd [[au TextYankPost * silent! lua vim.highlight.on_yank()]]

@cideM
Have you solved the problem yet?
If it is resolved, please close it.

I no longer use this and I'll just assume it's working. Sorry for not following up on this.


US_3.22: Do not reload the application overview page on changes

As
organizer
I want to
mark multiple applicants as accepted and rejected very fast
in order to
save time
Tasks
Acceptance criteria

The application overview page is not reloaded when the state of an application changes

@drs-m Will implement this 😄

Should be dead easy like this, you only have to insert a :remote => true. But it doesn't seem to work.


Trying to create a new Azure Functions app from Visual Studio Code on Mac, this is what I get

Repro steps:

Action: azureFunctions.createNewProject
Error type: Error
Error Message: Command "dotnet new --list" failed with exit code "null":
Template Instantiation Commands for .NET Core CLI.
Usage: dotnet new [arguments] [options]
Arguments:
template  The template to instantiate.
Options:
-l|--list         List templates containing the specified name.
-lang|--language  Specifies the language of the template to create
-n|--name         The name for the output being created. If no name is specified, the name of the current directory is used.
-o|--output       Location to place the generated output.
-h|--help         Displays help for this command.
-all|--show-all   Shows all templates
Version: 0.8.1
OS: darwin

For the record I do have dotnet installed. I ran dotnet in the terminal and this is what I got:
dotnet new --list
Template Instantiation Commands for .NET Core CLI.
Usage: dotnet new [arguments] [options]
Arguments:
template  The template to instantiate.
Options:
-l|--list         List templates containing the specified name.
-lang|--language  Specifies the language of the template to create
-n|--name         The name for the output being created. If no name is specified, the name of the current directory is used.
-o|--output       Location to place the generated output.
-h|--help         Displays help for this command.
-all|--show-all   Shows all templates
Templates                 Short Name      Language      Tags
Console Application       console         [C#], F#      Common/Console
Class library             classlib        [C#], F#      Common/Library
Unit Test Project         mstest          [C#], F#      Test/MSTest
xUnit Test Project        xunit           [C#], F#      Test/xUnit
ASP.NET Core Empty        web             [C#]          Web/Empty
ASP.NET Core Web App      mvc             [C#], F#      Web/MVC
ASP.NET Core Web API      webapi          [C#]          Web/WebAPI
Solution File             sln                           Solution

@SiavoshZarrasvand what version of the dotnet cli are you on?

Hey! It was solved by changing dotnet version, from 1 to 2. Thank you. This is resolved.


bugfix: SearchServlet forgot to copy the user to WeblogPageRequest.

Template model of the search results page always thought the user was not logged in.
fix is here f1f80002ace0c5983bb4f7437110b4216e62cba9 other commit tries to improve readability a little bit.

@gregh3269 this should fix the issue you mentioned on the dev list.


Bump patch versions for Go 1.17 and 1.18

Bump patch versions for Go 1.17 and 1.18 to the latest available at https://go.dev/dl/
/hold
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

removed lgtm. Sorry! I just saw you held this. Let me know when you want it reviewed

/unhold

/lgtm

/approve


CURL revocation fails on Windows

I don't know when or why but on some client the revocation checks fail and the NorthstarLauncher is not able to establish an ecrypted connection using https. It seems related to schannel tho.
The error message (in the console window): curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012).
Sometimes it seems not to throw any error message (but that could be the issue with a user not being capable of finding the console window? since it was not logged in any logfiles).
Also the error message gets translated to the clients OS language (german Windows => german error message).
adding curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE); on all requests seems  to fix the issue.
Not sure how much this would be related to security but I assume in case a certificate gets revoked the client would not be aware of this when disabling it in CURL?

[ ] (Move CURL stuff to own function so we don't have to edit all occurances?)
[ ] add switch like -nosslrevocation to optionally disable revocation thingy

They should be asked out about their Windows version. I think curl uses WinSSL and thus by extension system's root trust store. And outdated/non-updated Windowses might have their stores outdated and incompatible with some newly issued certificates.
Although it should technically then be "expired", not "revoked"...
If this is indeed the issue, then one workaround could be shipping an up-to-date trusted CA list and using that instead


handle TypeError in validator of PydanticObjectId

the initializer of bson.ObjectId might raise TypeError(f"id must be an instance of (bytes, str, ObjectId), not {type(oid)}").
Pydantic validators should raise ValueErrors or AssertionErrors instead.

Thank you for the PR! It will be published soon


Remove nonexistant option mention from docs [skip ci]

Hi,
i didn't find the option requestFunction in CheerioCrawler initialization docs and also in code so
this removes mention of in docs for ignoreSslErrors.
Cheers

Thanks for the fix @Masa331.


only zeros published on /gx5/nav/heading when use_enu_frame=true

Hi,
When setting use_enu_frame to true the heading in the topic /gx5/nav/heading is constantly zero.
Maybe this is on purpose because heading is usually wrt north (?) but if not, its missing.
-Yair

Hi Yair,
Just committed a fix for this.  Please let me know if you have any other issues.
Nathan

@nathanmillerparker awesome thank you. can you please advance the submodule commits from within the microstrain_inertial_driver, or create a latest release? submodule "common" currently points to 32af4d9 so we cannot download the zip version and if we clone the microstrain_inertial_driver repo we need to manually checkout main and pull in the the "common" submodule which then always shows up as a change to be commited from our outer repo.

btw I tested the heading and the values dont seem right:
"""
heading_deg: 4671.82861328
heading_rad: 81.5387878418
status_flags: 0
"""

Hi Yair,
Sorry about that.... I've fixed this and it is awaiting Rob's review.  This should have never happened as I tested the fix prior to commit, but must have undone my last change before the commit (changing from degrees to radians in part of the calculation.)
We will also get the submodule commits worked out.  I'll let you know when it's done.

Hi @YairBarzilayBWR,
The following PRs will update the submodules for the parent repo:
LORD-MicroStrain/microstrain_inertial#150
LORD-MicroStrain/microstrain_inertial#151
We will be making a release soon, but there are a few other things I would like to get in before making a release. It will probably be released to the ROS package index this Friday if that is important to you.

Hi @nathanmillerparker and @robbiefish
Thanks for your responses!
I'm still having issues with the setup.
I tried downloading the release and compiling, i could be missing something but the release seems to only contain ros_mscl, no microstrain_inertial_driver and all of its sub modules.
downloading the repo as a zip is also an issue becuase the submodules are missing. So the only option left is to clone recursive, which is the least favourable option for us.
For now i got it working. ill be testing the heading again and will let you know in case i find any other issues.
Thanks!

Heading seems to be working as intended, closing the issue. Thank you...


chore(master): release 0.56.0-alpha

:robot: I have created a release beep boop
0.56.0-alpha (2024-03-01)
Features

new (38efe30)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.56.0-alpha :sunflower:


Update text below "Reviewed Preprint" status in aside

Change from:
This preprint was published after peer review by eLife.
To:
This Reviewed Preprint was published after peer review by eLife.

FYI @discodavey


[FIX] enforce correct lowest p-value

Closes #364

Changes proposed in this pull request:

p-values are clipped in null_to_p such that they have to be in the range [smallest_value, (1 - smallest_value)]
added test to check behavior.

the solution came from stackoverflow

Thanks! I don't believe I have write access to this repository so I cannot merge this pull request.

Oh well let's rectify that right now. I'm inviting you to the neurostuff organization and once you're on that I'll give you write access to this repo.

Just accepted membership!


3D STL Renderer

Adds the 3d renderer in the create form
Implements resizing of canvas
Fixes some graphical bugs with the upload dropzone sizing. The dropzone now fill the whole containers height correctly
Height of dropzone fixed:

3d Renderer:

Looks like there's merge conflicts that need to be resolved, particularly around the new fileCard component. Should we add the fileCard component at the top of the page above the 3D view?
Another thing I noticed is that if you select a file, click Next, and then go back, there no longer appears to be any file selected.

With the 3D Renderer I dont see a point to the file card. Maybe I'm wrong but the card would add no information. The file title, and the change button are sufficient to replace the file. Let me know what you think.
Also - I fixed the back button bug. Thx for spotting that.

With the 3D Renderer I dont see a point to the file card. Maybe I'm wrong but the card would add no information. The file title, and the change button are sufficient to replace the file. Let me know what you think.
Also - I fixed the back button bug. Thx for spotting that.

I guess it's not necessary anymore, but it just seems a shame to waste the fileCard. Oh well. I think you're good to remove it


User Posted Reply rows not found

I have been working with a downloaded version of the Mumin Medium dataset to try and retrieve user information based on replies they have made.
I keep trying to retrieve a User's Row ID via the 'user_reply_to_tweet' relationship dataset and there is no corresponding index for some users.
For example:
In the (reply, reply_to, tweet) relationship dataset the fifth src value is 406564.
I then try to retrieve the User's Row ID via the (user, posted, reply) relationship dataset using 406564 as the tgt value.
The row cannot be found, upon closer inspection the dataset ends with the highest row value being 406562.
I then looked into this further and have found 7201 rows failing to connect a reply to a user.
Any help you can give in resolving this would be great. Is this a result of users removing their accounts?
I have attached the code I have used below:
bearer_token = ""
dataset = MuminDataset(
    twitter_bearer_token="",
    size="medium",
    include_replies=True,
    include_articles=False,
    include_hashtags=False,
    dataset_path="mumin-medium.zip",
    include_tweet_images=False,
    include_extra_images=False
)

# Compile
dataset.compile()

# Get all the users
users_list = dataset.nodes["user"]

# Get the reply and tweet rel connection values
reply_reply_to_tweet = dataset.rels[('reply', 'reply_to', 'tweet')]
reply_reply_to_tweet.columns = ["rrt_" + c for c in list(reply_reply_to_tweet.columns)]

# Get the user posted reply rel connection values
user_posted_reply = dataset.rels[('user', 'posted', 'reply')]
user_posted_reply.columns = ["upr_" + c for c in list(user_posted_reply.columns)]

# Join both relational datasets to retrieve the user rows for each reply
merged_dataset = pd.merge(reply_reply_to_tweet, user_posted_reply, how="outer", left_on=["rrt_src"], right_on=["upr_tgt"])

# Locate rows with no connection
merged_dataset_only_NaN = merged_dataset.loc[merged_dataset["upr_tgt"].isnull()]

print(merged_dataset)
print(merged_dataset_only_NaN)

Hi @Luke-Prometheus and thanks for the feedback!
My guess would be that they are deleted accounts, yes. But just to make sure that's actually the case, can you post a handful of the user IDs which are not appearing in the (User)-[POSTED]->(Reply) relation? The IDs in the relation dataframe are the indices of the node dataframe.

Hi Luke!
Thanks for the code demonstrating the issue, it made it quicker to investigate.
It looks like the reply tweets in merged_dataset_only_NaN  are not available.  If you merge that dataframe with the reply dataframe:
pd.merge(merged_dataset_only_NaN, dataset.nodes['reply'], left_on='rrt_src', right_index=True
you will see that none of the resulting ‘text’ column values have any text, and all of the ‘created_at’ column values are NaT. This indicates that we were unable to retrieve those tweets (and thus those users).
If you manually look up those tweet IDs on twitter.com you will see a variety of reasons given as to why they’re unavailable (e.g., user has been suspended, the tweet has been deleted).
I hope that addresses the question (TL;DR those replies are no longer available, and thus we can’t access the user info), but let me know if not.

Hi both, thanks for the quick reply.
I've copied a handful of the (reply, reply_to, tweet) src column values that do not match any (user, posted, reply) tgt values.
406564.0, 406565.0, 406571.0, 406573.0, 406576.0, 406577.0, 406578.0, 406579.0, 406580.0, 406581.0, 406591.0, 406592.0, 406593.0, 406594.0, 406595.0, 406596.0, 406597.0, 406598.0, 406599.0, 406600.0
That does explain the issue, i will work around it. I presume the rels file wasn't updated in that case?
Thanks for the support.

That does explain the issue, i will work around it. I presume the rels file wasn't updated in that case? Thanks for the support.

That's right, yes. The POSTED relations are directly extracted from the tweet data, so if the tweets are not available then the scripts won't be able to create them. The REPLY_TO relation is included in the raw downloaded dataset and will thus contain all of the original (reply_id, tweet_id) pairs.
Closing the issue as it seems that your issue has been resolved. If not then please reopen it 🙂


Does not compile without required typings

When using in my unit test I have the following errros:
31 07 2018 13:57:04.950:ERROR [compiler.karma-typescript]: node_modules/angularjs-testbed/types/ComponentFixture.d.ts(17,26): error TS2304: Cannot find name 'JQLite'.

31 07 2018 13:57:04.950:ERROR [compiler.karma-typescript]: node_modules/angularjs-testbed/types/DebugElement.d.ts(1,23): error TS2688: Cannot find type definition file for 'jquery'.

31 07 2018 13:57:04.950:ERROR [compiler.karma-typescript]: node_modules/angularjs-testbed/types/DebugElement.d.ts(3,27): error TS2702: 'JQuery' only refers to a type, but is being used as a namespace here.

31 07 2018 13:57:04.951:ERROR [compiler.karma-typescript]: node_modules/angularjs-testbed/types/DebugElement.d.ts(5,39): error TS2304: Cannot find name 'JQLite'.

31 07 2018 13:57:04.951:ERROR [compiler.karma-typescript]: node_modules/angularjs-testbed/types/DebugElement.d.ts(7,21): error TS2702: 'JQuery' only refers to a type, but is being used as a namespace here.

Maybe the required @types should be added as dependencies or at least peerDependencies?

can you please check if it's ok now, I don't have non angularjs project to check it at hand right now

Cannot see new version right now: No matching version found for<EMAIL_ADDRESS>

Sorry, my bad, jquery is still needed as devDependency at least, pushing the fix now

yes but could you also publish to npm? still on 0.3.0 as latest

There was some problem with npm token, published now


Answer key and Image

Hi,
here is a sample question

{
    "type": "single-select-item",
    "question": "What U.S. President committed an unpardonable sin by kissing the Queen Mother on the lips?",
    "options": [
      "George W. Bush",
      "Jimmy Carter",
      "Barack Obama",
      "Lyndon B. Johnson",
      "Ronald Reagan"
    ],
    "answer": [1]
  },

What the meaning of answer": [1] ?
is 1 stand for George W. Bush?
or
The answer only 1 ?
i tried answer George W. Bush  but wrong...
And,
How to change image logo (Music,Sport,Entertaiment etc)
Should i change the png or the xml?
Thank you very much ^_^

The numbering is zero based.
When looking at the options, the index would be from 0-4, giving each item a unique position.
Changing the images requires both items to change, depending on the Android version you want to run this on.
On another note: This is a sample which I would not recommend for beginning with Android.
In case you want to learn Android in general, we've got a course at Udacity for that.


typescript support ☑

changed project to typescript and did my best to type the selection JSON file from icomoon.io, I quite did the similar approach in my existing project when this package still doesn't support typescript.

Thanks for this work. I will evaluate this in more detail. I am waiting for a more suitable time for this. @davidkhierl

I generated an selection.json file and tried it. But I am getting some errors. What is this all about? @davidkhierl

Hmmm that’s odd seems like the selection.json got updated it have different
properties now
On Tue, Sep 8, 2020 at 11:51 PM Aykut Kardaş<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/7966133/92521298-ac7ff480-f225-11ea-8d47-d41117a2c3bc.png
I generated an selection.json file and tried it. But I am getting some
errors. What is this all about? @davidkhierl
https://github.com/davidkhierl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aykutkardas/React-IcoMoon/pull/13#issuecomment-689100563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7LZGOKGZSBDZVVNZKMFS3SE2DLTANCNFSM4QJOCIMA
.

Hmmm that’s odd seems like the selection.json got updated it have different properties now

I understand the cause of that problem, but there are a number of other shortcomings. Your development is almost available, but still a huge change. I'll merge this once I'm sure enough.

I understand, some of the method won’t work anymore especially the getting
of the current icon and path as the json file have different properties
now. A quick workaround is make the iconSet props to a generic type or cast
it directly
On Thu, Sep 10, 2020 at 11:06 AM Aykut Kardaş<EMAIL_ADDRESS>wrote:

Hmmm that’s odd seems like the selection.json got updated it have
different properties now
I understand the cause of that problem, but there are a number of other
shortcomings. Your development is almost available, but still a huge
change. I'll merge this once I'm sure enough.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aykutkardas/React-IcoMoon/pull/13#issuecomment-690035923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7LZGJHNFSQ2NTD3OKKJPTSFB3IXANCNFSM4QJOCIMA
.

updated the "iconSet" types, if this got pushed thru I'm planning to have it's own context api for the selection.json so we can utilize hooks for ease in the future, please let me know what you think


Multiple Sections (with multiple lines depending on session)

Hi there,
Thank you very much for the tutorial!
I do not have any issue with your work but trying to push it a bit more on some levels. I have trouble getting the tableView section in the collectionView. I have multiple sections and each of them do not have the same number of rows.
For example (see picture bellow);

Section 0: One row, Two collectionView cells (supposed to be one cell)
Section 1: One row, Two collectionView cells
Section 2: Two rows, Two collectionView cells on the first row and One cell on the second row (using flow layout delegate)
... there is a lot more...

So, I would need the section index in the collectionView (numberOfItemsInSection) to set the appropriate number of cell. For some reason the "section" parameter of the function does not give me the right one. Any idea?

Sounds like you're running into limitations using the tag property to indicate bo h the row and section the collection view is in. I would try subclassing UICollectionView and add an indexPath property and use that in place of the tag. Try it and let me know how it goes. I'm away right now but I'll try to take a look when I get back.
Ash Furrow
https://ashfurrow.com/

Thanks for the tip. Didn't manage to make it work yet. I'm still learning swift.
So your idea is to create a class (TableViewCell.swift file);
`
class TableViewCell: UITableViewCell {
@IBOutlet private weak var collectionView: CustomCollectionView!
}
class CustomCollectionView: UICollectionView {
var indexPath: NSIndexPath?
 required init(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)!
}

override func awakeFromNib() {
    super.awakeFromNib()
}

}
extension TableViewCell {
func setCollectionViewDataSourceDelegate<D: protocol<UICollectionViewDataSource, UICollectionViewDelegate>>(dataSourceDelegate: D, forIndexPath indexPath: NSIndexPath) {

    collectionView.indexPath = indexPath
    collectionView.delegate = dataSourceDelegate
    collectionView.dataSource = dataSourceDelegate
    //collectionView.tag = row
    collectionView.setContentOffset(collectionView.contentOffset, animated:false) // Stops collection view if it was scrolling.
    collectionView.reloadData()
}

var collectionViewOffset: CGFloat {
    set {
        collectionView.contentOffset.x = newValue
    }

    get {
        return collectionView.contentOffset.x
    }
}

}`
In the ViewController.swift file
 let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! TableViewCell             cell.setCollectionViewDataSourceDelegate(self, forIndexPath: indexPath)             return cell
But the problem is in the extension ViewController. The collectionView parameters for all the delegate and datasource methods do not have the "indexPath" property set in the subclass "CustomCollectionView". I'm sure i'm missing something pretty important part here but giving my current swift skills I cannot see what...

OK, this is good, you're almost there. You now need to access the property when a cell is to be configured or selected, using conditional casts to the collection view subclass..
func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
    let cell = collectionView.dequeueReusableCellWithReuseIdentifier("Cell", forIndexPath: indexPath)

    if let customCollectionView = collectionView as? CustomCollectionView {
        cell.whatever = /* access data using customCollectionView.indexPath and indexPath */
    }

    return cell
}

func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
    guard let customCollectionView = collectionView as? CustomCollectionView else { return }

    print("Collection view at index path \(customCollectionView.indexPath) selected inner index path of \(indexPath)")
}

Index paths are already a bit tricky, and we're using next index paths, so it's normal to have some trouble here. Keep and it and I'm sure you'll figure it out :+1:

Awesome. Works like a charm. Thank you for your time and help!

Gad you got it to work!

hi morgan, i'm getting error EXC_BAD_ACCESS at collectionView.indexPath = indexPath and collectionView.indexPath found nil...


Longer downtime kills the inverter

There could be a scenario when you have been reading from the inveter and it suddenly fails (think some firmware upgrade of something) If the connection cannot be reestablished within some time there is a risk we will try to reconnect to the inverter this fails and then never reconnect again.
In this case it would make sense to actually try reconnecting for a while again... it is hard to tell when a connection should be permanently abandoned. But I would say maybe 24h is reasonable with an attempt every 15 minutes?
If this still fails a message should be issued that the connection has been permanently abandoned and that a reboot is needed to retry or the inverter would need to be reconfigured.

This would also fix #155

This is now fixed. If a inverter has been previously read we will continue trying to connect to it perpetually every 5 minutes, if another inverter is configured during this time it will override the old one and the task will die.
This fixes eg. starting the eGW without network or loosing connection with the inverter for a longer period.
For network loss we could probably do better with some callbacks but this is a lot more complex.
A caveat could be that a new Inverter should be created if the open fails - we have experienced some issues with reconnection to some real inverters. But we'll do that if we actually get this problem.