Fix missing import in i18n collection docs

Description

While reviewing #2705 I noticed we accidentally removed this import in #2612

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/i18n.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

size-limit report 📦

Path
Size

/index.html
6.93 KB (0%)

/_astro/*.js
21.19 KB (0%)

/_astro/*.css
13.75 KB (0%)


Removed layout.less enhancements that have been moved to Capital Fram…

Layout.less enhancements have been moved to https://github.com/cfpb/capital-framework/blob/canary/src/cf-layout/src/cf-layout.less#L133-L139
Removals

Removes layout.less enhancements that have been moved to Capital Fram…

Testing

gulp build should run as expected.
Not sure where this is used, but after discussion with @jimmynotjim we didn't think the !important margin-top was needed, but keep an eye out for that.

Visual regression testing would be lovely for situations like this one.

mmmmmhhhhhhmmmmmmmmm


Time picker should respect text scale factor

The numbers on the clock face should scale up with the text scale factor.

/cc @yjbanov

FYI: I change the description of the bug.


Check validity of .gradle/buildOutputCleanup/cache.properties

Context
This is an attempt to fix https://github.com/gradle/gradle/issues/3176 .
When .gradle/buildOutputCleanup/cache.properties is missing unexpectedly,
Gradle will fail to start. Although the cause is still not clear, this PR adds a safe-check before accessing the file.
Gradle Core Team Checklist

[x] Verify test coverage and CI build status

@blindpirate I would not be 100% sure the problem is that the file does not exist. It may also be an access problem: https://stackoverflow.com/questions/46792438/build-gradle-project-inside-a-docker

WRT

I would not be 100% sure the problem is that the file does not exist. It may also be an access problem: https://stackoverflow.com/questions/46792438/build-gradle-project-inside-a-docker

The file was definitely gone.  We could recreate the file and run another build and then later the build would fail again.


[Bug]: Java.lang.NoSuchFieldError: No field No_Options at com.google.android.gms.location.GeoFencingClient

Component/Nuget
GPS, Geofencing, Motion Activity (Shiny.Locations)
What operating system(s) are effected?

[ ] iOS 12
[ ] iOS 13
[ ] iOS 14
[ ] iOS 15
[ ] Mac Catalyst
[ ] Android 8
[ ] Android 9
[ ] Android 10
[ ] Android 11
[X] Android 12

What platform(s) are effected?

[ ] MAUI
[ ] Xamarin Native
[X] Xamarin Forms

Steps To Reproduce

Add Shiny
Integrate with Prism
Add geogencing service.

Expected Behavior
The app should start.
Actual Behavior
The app is crashing.
Exception or Log output

Code Sample
Permissions:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 	<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> 	<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 	<uses-feature android:name="android.hardware.location.gps" android:required="false" /> 	<uses-feature android:name="android.hardware.location.network" android:required="false" />
My Startup class (I am using Prism):
' public class Startup : ShinyStartup
{
    public override void ConfigureServices(IServiceCollection services, IPlatform platform)
    {

        services.UseGeofencing<GeofenceDelegate>();
        services.UseNotifications();
        services.UseGps();
        Console.WriteLine("Shiny Added");
    }

    public override IServiceProvider CreateServiceProvider(IServiceCollection services)
    {
        ContainerLocator.SetContainerExtension(() => new DryIocContainerExtension());
        var container = Prism.Ioc.ContainerLocator.Container.GetContainer();
        DryIocAdapter.Populate(container, services);
        return container.GetServiceProvider();
    }
} '

OnCreate Function in MainApplication:
       public override void OnCreate()         {                         this.ShinyOnCreate(new Startup());                         base.OnCreate();                         RegisterActivityLifecycleCallbacks(this); }
I have also attached the packages file.
ProjectPackages.txt
Code of Conduct

[X] My reproducible sample is NOT FROM THE SHINY SAMPLES REPOSITORY!  If you file an issue that says 'use shiny sample', YOU WILL BE BANNED FROM THE SHINY REPOS.  Read the code of conduct for why we care about this!
[X] I am using the latest stable version from nuget (sponsors can discuss previews in discord)
[X] I agree to follow this project's Code of Conduct

So this is something I can be involved in fixing since it simply isn't a bug in the library.  Your issue is due to a couple of things:

A mix between the old android support libs and the newer androidx
Old versions of the androidx libs - shiny 2.6.3 uses mostly the latest androidx libs


Add support for publishConfig.files

Noticed this was missing

Is there a package manager that uses publishConfig.files during packing? I tested npm, yarn1, yarn4, and pnpm, and all of them don't use that field. Only the root files field is used.

I'll close this one for now

pnpm supports replacing everything on publish defined in publishConfig <3

Not exactly? https://github.com/pnpm/pnpm/blob/f89128883fc5c4efb14f411a8878b9f771879b7e/pkg-manifest/exportable-manifest/src/overridePublishConfig.ts#L4-L27


Camera-Booth with Filters

Project title
Camera-Booth with Filters
Project Description
The website takes a live feed from the webcam.
You can set filters, click photos and download them.
Stack:

[x] Html
[x] CSS
[x] JavaScript

Hi! @khushi-purwar, I would like to add this project for GSSOC'22.
Can you assign this issue to me, please?


Add TypeScript version check

We need at least TypeScript 4.1 to run @prisma/client. This should be enforced to prevent bad surprises.

This warning did not appear for me when my global typescript was ^4.1, but my local typescript was not. Silly mistake on my side, but it is something that could be improved if possible.

I can reproduce this. There was no warning thrown when I had 3.9.9 locally


If string contains '.' it breaks.

main.go uses: keys := strings.Split(key, ".") to separate the command.

Would adding a feature of quoting keys with . using ' be a better alternative ?
The it would be

Default behaviour split by .
If there are ' anything in between them are considered as one key
Keys should still be sprated with . but can be wrapped using ' for escaping . inside ke


fast tsc for precommit

Use fast for pre-commit
CI will continue to run the slower one
@keybase/react-hackers cc: @mmaxim

Think it might make sense to just completely disable it, but let’s try this

We cannot doable it


Broken with recent systemd stubs

Recent systemd EFI stubs have changed their behavior re: extending PCR 4 in a way that tpm_futurepcr doesn't handle (or at least handle in the naïve way this code leverages it). From an email exchange with Andrei Borzenkov on the systemd mailing list:

However, in v252, the corresponding event occurs earlier in the log
and (after some measurements extending PCR 11) is followed by another
BSA event extending PCR 4 with a DevicePath I can't parse from a call
I can't seem to find in the systemd source code:

EventNum: 34
PCRIndex: 4
EventType: EV_EFI_BOOT_SERVICES_APPLICATION
DigestCount: 2
Digests:

AlgorithmId: sha1
Digest: "9a3c68bb105e4c4e70cbc3375bd45d616e220586"
AlgorithmId: sha256
Digest: "36e49f2a0c246db5836b85319e7b2ae04690aca40227895902870a54a054c78b"
EventSize: 56
Event:
ImageLocationInMemory: 0xb7c36000
ImageLengthInMemory: 7793888
ImageLinkTimeAddress: 0x1000000
LengthOfDevicePath: 24
DevicePath: '04031400f8d1c555cd04b5468a20e56cbb3052d07fff0400'

Can someone help me decode this so I can figure out where this event
originates, or (if this event is well-known to the folks working on
the trusted computing portion of systemd) tell me where this extension
is triggered in the source code? That will at least help me find and
hopefully understand the relevant change.

This is media device path type with vendor subtype, vendor GUID is
STUB_PAYLOAD_GUID defined and used in src/boot/efi/linux.c.

As a result, I have backed off to using the stub from systemd v247 until I can figure out how to get this working.

@grawity may find this one interesting.

@grawity: Andrei's comment checks out. It looks like the stub is measuring the kernel blob again, even if it's part of the EFI application that has already been measured by the firmware. Since this is a vendor-specific GUID, I'm guessing there will need to be explicit logic in tpm_futurepcr to simulate this.
This is complicated because the same device path is used no matter where the kernel comes from. For my purposes, it needs to objcopy -O binary --only-section=.linux loader.efi /tmp/kernel_image and measure /tmp/kernel_image because I create loaders with the kernel in the .linux section... but this is hardly universal. It might need to replicate all of the stub's logic for finding the kernel to boot, which seems annoying at best.

I'm actually not sure whether I will continue maintaining tpm_futurepcr at all, as AFAIK systemd-measure is supposed to do the same thing but with better compatibility.

In that case, I may maintain my own fork until and unless I decide to switch to systemd's EFI boot implementation. My main interest is in not losing access to remote sites when there's an extended power outage: reliability in booting without intervention is my first priority, the enemy of which is complexity (q.v. systemd).


Panic in read_line?

thread 'sscale-wkr-c' panicked at 'assertion failed: `(left == right)`
  left: `669338`,
 right: `0`', /Users/shmendez/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.12.0/src/io.rs:1700:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    39699 abort      cargo run --bin themelio-node -- --index-coins

Is this a known issue?

I think this is the relevant code: https://github.com/smol-rs/futures-lite/blob/c8066a86f27763ca4d14aa4a68829ddffd7eac5c/src/io.rs#L1910
This can be fixed in the short term by enabling release mode, and I'll see if I can investigate this in clearer depth later.


Update file_format.md

we're on v3 of trajectory file info

What is the difference between v2 and v3?

What is the difference between v2 and v3? I guess this document is not meant to capture the history of the version differences...

What is the difference between v2 and v3? I guess this document is not meant to capture the history of the version differences...

It has the optional modelInfo section. The modelInfo was already added in this doc


F-Droid - versionName and Tags must coincide

...for autoupdate.
Tag v1.3.0 for versionName 1.3 would fail.

The version has been renamed to 1.3.0

It will coincide at the next release.


Added stage to E2E pipeline to retrieve and send stats to Kusto

AB#5063
Description
This PR improves visibility into the health of the end-to-end tests pipeline by adding a stage that reports stage level results to Aria and Kusto.

@WayneFerrao I think this one can be closed? We merged this change in another PR, right?

Closing as code was tested and merged in this PR


How can I connect to beanstalk and get deail job info

There are some failed jobs in queue, and I want to check the detail job info. There are some commands provided to list job detail info?

Have a look at https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt. Specifically, you likely want to look at stats-job. You can't look at the job payload. I suggest you bury the failed jobs so you can use peek-buried to look at the buried jobs.

You can also use peek 123 to get the job payload (where '123' is the job id).

@JensRantil Thanks, the doc is very detailed. I run the command stats-tube default and output somethings as following:
`OK 267
name: default
current-jobs-urgent: 0
current-jobs-ready: 0
current-jobs-reserved: 0
current-jobs-delayed: 0
current-jobs-buried: 0
total-jobs: 69
current-using: 5
current-watching: 5
current-waiting: 0
cmd-delete: 69
cmd-pause-tube: 0
pause: 0
pause-time-left: 0
`
I seems like there are no jobs in the queue, but I run the command php artisan queue:failed to list failed jobs and output something as following:
+----+------------+---------+---------------------------------------+---------------------+
| ID | Connection | Queue   | Class                                 | Failed At           |
+----+------------+---------+---------------------------------------+---------------------+
| 3  | beanstalkd | default | App\Jobs\Request\CreateNotifyManager  | 2018-03-09 18:45:16 |
| 2  | beanstalkd | default | App\Jobs\Request\CreateNotifyManager  | 2018-03-08 17:44:11 |
| 1  | beanstalkd | default | App\Jobs\Request\CreateNotifyManager  | 2017-08-31 17:16:20 |
+----+------------+---------+---------------------------------------+---------------------+
Why I can not get these failed jobs by connect beanstalkd

@pain400 current-watching: 5 and current-using: 5 hints that you have other tubes than the default. Have you listed the tubes and also run stats-tube on those tubes?

@JensRantil How can I list all tubes, I get only the default tube by running list-tubes, the output as following:
OK 14

default

Isn't the failed jobs stored in the queue?

Isn't the failed jobs stored in the queue or there are other command to list all tubes?

It might. Or it's buried depending on your beanstalkd client logic.

Ok, thanks!


Feature: support embedded page_view_id

Background
Many of our recent Snowplow installations have resulted in a single event stream table, with a schema matching Snowplow's canonical event model.
In these cases, we do not need to look up the page_view_id in a separate table containing web page context; it just needs to be un-arrayed and un-nested from the contexts object on the main events table. This change also enables a more fully incremental build, since page_view_id and collector_tstamp are united from the start.
N.B. OTF = "On The Fence" = I considered multiple approaches and picked one without being sure it's the best. Open to input.
Changelog

Add functionality whereby a package installer can set 'snowplow:context:web_page': false. The package will expect to see a column called page_view_id directly within the event model.
Add snowplow_web_events_tmp model/macro. IFF the web page context is disabled, this model performs the deduplication of snowplow_web_page_context—throwing away all events that have multiple page view IDs—directly on top of base events. All subsequent models (snowplow_web_events, snowplow_web_events_time, snowplow_web_events_scroll_depth) build on top of this one.
Add canonical_event and canonical_event_update seeds that are exact replicas of event/event_update merged with web_page/web_page_update. OTF: Whether to include brand-new seeds or to just make the join happen in base_event. Adding more seeds is definitely duplicate code, but it's also in accordance with our integration test practice (?) of having seeds represent the expected format of raw data.
Add new tests on the three covered adapters where 'snowplow:context:web_page': false.

Comments

This PR assumes that the package installer has already plucked the page_view_id from contexts and added it to 'snowplow:events' as a column by the same name.
OTF: Whether to include a cross-db macro to grab values from Snowplow contexts, or to include page-view plucking by default in the snowplow_web_events_tmp, or to do neither and leave it up to the installer (status quo).

OTF Add canonical_event and canonical_event_update seeds that are exact replicas of event/event_update merged with web_page/web_page_update
Yep, I think this is appropriate. Good call.
OTF ** Whether to include a cross-db macro to grab values from Snowplow contexts, or to include page-view plucking by default in the snowplow_web_events_tmp, or to do neither and leave it up to the installer (status quo).**
I think we should leave this up to the user, but conceivably it will make sense to provide helper models / macros for very typical use cases (like Snowflake or Spectrum nested fields).

@jtcohen6 do you want me to re-review this one?


Improve performance

I'm trying to avoid taking on more Foundation dependencies in my code. Would it be possible to encode/decode to/from [UInt8], with Foundation support in a separate target?

Sure, that seems like a fine change. If you’re able to submit a PR, that would be very appreciated.On Oct 5, 2023, at 2:54 PM, Luke Howard @.***> wrote:
I'm trying to avoid taking on more Foundation dependencies in my code. Would it be possible to encode/decode to/from [UInt8], with Foundation support in a separate target?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

PR #5


bottom bar (showing errors, spaces, encoding etc) loses functionality after a certain size.

We have written the needed data into your clipboard because it was too large to send. Please paste
Issue Type: Bug
I've just noticed that the bottom bar on Code doesn't respond when the app is full screen.

I was trying to click the bell icon at the bottom right of the screen to see the notifications and it wouldn't select it, it just kept bring up the "Select Language Mode" prompt. Originally I thought it was my extended screen as it's old, but when I transferred the app to the main screen on my Chromebook, the same thing happened.
Stranger still, when I resize the window, the functionality returned; the smaller the window, the further right I could click.
I'm not sure what I've done to make this happen but it appears to be a dead zone in a box format from the bottom right corner and grows the larger the screen gets.
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:39:46.686Z)
OS version: Linux x64 5.10.90-13883-gc2edb212fd80
Restricted Mode: No

System Info

Item
Value

CPUs
06/8e (2 x 1607)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
6.48GB (6.45GB free)

Process Argv
--unity-launch --crash-reporter-id 8b1923db-b110-4b57-b9f7-954b8ee65223

Screen Reader
no

VM
60%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

Extensions (16)

Extension
Author (truncated)
Version

vscode-html-css
ecm
1.10.2

prettier-vscode
esb
9.1.0

auto-rename-tag
for
0.1.9

todo-tree
Gru
0.0.215

MagicPython
mag
1.1.0

git-graph
mhu
1.30.0

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2022.1.1

jupyter
ms-
2021.11.1001550889

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

indent-rainbow
ode
8.2.2

material-icon-theme
PKi
4.11.0

vscode-css-peek
pra
4.2.0

LiveServer
rit
5.6.1

vscodeintellicode
Vis
1.2.15

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30421291
pythonvs932:30410667
vscop804:30404766
vs360:30404995
vsrem710cf:30416617
vsccppwtstudy:30421978

What Linux distribution / window manager is this?

@bpasero its a ChromeOS

Maybe @deepak1556 you heard about this issue before? Not sure if ChromeOS is officially supported by VSCode? I am not finding it here: https://code.visualstudio.com/docs/supporting/requirements

@bpasero maybe it's a lack of requirements issue. We can close it I think.

Let's see.

What Linux distribution / window manager is this?

It's using the Debian Linux shell inside ChromeOS, so should work on as if on Linux. Used to work fine, but now this issue has popped up.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

I'll try that tomorrow, thank you
Dominic Ross
07738382996
@.***
DevOps_DoDo
On Wed, 19 Jan 2022, 19:38 Benjamin Pasero, @.***>
wrote:

Can you try to reproduce with our nightly insider builds? You can give our
preview releases a try from: https://code.visualstudio.com/insiders/
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/140906#issuecomment-1016804171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGVO2YLQNQDDYU3NN3KO4DUW4HJ5ANCNFSM5MHJEXBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Any update?

I've just tried again, and it seemed to work with no issue. Must have been
an odd glitch with my laptop.
Sorry
Dominic Ross
07738382996
@.***
DevOps_DoDo
On Fri, 4 Feb 2022, 18:23 Benjamin Pasero, @.***> wrote:

Any update?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/140906#issuecomment-1030239834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGVO2YVYRTUTEIVM77AYKLUZQKS7ANCNFSM5MHJEXBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I can reproduce this issue on both the stable (1.65.2) and nightly (1.66.0) builds. I'm on a Chromebook using the default Linux container. I think I've isolated the issue to the fact that I have external monitor that is configured in portrait mode. Keep in mind that VSCode is not being displayed on this monitor.
If I unplug the monitor, restart the Linux container then VSCode no longer exhibits a dead zone.
If I plug in the monitor, restart the Linux container then VSCode shows the dead zone issue.
BTW, I'm always running VSCode on another external monitor, always configured in landscape (normal) mode.
Let me know what other details I can provide :)

That mirrors my set up! Nicely done!
Dominic Ross
07738382996
@.***
DevOps_DoDo
On Fri, 18 Mar 2022, 22:27 Network Based Solutions, LLC, <
@.***> wrote:

I can reproduce this issue on both the stable (1.65.2) and nightly
(1.66.0) builds. I'm on a Chromebook using the default Linux container. I
think I've isolated the issue to the fact that I have external monitor that
is configured in portrait mode. Keep in mind that VSCode is not being
displayed on this monitor.
If I unplug the monitor, restart the Linux container then VSCode no longer
exhibits a dead zone.
If I plug in the monitor, restart the Linux container then VSCode shows
the dead zone issue.
BTW, I'm always running VSCode on another external monitor, always
configured in landscape (normal) mode.
Let me know what other details I can provide :)
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/140906#issuecomment-1072864498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGVO22KMNQEXDDNPRAZZXLVAT7NLANCNFSM5MHJEXBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


HDDS-8216. EC: OzoneClientConfig is overwritten in ECKeyOutputStream

What changes were proposed in this pull request?
OzoneClientConfig is overwritten in ECKeyOutputStream
see:  https://issues.apache.org/jira/browse/HDDS-8216
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8216

hi, @captainzmc PTAL

Thanks @guohao-rosicky for updating the patch.
Please try to avoid force-push when updating the PR. Here are some great articles that explain why:
https://developers.mattermost.com/blog/submitting-great-prs/#4-avoid-force-pushing https://www.freecodecamp.org/news/optimize-pull-requests-for-reviewer-happiness#request-a-review

Thank you. That very helpful for me.


Updating uninstall instructions for Oct release

Note: Please wait for 👍 to merge (release not available on download page yet...)

@jt000,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Closing pull request. Unfortunately, not going to be able to introduce this functionality into this release due to issues this introduced with the Install-SPSolution cmdlet.


th-desugar 1.8 out of bounds

base-<IP_ADDRESS> is out of bounds for:

[ ] singletons-2.4.1 (==4.11.*). Richard Eisenberg<EMAIL_ADDRESS>@goldfirere. @goldfirere. Used by: library, test-suite

singletons-2.4.1 (Richard Eisenberg<EMAIL_ADDRESS>@goldfirere) is out of bounds for:

[ ] eliminators-0.3 (==2.3.*). Ryan Scott<EMAIL_ADDRESS>@RyanGlScott. @RyanGlScott. Used by: library, test-suite
[ ] singleton-nats-<IP_ADDRESS> (>=2.2 && < 2.4). No maintainer. @AndrasKovacs. Used by: library

th-desugar-1.8 (Richard Eisenberg<EMAIL_ADDRESS>@goldfirere) is out of bounds for:

[ ] eliminators-0.3 (==1.7.*). Ryan Scott<EMAIL_ADDRESS>@RyanGlScott. @RyanGlScott. Used by: library

I'm closing this issue, since there is nothing further to do. The upcoming LTS 11 will have to stick with th-desugar < 1.8 since there is no version of singletons that is simultaneously compatible with both th-desugar-1.8 and base-<IP_ADDRESS>.
These constraints will be removed once we move nightlies to ghc 8.4.


Web app knows when user is logged in

This was closed by https://github.com/deanmoses/tacocat-gallery-sveltekit/commit/ff391a3699e0fd264592138d1c4ca6526fc89b98#diff-e6c7853303d6de3bf312c5830c34d5a4ee42e25c83a93405647bd8bd5d827edd


Lazy XND container

It might be nice to have a lazy XND container (particularly for indexing) instead of an eager one. My idea is the following, given and xnd array:
x = xnd([[0, 1], [3, 4, 5], [6, 7, 8, 9], [10, 11, 12, 13, 14]], type='var * var * int64')

When we do the following: y = x[2:4, 1:2], we should index with the first part immediately but store the second slice as belonging to axis 1 in something like an XNDLazy object. Then, when we do something like the following:
y[1, 0] should "dynamically" realise that we're operating on a lazy object and return xnd(11, type='int64'), applying the slice when the element is needed or accessed.

Isn't this the goal of uarray?

The issue was that indexing a fixed dimension array usually produces a view, but that of a variable dimension array recomputes the offsets under some conditions. This was a proposed solution.

To me that looks exactly like the existing implementation:
https://github.com/plures/ndtypes/blob/4d810d0c4d54c81a7136f313f0ae6623853d574a/libndtypes/ndtypes.c#L1501
There's a slice stack that is applied on access, I guess that's what you mean by lazy.  I'm currently adding indices to that because @dhirschfeld has a use case.

Is applying a slice stack better for cases when you don’t need complete slices?

You need the stack because multiple slices can be applied on top of each other.
y = x[2:10] # Push first slice onto the stack.
z = y[20:30] # Push second slice onto the stack.
z[3] # Apply each slice of the stack and return the element.

You always have to calculate start, stop, step even if just to see that an index is actually valid.

Yes, of course:
>>> x = xnd([[1,2,3], [4,5,6,7], [8,9,10,11,12]])
>>> y = x[1:2, 0:3]
>>> z = x[:, 0:2]
>>> z[2, 1]
xnd(9, type='int64')

To others who are reading this: We are talking about ragged arrays, fixed arrays (like NumPy's ndarray) do not require this additional code.

The fundamental difference between the slice stack and the XNDLazy object seems to me that for multiple slices on top of each other one would need multiple XNDLazy types:
var * lazy * lazy * var * int64
This messes up type->ndim and complicates the code.  The slice stack is attached to the variable dimensions with the correct type->ndim.
For indices the story is a bit different: Yesterday I added an Index type (privately) to implement @dhirschfeld's request and also address Eric Wieser's comments about mixed indexing and slicing.
But there can be at most one Index type in a row, because that dimension is eliminated.  Even then, it's a bit of a hassle to adjust type->ndim, because now we have a shadow dimension.

Closing, this works now:
>>> x = xnd([[0], [1,2], [3,4,5]])
>>> x[::-1, 0]
xnd([3, 1, 0], type='var * int64')

The internal representation is the existing slice stack together with a new VarDimElem type that stores the index for eliminated dimensions that are preceded by a slice.


added logger

added logger with level debug with logs directed to file pacclient.log

signed-off<EMAIL_ADDRESS>

signed-off<EMAIL_ADDRESS>


Feat(LSP):  Load pkg files in LSP

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):
LSP

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
If the input file of lsp is not in a stack environment, load all kcl files in the dir where the file is located as input

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


[BUG] Can't exit approval command

Describe the bug
If I run [p]approve @Mention I can't abandon the approval
To Reproduce
Steps to reproduce the behavior:

Run [p]approve command
Refuse to answer quesions
The bot will keep asking you to answer the question

Expected behavior
The bot to give up  after a while

Fixed by f007268d758fcb96336a5ad8d46f5858759e571a


How to configure the Android side? Help me, please

Now it works well on iOS, but it doesn't work at all on Android.
I have completed it according to the configuration document on the Android side:

add classpath 'com.google.gms:google-services:4.3.3'
add apply plugin: 'com.google.gms.google-services'
add implementation "com.google.firebase:firebase-messaging:20.2.3"
add google-services.json file in app module.
Created an Android application on Iterable and configured Firebase Server Key.
Call setEmail method and found the token in Audience > Contact Lookup devices array.

When I use Test Push to send notifications on Iterable, I can't receive them.
Am I missing any configuration? who can help me? Thank you everyone!

Hey, I also encounter the same problem with you.
I think your setup for android is correct.
Windering there push function is broken.
This is my issue link:
https://github.com/Iterable/react-native-sdk/issues/142#issue-915725523

This library conflicts with react-native-push-notification, remove these codes inAndroidManifest.xml
<service
            android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
            android:exported="false" >
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
</service>

This library conflicts with react-native-push-notification, remove these codes inAndroidManifest.xml
<service
            android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
            android:exported="false" >
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
</service>

Hi,
Is the Iterable react-native SDK's push notification work on your side?
cause I still can't get this work, would you mind giving me some examples about the push notification?
Also, I've checked that I don't have the code you mention in my AndroidManifest.xml.

Yes, remote push works, but in-app messages do not. Maybe you should copy some of the Iterable SDK configuration to the newly created project and try it.

Hey, it decided not to work today.

i have same problem
cannot push noti test in android

Same here now


Warning: Operand of null-aware operation '!'

I'm getting this error when running the app
`: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/src/time_list.dart:53

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../programs/flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
WidgetsBinding.instance!.addPostFrameCallback((_) {
^`

I'm using flutter 3 and dart 2.17

Well, I think this PR #24 will solve it


Introducing Keras models for embedding with Rust backend

With this pull request, we add to the repository the updated GloVe, SkipGram and CBOW models, implemented in Keras, and their relative sequences or data generation implemented in Rust for faster training.
Alongside with the models is added also a complete test suite that covers all code that can be covered (a TensorFlow part of the code cannot be covered by how TensorFlow executes it).
Currently, the test coverage is 98%.
All code not relative to graph embedding software has, for the time being, been removed, so to guarantee a smaller code base with all the code necessary to run fast graph embedding only, since this is the goal of the correlated paper.

I would suggest that we move the class test_encoder somewhere else for now (we need to decide whether we want embiggen to be also for text (plain word2vec) or just for graphs. Also, @vidarmehr we should move the old and the new netnode2vec classes somewhere for safe keeping until we can test the new random walk functions that Luca implemented for this.  After that, we can probably just merge everything but we will probably need to delete other branches.


No setlocale() on Windows

If I understand things correctly, there should be a libc::setlocale and corresponding categories like LC_NUMERIC on Windows.

Ah yeah if bindings aren't present that just means that they haven't been added yet, feel free to submit a PR!


README: improve docs for level builder

Improve / update the instructions for using the level builder. Prompted by the discussion in #897, especially this comment.

Much improved! Thanks a bunch


 I was just wondering whether my code is so perfect that there would be no diff at all. :stuck_out_tongue:
--nbqa-diff should show an error if formatting does not work.

Hi @StefanBrand - thinking about this again, you're right, showing nothing is misleading. Pull requests to fix this are welcome! Else I hope to get time to work on it in a few weeks' time

@StefanBrand fixed in version 0.6.0


Not able to run release after 0.73.1

Old Version
0.73.0
New Version
0.73.1
Description
After updating to 0.73.1, I'm getting an error when running (npm run android -- --mode="release"):
"error Cannot start server in new window because no terminal app was specified."
Building is completing successfully, running in development also works, run releasing does not...
I even tried with a newly initialized project (including the reproducer project)..
Is anyone else experiencing this?
Steps to reproduce

Make sure you are on 0.73.1
npx react-native build-android --mode=release
npm run android -- --mode="release"
notice the error.

Affected Platforms
Runtime - Android, Build - Windows
Output of npx react-native info
System:
  OS: Windows 10 10.0.19045
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
  Memory: 2.19 GB / 15.71 GB
Binaries:
  Node:
    version: 18.17.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.2.5
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found //Not sure why it is "Not Found", I can build and release on 0.73.0
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-231.9392.1.2311.11076708
  Visual Studio: Not Found
Languages:
  Java: 17.0.9
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.1
    wanted: ^0.73.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
error Cannot start server in new window because no terminal app was specified.

Reproducer
https://github.com/react-native-community/reproducer-react-native
Screenshots and Videos
No response

I'm not sure how to provide a reproducer, the problem seems to be project-agnostic, and only occurs upon updating to 0.73.1
Tried my production project, a newly initialized one and the reproducer project as well.

The same when upgrading fresh project from 0.73.0 to 0.73.1. Cannot find any information where I should set terminal app.

This is i tested results in v0.73.0: https://github.com/facebook/react-native/issues/41867#issuecomment-1853289632

@lyswhut  Thank you for the workaround, on one terminal I run npx react-native start  and then on another I run npm run android -- --mode="release"  and it works..

I'm wondering if its' because of the CLI bump we picked in 0.73.1 https://github.com/facebook/react-native/commits/0.73-stable/

@Alper-Demir-Eng  you can try to edit<EMAIL_ADDRESS>file:
const findDevServerPort = async (initialPort, root) => {
  let port = initialPort;
- let startPackager = true;
+ let startPackager = false;
  const packagerStatus = await (0, _isPackagerRunning.default)(port);
  if (typeof packagerStatus === 'object' && packagerStatus.status === 'running') {
    if (packagerStatus.root === root) {
      startPackager = false;
      (0, _port.logAlreadyRunningBundler)(port);
    } else {
      const result = await (0, _handlePortUnavailable.default)(port, root);
      [port, startPackager] = [result.port, result.packager];
    }
  } else if (packagerStatus === 'unrecognized') {
    const result = await (0, _handlePortUnavailable.default)(port, root);
    [port, startPackager] = [result.port, result.packager];
  }
  return {
    port,
    startPackager
  };
};

@lunaleaps @lyswhut Thank you for your assistance, I had no problem on 0.73.0, and yes changing let startPackager to false does the trick.


fix the incomplete manifest in sparkJar and shadowJar

I messed up the shadow and spark jars with my previous commit.  I thought the settings on the jar task would propogate to the shadow tasks, but it turns out they didn't.  I'd checked to make sure that they still had a manifest, but it turned out they had an empty manifest.
This fixes it.

I'll take your word for it.

Feel free to merge.


Support service declarations

Description:
service / on new http:Listener(8080) {

}

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing since this was added.


Update to Monaco Editor version 0.13.1

Also cleans up several places to make it easier to update to a newer version.
I didn't manage to update to the latest version (0.14.1). The go to definition provider is not able to switch to another file.

Restarted the CI job for 0.13 due to a timeout.
In case 0.13 continues to cause problems, I'm happy to drop it and only support sbt 1.0.

I can make a branch with the changes to upgrade to the latest version.
The release notes are here https://github.com/Microsoft/monaco-editor/blob/master/CHANGELOG.md


How usage?

I do as you said in README , but it does't work.

codegen  dir not exists
I copy _codegen  as codegen  , then run "go run codegen/tableToStruct/*.go" in  command line, encounter error:
codegen/tableToStruct/helper.go:24:2: cannot find package "github.com/corestoreio/csfw/util/magento"

Hi,
sorry these packages are still in development mode. Everywhere are breaking changes and code.

OK thinks


Crash on preview

Plugin:
👀 ChannelsPreview
What version of BetterDiscord are you using?
1.11.0
What version of the selected plugin(s) are you using (if applicable)?
2.0.4
What client are you using?
🔵 Stable
Describe the bug
Attempting to preview a channel leads to a crash.

Additional comments
No response
I have read and agree to the following:

[X] I have searched existing/closed issues to confirm that this hasn't been solved already.
[X] I've already tried to disable all other plugins (or themes) to confirm this issue is related to the plugin.
This isn't necessarily required

just wanted to say this is happening to me as well, for priority's sake


Socket is not terminated on close with broken clients

The general behavior with broken WebSocket clients is not perfect yet.
In WebSocket.prototype.terminate, you call "socket.end()", however this should be "socket.destroy()"?
In this example I use "websocket-client" (which generates a strange "Client error: payload must start with 0x00 byte" error after close by the way), and this leads to socket.end not closing the socket.
var WebSocket = require('websocket-client').WebSocket;

var ws = new WebSocket('ws://localhost:3000/');
ws.on('open', function() {
    ws.send('Hello World');
    setTimeout(function() {
        ws.close();
    }, 1000);
});

If you add "setTimeout(function() {}, 10000);" after "ws.close()" you can see the connection stays open forever (until the client script terminates).

Of course this is a hixie-76 connection, don't know how the server reacts to broken hybi connections, but this is important, we do have lots of broken clients (e.g. by proxies, etc.).

This may be because of my own broken patch to #37

I'm not entirely sure I follow. You're using the websocket-client package, and call close on that, which 'ws' handles incorrectly somehow?


Speedometer value change automatically

value i pass to speedTo() method is 0 but on speedometer dial it increase and decrease automatically.  i use the AwesomeSpeedometer. plz tell me what is wrong.

use app:withTremble="false" Attribute, or speedView.setWithTremble(false); method.
it is true by Default


MQTT auto discovery does not auto create Devices/Entities

It worked the first time.  But I realized I wanted to change the name, so I tried just changing the name in the config, and restarting.
That didn't work, so I deleted the addon, and deleted the device.
I've restarted everything (Home Assistant, Supervisor, MQTT integration, Mosquitto Broker Addon, this Airthings Addon, and the Wave+ device itself).
I can see in mqtt-explorer, I am getting updates from the Wave+ device sensors.
No errors in the Addon logs.
I expect that, at some point, there would be device configuration data (icons, device_class, unit of measurements, etc.) would come across mqtt, and that the HASSIO MQTT Integration (which is also connected to the same broker) would create a new device with the name I've chosen.
Like I said, this happened once (the first time).  Not sure what I have to do to get it back.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:38:17] INFO: Getting mqtt configuration...
[19:38:17] INFO: Starting python script...
INFO:airthings-mqtt-ha:Setting up Airthings sensors...
DEBUG:airthings-mqtt-ha:Getting info about device(s)...
INFO:airthings-mqtt-ha:60:98:66:b7:de:fa: Manufacturer: Airthings AS Model: 2930 Serial: 132776 Device:Airthings Wave+
DEBUG:airthings-mqtt-ha:Getting sensors...
DEBUG:airthings-mqtt-ha:60:98:66:b7:de:fa: Found sensor UUID: b42e2a68-ade7-11e4-89d3-123b93f75cba Handle: 12
INFO:airthings-mqtt-ha:Done Airthings setup.
DEBUG:airthings-mqtt-ha:Getting sensor data...
INFO:airthings-mqtt-ha:Sending HA mqtt discovery configuration messages...
INFO:airthings-mqtt-ha:Sending messages to mqtt broker...
INFO:airthings-mqtt-ha:Done sending messages to mqtt broker.
INFO:airthings-mqtt-ha:Done sending HA mqtt discovery configuration messages.
INFO:airthings-mqtt-ha:Collecting sensor value messages...
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/humidity = 128
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/radon_1day_avg = 0
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/radon_longterm_avg = 0
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/temperature = 382.2
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/rel_atm_pressure = 1311
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/co2 = 65535
INFO:airthings-mqtt-ha:airthings/60:98:66:b7:de:fa/voc = 65535
INFO:airthings-mqtt-ha:Sending messages to mqtt broker...
INFO:airthings-mqtt-ha:Done sending messages to mqtt broker.
INFO:airthings-mqtt-ha:Waiting 30 seconds.

mqtt_discovery: 'true'

Ugh... I tried one last time to reset by pulling the battery from the Wave+ for 10 seconds... this time really close to the BTLE dongle.
And it works.  MQTT created the device with it's 7 entities.


Remove redundant element styles

Currently all styles from getComputedStyle are listed for each element but thats very verbose. One way to reduce this would be to make a second pass over the snapped document and compare getComputedStyle with and without the style attribute set.

The approach suggested by progers will make snap-it output styles relative to the current user agent's
default style sheet, which may (and does) vary by browser. Instead, I suggest using the same approach
to get the default style, and then put that in an inline style tag like this:

{

}

You might have to do this multiple times, for each type of different element (div vs span, etc).
Getting access to the user agent style sheet would make this a lot easier. Perhaps that's something
that should be added to the extension API?

How important is cross-browser support? I can think of two pretty difficult issues if it is important:

Many real-world pages work differently based on the user agent, whether for binary size (no redundant styles), quirks due to javascript/jquery, etc. Our hands are tied in these situations.
Our approach to getting style is getComputedStyle which will return many webkit-prefixed styles.

I think progers is probably right. cross-browser is too hard for now, let's get it working for Chrome. For that, the simplest method is what progers suggested in the first comment.


can't install via npm on windows

Install VS2013 Update 4 then set GYP_MSVS_VERSION=2013

Oh Yeah!) Thank you.


[WPF]No stretching with WindowStyle="None"

Hello, the nugget works perfectly on wpf. Very Nice job.
One thing, when I want to use WindowStyle="None", the MainWindow is not stretching. Even on your sample app. Any idea ?
Another question : Does the DispatcherOnScreenKeyboardWatcher need to be instanced on every window or once ?
Any idea is welcome :)
Thanks

First - https://stackoverflow.com/questions/611298/how-to-create-a-wpf-window-without-a-border-that-can-be-resized-via-a-grip-only
Second - you can use single instance per App.

Hello Alexei, thanks for your answer.
I will test it next thursday.

Hi Alexei, for this issue. i've made some search. The windows 10 1903 version "stretch" automatically the windows when the keyboard pop-up. But it doesn't work with settings "WindowStyle" none. It's a Windows feature 10. Actually I made it programmaticly, with the help of your lib, it works very well.
Another things, do you know if your lib will work on Windows 10 1909 ?

1.7.0 version will work on 1909

This article is about your problem: https://stackoverflow.com/questions/45185993/windowstyle-none-and-touch-input

Check this variant - https://github.com/AlexeiScherbakov/osklib/blob/master/WpfSample/StyleNoneWindow.xaml


Getting "Device is offline" when sending push notifications

Describe the bug
I use push notifications exactly in the way described here: on each application start I call PushNotificationManager::Default().Register(); and then request for a WNS Chanhel URI through PushNotificationManager::Default().CreateChannelAsync() call.
They work well most of the time, but from time to time push notifications are not received by the system. When I check response headers that are returned from this step, I see that X-WNS-Status=dropped and X-WNS-Error-Description=Device is offline and X-WNS-Cache-Policy is no-cache. Usually, I fix this problem in two ways:

Reboot my PC - usually it helps
Just continue sending push notifications and wait - after some dozens of minutes I finally receive X-WNS-Status=received and since that moment push notifications are passing without any problems (till the next "offline" episode happens). But, of course, during this "offline" episode all notifications are lost even if I turn on the caching (because WNS caches very few push notifications).

I know push notifications are unreliable, but this problem happens more often than I expected.
Steps to reproduce the bug
See the description. I realize it's not good enough, but I don't know the exact steps or circumstances under which the problem happens. But it happens regularly. I experience it on different PCs.
Expected behavior
I would like to know some workaround that could mitigate the problem. What can be done on the application's side to convince WNS that the device is online?
Screenshots
No response
NuGet package version
1.3.230602002
Packaging type
MSIX
Windows version
Windows 10 22H2
IDE
Visual Studio 2022-preview
Additional context
No response

I'll close this issue for now, since I have a suspicion that it's a problem with some parts of my implementation, not a WNS problem.  Probably something related to not updating a channel on the backend. It's hard to say for sure because of the rare occurrences of the problem happening on different PCs, but pls don't spend time here now.


"Show source in diagnostics" from wiki needs updating.

Description
The "Show source in diagnostics" snippet from the wiki no longer works with Neovim at HEAD after the change in https://github.com/neovim/neovim/pull/15585
It appears given the current state of which functions in vim.diagnostic and vim.lsp.diagnostic are public vs private that showing the LSP source isn't possible right now.
The default on_publish_diagnostics in vim.lsp.diagnostic calls vim.diagnostic.set(namespace, bufnr, diagnostic_lsp_to_vim(diagnostics, bufnr, client_id), config) however diagnostic_lsp_to_vim is marked private.
I'd love to update the wiki, but unsure how to proceed.
Thanks
Neovim version
NVIM v0.6.0-dev+1772-g8ef2b56ca
Build type: Release
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
No response
Operating system and version
all
Affected language servers
all
Steps to reproduce
Attempt to use the textDocument/publishDiagnostics handler as show on the wiki.
Actual behavior
Error executing vim.schedule lua callback: [string "..."]:0: attempt to call field 'display' (a nil value)
Expected behavior
No response
Minimal config
N/A

Health check
N/A
LSP log
N/A

The wiki is community contributed, so feel free to update, but it's not an issue with lspconfig :)

Right - I'm not sure what it should be updated to, which is the reason I opened this issue.

For onlookers, you can follow the following PR https://github.com/neovim/neovim/pull/15717


NewInputFile throws an unhandled exception, with both javascript and C#

When analising a project with many subfolders containing code, after insidersec starts main code analysis newInputFile seems to have trouble with an unhandled exception, crashing the program and leaving basically no information to help with debugging
To Reproduce
Not sure how to help with reproductibility, since I don't know which file causes the problem, or if subfolders are the problem, and I can not share any part of the project I'm working on
Expected behavior
I expected the program to keep running, and preferably to warn me that one or more files caused a problem and couldn't be analised
Screenshots
log from when analizing the C# part:

Log from when analizing the javascript part:

Desktop (please complete the following information):

OS: Windows 10 Enterprise
Release: 2.0.5

Thanks for the issue, and sorry for delay. This issue seems to already fix in this commit. We are preparing to make a new release with these fixes.

Closing the issue because version 2.0.6 is released


Fix for issue #50

Must loop through models in relModel, if they exist

I'm going to consider this PR as a creation error since #54 goes ahead on the commits.


SyntaxError: Non-ASCII character '\xe0' in file char_dictionary.py

Mac OS X Sierra 10.12.4
Python 2.7.11

kv:cutkum kobkrit$ python cutkum.py -m model/ck.r8.s128.l3.meta -c model/ck.r8.s128.l3 -s "สารานุกรมไทยสำหรับเยาวชนฯ"
Traceback (most recent call last):
File "cutkum.py", line 17, in
from char_dictionary import CharDictionary
File "/Users/kobkrit/git/cutkum/char_dictionary.py", line 15
SyntaxError: Non-ASCII character '\xe0' in file /Users/kobkrit/git/cutkum/char_dictionary.py on line 15, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
kv:cutkum kobkrit$

I have seen requirement of python >=3.0. Close.

^___^ yes, require python >= 3.0
The only reason I use Python 3.0 because it's easier to deal with Unicode in 3.0 than in 2.7, but in the new update I will make it compatible with both 2.7 and 3.0 (I actually already made the change, so in the next push, it should work with both 3.0 and 2.7


Prevent line data from being discarded on resize.

One of the core issues I'm trying to address in this PR https://github.com/sourcelair/xterm.js/pull/609 is that xterm.js will discard line data when resizing to smaller widths. As the discussion around reflow behaviour and architecture is still ongoing and may be for some time yet, I'm submitting this PR as an interim fix.
This PR prevents the character discard and uses behaviour similar to hyperterm.

Coverage increased (+0.07%) to 67.971% when pulling cb77b9dc1a07ae4549d09da4c81307c1fd1201cb on LucianBuzzo:crop-lines into 0723dac596c944c8002c3956500f40b459ca6025 on sourcelair:master.

Thanks for this @LucianBuzzo!

@parisk, is it possible to cut a bug fix release with this change?

@blink1073 this cannot happen, since we have pushed several commits with "new features" after we issued the release, so this wouldn't be a pure bugfix release.
You can either clone the repo and build it on your own, or just wait until the first week of April, for the 2.5 release.

No worries, had to ask :wink:.  Thanks!


Fixed nil error when first updates with struct

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
type OwnerEntity struct {
		gorm.Model
		OwnerID   uint
		OwnerType string
	}

	type SomeEntity struct {
		gorm.Model
		Name        string
		OwnerEntity OwnerEntity `gorm:"polymorphic:Owner"`
	}

	db := DB.Debug()
	db.DropTable(&SomeEntity{})
	db.AutoMigrate(&SomeEntity{})

	a := SomeEntity{Name: "test"}
	db.Model(&a).Where(a).Updates(SomeEntity{Name: "test2"})

// will panic: runtime error: invalid memory address or nil pointer dereference

because tag gorm:"polymorphic" will execute the following code but scope.db is nil:
relationship.PolymorphicValue = scope.TableName()

func (scope *Scope) TableName() string {
    // ....
    return scope.GetModelStruct().TableName(scope.db.Model(scope.Value))
}

Replaces https://github.com/jinzhu/gorm/pull/2105

Codecov Report

Merging #2443 into master will increase coverage by 0.81%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2443      +/-   ##
==========================================
+ Coverage   79.33%   80.15%   +0.81%
==========================================
  Files          24       24
  Lines        3431     3431
==========================================
+ Hits         2722     2750      +28
+ Misses        608      578      -30
- Partials      101      103       +2

Impacted Files
Coverage Δ

scope.go
87% <100%> (ø)
:arrow_up:

main.go
83.04% <0%> (+1.99%)
:arrow_up:

logger.go
60.65% <0%> (+32.78%)
: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 206174c...394b3a1. Read the comment docs.


package fails installing on Windows

I tried to install the package on a Windows machine with pip install sample_sheet following the docs. Unfortunately it resulted in an error that looks like a Linux/Windows path compatibility issue:
Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "C:\Users\Foo\AppData\Local\Temp\pip-install-a02d2846\sample-sheet\setup.py", line 28, in <module>
       packages=setuptools.find_packages(where='./'),
     File "c:\users\tpham1.unimelb\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 71, in find
       convert_path(where),
     File "c:\users\tpham1.unimelb\appdata\local\programs\python\python37\lib\distutils\util.py", line 112, in convert_path
       raise ValueError("path '%s' cannot end with '/'" % pathname)
   ValueError: path './' cannot end with '/'

   ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\TPHAM1~1.UNI\AppData\Local\Temp\pip-install-a02d2846\sample-sheet\

Hey @reisingerf!
Thanks for posting. TravisCI doesn't have an easy way for me to use automated testing on Windows platforms so I am flying blind.
I just patched this one bug in setup.py but there may be others related to Windows incompatibility. Please keep me posted!
I just published 0.9.4 so consider reinstalling. If you are looking for a Bioconda update, that should come later in the week.


Manual installation

Hi,
I am new to github. I do not know if this is the correct way to tell a mistake.
I have to save the .js file in the folder "www".  But when I have to add the resource I have to choose the URL "/local/community/home-assistant-sun-card.js". This does not work for me. I saved the file in the folder "community". Then I can add the card.
Regards
Michael

Here's the troubleshooting I wish I had found more easily:

If you just added the 'www' folder, you'll need to restart home assistant.
Assuming you added the home-assistant-sun-card.js in your config/www directory, it will be found at http://ip.addr:8123/local/home-assistant-sun-card.js


Including other libraries

Is there a way to include other libraries such as robotframework-angularjs when using this robotframework-seleniumlibrary-java?

In general yes; if those libraries are Java based, just adding those as Maven dependency and importing to test execution. With Python libraries easiest solution might be to include the library to version control, and add location to extraPathDirectories.
One thing to note is that some libraries might not work with Jython that are written with Python, and dependency management of Python with Maven might be a bit hard. With the example it might be that those libraries are not working really together, as robotframework-angularjs is depending on SeleniumLibrary's Python version.
But in general python libraries from extraPathDirectories work fine.

Thanks for the information!  I was hoping for a pure java solution for managing robot, but it sounds like the dependency management might end up being problematic if I start using certain python libs.


Can't get hello_world to work

Hello World no go:
Technical details:
I have followed the instructions on the Getting Started page, no go
https://github.com/ml-tooling/opyrator#getting-started
Created the file and run as instructed but I get this...
2021-05-01 10:16:31.675 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.

I ran "streamlit hello"and that is working fine

Host Machine OS : Windows 10
python : 3.9.4

I wonder if it is the very new version of python?
I am open to being stupid, that's OK, but this looks pretty cool and I want it to work.

@Bandit253 Sorry for the trouble and thanks for reporting the issue. We had a few issues with Windows 10, maybe this is related.
The error seems to indicate that the hello_world function could not be found in the my_opyrator module/script. Can you check again if the namings are correct? And did you execute this command from the folder of the my_opyrator script: opyrator launch-ui my_opyrator:hello_world?
There is also one PR which might be related: https://github.com/ml-tooling/opyrator/pull/26

@Bandit253 Update: I just tried it with Windows 10 and Python 3.9. Unfortunately, I wasn't able to reproduce the issue. I just pushed out a new release including a fix for Window 10, maybe this fixes your issue as well: pip install -U opyrator

@LukasMasuch  don't be sorry, I thank you for any assistance.
I have tried your suggestion of upgrading alas no luck and no change to the result.
One thing I noticed when I did the update, I got this as the first line
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
I thought I should do a pip freeze for reference
altair==4.1.0
argon2-cffi==20.1.0
astor==0.8.1
astroid==2.5.3
async-generator==1.10
attrs==20.3.0
autobahn==21.3.1
backcall==0.2.0
base58==2.1.0
bleach==3.3.0
blinker==1.4
cachetools==4.2.2
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
click==7.1.2
click-plugins==1.1.1
cligj==0.7.1
colorama==0.4.4
cryptography==3.4.7
cycler==0.10.0
dateparser==1.0.0
decorator==5.0.7
defusedxml==0.7.1
entrypoints==0.3
fastapi==0.63.0
Fiona @ file:///D:/Chrome_DOWNLOADS/Fiona-1.8.19-cp39-cp39-win_amd64.whl
GDAL @ file:///D:/Chrome_DOWNLOADS/GDAL-3.2.2-cp39-cp39-win_amd64.whl
geopandas==0.9.0
gitdb==4.0.7
GitPython==3.1.14
h11==0.12.0
hyperlink==21.0.0
idna==2.10
ipykernel==5.5.3
ipython==7.22.0
ipython-genutils==0.2.0
ipywidgets==7.6.3
isort==5.8.0
jedi==0.18.0
Jinja2==2.11.3
jsonschema==3.2.0
jupyter-client==6.1.12
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
kiwisolver==1.3.1
lazy-object-proxy==1.6.0
loguru==0.5.3
MarkupSafe==1.1.1
matplotlib==3.4.1
mccabe==0.6.1
mistune==0.8.4
munch==2.5.0
nbclient==0.5.3
nbconvert==6.0.7
nbformat==5.1.3
nest-asyncio==1.5.1
notebook==6.3.0
numpy==1.20.2
opyrator==0.0.11
packaging==20.9
pandas==1.2.3
pandocfilters==1.4.3
parso==0.8.2
pickleshare==0.7.5
Pillow==8.2.0
plotly==4.14.3
prometheus-client==0.10.1
prompt-toolkit==3.0.18
protobuf==3.15.8
pycparser==2.20
pydantic==1.8.1
pydeck==0.6.2
Pygments==2.8.1
pylint==2.7.4
pyparsing==2.4.7
pyproj==3.0.1
PyQt5==5.15.2
pyqt5-plugins==<IP_ADDRESS>.1.0
PyQt5-Qt5==5.15.2
PyQt5-sip==12.8.1
pyqt5-tools==<IP_ADDRESS>.0.2
pyrsistent==0.17.3
python-dateutil==2.8.1
python-dotenv==0.17.0
pytz==2021.1
pywin32==300
pywinpty==1.0.1
pyzmq==22.0.3
qt5-applications==<IP_ADDRESS>.1
qt5-tools==<IP_ADDRESS>.0.1
regex==2021.4.4
requests==2.25.1
retrying==1.3.3
Rtree @ file:///D:/Chrome_DOWNLOADS/Rtree-0.9.7-cp39-cp39-win_amd64.whl
scipy==1.6.2
Send2Trash==1.5.0
Shapely==1.7.1
six==1.15.0
smmap==4.0.0
starlette==0.13.6
streamlit==0.81.0
termcolor==1.1.0
terminado==0.9.4
testpath==0.4.4
toml==0.10.2
toolz==0.11.1
tornado==6.1
traitlets==5.0.5
txaio==21.2.1
typer==0.3.2
typing-extensions==<IP_ADDRESS>
tzlocal==2.1
urllib3==1.26.4
uvicorn==0.13.4
validators==0.18.2
watchdog==2.0.3
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.1
win32-setctime==1.0.3
wrapt==1.12.1
I upon seeing that I think I might try a venv, I'll let you know how I go

Alas no good :(


Update dependencies

Just ran cargo update. This gets rid of one cargo audit reported error (about tokio).

I bumped up the MSRV to 1.51 which is the first version that builds all updated dependencies.

Sweet, LGTM.


Add readme

Include docu for

Http endpoints
/register
/get-edge-address
Configuration section
Add MIT license, make it public

@njam please review
Please be forgiving in wording review "janus-cluster purpose is to manage cluster of janus instances"...

I can't push to your branch. Here are some proposed changes:
https://github.com/njam/janus-cluster/commit/b1702068177fc8cf674978405e9569ff8167ef83
Could you also add to "Development":

How to run tests
How to release a new version


LoadBalancerCacheManager improper cache refresh time

Describe the bug
Hello, our calling relationship A->B, B has two instances (B1,B2). Set the ttl to 30s, and continue to send requests to A.
If B2 is offline, A's cache is not updated. As A result, an error occurs when A calls B2.
In this case, traffic must be disabled for the cache of A to be updated.
I don't think it's a reasonable design.
Thank you.
test sample version
springboot version 3.1.0，
spring-cloud  2022.0.2
spring-cloud-alibaba 2<IP_ADDRESS>-RC2
dependency
groupId:org.springframework.boot
artifactId:spring-boot-starter-cache
groupId:com.github.ben-manes.caffeine
artifactId:caffeine

'''
configuration
spring.cloud.loadbalancer.cache.capacity=512
spring.cloud.loadbalancer.cache.ttl=30s
spring.cloud.loadbalancer.cache.caffeine.spec=maximumSize=512, expireAfterAccess=30s

Hey. That's a resonable behavior given your config. You have set expireAfterAccess=30s which means that everytime you access cache this period gets reseted again to 30s. If A is constantly asking for cache than this cache never expires. If A stops calling B for 30s than this cache would expire and A would get a new one.

@xinlunanxinlunan Please read the comment above added by @sobelek and let us know if you have additional feedback.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


player.seek future takes too much time.

Hi, is there a way to seek the position without buffering?
I'm building a kinda of video_editor app and using this plugin for it but I want to have the functionality to seek by hovering to the timeline. I implemented that using the hover events but controller.player.seek takes more time to get there. the buffering time is too long.
here is the video from the movie also most of the video players/editors don't take this much time to seek to position as I noticed.
https://github.com/media-kit/media-kit/assets/67627096/defb89b9-9296-4b14-888e-7b41a4f3b8e9

any news ?

Solved on main branch.


Alert Scheduled searches not specifying an index macro version triggers on wildcard in index

Hi,
We got this alert for a search using a macro. The search in the macro started like "index=sec_*_wineventlog". For us this is not an alert. What's your view on this?
Thanks for a great app!

Strange, I attempted to replicate this but it appeared to work just fine.
Here is what I have tested:
Created a macro called: testmacro, contents of index=sec_*_wineventlog sourcetype=x
Scheduled a report that calls testmacro (with the backticks around it)
Now if I remove the very last line from SearchHeadLevel - Scheduled searches not specifying an index macro version, I see my test report, but the last line which is:
| regex qualifiedSearch!=".*index\s*(!?)=\s*([^*]|\*\S+)"
Appears to work as expected and does not alert me on that particular alert/report. If you remove the last line is the macro getting substituted as expected?
Is there anything else in there that might confuse the regex?


Doesn't connect to Trust Wallet

Reproduce steps

Build and run the v2Explorer example.
Click "Connect" button and select "Trust Wallet".
Approve connection in Trust Wallet.
Trust Wallet redirects to the example.
Nothing happens. The modal window does not close. Connection to the wallet is not established.

Video
https://github.com/WalletConnect/react-native-examples/assets/15713727/75432897-c2ec-404c-bd29-2e56929614e5
Environment
Android 12
Trust Wallet 7.21.1
Logs
 LOG  Running "Web3Modal" with {"rootTag":31}
 LOG  Shims Injected:
 LOG    - atob
 LOG    - btoa
 LOG    - nextTick
 LOG    - FileReader.prototype.readAsArrayBuffer
 INFO  {"context": "core"} Core Initialization Success
 INFO  {"context": "client"} SignClient Initialization Success
 INFO  Cleaning up inactive pairings...
 INFO  {"context": "core"} {"context": "core/relayer"} {"context": "core/relayer/subscription"} Emitting subscription_deleted
 INFO  Inactive pairings cleared: 2
 INFO  {"context": "core"} {"context": "core/relayer"} {"context": "core/relayer/subscription"} Emitting subscription_created
 INFO  {"context": "core"} {"context": "core/expirer"} Emitting expirer_created
 INFO  {"context": "core"} {"context": "core/history"} Emitting history_created
 INFO  {"context": "core"} {"context": "core/expirer"} Emitting expirer_created
 INFO  Cleaning up inactive pairings...
 INFO  {"context": "core"} {"context": "core/relayer"} {"context": "core/relayer/subscription"} Emitting subscription_deleted
 INFO  Inactive pairings cleared: 3
 INFO  {"context": "core"} {"context": "core/relayer"} {"context": "core/relayer/subscription"} Emitting subscription_created
 INFO  {"context": "core"} {"context": "core/expirer"} Emitting expirer_created
 INFO  {"context": "core"} {"context": "core/history"} Emitting history_created
 INFO  {"context": "core"} {"context": "core/expirer"} Emitting expirer_created

Hey @alsakhaev 👋 Can you test using the new version of Trust Wallet? It should work now (v7.23)

Closing as it works with the latest version of Trust Wallet (Android)
https://github.com/WalletConnect/react-native-examples/assets/25931366/b3c60704-04aa-43fc-a692-f50668d81fe8


Registered device, No WiFi, but Ethernet Connected drops into SmartConfig

Use case:
A registered device has stored NVM ram with WiFi Network configured and WiFi OFF, and Ethernet Connected, power cycle.  The device incorrectly enters SmartConfig mode.
Expected behavior:  The device should MQTT connect and send accelerometer data when triggered.  In buildings without WiFi, but hard wired Ethernet, the device should work.
One design goal is to force the user through the Mobile App registration / wifi / SmartConfig at least once.  That process will register a owner, location, device.
The firmware accounts for the case where ETH is connected but the device is still unregistered. It correctly forces the SmartConfig loop.
What it should do is check if there is at least one stored WiFi network and ETH connected and allow for that without entering into the SmartConfig loop.

Thanks to @neilh20.gitk for the report.

I've posted a patch which should fix this issue.  The firmware will now use the hardwired Ethernet interface if there is at least one WiFi stored network (even if that network is not available).  The assumption is that SmartConfig and device registration has previously been successful and the device is possibly hardwired without wifi.
https://github.com/openeew/openeew-firmware/commit/afc38dbc3e3426f7eaaf92918c19509ba9e16bc0


Portability fixes for containerd shim

Update go-runc to master with portability fixes.
Subreaper only exists on Linux, and only Linux runs the shim in a
mount namespace.
With these changes the shim compiles on Darwin, which means the
whole build compiles without errors now.
Signed-off-by: Justin Cormack<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #861   +/-   ##
=======================================
  Coverage   59.55%   59.55%
=======================================
  Files           5        5
  Lines         759      759
=======================================
  Hits          452      452
  Misses        199      199
  Partials      108      108

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 26a6222...6a571ec. Read the comment docs.

LGTM


Add another if in case varnish variable is not set.

If you clear yml files from any all Varnish settings this part will fail becaue it expexts varnish to be defined.

+1 for this! makes running a box without varnish role possible :)
thanks Arturs!

Good, but might use some formatting. Two nested if blocks in one row is kinda hard to read :)


DOC: Add notes for metal GPU acceleration

Seems modification on readme_zh_CN is absent.

Seems modification on readme_zh_CN is absent.

Done.


Prevent auto-lock during playback

When a video is playing, disable the screen auto-lock (using playdate.setAutoLockDisabled() https://sdk.play.date/1.12.3/Inside Playdate.html#f-playdate.setAutoLockDisabled).

Fix in v1.0.2


change signature of all comparator methods

issue: https://github.com/hamcrest/JavaHamcrest/issues/328

Seems right to me.

@hakanai I am not allowed to merge this PR, what will happen now with this PR?

You’d need someone with the privileges to come through and merge it.

@nhojpatrick can you merge this PR?

bump

I dropped the dependency to hamcrest in our project and therefore will close this pull request. Feel free to reopen it if you need it. I don't need hamcrest anymore.


Make ddox the default doc for dlang.org menu

Starting with step 1 as outlined here

/library/ is promoted as the primary Phobos documentation in the site navigation.
/phobos/ is removed from search indexing.
/phobos/ is removed from site navigation.
/phobos/ is removed.

CC @s-ludwig
However I would love to love see the Disqus problem sorted out before. So let me summarize the three main options proposed so far:
Option 1: self-hosted commenting
I share a similar opinion as @MartinNowak:

I'd want to disable or replace discourse before we make it our official documentation. We could easily self-host some commenting functionality if deemed necessary, but adding an unmaintained communication channel isn't the best idea IMO.

Option 2: use DFeed
(from @CyberShadow)

I think it wouldn't be too hard to embed DFeed as a comment system. What do you think? Then anyone can subscribe to new comments through the usual means. The same solution can be applied to the blog.
I understand that the current bottleneck is someone adding new groups to the NNTP server. Can that be resolved?

Option 3: remove Disqus

Yeah, I'm not likely to ever use disqus but if it went through the same n.g./mailing list interface at least I'd consider talking at times (though I personally think comments in documentation should typically be used to just go back and improve the documentation rather than making readers actually wade through the out-of-date and repetitive comment thread...)

Note that removing Disqus has been attempted this summer, which was reverted as @MartinNowak wasn't available at this time.

@wilzbach are examples runnable just the same in both? any dead links? anything to worry about? In the past I ran quickly into some issue.

I also don't see any runnable test. Do we need to do some deployment? @CyberShadow is ddox part of the auto-deployment engine?

I also don't see any runnable test. Do we need to do some deployment? @CyberShadow is ddox part of the auto-deployment engine?

I haven't found time to work on this yet. It's a different setup.

are examples runnable just the same in both?

Well there are different two setups (since two years) :/

any dead links? anything to worry about?

Ddoc will stay for quite a while.

In the past I ran quickly into some issue.

Yep I just started the discussion to figure out the last blocking points...

@wilzbach are examples runnable just the same in both?

They should be soon: https://github.com/dlang/dlang.org/pull/1532

@CyberShadow is ddox part of the auto-deployment engine?

Yes. Runnable tests are just not implemented for DDox right now.

So what is the decision here?

Support to run the tests with the ddox build has been added with https://github.com/dlang/dlang.org/pull/1532

Do I understand it correctly that once the last glitches  in ddox that Andrei has mentioned have been fixed, we can start the switch over?

What is our consensus regarding Disqus  / comment system? (@CyberShadow I think your opinion has a lot of weight here)

Copying from my older comments: "...e.g. https://dlang.org/library-prerelease/ has a few oddities: ..."

Table has a wide first column due to large module names such as std.experimental.allocator.building_blocks.affix_allocator. I think we could insert a soft break before each dot in these names? What's HTML for soft break - i.e. like  but without outputting a hyphen?

Not fixed.

Those std.experimental.allocator.building_blocks.* don't have any description

Not fixed.

Description for some modules comes in heading font, e.g. "Assembling Your Own Allocator"

Not fixed.

The table "Access to plattform libraries is supported by specific D header files" is odd because it has a bunch under C99 and nothing everywhere else

Not fixed.

The table "Deprecated D header files." has only one "C" in it?

Not fixed.

I'd say let disqus be. Doesn't hurt and the dearth of comments is not a reflection on disqus as much as a lack of critical mass in viewership.

On Wed, Feb 22, 2017 at 09:34:44AM -0800, Andrei Alexandrescu wrote:

Those std.experimental.allocator.building_blocks.* don't have any description

That's not ddox's fault, the source for those submodules is missing documentation on the module declaration. We should do a Phobos PR to
add some description text to those modules.

Description for some modules comes in heading font, e.g. "Assembling Your Own Allocator"

dpldocs.info stripped the header tags there, but it is arguably also the source module's fault - it should have a brief summary before the headers and details.

The table "Access to plattform libraries is supported by specific D header files" is odd because it has a bunch under C99 and nothing everywhere else

Again, those aren't documented in the source. We should do a druntime PR to add doc comments there. Or something. I'm not sure it makes sense to do too much ddoc of C declarations, but it is a FAQ "why isn't this documented on dlang.org?" so we should do SOMETHING.
So bottom line, let's do PRs on phobos and druntime to document these, and ddox should automatically pick up the benefit - and ddoc might too.

We should do a Phobos PR to add some description text to those modules.

Correct, those should ideally predate switching to ddox.

I see very little value in giving every function its own page.

It helps so, so, so much on search results, and having plenty of space means it is possible to format the information better (ddox does meh on it but still). Consider that so many search engine hits go to ddox already, it just highlights how much easier they are to link to.

This goes on to confirm what I like to joke about: whatever we do, someone will be against it. Page-per-artifact has been vociferously asked for by many folks. Growing pains! My approach in this: we can afford to offer both with ease, so we should. (We're not alone; see e.g. https://www.gnu.org/software/make/manual/ which offers several ways to view the same documentation.)

As long as /phobos/ is still available, then I'm fine with the ddox version. However, I still think it's not good enough for the default.

https://dlang.org/library/std/range/drop.html shows raw HTML

The source looks off: https://github.com/dlang/phobos/blob/v2.074.1/std/range/package.d#L2880
Embedding DDOC within backticks is "strange" and the opening back tick has no closing match.

Thanks. https://github.com/dlang/phobos/pull/5494

@s-ludwig Would it b possible to make DDox throw a hard error upon encountering such invalid syntax?

@CyberShadow I'll remember to add that (https://github.com/rejectedsoftware/ddox/issues/154). I'd suggest to make this an opt-in switch, though, because it could break existing projects otherwise.

Cheers. I guess we could grep the output in the makefile as well.

I don't see any relevant warnings in dpl-docs output when running make -f posix.mak apidocs-prerelease, just some "Error parsing type" which seem unrelated. Perhaps there is no code to detect/warn on such malformed DDoc syntax yet?

Indeed.. it currently silently uses the end of the paragraph to mark the end of the back tick code in this case.

On Sun, Jun 18, 2017 at 01:13:37AM -0700, Sönke Ludwig wrote:

Embedding DDOC within backticks is "strange" and the opening back tick has no closing match.

If it has no closing match on the line, the backtick is supposed to be output literally. The backtick code thing is not supposed to be able to span lines.
I did that quite deliberately in the implementation for dmd because 1) linker output often does something like identifier `foo' and I wanted that to be copy/pastable and 2) github ignores it with no match too.
See the explicit comment here:
https://github.com/dlang/dmd/blob/master/src/ddmd/doc.d#L2166

@adamdruppe: Fixed for DDOX 0.16.1: https://github.com/rejectedsoftware/ddox/issues/155

On Sun, Jun 18, 2017 at 09:16:21AM -0700, Sönke Ludwig wrote:

@adamdruppe: Fixed for DDOX 0.16.1: https://github.com/rejectedsoftware/ddox/issues/155

Excellent!

Some broken documentation (example) here:
https://dlang.org/library/std/algorithm/searching/find_skip.html
Looks OK on DDoc:
https://dlang.org/phobos/std_algorithm_searching.html#findSkip

This is an effect of the necessary workaround to extract the unit test code for the example. I've opened a ticket (https://github.com/rejectedsoftware/ddox/issues/156) and this should be solvable by employing dparse to tokenize the source code instead of blindly searching for the last closing brace.

The prototype here is really broken:
http://dlang.org/library-prerelease/std/file/dir_entries.html
Screenshot:

The first line seems to be justified, making the sole two terms appear on the opposite sides of the box.
The second line has no whitespace or word wrap points, making it go out of bounds.
There is something wrong with the emitted data, the prototype itself doesn't even look like D code.

On Chrome the justification will not be visible as we do not enable it for that browser (because it does not support automatic hyphenation).

Only regular flowing text should be justified, nothing else (not even tables) btw.

Yeah, I guess problems with justification slip through the cracks because it's disabled for Chrome, and many contributors test with it exclusively.

https://issues.dlang.org/show_bug.cgi?id=17624
Because DDox simply repeats the documentation for ditto'd symbols, but also sorts the properties alphabetically, in some cases it can apparently cause the impression that some fields were mis-documented by a copy/paste someone forgot to edit.

https://github.com/dlang/dlang.org/pull/1526#issuecomment-313729950

That must be one of the parse errors from above. I'll try to remember the text justification issue. BTW, is there any known reason why this is not simply restricted to <p>? Same for auto-hyphenation of course.

https://github.com/dlang/dlang.org/pull/1526#issuecomment-313898684

Any suggestion how we should handle this? To me it seems to be a rather unclean use of ditto. There could be a logic that accumulates all ditto group members into the same table cell, but it kind of breaks down on the detailed member pages. We could list all member on each page, or could emit just one page, so that "line" in this case would be documented on the "file.html" page. Both are not really nice.
IMO, this one should be fixed by simply splitting up the sentence into two doc comments.

Any suggestion how we should handle this?

How about listing members in declaration order, instead of alphabetical order? Then you can use rowspan for ditto.

How about listing members in declaration order, instead of alphabetical order?

That's a good idea that shifts the responsibility and freedom reasonably.

It doesn't make that much sense to use declaration order once the declarations are grouped by kind, IMO. But I suggested to group declarations within the table already. The question is more how to proceed for the per-declaration page.

The question is more how to proceed for the per-declaration page.

I guess the obvious answer is to somehow indicate that the documentation applies to other members too (listing them in a dimmed font or "(also: foo, bar)" OSLT). Another approach would be to decide to use ditto only for overloads, and fix other uses.

once the declarations are grouped by kind

BTW, I'm not really convinced that such grouping is useful. I know MSDN and many document generators do it, but... properties and paren-less function call syntax in general blur the line between fields and methods in D somewhat. Declaration order is likely to have things grouped together more consistently.

There are commas missing in the description of the globMatch syntax:
https://dlang.org/phobos/std_path.html#globMatch
https://dlang.org/library/std/path/glob_match.html
In DDox, for the "Matches either of the specified strings." table row, the first column reads "{string1string2…}" instead of "{string1,string2,…}".


Develop

@anthonype We need to marge the develop branch into the master branch in case that the reviewers only check the master branch

Is good to merge into master but you should be using develop as you base branch IMHO.
Also, you should make a release if you are merging to master
Check that we can really use the Apache license and if so add that bit of info to the readme
make PRs and someone should merge them instead of pushing yourself into develop
add this to the list of mdsol's opensource projects

@jcarres-mdsol I appreciate on you taking a look at this pr; any feedback is welcomed.  Gitflow is typically followed and will be moving foward (this was an innovation project).  Regarding Apache license, do you have a sample?  I wasn't able find any when I searched on a few at techblog.mdsol.com.

I'll merge now and we will address the Apache license in the next pr.


Getting an error as I try to read or convert a .drk.

When attempting to read a .drk file, I encounter a System.NullReferenceException with the message 'Object reference not set to an instance of an object.' The exception occurs in the public static DateTimeStruct GetDateAndTime(int idx) method, specifically at the line DateTimeStruct dateTime = Marshal.PtrToStructure(dateTimePtr);.
Additionally, the error is accompanied by the message 'System.NullReferenceException' in the 'System.Private.CoreLib.dll'. When I try to debug the variables, I observe that every variable is set to 0.

Hello,
Thanks for taking the time to write an issue with the proper debugging!
Because the convertion is running on another thread, the error might not be comming from where is told.
However, the read button also calls GetDateAndTime on main thread. I would suggest trying the read button first. If the error really happens at GetDateAndTime.
Additionally, I find very strange that you observe every variable is set to 0.
Have you tried using a release version with the latest .net6 ?

I'd also check if the previous information such as Vehicule name or Track name are working as they should.

I have reviewed the previous information, including the vehicle name, track, and they all show null when I debug. I have also noticed that the ID is 0, which I believe is causing the problem or at least is related to the problem. In the readButton function, everything seems to be working fine. Additionally, I have checked, and dateTimePtr in the GetDateAndTime function is also null.
I'm using dotnet\sdk\6.0.418.
I have also dowloaded MatLab Runtime <IP_ADDRESS>9199 but it didint work as well.

If ID is 0, then something wrong is happening. I have found that using the "oldest" MatLab dll library worked everytime, and when I tried to update it to a newer version, I coulnd get it to work, sadly. Make sure the input directory path is right and has no spaces, might not be the problem but just in case. Also make sure that the running CPU is the right one, the same as the MatLab dll.

If ReadButton works, then all of the info in the file should be displayed on the UI. If the problem comes from converting only, then it might be because it's using another thread, but I didnt get such issue before.

The problem is that I can't seem to read any data. The read function crashes the app whenever it reaches the GetDateAndTime function. I tried changing the library name to the 2022 DLL, but it didn't even recognize it. Also, everything is happening in the same thread.

Hm thats strange. Is there any way I could try to read the data on my side ?

Here is the log that I'm attempting to read and convert. I've also tried another one, and it didn't work either. I suspect there might be an issue with my PC or something. It's in a zip file since I can't upload in .drk.
LOG.zip

In my files used for testing, I found that the drk won't open by the dll if a drk is not present. However, RS3 does open the drk without any worries.

Seems like RRK is linked to GPS data, thus making me thing that the dll only processes file with gps data.
On another note, XRK files seem to work just as well if you have one of those..

So, is it the absence of GPS data that's causing the issue? We don't utilize GPS data because the GPS doesn't function in our AIM; we suspect it's a hardware problem. Is there a way to utilize the accelerometer to obtain this data? How difficult would it be to modify this DLL to effectively handle this data without relying on the GPS

So, is it the absence of GPS data that's causing the issue? We don't utilize GPS data because the GPS doesn't function in our AIM; we suspect it's a hardware problem. Is there a way to utilize the accelerometer to obtain this data? How difficult would it be to modify this DLL to effectively handle this data without relying on the GPS

Its a DLL issue imo.
xrk cleanly parses into a pyarrow table for channel values.
drk does not.
my solution was to use the drk csv export in rs2 and use that for parsing to other file formats


Show hand cursor over items that have URLAction defined

Version: 0.4.0
Should show Hand cursor when mouse is over item that has a URLAction defined

Added, showing even in Edit mode for now as a tip that there's a URLAction defined


Support for changes in related models

Currently, as discovered in https://github.com/jjkester/django-auditlog/issues/8, Auditlog does not behave well when it comes to related data.
The following needs improvement:

Handle fixture loading (https://github.com/jjkester/django-auditlog/issues/8)
Make sure (test) that save is triggered when a reverse one-to-one relationship is changed. For example, when a different Profile object is assigned to a user from the other side of the relationship. If not, create a workaround for this.
Find a way to handle many-to-many relationships (easy logging for through model, easy lookup of data).

Did some research:

Evaluating the many-to-many relation on save() is too expensive since the list of related objects could be massive.
m2m_changed signal could be used but also could introduce a lot of log entries since every mutation is logged, not every transaction.
Setting signals on the through-model of a relation could work, there only needs to be a way to tie these log entries to the related models. (Also, this could also could introduce some log spam.)

Nice detail: the last method is currently working. Take the following example:
class MyModel(models.Model):
    related = models.ManyToManyField('MySecondaryModel')

auditlog.register(MyModel, exclude_fields['related'])  # At this point unsure whether the exclusion is mandatory
auditlog.register(MyModel.related.through)

# Get related log entries
obj = MyModel.objects.first()
rel_pks = obj.related.all().values_list('id', flat=True)
related_logentries = LogEntry.objects.get_for_model(MyModel.related.through).filter(object_id__in=rel_pks)

Parts of this example can be reworked into utility methods to make using them cleaner and more straightforward.
Ideas? Did I miss something? Please let me know!

Moved to 0.5.0 release to quickly ship improvements for Django 1.10.

Found another case I think of the fixture loading not working:
   Traceback (most recent call last):
    virtualenv-3.6.8/lib/python3.6/site-packages/nose/suite.py line 210 in run
      self.setUp()
    virtualenv-3.6.8/lib/python3.6/site-packages/nose/suite.py line 293 in setUp
      self.setupContext(ancestor)
    virtualenv-3.6.8/lib/python3.6/site-packages/nose/suite.py line 316 in setupContext
      try_run(context, names)
    virtualenv-3.6.8/lib/python3.6/site-packages/nose/util.py line 471 in try_run
      return func()
    perfauto/lib/testing/testcase.py line 512 in setUpClass
      return super().setUpClass()
    perfauto/lib/testing/testcase.py line 409 in setUpClass
      return super().setUpClass()
    perfauto/lib/testing/testcase.py line 394 in setUpClass
      return super().setUpClass()
    perfauto/lib/testing/testcase.py line 147 in setUpClass
      super().setUpClass()
    virtualenv-3.6.8/lib/python3.6/site-packages/django/test/testcases.py line 1131 in setUpClass
      call_command('loaddata', *cls.fixtures, **{'verbosity': 0, 'database': db_name})
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/management/__init__.py line 148 in call_command
      return command.execute(*args, **defaults)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/management/base.py line 364 in execute
      output = self.handle(*args, **options)
    virtualenv-3.6.8/lib/python3.6/site-packages/django_nose/runner.py line 331 in _foreign_key_ignoring_handle
      _old_handle(self, *fixture_labels, **options)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/management/commands/loaddata.py line 72 in handle
      self.loaddata(fixture_labels)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/management/commands/loaddata.py line 114 in loaddata
      self.load_label(fixture_label)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/management/commands/loaddata.py line 181 in load_label
      obj.save(using=self.using)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/core/serializers/base.py line 223 in save
      models.Model.save_base(self.object, using=using, raw=True, **kwargs)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/db/models/base.py line 790 in save_base
      update_fields=update_fields, raw=raw, using=using,
    virtualenv-3.6.8/lib/python3.6/site-packages/django/dispatch/dispatcher.py line 175 in send
      for receiver in self._live_receivers(sender)
    virtualenv-3.6.8/lib/python3.6/site-packages/django/dispatch/dispatcher.py line 175 in <listcomp>
      for receiver in self._live_receivers(sender)
    virtualenv-3.6.8/lib/python3.6/site-packages/auditlog/receivers.py line 16 in log_create
      changes = model_instance_diff(None, instance)
    virtualenv-3.6.8/lib/python3.6/site-packages/auditlog/diff.py line 135 in model_instance_diff
      new_value = get_field_value(new, field)
    virtualenv-3.6.8/lib/python3.6/site-packages/auditlog/diff.py line 80 in get_field_value
      value = field.default if field.default is not NOT_PROVIDED else None
   AttributeError: Problem installing fixture 'data.json': 'OneToOneRel' object has no attribute 'default'


Conditional path "StringLike"  is throwing error after 0.0.28 release

Hi there,
The validator is throwing ERROR like the following:
ERROR: {'StringLike': {'iam:AWSServiceName': 'lakeformation.amazonaws.com'}} is not of type 'string', Path: Condition
for conditional block in yaml:
Condition:
                  StringLike:
                    iam:AWSServiceName: lakeformation.amazonaws.com

I tried to quote it but did not pass validation.
The following did not pass validation either:
Condition:
                  StringLike:
                    "iam:AWSServiceName": lakeformation.amazonaws.com

Condition:
                  StringLike:
                    "iam:AWSServiceName": "lakeformation.amazonaws.com"

I downgrade to version 0.0.27 and validation against the original block passed.

Thanks for reporting this.  I think I have an idea of what's causing it.
Can you share the rest of the resource that's causing the error?

I just pushed v0.0.29 that should fix your issue.  Please let me know if it does, when you get a chance.

Hi Matt, I did a test and it works as expected, thank you for the fix.


gdsfactory/hdl21 naming dispute

Both gdsfactory's Sky130 PDK and HDL21's PDK module are called "sky130" according to the Python Package Manager. And gdsfactory's package is sky130 on pypi whereas hdl21's is sky130-hdl21.
What's the best course of action here, as we move to integrate hdl21 into the gdsfactory PDK?
@joamatab
@dan-fritchman

How about being consistent with pypi and renaming sky130 to sky130-hdl21 ?
Im also happy to rename the gdsfactory one if that does not works well

FWIW the dashes make for invalid package names.
>>> import something-dash-something-else
  File "<stdin>", line 1
    import something-dash-something-else
                    ^
SyntaxError: invalid syntax

Packages like scikit-learn adopt a similar shortening ("import sklearn").
I don't really wanna run around changing it, much less all the other (mostly closed-source) PDK-packages which follow that same convention. But yeah, seems to be a problem; I don't think there's like a re-naming mechanism in pyproject.toml or setup.py, as some other languages support. (Is there?)

Do we have any idea what we wanna do here? Right now, I just have sky130-hdl21 as sky130_hdl21 in my package manager because just because it was easier for me to do.

I think naming these built-in PDKs {name}hdl21 (no puncutation) or {name}_hdl21 (underscore-separated) should work.
And it's probably helpful to have the same "PyPi name" as "package name" (whatever they really call those two things).

I'm going to go with sky130_hdl21, simply because its easier on the eyes.

Added these to the current commit of #114, we are going with {name}_hdl21.