Offline compilation is not visible till server restart

Hi there,
I've just made a very simple example of a typescript serverless function. It's working well but… every time I change source code I need to restart the offline version to see changes during function execution.
Let's say I change one line. Then I can see in the console:
Serverless: Compiling with Typescript...
Serverless: Typescript compiled.

But execution of the function (ran with serverless offline start before edit) is giving the same results.
All sources you can review here
and I'm changing selected line's + 100
Am I doing something wrong?

I've ran into the same issue, I've been following this thread as I though it may be related: https://github.com/dherault/serverless-offline/issues/864


Request PayLoad | allOf Json construct

Question
I am new to OAS schema and I am trying out the various valid OAS schema for allOf JSON contruct.
Please find the attached JSON schema gitHub_allOf_array_complex_type.txt , which is valid OAS according to online swagger parser here.
Example
Given the fact that is valid OAS schema , How would the below Pet object represented in real request/response payload ?
      "Pet": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewPet"
          },
          {
            "type": "array",
            "$ref": "#/components/schemas/NewPet"
          }
        ]
      }

Or even it is valid OAS schema (i.e. as per Online Swagger Parser) after all , we need to bit more diligent while constructing the schema (i.e. may be introduce another object of with name NewPets, which has property pet which is array of NewPet , and just $ref the NewPets directly inside allOf )

Looking at your example you are saying a Pet instance must match all of the sub-schemas. In one of which NewPet must be type: object and in the other, you have a sibling property of the $ref (only valid in OAS 3.1) where you say the type must be an array.
Is what you intended:
pet:
  oneOf:
    - $ref: "#/components/schemas/NewPet"
    - type: array
       items:
         $ref: "#/components/schemas/NewPet"

I apologise for trying to answer a different question than the one you asked, but to come back to your query, yes this is valid OAS syntax, but it may not do what you want.
How such a schema (yours or mine) is represented in a real request/response is largely a function of tooling, not the specification itself and thus is out of scope for this repository.

I see you have opened a similar issue over at JSON Schema, so I'll close this now.


libnma: 1.8.36 -> 1.8.38

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for libnma is: "NetworkManager UI utilities (libnm version)"
meta.homepage for libnma is: "https://gitlab.gnome.org/GNOME/libnma"
meta.changelog for libnma is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.38 with grep in /nix/store/4llba668xjyc14bh9m0vllm4pxlhvhf3-libnma-1.8.38

found 1.8.38 in filename of file in /nix/store/4llba668xjyc14bh9m0vllm4pxlhvhf3-libnma-1.8.38

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

45 total rebuild path(s)

43 package rebuild(s)

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

First fifty rebuilds by attrpath
adapta-gtk-theme
chrome-gnome-shell
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
gnome.gnome-control-center
gnome.gnome-initial-setup
gnome.gnome-session
gnome.gnome-shell
gnome.gnome-terminal
gnome.gnome-tweaks
gnome.networkmanager-fortisslvpn
gnome.networkmanager-iodine
gnome.networkmanager-l2tp
gnome.networkmanager-openconnect
gnome.networkmanager-openvpn
gnome.networkmanager-vpnc
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
gnomeExtensions.night-theme-switcher
gnomeExtensions.system-monitor
libnma
libnma-gtk4
networkmanager-fortisslvpn
networkmanager-iodine
networkmanager-l2tp
networkmanager-openconnect
networkmanager-openvpn
networkmanager-sstp
networkmanager-vpnc
networkmanager_strongswan
networkmanagerapplet
pantheon.elementary-greeter
pantheon.elementary-session-settings
pantheon.switchboard-plug-network
pantheon.switchboard-with-plugs
pantheon.wingpanel-applications-menu
pantheon.wingpanel-indicator-network
pantheon.wingpanel-with-indicators
phosh
vimix-gtk-themes
whitesur-gtk-theme

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey for testing.

@ofborg build libnma-gtk4


Problem with fresh installation

Hi, im quite new to minecraft server management and those plugin.
Im installing rpgitems just like the instruction but im getting this error. I can create item but when i use it, it deals no damage to mob. Im trying to get some command help but im getting no description and no usage information.

There's some MISSING LANG too, i've read FAQ but i cant understand what does it mean. Creating new dir called lang on RPGItems dir?

MISSING_LANG is an internal error when language file like en_US.yml don't contain correspoding string.
You can add it freely in language file and reload, most of them are harmless. Just missing of help strings.
language file is located at RPGItems/.yml you can change your language in config.yml.

try
/rpgitem damage
/rpgitem power
/rpgitem condition
/rpgitem marker
and use tab complete.

I'll try those and let you know whether it's work or not

try to use a lower version of minecraft like 1.13, 1.14 and test if it works. We've tested upgrading version by version.
But structure of item has changed so much. I cann't say for sure.


Consider dry-run the release pipeline for each PR

any change to the release pipeline could break it without getting noticed.

Another option is to ensure folks test out their changes to the release pipeline in a fork and link a successful run in order to merge the PR

yeah, we need to ask reviewer / maintainer of this repo to especially pay attention to any changes to the release.yaml


[BUG] Build doc with no pch is broken

Example:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/bit_flip.hpp:25:37: error: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Werror,-Wsign-compare]
    EVE_ASSERT(eve::all(i >= 0 && i < S8), "some index elements are out or range");
                                  ~ ^ ~~
/home/dyarosh/space/eve/include/eve/assert.hpp:23:12: note: expanded from macro 'EVE_ASSERT'
      if(!(cond))

there is a lot

By doc, you mean doxygen or doc tests ?

I think I fixed it already

Yes it looks like it. I will keep this open to ADD a no pch doc test for future issue detection

Oh, well, let's close this one and keep #1625


IvoSoft.ClassicShell version 4, 3, 1, 0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?

[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Please enter the version properly. Instead of 4, 3, 1, 0 use <IP_ADDRESS>.


Select a single point to drag when multiple points are at the same location

I have a scatter plot that will have multiple points at the same location.
I can easily determine the n points at that location, but is there a way to select only the one I want to drag.
Is this some sort of z-index problem, needing to bring the one I want to the top?
BTW, I am loving this plugin!

Hey @samcov,
Thanks for raising an issue!
Would you mind setting up a jsFiddle/CodeSandbox or similar showing that scatter plot with multiple points at the same spot? I'm assuming you are using the type: 'bubble' for this, but I'm not sure about the best way to solve the issue and it would certainly help to fiddle around with something!
Best
Chris

Thanks for the quick response, here is the fiddle: https://jsfiddle.net/samcov/L1cfbaun/13/
There are 4 data points, however, 3 are on the same location at 5.3(red line). Whenever I drag, I always get the first one, but what if I want to move the 3rd one?
Around line 90 of the JS is where I determine which points are available.

Thanks for the fiddle! I understand the problem, but could you elaborate a little more on your use case? Why are there multiple points for the same x-axis value, and what's the purpose of the scatter chart here?
Apart from the technical feasibility, I'm just trying to see if there's another UI approach that might be more appropriate to achieve what you want.

I have people that may have the same rating(y), that line up in the same zone(x). I could move the point slightly to the side, but the names would still collide(see pic).
After further research, I'm not sure it's your problem, but a chartjs issue, which they may have solved, however I'm not sure how to use it. It's called setting a point to be active, which, they say, will make sure it's drawn on top, but I don't know where they going with that, see:

Statement of the problem: https://github.com/chartjs/Chart.js/issues/6904
Chartjs solution: https://github.com/chartjs/Chart.js/pull/6944

Hmm that's tough... I mean specifically you want to be able to drag any point/name, no matter it's current z-index, right? From a UI perspective, it would be best if overlapping points/names would be shown next to each other rather than overlapping. I guess otherwise it's almost impossible to decide which point a user intends to drag, which most certainly lead to a frustrating UX/DX.
As far as I know your request is stretching the capabilities of (vanilla) Chart.js, so you might want to consider using d3 instead?
A different, yet simple idea would be to use grouped horizontal bar charts for each group:

Personally, I think this approach has a couple of benefits from a UI perspective, as there are no overlaps and you can still use the dragging gesture...
Here's the accompanying fiddle:
https://jsfiddle.net/3f8Laowj/7/

That's an interesting UI/UX thought!!!  I'll consider it.
Also, thanks so much for your time, I really appreciate it.


Correct spelling mistake

Bring-you-own -> Bring-your-own

Docs Build status updates of commit e1004fa:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/hosting/WebView2.md
:warning:Warning

Details

microsoft-edge/hosting/WebView2.md

Line 17: [Warning] Invalid file link: 'webview2/ReleaseNotes'.
Line 25: [Warning] Invalid file link: 'webview2/gettingstarted'.
Line 25: [Warning] Invalid file link: 'webview2/reference-webview2'.
Line 25: [Warning] Invalid file link: 'webview2/ReleaseNotes'.

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

#close as fixed.


AGENT_LOG:: Connection to MQTT Broker at: tcp://localhost:1886 failed

[INFO] TransportUtils - The IP String - 'XMPP:' is invalid. It needs to be in format '<PROTOCOL>://<HOST>:<PORT>'.
[ERROR] AgentManager - XMPP Endpoint String - XMPP:, provided in the configuration file is invalid.
[INFO] MQTTTransportHandler - MQTT subscriber was created with ClientID : admin:1h7tr8keob3hh
AGENT_LOG:: Connection to MQTT Broker at: tcp://localhost:1886 failed. Reference: https://wso2.org/jira/browse/IOTS-529

hi, geethkokila. I still get this issue in iot-server-3.3.0. How can I avoid this?
I have use the change-ip script to change 'localhost' to my IP.  And the virtual fire alarm sample throw this error:
12:30:05 [WARN] FireAlarmMQTTCommunicator - AGENT_LOG:: Connection to MQTT Broker at: tcp://<IP_ADDRESS>:1886 failed.
 Will retry in 5000 milli-seconds.
12:30:05 [INFO] AgentUtilOperations - AGENT_LOG:: Request to refresh OAuth token was sent to [http://<IP_ADDRESS>:8280/token] with payload [grant_type=refresh_token&refresh_token=a9f9b7bf-7e62-384c-9934-486cb773e2e0&scope=device_type_virtual_firealarm device_vbbtjqlmqb75].
12:30:05 [INFO] AgentUtilOperations - AGENT_LOG:: Response [401:Unauthorized] was received for token refresh attempt.
12:30:05 [WARN] AgentUtilOperations - AGENT_LOG:: There was an issue with refreshing the Access Token.

Then I disable broker authentication and authorization following this link
but still not working. Can you help with this? Thanks.
Andes


Possible issue with 'setAttributes' when attribute doesn't exist?

Currently, this library generates an error when a non-existing AD attribute is passed as part of the modification object to the setAttribute method.  Orginally, according to the ldapjsv3 docs:

Adds the attribute value(s) referenced in modification. The attribute may or may not already exist.

Not sure if this is actually the case.  When I perform my own tests by changing the 'replace' operation in the setAttributes method in the library code (for suggestion as a PR), the condition still fails.  Not sure what the solution is, but it appears as if unless all the attribute in the modification object already exists, the setAttributes method will fail with an error.
Also, if the attribute value is not a string - it also fails!  I recommemd changing the code for this method to as follows:
async setAttributes(dn, modification) {
        const changes = Object.entries(modification).map(([attr, val]) =>
            new ldapjs_1.Change({ 'operation': 'replace', 'modification': { type: attr, values: Array.isArray(val) ? val : (val == null ? [] : [ val.toString() ]) }})
        );
        return await this.modify(dn, changes);
    }

So, I have an automated test for setting an attribute on a person that doesn't have that attribute yet, and it works. It sounds like you might be trying to add a brand new attribute that isn't part of the schema for the class you're editing? When I try to do that, I get the error "Undefined Attribute Type". Is that what you see?
I don't know a lot about actually administering an AD server, but I think you have to create a new schema for a class that inherits the current class on your object, then add new attributes to that schema. Once the attributes exist in the schema and the object is re-classed to your subclass, you'd be able to use setAttribute successfully. I think it's outside the scope of setAttribute to do any of those steps for you.
I'm adding an automated test for setting an attribute with a number and pushing up a fix for it.

Thank you as always for your prompt and complete replies @wickning1.  You were correct!  I was attempting to add an attribute that wasn't defined in the schema and that is why I was getting the error.  I'm going to close this issue as I think your response to both my issues are resolved based on your answers.


Documentation missing

Documentation is missing to change the default monerod password of "monerobox" to something different.
I have tried to figure this out with the intention of me writing up this documentation and adding a pull request for it, but I have been having trouble, so I opened this issue.

I see the login/password here during setup, but I'm not clear on how to change that after it is all running.
https://github.com/monero-ecosystem/monerobox/blob/master/settings/monerod.conf.4gb#L11

closing this issue as this is a depricated project


Change shape of storage.BucketFinder interface

This is an issue to track some clean-up work in lieu of the introduction of the tenant service.
The storage package retention enforcer depends upon a BucketFinder to fetch all buckets.
https://github.com/influxdata/influxdb/blob/master/storage/retention.go#L32-L35
This interface is a reflection of the original influxdb.BucketService interface. When called by the enforcer it provides an empty influxdb.FindOptions{} to signify that it wants to find all buckets.
However, as we move towards stricter service boundaries the tenant implementation enforces that an empty influxdb.FindOptions{} means that the default limit is applied. The caller is expected to paginate their call to this service.
The original kv implementation is still usage by storage. However, in order for tenant to be consumed I propose this interface definition be changed to:
type AllBucketsFinder interface {
    FindAllBuckets(context.Context) ([]*influxdb.Bucket, error)
}

Then a type defined which implements this interface and does the pagination across the original influxdb.BucketService interface.
Implementation

Define storage.AllBucketsFinder interface in storage/retention.go.
Implement a PagingAllBucketsFinder which depends on the original storage.BucketsFinder interface and does the paginated walk.
Replace existing buckets finder with this new one.

Success Criteria

No observed change in behaviour.
Storage depends on tenant implementation of bucket service via paginated one.

Delivered


TypeError converting project, possibly related to being generated by STM32Cube

I am trying to use your project to make a cmake file out of a uVision file that was generated from STM32Cube. When I run the main.py script on the project I get the following output:
Using µVision5 Project File 'G:\Users\allenb\Project\tim2_pwm\MDK-ARM\tim2_pwm.uvprojx'
Traceback (most recent call last):
  File "main.py", line 879, in <module>
    main()
  File "main.py", line 852, in main
    uvp = UVisionProject.new(project_path)
  File "main.py", line 455, in new
    ) for target in xproj.xpath("Targets/Target")
  File "main.py", line 455, in <listcomp>
    ) for target in xproj.xpath("Targets/Target")
  File "main.py", line 376, in <genexpr>
    ) for to in target.xpath("TargetOption")
  File "main.py", line 369, in <genexpr>
    ) for tco in to.xpath("TargetCommonOption")
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I have attached the project if that is helpful and would be happy to contribute to debugging however I can.
problem.zip

Quick fix would be to change
device_id=int(text(tco, "DeviceId")),
in line 367 to
device_id=int(text(tco, "DeviceId")) if text(tco, "DeviceId") else None,.
Thank you for your issue, this project is basically made by trial-and-error, but I only used Nordic nRF5 SDK files for testing (that's what I needed this tool for). I will try to generate a few projects using STM32Cube and update during the week.
Moreover, I also posted to Keil forum in hope to get a useful response and sort it all out systematically.


[SUPPORT] write data skew when  cow type table write data to parquet

when Doing partition and writing data: tenant
i find write data skew

this step cost 9.8 min

task with index 2 cost 9.8min

and this task write parquet file size  792329527 bigger than other file.
write this bigger file cost much more time than other file
is there parameter to tuning  that the bigger file can be smaller 。then task can concurrency process file。
it seem like i need rewrite whole table to make file sizes more even。
current hudi config
hoodie.insert.shuffle.parallelism 200
hoodie.upsert.shuffle.parallelism 200
INDEX_TYPE BLOOM
hoodie.parquet.compression.ratio 0.1
hoodie.parquet.max.file.size 125829120
hoodie.copyonwrite.record.size.estimate 300
Environment Description

Hudi version :0.11.1

Spark version :3.2.2

Hive version :3.1.3

Hadoop version :3.3.2

Did you try the BUCKET index, it will distribute the keys evenly among buckets, while the bloom_filter index will always try to append to the small buckets first.

@danny0405 thanks you replay. current we do not try bucket index .do you mean in the current situation that we use bloom index. if we don't change index type ,then we want file evenly distributed .we only can reimport table currently

@ad1happy2go sorry,I haven't tried it yet because this code has been running in production for a long time. Are there any considerations or documentation links you can provide if switching from bucket index to bloom index? Thank you very much

@ad1happy2go I also have a question, is it possible that if I don't want to change the index type, I can rewrite the table, as it's not very large?


Remove the deprecating armeabi ABI from build

Purpose:

remove armeabi
use default for ABI when possible for samples ( for r16, the default is x86, x86-64, armeabi-v7a, arm64-v8a)
For ndk-build + gradle, remove explicit clang usage since it is default for r16

will add another branch to deal with CMake's usage for default stl and compiler after fully configuring one or two samples.
@DanAlbert  @jomof please take a look


Gme crash when generating world

I'm create new world in singleplayer and game crash
http://pastebin.com/QhveaZp4
Flaxbeard'sSteamPower-1.7.10-0.28.3
Flaxbeard'sSteamPower-1.7.10-0.28.2 all OK

Fixed in next version


Feature/1364 add option button for checkbox component

This... was... not... easy!!
Can now add/remove items (the easiest bit) AND control with keyboard AND the remove button is wrapped in one of those annoying menu pop up things. Oh, wait. Just remembered I forgot the Alert/Dialog for "Are you sure". Oh well, it's a start.

To anyone considering review...
Due to scrappy nature of creating this PR, I'm going to ditch it and raise a clean one.
Just leaving this here until I do that.

Replacing this PR with a clean version (on different branch feature/1336-add-option-button-for-radio-component)


Suggestions for improvements

Hi Bert-Jan,
I apologize for reaching out through this platform, as I encountered difficulty contacting you directly on LinkedIn without a premium account.
Upon utilizing the DFIR script in my environment, I identified areas for potential enhancement, despite its already great functionality.

Compress-Archive limitations. This cmdlet can only create archive of 2GB max, alternatively you can use the .NET System.IO.Compression.ZipFile class directly. This will allow you to compress a folder larger than 2GB:

Load the assembly containing the ZipFile class
Add-Type -AssemblyName System.IO.Compression.FileSystem
Compress the folder to a zip file
[System.IO.Compression.ZipFile]::CreateFromDirectory($sourceFolderPath, $destinationZipPath)

Create a new function to collect the Powershell console history of ALL users (domain and local) that logged on the compromised workstation/server. Below is the new function that you could use to achieve this:

function Get-PowershellConsoleHistory-AllUsers {
Write-Host "Collection Console Powershell History..."
$PowershellConsoleHistory = "$FolderCreation\ConsolePowershellHistory"
mkdir -Force $PowershellConsoleHistory | Out-Null
# Specify the directory where user profiles are stored
$usersDirectory = "C:\Users"
# Get a list of all user directories in C:\Users
$userDirectories = Get-ChildItem -Path $usersDirectory -Directory
foreach ($userDir in $userDirectories) {
    $userName = $userDir.Name
    $historyFilePath = Join-Path -Path $userDir.FullName -ChildPath "AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt"
    if (Test-Path -Path $historyFilePath -PathType Leaf) {
        $outputDirectory = "$PowershellConsoleHistory\$userDir.Name"
        mkdir -Force $outputDirectory | Out-Null
        Copy-Item -Path $historyFilePath -Destination $outputDirectory -Force
    }
}

}

Only collect the .log files from the MPLogs folder. The MPLogs folder seems to contain various type of files (eg .bin, .log). As an incident responder, I think the only valuable information are the .logs files. I re-wrote the function Get-MPLogs to only collect the .log files:

function Get-MPLogs {
Write-Host "Collecting MPLogs..."
$MPLogFolder = "$FolderCreation\MPLogs"
New-Item -Path $MPLogFolder -ItemType Directory -Force | Out-Null
$MPLogLocation = "C:\ProgramData\Microsoft\Windows Defender\Support"
$MPListFiles = Get-ChildItem -Path $MPLogLocation -Name "*.log"
foreach ($file in $MPListFiles){
Copy-Item -Path $MPLogLocation$file -Destination $MPLogFolder
}
}

Delete the original folder upon completion of the archive. The evidence collected can be relatively large (depending on the environment) so I'd suggest to remove the original folder in the Zip-Results function.

Remove-Item -Path $FolderCreation -Recurse
Hope you find this useful
Jamal
Linkedin: https://www.linkedin.com/in/jamal-lalaoui-695a8624/

Hi Jamal,
Thank you for listing the improvements! I will have a better look in the upcoming week(s). Really appreciate the feedback.
Bert-Jan

The last two additions are implemented in version DFIR PowerShell V2.1.0.


kevent-demo doesn't compile on Linux

The kevent-demo added in https://github.com/rene0/dcf77pi/commit/1c1b5c41dadee5c5341fb8887020d092f58cb517 doesn't compile on linux due to the lack of sys/event.h. It would be good to exclude that file when compiling on Linux.

Thanks for noticing, I verified that kevent-demo indeed fails to build on Ubuntu 18.04. The underlying problem is that the kevent API is only available on FreeBSD, which my Raspberry Pi runs normally.
The idea of kevent-demo and the "interrupt"  branch is to figure out a cross-platform (at least Linux and FreeBSD) method to get a more precise timing on the pulses than what is currently done using the nanosleep call, which tends to sleep in. At a sample rate of 1000 Hz it looses about 6% of the samples each second. Alternatives to using the kevent API might be to send an signal (SIGALRM) to ourselves each millisecond (or whatever you set hw.freq in config.json to), or probably better using the setitimer call (see https://nativeguru.wordpress.com/2015/02/19/why-you-should-avoid-using-sigalrm-for-timer/ for some nice story).

Is there a reason real interrupts aren't used instead of polling?

No, it just started out that way, as something that worked on my Raspberry Pi 1B.

Makes sense.
Just mentioning that sysfs has been deprecated and some distros already only have chardev, if at some point chardev support was to be added, it might be optimal to see if interrupts could be used?

It looks like chardev support is more important for the Linux port, I'll replace the legacy sysfs code with that. The latest Raspbian runs kernel 4.19 which supports both ways of interfacing with GPIO.


Basic ACL config file crashes

Hello,
I'm using this role in a three servers scenario. I set the following env variables for an initial deploy
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic

#Variables set
$ export CONSUL_VERSION=1.1.0
$ export CONSUL_ACL_ENABLE=true
$ export CONSUL_ACL_MASTER_TOKEN_DISPLAY=true
$ export CONSUL_ACL_MASTER_TOKEN=$(uuidgen)

And it works, during the midplay I can recover the new uuidgen instead of the generic one (42424242...  by the way, we could use the Jinja filter  {{ somestring | to_uuid }}  for generating a random token since Ansible 1.9 but this is not the deal of this issue).
The Issue begins when I set the variable consul_acl_policy: false to consul_acl_policy: true in default vars file. The deployment finishes successfully but consul daemon wont start.
● consul.service - Consul agent
   Loaded: loaded (/lib/systemd/system/consul.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2018-06-13 12:41:57 UTC; 7s ago
  Process: 26126 ExecStart=/usr/local/bin/consul agent -config-file=/etc/consul/config.json -config-dir=/etc/consul/consul.d -pid-file=/var/run/consul/consul.pid (code=exited, status=2)
  Process: 26125 ExecStartPre=/bin/chown -R consul:bin /var/run/consul (code=exited, status=0/SUCCESS)
  Process: 26117 ExecStartPre=/bin/mkdir -p /var/run/consul (code=exited, status=0/SUCCESS)
 Main PID: 26126 (code=exited, status=2)

Executing consul manually this error appears:
panic: key: []map[string]interface{} with more than one element not supported: [map[:[map[policy:read]]] map[foo/:[map[policy:write]]] map[foo/private/:[map[policy:deny]]]]

goroutine 1 [running]:
github.com/hashicorp/consul/agent/config.patchValue(0xc42034b8cd, 0x3, 0x1161cc0, 0xc420324720, 0xc420397a00, 0x6, 0x6, 0x1184340, 0xc4202dd740)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:57 +0x9fd
github.com/hashicorp/consul/agent/config.patchValue(0x0, 0x0, 0x1260040, 0xc4203a8ab0, 0xc420397a00, 0x6, 0x6, 0x0, 0x0)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:24 +0x181
github.com/hashicorp/consul/agent/config.patchSliceOfMaps(0xc4203a8ab0, 0xc420397a00, 0x6, 0x6, 0x0)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:8 +0x61
github.com/hashicorp/consul/agent/config.Parse(0xc4202c6e00, 0x366, 0x14f06ec, 0x3, 0x0, 0xc4203ef610, 0xc4203ef650, 0xc4203ef680, 0x0, 0xc42034a630, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/config.go:80 +0x258
github.com/hashicorp/consul/agent/config.(*Builder).Build(0xc420263800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/builder.go:273 +0x886
github.com/hashicorp/consul/agent/config.(*Builder).BuildAndValidate(0xc420263800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/builder.go:212 +0x7b
github.com/hashicorp/consul/command/agent.(*cmd).readConfig(0xc420262800, 0x37)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:101 +0x13d
github.com/hashicorp/consul/command/agent.(*cmd).run(0xc420262800, 0xc42002e160, 0x3, 0x3, 0x0)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:319 +0x8b
github.com/hashicorp/consul/command/agent.(*cmd).Run(0xc420262800, 0xc42002e160, 0x3, 0x3, 0xc420267400)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:78 +0x50
github.com/hashicorp/consul/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4201d3320, 0xc4201d3320, 0x40, 0xc420267900)
	/gopath/src/github.com/hashicorp/consul/vendor/github.com/mitchellh/cli/cli.go:242 +0x1eb
main.realMain(0xc42007c058)
	/gopath/src/github.com/hashicorp/consul/main.go:52 +0x3ee
main.main()
	/gopath/src/github.com/hashicorp/consul/main.go:19 +0x22
ubuntu@consul-server-2:~$

It seems there is a problem with the hcl file created on /etc/consul/consul.d/50acl_policy.hcl
# Default all keys to read-only
key "" {
  policy = "read"
}
key "foo/" {
  policy = "write"
}
key "foo/private/" {
  # Deny access to the dir "foo/private"
  policy = "deny"
}

# Default all services to allow registration. Also permits all
# services to be discovered.
service "" {
    policy = "write"
}

# Deny registration access to services prefixed "secure-".
# Discovery of the service is still allowed in read mode.
service "secure-" {
    policy = "read"
}

# Allow firing any user event by default.
event "" {
    policy = "write"
}

# Deny firing events prefixed with "destroy-".
event "destroy-" {
    policy = "deny"
}

# Default prepared queries to read-only.
query "" {
    policy = "read"
}

# Read-only mode for the encryption keyring by default (list only)
keyring = "read"

# Read-only mode for Consul operator interfaces (list only)
operator = "read"

Addming more debugging about this: I've been testing by deleting one by one and also just inserting the basic HCL policies also crashes.
key "" {
  policy = "read"
}
key "foo" {
  policy = "write"
}
key "bar" {
  policy = "deny"
}

Moving configuration file and just setting config-dir also not working
sudo mv /etc/consul/config.json /etc/consul/consul.d/config.json
root@consul-server-2:/etc/consul/consul.d# sudo /usr/local/bin/consul agent -config-dir=/etc/consul/consul.d -pid-file=/var/run/consul/consul.pid
panic: key: []map[string]interface{} with more than one element not supported: [map[:[map[policy:deny]]] map[bar:[map[policy:list]]] map[baz:[map[policy:read]]]]

goroutine 1 [running]:
github.com/hashicorp/consul/agent/config.patchValue(0xc42009f03b, 0x3, 0x1161cc0, 0xc42038c7e0, 0xc4203e5a00, 0x6, 0x6, 0xc42002e120, 0x0)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:57 +0x9fd
github.com/hashicorp/consul/agent/config.patchValue(0x0, 0x0, 0x1260040, 0xc4203a6630, 0xc4203e5a00, 0x6, 0x6, 0x0, 0x0)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:24 +0x181
github.com/hashicorp/consul/agent/config.patchSliceOfMaps(0xc4203a6630, 0xc4203e5a00, 0x6, 0x6, 0x0)
	/gopath/src/github.com/hashicorp/consul/agent/config/patch_hcl.go:8 +0x61
github.com/hashicorp/consul/agent/config.Parse(0xc420079ec0, 0x5c, 0x14f06ec, 0x3, 0x0, 0x0, 0xc4200a13f0, 0xc4200a1430, 0x0, 0xc42009e630, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/config.go:80 +0x258
github.com/hashicorp/consul/agent/config.(*Builder).Build(0xc420263800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/builder.go:273 +0x886
github.com/hashicorp/consul/agent/config.(*Builder).BuildAndValidate(0xc420263800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/gopath/src/github.com/hashicorp/consul/agent/config/builder.go:212 +0x7b
github.com/hashicorp/consul/command/agent.(*cmd).readConfig(0xc420262800, 0x37)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:101 +0x13d
github.com/hashicorp/consul/command/agent.(*cmd).run(0xc420262800, 0xc42002e0a0, 0x2, 0x2, 0x0)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:319 +0x8b
github.com/hashicorp/consul/command/agent.(*cmd).Run(0xc420262800, 0xc42002e0a0, 0x2, 0x2, 0xc420267840)
	/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:78 +0x50
github.com/hashicorp/consul/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4201d18c0, 0xc4201d18c0, 0x40, 0xc420267900)
	/gopath/src/github.com/hashicorp/consul/vendor/github.com/mitchellh/cli/cli.go:242 +0x1eb
main.realMain(0xc420078058)
	/gopath/src/github.com/hashicorp/consul/main.go:52 +0x3ee
main.main()
	/gopath/src/github.com/hashicorp/consul/main.go:19 +0x22

Hey @aparedero  any chance you successfully worked through this? I'm hitting it as well and am getting ready to tuck in, wanted to check if you managed to solve this before I do though. I see you forked the repo but I'm not seeing any pushed commits that might fix this.
Will followup when I make more progress on this.

I took a first cut at making this work. This branch on my fork https://github.com/MikeStankavich/ansible-consul/tree/sample_acls works in my test environment but it's far from thoroughly tested yet. You're welcome to give it a try. I'll be glad to fix any issues you might find, and I can create a PR for it if/when it's good enough to consider merging.

Any news with this issue? Problem still exists :/

I ran across this same issue. The problem is that this ACL configuration is actually supposed to be applied via the Consul ACL HTTP API or CLI using consul acl policy create. It is not possible to set this config via the Consul's agent config files as this role attempting to do.
The role should be modified to apply the ACL config using Ansible's consul_acl, uri, or command modules.
I'll try to find some time over the weekend to submit a PR.

I am still seeing this issue. It works when i manually delete 50acl_policy.hcl file from consul.d but thats giving complete write access to acl ui token.


Warn users about potentially breaking Anaconda's new TOS

As conda-mirror maintainers, we should probably consider warning users that they may be breaking Anaconda's new terms of service for repo.anaconda.com unless either of the following is true:

They have an existing commercial relationship with Anaconda
They are not a large-scale commercial entity, specifically referring to this line in the new TOS, we are not granting you permission to use the Repository for large-scale commercial activities, such as downloading or mirroring the entire Repository or use of the Repository by multiple members of the business you work for.

I've got a draft PR that implements what I think is a reasonable message, though I'm sure we will need to update the language based on folks opinions.
Before we get to the specific language in the warning / error message though, is anyone opposed to forcing users to address the TOS changes in conda-mirror itself *if they are using Anaconda's channels on repo.anaconda.com or repo.continuum.io?

I would also welcome the idea of adding support for people who already are in a commercial relationship with Anaconda.
This would basically mean to incorporate a security token to access private/commercial channels.

Perhaps the relevant Anaconda channels should be added to a default forbidden channel list that the user must
explicitly override in order to download from those channels.


Args.Parse`1 returns null

I have a simple test case which I cannot get to work.
[ArgExceptionBehavior(ArgExceptionPolicy.StandardExceptionHandling)]
private class ProgramArgs
{
    public string MyArg { get; set; }
}

static void Main(string[] args)
{
    var typedArgs = Args.Parse<ProgramArgs>(args);
    Console.WriteLine("Parse returned " + typedArgs == null ? "null" : "a value");
}

I'm using version <IP_ADDRESS> from NuGet and project is .NET 4.5.2.

@jpierson
what is the value for args?
what happens?
what did you expect to happen?
I'll see if i can give you a hand

In your example, typedArgs will never be null.  typedArgs.Myarg will be null if the user did not specify a value for it.

No repro


Fix Ingress Rule Path CSS

Summary
Fixes #12011
Although I have not been able to reproduce a case where the definition breaks (https://codesandbox.io/p/sandbox/yy4cgk), this PR addresses the styling issue by correcting the :deep() definition got lost during the migration.
Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested
Navigate to Ingress edit > Rule path (e.g.: /c/local/explorer/networking.k8s.io.ingress/create#rules
Areas which could experience regressions

Screenshot/Video

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Wait why do you see it like this? It should not have gaps. Is it with Firefox?

Wait why do you see it like this? It should not have gaps. Is it with Firefox?

That's correct, I'm on Firefox. I'm willing to bet that this might have been an unintentional rendering bug that was left unreported.

Wait why do you see it like this? It should not have gaps. Is it with Firefox?

That's correct, I'm on Firefox. I'm willing to bet that this might have been an unintentional rendering bug that was left unreported.

This is how it looks for me on FF 130.0 (64-bit)

Wait why do you see it like this? It should not have gaps. Is it with Firefox?

That's correct, I'm on Firefox. I'm willing to bet that this might have been an unintentional rendering bug that was left unreported.

Ok found out the issue: it's the UI to is not responsive, the same problem happens on Chrome. We probably are full of these types of issues which we are not going to tackle now.


Feature: multi-arch builds with make and docker buildx

Type of feature
🍕 Feature
Current behavior
Currently, the only architecture that is being built with make build is the one from the current users machine. I.e., when building images from my M1 Mac, it creates arm based images.
Suggested solution
We should support multi-arch image manifests so we can support running on either arm or x86.
Typically these days, this is done via docker buildx and has been pretty well documented at this point: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

lemme submit a PR


Update to latest CppWinRT

New CppWinRT has binary size optimizations we want. Updating to latest.

/azp run


KAFKA-10218: Stop reading config topic in every subsequent tick if catchup fails once

Jira
We added a canReadConfigs field to the DistributedHerder a while back that gets set to false if the herder fails to catch up to the end of the config topic, but never gets set to true again if catchup succeeds at a later point.
This PR adds logic to reset it to true when it's safe to.
A single unit test is tweaked to ensure that the herder doesn't keep unnecessarily trying to catch up to the end of the config topic during every tick.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ok to test

@gharris1727 @chia7712 @ncliang would any of you be interested in reviewing this?

retest this please


python36Packages.pyfiglet: 0.7.5 -> 0.7.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-pyfiglet/versions.
meta.description for python36Packages.pyfiglet is: '"FIGlet in pure Python"'.

Checks done (click to expand)

built on NixOS
/nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/bin/.pyfiglet-wrapped passed the binary check.
/nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/bin/pyfiglet passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 0.7.6 with grep in /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6
directory tree listing: https://gist.github.com/c429e8289b5feb1100dfb9463c379ec7
du listing: https://gist.github.com/9407637248adccd4df014f377dc23cdd

Outpath report (click to expand)

Outpath difference report
24 total rebuild paths
6 package rebuilds
6 x86_64-linux rebuilds
6 i686-linux rebuilds
6 x86_64-darwin rebuilds
6 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.pyfiglet
python27Packages.rainbowstream
python36Packages.pyfiglet
python36Packages.rainbowstream
rainbowstream
termdown

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.pyfiglet https://github.com/r-ryantm/nixpkgs/archive/5d0295acb6e17d2457f5134159ca00f8078ce14b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6
ls -la /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/bin

cc @thoughtpolice for testing.

Success on x86_64-linux (full log)
Attempted: python36Packages.pyfiglet
Partial log (click to expand)
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pyfiglet-0.7.6
/build/pyfiglet-0.7.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/lib  /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/bin
patching script interpreter paths in /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6
checking for references to /build in /nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6...
wrapping `/nix/store/l7yxy5yzv52fisrdmsa4kifawrnqr5v7-python3.6-pyfiglet-0.7.6/bin/pyfiglet'...

Success on x86_64-darwin (full log)
Attempted: python36Packages.pyfiglet
Partial log (click to expand)
Installing collected packages: pyfiglet
  The script pyfiglet is installed in '/nix/store/jvwcr4m48dbd7k9wblq6g46nr39j2s8g-python3.6-pyfiglet-0.7.6/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pyfiglet-0.7.6
/private/tmp/nix-build-python3.6-pyfiglet-0.7.6.drv-0/pyfiglet-0.7.6
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/jvwcr4m48dbd7k9wblq6g46nr39j2s8g-python3.6-pyfiglet-0.7.6/lib  /nix/store/jvwcr4m48dbd7k9wblq6g46nr39j2s8g-python3.6-pyfiglet-0.7.6/bin
patching script interpreter paths in /nix/store/jvwcr4m48dbd7k9wblq6g46nr39j2s8g-python3.6-pyfiglet-0.7.6
wrapping `/nix/store/jvwcr4m48dbd7k9wblq6g46nr39j2s8g-python3.6-pyfiglet-0.7.6/bin/pyfiglet'...

Success on aarch64-linux (full log)
Attempted: python36Packages.pyfiglet
Partial log (click to expand)
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pyfiglet-0.7.6
/build/pyfiglet-0.7.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6/lib  /nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6/bin
patching script interpreter paths in /nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6
checking for references to /build in /nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6...
wrapping `/nix/store/9cdldir8zgrv6bm9yvi711w9sqr26jmg-python3.6-pyfiglet-0.7.6/bin/pyfiglet'...


Issue when trying to generate

Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6: artwork uploader exited with status: 1 and error: Error while parsing imgur response from

503 client read error

Error 503 client read error
client read error
Error 54113
Details: cache-iad-kjyo7100155-IAD<PHONE_NUMBER><PHONE_NUMBER>

Varnish cache server

: expected value at line 2 column 1

HTTP 503 means service unavailable, so it seems that imgur or a part of it is down. Nothing that I can do about that. You just need to wait until it starts working again

HTTP 503 means service unavailable, so it seems that imgur or a part of it is down. Nothing that I can do about that. You just need to wait until it starts working again

Ohhhh okay thanks for clearing that up i see


Add additional type Text

A new type needs to be added which is called text for things and actions.
Text properties;

Text is stored as a string but not indexed.
Text should not be searchable in GraphQL. For example in a where clause, if the path contains a text value it should not be processed.

Todo:

[x] @laura-ham, add above-mentioned behavior to the prototype.
[x] @JeroenStravers1,  implement Laura's implementation.
[ ] @JeroenStravers1, handle filtering. If -for example- in a Get{} clause  the type text is used, respond with an error that texts are not searchable.
[ ] @moretea, add the functionality as mentioned above, behavior can be the same as a string with the exception that the content is not indexed.

An example in ontology: https://github.com/creativesoftwarefdn/weaviate/blob/develop/docs/en/use/ontology-schema.md

cc: @etiennedi for your test script ⬆

Someone ping me please once this is implemented in weaviate itself, I can easily add this to the verification script then. - Don't think it makes sense to do it in parallel as it'll just fail all the time until the field is ready.

This is complete and the meaning of text has changed a bit with 0.20.0.


Fix azure-cosmos changelog

Fix azure-cosmos changelog
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/cosmos/azure-cosmos/CHANGELOG.md

This is done.


Pass {fit,validate,test,predict} to setup()

What does this PR do?

Pass {fit,validate,test,predict} to setup()
Refactor teardown logic
Fix on_fit_{start,end}() getting called during trainer.test
Fix teardown('fit') getting called during trainer.test

Fixes #5658
Last step before trainer.validate()
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Hello @carmocca! Thanks for opening this PR.


[Tracker] OpenRouter LLM rankings tracking

Checklist

[X] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 2. Please use English, otherwise it will be closed.

Motivation
This issue is not a bug report or feature request, but just a record of tracking the current popular LLM.
From https://openrouter.ai/rankings Top this month, it can be known that, currently in addition to using the closed-source model APIs of OpenAI, Anthropic and Google, users also use open source LLM. The difference between OpenRouter and other rankings is that it better reflects the real usage scenarios and actual conditions of users.
The list shows that the currently mainly used series are Llama 3, Llama 3.1, Gemma 2, Mistral, Mixtral, and DeepSeek Coder V2. Besides these mentioned models, there are some based on these models through SFT, for example, MythoMax 13B is based on Llama 2, and WizardLM-2 8x22B is based on Mixtral 8x22B. These popular models are all supported in SGLang at present(August 19, 2024).
Related resources
No response

If there are open source LLMs being used in real production environments, please note that here we refer to the production environment (usually an enterprise-level data center), and it is not yet supported in SGLang. You are welcome to raise this issue here, and we will prioritize its support. Of course, it would be best if you could explain why your company (or team) needs support for this open source LLM and what scenarios you use it for.

ref https://github.com/sgl-project/sglang/issues/1283
note:
US: Llama 3.1, Gemma 2, Phi 3(TBD)
Europe: Mixtral
China: DeepSeek 2, Qwen 2


Extra empty error messages in Language edit error.

Description
It looks like the edit Language page/form renders some extra empty error messages when there is an error after saving. It's probably just some unnecessary styling or a loop going over all the possible error messages and not filtering out the inactive ones.
To Reproduce

Go to 'Language Edit'
Pick a language
Add a Term dictionary that's missing the "###"
See error screenshot below

Screenshots

Thanks!  The flask error messages were uglier to manage than I'd expected, perhaps due to my lack of experience with flask subforms etc.  This should be an easy fix, will take a look.

Thank you, fixed in develop.  The code feels a bit sloppy, but ... works.  (I feel so dirty saying that.)

Launched in 3.5.1.


v0.2

[ ] Get SSID, connect to BSSID
[ ] pseudo code for give access until specific date.
`if (epoch <= validuntil) { grantaccess() }
[x] fix status command in AP mode
[ ] add "available/used space on SPIFFS" to status

[ ] Add support for active low relays

I've fixed the status command in AP mode. The only thing i couldn't find is how to get the dns server when in AP mode
`
#ifdef ESP8266
extern "C" {
#include "user_interface.h"		// Used to get Wifi status information
}
#endif
void sendStatus() {
DynamicJsonBuffer jsonBuffer;
JsonObject& root = jsonBuffer.createObject();
int mode = WiFi.getMode(); //const char* modes[] = { "NULL", "STA", "AP", "STA+AP" };
struct ip_info info;

if (mode == 1) { //Station mode
	wifi_get_ip_info(STATION_IF, &info);
	struct station_config conf;
	wifi_station_get_config(&conf);
	root["ssid"] = String(reinterpret_cast<char*>(conf.ssid));
	root["dns"] = printIP(WiFi.dnsIP());
	root["mac"] = WiFi.macAddress();
} else if (mode == 2) { //SoftAP mode
	wifi_get_ip_info(SOFTAP_IF, &info);
	struct softap_config conf;
	wifi_softap_get_config(&conf);
	root["ssid"] = String(reinterpret_cast<char*>(conf.ssid));
	root["dns"] = "";
	root["mac"] = WiFi.softAPmacAddress();
}
IPAddress ipaddr = IPAddress(info.ip.addr);
IPAddress gwaddr = IPAddress(info.gw.addr);
IPAddress nmaddr = IPAddress(info.netmask.addr);
root["ip"] = printIP(ipaddr);
root["gateway"] = printIP(gwaddr);
root["netmask"] = printIP(nmaddr);

root["command"] = "status";
root["heap"] = ESP.getFreeHeap();
root["chipid"] = String(ESP.getChipId(), HEX);
root["cpu"] = ESP.getCpuFreqMHz();
root["availsize"] = ESP.getFreeSketchSpace();

size_t len = root.measureLength();
AsyncWebSocketMessageBuffer * buffer = ws.makeBuffer(len); //  creates a buffer (len + 1) for you.
if (buffer) {
	root.printTo((char *)buffer->get(), len + 1);
	ws.textAll(buffer);
}

}
`

give access untill specific date is also included in my fork Commit

added visualisation to see how much spiffs space is available commit
I was thinking is it not more logical to display space used instead of space available?

Nicely done thank you. I even did not understand how ESP8266 memory mapped. Heap and Flash calculations are just my assumptions based on Arduino IDE compile time feedback.
Most development boards have 16Mbit (4MB) flash. I believe we can get info about SPIFFS then make calculations.
struct FSInfo {
    size_t totalBytes;
    size_t usedBytes;

http://esp8266.github.io/Arduino/versions/2.0.0/doc/filesystem.html#info
I am stuck on Time. Timezones, UTC, GMT, conversions one from another, Day Light Saving (Summer Time) all these stuff making me pull my hair. I think i am going to give up on timing for now, and focus on fun stuff.

I've got the time from the ntpclient for now and it works fine. i've got a variable in which the UTC timezone can be set and it will adjust.
For the SPIFFS mapping i am indeed using FSInfo. this is however an estimate and is not perfectly correct but it is good enough for this use.
I am currently cleaning and testing my code. I though it might be usefull to come up with a general layout for the .ini file so it's easier to add and remove code.

The memory is not that hard to understand. I'm using the esp12 which has 4M memory
the first 1M is used for the .ini file (flash)
the other 3M is used for SPIFFS
The way you get the remaining flash space is good so nothing to worry about here. I'm not sure yet if "1044464" in the set.js file is correct though. There might be a way to check this in runtime

I did not mean flash memory but random access memory.
https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map
Just finished my NTP code, too both Javascript and ino. https://github.com/gmag11/NtpClient using this library now.
It's an overkill but at least does not throw exceptions as TimeLib

@rneurink Thank you, it means a lot. :+1:
Also shifted some goals to v0.4. This issue now can be closed.


[Docker] Can't launch docker run

Hello,
here is my problem, I can't launch docker run with my credentials variable. I have an error on 'utf-8' and no file for /usr/local/bin/noip-renew-skd.sh :
docker run --network host loblab/selenium:debian ${my_username} ${my_password} ${my_host_num} ${debug_lvl}
[2021/03/01 17:22:55] - Debug level: 1
[2021/03/01 17:22:55] - Opening https://www.noip.com/login...
[2021/03/01 17:22:58] - Logging in...
[2021/03/01 17:22:58] - 'utf-8' codec can't decode byte 0xff in position 1: invalid start byte
Traceback (most recent call last):
  File "/home/loblab/noip-renew.py", line 166, in run
    self.login()
  File "/home/loblab/noip-renew.py", line 76, in login
    ele_pwd.send_keys(base64.b64decode(self.password).decode('utf-8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 1: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/loblab/noip-renew.py", line 200, in <module>
    sys.exit(main())
  File "/home/loblab/noip-renew.py", line 181, in main
    return (Robot(noip_username, noip_password, debug)).run()
  File "/home/loblab/noip-renew.py", line 172, in run
    subprocess.call(['/usr/local/bin/noip-renew-skd.sh', "*", "*", "False"])
  File "/usr/lib/python3.7/subprocess.py", line 323, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/noip-renew-skd.sh': '/usr/local/bin/noip-renew-skd.sh'

What's the solution ?

@RomyxBaps I got the same problem. You need to convert your password to base64 by yourselves. You can edit the crontab with crontab -e and replace your password parameter with a base64 string.

@RomyxBaps @michaeleekk Could one of you show me what your crontab looks like?
What's wrong with mine?
12  3  *  *  1,3,5  docker run --network host loblab/selenium:debian ${dXXXXXX} ${GXXXXXX} ${1} ${2}

@geepy123456790123 you shouldn’t have the ${} in your crontab, unless you set the username and password in the environment variable. So if your username is “abcde” and password is “hello”, your docker command is,
docker run --network host loblab/selenium:debian abcde hello 2

and you might want to run the docker command manually in the shell once first, to make sure that the command works, and then paste the command back to crontab.


For ADVERSARIAL ASR, "docker bulid" returned a non-zero code: 2 when "RUN pip install tensorflow-gpu==1.13.1"

For examples/ADVERSARIAL ASR, "docker bulid" returned a non-zero code: 2 when "RUN pip install tensorflow-gpu==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple"
To Reproduce
Steps to reproduce the behavior:

export LINGVO_DEVICE="gpu"
sudo docker build --no-cache --tag tensorflow:lingvo $(test "$LINGVO_DEVICE" = "gpu" && echo "--build-arg base_image=nvidia/cuda:10.0-cudnn7-runtime-ubuntu16.04") - < lingvo/docker/dev.dockerfile
See error (Note that I add -i https://pypi.tuna.tsinghua.edu.cn/simple in the line for installing tensorflow-gpu==1.13.1 since it is too slow, but it did not work after adding the new source. )
......
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting tensorflow-gpu==1.13.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/24/8c/459eb5fdaa8666010b6a32244ddb92f4015cfc54156d612959625096601d/tensorflow_gpu-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl (345.2 MB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 188, in _main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/req_command.py", line 185, in wrapper
return func(self, options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/install.py", line 333, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
hashes=hashes,
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url
hashes=hashes,
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
link, downloader, temp_dir.path, hashes
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", line 281, in _download_http_url
for chunk in download.chunks:
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/progress_bars.py", line 166, in iter
for x in it:
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/network/utils.py", line 39, in response_chunks
decode_content=False,
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/response.py", line 439, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out.
The command '/bin/sh -c pip install tensorflow-gpu==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple' returned a non-zero code: 2

System configuration

ubuntu16.04
Python3.7

I hope someone can help me to deal with the question about "docker".

Hi @htZhang25 , unfortunately we can't provide support or maintenance for code in the examples/ directory. If you were eventually able to solve the problem, we very much welcome a PR to help fix it.

Hi @htZhang25 , unfortunately we can't provide support or maintenance for code in the examples/ directory. If you were eventually able to solve the problem, we very much welcome a PR to help fix it.


Flow 0.72, '' as error disables generic type usage with "" meaning "Use generic type, subtype does not matter"

ORIGINAL TEXT (obsolete, see UPDATE below)
First, I know it's listed in the changelog, but that is not "documentation". What does it mean that the * type, which meant "Flow - you figure this type out" AFAIK is deprecated? What am I to use, any? Isn't this worth an explanation??? I'm pretty sure that internally at FB you didn't just dump this on your developers, or did somebody just declare * as "deprecated" overnight and everybody else just nodded fervently, "of course it is!"?
Flow Blog has the last entry 16 March, so nothing in the blog either. Google writes such a nice blog entry for each new Chrome release with everything relevant for developers.
And why should I not use * anyway? I'm using it mostly as the subtype in some generics, when it does not matter which subtype it actually is. It makes no sense at all for me to write anything else but *   in those generic types, for example ObjectCreation<*>, because which subtypes are allowed has already been specified in the type definition of the generic type, and all of them are allowed in those places where I use * instead of a concrete subtype.
Apart from my own generics, to illustrate the problem using well-known generic types: What about arrays or promises, when I only care that it is an array or a promise but not about the contents?

EDIT / UPDATE /NEW TEXT
Generics are a special case — when I only care about the parent type. In that case specifying the allowed subtype is exactly the same as the generics type definition, which is quote a waste of horizontal space. The * allowed me to concentrate on what was important, the parent type. So even when it works I now have to specify the sometimes lengthy (union type!) sub type in generic types even when the subtype does not matter. Having * was much better not just for space, it also captured the intent much better, that the subtype does not matter.
I don't have a single * apart from generic subtypes, so in general I'm okay with this restriction because I already implemented it myself, setting a concrete type everywhere. I just think generics were not considered, or not fully, because the parent type may very well be the most concrete type.
For example, instead of ObjectCreation<*> I now have to write ObjectCreation<OneVersionedObjectTypes | OneUnversionedObjectTypes |  OneApplicationTypes> because that is how the type was defined, and in the places that thus far had an * for the subtype only the ObjectCreation parent type itself mattered. So now my line is full horizontally when I just write the type. I cannot use mixed there, I tried, because mixed is not the same as the object union that the generic type was defined with (and it would be wrong, because it isn't anything at all that is possible).
Another example is general generic types such as arrays or promises: When I have functions that only uses the parent type itself and does not care what's inside. For example, when I use a promise for synchronization only but don't care or use the value it resolves with. I may not even know what the subtype will be in such a case, nor does that matter!

TL;DR: Needed is a way to refer to only the parent type of a generic type, disregarding the subtype. Thus far one could just use MyGenericType<*> for that, now the * is deprecated altogether, IMO throwing out the baby with the bathwater.

Use mixed if you need. Most of the cases may be handled with explicit annotations and implicit inference.

it is on release notes https://github.com/facebook/flow/releases/tag/v0.72.0
and this commit https://github.com/facebook/flow/commit/39968bcd1f5badccfd4303b2245a88203fa49377

@sibelius Did you read my comment?
@TrySound mixedis BAD!!! It forces me to do checks because now Flow thinks it could be anything!

Then rely on inference. * makes flow slower.

@TrySound Then how do I get rid of the errors? There is nothing in the changelog even. Hence my issue.

I think flow needs something like Typescript infer

Generics are a special case — when I only care about the parent type. In that case specifying the allowed subtype is exactly the same as the generics type definition, which is quote a waste of horizontal space. The * allowed me to concentrate on what was important, the parent type. So even when it works I now have to specify the sometimes lengthy (union type!) sub type in generic types even when the subtype does not matter. Having * was much better not just for space, it also captured the intent much better, that the subtype does not matter.

I don't want it to sound sarcastic but, if * will be removed which means a lot of non-basic infers will not be exists, Why would I rather use Flow over TS?
I think since TS support nullability checking the "inferring" part is all the "big advantage" that left to TS. If it will be only very basic, and also I can see there is a new TS like syntax for calling functions (f<number>();) It seems the gap between the two is become narrower in a way I'm sure why prefer one on the other.

@oriSomething I think specifying no type is the alternative, as far as I know, which is not very well though, Flow then autodetects? But subtypes within generic types don't have that alternative.

@lll000111 I'm not sure I understand. Can you please give a code example?

@oriSomething For what? Not specifying a type is "" and generics syntax is generics syntax.

@lll000111 I think you can use it like this. Note Input and Response.
// @flow
import * as React from 'react';
import { type GraphQLTaggedNode } from 'react-relay';

// mutation, input, this.handleCompleted, this.handleError
export type Commit<Input, Response> = GraphQLTaggedNode => void;

const withMutation = <Props: {}, Input, Response>(
  Component: React.ComponentType<Props>,
): React.ComponentType<
  $Diff<
    Props,
    {
      commit: Commit<Input, Response> | void,
      pending: boolean | void,
    },
  >,
> => {
  return (props: Props) => (
    <Component {...props} commitMutation={42} pending={false} />
  );
};

export default withMutation;

@steida That is what I already mentioned? See my example ObjectCreation<OneVersionedObjectTypes | OneUnversionedObjectTypes | OneApplicationTypes>.

How would the recompose types work without *? Lots of times the * replaces a much more complex type, especially when chaining HOCs

For Recompose you can use Generics and $Call to make this work

@rj254 Just describe that type with React.ComponentType instead of HOC and flow will just work.

@sibelius not sure I follow. In the example provided on the recompose site (copied here as well)
const enhance:HOC<*, EnhancedComponentProps> = compose(
  defaultProps({
    text: 'world',
  }),
  withProps(({ text }) => ({
    text: `Hello ${text}`
  }))
);

@TrySound I guess I could describe the enhanced component with React.ComponentType; however, my question was more geared to typing the enhance function.

if you wanna get the return type of enhance
you can use this helper
export type ExtractReturn<Fn> = $Call<<T>((...Iterable<any>) => T) => T, Fn>;

type EnhanceProps = ExtractReturn<enhance>

Ping. Still very valid. Reminder: The issue is GENERIC TYPES, where the "*" still makes sense!

It's been a while since I worked on my current code-base, and I've been bitten by this. Specifically, for Lens generation: Lens<S, A> where I can specify S but want A to be inferred. It killed the library I used, too, it seems. This is such a shame, Flow was always my preferred tool for this because of it's powerful inference -- and being able to guide it, as such.

@girvo could you can try if Lens<S, _> works on your example (_ can be used in places where we want that generic to be inferred)?


[ Bug ] Confirm screen not navigating to next page after seed phrase encryption in redux.

Expectation
Should navigate to the next page.
What happens
Does not navigate to the next page.

@dmutinda
This bugs was caused by this https://github.com/Kukuza/mobile-wallet/issues/717


how to make vcpkg build and install boost with asan support

I have a project which links boost and some other dependencies built and installed via vcpkg manifest mode which is building cleanly in Visual Studio 2022 (all IDE updates installed)... that is until I enabled Address Sanitizer for my debug build cfg according to these instructions:
and received the following linker error (building with either CMake or MSBuild):
LNK2038	mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in file.obj	\boost_thread-vc140-mt-gd.lib(thread.obj)
Apparently the boost dependency needs to also be built with asan support to avoid this issue and I would rather not punt and disable container overflow checking by declaring _DISABLE_VECTOR_ANNOTATION.
So my question is:  how do I configure vcpkg to rebuild boost with /fsanitize=address and install it (into vcpkg_installed folder), and how to I make this unique to Debug builds and not Release builds, and how do I accomplish this for both CMake and MSBuild projects?
Thanks!

This can be done using VCPKG_CXX_FLAGS. Check out the relevant discussion here


Added struct de-structure-ing example in tips & tricks

As per last meeting, a bare-bones added that we can improve

bors r+


JAV-30 Auto Configration code for spring-boot-starter-discovery

Auto Service Registration for spring-boot-starter-discovery

Coverage remained the same at 78.261% when pulling 142f92648f5ecb5051d7882111c901c1043dad81 on asifhuawei:master into 3257df920c2c3120415adfa27339ce935bb11d25 on ServiceComb:master.

Coverage remained the same at 78.261% when pulling ba35a77f540ef6aaaac1b81089a5af404d54f8ae on asifhuawei:master into 3257df920c2c3120415adfa27339ce935bb11d25 on ServiceComb:master.

Coverage remained the same at 78.261% when pulling d8702b6ce999ba48e500aad2307b259be0158531 on asifhuawei:master into 3257df920c2c3120415adfa27339ce935bb11d25 on ServiceComb:master.

Coverage remained the same at 78.244% when pulling 181e69d611eb3a85511a29e43de137c5b18f05ef on asifhuawei:master into 519f855ff1e37c2182e48912f8230e36afb08695 on ServiceComb:master.

all comments fixed, UT and IT are pending.

Closing this pull request as code needs to be re-based and more changes needs to be done.
New Pull request for this change : https://github.com/ServiceComb/java-chassis/pull/25


feat: random background images

I added functionality that instructs wezterm to randomly select a background when launching the terminal, rather than having to make changes to the config manually to change background.
Hello Kevin, I absolutely love this wezterm configuration, and I've forked it for myself as a bases for my own configuration. I also loved the wallpapers that you had sourced in your config, but I wanted them to be selected at random whenever I launched wezterm. I added the functionality to my configuration, and I mainly wanted to pass it over to you in case it was something you also liked the idea. Feel free to add it to the main repo if you would like. If not, that is totally fine. I figured it was small contribution to an amazing configuration that you put together.
Thank you,

Hi @chturner94 thanks for the contribution 😊

I'd personally prefer to keep the default shell as fish. I'll merge it in and change it back.

Thanks for kindly fixing that. My git was not very clean when I originally did this, so I likely didn't do a good job just committing the feature add. Thanks for taking my pull request! Glad you liked it!


Vergelijking werkt niet correct - No text found in docx file

Specifically when comparing the IC file of the first trajectory of LK-24-130-02.
At first I thought that this might be another unrecognized MIME type in get_document_contents(), but passing the file through magic locally gave me application/vnd.openxmlformats-officedocument.wordprocessingml.document which should be supported.
Needs more research.

Don't know whether it is this particular application, but comparing Extra2 Briefing version 24-130-03 with 02 gives 'no changes found', but actually, there ARE changes. I now contacted the applicant about this for nothing, which is a bit embarrassing. We should be able to rely on this feature. Will this be okay in 4.0?


fix(docs): Fixing a typo in README.md

SUMMARY

Fixing a typo in the db_engine_specs README
datatime -> datetime
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

nice catch! 🙌


Multicharacter paths not whitelisted by default by registerNavigationRoute()

Library Affected:
workbox-routing
Browser & Platform:
All browsers
Issue or Feature Request Description:
Whitelist all navigation requests by default, rather than only single-character paths.
We use registerNavigationRoute() in an SPA, supplying a blacklist only. It currently intercepts / but not /events. Some digging turned up that the default whitelist consists only of the regex /./, where I would have expected /.*/.
https://github.com/GoogleChrome/workbox/blob/a068fa668335278fab0dde4a5771a5b5718315e1/packages/workbox-routing/src/NavigationRoute.ts#L54
Example URL: https://app.glean.co/events
This navigation request is not intercepted by workbox and falls back to browser cache or network. This has caused us issues after deploying since old index.html in browser cache may reference files (with cache busters) that no longer exist.

The relevant code is https://github.com/GoogleChrome/workbox/blob/ecc18673aab127c532168e4dafee65f6e47931b1/packages/workbox-routing/src/NavigationRoute.ts#L109-L115
If the default RegExp /./ ends up being used, the statement is equivalent to
/./.test('/path/to/test')

which will always be true, as long as you pass in a string with at least one character. (/^.$/ is a RegExp that only matches a single character, but that's not the pattern that's used by default.)
I would recommend running Workbox's development bundles, which include additional logging information, and checking out the JS console logs to figure out why your configuration isn't working as expected.

Thank you @jeffposnick for the quick response. Looks like it might be something we didn't do when upgrading to v4 after all.


⚠ Fortnite has degraded performance

In 445e010, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1484 ms

Resolved: Fortnite performance has improved in 8b0a87e.


Portrait photos with DOF from Google Pixel 2 XL fail to load

Which platform(s) does your issue occur on?
Android, Google Pixel 2 XL
Please, provide the following version numbers that your issue occurs with:

CLI: 3.4.0
Cross-platform modules<EMAIL_ADDRESS>Runtime(s):

"tns-android": {
      "version": "3.4.2"
    }

Plugin(s):

"dependencies": {
    "@angular/animations": "~5.2.0",
    "@angular/common": "~5.2.0",
    "@angular/compiler": "~5.2.0",
    "@angular/core": "~5.2.0",
    "@angular/forms": "~5.2.0",
    "@angular/http": "~5.2.0",
    "@angular/platform-browser": "~5.2.0",
    "@angular/platform-browser-dynamic": "~5.2.0",
    "@angular/router": "~5.2.0",
    "lodash": "4.17.5",
    "mobx": "4.1.1",
    "mobx-angular": "3.0.1",
    "nativescript-angular": "~5.2.0",
    "nativescript-barcodescanner": "2.7.6",
    "nativescript-camera": "4.0.2",
    "nativescript-geolocation": "4.2.6",
    "nativescript-gif": "3.1.1",
    "nativescript-google-maps-sdk": "2.5.0",
    "nativescript-imagepicker": "6.0.0",
    "nativescript-ng-shadow": "2.1.0",
    "nativescript-ngx-fonticon": "4.1.0",
    "nativescript-permissions": "1.2.3",
    "nativescript-pro-ui": "~3.3.0",
    "nativescript-socket.io": "0.9.0",
    "nativescript-theme-core": "~1.0.4",
    "reflect-metadata": "~0.1.10",
    "rxjs": "~5.5.5",
    "tns-core-modules": "3.4.1",
    "zone.js": "~0.8.18"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~5.2.0",
    "@ngtools/webpack": "~1.9.4",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "codelyzer": "~4.0.2",
    "copy-webpack-plugin": "~4.3.0",
    "css-loader": "~0.28.7",
    "extract-text-webpack-plugin": "~3.0.2",
    "lazy": "1.0.11",
    "nativescript-dev-sass": "~1.3.5",
    "nativescript-dev-typescript": "~0.6.0",
    "nativescript-dev-webpack": "~0.9.1",
    "nativescript-worker-loader": "~0.8.1",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.2.1",
    "sass-loader": "~6.0.6",
    "tslint": "~5.8.0",
    "typescript": "~2.6.2",
    "uglifyjs-webpack-plugin": "~1.1.6",
    "webpack": "~3.10.0",
    "webpack-bundle-analyzer": "^2.9.1",
    "webpack-sources": "~1.1.0"
  }

Please, tell us how to recreate the issue in as much detail as possible.
When selecting a photo done in portrait mode with Google Pixel 2 XL the selection fails with below error.
JS: Error: java.io.FileNotFoundException:  (No such file or directory)
JS:     java.io.FileInputStream.open0(Native Method)
JS:     java.io.FileInputStream.open(FileInputStream.java:200)
JS:     java.io.FileInputStream.<init>(FileInputStream.java:150)
JS:     java.io.FileInputStream.<init>(FileInputStream.java:103)
JS:     android.media.ExifInterface.<init>(ExifInterface.java:1334)
JS:     com.tns.Runtime.callJSMethodNative(Native Method)
JS:     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
JS:     com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
JS:     com.tns.Runtime.callJSMethod(Runtime.java:957)
JS:     com.tns.Runtime.callJSMethod(Runtime.java:941)
JS:     com.tns.Runtime.callJSMethod(Runtime.java:933)
JS:     com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:75)
JS:     android.app.Activity.dispatchActivityResult(Activity.java:7266)
JS:     android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
JS:     android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
JS:     android.app.ActivityThread.-wrap19(Unknown Source:0)
JS:     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
JS:     android.os.Handler.dispatchMessage(Handler.java:106)
JS:     android.os.Looper.loop(Looper.java:164)
JS:     android.app.ActivityThread.main(ActivityThread.java:6494)
JS:     java.lang.reflect.Method.invoke(Native Method)
JS:     com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
JS:     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Is there any code involved?
    const context = imagepicker.create({
      mode: "single" // use "multiple" for multiple selection
    });

    context
      .authorize()
      .then(() => {
        return context.present();
      })
      .then((selection) => {
        console.log(JSON.stringify(selection[0]));
      })
      .catch((e) => {
        console.log(e);
      });

Hi @FranciZ,
Can you confirm that you have this issue is Pixel 2 XL specific? Have you tested it with Pixel 2? I am asking, because I just tested opening photos with shallow DOF on Pixel 2 (not XL, but still shallow-DOF-capable). There were no issues with the latest version of the plugin (6.0.0) and latest {N} CLI and runtime (4.0.0). There is a number of fixes related to images in the latest versions, so I would recommend you to upgrade and see if this issue persists.
Let us know if this helps.

Hi @tbozhikov
I do not have access to Pixel 2. Will try upgrading the CLI and get back to you!
Thanks.

@tbozhikov upgraded tns to 4.1.0-2018-04-12-11396. Did not help. Get the same error with DOF photos.

Hi @FranciZ, thanks for your feedback. What about tns-core-modules version? Did you upgrade it too? In case you still use 3.4.1, can you try with 4.0.0?

closing due to inactivity.


support CDP 7.1.9 / CM 7.11.3 deployment

updates some properties name to be able to support CDP 7.1.9 / CM 7.11.3 deployment

Thank you, @anisf!


Add Awesome Oracle APEX (Application Express) list

added Oracle Application Express awesome list to Development Environment section

https://github.com/Dani3lSun/awesome-orclapex
This awesome list is for all Oracle APEX (Application Express) developers. Purpose is to make great and useful resources available for everyone, so junior devs get a better start and senior devs have a great source of reference
By submitting this pull request I confirm I've read and complied with the below requirements.
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title.For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with these requirements:

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either fullwidth or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.
Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of sub-lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

Please read the guidelines more closely. Multiple points not followed from it. Try going through the list point for point and check that you follow it. :)


Make Http1Client default timeout finite?

Hi, we've recently hit a production bug whereby infinite timeout by default caused http4s server to deadlock.
Our setup was:

http4s server on global execution context
scalaz ZIO RTS on a separate limited pool
http4s client on global execution context

http4s client was called at various points from ZIO pool via .unsafeRunSync() – you can see where this is going. http4s client has been diverging for unknown reason, either way it was hitting the infinite timeout which would eventually lead to blocking of all threads in ZIO pool – setting a timeout would fix that.
Even though async misuse was at fault here, not Http1Client, I do think that setting infinite timeout by default is a "surprising" choice and a potential footgun for unsuspecting users, given that most other http clients usually set a conservatively high, but finite timeout. How about changing it to, e.g. 5 minutes?

For comparison, here are the default timeouts from the async-http-client.
Yes, I think something like this could be reasonable.  We should give a sensible configuration out of the box and continue to give the knobs to tweak it.  Would you like to submit a PR?

@rossabaker

Would you like to submit a PR?

Sure https://github.com/http4s/http4s/pull/2159


Using @clerk/clerk-js/headless in node prevents process from exiting

[x] Review the documentation: https://clerk.com/docs
[x] Search for existing issues: https://github.com/clerkinc/javascript/issues
[x] Go through package changelog files.
[ ] Provide the Frontend API key from your application dashboard.

Package + Version

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore
[ ] other:

Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
Include the @clerk/ packages and their versions!*
Example:
{
  "dependencies": {
    "@clerk/clerk-js": "^4.54.2",
  }
}

Browser/OS
Node v20.3.1
Description
When using the Clerk SDK in a node CLI process, the process hangs indefinitely (or until process.exit is called manually).
This is because a setTimeout in TokenCache prevents the process from exiting.
Reproduction
You can observe this behaviour by running the code from https://github.com/clerkinc/cli-auth-test

Hello - any suggestions for implementing a fix here?  I haven't tried reproducing, but I suppose the implication is that clearTimeout() needs to be called on shutdown
Do you expect Clerk to call clearTimeout() automatically, or would it work for us to expose a Clerk.destroy() (or similar) that you can call manually?

Do you expect Clerk to call clearTimeout() automatically, or would it work for us to expose a Clerk.destroy() (or similar) that you can call manually?

Something like Clerk.destroy() would work.
AFAIK the Clerk instance does not run in a separate process or sandbox, so there is no such thing as "shutdown" until the process exits, so IMO the best thing to do here would be to give the developer control to decide when the instance is no longer needed.

Hey @jevakallio - can you try npm i<EMAIL_ADDRESS>- we believe it will work with no additional intervention on your end
To resolve, we're calling timeout.unref() in environments where it's defined: https://nodejs.org/api/timers.html#timeoutunref

@nikosdouvlis upgraded & tested, this seems to be working as expected now!
Thank you very much for the quick turnaround, and apologies for slow response on my side 🙏

Hello,
I am getting "Not a valid base64 encoded string length" when using ClerkProvider from "@clerk/clerk-expo".

the code is like this in _layout.tsx file

this is the error showing in the emulator


Rebooting into FASTBOOT mode instead of GSI

Tried installing AOSP 14 GSI, when pressing the reboot into dsu button, the phone reboots into the fastboot mode, instead of system.

how did you fix it?


Signature Verification failed on Manjaro

I was trying to install Tor browser but the signature tends to fail, every time after the launcher downloads the browser.
Here is a screenshot

Duplicate of #700


error while editing bio

TypeError: field.bio is undefined
error while editing bio and updating it without entering any character

@idontknowletsaysomething  Could you tell me the steps to reproduce this issue? Everything seems fine to me. If possible, could you attach a screenshot also?

Not sure whats causing it.

Found the culprit. In my useEffect, I was assigning the value of bio directly to its value, so it sometimes assigns undefined if it really is undefined, so now I have to conditionally set an empty string if its value is falsey.
useEffect(() => {
        setField({
            ...
            bio: profile.info?.bio || '',
           ..
        });

    }, [profile]);

I also have to optionally chain checking for its length
const [bioLength, setBioLength] = useState(200 - profile.info?.bio?.length || 0);


Why 90 Day Password Change Recommendation?

What is the source of this document's recommendation that privileged account passwords be changed every 90 days (with alert "Potential stale accounts in a privileged role")? This isn't likely to make us any safer than an annual rotation.
If administrators have MFA enabled and a suitably strong randomized password, and there are no indications of potential spillage, there's no reason for this. If potential spillage is detected, admins should change their password at once, rather than waiting.

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

ID: 826a3309-03a5-60b4-aa4c-63f385150455
Version Independent ID: 1d2e2f1c-2805-5cda-a4ad-76fedbc3f525
Content: Secure access practices for administrators in Azure AD
Content Source: articles/active-directory/roles/security-planning.md
Service: active-directory
Sub-service: roles
GitHub Login: @rolyon
Microsoft Alias: rolyon

@TBSJordanNash
Thanks for your feedback! We will investigate and update as appropriate.


Support ios 8+

Could be added support for handling ios9 and ios10 in different way with the same API?

Unfortunately the User Notifications framework is supported from IOS 10+ and a new os is just around the corner so I did not feel it worth while to re implement the library using local notifications, which is deprecated. However, I can point you to another library that is compatible with IOS 9. https://github.com/ahmedabadie/ABNScheduler


Add Neovim details in README

I've been making the switch over to Neovim (just to see if it's a viable option).
So far so good, but I found out that Neovim doesn't use bang commands the same as Vim. As such - the runner has to be adjusted to use the new format for terminal commands.
Using the default configuration doesn't output colors, because the bang command is used to open a pipe, read output and display to the user

The term command has to be used instead:
let g:rspec_command = "term rspec #{spec}"

Adding documentation here so that others making the switch will know about the needed adjustment!
Thanks for an excellent plugin!

It could be good to encourage constraining this change to just nvim so that we can go back & forth between vim and nvim e.g.
if has("nvim")
  let g:rspec_command = "term bundle exec rspec {spec}"
endif

The problem with using term is that if you're using slits, closing the terminal will also kill the split so it's not as simple as that.

I ended up with running the command in a new tab
if has("nvim")
  let g:rspec_command = "tabnew | term bundle exec rspec {spec}"
endif

Hey guys, in case anyone is still interested, here is my solution with a horizontal split:
let g:rspec_command = ':call RunMySpecs("{spec}")'

function! RunMySpecs(specs)
  execute 'split | terminal bundle exec rspec ' . a:specs
  execute feedkeys("\<c-\>\<c-n>")
endfunction

I added execute feedkeys("\<c-\>\<c-n>") to prevent split from auto-closing on keypress, which is the default behavior since neovim 0.2.


New Threadmarks page

The ability to show New Threadmarks, (much like the New Media, New Resources or New Posts) would be a great content discoverability tool.

hmm... i think, not a new page - but a widget would be yust fine. And if - please as a widget for the Widget Framework Add-on. :)


HomeAssistantType will be depricated

Log from HA:
Logger: homeassistant.helpers.typing
Source: helpers/deprecation.py:197
First occurred: November 1, 2024 at 6:17:42 PM (12 occurrences)
Last logged: November 1, 2024 at 6:18:26 PM

HomeAssistantType was used from hon, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'hon' custom integration

fixed https://github.com/IoTLabs-pl/hon/commit/53e386b898ee8c41c01cfc0ddf6dd642b5c436f3


Update README

Removed broken GIF, and updated Create a TwiML app link

Coverage remained the same at 100.0% when pulling 071b78b812a2bb61f8dedd20f95f9f0215527c82 on update-readme into 2bff408d1b2a380b78ba2a48dde8ce4d126d438a on master.


Work with laravel new project

Doesn't seem to like laravel/framework included in the composer.json

Well, he means you're using Illuminate packages instead of laravel/framework. :dagger: I'll PR on that.


WIP: Custom HTML Rendering for Nested Columns

Change Description

Resolves #41 .

[ ] My PR includes a link to the issue that I am addressing

Solution Description

This is a WIP attempt at #41. We're able to modify the representation via the Pandas Styler object, however in my current implementation the styler has some tradeoffs with using the default dataframe representation. Particularly the behavior around how tables are truncated is different (large tables are not truncated down to the first and last 5 entries, instead always truncating to the first max_rows rows. In addition, the truncated df does not preview the shape of the dataframe which feels like a big loss. Overall I'm not happy with where this is currently, but I will keep looking to see if the styler can be brought closer in line with the default pandas behavior. It's possible there are other implementations that might be more appropriate than this approach (can we modify the series styling itself?)

I've revisted this briefly, this is what this PR can implement. I'm not happy with the loss of information as described above, and am beginning to believe the pandas styler object just does not give us the tools to do something about this.