No entities or Devices

The problem
Already looked through past issues on this but nothing seems to work. I originally installed through HACS but the latest round (in troubleshooting) was a manual install of v0.4.0b2. Was able to do the cookie authentication just fine, but not matter how I tried, no devices or entities would show up. A download of the config_entry would show that all of the nest protect devices were found (can see all 9 devices and their settings), but the corresponding entries in HA are never created. The HA logs show errors around setting up the binary_sensors, sensors, select, and switch.
What version of this integration (ha-nest-protect) has the issue?
v0.4.0b2
What version of Home Assistant Core has the issue?
2023.6.3
Device / Model
No response
Diagnostics information
"installation_type": "Home Assistant OS",
"version": "2023.6.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.4",
"docker": true,
"arch": "aarch64",
"timezone": "America/Denver",
"os_name": "Linux",
"os_version": "6.1.21-v8",
"supervisor": "2023.06.4",
"host_os": "Home Assistant OS 10.3",
"docker_version": "23.0.6",
Home Assistant log
Logs
```
Copy/paste any log here, between the starting and ending backticks (`)
```

[home-assistant_nest_protect_2023-07-04T04-24-18.582Z.log](https://github.com/iMicknl/ha-nest-protect/files/11944619/home-assistant_nest_protect_2023-07-04T04-24-18.582Z.log)
Additional information
No response

Same here @mudparr :(

how did you get this fixed, I am having the same problem
home-assistant_nest_protect_2023-07-30T08-17-44.533Z.log

On my first try I got the wrong iframe value.

I am using 0.4b1 on HA 2023.8.1. I am having the same issue.  It appears I am getting past authentication, but the creation of the entities and devices is failing.
2023-08-10 22:46:50.210 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up nest_protect platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 362, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/nest_protect/binary_sensor.py", line 178, in async_setup_entry
NestProtectBinarySensor(
File "/config/custom_components/nest_protect/entity.py", line 118, in init
super().init(bucket, description, areas, client)
File "/config/custom_components/nest_protect/entity.py", line 33, in init
self.area = areas[self.bucket.value["where_id"]]
KeyError: '00000000-0000-0000-a8af-988dd09e0ff3'

@mudparr please include your log.
@droolingtaz see https://github.com/iMicknl/ha-nest-protect/issues/239 for a possible solution.


make URL construction safe if scheme suffix is "://" in config file, prevent duplicates

currently, the config parser does not handle this correctly

fixed


pull request for e2e test at 12/22/2016 00:15:26

:white_check_mark: Validation status: passed
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.


Add an educational note explaining SE-0286 changes

Some of this is copied verbatim from the proposal, but IMO it's important to have some documentation of this change beyond the SE proposal to communicate the expected impact.
If and when SE-0286 is accepted, I'll associate this note with whatever the final set of diagnostics is and hopefully cherrypick to the 5.3 branch.

Thanks @benrimmington!

@owenv The old behvavior is back!

@swift-ci smoke test


fix fix coredump caused by intersect of nullable and not nullable children

Proposed changes
Issue Number: close #xxx

run buildall


ValueError: Does not understand character buffer dtype format string ('?')

When I am trying the nuclei segmentation on Windows 10, basically same code as your demo https://digitalslidearchive.github.io/HistomicsTK/examples/nuclei-segmentation.html
I got the ValueError
ValueError                                Traceback (most recent call last)
 in
22
23 im_nuclei_seg_mask, seeds, maxima = htk.segmentation.nuclear.max_clustering(
---> 24     im_log_max, im_fgnd_mask, local_max_search_radius)
25
26 # filter out small objects
c:\users\surface\histomicstk\histomicstk\segmentation\nuclear\max_clustering.py in max_clustering(im_response, im_fgnd_mask, r)
53     # find local maxima of all foreground pixels
54     mval, mind = _max_clustering_cython(
---> 55         im_response, im_fgnd_mask, r
56     )
57
_max_clustering_cython.pyx in HistomicsTK.histomicstk.segmentation.nuclear._max_clustering_cython._max_clustering_cython()
ValueError: Does not understand character buffer dtype format string ('?')
No matter how I change the type of im_fgnd_mask in max_clustering_cyphton.pyx, max_clustering.py or the called function, the error still there.
Do you have any idea how to fix it?

Any chance you can try this in a virtual box or similar?  We haven't donr
much if any windows testing since none of our Dev team owns a windows
machine...
😃
On Wed, Mar 13, 2019, 3:10 PM zzzghm<EMAIL_ADDRESS>wrote:

When I am trying the nuclei segmentation on Windows 10, basically same
code as your demo
https://digitalslidearchive.github.io/HistomicsTK/examples/nuclei-segmentation.html
I got the ValueError
ValueError Traceback (most recent call last)
in
22
23 im_nuclei_seg_mask, seeds, maxima =
htk.segmentation.nuclear.max_clustering(
---> 24 im_log_max, im_fgnd_mask, local_max_search_radius)
25
26 # filter out small objects
c:\users\surface\histomicstk\histomicstk\segmentation\nuclear\max_clustering.py
in max_clustering(im_response, im_fgnd_mask, r)
53 # find local maxima of all foreground pixels
54 mval, mind = _max_clustering_cython(
---> 55 im_response, im_fgnd_mask, r
56 )
57
_max_clustering_cython.pyx in
HistomicsTK.histomicstk.segmentation.nuclear._max_clustering_cython._max_clustering_cython()
ValueError: Does not understand character buffer dtype format string ('?')
No matter how I change the type of im_fgnd_mask in
max_clustering_cyphton.pyx, max_clustering.py or the called function, the
error still there.
Do you have any idea how to fix it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/616, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AArhzuB70nN8jzCZXfRKLtEz8xYaBxqtks5vWU0_gaJpZM4bv8in
.

You need to provide some additional code or data for the inputs to get feedback. This is very likely related to how you are generating the inputs and is not a Windows specific problem.

I just used the exact same codes as your demo:
https://digitalslidearchive.github.io/HistomicsTK/examples/nuclei-segmentation.html

@zzzghm Have you solved the problem, I have the same problem. It seems like cython use different datatype on linux and windows

I am also using Window system and followed the example code from https://digitalslidearchive.github.io/HistomicsTK/examples/nuclei-segmentation.html
Although I change the datatypes, I am getting a similar error
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-83-1807f71b9291> in <module>
      2 local_max_search_radius = 10
      3 imNucleiSegMask1, Seeds, Max = htk.segmentation.nuclear.max_clustering(
----> 4     imLog, imFgndMask, local_max_search_radius)
      5
      6 # compute nuclei properties

c:\iu\spring 2020\csci-b 657 computer vision\project\histomics\histomicstk\histomicstk\segmentation\nuclear\max_clustering.py in max_clustering(im_response, im_fgnd_mask, r)
     53     # find local maxima of all foreground pixels
     54     mval, mind = _max_clustering_cython(
---> 55         im_response, im_fgnd_mask.astype(np.int32), r
     56     )
     57

_max_clustering_cython.pyx in histomicstk.segmentation.nuclear._max_clustering_cython._max_clustering_cython()

ValueError: Buffer dtype mismatch, expected 'long' but got 'long long'

I think this is some sort of compatibility issue with the version of numpy and Cython on your Windows machine.  Specifically, what versions of Python, numpy, and Cython do you have installed?  Are there other versions of Python in the path?  Are there any environment variables set for PYTHONPATH, Cython, or numpy?
None of our developers are using Windows, so this is tricky for us to help.

I took a look at this today and I think the problem is that some numpy types are platform specific and so this is mismatching with what Cython expects on Windows. I don't get a long long from uint32 for example on my Mac.

On my windows machine, I have:
numpy 1.18.1
Cython 0.29.15
python 3.7.6
and specifically, this python is from Anaconda3
There are no other versions in my system or in the path. And there are no environment variables set for PYTHONPATH, Cython, or numpy
I still get the same error.
Thanks for the quick responses, hoping it to get it resolved soon.

I encountered the same error on win10 system. Have not found good solutions.

I'm facing the same issue @kvijaysai . Have you found the solution?

@cooperlab Have you solved this problem? I'm working on Windows 10 and I'm getting the same value error :Buffer dtype mismatch, expected 'long' but got 'long long'

@AbdulRahimShihabuddin @xhm1014 @kvijaysai @cooperlab  anyone solved this? I'm facing the same issue "Buffer dtype mismatch, expected 'long' but got 'long long'".

This is a cython/numpy datatype issue that is specifically on line https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/histomicstk/segmentation/nuclear/_max_clustering_cython.pyx#L10.  C compilers specify that int is at least as big as a short and no larger than a long.  We are passing np.int32 and specifying int -- in our test environments this works, but int32 is not necessarily the same as int.  In the problem environments, it looks like intmaps tolong long(this surprises me as it is outside the C-spec unlesslong longis the same aslong).  Maybe changing that line to explicitly accept longrather thanint` would make things work in both our usual test linux environment and in the problem environments.
It wouldn't surprise me if we also need to change data types on https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/histomicstk/segmentation/nuclear/_max_clustering_cython.pyx#L25-L26, too.


Suggestion of change to lib/maintainers.nix

It currently accepts only real names with email addresses.
I propose two things.

maintainers.nix should allow well-known pseudonyms.

I believe most people have reasons to avoid revealing their real government identity.
I feel really uncomfortable with revealing my real name online. My real name is a weakness that can be utilized by bad actors(hackers) or stalkers(Think about ex-boy friend). I don't want my real name to be floating on the public internet.
There are plenty of ways to stop bad actors without knowing their real names. They are going to use fake names anyway, though.
You can vet maintainers in pull requests without knowing their real names. Well-known pseudonyms are ok. Also, there is little or no danger of spamming.

Other convenient communication channels than email should be allowed

Some people want to avoid exposing their email addresses on the public internet. Spammers will invariably scan lib/maintainers.nix.
For example, a github issue tracker dedicated to package maintenance could be used. Each gentoo overlay is associated with a github repository.

Those two things are important for online hygiene.
Or, it should be possible to submit a package without listing me as a designated maintainer.
If email has to be provided, it should be hidden from the general public and only accessible by a few moderators.

It is common to submit a package without listing any maintainer, and I think one could even get push access without being listed in lib/maintainers.nix.
meta.maintainers field doesn't mean much in reality – it's mainly a contact – for the build farm to notify about changes in build status and for people interested e.g. in doing a larger change in the maintained package.

So, the community policy is that people don't have to specify the maintainer field. Void Linux doesn't allow people from omitting the maintainer field. This is good. I've almost completely bought into NixOS. I'll definitely prepare to migrate from ArchLinux to NixOS within this year.
Do you think this issue is solved? If you think so, please close it.

If the (main) point is ability to submit packages without claiming some real identity, I do consider it "solved".

I'd say the community is unusually liberal, especially w.r.t. "hard rules".

I would say that lib/maintainers.nix does contain a few violations of the policy. Furthermore, if you format a pseudonym so that it looks like it could be a real name, it would be extremely rude to do any verification or even to ask too many questions.
As for email — I dunno, maybe it is a good idea to keep a whitelist of reasonable non-spam markers for filters. I mean, Hydra emails are generated in a very specific (and relatively stable) format. I guess the current norm for asking about major changes is a GitHub mention anyway.

Nixpkgs manual section 12.2 requires new packages to have
maintainers (or, more precisely, requires PR reviewers to require new
packages to have maintainers). Will this stipulation be removed to
reflect actual practice?

Well, the must word there feels a bit strong to me.  Of course it would be best if every package had at least one maintainer... but if I'm put before the choice, I'd rather push the package without one, as it may work well for years without being touched.

must should be removed. People should have freedom to not expose their email addresses on the public internet. They should have a choice to protect themselves from spammers.


Twitter cookies do not match the docs

Describe the bug
After trying to setup my twitter client using cookies following this format, I was quite surprised that I was always facing auth related errors even though the details were correct.
After deeping more, I found out that it was trying to set cookies using a different format.
https://github.com/ai16z/eliza/blob/main/packages/client-twitter/src/base.ts#L548
async setCookiesFromArray(cookiesArray: any[]) {
        const cookieStrings = cookiesArray.map(
            (cookie) =>
                `${cookie.key}=${cookie.value}; Domain=${cookie.domain}; Path=${cookie.path}; ${
                    cookie.secure ? "Secure" : ""
                }; ${cookie.httpOnly ? "HttpOnly" : ""}; SameSite=${
                    cookie.sameSite || "Lax"
                }`
        );
        await this.twitterClient.setCookies(cookieStrings);
    }

using cookie.key in the map, while it's the example uses name as the key in the docs:
https://github.com/ai16z/eliza/blob/main/packages/client-twitter/src/base.ts#L548
TWITTER_COOKIES='[{"name":"auth_token","value":"your token","domain":".twitter.com"},
  {"name":"ct0","value":"your ct0","domain":".twitter.com"},
  {"name":"guest_id","value":"your guest_id","domain":".twitter.com"}]'

To Reproduce
Just need to try creating a twitter client following the documentation.
Opening a PR to change that.

looks like its fixed, closing


PVZ Fusion APK 2.1.4 (English Version) Download New Update for Android/IOS

PVZ Fusion APK is a fan-made mobile game that combines elements from the popular Plants vs. Zombies series with new, exciting features. This APK offers a unique twist on the original game by introducing new plant types, zombies, and gameplay mechanics, enhancing the classic tower defense formula. It aims to bring a fresh experience for players who enjoy strategy games with creative and colorful designs.
Download: PVZ Fusion APK

Graphics in PVZ Fusion APK
The graphics in PVZ Fusion APK are visually stunning, with vibrant and detailed environments. The characters, including plants and zombies, are designed with smooth animations and a variety of new skins. The game maintains the charming, cartoonish art style of the original PVZ games while introducing new visual effects that make the gameplay feel more dynamic and engaging.
Features in PVZ Fusion APK
PVZ Fusion APK includes several exciting features, such as:
New Plants and Zombies – The game introduces a wide variety of new plants and zombie types, each with unique abilities and tactics.
Multiple Game Modes – Players can enjoy different modes, including campaign missions, challenges, and survival modes.
Upgrades and Customization – Users can upgrade their plants and customize their defenses to match their playstyle.
Challenging AI – The zombies have evolved with more challenging behaviors, providing a tougher and more engaging experience.
Design and User Experience
The design of PVZ Fusion APK is intuitive and user-friendly. The interface is clean, with easily accessible buttons and menus, allowing players to navigate effortlessly. The controls are smooth, and the gameplay is responsive, providing an enjoyable experience on both small and large screens.
Conclusion
PVZ Fusion APK offers a fresh take on the beloved Plants vs. Zombies series, with engaging new features, beautiful graphics, and an intuitive design. Fans of the original game will find this APK a worthwhile experience, with plenty of content and challenges to explore.

@chuatemom,
Could you please provide more details about the issue or provide the reproducible code which helps to analyse the issue in an effective way. Also LiteRT (short for Lite Runtime), formerly known as TensorFlow Lite, is Google's high-performance runtime for on-device AI. You can find ready-to-run LiteRT models for a wide range of ML/AI tasks, or convert and run TensorFlow, PyTorch, and JAX models to the TFLite format using the AI Edge conversion and optimization tools.
https://ai.google.dev/edge/litert
Thank you!


Implement Under Review project state

Open question: when should we mark all project as 'Under Review'? If all the fields are in review or if there exists one field that's in review?
Resolves L2B-1467
https://l2beat-staging-git-under-review-sections-l2beat.vercel.app/scaling/tvl

IMO if there is at least one field under review we should mark it as under review
other solution is to have severity of the field, so e.g. risks have to be all filled, but lets say technology can have under review and the project will not be marked under review
I am just worried that if we decide on anything other than strict rule that everything should be reviewed, then we will end up in the state similiar to the bridges, where we forget what is needed for the review,
idea:
maybe our UpdateMonitor bot can be pulled into this workflow and remind us about under-review projects?

shouldn't whole L2finance row be marked as under review?

shouldn't here be a banner under review?

why there is a question mark on the rosette in L2finance?

why there is a question mark on the rosette in L2finance?

i think it might be ok to have a question mark there but then it's in contrast with the fact that we show the risk analysis

why there is a question mark on the rosette in L2finance?

i think it might be ok to have a question mark there but then it's in contrast with the fact that we show the risk analysis

Why we should display question mark there if we have risks info? I dont understand

my understanding is that we are not sure that they're correct

I see, so even having all of them in the config, but not finish all the research would mean that the risks are under review? Then the risk section also should be marked as in the review

yeah i think the risk analysis cannot be not complete until the review is finished


Update number validator, add digits validator

Updating as discussed in https://github.com/noahsalvi/svelte-use-form/issues/66
Note, I realised that integer would have been a poor name too, as it wouldn't support negative integers with the current behaviour. Instead I went with digits.
I noticed most validators are singular, but I felt digit implied it would accept a singular digit, rather than multiple and so this was clearer.
The new number validator implementation accepts negative or positive, decimal or int. I haven't added anything fancy on top of that.
I did add a test spec for both number and digits

Note, I realised that integer would have been a poor name too, as it wouldn't support negative integers with the current behaviour. Instead I went with digits.

Again, good catch!
I'll try to see what else we can implement for the next major.

Hey @noahsalvi just wondering if there's any chance of getting this change included?
I'm about to pick up some work with svelte again needing forms, so this came back into mind for me.

Hey @manterfield, it's been a while - sorry. Funnily enough I've just started working with frontend technologies again, so we're in a similar situation.
Thanks for the suggestion regarding the alpha, that's definitely a good idea for the time being and would also help with testing the new additions.
I've now included your feature in the first alpha of the 3rd major release 3.0.0-alpha.0. Thanks


nd.slice errors out when end=-1 and step=-1

Description
For mxnet.ndarray.slice(data, begin, end), if end=-1 and step=-1, it does not return a reversed tensor. Instead, it gives an invalid data error.
Minimum reproducible environment
>>> import mxnet.ndarray as nd
>>> a = nd.normal(shape=(4))
>>> a
[2.2122064 0.7740038 1.0434405 1.1839255]
<NDArray 4 @cpu(0)>a = nd.normal(shape=(4))
>>> a1 = nd.slice(a, begin=2, end=-1, step=-1)

Expected output: [1.0434405 0.7740038 2.2122064]
Outputs:
Traceback (most recent call last):
  File "test_slice.py", line 4, in <module>
    a1 = nd.slice(a, begin=2, end=-1, step=-1)
  File "<string>", line 86, in slice
  File "/home/ubuntu/workspace/mxnet0/python/mxnet/_ctypes/ndarray.py", line 92, in _imperative_invoke
    ctypes.byref(out_stypes)))
  File "/home/ubuntu/workspace/mxnet0/python/mxnet/base.py", line 252, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [13:57:39] /home/ubuntu/workspace/mxnet0/src/operator/tensor/./matrix_op-inl.h:716: Check failed: e < b (3 vs. 2) slicing with begin=[0]=2, end[0]=3, and step[0]=-1 is invalid

@mxnet-label-bot add [Python, NDArray, Operator, Bug]

According to numpy, this should return an empty array. Since MXNet does not support emtpy array in computation, it simply throws exception. So there is nothing wrong for now until we support empty arrays which has been planned.
>>> import numpy as np
>>> data = np.random.uniform(size=(4,))
>>> data
array([0.19584417, 0.05437645, 0.73802081, 0.20259332])
>>> data[2:-1:-1]
array([], dtype=float64)

@reminisce numpy behavior seems to be inconsistent . For example
>>> data = np.random.uniform(size=(4,))
>>> data
array([0.6677262 , 0.29855998, 0.32659663, 0.15015646])
>>> data[2:0:-1]
array([0.32659663, 0.29855998])
>>> data[2:-1:-1]
array([], dtype=float64)
>>>

end = 0 returns the two element array till index 1. end = -1 instead of returning 3 element array returns empty array. Ideally it should return the three element array. Otherwise there is no way to include the 0th index with negative step.

Opened an issue with numpy for the same https://github.com/numpy/numpy/issues/13123

According to numpy,
To include element 0, slice down to None, or just omit that bound.
>>> data[2:None:-1]
array([0.79147856, 0.65619514, 0.39041899])
>>> data[2::-1]
array([0.79147856, 0.65619514, 0.39041899])

Closing this issue as the behavior is consistent with numpy.
Here is how we can get the element at 0-th index with MXNet NDArray.
>>> import mxnet.ndarray as nd
>>> a = nd.normal(shape=(4))
>>> a
[2.2122064 0.7740038 1.0434405 1.1839255]
<NDArray 4 @cpu(0)>
>>> nd.slice(a, begin=2, end=(None,), step=-1)
[1.0434405 0.7740038 2.2122064]
<NDArray 3 @cpu(0)>

Note: None needs to be given as part of a tuple.


Error: Message type "caffe.LayerParameter" has no field named "psroi_pooling_param".

W1221 22:46:14.682919  8972 _caffe.cpp:125] Net('/RFCN_root/py-R-FCN/models/pascal_voc/ResNet-101/rfcn_end2end/test_agnostic.prototxt', 1, weights='/RFCN_root/py-R-FCN/data/rfcn_models/resnet101_rfcn_final.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 7106:25: Message type "caffe.LayerParameter" has no field named "psroi_pooling_param".
F1221 22:46:14.688835  8972 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /RFCN_root/py-R-FCN/models/pascal_voc/ResNet-101/rfcn_end2end/test_agnostic.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
Got the above error, any idea how to solve it ?

I didn't put the caffe folder inside the py-R-FCN before building, which was causing this error. Closing it as the issue is solved.


Google Maps plugin marker windows display incorrectly in iOS 13 Dark mode

See attachment. Left side is an app with iOS 13 dark mode turned off. Right is with it turned on. Either the text or the info window background is the wrong color when dark mode is on and the text can't be seen.

flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.9.1+hotfix.4 at /Users/Ian/flutter
    • Framework revision cc949a8e8b (12 days ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/Ian/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.7.3

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

@chickenblood Please provide your flutter doctor -v output.

@chickenblood Please provide your flutter doctor -v output.

Edited to include.

Duplicates #40982.
A fix exists in the latest iOS Google Maps SDK https://github.com/flutter/flutter/issues/40982#issuecomment-540235842

Thank you @RyanRamchandar ! I'll close the issue to avoid duplication, @chickenblood please follow it on #40982.


[Refactor] Unexport newRepoRedirect() & rm dedub del exec

while looking at  #11649 I noticed things i fixed & refactored are copy-pasted things from ReopRedirect

Codecov Report

Merging #14441 (75ddcc3) into master (525d75c) will increase coverage by 0.00%.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##           master   #14441   +/-   ##
=======================================
  Coverage   41.76%   41.77%
=======================================
  Files         748      748
  Lines       80103    80101    -2
=======================================
+ Hits        33455    33462    +7
+ Misses      41125    41119    -6
+ Partials     5523     5520    -3

Impacted Files
Coverage Δ

models/repo.go
52.41% <0.00%> (+0.08%)
:arrow_up:

models/repo_redirect.go
70.83% <66.66%> (ø)

models/gpg_key.go
53.33% <0.00%> (-0.58%)
:arrow_down:

services/pull/pull.go
42.15% <0.00%> (-0.50%)
:arrow_down:

modules/git/batch_reader_nogogit.go
46.26% <0.00%> (+1.49%)
:arrow_up:

modules/charset/charset.go
73.03% <0.00%> (+4.49%)
:arrow_up:

modules/git/repo_language_stats_nogogit.go
63.82% <0.00%> (+6.38%)
:arrow_up:

modules/indexer/stats/db.go
68.00% <0.00%> (+12.00%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #14441 (75ddcc3) into master (525d75c) will increase coverage by 0.00%.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##           master   #14441   +/-   ##
=======================================
  Coverage   41.76%   41.77%
=======================================
  Files         748      748
  Lines       80103    80101    -2
=======================================
+ Hits        33455    33462    +7
+ Misses      41125    41119    -6
+ Partials     5523     5520    -3

Impacted Files
Coverage Δ

models/repo.go
52.41% <0.00%> (+0.08%)
:arrow_up:

models/repo_redirect.go
70.83% <66.66%> (ø)

models/gpg_key.go
53.33% <0.00%> (-0.58%)
:arrow_down:

services/pull/pull.go
42.15% <0.00%> (-0.50%)
:arrow_down:

modules/git/batch_reader_nogogit.go
46.26% <0.00%> (+1.49%)
:arrow_up:

modules/charset/charset.go
73.03% <0.00%> (+4.49%)
:arrow_up:

modules/git/repo_language_stats_nogogit.go
63.82% <0.00%> (+6.38%)
:arrow_up:

modules/indexer/stats/db.go
68.00% <0.00%> (+12.00%)
:arrow_up:

Continue to review full report at Codecov.

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

Just roll this into to #11649 - saves the CI and approval time.

Just roll this into to #11649 - saves the CI and approval time.

included  in #11649

included  in #11649


pythonPackages.pygal: fix build by forcing pytest_3 - staging rebase

Motivation for this change
This is a rebase of https://github.com/NixOS/nixpkgs/pull/59431 onto staging, seeing as it does have a fairly high rebuild count. Please see that PR for details.

I've checked the master version of on macos now and all nox-review failures are unrelated.

Closing because pytest_3 was removed from nixpkgs https://github.com/NixOS/nixpkgs/pull/66376


FIX-#1646: Fix representation of Series with datetimelike index

Signed-off-by: Alexey Prutskov<EMAIL_ADDRESS>
What do these changes do?

[x] tests added and passing

@prutskov , LGTM!


Hour08 Example04

Error: failed to connect to [localhost:27017]
Anyone experienced the same???

your mongodb should be running,can you understand me?? my english do not well


Could we get a guide for getting GDScript to work with Nvim new LSP?

Hello!
I've been trying to set up my Neovim with 'neovim/nvim-lspconfig' instead of coc, and I'm running into some troubles with Godot LSP. I can't get it to work at all. I don't get any suggestions for functions, or actually anything at all. If you have a guide for this that works I would love to see one added to your README.
Thanks!

I am unsure if it is feature complete but I've gotten the LSP launched and providing autocomplete and gotodefinition within neovim
Relevant plugins
neovim/nvim-lspconfig
Shougo/deoplete.nvim
deoplete-plugins/deoplete-lsp
habamac/vim-godot

I also needed a network utility package installed, I'm on arch so I used ncat (rather than default nc)
With those plugins installed I also had the following included as a runtime within my vim configs
lua << EOF
local lspconfig = require'lspconfig'
lspconfig.gdscript.setup{
    cmd = {"ncat", "localhost", "6008"}
}
EOF

With godot launched I was able to get it to open nvim (passed as flag to a terminal emulator as the external editor) and ran :LspInfo and saw that it had connected. Deoplete, my autocomplete plugin was also being seeded.
See my full dotfiles configuration here
Hope this helps.


visual-fill-column does not seem to be installed

Hello:
https://github.com/purcell/emacs.d/blob/126202d26c3a3605dba2c3850db61ad1e5886cf1/lisp/init-fonts.el#L11
You mentioned visual-fill-column here, but this package seems to have never been installed.
If this is something you set deliberately, please close this issue.
Thanks.

visual-fill-column is a package depended on by writeroom-mode, which is installed via init-org.el.


COFF Parser improperly handles this object file

Many non-code areas are marked as code. I haven't really looked into this enough to root cause the issue.
d:\agent_work\3\s\Intermediate\vctools\msvcurt.nativeproj__314516854\objr\amd64\ushclog.obj.zip

Part of the issue seems to be we're not handling this properly

Ok seems like this code is MSIL and we shouldn't be creating functions at these locations. Here is some additional documentation on these types of symbols. http://phrack.org/issues/70/6.html

Fixed in 3.0.3400


Implement List Email in Mailbox

[x] Parsing GetEmailMethod
[x] Parsing QueryEmailMethod
[x] Parsing GetEmailResponse
[x] Parsing QueryEmailResponse
[x] Implement unit test GetListEmail on docker
[ ] Unit test

I did not see the existence of FilterOperator, FilterCondition and Comparator.

BTW would be awesome if you find some time to record a little video for your work before the weekend.

BTW would be awesome if you find some time to record a little video for your work before the weekend.

it is client-library, so IMO, you should to waiting for UI implementation. I will take care this PR. dont worry


Obtain and display transformed current location

Plan:

create a new SamsaFont whenever we make a new binary font
for the current location (any time the current location changes) create an instance at that location
check the transformed axis locations that will have been generated
denormalize those axis values and display the transformed current location as a blue dot at 50% opacity

We can use a similar method to show:

transformed grid lines,
representations of transformed instance locations for all the instances being rendered

Done.
The grid lines representation might be improved, but a basic version is working. And maybe the instances could be represented with different colours (although that might be confusing).


Deserialize

There's a way to deserialize a Json file to a Json object? i have a json file that contains data and i need to read that

Please have a look at the project‘s README file. It is all explained there.

Sorry for the question, i have this Json, how can i do to refer to "layers","height"? i tried
json j["layers"]["height"] and i cant retrieve that data, thank you
"height":32,  "infinite":false,  "layers":[         {                 "height":32,          "id":1,          "name":"Tile Layer 1",          "opacity":1,          "type":"tilelayer",          "visible":true,          "width":32,          "x":0,          "y":0         }],

layers is an array, so for this example you need j["layers"][0]["height"].

@Akirame Did @gregmarr 's answer fix the issue?


Firefox install fails since Colab upgraded to Ubuntu 22.04.2

see https://github.com/googlecolab/colabtools/issues/3861

Fixed.


Thunderbolt instead of USB

Could a Thunderbolt drive (OWC Envoy Pro FX) be used instead of an USB disk?
Thanks.

You can install this on any device you want, however Apple Silicon TB support is still a WIP:
https://github.com/AsahiLinux/docs/wiki/Feature-Support


Document more from Rocky in repositories.dot

Draw repositories.dot from left to right
instead of top-down, as that makes it fit better on a screen

Preview of the new version for more convenient review:

and original for comparison, taken from here:


How to update to new version?

I’m trying to install nginx1.16.1 on a testserver to test http/3. I have already built, compiled and installed it, but my server is still running the old version. How do I change the nginx version it is using?

Please check nginx -V output and it includes --with-http_v3_module. Otherwise you need to check if nginx is properly patched and installed in a location you specified.

I already know that it’s not 1.16.1 but the <IP_ADDRESS> that came with the bitnami nginx version. So I’m not sure were I shall define which nginx version my system is using. If I just use the conf of the pached version it will error, because it does not have quiche and in general it’s not running the patched version. If I change the path in my ctlscript.sh, that doesn’t change the version I’m using with the nginx command. So I wonder where do I configure the nginx version my server is using...
Currently it is using one in a custom bintami location and not the one in /usr/local/ which is th default nginx path

Not sure what bitnami nginx is based on, but please note that you need to build nginx from the source as in our README. If you have any build issue with our nginx+quiche patch please post here again.


Example 3: Using an extension INF to install a filter driver

We submitted a driver based on "Example 3: Using an extension INF to install a filter driver" but the creation of the shipping label was rejected by MS with the following error:
"Bad Submission data: Bad driver INF configuration VSO bugId: 20385599. Comment: Extensions should not contain sys, dll or exe files. Contains: .cat: 1, .inf: 1, .sys: 2"
So is Example 3 a valid driver? Are we allow to install filter driver through extension inf?

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

ID: 61e5e417-647c-0c3a-9c25-83a7be9efe3a
Version Independent ID: 6ccb6634-97cb-b66f-3ca5-0e58218abdc0
Content: Using an Extension INF File - Windows drivers
Content Source: windows-driver-docs-pr/install/using-an-extension-inf-file.md
Product: windows-hardware
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Thank you @CKroid for reporting this!  This was a mistake on the Microsoft side.  It was fixed this morning Redmond time.  Filter driver Extension packages should now pass through validation as expected.


"500 Internal Server" error returned when trying generate configs for stacks with Lb rules.

Server version - v0.30.0-rc2
Steps to reproduce the problem:
Create a LB services with targets (without specifying host/path/targets)
Clicking on "View Config" results in "Internal Server Error (500)"

Tested with server version - v0.30.0-rc3
Able to view config for environment that has a LB services with targets (without specifying host/path/targets)


circleci config validate failing

Orb version
3.4.0
What happened
The pipeline fails at the step "CircleCI config validate reduced config"
The offending command is:
circleci config validate .circleci/continue-config.yml --org-slug bitbucket/$CIRCLE_ORGANIZATION --token $CIRCLE_TOKEN --skip-update-check
The error message is:
Error: Unable to validate config: Permission denied
Expected behavior
The validation should succeed. 😝
Additional Information
I reran the job with SSH and learned:

The env vars seem to be properly set.
The command succeeds without the --org-slug parameter.
I tried a bunch of different values for --org-slug but couldn't get any of them to work. "bitbucket/{organization id from organization settings}". "bitbucket/{my personal bitbucket username}". Even "github/bjd2385".
I swapped --org-id for --org-slug and that worked.

Is --org-slug really necessary? Could we omit it, or use --org-id instead? If --org-slug is truly necessary, any idea about what I should put there?
Thanks!!!!!
config.yml
version: 2.1
setup: true
orbs:
dynamic<EMAIL_ADDRESS>workflows:
on-push:
jobs:
- dynamic/continue:
context: orb-publishing-studio-async
project-type: bitbucket
modules: |
/services/studio-async-job

Sorry I didn't reply sooner @gnaryak ! So to break this down for myself, it looks like this is presently evaluated as
circleci config validate << parameters.continue-config >> --org-slug << parameters.project-type >>/<< parameters.circle-organization >> --token << parameters.circle-token >> --skip-update-check

v
circleci config validate .circleci/continue-config.yml --org-slug github/bjd2385 --token $CIRCLE_TOKEN --skip-update-check

You can get the org slug from the URL in your browser as well. May I ask if you were able to fix this? Sounds like it could be a bad API token or... I could always add the ability to use either org-slug or org-id.

Hi Emma - I ended up implementing continuation without using the orb. As I experimented and tinkered, I also ran into what seemed to me to be an intractable problem. If I change multiple projects in my monorepo, the CI/CD can only run for one of them if we use continuation in the way that this orb is implemented. I ended up having one CircleCI config that sets variables based on the files that have changed, and then a second mega-config file that processes all of the changed projects.
That second config file will grow to be awkwardly big but I am able to successfully use conditionals in it to only run the appropriate parts of workflows based on the files and projects that have been changed.
I love the architecture of the orb you have created. Simple, clean, extensible. But I didn't see how it would be able to handle changes to multiple projects in the monorepo.
Thanks, cheers,
Andrew

... I also ran into what seemed to me to be an intractable problem. If I change multiple projects in my monorepo, the CI/CD can only run for one of them if we use continuation in the way that this orb is implemented.

Interesting, and glad you were able to find a solution! I am curious/interested in learning more about the part above, but I'll go ahead and close this for now. Always open to extending this project to suite additional real-world use cases.


"Deployment failed" when trying to create VM in DevTest Lab

I'm trying to create a VM with the az lab vm create command given above.  I get the error
Deployment failed. Correlation ID: 17ba8b7f-276d-4023-8ac3-a6242ea4a47f. An error has occurred.

Have you any idea how I can fix this?

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

ID: 1823a3f3-41e7-fe01-19ac-185d9e6603e8
Version Independent ID: 23c0c2c9-d465-83c6-5aff-511b29cb276e
Content: Create and manage virtual machines in DevTest Labs with Azure CLI
Content Source: articles/lab-services/devtest-lab-vmcli.md
Service: lab-services
GitHub Login: @spelluru
Microsoft Alias: spelluru

@tomjaguarpaw -
Are you able to create a VM in the lab by using the Azure portal?
I have tried Azure CLI from both Cloud Shell and from command-line on my machine, but I am not able to reproduce the issue.
Please let me know if you can add a VM to the lab by using Azure portal. I understand that the error message is not helpful. I will try to get in touch with the product team regarding this.

Hello @spelluru, thanks for your reply.  Yes, creating a VM from the Azure portal works fine.  Sorry, I should have specified that in my original report.

@tomjaguarpaw - No problem. I am looking at an old issue: https://github.com/Azure/azure-cli/issues/6107. The problem was fixed by specifying values for --size and --ip-configuration values. I do see them in the CLI command in the article. I ran the command again by skipping these two parameters and I see the error you get. Could you please make sure that you are passing values for all the parameters? I will report to the product team about the non-helpful error message. Thanks.

Yes, I have those parameters.  The command I am using is
az lab vm create --lab-name <lab> --resource-group <resource-group> --name myNewVM --image "Ubuntu Server 16.04 LTS" --image-type gallery --size Standard_DS1_v2 --authentication-type  ssh --generate-ssh-keys --ip-configuration public

The command hangs indefinitely and in Azure Portal I see "myNewVM" with status "Failed".

Unfortunately, I couldn't reproduce the issue even after copying your command and specifying my lab name and resource group name. It works fine for me. I saw the error only when I skipped those two parameters

That's strange.  If you can ask the product team if they can provide any more information that would be helpful.  Thanks for looking into this.

@tomjaguarpaw We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Add new section Optimized type activation

Add ### Optimized type activation before  ## Recommended patterns for multi-tenancy in DI based on this video.
@serpent5  after #19271 merges, can you help me add this?

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

ID: 0d78f540-81fd-1ba9-cb90-591e4ec27d9b
Version Independent ID: 2251f557-dd3a-ec35-2558-6243337db009
Content: Dependency injection in ASP.NET Core
Content Source: aspnetcore/fundamentals/dependency-injection.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Yep, of course. Just let me know what you need when you get there.

I just watched the section on "Optimized type activation". My interpretation of that is it's not something that should be documented, as such. I think it's just another reason to prefer "proper" DI over using the service-locator. I could well be wrong though, as there wasn't much information in the video.

That's what I was thinking, thanks.


Fix lint warnings

This fixes warnings from npm run lint.
Please merge into your branch so I can approve and merge your PR

@soaryong-c
can you please review and merge. I just made it with npm run fix, you can also run that and verify I did nothing else but add that command and prettify the code

👍 thank you!


Duplicate references added when frameworkAssembly and OOB versions of same assembly referenced indirectly

Description
It is possible to end up with two references to the same assembly (e.g. System.Net.Http) but where one comes from a NuGet package using a <frameworkAssembly> element to refer to the version of the assembly that ships as part of some version of the .NET Framework, and where the other comes from a package the supplies a newer OOB version of that same assembly (e.g., the System.Net.Http NuGet package v4.3.2).
When this happens, Paket ends up adding two references to the same assembly, one referring to the reference assembly, and one for the newer OOB version from the NuGet package. This causes ambiguity and build warnings.
Repro steps

Create a new solution in Visual Studio 2017 Update 3 containing an F# project targetting .NET Framework 4.7, and initialize the solution for Paket use.

Use Paket to add a reference to the Microsoft.Rest.ClientRuntime package version 2.3.5. (Later versions such as 2.3.9 don't have this problem by the way, because they no longer have the <frameworkAssembly> reference to System.Net.Http. However, it's easy to end up with v2.3.5 because it's the lowest version that is acceptable to various current Azure Management DLLs

Use Paket to add a reference to the System.Net.Http package version v4.3.2.

Expected behavior
In the project's References node in Solution Explorer there should be a single reference to System.Net.Http and it should be to the OOB version (<IP_ADDRESS>) from the System.Net.Http NuGet package, since that is the more recent version. The .fsproj should likewise contain just a single reference.
Actual behavior
There are two references to System.Net.Http visible in the References node in Solution Explorer, and also in the .fsproj file.
Known workarounds
In this specific case you can work around the problem by upgrading to v2.3.9 or later of Microsoft.Rest.ClientRuntime because that no longer contains the <frameworkAssembly> elements. This is not a general workaround, because it relies on the availability of a newer version of the package that doesn't use the problematic feature.

I have a similar problem.  I have a couple of test projects which reference structuremap and structuremap.automocking.  Every time I run paket install, it's putting structuremap into the csproj files twice: once for structuremap itself, and once for the automocking library.  And they're different versions.  I'm targeting .NET 4.6.2 in my paket.dependencies file, and the lock file only shows one version of each of those two refs (the latest, correct ones).  But here's what gets put into the csproj:

..\..\..\..\..\..\packages\StructureMap\lib\net45\StructureMap.dll
True
True

..\..\..\..\..\..\packages\structuremap.automocking\lib\net40\StructureMap.dll
True
True

..\..\..\..\..\..\packages\structuremap.automocking\lib\net40\StructureMap.AutoMocking.dll
True
True

@DanJensen it looks like structuremap.automocking is packaged incorrectly as it already contains the structuremap dll. therefore you have two packages in your resolution with the same dll included. that cannot go too well.
Are the same packages working with nuget?


[Templating] Styling differences between SPA template and default UI layout.

There are some small differences between the layout on the SPA templates and the layout included in the default UI. We should compare the two layouts and make sure they are equivalent.

https://user-images.githubusercontent.com/1101362/53086833-c354de00-34fd-11e9-80b2-641a58eefd62.png

@javiercn @blowdart Milestone?

Do we have a fit and finish milestone?


Feature request: MathJax support for readme files

Hi,
I'm just starting to use HydroShare (great resource!), but noticed that the equations I've provided in my readme.md are not rendering. Markdown equations are pretty typical. I would therefore like to suggest adding MathJax, or similar, support. I think that could really help users understand some elements of a particular resource, improving the overall HydroShare experience.
As a typical example of how math is used in markdown, I'm providing a link to the resource I'm working on: https://www.hydroshare.org/resource/7c7267d19dc94e1b834d0fc82bdffa50/.
Please let me know if there is someway I might be able to help with this issue.
Sincerely,
Jason

@sblack-usu @hyi is this a fairly easy process to add additional rendering to the markdown.

@martinseul markdown editor is implemented by @Maurier using a markdown library, so @Maurier should know how easy or difficult to add additional rendering to the markdown editor we currently have.

There seems to be easy ways to include this into our project.
From backend: https://github.com/kaleidos/django-mathjax
This is a simple django package to include mathjax into our project. We can then use it as a template tag where appropriate.
From frontend: https://docs.mathjax.org/en/v1.0/start.html#linking-mathjax-into-a-web-page
Just as serving the script and the provided polyfill. Then we can point it at our rendered readme file in the frontend and it will do its thing.


Add Kindling to emerging applications

Hi, folks 👋, I would like to add Kindling to the list of emerging applications.
Requirements:

[x] Kindling code is available under the Apache 2 license.
[x] Using eBPF as its underlying core technology.
[x] Open to collaboration and actively maintained.

Any suggestions would be greatly appreciated, thanks!

Sorry for the delay, I was OOO last week and just catching up.
Thanks for the addition! I'll also add it to eCHO News this week


Update the contributor

What is the context for this pull request?

Update the contributor list to add a new contributor.
Does this PR introduce any user-facing change?

No
How was this patch tested?

N/A

@rapoth, @imback82, @clee704 Is this only a Microsoft dev list? 😁

Sorry, the title is misleading. Yes, this is an internal dev list for now, but we may expand it in the future.


Menu / move command lost source file

Self-Diagnosis

[x ] I have searched the issues for an answer to my question.
[x ] I have reviewed the NERDTree documentation. :h NERDTree
[ x] I have reviewed the Wiki.
[x] I have searched the web for an answer to my question.

Environment (for bug reports)

[ x] Operating System: MacOS Mojave 10.14.6
[x ] Vim/Neovim version :echo v:version: Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 16:51:54)
[ x] NERDTree version, found on 1st line in NERDTree quickhelp ?: 6.4.3
[ ] vimrc settings

[ ] NERDTree variables

Other NERDTree-dependent Plugins

[ ] jistr/vim-nerdtree-tabs
[ ] ryanoasis/vim-devicons
[ ] tiagofumo/vim-nerdtree-syntax-highlight
[ x] Xuyuanp/nerdtree-git-plugin
[ ] Others (specify):

[ ] I've verified the issue occurs with only NERDTree installed.

Steps to Reproduce the Issue

editing a file src/components/Summary/Confirmation/confirmation.js
In NREDTree, type mm on that entry
move the file to src/components/Summary/LegalCopy/LegalCopy.js (that file already exists)

Current Result (Include screenshots where appropriate.)
Removes the existing file, and deletes the source file -- the text from the source file was not moved to the existing/target file and is nowhere to be found.
Expected Result
Should actually move the file.
I've done lots of moves in the years I've been using NERDTree, and never seen this issue. Fortunately, it was a (relatively) small file but I shudder to think that one of my larger files could be lost like this.
I've searched my tree for possibly misnamed files and can't find anything that might be the lost file.
If I can reproduce, I will...

git checkout . No, seriously... it looks like there needs to be a check that we don't overwrite existing files. Or at least prompt first.


Missing link for deployment

Did I miss where the link to the blueprint itself or deployment instructions would be for this one?

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

ID: 7e0992c9-21da-5c59-4f90-2779f0762655
Version Independent ID: e1a97b17-eb28-1e90-b1b6-a74e25759932
Content: Azure Security and Compliance Blueprint - IaaS Web Application for PCI DSS
Content Source: articles/security/blueprints/pcidss-iaaswa-overview.md
Service: security
GitHub Login: @Meladie
Microsoft Alias: meladie

@chrisnorthnj, Thanks for the question! We are taking a look into this and will get back to you soon.

@chrisnorthnj, Kindly take a look at these documents for creating blueprint.
Define and assign a blueprint in the portal
Define and Assign an Azure Blueprint with REST API
This document aims at providing a reference architecture, implementation guide, and threat model. The solution outlined provides a baseline to help customers deploy workloads to Azure in a PCI DSS 3.2 compliant manner.

@DCtheGeek Any insights on the above?

@@chrisnorthnj, Just checking in to see if you have had a chance to see my previous response and if it was helpful. We will now proceed to close this thread. If there are further questions regarding this matter, please tag us (@DCtheGeek) in your reply. We will gladly continue the discussion and will reopen the issue.


[WIP] doc: Add documentation regarding usage of the board

Significant rework is required, so I'm closing this hanging PR.


x/build: run a non-root Linux builder

We should run at least non-root Linux builder to catch tests which accidentally require root.
(but we shouldn't run all builders as non-root, else we'll miss things assuming non-root)
Perhaps we make some existing weird builder also have this role, like linux-386-387, to not add resources or columns. We could rename it to 386-387noroot if we wanted?
/cc @minux @adg @crawshaw

And @davecheney

We should run at least [one] non-root Linux builder to catch tests which accidentally require root.

We should specifically run at least one non-root Linux TryBot, and at least one non-root longtest builder (but probably also at least one root longtest builder, since long tests may also be sensitive to whether the user is root).
CC @dmitshur @toothrot @cagedmantis

Specifically, having ~all of the linux builders running as root causes us to skip (or fail to get adequate coverage for) any test that depends on making files or directories unwritable (as in #30316).


[Landcover Toolkit] Implement Sentinel-2 Dataset wrapper

@gorelick-google FYI

Closing due to inactivity. Please reopen as necessary.


Compilation errors in Eclipse

When importing sources in Eclipse, I get two errors in CallDependencies, at lines 276 and 281:
The method transferReturn(dk.brics.tajs.flowgraph.AbstractNode, dk.brics.tajs.flowgraph.BasicBlock, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, dk.brics.tajs.solver.CallKind) in the type INodeTransfer<StateType,ContextType> is not applicable for the arguments (dk.brics.tajs.flowgraph.AbstractNode, dk.brics.tajs.flowgraph.BasicBlock, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, ContextType extends dk.brics.tajs.solver.IContext<ContextType>, dk.brics.tajs.solver.CallKind)
These errors don't show up in Idea or ant, so I guess the Eclipse integrated compiler is interpreting generics differently from OpenJDK.
Are you experiencing these too? Is Eclipse even used in TAJS development?
Thank you.

We shifted to IntelliJ IDEA long time ago. We'll look into the problem, but I suggest you use that or command-line compilation for now.

I'm getting the same error for IntelliJ idea. Any workaround?


Can we help apps identify widgets that are causing crashes?

Issues like https://github.com/flutter/flutter/issues/47086 pop up from now and then for many clients. When such an exception occurs, application logs are typically the only resource available to debug the problem. From these logs, there's no way trivial way to trace the exception back to the widget that caused it.
I recall certain types of exceptions having widget information like this (taken from https://www.gitmemory.com/issue/flutter/flutter/47516/571278639):
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following NoSuchMethodError was thrown during performLayout():
The method 'copyWith' was called on null.
Receiver: null
Tried calling: copyWith(maxWidth: Infinity)

The relevant error-causing widget was:
  Theme file:///Users/apurva/Documents/Apurva%20Dabade/demo_app/lib/screens/pole_reports_page_new.dart:915:20

Could we do this for all types of errors? like the ArgumentError when malformed utf is detected?
Is this always enabled? Would release mode exceptions contain this information?

@GaryQian @hixie FYI

A small example is if you build this widget:
Text('😀'.substring(0, 1));
Then an invalid UTF16 ArgumentError occurs, but doesn't have any diagnostics or call stack to help identify the cause.

The "relevant error-causing widget" thing comes with a pretty high cost, which is why we only do it in debug mode.

This may because of:

This is because the flutter tool injects the source location of Widget constructors into the code at compile time, so the code is effectively:
content_copy
print(<Widget>{
  const SizedBox(location: Location(file: 'foo.dart', line: 12)),
  const SizedBox(location: Location(file: 'foo.dart', line: 13)),
}.length);

... We use this injected information to make the error messages clearer when a widget is involved in an exception, by reporting where the relevant widget was created. Unfortunately, it has the visible side-effect of making otherwise-identical constants be different at compile time.

Is the high cost the "injection of source file location into the widgets"?
As stated at:
https://flutter.dev/docs/testing/debugging#widgets-marked-const-that-should-be-equal-to-each-other-arent

@HansMuller Is this something we can do in the framework?


[5.9][Serialization] Fix serializing CompilerPluginExecutablePaths values

Fix a typo making us lose the search paths for executable macros in swiftmodule files. That information is used by LLDB to apply macros in the expression evaluator.
Risk: Low, the modified data is consumed only by lldb.
Cherry-pick of: https://github.com/apple/swift/pull/66309
Resolves: rdar://110068048

@swift-ci Please test

The macOS test is failing on the build configuration issue. Let's try again.
@swift-ci Please test macOS

@swift-ci Please test macOS


Can I use this?

I making a web app, a personal project. Can I use this API end point? and What is the rate limit of this API? And is there a way to bypass that? Can you please explain how you made this project happen? I mean the step by step procedure to make this kind of a project happen.

Is it using an external source i.e. https://leetcode.com/graphql for collecting the data, do you have your own database?

I surfing and I found this answer https://stackoverflow.com/a/74977514/22793103 and this actually got me what I wanted, can you please tell me if there is any kind of rate limit for using this graphQL endpoint?

@kishan2k2
First sorry for this late response.

I making a web app, a personal project. Can I use this API end point? and What is the rate limit of this API? And is there a way to bypass that? Can you please explain how you made this project happen? I mean the step by step procedure to make this kind of a project happen.

The rate-limit is 60 requests/hour. Just remove limiter variable from the app.ts file to bypass it. But if u want to change the request limit change limit and to change the time limit change windowMs.

I surfing and I found this answer https://stackoverflow.com/a/74977514/22793103 and this actually got me what I wanted, can you please tell me if there is any kind of rate limit for using this graphQL endpoint?

Till today I don't see any rate limit for the graphQL API

Thank you for the response, though I figured it out myself 🤗


[release-1.24] Set unsupported istioctl commands (#210)

Manual cherry-pick of #210

Set unsupported istioctl commands

Add alternatives for unsupported cmd

Alternative as a unsupportedCmd arg

Fix alternative msg for upgrade

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes.


add an ability to (re)-run single test from UI

When the tests are already loaded into UI and shown, user should be able to (re)-run some arbitrary single test ob demand.

implemented in 2.0.0


[demo] Allow chunk sizes to be configurable when deploying models

The chunk sizes are set pretty low but it's still possible that people run out of gas when deploying models.
For now, people should confirm that deployment works on a test chain before deploying elsewhere.

Hi @juharris
I would like to contribute to this issue.
I am comfortable with Machine learning and stuff but didn't work with blockchain till now, but to the best of my knowledge what I understand is this task doesn't require knowledge of blockchain. So with that respect, I would like to go with this issue.
can you pls direct me to the respective folder or file upon which I require to work and some info regarding setting up this project in the local environment.
thanks.

Thanks for reaching out! That's right, this doesn't require deep blockchain knowledge but it's a good intro because it involves the code that we use to deploy the smart contracts for the machine learning models.
The two files that need changes are:

https://github.com/microsoft/0xDeCA10B/blob/main/demo/client/src/ml-models/deploy-model.ts and
https://github.com/microsoft/0xDeCA10B/blob/main/demo/client/src/ml-models/deploy-model-node.js

Just search for "chunkSize" and you'll see how there are hard-coded chunkSizes. For deploy-model.ts, you can add initializeChunkSize and chunkSize to the options. Keep the current values as the defaults.
For deploy-model-node.js, you can introduce an options parameter like the other file has.
Let me know if you need more clarification or would like to have a call.
Thanks again for your interest!

Thank you, for telling the whole overview,
I will surely try to contribute to this, can you please assign me this issue?
and yes once after going through files if I found and the difficulty over understanding or something else will surely ask from you via GitHub comments or could surely have a call
thanks

Awesome!

@juharris  kindly check,
I had made some changes as suggested by you

@juharris  Shall I proceed with the node.js file if deploy-model.ts is in the right format now,
And yes can you pls guide me that which options are required to include in options (the ones that are mentioned in the function itself or all that I could see in the deploy-model.ts file)

The .ts file looks good!
For deploy-model-node.js, the only options needed are toFloat, initialChunkSize, and chunkSize.

Do I need to put options in form of parameters to the function or as under-promise as done in the .ts file?

I'm not sure what you mean by under-promise but you should do it like it was done in the .ts file: with an options parameter as an object. So you can also remove the toFloat parameter since it will be in the options.
This breaks the current API but I think that's okay since I doubt anyone is using it. There might be places in our code where we call the method but I don't think those places will break but I don't think they're setting the toFloat value.

@juharris Kindly check the changes made in node.js

@juharris Thanks a lot for merging


Is this a fork of "blessed"?

Is this project named "blessed-contrib" a fork of "blessed"?
If yes: Are the latest changes of "blessed" from late 2015 / begin of 2016 inside "blessed-contrib"?
I opened the same question on the "blessed" github issue tracker,
please answer it also there: https://github.com/chjj/blessed/issues/293

I'm sure README should resolve your concerns regarding this repo.

In short: it's not.


tests: Add retrieve hostname from curl test for swarm

This test retrieves the hostnames from the replicas using swarm.
Fixes #629
Signed-off-by: Gabriela Cervantes<EMAIL_ADDRESS>

@jodh-intel , I will do the changes :)

@jodh-intel changes applied

CI is failing the test with "Connection refused" errors though.
@mcastelino - I've tried to create a swarm setup in the same manner as this test and I too get "Connection refused" errors from curl. But, after a second or so, these change to having curl just hang (as mentioned on irc). I'm using the devicemapper driver fwiw.
If I switch the docker runtime back to runc, I also see "Connection refused" errors for the first second or so of running curl, but after that, the hostname is returned correctly.

@jodh-intel the problem that I see is that the replicas were never in state "up" that is why we are getting the connection refused
ID                  NAME                MODE                REPLICAS            IMAGE                 PORTS
18:17:29 # 7ja2ky01nw0w        testswarm           replicated          0/4                 gabyct/nginx:latest

@jodh-intel which version of docker you are using with runc?

@jodh-intel , I know that runc has issues with the latest docker versions you need to downgrade to 12.1 and you will no see issues.

@mcastelino and @jodh-intel, using the latest  cc-runtime, I can see that after launching the $docker service create...., the replicas never pass to the state of "up" , it is in the state of "created" that is the main reason why we can not retrieve the hostname
$docker ps -a
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS               NAMES
b017d21f121c        mcastelino/nginx:latest   "/bin/bash -c 'hostna"   2 minutes ago       Created                                 testswarm.1.3jjt16h597dko31tjgb8pfegy
I am using
cc-runtime  : 3.0.4
commit   : 28bd75d
OCI specs: 1.0.0-rc5
I think , that I did not see that behaviour in cc-runtime 3.0.2, I will retest with that version to verify that

@jodh-intel and @mcastelino while doing this with runc, I see that replicas are running and is possible to retrieve the hostname
$docker swarm init --advertise-addr ens785f1
Swarm initialized: current node (cl0wp2btl2e2gt0yaeh33m2og) is now a manager.
$ docker service create --name testswarm --replicas 1 --publish 8080:80 mcastelino/nginx /bin/bash -c "hostname > /usr/share/nginx/html/hostname; nginx -g "daemon off;"" 2> /dev/null
10oehfg3hn2byxv2emb3z8ukg
$docker ps -a
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS               NAMES
34f9b07f1058        mcastelino/nginx:latest   "/bin/bash -c 'hostna"   5 seconds ago       Up 3 seconds        80/tcp, 443/tcp     testswarm.1.94foqc88755q09kkom90c097s
$unset http_proxy
$ curl http://<IP_ADDRESS>:8080/hostname
34f9b07f1058
I am using the following
runc version spec: 1.0.0-rc2-dev
Docker version 1.12.1, build 23cf638

@jodh-intel I check runc with docker 17.06 and it working too

@jodh-intel and @mcastelino so I am using cc-runtime 3.0.2 and docker 1.12.1 and it is working
$ docker swarm init --advertise-addr ens785f1
Swarm initialized: current node (efhspo5n6dvltjadzu85i15x9) is now a manager.
$  docker service create --name testswarm --replicas 1 --publish 8080:80 gabyct/nginx /bin/bash -c "hostname > /usr/share/nginx/html/hostname; nginx -g "daemon off;""
8y8c9fd4gy96y9s69jza5bh5r
$docker ps -a
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS                  PORTS               NAMES
ac273278f8c9        gabyct/nginx:latest   "/bin/bash -c 'hostna"   3 seconds ago       Up Less than a second   80/tcp              testswarm.1.7tv3kz6mph4blu4ovu3001wnb
root@cc-network2:/etc/apt# docker ps -a
CONTAINER ID        IMAGE                 COMMAND                  CREATED              STATUS              PORTS               NAMES
ac273278f8c9        gabyct/nginx:latest   "/bin/bash -c 'hostna"   About a minute ago   Up About a minute   80/tcp              testswarm.1.7tv3kz6mph4blu4ovu3001wnb
$ unset http_proxy
$ curl http://<IP_ADDRESS>:8080/hostname
ac273278f8c9

@jodh-intel and @mcastelino cc 3.0.5 with docker 1.12.1 is also working so the main issue is the docker version

@jodh-intel and @mcastelino, I opened an issue https://github.com/clearcontainers/runtime/issues/771 and I put this test to skip

@jodh-intel could you please review this? thanks

lgtm


Microbenchmark all parsers

Seems like there could be regression / perf optimizations for various parsers. We need to micro-benchmark all of them.

[x] Json parser
[ ] Avro
[ ] Debezium
[ ] Any more?

cc @tabVersion

Another comment by @neverchanje :

Personally, if I wanted to test if there is some bottleneck in the parser, I would create a source and a dummy sink (blackhole) and see whether the throughput is bounded by the IO or by the CPU. If it’s CPU, it means that the parser spends too much time, which is definitely unexpected.


Complex beam search

Hello! Thank you for this incredible project. It has been extremely useful.
I've noticed that while the current beam search method is quite effective, there are some variations like "group beam search" and "diverse beam search" that might provide improved results in some scenarios. Would it be possible to consider supporting these methods in future updates?

"diverse beam search" is supported in TensorRT-LLM, you can enable it through this parameter beam_search_diversity_rate.
I remember "group beam search" is part of "diverse beam search", and we can decide how many groups we want to use. That's what TensorRT-LLM does not support now. The number of group in TensorRT-LLM is fixed when beam_search_diversity_rate is set by non-default value. We will consider how to extend it in the future.

Oh, sorry, I meant to say "constraint beam search" and "group beam search".

We don't support constraint beam search, but we support group beam search now.

Hi folks!
Are there updates on constraint beam search?
It's something we would like to integrate

Likewise. Imposing constraints on beam search (like HF's decoding strategies) would be invaluable

If you want to request the constraint beam search, please create another feature request bug to discuss separate topic, preventing confusing. Close this issue.


Fixing radioButton checked status

There was an issue where updating the 'checked' property of radio Button was not working.
This PR fixes #13975

Pull Request Test Coverage Report for Build 487433152

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

Totals

Change from base Build 486739945:
0.0%

Covered Lines:
24386

Relevant Lines:
51756

💛  - Coveralls

Pull Request Test Coverage Report for Build 487433152

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

Totals

Change from base Build 486739945:
0.0%

Covered Lines:
24386

Relevant Lines:
51756

💛  - Coveralls


some errors while fuzzing

I get such errors while fuzzing. Should I be worried?
thread 'fuzzer_18' panicked at 'internal error: entered unreachable code', grammartec/src/tree.rs:350:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'fuzzer_10' panicked at 'internal error: entered unreachable code', grammartec/src/tree.rs:350:17
thread 'fuzzer_20' panicked at 'internal error: entered unreachable code', grammartec/src/tree.rs:350:17
I also get things like "found fu**y bit 4299"

https://github.com/nautilus-fuzz/nautilus/blob/master/grammartec/src/tree.rs#L349 <- this looks pretty worrying to me. It seems there is something missing in the regex implementation.
the fu**y bits part just means that bit 4299 in the bitmap was nondeterministic. If you fuzz complex targets that is to be expected. Could be caused by all kinds of things: random GC stuff, different keys for keyed hash functions in hashmaps leading to different collision patterns etc.

I think the quickfix would be to not use the regex part. I will look into this

Would you mind sharing your grammar? Or maybe a fraction that still triggers the issue?

Could it be that you start your grammar with a regex rule?

should be fixed by 50a806be8a0fa84f178c20d6839df196328f20ae. If you can confirm this, please close this issue.

Here's the grammar I use
#ctx.rule(NONTERM: string, RHS: string|bytes) adds a rule NONTERM->RHS. We can use {NONTERM} in the RHS to request a recursion..
ctx.rule("START","{IAC}")
ctx.rule("IAC", u"{CMD}{BLA}{LETTER}{STRING}{IAC}")
ctx.rule("IAC", u"")
ctx.rule("CMD", "\xff")
ctx.rule("CMD", "{BLA}")
ctx.rule("BLA", "\xff")
ctx.rule("BLA", "\xfe")
ctx.rule("BLA", "\xfd")
ctx.rule("BLA", "\xfc")
ctx.rule("BLA", "\xfb")
ctx.rule("BLA", "\xfa")
ctx.rule("BLA", "\xf9")
ctx.rule("BLA", "\xf8")
ctx.rule("BLA", "\xf7")
ctx.rule("BLA", "\xf6")
ctx.rule("BLA", "\xf5")
ctx.rule("BLA", "\xf4")
ctx.rule("BLA", "\xf3")
ctx.rule("BLA", "\xf2")
ctx.rule("BLA", "\xf1")
ctx.rule("BLA", "\xf0")
ctx.rule("BLA", "\xff\xfa\x18\x00{STRING}")
#ctx.regex("LETTER", "[\x00-\x41]")
ctx.regex("LETTER", "[\x00-\x36]\x00*")
#ctx.rule("STRING", "")
ctx.regex("STRING", "[\x00-\x7f]\x00")
#ctx.regex("STRING", "[\x10-\x7f]+\x00*")

looks fixed with that last commit.


Set an empty array if there are no robots on the account

This fixes #11

Thanks for fixing this! I will release a new version with the change tomorrow.


Fix 'brittleness' of the audit_system_spec that fails sometimes

Summary
I've noticed that our tests fail sometimes due to a 'brittle' spec and wastes time. This means that this spec sometimes passes and sometimes fails. It is likely this is due to the way the test is written.
Here is a snapshot of what this looks like:

Let's modify the spec so that it doesn't fail like this.
Things to Consider
Brittle tests can waste time/money and lead to some confusion
Criteria for Completion

[ ] The root cause of random failures have been discovered and included in the PR description
[ ] The root cause is addressed and will not lead to brittle test failures

@PhilipDeFraties take this one please.

@edwinthinks I'm on it!


Update readme with missing commands

Readme is missing commands:
!roll
!choose
!docs
Owner commands:
!roles
!add_confirm
Owner context menu commands:
giveaway

Does this need to be assigned or can I just do a PR and correct the issue? Is there a PR template you use?

Feel free to open a PR :+1:

Fixed by #40


Create a Maru Task in UDS-Common for Lula Validate

Is your feature request related to a problem? Please describe.
Create a Maru Task in the UDS-Common repo to do Lula Validate.
Describe the solution you'd like
Setup the foundation for all UDS packages to use Lula Validate in CI. Using the task from UDS-Common this would allow for a standardized approach to running Lula in CI.
Allows for this task to be available for Lula Validate to run in UDS-Core after the install step in CI.
Put the assessment results/OSCAL in a directory of ./compliance
Describe alternatives you've considered
Using a Maru Task will allow the task to be used anywhere (GitHub, GitLab, on-prem etc) compared to a GitHub action.
Additional context
Set up for an additional issue to putting Lula Validate in CI in UDS-Core

Issue belongs to another repo.


Add map for highly irregular meta lines & their replacements

2065-opgulpe.txt has highly irregular meta line. For these cases, we could simply have custom map for exceptions.

This became irrelevant with new approach to letters in page & other meta.


added isDisabled API on element

Address #784 and Tested added for button API

Is this just for button @saikrishna321 ? disabled attribute can be used for other elements. The implementation adds this to an elementWrapper, so I tried using it for textBox. It works in certain cases, and not so in another. here are the tests I added:
describe('Disable fieldset test', () => {
  let innerHtml;
  let filePath;
  before(async () => {
    innerHtml = `<fieldset disabled>
      <legend>Personalia:</legend>
      Name: <input type="text">

      Email: <input type="text">

      Date of birth: <input type="text">
    </fieldset>`;
    filePath = createHtml(innerHtml, test_name);
    await openBrowser(openBrowserArgs);
    await goto(filePath);
    setConfig({ waitForNavigation: false, retryTimeout: 100, retryInterval: 10 });
  });

  after(async () => {
    resetConfig();
    await closeBrowser();
    removeFile(filePath);
  });

  it('fieldset text isDisabled()', async () => {
    expect(await textBox(toRightOf('Name:')).isDisabled()).to.be.true;
  });
});

describe('Disable fieldset test', () => {
  let innerHtml;
  let filePath;
  before(async () => {
    innerHtml = `
    <form action="/action_page.php">
      First name: <input type="text" name="fname">

      Last name: <input type="text" name="lname" disabled>

      <input type="submit" value="Submit">
    </form> `;
    filePath = createHtml(innerHtml, test_name);
    await openBrowser(openBrowserArgs);
    await goto(filePath);
    setConfig({ waitForNavigation: false, retryTimeout: 100, retryInterval: 10 });
  });

  after(async () => {
    resetConfig();
    await closeBrowser();
    removeFile(filePath);
  });

  it('textBox in form isDisabled() when attribute is set', async () => {
    expect(await textBox(toRightOf('Last name:')).isDisabled()).to.be.true;
  });

  it('textBox in form isDisabled() when attribute is not set', async () => {
    expect(await textBox(toRightOf('First name:')).isDisabled()).to.be.false;
  });
});

W3C has a list of elements where disabled can be used but Taiko does not have an api for all those elements. That is a separate discussion, though.

@sriv Thanks for the review 🚀
I just added test for button API, This should work for all of them.
Let me check why for fieldSet it's failing.


Build with zig-0.8.x

Using zig-master branch of zig-clap
Builds with zig-0.8.x
This just updates nt to build with zig-0.8.x and zig-clap current.
Zig-clap clap.parse got rid of the allocator requirement.
Zig's HashMap Entry no longer gives direct access to key and value, instead giving key_ptr and value_ptr. I just adjusted so that we're dereferencing the pointers with ptr.* syntax.
Check my implementation of Json .NumberString, nestedtext.zig lines 193, 206-208. That's the only part I'm unsure of. This just puts it in scientific notation making the assumption that it's a float. I'm not well versed in Json so I don't know if that case might also represent and integer.
That's about it.

Thanks for this!
This no longer works with zig 0.7 (as expected), which is fine, but there a couple of further changes needed because of this:

README should say it supports 0.8
github actions should use 0.8

I was wondering if we should create a branch for supporting 0.7 but I don't think this is worth it :)
Note I have a branch spec-v2.0 where I'm working on moving to version 2.0 of the NestedText spec - I can handle merging this up, and plan to work on getting this into main today/tomorrow. This shouldn't change the API [significantly], just details of the supported data format, see https://nestedtext.org/en/latest/changelog.html#v2-0-2021-05-28.

This will fix https://github.com/LewisGaul/zig-nestedtext/issues/6.

I agree that it wouldn't be worth the effort to support 0.7.1 since 0.8 is out, particularly with how fast zig moves. I should have realized there was that spec-2.0 branch and looked at that instead. Once you get that merged I still think the best way forward would be to maintain a separate branch to track zig-current, which would mitigate having to find breaking changes all in one go when 0.9 comes out. Which would be best done with spec-2.0 since that's probably the best focus for future development?

Once you get that merged I still think the best way forward would be to maintain a separate branch to track zig-current, which would mitigate having to find breaking changes all in one go when 0.9 comes out. Which would be best done with spec-2.0 since that's probably the best focus for future development?

Yep, agreed. I'll incorporate these changes on the spec-2.0 branch and look to get it merged to main asap (I was mainly waiting for v2.0 to become official, which it now has). We can then create a long-lived branch using zig-current.

There are some test build errors (zig build test) on zig 0.8. Would you like to take a look or shall I?

I've resolved those things and merged, as I needed the tests passing for my work on the spec-2.0 branch. Thanks again for getting this going.


[User Experience Issue] Application Always Opening At The "Main Monitor" | Only When First Time Startup

I have a two monitor setup. I always use the application on my second monitor, but the application does not remember the monitor. When you open app for the first time, It's always opening at the main monitor.
You can check the telegram desktop app to understand more clearly.

Same here. Always opening with default size and screen centered.

Telegram, like you said, do it.


lagrange: 1.13.6 -> 1.13.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for lagrange is: "A Beautiful Gemini Client"
meta.homepage for lagrange is: "https://gmi.skyjake.fi/lagrange/"
meta.changelog for lagrange is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.13.7 with grep in /nix/store/nhy1j7ccfdi8h6azg39bc92mbpl3ihhb-lagrange-1.13.7
found 1.13.7 in filename of file in /nix/store/nhy1j7ccfdi8h6azg39bc92mbpl3ihhb-lagrange-1.13.7

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
lagrange
lagrange-tui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nhy1j7ccfdi8h6azg39bc92mbpl3ihhb-lagrange-1.13.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lagrange https://github.com/r-ryantm/nixpkgs/archive/2c7fcab1ce3ff2d024713498475e18d260e8f887.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nhy1j7ccfdi8h6azg39bc92mbpl3ihhb-lagrange-1.13.7
ls -la /nix/store/nhy1j7ccfdi8h6azg39bc92mbpl3ihhb-lagrange-1.13.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

lagrange
lagrange-tui

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 179674 run on x86_64-linux 1

2 packages built:

lagrange
lagrange-tui

Result of nixpkgs-review pr 179674 run on x86_64-darwin 1

2 packages built:

lagrange
lagrange-tui


openvpn: missing external pki alias

I installed softethervpn server, and I can connect to it from softhethervpn client. however, I cannot connect to it using openvpn client on windows 10.
openvpn clone is enabled.
I'm using the l3.ovpn generated by the server, but I get the error "missing external pki alias"
openvpn logs:
Mon Dec 30 22:51:32 2019 Mon Dec 30 22:51:32 2019 OpenVPN Management Interface 1.0.0/3.2
qa:d8[7f5bbc04) win x86_64 64-bit [MbedTLS] built on Feb 26 2019 07:53:13
Mon Dec 30 22:51:32 2019 Mon Dec 30 22:51:32 2019 OMI Connecting to [<IP_ADDRESS>]:36095 [tcp]
Mon Dec 30 22:51:38 2019 Mon Dec 30 22:51:38 2019 OpenVPN core 3.2 (qa:d87f5bbc04) win x86_64 64-bit built on Feb 26 2019 07:53:13

Mon Dec 30 22:51:38 2019 Mon Dec 30 22:51:38 2019 CLIENT_EXCEPTION : connect error: Missing External PKI alias [FATAL-ERR]
Mon Dec 30 22:51:38 2019 Mon Dec 30 22:51:38 2019 >FATAL:CLIENT_EXCEPTION: connect error: Missing External PKI alias

can you provide repro steps ?
as far as I remember openvpn windows client (community edition) is built using openssl, not mbedtls.

The log above is from openvpn connect 2.7.1.
Coming to think of it, I installed openvpn 3 and tried again, it seems like the error is different now.
It's the opaque error auth failed.
Attaching the new log:
⏎12/31/2019, 11:19:55 AM OpenVPN core 3.git::15c71c44 win x86_64 64-bit PT_PROXY built on Oct 31 2019 11:32:43
⏎12/31/2019, 11:19:55 AM Frame=512/2048/512 mssfix-ctrl=1250
⏎12/31/2019, 11:19:55 AM UNUSED OPTIONS
5 [resolv-retry] [infinite]
6 [nobind]
7 [persist-key]
8 [persist-tun]
10 [verb] [3]
⏎12/31/2019, 11:19:55 AM EVENT: RESOLVE ⏎12/31/2019, 11:19:56 AM EVENT: WAIT ⏎12/31/2019, 11:19:56 AM Contacting <IP_ADDRESS>:1194 via UDP
⏎12/31/2019, 11:19:56 AM Connecting to [vpn392646043.v4.softether.net]:1194 (<IP_ADDRESS>) via UDPv4
⏎12/31/2019, 11:19:56 AM EVENT: CONNECTING ⏎12/31/2019, 11:19:56 AM Tunnel Options:V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client
⏎12/31/2019, 11:19:56 AM Creds: Username/Password
⏎12/31/2019, 11:19:56 AM Peer Info:
IV_GUI_VER=OCmacOS_3.1.0-361
IV_VER=3.git::15c71c44
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2

⏎12/31/2019, 11:19:56 AM VERIFY OK : depth=0
cert. version     : 3
serial number     : 00
issuer name       : CN=vpn392646043.softether.net
subject name      : CN=vpn392646043.softether.net
issued  on        : 2019-12-31 09:13:20
expires on        : 2029-12-28 09:13:20
signed using      : RSA with SHA-256
RSA key size      : 2048 bits
basic constraints : CA=true
key usage         : Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment, Key Cert Sign, CRL Sign
ext key usage     : TLS Web Server Authentication, TLS Web Client Authentication, Code Signing, E-mail Protection, ???, ???, ???, Time Stamping, OCSP Signing

⏎12/31/2019, 11:20:36 AM Session invalidated: KEEPALIVE_TIMEOUT
⏎12/31/2019, 11:20:36 AM Client terminated, restarting in 2000 ms...
⏎12/31/2019, 11:20:38 AM EVENT: RECONNECTING ⏎12/31/2019, 11:20:38 AM EVENT: RESOLVE ⏎12/31/2019, 11:20:38 AM Contacting <IP_ADDRESS>:1194 via UDP
⏎12/31/2019, 11:20:38 AM Connecting to [vpn392646043.v4.softether.net]:1194 (<IP_ADDRESS>) via UDPv4
⏎12/31/2019, 11:20:38 AM EVENT: WAIT ⏎12/31/2019, 11:20:38 AM EVENT: CONNECTING ⏎12/31/2019, 11:20:38 AM Tunnel Options:V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client
⏎12/31/2019, 11:20:38 AM Creds: Username/Password
⏎12/31/2019, 11:20:38 AM Peer Info:
IV_GUI_VER=OCmacOS_3.1.0-361
IV_VER=3.git::15c71c44
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2

⏎12/31/2019, 11:20:38 AM VERIFY OK : depth=0
cert. version     : 3
serial number     : 00
issuer name       : CN=vpn392646043.softether.net
subject name      : CN=vpn392646043.softether.net
issued  on        : 2019-12-31 09:13:20
expires on        : 2029-12-28 09:13:20
signed using      : RSA with SHA-256
RSA key size      : 2048 bits
basic constraints : CA=true
key usage         : Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment, Key Cert Sign, CRL Sign
ext key usage     : TLS Web Server Authentication, TLS Web Client Authentication, Code Signing, E-mail Protection, ???, ???, ???, Time Stamping, OCSP Signing

⏎12/31/2019, 11:20:39 AM SSL Handshake: TLSv1.2/TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
⏎12/31/2019, 11:20:39 AM Session is ACTIVE
⏎12/31/2019, 11:20:39 AM EVENT: GET_CONFIG ⏎12/31/2019, 11:20:39 AM Sending PUSH_REQUEST to server...
⏎12/31/2019, 11:20:39 AM EVENT: AUTH_FAILED ⏎12/31/2019, 11:20:39 AM EVENT: DISCONNECTED ⏎12/31/2019, 11:20:39 AM AUTH_FAILED
⏎

I'll try send minimal repro steps soon.
Would you like both server (ubuntu) and client (windows) steps?

Yep

server install:

git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
cd SoftEtherVPN_Stable
./configure
sudo make install
sudo vpnserver start

server configure (via windows, using softether server manager):

download ZIP Package of vpnsmgr.exe and vpncmd.exe (without installers) (Ver 4.29, Build 9680, rtm)
extract it
open vpnsmgr.exe
connect to the server
choose new password and enter it in the prompted dialog
it would ask you whether you want site to site or remote, choose remote.
create new hub named VPN
and a user named noam with password 123456789
make sure openvpn clone is enabled
generate sample openvpn config and save the zip file somwhere
extract the zip file

openvpn connect

download openvpn connect v3 msi installer the exact version I installed is <IP_ADDRESS>1
install it.
open openvpn connect
choose file tab
click browse and choose the file "...openvpn_remote_access_l3.ovpn"  from the zip you extracted above.
enter username "vpn/noam" and password 123456789
save
then try to connect
continue without choosing a certificate
you got "user authentication failed"

openvpn connect logs:
1/1/2020, 3:49:37 PM OpenVPN core 3.git::15c71c44 win x86_64 64-bit PT_PROXY built on Oct 31 2019 11:32:43
⏎1/1/2020, 3:49:37 PM Frame=512/2048/512 mssfix-ctrl=1250
⏎1/1/2020, 3:49:37 PM UNUSED OPTIONS
5 [resolv-retry] [infinite]
6 [nobind]
7 [persist-key]
8 [persist-tun]
10 [verb] [3]
⏎1/1/2020, 3:49:37 PM EVENT: RESOLVE ⏎1/1/2020, 3:49:37 PM Transport Error: DNS resolve error on 'vpn473997741.v4.softether.net' for UDP session: No such host is known.
⏎1/1/2020, 3:49:37 PM Client terminated, restarting in 2000 ms...
⏎1/1/2020, 3:49:39 PM EVENT: RECONNECTING ⏎1/1/2020, 3:49:39 PM EVENT: RESOLVE ⏎1/1/2020, 3:49:39 PM EVENT: WAIT ⏎1/1/2020, 3:49:39 PM Contacting <IP_ADDRESS>:1194 via UDP
⏎1/1/2020, 3:49:39 PM Connecting to [vpn473997741.v4.softether.net]:1194 (<IP_ADDRESS>) via UDPv4
⏎1/1/2020, 3:49:39 PM EVENT: CONNECTING ⏎1/1/2020, 3:49:39 PM Tunnel Options:V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client
⏎1/1/2020, 3:49:39 PM Creds: Username/Password
⏎1/1/2020, 3:49:39 PM Peer Info:
IV_GUI_VER=OCmacOS_3.1.0-361
IV_VER=3.git::15c71c44
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2

⏎1/1/2020, 3:49:40 PM VERIFY OK : depth=0
cert. version     : 3
serial number     : 00
issuer name       : CN=vpn473997741.softether.net, O=vpn473997741.softether.net, OU=vpn473997741.softether.net, C=US
subject name      : CN=vpn473997741.softether.net, O=vpn473997741.softether.net, OU=vpn473997741.softether.net, C=US
issued  on        : 2020-01-01 13:24:07
expires on        : 2037-12-31 13:24:07
signed using      : RSA with SHA-256
RSA key size      : 2048 bits
basic constraints : CA=true
key usage         : Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment, Key Cert Sign, CRL Sign
ext key usage     : TLS Web Server Authentication, TLS Web Client Authentication, Code Signing, E-mail Protection, ???, ???, ???, Time Stamping, OCSP Signing

⏎1/1/2020, 3:49:40 PM SSL Handshake: TLSv1.2/TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
⏎1/1/2020, 3:49:40 PM Session is ACTIVE
⏎1/1/2020, 3:49:40 PM EVENT: GET_CONFIG ⏎1/1/2020, 3:49:40 PM Sending PUSH_REQUEST to server...
⏎1/1/2020, 3:49:40 PM EVENT: AUTH_FAILED ⏎1/1/2020, 3:49:40 PM EVENT: DISCONNECTED ⏎1/1/2020, 3:49:40 PM AUTH_FAILED

you use SE VPN stable edition (numbered 4.XX), while this issue tracker is related to SE VPN developer edition (numbered 5.XX)
can you try to reproduce your issue on 5.XX ?

I'll try and update ASAP.

You mean to clone https://github.com/SoftEtherVPN/SoftEtherVPN master branch instead?

I tried that, it didn't work either.
Btw, I hope it doesn't matter, but I'm connecting to the vpn using a laptop through a wifi.
I don't think it matters 'cause in the server logs you can see "User authentication failed. The user name that has been provided was "vpn/noam".".
Which means the client can talk to the server.

ok, thank you for your report. I'll try to find a chance to reproduce myself.
also, is there something interesting in SE VPN server logs ?

are you using Mac OS as client ?
IV_GUI_VER=OCmacOS_3.1.0-361

fyi, if you'll try tunnelblick, it should work
(however, we want to investigate what is wrong with openvpn connect)

I haven't tried Tunnelblick, but it's only for macOs.. and I don't own one...

are you using Mac OS as client ?
IV_GUI_VER=OCmacOS_3.1.0-361

no, I don't.. wirred...

I'm using windows 10 x64 ....

Hub "VPN" log:
2020-01-01 16:16:06.670 The connection "CID-5" (IP address: ***.***.***.***, Host name: ***.***.***.***, Port number: 53572, Client name: "OpenVPN Client", Version: 5.01, Build: 9672) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "vpn/noam".
2020-01-01 16:16:06.670 Connection "CID-5": User authentication failed. The user name that has been provided was "vpn/noam".

Server log on "CID-5":
2020-01-01 15:49:37.138 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194): A new session is created. Protocol: UDP
2020-01-01 15:49:37.138 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194) Channel 0: A new channel is created.
2020-01-01 15:49:37.665 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194) Channel 0: Option Strings Received: "V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client"
2020-01-01 15:49:37.665 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194) Channel 0: Client certificate is not provided, will use password authentication.
2020-01-01 15:49:37.665 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194) Channel 0: Option Strings to Send: "V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server"
2020-01-01 15:49:38.112 On the TCP Listener (Port 0), a Client (IP address ***.***.***.***, Host name "***.***.***.***", Port number 12471) has connected.
2020-01-01 15:49:38.112 For the client (IP address: ***.***.***.***, host name: "***.***.***.***", port number: 12471), connection "CID-5" has been created.
2020-01-01 15:49:38.112 SSL communication for connection "CID-5" has been started. The encryption algorithm name is "(null)".
2020-01-01 15:49:38.112 [HUB "VPN"] The connection "CID-5" (IP address: ***.***.***.***, Host name: ***.***.***.***, Port number: 12471, Client name: "OpenVPN Client", Version: 4.31, Build: 9727) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "vpn/noam".
2020-01-01 15:49:38.112 [HUB "VPN"] Connection "CID-5": User authentication failed. The user name that has been provided was "vpn/noam".
2020-01-01 15:49:38.112 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194) Channel 0: Failed to connect a channel.
2020-01-01 15:49:38.132 Connection "CID-5" terminated by the cause "User authentication failed." (code 9).
2020-01-01 15:49:38.132 Connection "CID-5" has been terminated.
2020-01-01 15:49:38.132 The connection with the client (IP address ***.***.***.***, Port number 12471) has been disconnected.
2020-01-01 15:50:06.488 OpenVPN Session 1 (***.***.***.***:12471 -> ***.***.***.***:1194): Deleting the session.

(Obviously I removed my ip adresses)

Thanks for your willing to help btw!

depending on what you are trying to achive, you can either install openvpn community from https://openvpn.net/community-downloads/ (it is known to work)
or, help us investigating issues with openvpn connect (no time estimate though)

btw, is "vpn" the default hub ? if so, can you try noam as user name ?

we run openvpn from CI
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/.ci/run-openvpn-tests.sh
I do not supply hub name there.
I haven't tried how openvpn is supposed to work with hub + username scheme, actually

It worked! thank you very much!!
At first it didn't, then I looked in the logs and saw that this time the authentication was successful but there was some problem with DHCP and a suggestion to enable secureNat.
After enabling secureNat it works great!

So I think we should close this issue and open a new one about non default Hubs? It wouldn't matter for me, cause I use only one hub, but probably will be useful for others.

there's a room for UX improvements.
as your personal experience is very fresh, so I hope you can come with improvement suggestion.
feel free to improve documentation, etc, ...

Ok, closing for now..


all is not found

I can't  do next,can't choose  discord versions

make sure you have discord installed already and ran it at least once. if that doesn't help try reinstalling Discord and see if that helps.