unable to parse the world data to get borders on flutter_map

for example, i am using the world data from here to draw country borders https://datahub.io/core/geo-countries coutries.geojson,
Next i am using your plugin to parse thedata
  Future<void> startParam() async {
    osmController = MapController();

    final data = await rootBundle.loadString('assets/countries.geojson');

    myGeoJson.parseGeoJsonAsString(data);
    setState(() {});
  }

and using it normally in the flutter_map in polyline
  PolylineLayer(
                    polylines: myGeoJson.polylines,
                  ),

nothing happens there was a error initially in ur plugin regarding exceeding the lat lan value being under 180 so, updated your code as such
 case 'MultiPolygon':
          {
            for (final polygon in f['geometry']['coordinates'] as List) {
              final List<LatLng> outerRing = [];
              final List<List<LatLng>> holesList = [];
              int pathIndex = 0;
              for (final path in polygon as List) {
                List<LatLng> hole = [];
                for (final coords in path as List<dynamic>) {
                  double latitude = coords[1] as double;
                  double longitude = coords[0] as double;
                  if (longitude > 180) {
                    longitude = longitude - 360;
                  } else if (longitude < -180) {
                    longitude = longitude + 360;
                  }
                  if (pathIndex == 0) {
                    // add to polygon's outer ring
                    outerRing.add(LatLng(latitude, longitude));
                  } else {
                    // add it to a hole
                    hole.add(LatLng(latitude, longitude));
                  }
                }
                if (pathIndex > 0) {
                  // add to polygon's list of holes
                  holesList.add(hole);
                }
                pathIndex++;
              }
              polygons.add(polygonCreationCallback!(outerRing, holesList,
                  f['properties'] as Map<String, dynamic>));
            }
          }
          break;
      }

i don't get any results or update, what am i missing here .? could u give it a try ?

Hi @jesussmile!
The problem is obvious - wrong values in the geoJson file with values bigger or smaller than 180 or -180 degrees. There are several values like<PHONE_NUMBER>000002 in the file.
In my opinion correcting this values is possible and I will build in kind of check for min/max values of lat/lng. However, I would expect that this corrections or min/max checks would be part of class LatLng.
Saying that, I checked your proposed code for errr correction and changed the conditions. The problem that you don't get the result is the way your's code handles illegal values.
      double latitude = coords[1] as double;
      double longitude = coords[0] as double;
       if (longitude > 180.0) {
           longitude = 180.0;
       } else if (longitude < -180.0) {
                    longitude = -180.0;
                  }

With this change you will get the result on the map.
To read data directly from internet I used the following code:
  Future<String> readDataFromInternet(String url) async {
    try {
      Map<String, String> headers = {
        'Content-Type': 'application/json',
        'Accept': 'application/json',
      };
      var response = await http.get(Uri.parse(url), headers: headers);
      return response.body;
    } on SocketException catch (e) {
      print(e.toString());
      rethrow;
    } catch (error, stackTrace) {
      String msg = 'MakeHttpRequest execGet: ${error.toString()} $stackTrace';
      print(msg);
      rethrow;
    }
  }

I have changed the  processData function to load data from internet via added function.
  Future<void> processData() async {
    String countryPolygonsUrl =
            "https://datahub.io/core/geo-countries/r/countries.geojson";

    String countries = await readDataFromInternet(countryPolygonsUrl);
    myGeoJson.parseGeoJsonAsString(countries);
  }


Intermittent database is locked errors with dqlite

Version:
k3s version v1.17.6+k3s1 (bd7fb4b0)
K3s arguments:
(I'm using K3OS)
k3s server --cluster-init # on node 1
k3s server # on node 2 & 3
I have a DNS entry with three IN A records pointing at all three servers. I've used that for the K3S_URL.
Describe the bug
I'm getting intermittent database is locked errors when doing kubectl commands.
To Reproduce
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml

It's probably easier to reproduce if you run another command at the same time, but not necessary to trigger this.
Expected behavior
Great success.
Actual behavior
namespace/kubernetes-dashboard created
serviceaccount/kubernetes-dashboard created
secret/kubernetes-dashboard-certs created
secret/kubernetes-dashboard-csrf created
secret/kubernetes-dashboard-key-holder created
role.rbac.authorization.k8s.io/kubernetes-dashboard created
clusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created
rolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
clusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
deployment.apps/kubernetes-dashboard created
deployment.apps/dashboard-metrics-scraper created
Error from server: error when creating "https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml": rpc error: code = Unknown desc = database is locked
Error from server: error when creating "https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml": rpc error: code = Unknown desc = database is locked
Error from server: error when creating "https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml": rpc error: code = Unknown desc = database is locked

dqlite wqs experimental, and will be replaced with embedded etcd in future releases.


Support Reverse Polish Notation (RPN)

Problem Statement

Reverse Polish Notation / RPN / Postfix mode is an alternate calculator entry mode that is very powerful (leveraging a stack does this!) and should be simple enough to implement.
This behaviour can be seen in physical HP scientific calculators, or the calc mode in Emacs.

Evidence or User Insights

It's a simple addition with minimal overhead that would please some potential users that right now need to seek other solutions.
Goals

Users can toggle an RPN mode of entry
Low-Fidelity Concept

Simple psuedocode:
#! python3

# Or a function list, or something to check if input is "function" or "input"
functionMap = {
    "+": lambda x, y: x + y,
    # ....
    "mod": lambda x, y: x % y
}

stack = []
while True:
    userInput = getInput()
    # If it's not a function, add it to the stack
    if userInput not in functionMap.keys():
        stack.append(userInput)
    else:
        # Evaluate the last two items on the stack.
        # In real usage, the last stack item is often implicit, eg,
        # 27 [enter] 3 /
        # rather than
        # 27 [enter] 3 [enter] /
        b = stack.pop()
        a = stack.pop()
        stack.append(functionMap[userInput](a, b))

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Thanks for the feature suggestion! This is really well thought-out, and we really appreciate it. Let's keep this idea open for discussion so the community has the chance to provide feedback.

Shunting-yard algorithm? The first time I considered this, I thought it would make sense to reuse the history capability as a stack, and this would have the added benefit of being able to swap or move results around the stack by drag and drop. But the calculator engine is highly fixed how it works. I now think it might be easier and less disruptive to have a mode (like scientific) which would maintain its own stack and just use a shunting-yard to convert to Infix for the calculator engine. The equals key (=) would just become Enter, and you'd loose the need for the parenthesis. Postfix (RPN) to Infix is pretty straight forward and actually easier to implement than Infix to Postfix, but it'd also be handy to have an operation which converts expressions back and forth without evaluating until the Enter/Equals key is pressed.
(1+2)/3 could be written Infix and pressing the RPN key would transform it to 1 2 + 3 / for the user and swapping the mode at the same time. Pressing Enter/Equal at this time would evaluate. Where this would be unusual is initially being in RPN mode where normally the operator carries out an evaluation, so it would normally convert like 1 2 + → 3 → 33 / → 1, where the values in bold are what are added to the stack.
I've been waiting for this mode for 20 years.

This is the one feature I wish that Windows calculator had.  Once you get used to RPN it is really hard to go back. The calculator on macOS offers this option and every other device I use has some kind of RPN calculator setup on it.  I really like the Fluent design interface on Windows calculator and this would really make me want to use this more if it offered this as an option!

Calculator is USELESS without RPN mode.

We reviewed the pitch and would love to explore this idea further! I think this pitch is a great start, but there are still some open questions. Moving this into pre-production to iron out some of the details. Keep in mind that not all ideas that make it into pre-production are guaranteed to make it to release.
A couple top-of-mind open questions:

This pitch could be strengthened with more evidence/user insights. RPN surely has historical usage, but is it still actively taught/used? If so, in which fields?
How can we ensure that users do not accidentally get into RPN mode? This is extremely important to prevent confusion for typical/casual users.
How does this affect display output and history items?

I created calculator-specs/rpn to track progress. For more information on next steps, check out our spec workflow.

huge +1 on this request. This feature is overdue by some decades now.
MacOS calculator has included RPN support for a very long time. Take a look at: https://support.apple.com/en-in/guide/calculator/welcome/mac

RPN is the best way I know to do nested calculations without the need for parentheses. I strongly support this proposal.

Leaving this comment here as a form of appreciation. RPN mode would be amazing to have and a huge time saver for anyone used to using RPN calculators.

+1

+1

@mcooley could you please send us an update on this one if you can?
to me, RPN function could be implemented as per the Apple calculator default app on macs. on the "view" menu there is an option to enable the rpn logic and the magic is done.
It is quite a useful option to implement from my point of view and there is no harm from all users that want to stick to the standard calculator.
many thanks

I would love this feature

Going to +1 this.
The easiest way to support this IMO would be to make it another mode. Perhaps this mode is a blend of the HP 12C and 15C?
Another idea could be to bury it under options. This would also allow switching to prefix notation, but I don't know how it would interact with all of the modes.

I'll just drop a plug here for an RPN calculator I made, designed to look and feel almost exactly the same as the Windows 10 calculator (when installed as a PWA):
https://ralc.shamus.dev
Source code is here: https://github.com/Shamus03/ralc
It also works great on mobile (I wanted a consistent calculator between mobile/desktop)

+1

It also works great on mobile (I wanted a consistent calculator between mobile/desktop)

As a +1 for the work done on this calculator, I use it as a PWA on my mobile devices. I discovered an issue and it was quickly patched.
With respect to Windows Calculator, the only real value of Rcalc is that it demonstrates effectively how the UI might work. To make this part of Windows Calculator, it would be important to leverage the existing calculator engine and extend the UI of the standard, scientific, and programming calculator modes. For the UI, changing the = key to an enter key would be a simple change.

I would also love this feature. As long as it's absent I'm forced to use alternative apps, but I'd much rather use Windows Calculator.

Missing RPN is by far the biggest reason I don't usually use Windows calculator.

This would be a great feature to add; You could make it an option in the settings menu that is easily changeable. Would love if this gets implemented!

We reviewed the pitch and would love to explore this idea further! I think this pitch is a great start, but there are still some open questions. Moving this into [planning](https://github.com/Microsoft/calculator/blob/master/docs/NewFeatureProcess.md#step-2-planning
I created calculator-specs/rpn to track progress. For more information on next steps, check out our spec workflow.

I understand from this that the next step is for the community to create fill out the spec sheet template in the repo you provided.  I am going to start doing so.

+1 Here in Norway at least, the RPN calc is the default for quite a few engineering professions and basically all the economists I know, as one of the HP RPN calculators is the one you are being taught for in one of the biggest schools of economics here.

I learned using RPN at university, and once you get it, you get a much better feeling of equations' inner structures. Because you solve the most coherent terms first from the inside out, not dully from left to right.
Currently, I use a phone app that can do this. And I cannot understand that the MS calculator, which tries to shine as a "flag ship" with lots of glitter, still does not provide this mode that many serious engineers and scientists use for a reason.

Coming from MacOS to windows has been a horrible experience, only made worse by the fact that the Windows calculator does not support RPN.

This is desperately needed and long overdue.  This issue has been open for 5 years and still no progress?

+1


The patch for XSS vulnerabilty in BaseModelAdmin.get_empty_value_display()

Description
The get_empty_value_display() function renders the value self.empty_value_display without sanitization, leading to potential XSS exploitation. I made this pull request to sanitize the string before rendering on the admin dashboard.
Tested environment

Platform: Windows 11
Django: version 5.1.3

Vulnerable code
class BaseModelAdmin(metaclass=forms.MediaDefiningClass):
...
     def get_empty_value_display(self):
        """
        Return the empty_value_display set on ModelAdmin or AdminSite.
        """
        try:
            return mark_safe(self.empty_value_display)
        except AttributeError:
            return mark_safe(self.admin_site.empty_value_display)

PoC
# models.py
class Author(models.Model):
    name = models.CharField(max_length=100)
    birth_date = models.DateField(null=True, blank=True)

class AuthorAdmin(admin.ModelAdmin):
    list_display = ('name', 'birth_date')
    empty_value_display = "\"><script>alert(document.domain)</script>"

admin.site.register(Author, AuthorAdmin)

Hi @nhienit2010
Firstly, reporting of potential security issues should follow our guidelines. Issues should not be raised in public if you believe there are security implications. Having said that, there is no XSS vulnerability here. The value of empty_value_display is a static value, not controlled by the end user. If they were able to directly modify the code to cause this to be vulnerable in the way you have proposed, you'd have much bigger problems!


Add Expiration for curve lending bot

Like limit order bots and stop-loss bots, we would like to have an expiration for Curve lending bot. Namely, users will specify the duration of their bot on the FE like below. When a bot expires, monitoring will stop and users can cancel their bot to withdraw.

Resource: https://github.com/VolumeFi/curve-limit-order-bot-vyper/blob/master/contracts/curve_limit_order_bot.vy#L46
Tasks:

Add expire in the vyper contract for Curve lending bot like the limit order bot

https://github.com/VolumeFi/curve-lending-bot-vyper/commit/2acea219f319f738be72081608bd1cea2407696a


fuse2: new package at 2.9.9

Please fill out the template.
Read: https://k1sslinux.org/wiki/kiss/style-guide
Please include the manifest for version bumps and new packages.

Description of package
This is libfuse but at version 2.9.9, version 3 breaks compatibility.
AppImages require fuse 2.
Installed manifest of package
(kiss manifest <pkg>)
/var/db/kiss/installed/fuse2/version
/var/db/kiss/installed/fuse2/sources
/var/db/kiss/installed/fuse2/manifest
/var/db/kiss/installed/fuse2/etcsums
/var/db/kiss/installed/fuse2/checksums
/var/db/kiss/installed/fuse2/build
/var/db/kiss/installed/fuse2/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/shared/man/man8/mount.fuse.8
/usr/shared/man/man8/
/usr/shared/man/man1/ulockmgr_server.1
/usr/shared/man/man1/fusermount.1
/usr/shared/man/man1/
/usr/shared/man/
/usr/shared/
/usr/lib/udev/99-fuse.rules
/usr/lib/udev/
/usr/lib/pkgconfig/fuse.pc
/usr/lib/pkgconfig/
/usr/lib/libulockmgr.so.1.0.1
/usr/lib/libulockmgr.so.1
/usr/lib/libulockmgr.so
/usr/lib/libulockmgr.a
/usr/lib/libfuse.so.2.9.9
/usr/lib/libfuse.so.2
/usr/lib/libfuse.so
/usr/lib/libfuse.a
/usr/lib/
/usr/include/ulockmgr.h
/usr/include/fuse/fuse_opt.h
/usr/include/fuse/fuse_lowlevel_compat.h
/usr/include/fuse/fuse_lowlevel.h
/usr/include/fuse/fuse_compat.h
/usr/include/fuse/fuse_common_compat.h
/usr/include/fuse/fuse_common.h
/usr/include/fuse/fuse.h
/usr/include/fuse/cuse_lowlevel.h
/usr/include/fuse/
/usr/include/fuse.h
/usr/include/
/usr/bin/ulockmgr_server
/usr/bin/mount.fuse
/usr/bin/fusermount
/usr/bin/
/usr/
/etc/init.d/fuse
/etc/init.d/
/etc/
/dev/fuse
/dev/

New package

[x] Latest upstream version.
[x] I agree to maintain this package.
[x] I agree to notify @kiss-community if I can no longer maintain this package.

Existing package

[ ] I am the maintainer of this package.

Need to fix something


Implement from_edges

Implement possibility to run only on a subset of edges, as required by CRiSP.

Just a little note on that we have already defined some tests (now skipped) on how this is envisaged to work:
https://github.com/CityRiverSpaces/rcoins/blob/4985c2c8adbe86cf1f8acd064e37b855af31c113/tests/testthat/test-stroke.R#L140-L157

Forgot to link the notebook that modifies the momepy.COINS implementation to do grow lines starting from a given segment: https://github.com/CityRiverSpaces/prototyping/blob/main/notebooks/segments/segments_bucharest_river-valley.ipynb


GoPro5black: changing the APs SSID and PWD - youtube video

@konradIT:
You've made this youtube video:
https://www.youtube.com/watch?v=5FHdcvFiLR4
you are describing an important fix but unfortunately the videos quality is so bad that I do not get the file's name you are nano-ing nor the code you are writing in.
Can you briefly explain again please how you are doing it?

https://github.com/KonradIT/GoProWirelessPassword/blob/master/code/GoPro_Password_Change.sh


Fix ASAS-SN import line

needed in order to query catalog

Sent you an email at 1:53 pm - can resend if it didn't go through?

Ah, OK. I see it now. Will check it out. P

First problem is that the Asassn database record is not called AsAssnQ3cRecord(...) at line 151 but ASASSNQ3cRecord(...)!
Second, the failure is at line 107/108 ... milliquas not asassn! Will see what's going on there.

Huh, there is obviously a circularity problem that I don't yet understand. You actually only need to import the _cli code as
that imports the _filters which in turn imports the _orm. So:
from sassy_src.models.milliquas_q3c_orm_cli import *
from sassy_src.models.asassn_q3c_orm_cli import *
If you do that the problem persists. However, if you reverse the order, the code runs successfully!
from sassy_src.models.asassn_q3c_orm_cli import *
from sassy_src.models.milliquas_q3c_orm_cli import *
That will get you running but I'll plug away and see if I can see why it works one way and not the other.
P

Thanks a lot, Phil! Sorry for the slow response - I was traveling all day. Will take a look Monday.
And don’t worry Dave, I’ll make sure to comment on the issue!!!

On Apr 29, 2022, at 11:29 AM, Phil Daly @.***> wrote:

OK, I have a copy of the code that works independently of the import. So, remove all imports of sassy_src.models.* etc and use:
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sassy_src.models import *
from sassy_src.models.asassn_q3c_orm import AsAssnQ3cRecord
from sassy_src.models.asassn_q3c_orm_filters import asassn_q3c_orm_filters
from sassy_src.models.milliquas_q3c_orm import MilliQuasQ3cRecord
from sassy_src.models.milliquas_q3c_orm_filters import milliquas_q3c_orm_filters
Obviously, we're removing any circularity problem by doing more explicit imports.
If you want to see my code directly, look at either /home/phil_daly/catalogs_problem3.py or /home/phil_daly/catalogs_problem4.py - they only differ by the import order and both appear to work.
Let me know if these work for you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.

All fixed! Thanks again, Phil


Improve Vault and Transport tests

This PR contains two improvements:

Add getopts to the TCP test to allow for a non-fixed path to the fixtures directory. IP and Port are also added to getopts.
Check the error return for the default vault test create step.

@mtm0183 could you resolve conflicts.
@robinbudd could you review after @mtm0183 has resolved the conflicts. I'll merge after Robin's review.


1.19 version and prerelease version both give incorrect seed in Realm in 1.19.2

I was trying to crack the seed for a vanilla 1.19.2 realm that I'm a part of. Each time it's "found the world seed", it shows the same, albeit incorrect, seed.  Is there anything I'm doing wrong?
Things I've tried:
-Using 1.19 version, and prerelease version
-Disabling everything except shipwrecks, and only using those
-Going to different areas of the world and trying there
-Restarting client multiple times.
Each time, I've gotten the exact same seed, and checking both on chunkbase and in singleplayer, it's not correct. I would like to reiterate that this realm is vanilla.

Maybe the realm uses the large biome setting

Just checked chunkbase for large biomes, and also created a large biome world, amplified too, and none of them are correct. Is it possible that realms uses a different world gen?

As an update; I'm even more confused now.
I managed to get the seed from the guy who owns the realm. It's the same seed as the one the seed cracker gave me. This felt very weird, so I checked chunkbase for the same seed in different versions, and found that the 1.17 had similar biomes to the realm. As one would expect, I loaded up 1.17 and generated a world with the same seed, and this is where I get confused.
I went to the coordinates of my base, lo and behold, there's the exact same mountain that I have my base on. All of the surrounding terrain is somewhat different; some of the biomes are wrong, there's a village missing as well.
I was wondering if you have an explanation for this. Clearly it's not an issue with the mod, so I'll be closing the issue, but I'm still sorely confused, and I hope that chunkbase will still help me with slime chunks.

Maybe your admin tweaked some world files
https://youtu.be/BbGUHAUfpv4


Error while pruning: Number of used blobs is larger than available blobs

So when I ran restic prune for the first time today, it told me to post this. So here I am.
If you want me to run some diagnostic commands against the restic repo, I'm more than happy to help out.
Maybe a dupe of:  #1633
Output of restic version
restic 0.8.3
compiled with go1.10 on darwin/amd64

How did you run restic exactly?
restic prune against a rest repo inside my LAN
Output:
Thu Apr  5 22:23:10 CEST 2018
password is correct
counting files in repo
building new index for repo
[4:03] 100.00%  19920 / 19920 packs
repository contains 19920 packs (558337 blobs) with 93.198 GiB
processed 558337 blobs: 0 duplicate blobs, 0B duplicate
load all snapshots
find data that is still in use for 8 snapshots
[0:40] 100.00%  8 / 8 snapshots
Fatal: number of used blobs is larger than number of available blobs!
Please report this error (along with the output of the 'prune' run) at
https://github.com/restic/restic/issues/new

What backend/server/service did you use to store the repository?
rest-server
Expected behavior
Successful prune without any errors.
Actual behavior
Apparently restic lost some blobs along the way.
Here's a short description of most of the operation run against this repo:

hourly backups (via wan and lan)
A call restic forget -y 20 -m 24 -w 12 -d 31 --prune Output: https://gist.github.com/git-commit/62e416acaf7f9ecada2d3e93f65300a7
A call restic check Output: https://gist.github.com/git-commit/58bcd0b693ee2bf3f6ff1520bf799881

Steps to reproduce the behavior
Did not try yet.
Do you have any idea what may have caused this?
My workplace internet connection is kinda wonky when many people use it. While running the restic forget command I put the pc to sleep and continued with it at home. Maybe in some cases the restic continues without a correct acknowledgement from the rest-server?
Do you have an idea how to solve the issue?
Nope
Did restic help you or made you happy in any way?
Once setup, the combination of restic with the rest-server works like a charm. Especially because both can be used with a single binary download only.

Hey, thanks for the report. It's not a dupe of #1633, the person over there got errors. Did you see any errors before?
What restic is complaining about is that there are references to some data (blobs == small parts of files) in the repo which it cannot find. Is the file system of the storage location corrupt? Did anybody delete a file? Were there any errors before?
I'm not sure yet what's going on here.
The repo itself is fine, except there's a single directory which contains files that cannot be restored any more, because the data cannot be found any more...

Oh, sorry, now I see the errors in the previous run of restic forget --prune. The errors are still different, because it looks like restic was temporarily unable to resolve a host, but succeeded eventually. Hm.

Sorry I didn't mention those errors more obviously.
I am running a FS check now, but I've no reason to suspect the FS to be corrupt. Also I'm the only one able to access the backup location, so anyone deleting a file is also very unlikely.
As for previous errors:

I had a dangling lock on the repo once and was not sure where it came from. After an unlock everything was fine however.
The folder to backup is changing mid-backup from time to time. It contains several directories which seem to be used for cache, that I haven't excluded manually yet. The option --exclude-caches doesn't seem to catch them.

Hm. Doesn't sound like you did anything wrong... It feels to me that an upload of a file to the repo failed and restic did not recognize it. Or the file was removed from the repo at some point.
The repo is in a good state apart from that single directory. If restic ever comes across the source data, it'll re-upload it and the repo will heal itself. Apart from that, the snapshot will eventually be removed with forget, and then the errors reported by check vanish.
I don't have any ideas on how to find out what happened further. Can you maybe check your logs for any obviously different errors which occurred during backup or prune?

After a recent prune run, the restic check now runs without errors. I'll let you know if this issue comes up again.
BTW: Is there a place to talk about restic without opening an issue?

BTW: Is there a place to talk about restic without opening an issue?

https://forum.restic.net/

I'm closing this issue for now, I'm not aware of anything we can do here for restic. Please feel free to add further comments. Thanks!


Adding URL to dist.nuget.org for PM UI/Console

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Guides/Install-NuGet.md
:white_check_mark:Succeeded

docs/Tools/Package-Manager-Console.md
:white_check_mark:Succeeded

docs/Tools/Package-Manager-UI.md
:white_check_mark:Succeeded

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


More fuzz tests

We keep finding bugs via fuzz tests, mostly thanks to @apoelstra running local tests. We should do this more on a crate level. Maybe (almost) every function has one or many fuzz tests associated with it?
We should also explore new ways how we use fuzz tests. Currently we mostly look for crashes. Alternatively, functions could have pre and post conditions, similar to the C code, that we fuzz against. The fuzzer produces an input, we filter for inputs that satisfy the pre condition, and we check if the post condition is fulfilled.

Agreed, but right now we are blocked on bitcoin_hashes breaking when compiled with cfg(fuzzing). Fixing this properly will require a sequence of new releases, but it might make sense for us to just fork bitcoin_hashes 0.11 for now, remove the fuzzing behavior, then add a [patch] entry to our fuzz/Cargo.toml.


wireless: 1.0.1-2 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository wireless to 1.0.1-2:

upstream repository: https://github.com/clearpathrobotics/wireless.git
release repository: https://github.com/clearpath-gbp/wireless-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.0.1-1

wireless_msgs

No changes

wireless_watcher
* [wireless_watcher] Switched to underscores to get rid of usage of dash-separated warning.
* Contributors: Tony Baltovski

I had to re-bloom due to https://build.ros2.org/job/Hbin_uJ64__wireless_msgs__ubuntu_jammy_amd64__binary/1/ failing because of an issue with my rosdep setup.


DBZ-6738 Preparing manifest repo for bundle releases

https://issues.redhat.com/browse/DBZ-6738

@jpechane More or less done. I need to check the scripts one more time and also add a script to automate the operatorhub contribution in order to simplify the process


chore: use mod.rs in db_cache

related: https://github.com/slatedb/slatedb/pull/346#issuecomment-2501985156

@flaneur2020 Took the liberty of updating this to get the tests passing. It involved two changes:

Added DEFAULT_MAX_CAPACITY to mod.rs
Moved db_cache.rs code into mod.rs and deleted the former

(2) had to be done to placate the linter (see the commit message for details).
I know this means we have non-import logic in mod.rs, which was something I wanted to avoid. But the linter wasn't happy, and I suppose code in mod.rs is idiomatic.


Make show version can be used by anyone

Previously we only permit root to do show version, but we should let any user can show version

Codecov Report

Merging #11339 (e9544a1) into master (9a25e6c) will decrease coverage by 0.02%.
The diff coverage is 14.28%.

@@             Coverage Diff              @@
##             master   #11339      +/-   ##
============================================
- Coverage     48.65%   48.63%   -0.02%
+ Complexity    24313    24297      -16
============================================
  Files          2801     2801
  Lines        171665   171665
  Branches      20513    20513
============================================
- Hits          83522    83493      -29
- Misses        88143    88172      +29

Files
Coverage Δ

...ngine/plan/statement/sys/ShowVersionStatement.java
0.00% <0.00%> (ø)

...ava/org/apache/iotdb/db/auth/AuthorityChecker.java
4.67% <16.66%> (+0.89%)
:arrow_up:

... and 18 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix split-on-first dependency

Build is failing as split-on-first is devDependancy and not a "regular" dependancy

Ugh, I totally missed this.

No worries.. Thank you!


Implement jsxhint maker

Adds support for https://github.com/STRML/JSXHint. It can be used via:
let g:neomake_javascript_enabled_makers = ['jsxhint']

hmm, maybe this is better implemented using let g:neomake_javascript_jsxhint_maker = { .. }, not sure.

oh, actually it looks like there's built in support when the filetype is jsx!

Yup :)  If you want, you can add this to the javascript file:
function! neomake#makers#ft#javascript#jsxhint()
    return neomake#makers#ft#jsx#jsxhint()
endfunction

hm. you can't really define function! neomake#makers#ft#javascript#jsxhint() without modifying the neomake bundle though (ie, can't just put it in my vimrc).

Ah. What I meant is that would be an acceptable change to add to neomake proper.

Tracking that in #170


Live: use date prefix for cloud records

Using a prefix for cloud records doesn't really help with listing requests, because the GCP support for prefix filtering is very basic. However, it would help us establish an absolute order in which files should be imported.

@awfm9 WDYM by this issue? Having a date prefix for cloud records would not be particularly helpful in our case, unless it's a UNIX timestamp and we want to use it for easier filtering/sorting.
IIRC, when listing bucket items we can get a struct with its name and creation date, so that should be enough for our needs.

We could still implement this and use the block ID plus block timestamp for the download name. I think it would add some small value on the side of record-keeping from the execution node's side.

We do not really need this anymore, as we download blocks by block ID as they become needed. So I'll leave it to the Flow team if they would see value in organizing their files better.


Update patches for 2.0.11

2.0.11 changes code for SteamContext::unlockAchievement, so we need a seperate patch for that.

Hurray I just noticed I wasn't getting cheevos today.

Cheers, thank you!


Consider British vs American English

For example, should we use "collectable" or "collectible".

Ashley strongly recommends American

After consultation decided on American English even.


Sub layer fixes

Minor but critical fixes to subLayers.
This branch is based on "concrete-filter" should be merged post that.

Yes in the BFS traversal for Style:: applyLayerFiltering.

Raw pointers could be safely used there regardless, no allocation or deletion is happening.
I also try to avoid type aliases. Naming is one of the two hardest problems in computing, so if we can avoid doing it, why not? :)

I reverted the last commit.
and yes shared_ptr are needed for SceneLayer since, multiple raw groups can share these layers.

#199 PR.


Accounts closed or renamed leave records in DynamoDB

Describe the bug
I've followed official documentation or taken steps to:

Close an AWS Account that was provisioned via this solution
Rename an AWS Account
Change the root email address for an AWS Account (same user journey as 2)

In scenarios 1 and 3, the DynamoDB table AcceleratorConfigTable has not removed the old record for the closed account, and in the case of the root email address change an additional record has appeared in DynamoDB (the existing record with the old email address is still there).
Please could you also confirm if the below steps to rename an account or change the root email address are correct? I couldn't find this in the official documentation for this project.
To Reproduce
Close an Account:

Login to the AWS Account where Control Tower is managed
Switch to the home region
Navigate to AWS Service Catalog and “Provisioned products”
Under “Access Filter”, select “Account”
Select the account to close
Under Actions (top right), choose Terminate and confirm in the pop-up
Wait for this to complete and disappear from Service Catalog
Navigate to AWS Organizations
Select the Account and move it to the “Suspended” OU (should have ignore: true in the organization-config.yaml for this OU)
Select the Account and “Close Account”
Update the LZA codebase and remove (or comment out) the account

Change root email address for an Account:

Update the LZA SCP for the relevant OU and ensure "iam:UpdateAccountName" is permitted: service-control-policies/deny-X.json
Login via the root credentials for the AWS Account in question
Navigate to: https://us-east-1.console.aws.amazon.com/billing/home#/account
Edit the “Account settings” and set the email address
Update the LZA repository and:

Modify the email address: accounts-config.yaml
Put the SCP back to original configuration if it was modified

Expected behavior

The DynamoDB table AcceleratorConfigTable should not contain records for a closed account that has been removed from the codebase (?).
The DynamoDB table AcceleratorConfigTable should have updated the existing record of an account where the root email address has changed, rather than creating a new record.

Extra details

[x] Version: v1.4.1
[x] Region: [e.g. eu-west-2]
[ ] Was the solution modified from the version published on this repository?
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[x] Have you checked your service quotas for the services this solution uses?
[ ] Were there any errors in the CloudWatch Logs?

Hi @KashifSaadat, thank you for creating this issue! I have created an issue for our team to investigate this behavior. I will update this issue when I have more information.
Here are documents that provide additional information about renaming and closing of:

Updating the AWS account name, email address, or password for the root user.
Closing an account.
Change the name of an enrolled account.

I have similar issue now.
I updated the LZA from version 1.3.2 to 1.5.0. The stack (CloudFormation) update was successful. The installer pipeline also ran successfully, I are facing errors in the Deploy/Security_Resources stage of AWSAccelerator-Pipeline.
2023-10-20 07:09:07.847 \| error \| toolkit \| Error: User: arn:aws:sts::123456780970:assumed-role/AWSAccelerator-PipelineSt-AdminCdkToolkitRole292E1-XRA7LYSN8LDF/AWSCodeBuild-f93df3ne-b8f3-46af-af54-122b001b10fc is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::111111111111:role/AWSControlTowerExecution
The error is complaining about AccessDenied to an account<PHONE_NUMBER>11) which is in suspended and unmanaged state. The account is in SUSPENDED OU which has ignore flag true. The account is waiting for its 90 days period to be closed permanently. Not sure why the pipeline is still picking it up. I also tried to run the pipeline from the beginning and it didn’t help.
Extra information:
This account was created by mistake. I was trying to rename and change email of an existing account. Let's say the existing account's name was Sandbox and using<EMAIL_ADDRESS>email address. To rename the account and change its email address, I modified the current information in accounts-config.yaml. So, I changed the name of the Sandbox to Sandbox2 and changed the email to<EMAIL_ADDRESS>I now know this was the wrong way to do these changes! The behavior of LZA was to create a new account with name Sandbox2 and the new email and leave the older Sandbox account as it. Since the new account was not needed, I followed the unmanage and close steps mentioned in LZA documentation.
Is there any workaround to fix this issue for the short-term?

Hi @bakharzy, so just to check is your configuration currently in a similar state to what's described in this document (for the Sandbox closed account): https://docs.aws.amazon.com/solutions/latest/landing-zone-accelerator-on-aws/performing-administrator-tasks.html#ignoring-an-account-from-resource-provisioning
I haven't run into your case specifically, it's unusual that it is still picking up the account. You could try with backing up the record in the DynamoDB Table and dropping that specific record to see if it unblocks the pipeline, however I've not tested this so not sure what the behaviour would be.

@bakharzy it looks like it was a bug introduced in v1.5.0, which is now fixed in v1.5.1: https://github.com/awslabs/landing-zone-accelerator-on-aws/releases/tag/v1.5.1

Hi @KashifSaadat
Thanks for getting back to me. Yes, I confirm that I followed those instructions to ignore the OU and the suspended account is moved to that ignored OU.
And thanks for the heads up regarding the new release. This might sort out the issue I am facing.

we are still facing this issue on version 1.9, do we need to remove them manually? or is there a fix?


Code release

Interesting work !  There are still questions about FLOPs calculation and implementation details.
Is the code gonna be available soon or it s not planned at all?  Thanks : )

Hi @blackcow, thanks for your interest! We are cleaning the code and preparing the pretrained weights. Code will be released later.

Looking forward to the release of the code

Looking forward to the release of the code

Looking forward to the release of the code

Hi all,
We have now released the code for reproduction. Feel free to raise any issues, thanks!
Best,
Bohan


Use sentence case in 3 components

In reviewing the component documentation, the ODI/CDT content designers noticed 3 components that use title case where we think sentence case is more appropriate:

The statewide footer uses title case. (Example: “Contact Us” should be “Contact us”)
The back to top button uses title case. (Example: “Back to Top” should be “Back to top”)
The skip to content link uses title case. (Example: “Skip to Main” should be “Skip to content”)

We recommend updating these components to use sentence case.

No hard coded text. Need to review

Skip to content was handled under another issue.

@m-sullivan7
Found these while closing out issues:
For statewide footer, what's is the correct sentence case - should we change these as well?
    CA.gov home
    Conditions of Use
    Privacy Policy
    Accessibility
    Contact Us

Back to top is already updated.

Yay for back to top being covered!
Yes, please update the ones you found to sentence case as well. That would be great. Thank you for catching them!


⚠ Spryr has degraded performance

In e9833c6, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4914 ms

Resolved: Spryr performance has improved in 0b0c175 after 7 minutes.


Re-enable checking out of repo prior to running action

This pull request enables logging in with social accounts, however introduces technical debt due to requirements on how quickly we need to ship the feature.
[DEBT_ISSUE_TITLE] EXAMPLE ISSUE - Refactor logging in with social accounts
[DEBT_ISSUE_BODY] Currently, the logic for logging in with social accounts is at the view layer in the app. It needs to be moved out into a helper class and we should utilize the ViewModel appropriately to give the View what it needs. Let's keep our views as dumb as possible for readability and maintainability.

🤔 Oooh what if issue #3 cross-referenced back to this issue in its OP? That way there'd be a traceability story?

🤔 Oooh what if issue #3 cross-referenced back to this issue in its OP? That way there'd be a traceability story?

That's a great idea. I'll see what I can do :)

🤔 Oooh what if issue #3 cross-referenced back to this issue in its OP? That way there'd be a traceability story?

So I dug in a bit and I'm curious if it would be a misuse of the "Linked issues" and "Linked pull requests" feature if I used it here, since the purpose of those seems to be auto closing of issues linked to a PR at merge.
Given that we're only creating the issue AFTER a PR is merged (tech debt), would it be more pragmatic to just include a link to the original PR in the body of the newly created Issue?
Thoughts?

Yeah so there's not technically support for "non-closing" issue references just yet within the issue and pull request linking feature. But as you can tell in this scenario, it'd be pretty sweet if that support existed. 😊

would it be more pragmatic to just include a link to the original PR in the body of the newly created Issue?

Probably for now I'd say yeah maybe this is the best workaround?


must be canonical - Windows Relative Path for sub schema

Hello:
I have the following files under "C:/path/to/your/schema/" folder (under Windows):
    schema.json
    a.json
    b.json

Within schema.json, I have two refs:
    "$ref": "file://a.json"
    "$ref": "file://b.json"

And $id in schema.json is defined as below:
 "$id": "schema.json"
I load the main schema file like this:
schemaLoader := gojsonschema.NewReferenceLoader("file:///C:/path/to/your/schema/schema.json")
My expectation is that when it see the $ref, it will load the sub-schema's using the relative path.
I get the following error:
Reference file://a.json#definitions/address must be canonical.
I have tried various combinations for the $ref's such as "a.json", "file:///a.json", etc.
I don't want to convert each file's $ref to an absolute path.
Anyway to address this so that the relative documents will be fetched?

hey, were you able to resolve this issue?

hey, were you able to resolve this issue?

When you do something like this, then it works:

"properties": {
  "address": {"$ref": "a.json#/definitions/address"}
}


Demo-manifest Updated for Bot Join QR Code Sample

Executed Build Pipeline : https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/7139060987


Added exceptions for Senitnel Props

Added field attribute exceptions for Azure Sentinel

@bmoore-msft : Please review this PI... Thanks!!


Input and Fetch

GIVEN a weather dashboard with form inputs
WHEN I search for a city
THEN I am presented with current and future conditions for that city and that city is added to the search history

APi is working, results appear next to search box


Detect moving objects for own video

I want detect the moving objects in the video from a dashcam video,I think I can use DeepMCBM to got the backround and calculate MSE to mark the moving objects.
But I don't know how to train for my video.maybe I must to edit the args.py file,but which arguments need to edit?
If my frames file named 001,I think I must edit:
MCBM_CKPT = "001.ckpt"
SEQUENCE = "001"
but I don't know how to  deal with the argument STN_ckpt.

Hi, in order to train DeepMCBM on your own video sequence, create a directory conatining the input frames "input//frames/" or use the "parent_dir" argument to change the input path. You can refer to the "tennis" dir as an example. Than you can run DeepMCBM.py --dir  --source_shape   .  This will train a new model on your data and will generate prediction at the end. I do need to tell you that the homography used at the STN training relly on the assumption that the scene is somewhat far from the camera, so I am not sure how well it will perform on a video from vehicle dashboard cam.


Can existing React Native Android / iOS apps be built using react-native-macos?

This project looks really exciting - the first thing that came in to my mind when I discovered it is "can I bring my existing React Native Android app over to OS X?".
I can't really seem to find any information on if that can be done or how that would work. Does every package that is written to support Android and iOS have to be updated to support react-native-macos?
Thanks.

Hi @whenmoon.  The short answer is "yes".   Upstream react-native is a mobile cross platform framework: it is possible to write a single app that runs on iOS and Android.   Most props and components upstream are cross platform, but there are exceptions: some props and components are iOS specific and some are Android specific.   react-native-macos and react-native-windows align to the same philosophy: wherever possible props and components are cross platform but there are some props that are Desktop specific (like mouse and keyboard focus events) and some that are macOS or Windows specific.
So, a react-native app that was written specifically for Android may just work on react-native-macos or react-native-windows, but if the app uses any Android specific props or components, then you would have to manually add affordances for macOS or Windows just as you would have to manually add affordances if you were trying to run on iOS.


CPU usage in <IP_ADDRESS>:9100 is above 98%

这两天收到邮件提醒集群中有个节点CPU占满，并提醒该节点k8sDockerDaemonNotOk

进入该节点后，使用top命令发现有很多lsof命令在占用cpu

使用ps -axjf 发现好像是containerd-shim一直在创建lsof进程。

请问这个问题该如何解决
Organization Name:

Short summary about the issue/question:
Brief what process you are following:

How to reproduce it:

OpenPAI Environment:

OpenPAI version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:

查看job-exporter docker日志发现一直在报lsof 超时警告

Seems related to lsof in job-exporter. @Binyang2014 Do you have any idea?

Will restart the node solve this problem?


fix(startup): Creating webhook before instancing wallet

:tada: This PR is included in version 1.11.2 :tada:
Your semantic-release bot :package::rocket:


config remove does not delete .credentials_rsaparams

config remove does not delete .credentials_rsaparams

I fixed and the the PR is merged.


Add a button to toggle word wrap, closes #51.

This is a quick little PR for #51. The button is non-intrusive and looks like a link. I made word-wrap the default behavior, but it would be trivial to change it around. The change is applied to all files on the page, but it’s not persisted anywhere.

Can you retarget this pull request onto the development-1.0.0 branch? Otherwise it looks good. 👍
Don't mind the failing tests they're related to another issue in sqlalchemy/pip.

I changed the base branch.

Merging, thank you.


the image backgruond interference in dark mode

Hi again,

if you look at this image you will see the white background behind this image,  you have this image without background but the similar image above has no background

I have fixed this issue in the first image and made it a backgroundless image
please assign this issue to me with the appropriate level and i will raise the pr right away

please checkout this issue #105 , which is already created and assigned

please checkout this issue #105 , which is already created and assigned

Ohhh ohk ohk then should i close my request?

//duplicate issue


CA should be optional for client libs

In case a certificate is used that is signed by a known authority (present in the system bundles) we should allow leaving the "ca" option empty, otherwise client libs such as vaultclient and bucketclient get confused an fail with errors such as:
{"name":"S3","accessKey":"4W63JJQ5VRHHU0JE718I","errCode":{"code":"UNABLE_TO_GET_ISSUER_CERT"},"time":1475091247515,"req_id":"ebd74164b1da19a96d8c","level":"trace","message":"sending error xml response","hostname":"demo.scalitydemo.com","pid":64}
{"name":"S3","accessKey":"4W63JJQ5VRHHU0JE718I","errorMessage":{"code":"ECONNRESET"},"time":1475091247661,"req_id":"ebd74164b1da19a96d8c","level":"error","message":"received error message from vault","hostname":"demo.scalitydemo.com","pid":64}

@RachedBenMustapha Any update on the status of this issue?

@dhekimian after looking closer it seems there's no issue on the S3 server but rather on the deployment side, closing this one.

So is there another ticket in Federation? @RachedBenMustapha

@GiorgioRegni scality/Federation#602


update bidder pages to show context in the nav bar

It would be nice if you're on one of the bidder params pages to have the left-nav show the "Prebid.js Bid Adapters" context or "Prebid Server Bid Adapters" context.
Somehow. Not clear this is easy with the current nav bar system, but it's just software -- there must be a way.

PR https://github.com/prebid/prebid.github.io/pull/4231 addresses this issue for both Bidders and the Publisher API Reference.


Tests assume a specific interpreter name

The test cases attempt to invoke the Python interpreter in a sub-process. The assumption is that the command python will invoke the Python interpreter. This assumption is not universally true, and causes the test cases to fail when the correct Python interpreter does not have that name.
Instead, the current Python interpreter program file path should be interrogated from the sys.executable attribute.

I have implemented changes to address this bug, in the ‘wip/issue/use-current-interpreter-name’ branch of my personal fork repository. The branch currently merges cleanly to ‘master’.

Hey, thanks for the fix - in the latest release and newest tag

Thanks, I'm glad to contribute.


✅✨⚙ first pass at setting up some tests, travis-ci and linting

This closes #10.
Do not merge, let's first see how Travis reacts to this PR.

Will need to land #12 as part of this work, so still some changes incoming.


Permalink letsplay list

I would like to have a permanent link to the right of the site (below the streamer box) where streamers or letsplayers can post their forms for people who want their games played.
I may be a bit dense but I often miss the posts that collect that sort of information, so it would be nice to have it in one specific spot. It would be even cooler if you had a section on the website where the organization of streams and creator could take place, so not everyone has to use different spreadsheets and such. It may also make contacting creators when their game has been played easier.
There are disadvantages of course, since some streamers may prefer to collect information not available on the LD site. Also making it overly hassle-free to get onto a list (like adding a button that adds your game to all lists) might unnecessarily swamp the streamers.
Anyway, the permalink to a current LD's list of streamers would be neat.
While at it, keep other types of posts there as well, like organizing live meetings and such.

Defiantly need something like this.
So when voting opened this time, pov made a post where streamer and lets players could post there lists. This wasn't pinned to the top as only one item can be pinned to the top, I think something similar to your sidebar idea could work.
What i'd suggest is having a section in the side bar where the titles of recent news posts are displayed. E.g. The currently pinned post might be Jam is over, Voting has opened but this side bar list could be

Streaming and Lets Play List
Jam is over, Voting has opened
Compo is over
Theme Announcement

Here you mentioned alternative Feeds: https://github.com/ludumdare/ludumdare/issues/993
But this issue would be a bit different, right? As these would be fixed announcements that work like pinned posts but in a different place so they don't take up all the website real estate.
These points of information are fixtures in every LD and I agree that they need a specific place where they can live permanently during the jam.

This isn't a good example, but I think what I'd rather do is further condense minimized posts, starting with something like this:
https://github.com/ludumdare/ludumdare/issues/767
Packing the height more, removing gaps, and having the 2-3 most recent news items instead of just 1.

I see, I hadn't paid attention to the needs of mobile users.
Do you generally follow a style where the desktop and mobile versions of the site have to look the same?
Because I could see the sidebar being used for quite some useful things, that could be placed in a different manner on mobile devices.
Concretely, you could go with https://github.com/ludumdare/ludumdare/issues/767 on the mobile version and put the same info in the sidebar on the desktop version.
I don't have any insight into the design process though, so keeping everything the same may be easier to maintain.
Anyway, I'm fine with any solution that keeps the important posts accessible throughout the jam and doesn't eat up all the space.


Implement OnyxHeadline

Open Questions/To-dos

Depends on

#94

Why?

Design

Acceptance criteria

Implementation details

Reference implementations

Applicable ARIA Pattern

Definition of Done

The following component requirements are implemented:

[ ] skeleton
[ ] density
[ ] example usage added to apps/demo-app/src/views/HomeView.vue

covered by tests

[ ] functional tests (Playwright or unit test)
[ ] visual tests (Playwright screenshots)

[ ] follow-up tickets were created if necessary
[ ] updated version + documentation is deployed
[ ] Storybook can show the feature
[ ] Storybook code snippet of new/changed examples are checked that they are generated correctly
[ ] Namings are aligned with Figma

Approval

Storybook
Deployed Docs
[ ] approved by designer @jannick-ux
[ ] approved by dev

Result of presentation from @jannick-ux:

Select Headline:

selection overwrites headline
must always have initial value
equivalent to ScuTabs

Target Headline:

complete headline is clickable/interactive
Hashtag aligned with first line
Hashtag only shows on hover?

info label text

(different) static gap sizes between headline and info text per level

pre-headline icons have 24px container before text

reveal headline, select headline

same focus and hover behavior

icon-button after headline

specifies height of line or the other way around?


Adding  quantum and classical versions of  Convolutional and Block codes

This paper by Grassl: https://arxiv.org/pdf/quant-ph/0703181 provides code constructions for the following codes:

[ ] Quantum Block Codes
[ ] Classical Block Codes ?
[ ] Quantum Convoutional Codes
[ ] Classical Convoutional Code

For a concise description of construction of classical convolutional codes using free module, direct summands, etc, follow this paper:  https://arxiv.org/pdf/quant-ph/0703113. Background Section A: Convolutional Codes
Another useful paper by Grassl and Rötteler is: https://arxiv.org/pdf/quant-ph/0703182
For a more thorough reference, this book, namely Fundamentals of Convolutional Coding might be helpful.

The current library is all block codes. There is no plan to add convolutional codes until block codes are much further developed, at best.

Thank you for the insight!


Send json data in post request

How to send a post the request figured out. And how can you transfer json data in a post request. Thank. Json request is simple:
{   "content": "*reads manual*" }

Thanks It works. And which version in the request is better to use HTTP / 1.0 or HTTP / 1.1. In line: int version = argc == 5 &&! Std::strcmp ("1.0", argv [4])? 10:11;
request: http::request <http::string_body> req {http::verb::get, target, version};.


Add server channel affinity

Currently (on posix systems) we assign every incoming server channel to every server completion queue's pollsets.
This ends up destroying isolation for servers with multiple completion queues and creates thundering herds on every read on such servers.
The basic thought here is to only bind server channels to the pollset that noticed it was time to call accept(). This will provide some natural load balancing (more idle pollsets are more likely to notice accepts).
To do so:

modify grpc_fd_notify_on_read to accept a grpc_pollset** notifier that it outputs the awaking pollset to - probably only if notifier is non-NULL since most things won't need this
in tcp_server_posix.c, replace the loop:

    /* TODO(ctiller): revise this when we have server-side sharding
       of channels -- we certainly should not be automatically adding every
       incoming channel to every pollset owned by the server */
    for (i = 0; i < sp->server->pollset_count; i++) {
      grpc_pollset_add_fd(exec_ctx, sp->server->pollsets[i], fdobj);
    }

with a single grpc_pollset_add_fd to the pollset that got the accept() awaking.
3. in server.c, remove the loop adding new transports to pollsets, as it's redundant with the code in tcp_server_posix.c (this loop:
  for (i = 0; i < s->cq_count; i++) {
    memset(&op, 0, sizeof(op));
    op.bind_pollset = grpc_cq_pollset(s->cqs[i]);
    grpc_transport_perform_op(exec_ctx, transport, &op);
  }

)
As a second step, we should probably think about using SO_REUSEPORT to create a separate listening fd for each server completion queue.

It's probably best to base this on top of the cleaner-posixN series of pull requests I've been putting out recently.

This is nice, but can the file descriptor also be sharded so that independent callbacks that are interleaved on one channel would then be serviced by multiple servers performing simultaneous seeks on the same file descriptor, and thus parallelizing the execution of callbacks on the same channel?  Maybe a broker might be required.

Paul: given the expected time doing a read, it would be totally unnecessary
complexity. Application processing will proceed on different threads in
application space, so the main problems in this space are minimizing
contention on shared resources and avoiding thundering herds.
On Sat, Feb 27, 2016, 6:32 PM Paul Grosu<EMAIL_ADDRESS>wrote:

This is nice, but can the file descriptor also be sharded so that
independent callbacks that are interleaved on one channel would then be
serviced by multiple servers performing simultaneous seeks on the same file
descriptor, and thus parallelizing the execution of callbacks on the same
channel? Maybe a broker might be required.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/5470#issuecomment-189766798.

Hi Craig,
That's understandable, but let's consider a more extreme scenario, which can be realistic.  I try to simulate a 24/7 server that is constantly retrieving data for processing.  For this scenario, I am not assuming that I embed code in the data-stream to execute, but only data for online (stream) analysis:
On one terminal I perform the following command:
$ yes > online_data

On a second terminal, I changed the def good(self) function in test_server.py to the following:
        def good(self):
                self.send_response(200)
                self.send_header('Content-Type', 'text/html')
                self.end_headers()
                for line in sys.stdin:
                        self.wfile.write(line)
                self.wfile.write('
This is a test
')

And then launch it like this:
$ test/core/httpcli/test_server.py --ssl < online_data

On a third terminal I type the following:
$ curl --insecure -X GET https://<IP_ADDRESS>:10080/get

Then on a fourth terminal I monitor top, and this is what I notice:

Notice how extreme the CPU core load becomes, thus being overwhelmed by one client or server per core.  The load balancing, even though would be natural might encounter such bottlenecks.
`p

Sorry but I think I completely fail to see your point. There's no grpc code
here. Is it that reading on one thread and writing on another might be
faster? Because we can do that now. But you seem to be arguing in favor of
more threads and I just don't understand what you hope to achieve beyond
raising contention and contact switch overheads whilst increasing
complexity.
On Sat, Feb 27, 2016, 9:53 PM Paul Grosu<EMAIL_ADDRESS>wrote:

Hi Craig,
That's understandable, but let's consider a more extreme scenario, which
can be realistic. I try to simulate a 24/7 server that is constantly
retrieving data for processing. For this scenario, I am not assuming that I
embed code in the data-stream to execute, but only data for online (stream)
analysis:
On one terminal I perform the following command:
$ yes > online_data
On a second terminal, I changed the def good(self) function in
test_server.py to the following:
    def good(self):
            self.send_response(200)
            self.send_header('Content-Type', 'text/html')
            self.end_headers()
            for line in sys.stdin:
                    self.wfile.write(line)
            self.wfile.write('
This is a test
')

And then launch it like this:
$ test/core/httpcli/test_server.py --ssl < online_data
On a third terminal I type the following:
$ curl --insecure -X GET https://<IP_ADDRESS>:10080/get
Then on a fourth terminal I monitor top, and this is what I notice:
[image: grpc_top_putty-top-3]
https://cloud.githubusercontent.com/assets/6555937/13377716/b739223c-ddb4-11e5-8c54-8a1b6eef69be.png
Notice how extreme the CPU core load becomes, thus being overwhelmed by
one client or server per core. The load balancing, even though would be
natural might encounter such bottlenecks.
`p
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/5470#issuecomment-189787898.

Ok, maybe my previous post had too many assumptions, and there is definitely no contention, but rather just test cases of some real scenarios :)  Basically, the idea is that the messages are being sent on one channel to the server, and I have different clients processing different messages, which interface with the server - eventually there will be servers interfacing with servers as well:
Let's suppose I start each of these on another terminal session:
First I start the server:
$ ./fling_server --bind="<IP_ADDRESS>:10080" --no-secure

And then I start 3 simultanous fling_client like this:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-request" --payload_size=1

Again the server is overwhelmed as noted below:

Even if I start the client as a stream:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-stream" --payload_size=1

Though the load on the CPU is less, which is nice, the processing seems to still be sequential, rather than simultaneous.  If I assumed or wrote something incorrectly, please let me know.
Thanks,
~p

fling server is explicitly written to be single threaded.
If your interested in this stuff, try exploring the test/cpp/qps framework.
On Mon, Feb 29, 2016, 2:59 AM Paul Grosu<EMAIL_ADDRESS>wrote:

Ok, maybe my previous post had too many assumptions, and there is
definitely no contention, but rather just test cases of some real scenarios
:) Basically, the idea is that the messages are being sent on one channel
to the server, and I have different clients processing different messages,
which interface with the server - eventually there will be servers
interfacing with servers as well:
Let's suppose I start each of these on another terminal session:
First I start the server:
$ ./fling_server --bind="<IP_ADDRESS>:10080" --no-secure
And then I start 3 simultanous fling_client like this:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-request" --payload_size=1
Again the server is overwhelmed as noted below:
[image: fling_server_with_3_clients]
https://cloud.githubusercontent.com/assets/6555937/13392304/86cca468-dea7-11e5-9b9a-755a4034710f.png
Even if I start the client as a stream:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-stream" --payload_size=1
Though the load on the CPU is less, which is nice, the processing seems to
still be sequential, rather than simultaneous. If I assumed or wrote
something incorrectly, please let me know.
Thanks,
~p
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/5470#issuecomment-190153873.

If it's OK with you I'd like to delete this conversation from this bug as
it's really a distraction from what we need to get done.
On Mon, Feb 29, 2016, 6:04 AM Craig Tiller<EMAIL_ADDRESS>wrote:

fling server is explicitly written to be single threaded.
If your interested in this stuff, try exploring the test/cpp/qps framework.
On Mon, Feb 29, 2016, 2:59 AM Paul Grosu<EMAIL_ADDRESS>wrote:

Ok, maybe my previous post had too many assumptions, and there is
definitely no contention, but rather just test cases of some real scenarios
:) Basically, the idea is that the messages are being sent on one channel
to the server, and I have different clients processing different messages,
which interface with the server - eventually there will be servers
interfacing with servers as well:
Let's suppose I start each of these on another terminal session:
First I start the server:
$ ./fling_server --bind="<IP_ADDRESS>:10080" --no-secure
And then I start 3 simultanous fling_client like this:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-request" --payload_size=1
Again the server is overwhelmed as noted below:
[image: fling_server_with_3_clients]
https://cloud.githubusercontent.com/assets/6555937/13392304/86cca468-dea7-11e5-9b9a-755a4034710f.png
Even if I start the client as a stream:
$ ./fling_client --target=<IP_ADDRESS>:10080 --scenario="ping-pong-stream" --payload_size=1
Though the load on the CPU is less, which is nice, the processing seems
to still be sequential, rather than simultaneous. If I assumed or wrote
something incorrectly, please let me know.
Thanks,
~p
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/5470#issuecomment-190153873.

No problem, and thank you for the help.  If it's okay, I'll remove everything except my initial post, as your reply has an important piece of information, which will help me as a reference while experimenting with different tweaks to src/core as well.
Sorry for the noise,
~p


Change the entity creation API from taking an object of fields instead of an array of fields

As a developer, I want to send to the Entity constructor an object of fields, and not an array of fields so that it could prevent duplicated fields, and make easier the creation

It's not clear if is nice to have implement object instead of arrays, I will put this in stand-by for the time being.


remove dep on fast-text-encoder

You only load this when needed.
https://github.com/googleapis/google-auth-library-nodejs/blob/85f2c9393f64b97290a0698d3ac6754fa9bc951a/package.json#L23
But i also see that you have a requirement on NodeJS v12+
https://github.com/googleapis/google-auth-library-nodejs/blob/85f2c9393f64b97290a0698d3ac6754fa9bc951a/package.json#L6-L8
therefore this npm package could be removed, cuz text encoder/decoder is available globally since NodeJS v11
Also supporting NodeJS v12 is a bit outdated, think you should target LTS and update to something newer such as v16 that is the current LTS right now
So also think you should do:
 "engines": {
   "node": ">=16"
 },

any reason for not going with v16 as LTS?
v14 is no longer supported by nodejs

There are a variety of issues with jumping from 12->16. We try to look at metrics on what version customers are currently using and a large percentage are still on 14. While we create a new major version when we bump the minimum version, jumping 12->16 is likely to leave a large portion of the user base unable or unwilling to upgrade. Additionally, we try and make sure we are supporting similar versions with other Cloud products, i.e. Cloud Functions.

Removed in https://github.com/googleapis/google-auth-library-nodejs/commit/d736da3fa5536650ae6a3aebbcae408254ebd035


easy_install: add support for installing from wheels

Wheels are installed as eggs, so each install is self-contained and multiple versions of the same package can be installed at the same time.
Limitations:
- headers are not supported: since they are extracted to the self-contained egg directory, and not copied to the system includes directory
- resulting egg metadata requirements have their markers stripped: in practice, since eggs' name include the Python version (so using python2 setup.py ... followed by python3 setup.py ... will work if one of setup_requires' requirement has one or more Python 3 specific dependencies).
Note: glib.c and pep425tags.py were copied from pip (not wheel, for manylinux support), and modified for Python 2.6 compatibility.

I forgot to mention the rational for this PR: with development of PEP 517/518 support in hiatus, it might be a while before there's an alternative for setuptools' setup_requires. But some Python packages are not installable from source (and don't provide eggs), yet can be used for building other packages: for example PyQt5 is only installable from wheel, and provide some tools needed for generating UI files (pyrcc5, pyuic5).

Since headers are not correctly supported, this patch could introduce some issues for users that still rely easy_install instead of pip, maybe the main easy_install module/script should be removed?
Alternatively, wheels could be opt-in when using easy_install directly (but always enabled when internally used by setuptools).

Note: glib.c and pep425tags.py were copied from pip (not wheel, for manylinux support), and modified for Python 2.6 compatibility.

I wonder if it makes sense to extract those modules into packages that could then be vendored and shared by both codebases. Otherwise, we'll inevitably end up dealing with the divergence of these two modules (which has already happened). At the very least, I'd like for each module to have a header describing where it's canonical source resides and keep a log of changes against that source).
It's a little ironic that Setuptools has been waiting for pip to drop Python 2.6 support but now that it's potentially adopting pip modules, it has to restore Python 2.6 support. :( I think that's a sign that we should just merge and release the drop-py26 branch. I'll do that.

Note: glib.c and pep425tags.py were copied from pip (not wheel, for manylinux support), and modified for Python 2.6 compatibility.

I wonder if it makes sense to extract those modules into packages that could then be vendored and shared by both codebases. Otherwise, we'll inevitably end up dealing with the divergence of these two modules (which has already happened). At the very least, I'd like for each module to have a header describing where it's canonical source resides and keep a log of changes against that source).

As part of packaging maybe? See https://github.com/pypa/packaging/issues/83

It's a little ironic that Setuptools has been waiting for pip to drop Python 2.6 support but now that it's potentially adopting pip modules, it has to restore Python 2.6 support. :( I think that's a sign that we should just merge and release the drop-py26 branch. I'll do that.

👍

As part of packaging maybe?

Yes, that sounds like the right solution. I'm okay with vendoring the modules here until they're released with packaging, especially if there's a comment reminding us that that's what's happening.
Also, Python 2.6 support is now dropped.

I removed the changes for Python 2.6 support, and updated glibc.py and pep425tags.py to indicate their provenance.

OK, minor or major? I think this is a pretty big change considering the impact on easy_install's behavior.

If it’s backward incompatible, meaning that some users might not be able to use setuptools as they did before without intervention, then a major bump is indicated. If it’s only a bug fix for existing behavior, then it’s a patch bump. Otherwise, it’s a minor bump. The Semver bump doesn’t consider the size of the change, only the scope of the change.

Well, I was concerned by the fact that headers are not completely supported (not installed to include directory), but a quick test shows that building an egg with bdist_egg does not even include the header, so switching to using a wheel would not be a backward incompatible change. Minor version bump it is.


Alternate the tfjs model with the mediapipe model

github issue thread about error 'undefined is not a constructor' : https://github.com/google/mediapipe/issues/1976


Invariants page blank

https://microsoft.github.io/pybryt/html/annotations/invariants.html
Assuming "TODO", but it is blank :-)

Yeah, thanks for reminding me. This is an active TODO -- I'll add a note on the page while that's the case.


test(extension): tests for grid view

Checklist

[ ] JIRA - <link>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots
Attach screenshots here if implementation involves some UI changes

Changes unknown
when pulling 57d64ad9ea29a46b1ca1ff49617b5ce861af6853 on test/tests-for-grid-view
into ** on main**.


[Bug]: I can't ping anything on my multiplayer server

Preflight Checklist

[X] I am using the latest version of Ping Wheel for the corresponding mod loader.
[X] The server I am playing on has Ping Wheel installed.
[x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

Which mod loaders have you experienced the issue with?
Forge
What versions of Minecraft have you experienced the issue in?
1.21
Expected Behavior
I expected to be able to place a ping that myself and other players can see.
Actual Behavior
When pressing the assigned key to place the ping, nothing happens.
Logs URL
https://mclo.gs/F5my7Wh
Additional Information
Works just fine in singleplayer, nobody in my multiplayer world is able to place pings either. Also, when the default channel is disabled and I am using the default channel to place a ping, I get an error. But when I switch to another channel, I still can't place a ping, despite there being no error message anymore.

Thanks for bringing this to my attention!
I have confirmed that this affects the Forge Server for Minecraft 1.21 and 1.20.6.
Fix on the way!

Should be fixed in v1.9.2 for both forge 1.21 and 1.20.6! 🎉
Feel free to re-open the issue if the problem persists!


[build] add package otbr onto OpenWRT files.

This commit adds three files for packaging otbr onto OpenWRT.
README.md is the instruction of operations.
feeds.conf is feed file for OpenWRT.
Makefile is to package the otbr project.

I tend to create a orphan branch for this, @jwhui Thoughts?

I think an orphan branch makes sense in this case.

@jwhui Just created the orphan branch. https://github.com/openthread/ot-br-posix/tree/openwrt/openthread

@jwhui any comments?

@bukepo, I reviewed this PR and it looks fine. However, it currently targets master branch rather than openwrt branch. Is that intentional?

Wrong to push to master branch.


Debounce F4/shift F4

Testing #19094

Have many search results in the search viewlet
Select the first
Hold Down Arrow key

You'll notice that a file will open every 300ms or so, demonstrating the rate limiting.
This UI interaction should use debouncing instead of limiting the rate. We have a few utils for this.

Additionally why are the arrow keys rate limiting, but F4 and Shift F4 are not? IMO they should all work the same way: debounced.

I tried debouncing originally but thought it was even more annoying than rate limiting because typically with a debounce, there's a delay before the first one takes effect. I'll play around with this some more though since it doesn't look great as is. Good point on F4

Fixed in #19307 but will also do this for F4

Cool. 👍  Just finely tune the debouncing delay to fix the annoyance.

Actually this probably won't happen for January. When using F4, the editor is focused. When you hold F4, we would want to see each next result being focused, like when holding the down arrow, but currently the focused result isn't highlighted in the search viewlet when it doesn't have focus. Only the selected result (which is open in the editor) is highlighted. So I'd have to change that. Will look at it for February.


incorrect LanguageSwitcher currentUrl, vue-router 4

this.$router.currentRoute.fullPath => this.$router.currentRoute._value.fullPath
(or we can use this.$route.fullPath)

Hi @SergisGit, I don't get much from your comment. Can you please provide better description of the issue and some demo page, where it is reproduced?

Hi @SergisGit, I don't get much from your comment. Can you please provide better description of the issue and some demo page, where it is reproduced?

this.$router.currentRoute.fullPath === undefined with vue-router 4.
But we have this.$router.currentRoute.value.fullPath or this.$route.fullPath

that is why it's not working the lang switcher


Edge Order Service API changes (Private preview)

We are relatively new service and we are not in production or canary regions.
We are deployed only to our development testing environment

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[x] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

We are relatively new service in Azure. The removal of API's in the swagger doesnt affect any customer as we are still in private preview. We are deployment only in our internal BVT/Testing environment. Please do needful for "BreakingChange review"


January 2023 Flowtiles

Summary

Ran gage-conditions-gif and edited vizDates in viz_config.yml for December followed by googledrive::drive_auth() & source('helper_fxns_pipeline.R')
rebuild_gage_data().
converted outputted dv_stats.rds to flow_conditions_202301.csv (Note: use readr::write_csv() to convert from rds to csv and avoid pesky row numbers adding)
Uploaded flow_conditions_202301.csv to S3 water-visualizations-prod-website/visualizations/data (Note: need to be signed in using gs-chs-wma-prod as wma-developer)
Edited read_csv() in target to pull flow_conditions_202301.csv from S3
ran tar_make() to output flow_cartogram.png (already created from AWS run), flow_national_ig.png , flow_cartogram_ig.png.

Twitter

Instagram

Looks good


⚠ Bofrost.at has degraded performance

In 35471d9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2272 ms

Resolved: Bofrost.at performance has improved in 85277f8.


fix build with node 14 && fix firefox

UCP #485
UCP #487
upgrade react-scripts to fix build with node 14
fork sql-formatter-plus to fix running with firefox

Further action item: https://github.com/kufii/sql-formatter-plus/pull/3


Update assignments-in-teams.md

Making a small content change in this doc at the request of the Turnitin team.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Support port-forward cmd with podman runtime

Currently /rest/v1/portforward endpoint will return server error while running itzo with podman as container runtime.
To run itzo with podman, you should run in GCE and  add this to your provider config:
bootImageSpec:
    project: "elotl-kip"
    image: "elotl-kipdev-podman"

and
cellConfig:
    itzoFlag-use-podman: true

you can also write e2e tests and run them locally - check server_podman_test.go
I suggest to add PortForward() method to runtime/runtime.go RuntimeService interface, and refactor servePortForward handler to call s.podCtl.runtime.PortForward(). This would probably require moving current exec implementation for itzo behind this new interface method.
bonus points for making servePortForward cleaner

looks like vk has no support for port-forward: https://github.com/virtual-kubelet/virtual-kubelet/issues/170 so closing this one

looks like vk has no support for port-forward: https://github.com/virtual-kubelet/virtual-kubelet/issues/170 so closing this one


yml configuration files being phased out?

In previous versions yml was supported for configuration, is the plan to remove yml support in favor of toml? I only see docs about toml now and can no longer access the yml specific documentation for the agent.

Read through the release logs, answered my questions.


EE SIO Support

Allows logging into the EE UART

isra clang-format the code please.

Pretty cool feature.
Thank you for contribution.
Did you tested it already?
Proofs are appreciated.

isra clang-format the code please.

Not at the PC until tomorrow night.

Pretty cool feature. Thank you for contribution.
Did you tested it already? Proofs are appreciated.

Haven't tested it yet, but I made the siocookie library, and I've used EESIO before, so it should work...
But I'll try as soon as I can.
It can also be tested on emulator, EE SIO printf is printed on blue text

Please merge latest master to this branch.
Thanks!

@israpps why close this?

@israpps why close this?

Will make it from scratch
The PR was based on your fork, not upstream


Failed after update event

Failed after command python tgmeetup.py -u
here are stack trace:
Update all the meetup infomation.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/splasky/anaconda3/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/home/splasky/anaconda3/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/splasky/Desktop/TGmeetup/TGmeetup/eventparsing.py", line 60, in add_meetup_event
    access_token = meetup_api.refresh_access_token()
  File "/home/splasky/Desktop/TGmeetup/TGmeetup/libs/RegistrationAPI/Meetup.py", line 20, in refresh_access_token
    return result.json()["access_token"]
KeyError: 'access_token'

Test platform:
ubuntu 18.04,python 3.7

Hi, @splasky Thanks for the issue.
May I ask you have done you sign up Meetup API OAuth consumer & modify API.cfg?
Here are reference

https://secure.meetup.com/meetup_api/oauth_consumers/create/
https://hackmd.io/s/ByrxYmi4G

Thank you.

solve


Sprites category sluggish to open

It is much better now. I am closing this now. If you repro please feel free to reopen it.


Rework project page

Story
The project overview page is missing some elements, the Business Owner wants to improve that
Details

Use Bigger font for description
Remove < example text > and "For further elaboration check out the documentation" in the title
Use the title Project Overview
Move the top-level description (after Project) to the middle as a title for the middle list of public projects
Examples are on github (landing personal page) and gitlab (dito)

Acceptance

[ ] changes are implemented

@markusabel I implemented all the requested changes. Could you please check the latest Preview Deployment of this issue and tell me if the rework was done the way you imagined it?


32blit - Improve and relocate text drawing

Presently surface::text lives in surface.cpp and defines a very crude text drawing function that's in need of some TLC: https://github.com/pimoroni/32blit-beta/blob/666c5d2ef0315981b02c5eaf448ada026c09fa43/32blit/graphics/surface.cpp#L446-L516

Needs to support alignment within its defined rect()
Needs to support clipping to screen bounds, and potentially also wrapping/clipping to rect() bounds
Needs relocating into text.cpp for better separation of concerns

Right now the use of syntax like &minimal_font[0][0] to address the first byte of a specific font is ungainly. Font should possibly be a struct with character size and data address or something similar.
One would expect something like the following:
fb.text("Hello World", blit::font::minimal, rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), blit::text_align::center_center);

To place the text "Hello World" in the center of the display.
And
fb.text("Hello World", blit::font::minimal, point(100, 100), blit::text_align::center_center);

To place the text centered vertically and horizontally around the given screen coordinatewith an implicit clipping rect of the entire screen area.

A python example of a text-in-rect reflow function:
https://github.com/pimoroni/pidi-plugins/blob/4ec06516c5e56433eff384a491b5a7c5252d3774/pidi-display-pil/pidi_display_pil/__init__.py#L15-L53
line_spacing is an interesting point here- since we'd expect text in a rect() to wrap automagically and may want to control this.

"wrap" should probably be an option (possibly one that gets implemented much later).
One of the key things needed to make all this work is a function that takes a string and a font and returns the pixel size it would be rendered at. This is easy for fixed width fonts, it is just strlen * character width. But for variable width you have to go through the string and calculate it. Note that currently even if you ask for fixed width text, spaces are a different width to the rest of the characters.

I made an attempt at improving this (I had some similar code in another project): https://github.com/Daft-Freak/32blit-beta/commits/text (Likely needs a little cleanup).


Add process_get_module_path

This adds process_get_module_path to the Auto Splitting Runtime, which gets the path on the file system to the module.
This is useful in situations where the Section Header Table is there in the file, but is not loaded into memory, even when the rest of the module is.

This looks good. I'd like to improve the docs a bit. So I'll rebase this for you.

I also saw the changes to process_get_path in #736, and I would like to include analogs of those changes in here.

Yeah I'll port those as well.


Update the release checklist for this project

We need to make sure that when releasing the blockstack.js library, need to make sure:

The app-generator is updated
The SDKs are updated
The browser needs to be XXX?
Gaia needs to XXX?

cc: @kantai @zone117x @friedger

@yknl  I assigned this to you so you can catch anything I didn't actually capture in this ticket.

Capturing the discussion on the dependency cadence workflow:

blockstack.js re-release package published
PRs opened on all consumer repos using the pre-release version. Tests get ran, make sure everything works.
blockstack.js stable release.
PRs on consumers repos updated to stable version then merged.

Addressed in https://github.com/blockstack/blockstack.js/pull/701


Android every share seems to come twice

Every share seems to come twice

Fixes the issue for #29

Facing the same issue
Share data coming more the one time
[Mon Aug 17 2020 21:09:22.861]  LOG      files [{"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F61/REQUIRE_ORIGINAL/NONE/659338401", "extension": "jpg", "fileName": "LandWater13.jpg", "filePath": "/storage/emulated/0/Download/LandWater13.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}, {"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F73/REQUIRE_ORIGINAL/NONE/959162768", "extension": "jpg", "fileName": "Misc11.jpg", "filePath": "/storage/emulated/0/Download/Misc11.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}, {"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F60/REQUIRE_ORIGINAL/NONE/1804740013", "extension": "jpg", "fileName": "LandWater12.jpg", "filePath": "/storage/emulated/0/Download/LandWater12.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}]
[Mon Aug 17 2020 21:09:37.105]  LOG      files [{"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F61/REQUIRE_ORIGINAL/NONE/659338401", "extension": "jpg", "fileName": "LandWater13.jpg", "filePath": "/storage/emulated/0/Download/LandWater13.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}, {"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F73/REQUIRE_ORIGINAL/NONE/959162768", "extension": "jpg", "fileName": "Misc11.jpg", "filePath": "/storage/emulated/0/Download/Misc11.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}, {"contentUri": "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F60/REQUIRE_ORIGINAL/NONE/1804740013", "extension": "jpg", "fileName": "LandWater12.jpg", "filePath": "/storage/emulated/0/Download/LandWater12.jpg", "mimeType": "image/jpeg", "text": null, "weblink": null}]
"react": "16.11.0",
"react-native": "0.62.2",
"OS": "ANDROID",
"react-redux": "5.0.6",
"redux": "3.7.2",
Please fix this issue as soon as possible

@ajith-ab
Please fix this issue as soon as possible
Because this is making duplicates of data and can not use the library for now because o this issue

See #29 for fix

@jtkDvlp
I tried but didn't work for me
is there anything I need to take care in specific
I need a file path for every image I get
"contentUri":"content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F61/REQUIRE_ORIGINAL/NONE/659338401",
"extension": "jpg",
"fileName": "LandWater13.jpg",
"filePath": "/storage/emulated/0/Download/LandWater13.jpg",
"mimeType": "image/jpeg",
"text": null,
"weblink": null
I need this much data of shared images

@jtkDvlp Why did you remove android/src/main/java/com/ajithab/RNReceiveSharingIntent/ReceiveSharingIntentGetFileDirectory.java

I tried but didn't work for me
is there anything I need to take care in specific
I need a file path for every image I get

You have to clear received files directly in your handler to prevent triggering twice. I removed the "filePath" property because its not working reliable and in my usecase there is no need for filePath. To read the file contents "contentUri" is the way. For reliable file information see https://developer.android.com/training/secure-file-sharing/retrieve-info

Why did you remove ReceiveSharingIntentGetFileDirectory.java ?

As mentioned above, its not working for me. If you need it you can just use the last commit preventing the trigger issue. https://github.com/ajith-ab/react-native-receive-sharing-intent/pull/29/commits/8dd421fbc89c9387d7f5a0b073188956dd5b1412

@jtkDvlp thanks for replay
I will look into it

"You have to clear received files directly in your handler"
Do you perhaps have an example of this?  I'm seeing repeated calls for my function provided to getReceivedFiles(), and even if calling ReceiveSharingIntent.clearReceivedFiles(); inside there makes no difference.
I'm also seeing repeats completely at random, I can go 10 minutes testing without issue, then all of a sudden, without any code changes, I start getting 2+ repeats, which then obviously results in duplicate processing.

Any update on this ?

@robsco Actually you just clear within your function, that handles the incoming share. Do you have the version with the fix #29 ? Maybe you have another issue with running conditions? Try to reproduce your issue with an minimal example and post it here.

I actually ripped this thing apart and implemented it myself, in Java/Android anyway, I'm still yet to do iOS, this library ended up having a load of bloat and I preferred understanding it all better anyway.
Let me know if you want a copy of what I did.

I actually ripped this thing apart and implemented it myself, in Java/Android anyway...I preferred understanding it all better anyway.
👍

this library ended up having a load of bloat
agree 100%

Let me know if you want a copy of what I did.
Maybe you want to share it via github and paste your repo, that would be nice 👍

I wrote it all up in a doc for my future self.
https://docs.google.com/document/d/1Eq_ReoTkJ7EOlS9eZCAPdu5-dT9u2jQLssA1jmi6BMs/edit?usp=sharing


Added CopyToDirectory convenience method

In addressing issue "Add convenience methods for copyToDirectory", the copyToDirectory function was added. It simply calls the pre-existing functions copyDirectoryToDirectory or copyFileToDirectory based on whether or not whether or not the input file is a directory. Additionally, tests were added that replicated the tests for these two functions, but instead used copyToDirectory in order to ensure the behavior was the same.

The grammar fixes "a collection" -> "an collection" are incorrect; "a collection" is the correct usage.

@BVanderWilp I would be nice if you would incorporate garys feedback and rebase this pull request onto current master. Thanks!