Help fast

I need help with the mine reset plugin it was working fine then it just stop when I type in the command /mine nothing comes up not even it saying this is not a command I run a prison sever and I need to know how to fix this or even restart the plugin and I'll have to do the mines over again I don't care as long as I can get this plugin to work help  get me it<EMAIL_ADDRESS>

Are there any errors shown in the console?

Em I'm not sure I'll go look and show i

You*

Their is one error I just seen but I think it's for killmoney says error: "call to a member function getDamager() on null" what dose that mean

Can you upload the entire console.log from the session and any error files generated? I need to know where that error is generated

[Image]
Like this
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 1:59 PM -0700, "Falkirks" <notifications<EMAIL_ADDRESS>wrote:
Can you upload the entire console.log from the session and any error files generated? I need to know where that error is generated

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/Falkirks/MineReset/issues/20#issuecomment-217556986

The image didn't attach correctly

Also have u ever used the plugin Slapper before ? Saying there's a error with that I'm not sure if it just with me or if it's happening to other people
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 2:00 PM -0700, "Andrew Martin" <andymcpe99<EMAIL_ADDRESS>wrote:
[Image]
Like this
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 1:59 PM -0700, "Falkirks" <notifications<EMAIL_ADDRESS>wrote:
Can you upload the entire console.log from the session and any error files generated? I need to know where that error is generated

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/Falkirks/MineReset/issues/20#issuecomment-217556986

Wait what do u mean
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 2:01 PM -0700, "Falkirks" <notifications<EMAIL_ADDRESS>wrote:
The image didn't attach correctly

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/Falkirks/MineReset/issues/20#issuecomment-217557414

[Image]
There's a fresh one
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 2:06 PM -0700, "Andrew Martin" <andymcpe99<EMAIL_ADDRESS>wrote:
Wait what do u mean
Get Outlook for iOShttps://aka.ms/o0ukef
On Fri, May 6, 2016 at 2:01 PM -0700, "Falkirks" <notifications<EMAIL_ADDRESS>wrote:
The image didn't attach correctly

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/Falkirks/MineReset/issues/20#issuecomment-217557414

The images won't appear on GitHub.

Have you got Skype or kik or email I email u thought we were talking on emails

@andrew33212 I would prefer if you attached the stuff to the issue here on GitHub, but if you can't, you can email me at<EMAIL_ADDRESS>and I will do it for you.

Em I'm new to this website and I'm not really sure how to work this so I'll just email u it and hopeful u can help me out


Ignoring paths

How do you make imdone ignore paths? (bower, npm are the main culprits showing a bunch of todos that aren't related to my projects)

I just figured out that it is ignoring some paths, but not when my bower_components folder is in a different location than the root of the project. It would be nice to follow the "Exclude VCS ignored paths" setting in the global options.

I agree, that would be nice, but in the meantime, You can ignore paths by adding to the exclude array in .imdone/config.json.  It should be in the root of your project.

:+1:  .imdoneignore or something would be nice

Thanks for the suggestion guys!  Just published v1.1.17 with .imdoneignore support!

I just did ln -s .gitignore .imdoneignore

@iansoper imdone-atom now has it's own setting "Exclude VCS ignored paths".  I decided against the global setting because it's not recommended to rely on settings that aren't in your package.  Thanks for the suggestion!

@piascikj That's great, I'll try it out.


Add support for storing data in Azure Tables

Description and Motivation
Some data, which doesn't require particular access patterns and rich features of Cosmos DB, can be stored in Azure Tables to reduce the operational cost. This adds the ability to specify whether a collection should be stored in Cosmos DB SQL or Azure Table Storage.
Some implementation details:

the storage type is set in the main configuration file (appsettings.ini). When using Azure Tables, reference the existing Storage Account connection string, already used to support Azure IoT jobs.
Azure Tables have a limit of 1MB per record and 64KB per column, so the choice of storing data in Azure Tables must take these limits into account. The code splits data in 12 columns to overcome the limit of 64KB, and throws an error if records are too big to fit.
all table storage records are stored in the same partition; this is not an issue given the current use cases, but future scenarios might require a different partitioning strategy.

Change type

[ ] Bug fix
[x] New feature
[ ] Enhancement
[ ] Breaking change (breaks backward compatibility)

Checklist:

[x] All tests passed
[x] The code follows the code style and conventions of this project
[ ] The change requires a change to the documentation
[ ] I have updated the documentation accordingly

This change is

⛑ Work in progress - Do not merge yet ⛑

code complete and ready for review


Trying to get property of non-object in yii2

When am trying logging out user in my app it gives me this error Trying to get property of non-object
Please Help

that's because you're trying to get property of user, but there is no user object for you if your are guest

You need to give us more information on how to reproduce this issue, otherwise there is nothing we can do. Please read CONTRIBUTING.md file for more information about creating bug reports. Thanks!

Aky let me share codes am using admin lte theme but a tried to modify logout button inorder user clicks the system will log him/her out.Codes are this is header.php

<?= Html::a('HRMS' . Yii::$app->name . '', Yii::$app->homeUrl, ['class' => 'logo']) ?>

                    <?php echo "Logout:",( Yii::$app->user->identity->username) ; ?>

                            <?= Html::a(
                                'Sign out',
                                ['/site/logout'],
                                ['data-method' => 'post', 'class' => 'btn btn-default btn-flat']
                            ) ?>


docker-init command fails with error checking for libzip... not found

I'm getting this error from docker-init on windows 10 with node 10.11.0 and docker 2.0.0
checking for libzip... not found
configure: error: Please reinstall the libzip distribution

This was fixed by adding this line to the Dockerfile:
  libzip-dev \
Workaround Dockerfile command:
RUN apt-get update \
    && apt-get install -y \
    wget zip unzip \
    libfreetype6-dev \
    libjpeg62-turbo-dev \
    libpng-dev \
    sqlite3 libsqlite3-dev \
    libssl-dev \
    libzip-dev \
    && pecl install mongodb \
    && pecl install redis \
    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
    && docker-php-ext-install -j$(nproc) iconv gd pdo zip opcache pdo_sqlite \
    && a2enmod rewrite expires

apt install libzip-dev

E: Unable to locate package libzip-dev


AssetImage docs improvements

AssetImage docs has a "Fetching assets" section but that section doesn't actually tell you how to fetch an asset, it just tells you how to specify a name when you're not in a package.
We should have a section that talks about how to actually fetch an asset (i.e. how to use the class).

It can probably just point to ImageProvider, which has a "Using an ImageProvider" section.

I would like to work on this issue. Can I please be assigned to this?

@Swayam221 No need to be assigned, just submit a PR! Thanks, looking forward to it!

@Hixie

It can probably just point to ImageProvider, which has a "Using an ImageProvider" section.

So, should I just include a link to the docs for ImageProvider there?

Well you'd want to make the text flow nicely, and so on. I haven't looked at exactly what would need to happen, if I had, I would just make the change directly. :-) Figuring out what the change should be is 90% of the work.

@Hixie I think if we point it to this link https://flutter.dev/docs/development/ui/assets-and-images#loading-images-1 , it will be well understandable.
Can you please guide me so that I can add an hyperlink in the src/painting/image_resolution.dart file for this?

I recommend starting with the contributing docs:
https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md

@Hixie please review #78173

I think we could use also this issue to fix some instances of AssetImage in the ExactAssetImage documentation.
See lines 1010 and 1020 below:

@mateusfccp what do you exactly mean by 'fix some instances of AssetImage' ?

@Hixie review requested on PR #78713

@mateusfccp what do you exactly mean by 'fix some instances of AssetImage' ?

As it shows in the image I provided, there's some samples on the ExactAssetImage documentation that uses AssetImage instead.

@mateusfccp Oh yes, I see. Should I change this also @Hixie ?

Let's keep each individual issue separate for now, it becomes more complicated when things are mixed. Separate bug, separate PR, etc.

@Hixie I see, I am going to open a separate PR, then. Is it a must to create an issue too?

It's ideal to have one issue per PR and one PR per issue at least until you are an experienced contributor. :-)


Pulsar : could git-remote-https be broken?

Describe the bug
Install pulsar 109.0 on nixos stable
Steps To Reproduce
Steps to reproduce the behavior:

Install pulsar 109.0 on nixos stable
Connect to github
Fetch
error fatal : 'remote-https' seem to be a git command, but could not be executed. could git-remote-https be broken?

Expected behavior
Be able to fetch pull and push
Notify maintainers
@COLAMAroro
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.84, NixOS, 23.11 (Tapir), 23.11.20240406.e38d7cb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

I've been able to reproduce the issue and find the root cause.
git-remote-httpsis a independent binary of just git. Looking at how to fix this proprely (should not be that complicated). Not sure I can easily backport it to 23.11 tho

Well, it wasn't as hard as I thought it was going to be.
Probably not going to be able to backport because of the bump from 1.109.0 to 1.114.0, but feel free to try out the patch in #305825, targeting Unstable :)


Background Location Storage

Hello,
i always get the same error when trying to call getLocations().

Retrieving locations failed code: 21: message: library routine called out of sequence

Here my config
this.backgroundGeolocation.configure(callbackFn, failureFn, {
                desiredAccuracy: 10,
                stationaryRadius:5,
                distanceFilter: 5,
                activityType: 'Other',
                debug: true,
                stopOnTerminate: false
            });
            this.backgroundGeolocation.start();

Hi, are you using latest version 2.1.2?

Hi, yes unfortunally i was on 2.0.0. I'm no on 2.1.4 and database creation works as expected. But when i switch to Background mode and simulate some locations they aren't stored in the db. You may have any adwise?

Locations are only saved when url option is provided and there is response from server. You can give fake url to test it.

@mauron85 Are you saying that if url option is not defined, then no locations will be saved in local db?

exactly

I can add config option to persist location at all times. If you guys need it.

@mauron85 This is how I would like the plugin to work:

If Url option is not defined, all locations updates when App is killed/Background/Foreground are recorded in local db. When App is in foreground or background in addition to storing location in local db, location callback function is triggered. User would be able to do whatever he wants in the callback func.

When Url option is defined. Location updates would still be stored in local db as defined in point 1. In addition, all locations stored in local db would be sent in http post to Url defined. If the response is 200 or successful the stored locations in local db are deleted. Http post takes place only as per interval defined in IntervalForPost config option.

In both above points, user still can utilize backgroundGeolocation.getLocations and delete locations stored in db with backgroundGeolocation.deleteAllLocations
Hope this makes sense.

Yes, it does make sense.

Currently, as far as I know location updates are only stored in local db when App is killed.

Now coming to my question earlier, I would like to know whether locations are stored in db when Url option is not defined?

common answer to this is that behaviour was changed in 2.x to only save locations when url is set and http post fail.

Ohk and that is why I was having trouble with locations not being stored in local db when App was killed. Is there a quick fix to this? I would like the plugin to store locations in db when url is not set.

Currently no. Sorry. But I will probably release update soon.

If Url option is not defined, all locations updates when App is killed/Background/Foreground are recorded in local db. When App is in foreground or background in addition to storing location in local db, location callback function is triggered.

ok, it will be possible as soon I implement row limit on location table, so old location records will be replaced by newer ones. Without this db can grow very large, because people might tend to forget clean up db with deleteAllLocations....

After some thinking I came to this. Hopefully you will agree on this.

If option.url is not defined, all locations updates are recorded in local db. When App is in foreground or background in addition to storing location in local db, location callback function is triggered. Number of location stored in db is limited by option.maxLocations a never exceeds this number. Instead old locations are replaced by new ones.

When option.url is defined. Location updates are also stored in local db. In addition, each location is also immediately posted to url defined by option.url. If post if successful, the location is marked as deleted in local db. All failed to post locations will be coalesced and send in some time later in one single batch. <TO_BE_DEFINED>Batch sync takes place only as per interval defined in IntervalForPost config option.</TO_BE_DEFINED>.

Sounds reasonable to me.

@mauron85 Looks good however, can you please elaborate on the difference. I didn't get where the 2 proposals differs.

Basically I've grabbed your description. The very small differences are:

stored into db at all times vs. App is killed/Background/Foreground are recorded in local db
location is immediately posted to server vs. Http post takes place only as per interval defined in IntervalForPos
Failed to post locations are coalesced and posted as single batch sync.

I had just updated my comment. Sorry, took sometime to figure out the difference.

@mauron85 I did update my last to last comment. Hope you didn't miss it

Re-posting last comment, when it was being edited while @mauron85 commented. May have missed this.
If I understand correctly, the difference is when url is defined, locations updates are immediately sent to server, incase of a failed post it is stored in database. These stored locations are then posted to server based on a defined time interval.
I have 2 issues:
Suggestion: Considering case, http post only on interval defined: When a location update is received it stores the location in db. When the interval is hit, the plugin would check if there are any locations in local db to be sent to server -> if yes -> http post locations -> delete locations if successful. This would make the plugin code simple, yet effective in comparison to posting on location updates as well as on defined time interval. (Ppl who may require immediate http post on location update can set a short time interval)
I think http posts on location updates may have scalebility issues. When there are many phones sending locations on update, it may create a load which cannot be judged upfront. However, when http posts are defined as per a minimum time interval we can atleast judge the load.

Actually it would be possible to set different url for batch sync. As result you'll have option to post location immediately (option.url) or in batch (option.syncUrl and option.syncTreshold).
option.syncTreshold - Specifies how many locations will be sent to server at once (default: 100)
Timed interval can be implemented later, as timers are special beast (working reliably only in foreground on iOS).

So once again. My new proposal:

All locations updates are recorded in local db at all times. When App is in foreground or background in addition to storing location in local db, location callback function is triggered. Number of location stored in db is limited by option.maxLocations a never exceeds this number. Instead old locations are replaced by new ones.

When both option.url is defined, each location is also immediately posted to url defined by option.url. If post is successful, the location is marked as deleted in local db. All failed to post locations will be coalesced and send in some time later in one single batch. Batch sync takes place only when number of failed to post locations reaches option.syncTreshold.
Optionally different url for batch sync can be defined by option.syncUrl. If option.syncUrl is not set then option.url will be used instead.

When only option.syncUrl is defined. Locations are send in single batch only when number of locations reaches option.syncTreshold.

option.syncTreshold - Specifies how many locations will be sent to server at once (default: 100)
All this is implemented in IOS except point 2.

@mauron85 Any updates on this?

@mauron85 Is this implemented in 2.2.0?

Yes, it is. Might be some bugs though.

@mauron85 Document suggests that syncThreshold and syncUrl is only available in IOS. Is this an oversight or Android implementation is still under work?

Thanks for pointing out. Will update docs. It's implemented also for Android

@mauron85 cordova plugin add<EMAIL_ADDRESS>doesn't seem to work

That is intentional. Install:
cordova plugin add<EMAIL_ADDRESS>

If option.syncUrl is not set then option.url will be used instead. This needs to be included in the doc I guess

true. will update docs
basically yes. There is little difference between iOS and Android. On iOS locations to sync are prepared in advance so all of them will be eventually posted. Android is not that restrictive, so sync data is prepared just before sync (when network is available). If sync fail, another batch will be created later.
I was thinking same in the very beginning. But after some time getLocations starts making sense again. You can for example render history of movement on app start. Of course deleteAllLocation has very little sense. Will consider removing in next version.

Hi @mauron85 @shyamal890 ,
I am using the v2.2.5
My "callbackFn" is not calling.
I don't want to send the location to server directly, i want to save it in my local db table.
Then i send those location records to server, whenever device gets internet using one time interval method.
What i am doing wrong here ?
function onDeviceReady() {
backgroundGeolocation.configure(callbackFn, failureFn, {
desiredAccuracy: 70,
stationaryRadius: 20,
distanceFilter: 30,
//  url: 'http://<IP_ADDRESS>:3000/locations',
//  httpHeaders: { 'X-FOO': 'bar' },
// maxLocations: 1000,
// Android only section
locationProvider: backgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
// interval: 60000,
// fastestInterval: 5000,
// activitiesInterval: 10000,
notificationTitle: 'Background tracking',
notificationText: 'Enabled',
notificationIconColor: '#FEDD1E',
notificationIconLarge: 'mappointer_large',
//notificationIconSmall: 'mappointer_small'
});
callbackFn = function(location) {
//alert("inside callback fun "+ location.latitude + ',' + location.longitude);
console.log('[js] BackgroundGeolocation callback:  ' + location.latitude + ',' + location.longitude);
var latitude = location.latitude;
var longitude = location.longitude;
var altitude = location.altitude;
var accuracy = location.accuracy;
var altitude_accuracy = null;
var heading = null;
var speed = location.speed;
var timestamp = convertTimestamp(location.time);
var at_logged_on = null;

//This method to save these values in local db table
saveGeoTrackingValues(latitude,longitude,altitude,accuracy,altitude_accuracy,heading,speed,timestamp,at_logged_on);
//  backgroundGeolocation.finish();
};
failureFn = function(error) {
	alert('BackgroundGeolocation error');
    console.log('BackgroundGeolocation error');
};

}
$(document).on('click', '#livetrack_start', function(e) {
//alert("outside the service");
backgroundGeolocation.isLocationEnabled(function (enabled) {
if (enabled) {
// alert("location enabled");
backgroundGeolocation.start(
  function () {
    // service started successfully
    // you should adjust your app UI for example change switch element to indicate
    // that service is running

	//	alert("service started");

  },
  function (error) {
    // Tracking has not started because of error
    // you should adjust your app UI for example change switch element to indicate
    // that service is not running

	alert("Error occured : Background Tracking is not started");

    if (error.code === 2) {
      if (window.confirm('Not authorized for location updates. Would you like to open app settings?')) {
        backgroundGeolocation.showAppSettings();
      }
    } else {
      window.alert('Start failed: ' + error.message);
    }
  }
);

} else {
// Location services are disabled
if (window.confirm('Location is disabled. Would you like to open location settings?')) {
backgroundGeolocation.showLocationSettings();
}
}
});


Renamed files and updated references

Coverage remained the same at 46.38% when pulling 03a393137a7c61c2294abe74fb4c7499faf14f85 on vjwang:develop into 5620d58674b3eb532565c775f65d159e38583a77 on kaazing:develop.


Error in Point subtract operator

Expected behavior and actual behavior.
Actual behavior:
(array('d', [4.0]), array('d', [4.0]))

Expected behavior:
(array('d', [2.0]), array('d', [2.0]))

Steps to reproduce the problem.
from shapely.geometry import Point
p1 = Point((4,4))
p2 = Point((2,2))
p3 = p1 - p2
print(p3.xy)

Operating system
Linux
Shapely version and provenance
1.7.0
Python version
Python 3.7.6

I am not sure whether this is actually documented (don't directly find it in https://shapely.readthedocs.io/en/latest/manual.html), but the subtract operation actually performance a difference spatial operation:
In [4]: p1.difference(p2).xy
Out[4]: (array('d', [4.0]), array('d', [4.0]))

So in that light, the result is as expected.

Yeah, I've found that.

Could you explain me/give a link/search term, what does difference mean?
Is there any operator that performs distance like p1.xy - p2.xy ?

Thanks

Shapely has some set-like properties, but they operate on the geometry point sets, not on the vertex values that parameterize the point sets. We have no operator that meets your needs for #2 @Red-Eyed . Okay if I close this?
Documentation of the set-like properties is another issue, I'll follow up.

Thanks.


Option of not including nlu training data in models

Description of Problem:
Given that training data is often very sensitive, it would be nice to have an option to not include it in the trained models that rasa produces. Anyone with access to the model files (tar.gz) can view the training data using zcat model.tar.gz | grep -a "text" which could be problematic if shipping/storing models on certain servers.
Overview of the Solution:
Add a (default) config variable persist_training_data : bool to the Trainer class in rasa/nlu/model.py, which can be used to control whether the training data gets persisted to the model in the persist method of the same class. Depending on the default value of this, the input to rasa.nlu.train may need to be modified aswell. I suggest that the default value should be false.
Examples (if relevant):

Blockers (if relevant):
Nope
Definition of Done:

[ ] Tests are added
[ ] Feature described the docs
[ ] Feature mentioned in the changlog

Thanks for submitting this feature request 🚀@akelad will get back to you about it soon!✨

Hey @ronancummins that's a good point. We actually have something like this for the stories already, I don't see why we wouldn't include something like that for the NLU training data. Would you be up for making this contribution?

Yes I would... I'll have a look at the way it works for stories, work on getting it to a PR, and review then...

awesome!

This has been successfully merged into master by tmbo in PR #4394


Does not fully Reduce

fsgdez,
Great effort on this script and functions! I wanted to verify that your routines could minimize non-trivial Kmaps. I tested it on full Gray Coded matrices like the one below. Unfortunately, it was unable to reduce it completely although it should since we are supplying all permutations. Take a look and tell me what you think.
I used the Grey Code routine which can be found at: https://www.mathworks.com/matlabcentral/fileexchange/62403-gray-code-for-all-base-numbers?s_cid=ME_prod_FX
clear all;
clc;

A = grayCodes(2,5);
K1 = karnaughMap( [2 , 3] , A , 5);
genLogic( K1 )

The output is: C'E + CE, which is just E.
This gets a bit crazier if you try a different variable setting such as
clear all;
clc;

A = grayCodes(2,5);
K1 = karnaughMap( [1 , 4] , A , 5);
genLogic( K1 )

The output is then: B'C'E + B'CE + BCE + BC'E, which is again just E but the issue is much more pronounced.
I am curious about your thoughts on the matter. Keep up the great work for the community!

Hey, thanks a lot for checking out this project!
This was a side project done quickly to help double check my work for a course involving the use of Karnaugh Maps. So there are definitely some existing kinks in there that need to be fixed.
I've updated the description to state the project is a WIP.
Definitely, I would like to go back and fix these things.

No problem at all! Looking forward to seeing the updated routine when you get around to it.
Blue Skies!

Changed up how my method operates. Now it will assume the last column to be the output.
In the case grayCodes(2,5), there will be duplicate rows for a 2 var x 2 var matrix.

 Please let me know if know if you find anything else or want to request an additional feature. Thanks.


Error 'getititem' when signing transaction, any help? Coins stuck in wallet

I've had problems sending xvg from my Electrum xvg 2.4.1 wallet to my Binance wallet. I send and save the transaction then load it into a new wallet to sign and send it, but then get this error.
Any ideas?

Sorry for missing this one -- are you still having the same issue?  I noticed this was posted pre-hard fork... and perhaps there was a thought that the hard fork would clear up 90% of these issues.
Any updates?
Thanks and sorry  !

why is the top picture from a "watch only" address?

Glad you chimed in.. I noticed that too and thought it was super odd , but not familiar enough with electrum to call that out.  Pretty sure that is the likely the issue.
If it’s watch only.. he doesn’t really own the addresses.. so an error while trying to send coins from an address that you don’t own will probably throw some kind of error.

On Mar 13, 2018, at 11:48 AM, sunerok<EMAIL_ADDRESS>wrote:
why is the top picture from a "watch only" address?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

correct, you cant make a transaction from an address that you are watching, but do not own. thanks again @jrsikors for jumping all over issues. ill escalate your privs here shortly, i get back in town tomorrow.

@justinvforvendetta don't forget about me !   I got some cleanup to do !


Docs for field-guide

field-guide needs its own docs page that outlines how to use it. I'm sure we all know that already, just figured a tracking issue would be nice for launching that effort. :)

Hey @elwayman02 👋
So as part of some recent work that I needed to do, I setup field-guide to have it's own dev environment when you clone it and run npm i && npm start. It is currently the default content that is created when you install field-guide so it can for sure be greatly improved!! but here is the link for now: https://field-guide.netlify.app/
Let me know what you would like to see on those pages and we can work on some content 👍


transfers: test we can read an array of []transferRequest objects

Codecov Report

Merging #142 into master will decrease coverage by 3.61%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #142      +/-   ##
=========================================
- Coverage   56.42%   52.8%   -3.62%
=========================================
  Files          26      26
  Lines        3543    3543
=========================================
- Hits         1999    1871     -128
- Misses       1148    1293     +145
+ Partials      396     379      -17

Impacted Files
Coverage Δ

accounts.go
9.72% <0%> (-70.84%)
:arrow_down:

internal/database/mysql.go
31.16% <0%> (-44.16%)
:arrow_down:

ofac.go
38.13% <0%> (-35.6%)
:arrow_down:

file_transfer_async.go
47.89% <0%> (-0.34%)
:arrow_down:

transfers.go
59.33% <0%> (+0.16%)
:arrow_up:

Continue to review full report at Codecov.

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


RawDatagramSocket ipv6 SocketException

Could anyone explains how to connect using ipv6 ?
I am trying to extend NTP package to be able to communicate with ipv6 NTP servers OR to communicate with ipv4 / ipv6 NTP servers whist you send request from ipv6 ONLY device.
https://github.com/knezzz/ntp/issues/28
 final RawDatagramSocket _datagramSocket =
    await RawDatagramSocket.bind(clientAddress, 0);
    final NTPMessage _ntpMessage = NTPMessage();
    final List<int> buffer = _ntpMessage.toByteArray();

    _ntpMessage.encodeTimestamp(buffer, 40,
        (DateTime.now().millisecondsSinceEpoch / 1000.0) + _ntpMessage.timeToUtc);

    // Send buffer packet to the address from [addressArray] and port [port]
    _datagramSocket.send(buffer, ntpServerAddress, port);

    // Receive packet from socket
    Datagram packet;

    final _receivePacket = (RawSocketEvent event) {
      if (event == RawSocketEvent.read) {
        packet = _datagramSocket.receive();
      }
      return packet != null;
    };

    try {
      if (timeout != null) {
        await _datagramSocket.timeout(timeout).firstWhere(_receivePacket);
      } else {
        await _datagramSocket.firstWhere(_receivePacket);
      }
    } catch (e) {
      rethrow;
    } finally {
      _datagramSocket.close();
    }

    if (packet == null) {
      return Future<int>.error('Error: Packet is empty!');
    }

    final int offset = _parseData(packet.data, DateTime.now());

Issue is that RawDatagramSocket.bind fails with SocketException if ipv6Any address or ipv6Loopback address is used.
I also tried using different ports, disable / enable port / address reuse etc.
I also tried to obtain ipv6 address from network interfaces...
And tried special wildcard ipv6 addresses.
Any other suggestions ?

Could anyone explains how to connect using ipv6 ?

@radvansky-tomas
if you need assistance with your code please follow the link I want help writing my application in the new issue menu

Thats more like buy @iapicca ;) similar is reported under DartSDK in MacOS environment, some in linux...

https://github.com/dart-lang/sdk/issues/35146
https://github.com/dart-lang/sdk/issues/34944
https://github.com/flutter/flutter/issues/30621
https://github.com/flutter/flutter/issues/42102

@radvansky-tomas
I didn't realize your issue was pointing at multicast_dns

#30621
#42102

it seemed that you were using the 3rd party package ntp

I am trying to extend NTP package to be able to communicate with ipv6 NTP servers OR to communicate with ipv4 / ipv6 NTP servers whist you send request from ipv6 ONLY device.
knezzz/ntp#28

can you provide your flutter doctor -v and a minimal reproducible code sample without 3rd party plugins

I am point to raw socket communication using ipv6. Will try to prepare mvp tonight and send it here

Hi @radvansky-tomas
Please provide your flutter doctor -v, your flutter run -v,  your pubspec.yaml, and a minimal reproducible code sample that does not use 3rd party plugins.
Thank you

/Users/radvansky/development/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel beta, 1.26.0-17.6.pre, on macOS 11.2.1 20D74 darwin-x64, locale en-NZ)
    • Flutter version 1.26.0-17.6.pre at /Users/radvansky/development/flutter
    • Framework revision a29104a69b (8 days ago), 2021-02-16 09:26:56 -0800
    • Engine revision 21fa8bb99e
    • Dart version 2.12.0 (build 2.12.0-259.12.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/radvansky/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 48.1.4
    • Dart plugin version 202.7206

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (3 available)
    • SM G973F (mobile)      • RF8MB0CGTTT                          • android-arm64  • Android 10 (API 29)
    • iPhone 12 Pro (mobile) • A2EC5960-2BB8-4A48-B9B5-C64CCC4F004D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 88.0.4324.192
    ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)

• No issues found!
Process finished with exit code 0

Code is pretty simple I am trying to connect to NTP server, which we can call simple "server". But it can have multiple "endpoints" defined by IP addresses. Those addressed can be ipv4 or ipv6.
To get list of addresses I am using this code to obtain it via DNS:
  static Future<InternetAddress> _lookupDoH(
      String host, DnsApiProvider provider) async {
    final _provider = _dnsApiProviderUrl[provider];
    final httpClient = HttpClient();
    final query = '$_provider?name=$host&type=all';
    final request = await httpClient.getUrl(Uri.parse(query));
    final response = await request.close();
    if (response.statusCode == HttpStatus.ok) {
      // HTTP OK
      final String jsonContent = await _readResponse(response);
      final Map<String, dynamic> map =
          json.decode(jsonContent) as Map<String, dynamic>;

      final addresses = (map['Answer'] as List<dynamic>)
          .map((dynamic answer) => answer['data'] as String)
          .toList()
          .firstWhere(
              (element) =>
                  _ipRegex.hasMatch(element) || _ipV6Regex.hasMatch(element),
              orElse: () => null);

      return InternetAddress(addresses);
    }

    return null;
  }

I basically queries google DNS service, get all entries and try to parse only ipv4 / ipv6 addresses via regexp.
Then once I have ip address I want to establish connection and here it starts to be colourful as we may have couple options:
ipv4 only, ipv6 only, and probably ipv6 capable of tunnelling back to ipv4.
Anyhow my understanding of it is that I should select local address and destination, send packet and wait for packet...
Here is code I am using now:
final ntpServerAddress = await _lookupDoH(lookUpAddress, dnsProvider);

   InternetAddress clientAddress = InternetAddress.anyIPv4;
   if (ntpServerAddress.type == InternetAddressType.IPv6) {
     clientAddress = InternetAddress.anyIPv6;
   }

   print('from $clientAddress to $ntpServerAddress');
   final RawDatagramSocket _datagramSocket =
   await RawDatagramSocket.bind(clientAddress, 0);
   final NTPMessage _ntpMessage = NTPMessage();
   final List<int> buffer = _ntpMessage.toByteArray();

   _ntpMessage.encodeTimestamp(buffer, 40,
       (DateTime.now().millisecondsSinceEpoch / 1000.0) + _ntpMessage.timeToUtc);

   // Send buffer packet to the address from [addressArray] and port [port]
   _datagramSocket.send(buffer, ntpServerAddress, port);

   // Receive packet from socket
   Datagram packet;

   final _receivePacket = (RawSocketEvent event) {
     if (event == RawSocketEvent.read) {
       packet = _datagramSocket.receive();
     }
     return packet != null;
   };

   try {
     if (timeout != null) {
       await _datagramSocket.timeout(timeout).firstWhere(_receivePacket);
     } else {
       await _datagramSocket.firstWhere(_receivePacket);
     }
   } catch (e) {
     rethrow;
   } finally {
     _datagramSocket.close();
   }

   if (packet == null) {
     return Future<int>.error('Error: Packet is empty!');
   }

   final int offset = _parseData(packet.data, DateTime.now());
   return offset;

Which basically get address from DNS, if its ipv4 use ipv4any if ipv6 then ipv6any. However this solution does not work. I tried different combination, but it always ends up in exception:

either it fails to bind OR
it fail to send package -> no route to destination found

I also tried using NetworkInterface class to obtain actual ipv6 address for interface (not ipv6any address represented by :: )
I would like to know how I can connect to server any any of those environments

Hi @radvansky-tomas
Can you please provide step-by-step to reproduce in a new environment from scratch including a complete runnable sample using multicast_dns? Also, provide expected results and actual results
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


feat(linter): promote no-new-array to correctness with better help message

relates #1735

Current dependencies on/for this PR:

main

PR #2123   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 22, 3:57 AM: @Boshen merged this pull request with Graphite.


Mustache memory leak

Closes #1393. Fixes the memory leak.  unregister was not being called.  cc @jondubois

@justinbmeyer Thanks. I did spend a couple of hours on this last week but it's really difficult to find memory leaks in unfamiliar code :p

I will try and add a test for this and then merge it.


Backup etcd

BUG REPORT:
How do you backup etcd (on master)?
I try to use:
ssh -i ~/.ssh/id_rsa_k core@master1
sudo docker exec -it etcd1 sh
mkdir /var/lib/etcd/backup
sudo etcdctl backup --data-dir=/var/lib/etcd --backup-dir=var/lib/etcd/backup

if I run 2 backups: 2017-01-13 10:29:08.105348 I | failed creating backup snapshot dir var/lib/etcd/backup/member/snap: expected "var/lib/etcd/backup/member/snap" to be empty, got ["0000000000000011-00000000001e5e3b.snap"]

I can see that folder on host master /var/lib/etcd/member/snap got already some data. Can I just safe this folder somewhere?
Etcd is running on master:

in docker: etcd --version 3.0.6
on host: etcd --version 0.4.9 and etcd2 --version 2.3.7

I was thinking running a backup and encrypt and export that backup to another server or s3.
Any good recommendations on how to do that...
Thank you for your help and this great tool!
Greg.

@gregbkr @bogdando are there not any workarounds for this? Are there plans to address this?

@gregbkr
I have a similar setup and the way I do the backup to spawn an intermediate container that just creates the snapshot on the host:
docker run --rm --net=host -v /tmp:/etcd_backup -e ETCDCTL_API=3 quay.io/coreos/etcd:v3.0.17 etcdctl --endpoints=[<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379] snapshot save etcd_backup/snapshot.db
You will find your snapshot.db under /tmp

@alexiacobws thanks for sharing, gonna have to use that :)

#1159

@alexiacobws do you also have a working etcd restore procedure ?

This restore method also interests me.
I  try to restore the following method, but unfortunately I did not succeed.
Restore:
docker run --rm --net=host -v /tmp:/etcd_backup -e ETCDCTL_API=3 registry.yztingche.cn:5000/quay.io/coreos/etcd:v3.1.5 etcdctl snapshot restore etcd_backup/snapshot.db   --name etcd0   --initial-cluster etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380   --initial-cluster-token etcd-cluster-1   --initial-advertise-peer-urls http://etcd0:2380
Result:
2018-06-04 09:25:52.314747 I | etcdserver/membership: added member 7ff5c9c6942f82e [http://etcd0:2380] to cluster 5d1b637f4b7740d5
2018-06-04 09:25:52.314940 I | etcdserver/membership: added member 91b417e7701c2eeb [http://etcd2:2380] to cluster 5d1b637f4b7740d5
2018-06-04 09:25:52.315096 I | etcdserver/membership: added member faeb78734ee4a93d [http://etcd1:2380] to cluster 5d1b637f4b7740d5
The snapshot file will be placed in the appropriate folder within the etcddocker image, but I can not see the old keys.


% do not add up to a 100 in the live results of the survey

Describe your problem and - if possible - how to reproduce it
Which of these careers are you interested in? has others tab adding up to 132%. The major options are also adding up to 100+ %
Add a Link to the page with the problem
https://freecodecamp.typeform.com/report/S3UeD9/fGdr8J7eJUPyxwFB
Tell us about your browser and operating system

Browser Name:  mozilla firefox
Browser Version: 62.0.2
Operating System: Win10

I believe that people were allowed to select more than one option for some questions, since many people may be interested in more than one career or have more than one major. The different responses should be viewed independently.

The survey does not load for me, other people, please include screenshots

I checked out  the survey. The problem in the description of the issue adds up to 100%, so that one looks fine.

However, there are a few others that do not add up to 100%, but they add up to 99% or 101%. I screen-shoted them below:


Mention middleware request accessor in README

I had to go to context.rb to find this, so perhaps it's worth mentioning in the README?

Thanks!


docs: improve docs about config and theme (close #517)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1420

Relevant Lines:
2477

💛  - Coveralls


Bump OTP version in .tool-versions file

OTP 21 can not be compiled on MacOS Catalina. The bug was only patched in OTP 22 https://bugs.erlang.org/browse/ERL-1205. No one using asfd on Catalina can build a release without changing this file.

I have been developing using elixir-ls compiled with 1.7.4-otp-22 and have run into no issues so far.

Hi @KTSCode :wave:!
Thanks for the PR, historically .tool-versions has been to include just the most minimal versions since those versions are used to generate releases for end-users. However, having the default erlang versions not being supported at all on the latest macOS version isn't very pleasant. Maybe we should change the policy relating to .tool-versions.
Posted this on #language-server on the Elixir Slack:
Should we:

Update .tool-versions to an erlang version supported on Catalina
Keep .tool-versions as is
Update .tool-versions to more "modern" erlang versions and have a separate .release-tool-versions that will be manually used when making a release
Remove .tool-versions from the repository completelyI'm leaning towards 1 or 3 since the people building the release are few compared to those compiling the server for their own use. But I'm curious to hear other's thoughts on this.

@lukaszsamson and @Trevoke + others I'm curious to hear your thoughts on this.

Quoting my opinion from the slack channel here for public and long term visibility:

I'm in the 2/4 boat. As in my opinion .tool-versions and similar files should always point to the oldest supported version.

I don't really understand why it's necessary to have it for building the releases at all. Docker with correctly specified image would do pretty much fullfil the same requirements. Bobs images are probably perfect for this.
On the other hand side, keeping it in, will make sure that at least someone who uses asdf their self, won't put time into adding "optimisations" based on Erlang features that simply aren't available in the tool versions as specified
Also, specifying the same version through .Tool-Version that is used for all contributors, minimises the WFM syndrome.

I'm in favour of 4. Most of the times I start developing by rm .tool-versions. We have CI running tests on most supported OTP/erlang combos and for building releases we can use either .release-tool-versions as proposed by @axelson  in 3 or a Docker image as @NobbZ suggested

Closed in favor of #351


Replace string,long string to empty (eg. delete functions)

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Steps to Reproduce:

There is often case to delete some functions, and we can do this by replace some string to empty, but not in current VSCode Version coz always is required some string in 2nd field to replace the 1st as search field
The question is how to do this, or current replacing must realy expect some string or can be empty to null (eg. the space is not friendly for python where indention is base parser in compiler)

This works for me - I can do a search/replace to an empty string. What goes wrong when you try to do it?

You are right if the string is in one single line or as one word, if structure with \n \r then replacing not acting.
Try do with this (python indention):

class ApiConfig(AppConfig):
     name = "test"

Maybe solution is to offer resize control to the search/replace popup window? It's realy hard to edit longer string to search/replace in input field where long text is "parsed" to single line.
I just noticed this problem when try do refactoring of meta classes as packet vars similar in other classes, the solution to do this was replacing line by line in all files (ctr+shift+f) and not as all packet lines.

Search/replace with multiple lines isn't supported right now, so is that the problem? Can you give me steps for exactly what the problem is?

Yes this is problem or leak functionality.
Let me explain. In ORM exist many classes eg. django. Refactoring is often hard pain to project clasess easy, clear and cognitive. Soo.. we often replacing names in class Meta  globally, eg. name1, name2 to name1object, name2object in all files of project. The example is small coz very ofeten is long json structures as dictionaries, tupples fields or htmls parts (as naturaly override pratice for deafult framework code).
class DefaultClass(Something):

         class Meta:
                 name1 = "test"
                 name2 = "test"

Trying reffer to sollution like in https://www.jetbrains.com/help/pycharm/2016.3/move-refactorings.html

I see. Multiline search is tracked by https://github.com/Microsoft/vscode/issues/13155. Hope to support it sometime.


Jordan1

Helllo please review my code !!!

This is repository for Boilerplate. You seem to be confused.


Remove @requires PHPUnit 5.2 from test

I've got this instruction from @keradus and I based that @requires on this one. So let's change it to avoid similar situation in the future.

Thanks for PR !
Yet, let me replace it with #3182


Virtual Property to ServerDetector and AbstractDrone

AbstractDrone should have a property that is a boolean for is virtual or not. To be used for final implementations.
This could come from ServerDetector if auto or by finding if TCP or UDP address was used.

Can you elaborate on what "is virtual" is specifically? Is it just if the server is over serial or over IP?

Yes essentially a flag for over serial or over IP
Can rename to some .serial or .is_serial() thing


not support DDS

not support DDS
error  ERR_FAIL_COND_V( size!=pitch, RES() );

@sanikoyes ~ Is this related to/fixed by your recent PRs? :smile:

@cjmxp I know English is not your native language, but you really provide too little information. We have an issue template, try to follow it. It's okay to use an automatic translator like Google Translate, just make sure that you write perfect sentences in your native language so that the translator can parse them efficiently.

You can try to add a TextureFrame in the editor and load the DDS texture to cause an exception.

@akien-mga Thank you for the next time I will try to provide details of the information

@cjmxp Which version of godot do you run?

@bojidar-bg v2.1 alpha

if you have a dds file that fails, feel free to submit it here


Lexus NX-300h hybird 2020 "Radar Error: Restart the Car"

Describe the bug

The symptom occurred and I removed the installed one.
After installing Comma 3 on the vehicle and installing master-ci (1cbe188 / Aug 03) in an initialized state, all preliminary preparations have been completed.
Start riding and the adjustment is complete.
When C3 is operated in a vehicle that has been prepared for everything, the error message "Radar Error: Restart the Car" is displayed and the operation does not work.

Even if this operation is performed repeatedly, the symptom is the same, "Radar Error: Restart the Car" error message is displayed and OPENPILOT does not operate normally.

Even after rebooting, this symptom still occurs.

Which car does this affect?
Lexus NX-300h hybird 2020
Provide a route where the issue occurs
9a1f34e34fb917f2|2023-08-03--06-03-57
openpilot version
openpilot 0.9.5 / master-ci /1cbe188 / Aug 03
Additional info

There is also a post on Discord that this error message appears in some models.
If you remove COMMA3 from Lexus NX-300h hybird 2020 and drive, RADAR works very normally.
"Radar Error: Restart the Car" error occurs equally in both Dargonpilot / Sunnypilot, which are sub-forks.

@sshane can you check this out?

canCore1 is continually being reset. Related to https://github.com/commaai/panda/pull/1502?

No, that should only apply to H7, which is only used on the 3X and red panda.

hey @Abanggo does this still happen for you?

여기요@Abanggo아직도 이런 일이 발생합니까?

Haven't been able to use it until now.
It has never worked properly since I was notified.
When I start the car, the same error message comes out and it is unusable.
I can't use it normally, I'm just staring at C3, and I'm checking github every day to see if the problem has been resolved.
It seems that it is possible to solve the problem completely by exchanging it only when it is determined whether it is a C3 problem or a SW problem.
COMMA AI should confirm that it is a HW problem so that it can be exchanged, and I think that if it is a SW problem, we can wait.
please help me what to do

Recent routes still show the canCore1 with lots of total errors and can core resets. I would open a support ticket at https://comma.ai/support
cc: @adeebshihadeh in case you want the user to try anything with panda

Thanks for the notification, I deleted the previously installed program, updated to the latest version of openpilot master-ci, and as a result of the test drive, the problem was resolved and it works well.
thank you

It looks like the errors are still happening, but radard is ignoring the missing CAN traffic. Requested rlogs, can you put your device on wifi?

오류가 계속 발생하는 것처럼 보이지만, radard는 누락된 CAN 트래픽을 무시하고 있습니다. 요청된 rlogs, 장치를 Wi-Fi에 둘 수 있습니까? 여전히 지원팀에 문의하세요. 이 문제는 여전히 발생 하지만 버그로 인해 문제가 가려지고 있습니다. 레이더를 사용하고 있지 않습니다.

9a1f34e34fb917f2|2023-08-18--14-08-34--0
9a1f34e34fb917f2|2023-08-18--05-20-24--0
9a1f34e34fb917f2|2023-08-18--05-24-48--0
9a1f34e34fb917f2|2023-08-18--14-33-12--0
9a1f34e34fb917f2|2023-08-18--14-46-36--0
I uploaded the log file I drove for the MASTER-CI test.

As long as there is the latest update, we will update MASTER-CI additionally and check again whether it works normally.
thank you

최근 경로는 여전히 총 오류가 많은 canCore1을 표시하고 코어 재설정을 할 수 있습니다. https://comma.ai/support 에서 지원 티켓을 엽니다.
개통 전 포크가 아닌 스톡 openpilot 에서 최근 경로를 확인하십시오 .
참조:@adeebshihadeh사용자가 팬더로 무엇이든 시도하기를 원하는 경우

I was trying to upload an error message, but I accidentally received the wrong one in progress.
I'm sorry.
bring it back to life

It looks like the errors are still happening, but radard is ignoring the missing CAN traffic. Requested rlogs, can you put your device on wifi? Make sure to contact support still, this issue is still happening, but a bug is masking it. You are not using your radar.

0.9.5/master-ci/ed9f630/Aug 18
9a1f34e34fb917f2|2023-08-20--08-59-16--1
The log file has been uploaded.

TAKE CONTROL IMMEDIATELY Radar Error: Restart the Car error message screen display
Error message displayed on the red background screen: Capturing failed while driving (displayed for a while and then disappeared)

Sudden occurrence during normal use of C3 openpilot
If ACC is re-operated afterwards, it will operate normally and continue to be used.

Estimated error occurrence time: between 2<IP_ADDRESS>:08 and 2<IP_ADDRESS>:10

The vehicle was driven in the afternoon, but it operated normally without any errors.

This is the same mere message as the capture posted by someone else.
please refer to this

openpilot 0.9.5 / master-ci / 5d0b7ef / Aug 21
The openpilot Unavailable error occurred again.
The log file has been uploaded.
9a1f34e34fb917f2|2023-08-21--05-30-18--0
9a1f34e34fb917f2|2023-08-21--05-39-02--0

Contact support at https://comma.ai/support

https://comma.ai/support

Thank you for your help.
We will contact you at https://comma.ai/support.

Have you tried a new USB cable?

If the one I have doesn't meet the conditions, I can immediately buy one
and test it.
I will replace the USB-C GEN II cable and test it for about 2 days and let
you know the result.
Thank you for your interest.
Translated with google translator.
2023년 8월 22일 (화) 오전 4:41, Shane Smiskol @.***>님이 작성:

Have you tried a new USB cable?
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/issues/29213#issuecomment-1686932408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4OXHLLESC4IAULZUVHHOQ3XWO2WDANCNFSM6AAAAAA3B4MJHY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I replaced the C3 cable with a new generic USB-C GEN II cable and tested it.
As a result, all problems in the meantime have been resolved and it works normally.
I've been test-driving dozens of times and no problems have occurred.
Is there any problem in using C3 even if I use USB-C GEN II cable continuously?
Thank you for your interest and response.
thank you

Great! Thanks for your patience.


Fixed the bug that split dict incorrectly

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Parser for Effect Handlers

Parse terms of the form
handle h = Effect with
  fun perform(r) = r(foo)
in bar(h)

Honestly the code right now is pretty unclean and I would prefer to just parse handle h = Effect with ... as a LetLike, with handle being a letLike keyword, and Effect with ... as an expression which creates an anonymous instance of some trait.

Honestly the code right now is pretty unclean and I would prefer to just parse handle h = Effect with ... as a LetLike, with handle being a letLike keyword, and Effect with ... as an expression which creates an anonymous instance of some trait.

It seems fine for now. We can always refactor it later. And it's not like this is necessarily the final syntax either, anyway. We may well change it at some point.

Merged changes from hkmc2

All comments addressed, please see the latest changes.

Pro-tip: if you had reviewed your diff first, these repeated rounds of comments on silly things would have been avoided 😉
https://github.com/hkust-taco/mlscript/blob/mlscript/CONTRIBUTING.md#for-non-draft-prs

Fixed


Language Services should recognize transitive dependencies for intellisense

Issue Type: Bug
Since npm 7, transitive dependencies are honored when installing packages.   Given I have the following structure:
{
  "name": "app",
  "version": "1.0.0",
  "dependencies": {
    "a": "^1.0.0",
    "b": "^1.0.0"
  }
}

{
  "name": "b",
  "version": "1.0.0",
  "peerDependencies": {
    "c": "^2.0.0"
  },
 "devDependencies": {
    "c": "^2.0.0"
  }
}

When installing app, npm installed module b, and through peer dependencies of modules b, also installs module c.
Unfortunately, when doing so, typescript's language services no longer help with imports/typing from module c.
To fix this, app can installed module c directly, but this brings us back full circle to the days when package.json's were full of useless dependencies.
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.17763
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
9.51GB (2.56GB free)

Process Argv
--folder-uri file:///c%3A/TFS/Emerald/PermissionsManagement --crash-reporter-id 6655adb3-2fb8-47fd-84a4-43e264305df8

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

vscode-sql-formatter
adp
1.4.4

ng-template
Ang
14.1.0

gitlens
eam
12.1.2

vscode-scss
mrm
0.10.0

python
ms-
2022.10.1

vscode-pylance
ms-
2022.7.40

jupyter
ms-
2022.6.1201981810

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

powershell
ms-
2022.7.2

vscode-typescript-tslint-plugin
ms-
1.3.4

microsoft-office-add-in-debugger
mso
0.3.0

vscode-xml
red
0.21.2022062916

vscode-scss-formatter
sib
2.4.3

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
pylanb8912:30529769
vsclangdf:30486550
c4g48928:30535728

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

That's intended behavior of TS - you shouldn't rely on packages that aren't specified in your package.json as they are implementation details of your actual dependency b and can be changes/removed at any moment.
Direct peerDependencies should work https://github.com/microsoft/TypeScript/pull/38923
See https://github.com/microsoft/TypeScript/issues/35560 and other

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!


Rename DS to Morph in design

Rename Design System to Morph Design System so we can announce the new name.

its been too long. we need to revisit this.


replace string with corresponding const

replace string with corresponding const

/assign @m1093782566 @shivramsrivastava

Looks good, it's what I want!
/lgtm

@hanxiaoshuai Thanks for the fix.
LGTM.
/approve


Admin command to check if sealed extents are sealed on replicas

This adds an admin command that iterates through extents and checks to ensure that if the extent is sealed in metadata, that it is sealed on all of the replicas, as well.

Coverage increased (+0.1%) to 56.058% when pulling f046a1e7aef82fdbe72b453ee9de5300deeefb84 on seal-extents into 73e2d2931eaa9756641587124b9b45c7c92e26a3 on master.

Coverage increased (+0.07%) to 56.017% when pulling f046a1e7aef82fdbe72b453ee9de5300deeefb84 on seal-extents into 73e2d2931eaa9756641587124b9b45c7c92e26a3 on master.

Coverage increased (+0.06%) to 56.008% when pulling 5391fd02f9d9012f2b1246cf90e94f28d4095ecb on seal-extents into 73e2d2931eaa9756641587124b9b45c7c92e26a3 on master.

Coverage increased (+0.02%) to 55.971% when pulling 5391fd02f9d9012f2b1246cf90e94f28d4095ecb on seal-extents into 73e2d2931eaa9756641587124b9b45c7c92e26a3 on master.

Coverage increased (+0.07%) to 56.053% when pulling 516e39b8a5eb9ef415b7a60f4b48cf5ae4831b40 on seal-extents into e45a7c49493034ca631ed3a12273dd2ba057a142 on master.

Coverage decreased (-0.04%) to 55.934% when pulling 72447b65a2209811f66b6b892a128d84b0f8c5b9 on seal-extents into e45a7c49493034ca631ed3a12273dd2ba057a142 on master.


DefaultPromise make MAX_STACK_DEPTH configurable

Motivation:
Some Netty use cases may want to configure the max allowed stack depth for promise listener notification.
Modifications:

Add a system property so that this value can be configured.

Result:
DefaultPromise's max stack depth is configurable.

@normanmaurer - PTAL

LGTM

Am 29.06.2016 um 03:06 schrieb Scott Mitchell<EMAIL_ADDRESS>Motivation:
Some Netty use cases may want to configure the max allowed stack depth for promise listener notification.
Modifications:
Add a system property so that this value can be configured.
Result:
DefaultPromise's max stack depth is configurable.
You can view, comment on, or merge this pull request online at:
https://github.com/netty/netty/pull/5463
Commit Summary
DefaultPromise make MAX_STACK_DEPTH configurable
File Changes
M common/src/main/java/io/netty/util/concurrent/DefaultPromise.java (4)
Patch Links:
https://github.com/netty/netty/pull/5463.patch
https://github.com/netty/netty/pull/5463.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

4.1 (857ad73)
@normanmaurer - Let me know if you think I should cherry-pick to 4.0 too.

If can be done easily why not :)

Am 29.06.2016 um 17:32 schrieb Scott Mitchell<EMAIL_ADDRESS>4.1 (857ad73)
@normanmaurer - Let me know if you think I should cherry-pick to 4.0 too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

done


Reader interface goes timeout when accessing a non existing topic

Describe the bug
When it is requested a message from a topic that is not existing pulsar wait for the entire timeout
Expected behavior
Should fail fast

@itaross Which version are you using?

A modified 2.5.0 which pull requests have been merged in to 2.6.0 (not on the reader interface).

@itaross Can you provide sample code? And which operation is giving timeout, the createReader() or the readNext() on the reader?

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


How could users add new papers to the list?

Could you please provide a guide on how we can contribute to extend the list of papers?

If you want to extend the list of papers, please let me know the list of papers using this issue.
In another way, If you want to extend the list of papers on your own list, you can make your own extended list by fork this repository.

@hollobit, thank you for your response. Actually, what I had in mind is that this repository is not synchronized with the medical gan repository that this project includes.


Updates

Added create-a-release
Added precommit
gitignore docs/annotated
updated travis
updated contributors section

Coverage remained the same at 80.115% when pulling f698863f219c52f258bb31ba23b7891ec729e5f2 on shanel262:master into f40101490def4657ca4ccff415f6e571abb7de43 on senecajs:master.

LGTM


Enabled more lint rules, notably flake8-pytest

Enabled:

PT flake8-pytest
PYI flake8-pyi
Q flake8-quotes
RSE flake8-raise
RUF ruff-specific
SLOT flake8-slots
T10 flake8-debugger
TID flake8-tidy-imports
TCH flake8-type-checking
TD flake8-todos
W pycodestyle warnings

ruff-specific suggested the exception change, didn't try letting it automatically apply fix (did it manually). The backwards incompatible changes are not used, I checked. The suggestion to use TypeError makes sense.


Improve MsSql append performance

While appending a very large number - in reasonable batches - of events (in our case close to 2 million), to a stream, we noticed a performance degradation over time that manifested itself both on Windows (we used Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64)) and Linux (we used Microsoft SQL Server 2017 (RTM-CU5) (KB4092643) - 14.0.3023.8 (X64)). Intrigued we started profiling the SQL statements using SQL Profiler. We noticed that the number of reads performed by SQL Server upon each append started to grow the more events were appended. The query execution plan revealed that some of the SQL statements during the append operation were performing Index Scans instead of Index Seeks.
For AppendStreamExpectedVersion.sql we

replaced the query for the latest stream position by a SCOPE_IDENTITY() function call yielding the same result but a lot faster, thereby eliminating the use of an index,
replaced the query for the latest stream version by a computation (which could also be passed in as a parameter - just didn't feel like changing the calling C# code at this point) based on the new stream messages table parameter, thereby eliminating the use of an index,
replaced the query for the latest json data of the metadata stream (if such a stream exists) by a query that uses the latest position of the metadata stream, thereby replacing an index scan by index seek (since position is PK of the messages table).

The first two changes, which happen within the transaction, do not have a different outcome than the previous version of these SQL statements. The latter change, outside of the transaction, switched from using the sort and top clause to an exact position read which could potentially give you a different result. I doubt this will be a problem since there's no transaction in place to give you any guarantee on the outcome of that query (other than "we think this is the latest message in the metadata stream"). Ultimately, it's being used to feed the code with the maxcount of the stream we're appending to.
Timing our own code we saw the following improvement (appending 2 million events to 1 stream in batches of a 1000 events / batch):

Before: 2.068.175ms
After: 292.974ms

I performed similar changes for the AppendStreamExpectedVersionAny.sql and AppendStreamExpectedVersionNoStream.sql.

Merged, cheers @yreynhout !
Yeah the duplicate index can be addressed with PR for v2.

@yreynhout Could you add your test to the LoadTest project? I know it won't be the same but good to get some more scenarios in there.


files to generate cia

http://gbatemp.net/attachments/ftbrony-zip.12403/
I don't know pull requests ;P I built and added images and rsf to make a .cia, feel free to use/abuse/delete as you see fit. Cheers for awesome app!

@hippydave Could you provide your method to build this as a CIA? You removed your original file and I don't want to have to rely on others to have the latest version as a CIA. suloku's version posted yesterday is already outdated.

Due to the growing popularity of ftbrony, and in order to help consolidate the many forks, I will now accept pull requests which enable ftbrony to be built as a .cia. I have no way of testing .cia, but if someone else wants to provide a build to me for each release I can post the binary for it.

If someone can provide a banner.bin and an icon.bin file, generating a CIA from Makefile is not difficult: https://github.com/m45t3r/3DS_Quick_Reboot/blob/master/Makefile#L148

I decided to give it a shot: https://github.com/m45t3r/ftpd
I can make a PR, however I don't know if @mtheall will accept it. There is some pretty invasive changes, including a complete rewrite of Makefiles to use Steveice10/buildtools. However it works. If @mtheall thinks it is ok to merge I will do a PR, if not I can maintain this fork separated.
The resulting file can be found below:
ftpd.zip

I created a cia branch; see 7e86040

@mtheall hey, thanks! I will delete my fork now.


Why isn't multithreading adopted for parsing XNode and constructing MappedStatement here?

    for (XNode context : list) {
      final XMLStatementBuilder statementParser = new XMLStatementBuilder(configuration, builderAssistant, context,
          requiredDatabaseId);
      try {
        statementParser.parseStatementNode();
      } catch (IncompleteElementException e) {
        configuration.addIncompleteStatement(statementParser);
      }
    }
  } ```

  Why isn't multithreading adopted for parsing XNode and constructing MappedStatement here?

In my opinion,There is no need to introduce multithreaded parsing, or that introducing multithreading does not improve performance much, but rather increases the risk of uncertainty -.-


add-move cursor base on print

add-move cursor base on print
see https://wiki.osdev.org/Text_Mode_Cursor
use llvm_asm

Thanks and sorry for the late reply! I'm not sure if this is something that I want to add to the blog because this would require explaining inline assembly, I/O ports, and VGA registers very early in the series. While I agree that it's nice to be able to move the cursor, I'm not sure whether the additional complexity is worth it in such an early post.

Closing since this won't be relevant for the upcoding 3rd edition (which uses a framebuffer instead of the VGA text mode).
Thanks for the PR!


Capsule geometry is not selectable in 3D view

Environment

OS Version: Ubuntu 20.04
Ignition: Edifice, built from source
ign-gazebo branch: main (2bf29c214bc81d5b75a087f995582d7a82908445), built from source - together with Edifice

Description

Expected behavior: Capsule geometry can be selected in 3D view, similar to other geometry types.
Actual behavior: Capsure cannot be selected in 3D view. It can only be selected via Entity Tree.

Steps to reproduce

ign gazebo shapes.sdf
Try to select any of the primitives - works except for capsule
Try adding new capsule - still does not work

Output
https://user-images.githubusercontent.com/22929099/112662918-87b53c80-8e58-11eb-9ef5-47747b2ae7e9.mp4

Oh, just realised that this is a duplicate of https://github.com/ignitionrobotics/ign-rendering/issues/283. Closing this issue.
Note to myself: Better check Core development instead of repository issues next time.

Wow the font on your UI is really tiny. Are you on a High DPI display? I thought we had fixed this on https://github.com/ignitionrobotics/ign-gazebo/pull/291

It does not seem to play nicely when I use it inside Docker container (custom image, not using ign-rocker/gzdev - so it is most definitely my fault of some sort). I can read most of the text the very few times I actually use Entity Tree/Component Inspector, so I did not bother investigating it further :smile: - might do later.
When used locally, I have not experienced any issues whatsoever and my eyes are so happy :)

Interesting, thanks for the data point.


x509 cert error with internal helm oci repository with internal CA

What steps did you take and what happened:
Got 'HelmInstallOrUpgradeFailed' error, in particular it is 'x509: certificate signed by unknown authority' when trying to use helm oci to install helm chart.
It is similar to this example: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/blob/main/config/samples/postgres.yaml, just the registry is with internal CA certificate, not public.
It worked when I tried to manually use 'helm install ... oci:// ...'. command to install the chart.
What did you expect to happen:
CAAPH should work with internal repository with helm chart stored as OCI.
Anything else you would like to add:
No
/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]

After doing the following, this actually works:
kubectl -n caaph-system create configmap your-ca --from-file=/path/to/your-ca.file
kubectl edit deploy -n caaph-system caaph-controller-manager
Then ensure the following to the deployment of caaph controller manager:
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
- mountPath: /etc/ssl/certs
name: your-ca
readOnly: true
volumes:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
- configMap:
defaultMode: 420
name: your-ca
name: your-ca


Exclude Folders

Expected Behavior
Not include the .vscode files to the server
Actual Behavior
files with sftp info is uploaded
Steps to Reproduce the Problem

Upload files

Requisites (important to diagnose the problem!)
Extension Logs
I was wondering if there was a way to exclude the .vscode folder because I feel like that is a very big breach issue. Everytime I try to upload it adds the .vscode folder and I was wondering if there was an easy way to stop it from uploading them.
Thanks
Specifications

Version:
Platform:

See ignore option in here.

After I add ignore: ['~/.vscode'], there remains a .vscode folder appears in SFTP:EXPLORER

How to make it disappear in SFTP:EXPLORER ?


Tutorial in the documentation fails when run

Describe the bug
The first tutorial example fails because the Condition arguments are wrong
https://mathlab.github.io/PINA/_rst/tutorial1/tutorial.html
To Reproduce
The code in https://mathlab.github.io/PINA/_rst/tutorial1/tutorial.html
Expected behavior
The example should run fine
Output
Traceback (most recent call last):
  File "example.py", line 8, in <module>
    class SimpleODE(SpatialProblem):
  File "example.py", line 39, in SimpleODE
    'x0': Condition(Span({'x': 0.}), initial_condition),
  File "/code/pina/condition.py", line 69, in __init__
    raise ValueError('Condition takes only the following keyword arguments: {`input_points`, `output_points`, `location`, `function`, `data_weight`}.')
ValueError: Condition takes only the following keyword arguments: {`input_points`, `output_points`, `location`, `function`, `data_weight`}.

Additional context
https://github.com/openjournals/joss-reviews/issues/5352

👋🏻  @akshaysubr and thanks for the feedback. I checked the tutorial in .pynb, .py in here, and the .rst file which is used when building the docs in here and they are all correctly updated.
The problem you are encountering is due to ReadTheDocs update. Indeed, we update automatically the documentation page once a month, so if we make changes they are not immediately updated on the documentation page but only once a month. This avoids to refresh the doc page after every commit. Recently commit #91, we made a modification in the tutorial due to a modification in the Conditioning class, so this is not yet visible in the doc page.
Hope this helps :)

Thanks, that helps. Confirming that the .rst file has the right updated documentation:
    conditions = {
        'x0': Condition(location=Span({'x': 0.}), function=initial_condition),
        'D': Condition(location=Span({'x': [0, 1]}), function=ode_equation),
    }

Would be good to have the readthedocs page also updated or maybe mention this one month lag in the readme so in case something doesn't work, people can check out the native docs in the repo.

Hello! We updated the documentation page, now also there the tutorial is updated.
Thanks for the feedback, we will discuss how to put this into the README😊

Perfect! I see the updated instructions. Closing the issue.


Update ResourceLoaderText::load to not update progress if resources a…

…re 0
Related to #41294

Search in the file, there's another occurrence.

@akien-mga sorry about missing those, I blame my lack of coffee (and it being 1 am local). I found two more occurrences and added the check in the if.

Looks good. Could you squash the commits into one? See PR workflow.

@akien-mga squashed

Thanks! And congrats for your first contribution :tada:

Thanks! Looking forward to more


[cityhash] Add new port

https://github.com/google/cityhash

@zi-m is it feasible to be able to configure the config.h file on the fly?

I have done it for linux, but not for windows ((

This PR looks good to me, we have other ports that ship a config.h for Windows.
The usage file is not required. Instructions to link the libraries using CMake are auto-generated by vcpkg when config files are detected.

Thanks for the PR!


Compilation error in sky130_fd_sc_hd.v

In pdks/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v line number 49162, there appears to be a syntax error on the line. See the code below. It has an invalid label (should have been a comment). My guess is that in the Caravel SoC netlist simulation flow we don't see this because we always run with USE_POWER_PINS defined whereas I'm running on a netlist without the power pins.
From:
endif SKY130_FD_SC_HD__LPFLOW_BLEEDER_FUNCTIONAL_V
To:
endif // SKY130_FD_SC_HD__LPFLOW_BLEEDER_FUNCTIONAL_V

This issue already reported in OpenLane https://github.com/The-OpenROAD-Project/OpenLane/issues/1121


loadTemplate from file causes 'Synchronous XMLHttpRequest on the main thread'... warning

I'm loading a template from a separate file, like this:
$("#servers").loadTemplate("templates/server.html", servers, {isFile: true});
I got the following warning in the console:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.

If I put the template into a script tag, instead of a separate file, there is not such warning. So is there anyway to make the console warning happy if I still want to load the template from a separate file?

The warning will be coming from jquery's ajax method I imagine. If you give me details of which browser you see this in I can check

@codepb I see this error in Chrome. If I move the template data into the same html and wrap it in a script tag, it doesn't show this warning. I was trying to reproduce the same problem in a separate project which contains minimum files, however, it doesn't show the warning in the smallest test project. So I think the problem might be at somewhere else.
The full warning message is as follows:
pace.min.js:2 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. pace.min.js:2
When I comment out the script line with pace.min.js, the warning message shows the next js file.

@codepb after several hours investigation. I was able to reproduce the same problem in a minimized project.
This will guarantee to cause the warning:
$("#container").loadTemplate("./tmpl.html", [1], {isFile: true});
While replacing the array to an object will not show the warning:
$("#container").loadTemplate("./tmpl.html", {some_key: 'some_value'}, {isFile: true});
So it looks like when the data is an array, the warning is shown.

Ah, ok, this makes sense. Essentially the warning is raised because when you loop through an array whilst loading a file for the template, the template is loaded synchronously. This is to prevent making calls to the server that you don't need to.
Essentially, when looping through the array, and making async ajax calls, the first ajax called is made asynchronously, and then the next item in the array is processed. It looks in the cache for the template, and doesn't find it, because it's not yet been loaded from the first call for the file (as that was async). This could result in many unnecessary HTTP requests.
Making the call synchronous prevents this, as the second item in the array does not start processing until the template is loaded from the first call. Therefore the second item finds the template in the cache, and doesn't load from the server, saving many HTTP calls.
Looks like I might have to find a more elegant solution to this than just making things synchronous. I'll mark this as an enhancement and look when I get the time.


Feature Request: Advanced module settings

It would be great if we had font settings, color settings, and the ability to add and remove note templates.

There will be a macro to create your own templates (one macro per template) in v1.3.0.


Looping Through User Stories

Current Behavior:
The modal moves to the next user's stories when the current story ends.
If there are no more stories, the modal hides.
Expected Behavior:
When the last story of the current user ends, it should start replaying stories from the first index of the same user.
Steps to Reproduce:
Open the stories modal.
Navigate to the last story of the current user.
Observe the behavior when the last story ends
Possible Solution:
Implement a check to detect when the current story is the last one.
If it is the last story, reset the story index to 0 and replay the stories from the beginning.
or
add a prop like looping={true/false}  default false
if provide true then give expected behavior

Hey, thank you for you idea. I will implement as soon as possible

can we create this effect for now
any suggestion

Am I understand it correctly? You want have looping only for last user? So when last story of last user ends you want show first story of current user, not first user, right?

yes i want if a single user then start looping of stories


would be good if Makefile could detect if cocotb tests fail

needs to check for failure in the results.xml file

I always assumed that they return with a non-zero value, never noticed that this isn't the case. What's the best way to check for failure? Just grep for the `" tag?

yes just grep for failure in results.xml.
example:
https://github.com/mattvenn/rgb_mixer/blob/5b453fa8ae457f1a04e641eeb99770d5193d5c7c/Makefile#L21
On Tue, 15 Jun 2021 at 10:57, rpls @.***> wrote:

I always assumed that they return with a non-zero value, never noticed
that this isn't the case. What's the best way to check for failure? Just
grep for the `" tag?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rpls/wrapped_chacha_wb_accel/issues/4#issuecomment-861318604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223BZAFH5MNMATQAX4I3TS4IV3ANCNFSM46WYGE6A
.

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn

thanks!
On Tue, 15 Jun 2021 at 11:54, rpls @.***> wrote:

Closed #4 https://github.com/rpls/wrapped_chacha_wb_accel/issues/4 via
a312d9d
https://github.com/rpls/wrapped_chacha_wb_accel/commit/a312d9dad8b4d6c222ce1e3e70903e866d76ca2d
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rpls/wrapped_chacha_wb_accel/issues/4#event-4890576007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223EKNHPDGHVSRDROHTLTS4PNNANCNFSM46WYGE6A
.

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn


failed to set up TLS certificates

anyone has any idea how to fix this?
[18:04:06] [err] failed to set up TLS certificates: login.registeringencrypted.com: obtaining certificate: [login.registeringencrypted.com] Obtain: [login.registeringencrypted.com] solving challenge: login.registeringencrypted.com: [login.registeringencrypted.com] authorization failed: HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up A for login.registeringencrypted.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for login.registeringencrypted.com - check that a DNS record exists for this domain (ca=https://acme-v02.api.letsencrypt.org/directory)                                                                                [18:04:06] [err] run 'test-certs' command to retry

telegram @itsdayztar

found a solution yet ?

found a solution yet ?

Ofc no, I have been trying to install EvilGinx2 for over a month now, listen, i use Namecheap and Digital Ocean (on Windows 11) (ofc purchased domain) how do the heck do i make it work

Check out waelmas/frameless-bitb works perfectly
On Wed, Jul 3, 2024 at 2:18 PM SupFeder @.***> wrote:

found a solution yet ?
Ofc no, I have been trying to install EvilGinx2 for over a month now,
listen, i use Namecheap and Digital Ocean (on Windows 11) (ofc purchased
domain) how do the heck do i make it work
—
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/1082#issuecomment-2205941834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUJDNX5KERJPP2GFGHXJIGTZKPTX5AVCNFSM6AAAAABJSP6EKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVHE2DCOBTGQ
.
You are receiving this because you commented.Message ID:
@.***>

Already tried, didn't work, it's on Linux, there are some absurd commands that don't even work

Am using parrot o.s try that.
On Wed, Jul 3, 2024 at 3:05 PM SupFeder @.***> wrote:

Already tried, didn't work, it's on Linux, there are some absurd commands
that don't even work
—
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/1082#issuecomment-2206033372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUJDNX56K4E6N2AF6OKM6ITZKPZJLAVCNFSM6AAAAABJSP6EKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGAZTGMZXGI
.
You are receiving this because you commented.Message ID:
@.***>

Ubuntu? Does It work on that?

Had command, update and insufficient storage issues, parrot worked locally.
Yet to deploy online.
On Wed, Jul 3, 2024 at 3:10 PM SupFeder @.***> wrote:

Ubuntu? Does It work on that?
—
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/1082#issuecomment-2206042611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUJDNX3RLLPWNWTUAYQH2UDZKPZ3HAVCNFSM6AAAAABJSP6EKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGA2DENRRGE
.
You are receiving this because you commented.Message ID:
@.***>

listen what version of EvilGinx have you installed?

did anybody get theres fix ?


build: fixed benchmark module path

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.67%. Comparing base (a8856fc) to head (1e65f18).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   92.67%   92.67%
=======================================
  Files          22       22
  Lines        1939     1939
=======================================
  Hits         1797     1797
  Misses        129      129
  Partials       13       13

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Gallium Semester Tasks

This is a master task list of all the items identified as a part of the Gallium semester deliverables. The tasks are listed below:
List of the work-items.

[ ] #3782 Cross Region Hedging (Thompson Sampling for Speculative Retry). => @NaluTripician to Analyze, Design and Implement.

Upgrade follow-ups:

[ ] #3848 Cosmos benchmark as ARM template . => @NaluTripician is currently working on this.
[x] #3895 => @kundadebdatta has completed this task.
[x] #3773 Connection Health gap's=> @kundadebdatta has completed this task.
[ ] #3819 Transport chaos simulation. => @NaluTripician currently working on it.
[x] #3872 => @kundadebdatta has completed this task.
[ ] #3908 => @kundadebdatta is currently working on this.
[ ] Dynamic timeout's (At-least connection-timeout) => @NaluTripician to analyze and scope.
[ ] Pipelined requests (fail faster) => @NaluTripician to analyze and scope.
[ ] Code clean ups after the Upgrade work. => @kundadebdatta .

Supportability:

[ ] ClientTelemetry => Debdatta to analyze and scope. (Should be prioritized)
[ ] Diagnostics (any missing context) => Debdatta to analyze and scope.
[ ] Compaction => Backlog Item - Ways to reduce the diagnostics content.

Reliable Writes:

[ ] Prioritize brute force logic. => Debdatta to Analyze and Scope.
[ ] Non-brute-force logic => Backlog

Caches: Guaranteed address refreshes (decouple from CX CancellationToken's) => Nalu to Analyze and Pick Up.

DNS -> IP handling (Caching etc.)

[ ] DNS outage, Compute corss-federtation routing etc.  => Nalu to Experiment/ Analysis: Can we do DNS to IP mapping ourselves. (Last good known). Right now, waiting on clarifications.

Other Miscellaneous Tasks:

Connection sharing between clients.
Patch and Bulk in the same library.

@kundadebdatta @kirankumarkolli  Is this an official list and source of truth for Gallium semester?

@kundadebdatta @kirankumarkolli Is this an official list and source of truth for Gallium semester?

Hi @philipthomas-MSFT  - Thanks! This is meant to list down the tasks that are assigned to @NaluTripician and Me for the Gallium semester scope.


Major Refactoring

While we upgraded our stack to py35 and dj19 we did some major changes to django-health-check.
Most notably made it work similar to Django's form validation.
check_status doesn't return anything, but raises custom Exceptions now.
I have a couple of py3 only features in there like raise from but I can get rid of that if you'd like me to.
Further more, if you don't feel like maintaining this any longer, let me know. As we're using it at my company, we can maintain it for the future.
Cheers,
Joe

Hi there,
Thank you for contributing to django-health-check!
I'm happy to accept this PR if you fix it so it works with python 2 as well :-)
I'm very busy with my startup at the moment, so I'd love to take in another person to help maintaining this project. If you're interested send me an email at<EMAIL_ADDRESS>and let's take it from there.
Kind regards,
Kristian

Any update on this?  Would be nice to get it in.

@adamn yes, I really want to finish this. It's mostly tests and reviews missing. Currently I didn't find the time to finish it. I'm on vacation right now, but I'll try to look into it asap.


syscall: Unshare with CLONE_NEWUSER fails

What version of Go are you using (go version)?
go version go1.9.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/home/rvolosatovs/.local/bin.go"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"

What did you do?
main.c
#define _GNU_SOURCE
#include <sched.h>
#include <stdio.h>

int main(int argc, char *argv[]) {
    printf("%d\n", unshare(CLONE_NEWUSER));
    return 0;
}

main.go:
package main

import (
	"fmt"
	"os"
	"syscall"
)

func main() {
	fmt.Printf("%d\n", syscall.Unshare(syscall.CLONE_NEWUSER))
	os.Exit(0)
}

main_cgo.go:
package main

// #define _GNU_SOURCE
// #include <sched.h>
// #include <stdio.h>
import "C"

import (
	"fmt"
	"os"
)

func main() {
	fmt.Printf("%d\n", C.unshare(C.CLONE_NEWUSER))
	os.Exit(0)
}

compile and run each of those with:
unshare -U echo 0 &&\
gcc -o main main.c && ./main &&\
go build -o main main.go && ./main &&\
go build -o main main_cgo.go && ./main

What did you expect to see?
0
0

0

0

What did you see instead?
0
0

22

-1

The errno 22 returned by main.go implementation corresponds to syscall.EINVAL, "invalid argument"

My understanding is that the unshare system call is basically impossible to use correctly in a multi-threaded programs, and Go programs are always multi-threaded.  So unfortunately I don't think there is any safe way to use syscall.Unshare.
One thing that you can safely do is use the os/exec package to start a new program (or to re-exec the same program), setting `SysProcAttr.Unshareflags to the unshare flags you want to use for the new program.
I'm going to close this since I don't think there is any possible resolution.  Please comment if you disagree.

I see your point, but in my particular use case I need to bind mount a directory in the file system root  as a non-root user and afaik there's no way to do so using "just" os/exec and so I wanted to use the unshare for this specific goal.
Excerpt from the program:
	if err = syscall.Unshare(unshareFlags); err != nil {
		log.Fatal(errors.Wrap(err, "Failed to unshare()"))
	}

	f, err := os.Open(hostRoot)
	if err != nil {
		log.Fatal(errors.Wrapf(err, "Failed to open %s", hostRoot))
	}

	names, err := f.Readdirnames(-1)
	if err != nil {
		log.Fatal(errors.Wrapf(err, "Failed to read directory names at %s", hostRoot))
	}

	m := make(map[string]string, len(names)+1)
	for _, name := range names {
		if name == "nix" {
			continue
		}
		m[filepath.Join(hostRoot, name)] = filepath.Join(rootPath, name)
	}
	m[nixPath] = filepath.Join(rootPath, "nix")

	for hostPath, guestPath := range m {
		fi, err := os.Stat(hostPath)
		if err != nil {
			log.Fatal(errors.Wrapf(err, "Failed to stat() %s", hostPath))
		}

		mode := fi.Mode() &^ syscall.S_IFMT
		if err = os.Mkdir(guestPath, mode); err != nil {
			log.Fatal(errors.Wrapf(err, "Failed to create new directory at %s with mode %s", guestPath, mode))
		}

		if err := syscall.Mount(hostPath, guestPath, "none", syscall.MS_BIND|syscall.MS_REC, ""); err != nil {
			log.Fatal(errors.Wrapf(err, "Failed to bind mount %s to %s", hostRoot, guestPath))
		}
	}

I need to setup a chroot environment as a non-root user.
Any suggestions how I could do that, or is it not possible to do so with Go?

Is that the same as #12125?

#12125 is a proposal for a feature, though this is a bugreport. The essential idea is the same though.
Regardless, solution from #12125 is pretty much exactly what I tried to do and it fails with syscall.EINVAL, errno 22 (same as in my first post), which should not happen.
Also, you can see that it works in C implementation and using the unshare directly from shell.

The C program is a single-threaded program.    You can't reliably use unshare in a multi-threaded program.

Okay, so it's not possible to do bind mounts as a non-root user in Go, right?
Is https://github.com/golang/go/issues/12125#issuecomment-130500477 (which you suggested) the only solution to the problem then?
because https://github.com/golang/go/issues/12125#issuecomment-162139704 fails with the same "invalid argument" error.

@rvolosatovs I'm doing something similar; I have a simple Go program https://github.com/myitcv/g/blob/master/cmd/unsharemounts/main.go (could just as easily be C code as @ianlancetaylor points out) that runs setuid as root which performs the intermediate  CLONE and then exec's a child process having reduced privilege escalation.
The code is old, probably could be done a better way... but it works for my requirements.
The background to my requirement is http://blog.myitcv.io/2014/03/18/using-process-namespaces-to-implement-variant-symlinks.html

@rvolosatovs I do not know enough about this to usefully comment.  The point of #12125, which is still open, is to figure out some useful way to do bind mounts in Go.  Any comment on that topic should go onto that issue, not this one.  Thanks.

@rvolosatovs - I don't understand why execing yourself wouldn't work in this case. It seems simple enough. Just exec yourself with a special parameter (or even environment variable) set to tell the new version of yourself not to do it again. Heck, you could even test whether or not a file previously owned by root is now owned by nobody or any number of other things.


RELEASING.md: Adding verbiage about breaking changes

I have addressed feedback, PTAL

Coverage decreased (-0.004%) to 80.888% when pulling 5c5fb7ac09aa61cfca957d8f65e2769cabeb0e63 on garrettjonesgoogle:alt into 5d502490a9e9677c105441941f1d471bdde8a916 on GoogleCloudPlatform:master.


feat: Add nvim-dap-ui highlight groups

Plugin: https://github.com/rcarriga/nvim-dap-ui
Original highlights: https://github.com/r/blob/master/lua/dapui/config/highlights.lua
closes #86
before

after

Looks great! Thanks 😌


[Question] Is image/video guaranteed already saved when return from Intent?

I tried to make application which process large image/video captured from cwac-cam2.
on onActivityResult, do I need to add delay to make sure data is completely written to disk, before I can process/read the image/video file?

Please, this is an issue tracker. Either follow the contribution guidelines for filing bug reports and such, or follow the support instructions for asking questions.
For still photos, the files should be fully written to disk before control returns to you in onActivityResult(). For videos, MediaRecorder is responsible for the file, not my code, and so I cannot offer any guarantees regarding the state of that file at the point of onActivityResult().


Add my changes to recursion .

It describes the usage and importance of a base condition.

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution.