MQTT Values outside homeassistant and levels in MQTT

It would be nice, to use outside homeassistant, if you could split the mqtt data to homeassistant auto discovery and the data with an separate naming in mqtt and the values in a separate level.
NOW:
homeassistant/
     sensor/
           volvoAAOS2mqtt/ --> Autodiscovery
           VIN1_charging_system_status
           VIN1_battery_charge_level
           VIN1_estimated_charging_time
           VIN2_charging_system_status
           VIN2_battery_charge_level
           VIN2_estimated_charging_time
      switch/
           volvoAAOS2mqtt/ --> Autodiscovery
           VIN1_climate_status/
                 state
           VIN2_climate_status/
                 state

suggestion:
homeassistant/sensor/volvoAAOS2mqtt/ --> Autodiscovery
volvoAAOS2mqtt/
        VIN1/
           sensor/
                charging_system_status
                battery_charge_level
                estimated_charging_time
           switch/
                climate_status
                       state
        VIN2/
           sensor/
                charging_system_status
                battery_charge_level
                estimated_charging_time
           switch/
                climate_status
                       state

Does home assistant create to devices at this time ? I can't test it, because I only have one car.

Yes, 2 VIN's are found and two devices are added to home assistant.

Okay, looks good. I know what you want. At this time I will not change the topics, but maybe later!

Here is so much to do, I will not rebuild the mqtt topics, sorry!


nodePackages.shout: drop

shout has been deprecated since 2016:
https://github.com/erming/shout/commit/90a62c56af4412c6b0e0ae51fe84f3825f49e226
Part of #229475

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Requesting a review from @symphorien, who is the closest we have to a module maintainer.

The second commit doesn't make sense. Please squash.

@dotlambda you're right 😅 squashed in latest push.


Hide "Export Portfolio" on empty portfolio

Reported by @pietrograndi

Fixed in https://github.com/leonardoarcari/dcapal/commit/209ae1f44eecafc4b7297b9faf548c761eddf9b5.


fix: consistent cardSearchText for value-search

Ticket: []
Feature flag: n/a

Purpose
correct creator-facet behavior when already searching by creator name in free-text search

Summary of Changes
send same cardSearchText param for index-value-search as already used for index-card-search

Screenshot(s)

Side Effects

QA Notes
on the search page:

search by a creator name in the main search box (note the creator in search results)
click on the "Creator" facet and search by the same creator name
should be able to select and filter by the creator in question

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 70.672%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
5949

Relevant Lines:
8186

💛  - Coveralls


[Add Job Resource] Fix panic error when running job e2e tests

What this PR does / why we need it:
Job object will be directly used outside of cache and it will cause none pointer error when it's been used in one thread while been deleted in anothe. Adding it back.

/lgtm
/approve


GDScript: Add is not operator

Closes godotengine/godot-proposals#1319.

func test():
    var s: Variant = "str"
    print(await s is not int)
    print(not(await s is int))
    print(await (s is not int))

Class <unnamed> :
|   Function test(  ) :
|   |   Variable s : Variant
|   |   |   = "str"

|   |   print( (NOTAwait s IS int) )
|   |   print( (NOTAwait s IS int) )
|   |   print( Await (NOTs IS int) )

https://github.com/godotengine/godot/blob/b4e2a24c1f62088b3f7ce0197afc90832fc25009/modules/gdscript/gdscript_parser.h#L1397-L1402

Thanks!


The EAN-13 Barcode cannot be recognized when there are some black lines beside the End marker of Barcode.

Hi,
We are using the ZXingCPP WebAssembly (version 1.4.0) to scan barcode.
When we want to scan one product barcode, it’s failed.

But this barcode can be scanned successfully by others library(e.g. ZXing-js https://zxing-js.github.io/library/examples/multi-camera/). By analyzing the barcode, we found that there is the border-right of brand label beside the End marker of Barcode. If the border-right of brand label is covered, the barcode can be scanned successfully by ZXing-cpp.
It should be one issue about decoding the End marker of Barcode.

The problem is that the quiet zone on the right is insufficient. That means this symbol is not a valid EAN-13 symbol according to the specification, which requires a 7 module wide quiet zone on the right. The code currently enforces at least 6 (see here). If you set the value to 3, it detects your sample successfully. This does increase the likelihood of detecting a false-positive code though and slightly increases the runtime.


[app/dns] Support per-client configuration for fakedns

FakeDNS is very useful for switching between regions when resolving a set of domains. If just returning the real IP, after the v2ray is restarted for new region, OS and browsers would still keep old IPs in their DNS cache for a notable time, and they are very hard to flush completely. With fake IP, OS and browsers would always use a same IP, forwarded to v2ray to determine the actual destination to dial.
(By the way, FakeDNS has the disadvantage that all traffic must be taken control by v2ray, but v2ray cannot handle ICMP traffic, and without PacketAddr v2ray also does a poor job for UDP traffic. To better utilize FakeDNS, a tun inbound would be very helpful.)
This PR is a continuation of https://github.com/v2fly/v2ray-core/pull/1977, that brings per-client fakedns configuration for DNS app, and tries to provide a better semantic and programming model for both end users and developers.
For end users
Global FakeDNS Config
The "fakedns" pools config is moved from JSON root path to "dns" path:
"dns": {
    "servers": ["..."],
    "hosts": {"..."},
    "fakedns": [
        { "ipPool": "<IP_ADDRESS>/16", "poolSize": 32768 },
        { "ipPool": "fc00::/18", "poolSize": 32768 }
    ],
}

The old configs that place "fakedns" at JSON root will be kept compatible, but print a deprecated warning.
The fakedns config in DNS global scope will be used as default fake IP pools for client that enables fakedns, but does not explicitly specify the IP pools to use.
Per-client FakeDNS Config
Each nameserver (the client) could specify their "fakedns" config independently:
"servers": [{
    "address": "localhost",
    "fakedns": true
}, {
    "address": "<IP_ADDRESS>",
    "domains": ["domain:v2fly.org"],
    "fakedns": ["<IP_ADDRESS>/16", "fc01::/18"]
}]

For a client with fakedns specified, when it gets selected as the nameserver to query, and fake ip is enabled in the query option, the client will use the specified fakedns instead of the real server to return IP addresses. If fake ip query is disabled the client works the usual way.
Specifying different fake IP pools for different nameserver objects essentially binds additional semantic to the priotized domains, and the fake IP range:

For priotized domains, these domains are meant to return fake IPs first.
For fake IP ranges, these IPs are bound to a specific domain set, effectively making these IPs categorized (e.g. in iptables world)

Since fakedns should not be enabled by default for each nameserver object, to enable it and use the global default pool, we use a simple "fakedns": true to indicate this. "fakedns": false is equivalent to leaving out.
Simplified Fake IP Pool Config
We can use a simple CIDR string to represent a Fake IP pool:
"fakedns": ["<IP_ADDRESS>/16", "fc01::/18"]

is equivalent to
"fakedns": [
    { "ipPool": "<IP_ADDRESS>/16", "poolSize": 65535 },
    { "ipPool": "fc01::/18", "poolSize": 65535 }
]

If using only CIDR string, the total number of IPs (minus 1) in the subnet are used as the pool size. The generated pool size will not exceed 65535, so IPv6 CIDR string will not result in a too large fake IP pool. This could be formulated as:
poolSize := (1 << Min(nonMaskedBits, 16)) - 1

Better DNS Output Log
Output of the DNS ordered to use is better formatted:
[Debug] app/dns: domain facebook.com will use DNS in order: [fakedns(DNS idx:0)] [TypeA TypeAAAA]
[Info] app/dns: fakedns got answer: facebook.com -> [<IP_ADDRESS>]
[Debug] app/dns: domain google.com matches following rules: [domain:google.com(DNS idx:1)]
[Debug] app/dns: domain google.com will use DNS in order: [fakedns(DNS idx:1) fakedns(DNS idx:0)] [TypeA TypeAAAA]
[Info] app/dns: fakedns got answer: google.com -> [<IP_ADDRESS>]

With per-client DNS configuration, we may use the same server address for different clients (because they have different tags and different domains); with per-client FakeDNS configuration, some clients may turn into the same server name "fakedns". To disambiguate the server names, we may append DNS index to each client if required.
Therefore, following steps are made:

All fakedns servers are appended with DNS idx.
If two or more servers are using same address, append them with DNS idxs.

For developers
Updating
Code Composition in PR

Protobuf: +325 -250
Tests: +482
Confs: +123 -143
Features: +400 -471

Codecov Report
Base: 38.89% // Head: 39.27% // Increases project coverage by +0.38% :tada:

Coverage data is based on head (dc4bf2f) compared to base (a1ee432).
Patch coverage: 65.01% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2212      +/-   ##
==========================================
+ Coverage   38.89%   39.27%   +0.38%
==========================================
  Files         615      609       -6
  Lines       36622    36648      +26
==========================================
+ Hits        14243    14393     +150
+ Misses      20801    20671     -130
- Partials     1578     1584       +6

Impacted Files
Coverage Δ

app/dns/config.pb.go
12.63% <0.00%> (+1.61%)
:arrow_up:

app/dns/hosts.go
70.37% <ø> (-2.97%)
:arrow_down:

features/dns/client.go
54.54% <0.00%> (-45.46%)
:arrow_down:

infra/conf/v4/v2ray.go
38.94% <0.00%> (-0.28%)
:arrow_down:

proxy/freedom/freedom.go
45.45% <0.00%> (+3.00%)
:arrow_up:

proxy/socks/client.go
0.76% <0.00%> (+0.03%)
:arrow_up:

app/dns/fakedns/fake.go
64.28% <66.66%> (+2.52%)
:arrow_up:

app/dns/nameserver_fakedns.go
55.55% <66.66%> (+55.55%)
:arrow_up:

app/dns/nameserver.go
68.25% <70.00%> (+14.40%)
:arrow_up:

app/dns/fakedns.go
70.96% <70.96%> (ø)

... and 32 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Usage examples
Co-exists with policy-based DNS resolution
Old:
当使用 DNS 分流时，为了让 fakedns 拥有高优先级，需要增加与其他类型 DNS 相同的 domains 配置。
{
    "servers": [
        {
            "address": "fakedns",
            "domains": ["geosite:cn"]
        },
        {
            "address": "<IP_ADDRESS>",
            "domains": ["geosite:cn"],
            "expectIPs": ["geoip:cn"]
        },
        "<IP_ADDRESS>"
    ]
}

New:
{
    "servers": [
        {
            "address": "<IP_ADDRESS>",
            "domains": ["geosite:cn"],
            "expectIPs": ["geoip:cn"],
            "fakedns": true
        },
        "<IP_ADDRESS>"
    ]
}

For the pattern "return fake ip first and resolve using a special DNS later for some domains", it could be written in one nameserver object now, instead of writing twice and put in a certain order. Resolving what mentioned in https://github.com/v2fly/v2ray-core/discussions/789#discussion-3277149:

二是，为了保持Fake DNS的高优先级，别的DNS Server里domains有什么，fakedns的domains也得有什么。

FakeDNS blacklist
Old:
若希望某些域名不使用 FakeDNS，则可在其他类型的 DNS 中增加 domains 配置，使其在匹配该域名时，拥有比 FakeDNS 更高的优先级，从而实现 FakeDNS 的黑名单机制。
{
    "servers": [
        "fakedns",
        {
            "address": "<IP_ADDRESS>",
            "domains": ["domain:not-use-fakedns.com", "geosite:cn"]
        },
        "<IP_ADDRESS>"
    ]
}

New:
{
    "servers": [
        {
            "address": "<IP_ADDRESS>",
            "fakedns": true,
            "fallbackStrategy": "disabledIfAnyMatch"
        },
        {
            "address": "<IP_ADDRESS>",
            "domains": ["domain:not-use-fakedns.com", "geosite:cn"],
            "fallbackStrategy": "disabled"
        }
    ]
}

The fallback server <IP_ADDRESS> has fakedns enabled, so fake ip will be returned by default, and later resolved to actual domain by <IP_ADDRESS> if needed.  Some domains (e.g. "domain:not-use-fakedns.com") gets prioritized to be resolved by <IP_ADDRESS> (fakedns disabled), thus gets blacklisted.
To ensure these domains are really blacklisted, we use two fallback strategies here:

If blacklist domains are matched, <IP_ADDRESS> (fakedns enabled) should be removed from fallback, so not be accidently used if <IP_ADDRESS> fails to resolve. So we set disabledIfAnyMatch here.
Nameserver resolving blacklist domains are normally not intended to resolve other domains, so should not be selected during fallback query. So we set disabled here.

The related claim in https://github.com/v2fly/v2ray-core/discussions/789#discussion-3277149 is not right:

黑名单也是，哪个域名需要对Fake DNS拉黑，就需要在所有其他DNS Server的domains里加上这个域名。

Blacklisted domains only need to be written once in an independent nameserver object. It will get selected and there is no need to write in all other nameserver object.
FakeDNS whitelist
Old:
{
    "servers": [
        "<IP_ADDRESS>",
        {
            "address": "fakedns",
            "domains": ["domain:use-fakedns.com", "geosite:geolocation-!cn"]
        }
    ]
}

New:
Could just use the old config, or:
{
    "servers": [
        "<IP_ADDRESS>",
        {
            "address": "<IP_ADDRESS>",
            "domains": ["domain:use-fakedns.com", "geosite:geolocation-!cn"],
            "fakedns": true
        }
    ]
}

They're doing the same thing. But we may replace "<IP_ADDRESS>" in second config with some other DNS server like "<IP_ADDRESS>", and it falls into the first case (Co-exists with policy-based DNS resolution).


How to use latest NGL (2.4.0) in nglview?

hi everyone
nglview has been using NGL 2.2.2 for a while and I am trying to upgrade to NGL 2.4.0.
However, I am getting below when running npm install in https://github.com/nglviewer/nglview/tree/master/js folder.
    ERROR in ./node_modules/ngl/dist/ngl.esm.js
    Module parse failed: Unexpected token (27:381727)
    You may need an appropriate loader to handle this file type.
    |  * @param {Float32Array} points - points
    |  * @param {Function} metric - metric

So, any idea how to use the NGL 2.4.0 version?
Thanks

Looking at the relevant file<EMAIL_ADDRESS>That location (27:381727) is a spread operator (...).
I think maybe the webpack version in nglview doesn't know how to parse this?
Upgrading webpack may help, or may be a rabbit hole of other things to fix.
There is a plugin mentioned here: https://stackoverflow.com/questions/50327580/webpack-4-react-unexpected-token-spread-operator ("babel-plugin-transform-object-rest-spread") which might fix it.
I think the cause is the removal of buble from ngl on the basis that we didn't need to keep targetting IE11 and older browsers, but we could put back a compatibility build if there isn't any other way to fix it

Looking at the relevant file: [https://www.unpkg.com/ngl@2.4.0/dist/ngl.esm.js](https://www.%5Bunpkg.com/ngl@2.4.0/dist/ngl.esm.js](https://www.unpkg.com/ngl@2.4.0/dist/ngl.esm.js))
That location (27:381727) is a spread/rest operator (...).
I think maybe the webpack version in nglview doesn't know how to parse this?
Upgrading webpack may help, or may be a rabbit hole of other things to fix.
There is a plugin mentioned here: https://stackoverflow.com/questions/50327580/webpack-4-react-unexpected-token-spread-operator ("babel-plugin-transform-object-rest-spread") which might fix it.
I think the cause is the removal of buble from ngl on the basis that we didn't need to keep targetting IE11 and older browsers, but we could put back a compatibility build if there isn't any other way to fix it

Thanks @fredludlow very much. I am able to upgrade to NGL 2.4.0 and this resolves lots of things (e.g: make it works with VSCode and nbclassic. Previously, I have to NGL build, one with 2.2.2 for jupyterlab and one with 2.1.1 for VSCode and nbclassic.
https://github.com/nglviewer/nglview/pull/1137


147 add roll pass hooks for tension and kinemtic calculations

Added hooks for coupled calculation between units with tensions.
The solution to include the tension elongation can be seen as a suggestion and is still up for discussion.
Closes #147.

Tension hooks are delayed until further conceptual discussion.
Cheery picked the exit stuff in #156.


add about page where your info and about this page

Bug Report for Missing "About" Page
Describe the bug
The "About" page link is visible in the navigation bar, but when clicked, it does not display the intended content or may not load the page correctly.
To Reproduce
Steps to reproduce the behavior:
Go to the website (e.g., "https://anshika-26.github.io/WordWise/about.html").
Click on the 'About' link in the navigation menu.
Observe the behavior (whether it leads to a missing page, error, or no content is displayed).
Expected behavior
The "About" page should load, displaying content that explains the purpose of the website or provides information about the platform, its mission, and team.
Screenshots

Additional context
Ensure that the "about.html" file is present in your repository and correctly linked in the navigation bar. Double-check the folder paths and file names for any discrepancies.

@nishant4500 the page is already there but needs some changes if you want to add changes kindly share what you want to implement

i want to add a comment section where any issue if user faced then they mailed it . and make the about page more sysmatic way

we already have a feedback page for this

about us page doesnt make sense for a small website like this , we already have an about us section , kindly research about what you wish to do before opening an issue and then describe the changes properly


Getting 401 errors on /api/webhook path that is set to public

I am trying to authorize public access to my /api/webhooks/* path. I think I have everything setup properly but the 3rd party calling the webhooks is receiving 401.
I've stripped down my route handler for testing but it never executes.
Checking Vercel logs I'm not even seeing the requests come through so I'm not entirely sure if the issue is related to the middleware or not.
Am I missing something obvious or is there a better way to handle webhooks?
import { NextRequest, NextResponse } from "next/server";
import { authMiddleware, redirectToLogin } from "next-firebase-auth-edge";
import { clientConfig } from "@/app/lib/firebase/client";
import { authConfig } from "@/app/lib/firebase/server-config";

const HOME_PATH = '/home';
export const PUBLIC_PATHS = [
  '/',
  '/login',
  '/api/webhooks/*'
];

const isPublicPath = (path: string) => {
  const regexPublicPaths = PUBLIC_PATHS.map((publicPath) => {
    if (publicPath.includes("*")) {
      return new RegExp(`^${publicPath.replace("*", ".*")}$`);
    }
    return new RegExp(`^${publicPath}$`);
  });

  return regexPublicPaths.some((regex) => regex.test(path));
};

export async function middleware(request: NextRequest) {
  const requestPath = request.nextUrl.pathname;

  return authMiddleware(request, {
    apiKey: clientConfig.apiKey!,
    cookieName: 'AuthToken',
    cookieSignatureKeys: authConfig.cookieSignatureKeys,
    cookieSerializeOptions: authConfig.cookieSerializeOptions,
    serviceAccount: authConfig.serviceAccount,
    loginPath: "/api/login",
    logoutPath: "/api/logout",
    refreshTokenPath: "/api/refresh-token",
    enableMultipleCookies: true,
    debug: true,
    checkRevoked: false,
    authorizationHeaderName: 'Authorization',
    handleValidToken: async ({token, decodedToken}, headers) => {
      if (isPublicPath(requestPath)) {
        const url = request.nextUrl.clone();
        url.pathname = HOME_PATH;
        return NextResponse.redirect(url);
      }
      return NextResponse.next({
        request: {
          headers
        }
      });
    },
    handleInvalidToken: async (reason) => {
      if (isPublicPath(requestPath)) {
        return NextResponse.next();
      }

      console.info('Missing or malformed credentials', {reason});

      return redirectToLogin(request, {
        path: '/login',
        publicPaths: PUBLIC_PATHS
      });
    },
    handleError: async (error) => {
      if (isPublicPath(requestPath)) {
        return NextResponse.next();
      }

      console.error('Unhandled authentication error', {error});

      return redirectToLogin(request, {
        path: '/login',
        publicPaths: PUBLIC_PATHS
      });
    }
  });
}

export const config = {
  // protected routes
  matcher: [
    "/",
    "/((?!_next|api|.*\\.).*)",
    "/api/login",
    "/api/logout",
    "/api/refresh-token",
  ],
};
`

NVM, problem was Vercel deployment protection.


[Bug] Clicking on icon on sidebarNav, makes it not appear

Issue type
I'm submitting a ...  (check one with "x")

[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:

When sidebar minimized and is clicked, if you clicked EXACTLY on the icon, the sidebar is not Opened.
However if you click outside of the icon (white space next to it) the sidebar is OPENED .
Expected behavior:

Sidebar is opened regardless where you click on it.
Steps to reproduce:

Download latest master
Minimzed the sidebar
Click on the Icon

Related code:

No releated code, however I do have a gif.
In the Gif I 1) Display normal behavior in Sidebar that is not minimized, 2) Display bug when sidebar is minimized and you click on icon, 3) Display normal behavior when sidebar is minimized however you click outside of icon.

Here is a pic of the problematic area:

Seems like its in the Nebular theme , menu component, should I post this in Nebular git @yggg  or @nnixaa ?

Fixed in Nebular 4.1.1 (https://github.com/akveo/nebular/pull/1750).
You can update Nebular version yourself or wait until ngx-admin updated to use 4.1.1 which should happen shortly.

@yggg thank you!


[accumulo] Accumulo binding does not work in 0.5.0 release

YCSB with Accumulo doesn't work in 0.5.0.
The datastore binding caches a connection to the Accumulo client and handles set up only when the table being interacted with changes. The changes from #464 accidentally used the cached table name rather than the newly proposed table name.
On the first operation, the cached table name is blank which causes the Accumulo driver to error out.

with this update in place I can perform a trivial insert of a few records. @cmccoy mind if I update the 0.5.0 release notes to call out this as a known issue?

@busbey - sure, go ahead!

okay, I updated the 0.5.0 release notes.
if someone has a chance for a quick review, I'd like to get this in quick so we can get one more 0.6.0 RC. /cc @bigbes

+1


File is not updating on steam builds v2.2.1 with viteburner 0.5.1

File watch and upload was successful but after in-game nano restart, no file is updated. Manual update with "u" may or may not work. Reconnects work.

It is reported that official template would also experience the same issue on steam version.

It seems functional on my steam build on windows.

On some windows steam builds the code content is not updated resulting in faulty updating.

The first save on a file seems failed to detect its changes.


[libra framework] Add role checks for Validator & ValidatorOperator

Previously we weren't performing role checks when adding validator/validator operator metadata to an account. This adds these checks.
This PR also cleans up the tests so that:

A validator role resource is published under a validator account in the functional tests
Removes code for unhosted that stuck around during removal of it.

/land


Brackets won't open .jsx files even after installing all available extensions

Prerequisites

[ ] Can you reproduce the problem with Debug -> Reload Without Extensions?
[ ] Did you perform a cursory search to see if your bug or enhancement is already reported?
[ ] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

Could you be more specific?
And can you reproduce the problem with Debug -> Reload Without Extensions?


Missing airlines on ...

There are some airports (minors and really important) that are missing the airlines.
Add the airports that you found to this list.

MAD
BCN

@cristobal-io it looks like wikipedia redirects are not being taken into account.
Luckily wikipedia provides an API that shows the redirects for a given page https://en.wikipedia.org/w/api.php?action=query&format=json&prop=redirects&titles=Barcelona–El_Prat_Airport
It also provides from > to details if you query the page that does not contain the main article https://en.wikipedia.org/w/api.php?action=query&format=json&titles=El Prat Airport&redirects=1
In both cases a numeric ID of the canonical airport is shown, and the canonical ID can be accessed through https://en.wikipedia.org/?curid=151518.
Using the canonical ID for the airport, airline, location.... will make things simpler in the long run.
I wouldn't discard using the wikipedia title as the main mean for linking back to the wikipedia page from the map, specially since the page is flagged as noindex/nofollow for robots
You can read more about the wikipedia API on https://www.mediawiki.org/api/


converting spaces as indentation to tabs

using tabs instead of spaces for indentation

Hello @nyeholt ,
can you merge this in?
Cheers,
Spe


[DOC] Fix broken link to writing visualizations doc

What is this PR for?
This PR fixes broken link to doc. Need to be merged branch-0.8.
What type of PR is it?
Bug Fix
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Thanks @Leemoonsoo , I will commit it soon and start the RC


[reactive-element] Removing or using the defaultPropertyDeclaration default parameter value in createProperty()

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
ReactiveElement's createProperty() adds properties and their options to the elementProperties map. When createProperty() is called without options, the default parameter value defaultPropertyDeclaration will be assigned to options, which will make its way into elementProperties.
For the default value to be assigned to the options parameter, the reactive property must be declared without options. This will never happen when using static properties, and when using decorators, @property() would have to be called without the options argument. (In my project, I always at least define the type, so in my case the options always have a value).
Considering this, and that the props in defaultPropertyDeclaration do not seem to be used in createProperty() anyway, it seems that defaultPropertyDeclaration is an unnecessary default parameter value and can be removed.
However, it may actually be useful to have the default property options available in elementProperties. For example: I made a custom @watch() decorator that is called synchronously when a reactive property changes. (Ideally, it's called in Lit's async update cycle, but this sync behaviour is necessary for a scripted migration from Stencil to Lit.) By not hooking into Lit's update cycle, it's up to me to decide whether a property has changed. I do this now by checking for hasChanged, and notEqual as a fallback, like so:
import { notEqual } from 'lit';

const hasChanged = options?.hasChanged ?? notEqual;
if (hasChanged(value, oldValue)) {
  // call decorated method
}

I think it would be nice if hasChanged is always available in a property's options as the go-to method to decide whether a property changed. I would then be able to just call options.hasChanged(). It's not a big issue at all, but it just seems odd that the presence of e.g. hasChanged can depend on whether a property was declared with any options.
So, my suggestion is to either remove defaultPropertyDeclaration as a default parameter value in createProperty(), or to always have it included. For example:
// reactive-element.ts

static createProperty(name: PropertyKey, options: PropertyDeclaration = {}) {
  const _options = {...defaultPropertyDeclaration, ...options};

  // continue using the combined options, which will be set in `elementProperties`
}

(Removing it may be a breaking change, however.)
Reproduction
.
Workaround
.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
latest
Browser/OS/Node environment
.

It does seem like that defaulting options in createProperty isn't doing much.
If the options is undefined, it would default to defaultPropertyDeclaration here anyway:
https://github.com/lit/lit/blob/3d5f473ef4e9db0b928dcfbb9d06a1fd05851643/packages/reactive-element/src/reactive-element.ts#L778-L780
It also appears that all fields of the PropertyDeclaration interface are optional such that any code that uses it will handle the undefined case with the same default behavior as using defaultPropertyDeclaration would do.
So totally valid to provide an empty object as options, or no options at all.
Merging option with the default seems potentially wasteful to allocate all of that when the code already handles undefined option values.
Seems fine to remove the default? I don't know if we really gain much by doing that. A couple bytes from the minified bundle maybe.


Can we Have BrowserSync added?

Right Now , if we Run npm run hmr , and we change anything in our vue files its being hot reloaded....
But what if we change something in our blade files?
I hope we Can Use Again Browsersync like in laravel elixir,
lets say we will proxy it on localhost:3000
and still we have it also hot reloaded... at localhost:8080 via npm run hmr...
hope we can add some alias like npm run browsersync...
which behind the scene will check any changes in our blade template...

for what it's worth, i'll be making sure that my browsersync plugin works with laravel-mix
https://github.com/QWp6t/browsersync-webpack-plugin
(i think there would be issues right now because i'm pretty sure webpack-dev-middleware would conflict with webpack-dev-server)

would be waiting for the update, thanks

@QWp6t  You sound like you know the answer to my question that got no answer in a week or two. Could you be so kind and take a peek?  https://laracasts.com/discuss/channels/general-discussion/cannot-get-when-proxying-with-browsersync

The browser-sync-webpack-plugin coops nicely with the Webpack Dev Server. Check out the repository in which I composed a working example for an Homestead Environment.

For the time being you can also run BrowserSync from the command line.
I use this:
browser-sync start --proxy example.dev --files="dist/**/*.css,dist/**/*.js,templates/**/*.blade.php"

@tormjens For some reason your solution works great for js and css files, but my blade templates don't seem to trigger a refresh. Any idea why that would be? Even **/*.php won't do the job...

@rogierborst After some time of playing around with BrowserSync paired with HMR and the dev server, I recommend installing BrowserSync and use it like so:
Note: the usePolling/poll claims to have a performance impact but in my Windows + Homestead environment it is required. The host path constants are setup for a non Laravel build.
"browser-sync": "^2.6.0",
"webpack-dev-middleware": "^1.9.0",
"webpack-dev-server": "^2.2.0-rc.0",
"webpack-hot-middleware": "^2.15.0",

import BrowserSync from 'browser-sync'

const HOST              = 'lol.dev',
      HOST_PATH         = 'resources/views'

BrowserSync({
    host: HOST,
    port: 3000,
    proxy: `http://${HOST}:8080`,
    ui: false,
    open: false,
})

BrowserSync.watch(
    'resources/views/**/*.{php,html}',
    {usePolling: true},
    BrowserSync.reload,
)
module.exports {
    devServer: {
        inline: true,
        hot: true,
        contentBase: '/',
        proxy: { '*': `http://${HOST}/${HOST_PATH}` },
        host: HOST,
        port: 8080,
        stats: { colors: true },
        watchOptions: { poll: 1000 },
    },
}

I'm not sure what file you do this in. scripts and devDependencies is in package.json, I assume. But where do you put the other config lines?

Normally you place all in webpack.config.js. With laravel mix you need to setup atleast the devServer there. You should be able to add the BrowserSync parts in both webpack.config.js and the webpack.mix.js. but mind the constant HOST and the import BrowserSync from 'browser-sync' should become var BrowseSync = require('browser-sync') as I don't recall Laravel Mix has import availeble

@rogierborst I updated to comment to be more explanatory

Thanks, I have it working now! Can't get hrm to work, but that has never worked for me anyways. Something to do with me running on a windows machine I believe. I think there's a pr out there that tries to solve it.

@rogierborst  HMR should be working. Try adding this  if(module.hot) module.hot.accept()   at the bottom of your script. Everything above this line (imports and the code in the file itself) should trigger Hot Reloads.

@Bram-Zijp It's the Mix() php helper function that doesn't find the newly processed js file. So it's not node related. I can go to localhost:8080/public/js/app.js and see the file is updated (so yes, hrm works on that end), but my view throws an Unable to locate Mix file exception.

If anyone is interested, I got it working without much fuss. I wrote a little blog post on how to setup Browsersync with Laravel Mix: https://ashokgelal.com/2017/01/29/laravel-mix-browsersync/

@ashokgelal I have used it form windows, it works!! Thanks, you save my life!!

@ashokgelal works on Windows, thank you!
I have projects using names like appname.localhost:8056 and no one solutions works with this, BrowserSync haven't loaded http://localhost:3000 until I've added appname.localhost to the hosts file. So, turned out it just can't resolve address. BTW, documented mix.browserSync('appname.localhost:8056'); works too.

Laravel 5.4

$ yarn add -D browser-sync
Add this proxy snippet to webpack.mix.js:

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css')
   .browserSync({
       proxy: 'blog.dev'
   });

yarn run watch

Bit more seamless

Disable those Injected app.css messages: https://browsersync.io/docs/options#option-notify
Disable auto opening (so you don't end up with a bunch of the same tabs): https://browsersync.io/docs/options#option-open

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css')
   .browserSync({
       proxy: 'blog.dev',
       notify: false,
       open: false
   });

By default, it seems like Laravel Mix watches public/{*,**/*} (all compiled assets) and Blade files, but it doesn't seem to other php files. You can change that with the files BrowserSync property.
// webpack.mix.js
mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css')
   .browserSync({
       proxy: 'blog.dev',
       notify: false,
       open: false,
       files: [
'!node_modules', '!vendor', 'public/{*,**/*}', '{*,**/*}.php']
   });

This will watch everything in public and all your .php files (which is pretty nice).
Hope this helps.

Thanks @corysimmons!

np. I'm sure there's a better way to do it via overriding the webpackConfig object but I'm too lazy to figure it out.
@JeffreyWay If possible, it'd be nice if we could get Webpack to watch styles and all php (sans vendor) by default. If you'd be interested in that I can figure out the Webpack way to do it and possibly submit a PR.


gunpowder

PackagesNotFoundError: The following packages are not available from current channels:

gunpowder

Hello,
did you install the requirements.txt file from here: https://github.com/Kainmueller-Lab/PatchPerPix_experiments ? That should install gunpowder


remove falsely logged error "Failed to persist photo data to disk"

What's this PR do?
Previously, we'd see an error logged on signin: "Failed to persist photo data to disk". This indicated that the [photoData writeToFile:storedAvatarPhotoPath atomically:NO] was returning a 0 value, meaning that it failed to persist the photo data to disk.
This was happening when your own user object was initialized within DSOUser initWithDict. When self.photo = nill is set on line 50, we all DSOUser setPhoto which then calls DSOUserManager storeAvatar. This returns an error with [photoData writeToFile:storedAvatarPhotoPath atomically:NO] because the photo param we're attempting to store is nil.
Now, we check within DSOUser setPhoto whether the photo param is nil before storing it as the user's avatar.
How should this be manually tested?
Tested with two accounts on prod<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Tested by first running the develop branch and confirming in both accounts that I see the error when I log in. Then, switched to this branch, rebuilt, and confirmed the error disappeared.
What are the relevant tickets?
Closes #625.

Logic seems to make sense.. one thing I'm not crazy about is that if we display the logged in User within the reportback gallery on the Main Feed or Campaign Detail... I believe we'll be calling the initWithDict method which means we could be writing the avatar to disk more times than we need (which is why the bug exists). Nothing needed for merge ... but it'd be cleaner to only set the avatar the one time we need to (upon app login for current user ... or upon photo change).

Remembering some of the logic for this... it's possible the logged in user could change their avatar from a different device (in which case we do need to check the value stored in northstar, vs just blindly using whatever's been saved to device)

@aaronschachter are we good for a merge, considering what you removed here:
https://github.com/DoSomething/LetsDoThis-iOS/pull/649#discussion_r45754032

Pulled down to test, seems ok. Go for it :+1:


Add support for Github Gists

Aggree! It will be much simpler to edit code in posts or show it independently.

Solution found


How to handle long slug names

For some providers, our current manner of handling slugs will create slugs that are too long. @mariusvniekerk ran into this potential issue on the gitlab PR (#266). We should figure out how to handle these situations!

Where is this a problem? Can you point me to a specific comment? We make sure that slug name lengths aren't a problem in https://github.com/jupyterhub/binderhub/pull/266/files#r152119597

I can go digging when I land, I think it was on gitter and I just wanted to
make sure it didn't get lost in case it was a real issue. If this is not a
real issue then we can close.
On Tue, Nov 21, 2017, 4:38 PM Yuvi Panda<EMAIL_ADDRESS>wrote:

Where is this a problem? Can you point me to a specific comment? We make
sure that slug name lengths aren't a problem in
https://github.com/jupyterhub/binderhub/pull/266/files#r152119597
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/binderhub/issues/290#issuecomment-346206733,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwSHbLd70VDSn-ng2dclS-Rr8pV2iqAks5s420EgaJpZM4Qkou2
.

It was clarified in the PR and is not an issue anymore there :)


Reduce padding on BSDT row cards

Critical Changes
Changes

Tightened up spacing of rows in BSDT. (Attendance is handled in the Attendance UI PR.)

Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below

[ ] Place holder data is incorporated (Refer to Case Management Sample Data document)
[ ] Base axe-core JEST test included for any new LWC (No critical violations)
[ ] CRUD/FLS is enforced in Apex
[ ] Permission sets & field sets are updated to account for CRUD/FLS/TABS for new object metadata
[ ] All modified classes are unit tested (Apex) at 100% coverage
[x] UX approval or UX not necessary
[x] PR contains draft release notes
[x] Attach work item to the pull request with Lurch **Lurch:attach W-000000 or **Lurch:add
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[ ] QE story level testing completed

W-8125688

Closed to rebase from master in #347


Solved most wwise_stream file names

Only done the US locale, this leaves around 622 wwise_stream files with no name
These were obtained by pulling all used wem ids from the banks using wwiser, hashing the id + path and seeing if it matches a file
This should work, if it doesn't then i probably screwed something up...
Solves 10055 new file names just from the streams alone!
Tossed in a few of the new banks as well.

had an issue with the hashes i generated, might have gotten false positives or missed some so gonna close this to look into it

should be fixed now! matches for all 10677 wwise_stream files!


fix: thorchain savers withdraw confirmed state

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3701

PR #3702   👈

This comment was auto-generated by Graphite.

Admin merging as effectively approved in https://github.com/shapeshift/web/pull/3703#issuecomment-1407214011


Don't create empty .vscode subdirectory

Environment data
VS Code version:  1.18.1
Python Extension version:  0.8.0
Python Version:   does not matter
OS and version:    Windows
Expected  behavior
Don't create empty .vscode subdirectory. It's annoying. If your extension needs something and that ain't there - don't create empty directory. I don't need this directory. I don't have to change some default options just to stop your extension to doing the right thing. Your extension by default should not mess my disk without the reason. There is no reason for this.
Stop creating empty directories.

This is possibly due to the fact that the extension is attempting to generate a .tags files for workspace symbols (used in code navigation). Looks like you do not have ctags installed.
This can be turned off in your user settings as follows:

Go into user settings
Add the following setting:

"python.workspaceSymbols.enabled": false

Please let me know if this resolves the issue, if not please provide the instructions required to reproduce this issue (e.g. does it happen when you open a python file, open a workspace, when debugging, etc)

Sorry, but for me this inappropriate solution. I don't want to remember about this strange option every time I install your extension on some new computer I work on.
I've been using VScode and your extension for about year or maybe 2, I don't remember exactly. And then all of a sudden around the summer 2017 I've noticed this strange behavior that your extension started to create empty folders. I've already filed a bug report https://github.com/DonJayamanne/pythonVSCode/issues/1096#issuecomment-317409894 but you closed it. Feel free to close this one,
I just want to comment on this bad bahavior of your extension. It wasn't created any empty folders in the past, I see no reasons for me to continue using your extension just because my computer don't have ctags installed (as most of Windows computers I guess). I probably don't need your extension if first thing I should do after install it - if I should disable linters, ctags and so on and so on. Probably your extension is great for other people, but I just need to edit my python project without worrying about all this stuff I don't need and don't care about. Sorry, but it seems your extension is just too much for me.
I'm really interested to use something that should help me in my work on python project, but I don't need all this stuff, remember of some bizarre options I should edit in json settings and so on. It wasn't always this way, but now it's stopper for me. The most bizarre thing is that Microsoft now endorses your extension.
Sorry, I simply uninstalled your extension and now I should remember only one thing: don't install it on other computers I work on.
Sorry again.

@bialix I agree with you. And I'm sorry about the trouble this issue may have caused. The next version of the extension will not create this directory.


Multiple files & text overflow

I was able to remove the content out of the label with overflow: hidden; white-space: nowrap;. Using text-overflow: ellipsis; didn't work though. Is this something worth pursuing?
source: https://www.codelord.net/2013/08/23/css-tip-overflowing-with-text/

Hi I made an example how to handle multiple files and text overflow see "Example with label containing a child" here: https://bs-custom-file-input.netlify.com/

Thanks!

How to handle it now? Link not working.

Issue not solved...

@ArthurShlain it's the last one "Example with label containing a child"

Ok, thats works. But with that solution i cannot use Laravel {{ Form::label() }} construction. (I can't pass HTML for span element to the second parameter).

You can use a div instead of a label, I hope it'll help you


Added routes as an alias to route

Description

Add routes as an alias to route

Issues Resolved
resolves https://github.com/opensearch-project/data-prepper/issues/2520
Check List

[x] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Removed the commented test, build is passing locally.


vm support: don't generate virtual inbound/outbound listeners for proxies that are not using Iptables redirection

Signed-off-by: Yaroslav Skopets<EMAIL_ADDRESS>Please provide a description of this PR:
This PR turns off generation of virtual inbound/outbound listeners for proxies that are not using Iptables redirection.
The purpose of this PR is to remove configuration Istio sidecar doesn't need, minimize potential for conflicts over ports, get closer to the support of multiple Istio Sidecars per VM.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@yskopets: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
a66b28a5cc8584bbc197bbd1f4a003055569bcf7
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yskopets: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
a66b28a5cc8584bbc197bbd1f4a003055569bcf7
link
true
/test unit-tests_istio

release-test_istio
a66b28a5cc8584bbc197bbd1f4a003055569bcf7
link
true
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@yskopets: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
bacab1c3292b454c0aa453402ae1873561330737
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yskopets: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster_istio
bacab1c3292b454c0aa453402ae1873561330737
link
true
/test integ-pilot-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-multicluster_istio

Seems reasonable to me but i don't know much about this mode. Assigned some experts


Create FromDuration(time.Duration) convenience factory.

This is to reduce the level of boilerplate involved when doing a proper, vet-conform instantiation as in
d := jsonutil.Duration{Duration: 10 * time.Second}
I found FromDuration to improve readability. Let me know if you think this is worthwhile adding.

Sure, not a bad addition. Thanks !


[Packager] Print a more helpful error message when loading a path that can't be handled

Currently if you load a bundle that the packager doesn't support (for example if there's a typo in the URL path) you get this stack trace:
TypeError: Path must be a string. Received null
    at assertPath (path.js:8:11)
    at Object.posix.resolve (path.js:413:5)
    at react-native/packager/react-packager/src/DependencyResolver/DependencyGraph/index.js:153:33
    at tryCallOne (react-native/node_modules/promise/lib/core.js:37:12)
    at react-native/node_modules/promise/lib/core.js:103:15
    at flush (react-native/node_modules/promise/node_modules/asap/raw.js:50:29)
    at doNTCallback0 (node.js:408:9)
    at process._tickCallback (node.js:337:13)

But it would be much less cryptic to get something like "Could not find source file at path/to/SomeApp.js". Anyone from the community want to help work on this?

@ide What's the best way to reproduce this? I tried adding typos to the URL before passing it to the RCTRootView but it properly throws the NotFoundError.

@ide Nevermind, I tested on an older version that wasn't using path.resolve...

The error is a lot less cryptic now. Thanks @dsibiski!


explicitly use 'Type.self' notation when passing types to Realm Swift APIs

/cc @austinzheng
fixes #3711

Looks good. Thanks for making these changes!

I'm still not a fan of using .self everywhere, and I don't see a reason to change it now.

The fact that it working is just a bug isn't news; we knew that when we were first developing the Swift API and it came up in our discussion then about whether or not to omit .self when possible.

The fact that it working is just a bug isn't news; we knew that when we were first developing the Swift API and it came up in our discussion then about whether or not to omit .self when possible.

Actually, we decided to unify our documentation around this a few months ago (though I don't recall where the discussion took place) and consistency was the motivating factor.

I'm merging this since it's just a matter of time until apple/swift@4a60b6c makes its way into a release.


SMPP Server.

This is what i think must be in simple server. But this realization has some problems.
For example with close close conn. Need help with it.

The smpptest package is for testing only, analogous to net/http/httptest. If we are going to have proper server code it has to be in the smpp package.

Ok. Also, I can't understand what happenned on tests. Can you explain me for future PullRequests?

Sure. If you click the Details on the failed test you can scroll down to the ^FAIL message, and above it is the output of the failure. This specific case (https://travis-ci.org/fiorix/go-smpp/builds/128061202#L188) was because of undefined smpptest.NewServer probably because you didn't commit and push that part of your code.


openssl and macro error

boost 18,2 Which version of Openssl to use?   BOOST_MPL_PP_DEFAULT_PARAMS  and BOOST_MPL_AUX_NA_SPEC Macro error.

Hi @wanglei-fenyu,
Both OpenSSL 1.1.1.x and OpenSSL 3.0 should work. Are you having any trouble with any of these?

BOOST_MPL_PP_DEFAULT_PARAMS and BOOST_MPL_AUX_NA_SPEC Macro error.

I need more information to diagnose this. Please answer the following questions and include any other extra info available:

What operating system and compiler are you using?
Are you using any other Boost libraries? Which ones?
What is the exact text of the compiler error?
How are you building your application? Are you using CMake?

Regards,
Ruben.


Check this if you need to hack someone’s account

If you need to bruteforce any account on any social platform you should dm seve.services on instagram, and we will help you out!

Password hack karna ha

Dm I'm on telegram with this code I solved All your issues +13177993061


Suggest to avoid "Master branch" instead of "Default branch"

Why:
Fixes https://github.com/github/docs/issues/1495

What's being changed:
I've changed the suggestion to avoid "Default branch" to avoid "Master branch". I believe the latter can be considered offending, whereas I don't see any issue with the term "Default branch".

Check off the following:

[x] All of the tests are passing.
[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

@ba32107 Thanks so much for opening a PR! I'll get this triaged for review ✨


Add K10 binaries as part of sponsored app

Add K10 binaries as part of sponsored app
Kasten will be the second sponsored app for arkade - Kasten provides a complete backup solution for Kubernetes apps including persistent volumes and multi-cluster support.
Binaries to add to arkade get:

https://github.com/kanisterio/kanister/releases
https://github.com/kastenhq/kubestr/releases
https://github.com/kastenhq/external-tools/releases (k10multicluster)

Questions/observations:

Each tool has different architectures - some are zippped, some are not.
Would suggest zipping the 100MB k10tools binary.
Why is there a separate GitHub org for kanisterio?
kubestr has a v prefix for versions, the other tools don't
kubestr has no arm binaries

@MichaelCade I think I assumed that I would find a kannister CLI in the archive, but there's three binaries.
Could you comment on which CLI should be downloaded in the three cases?
arkade get kanister
arkade get kubestr
arkade get k10multicluster ?

There are two command-line tools that are built within the Kanister repository.
Although all Kanister custom resources can be managed using kubectl, there are situations where this may be cumbersome. A canonical example of this is backup/restore - Manually creating a restore ActionSet requires copying Artifacts from the status of the complete backup ActionSet, which is an error prone process. kanctl simplifies this process by allowing the user to create custom Kanister resources - ActionSets and Profiles, override existing ActionSets and validate profiles.
A common use case for Kanister is to transfer data between Kubernetes and an object store like AWS S3. We've found it can be cumbersome to pass Profile configuration to tools like the AWS command line from inside Blueprints.
These are related to the open source project kanister, this is related to the open source project https://kanister.io/ which is used within the commercial product Kasten K10.
Is that clear?

9ad75ff renames kanister to kanctl

Here we are:
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ go build && ./arkade get k10multicluster
Downloading: k10multicluster
https://github.com/kastenhq/external-tools/releases/download/4.0.6/k10multicluster_4.0.6_linux_amd64
43.72 MiB / 43.72 MiB [------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
Tool written to: /home/alex/.arkade/bin/k10multicluster

# Add (k10multicluster) to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/home/alex/.arkade/bin/k10multicluster

# Or install with:
sudo mv /home/alex/.arkade/bin/k10multicluster /usr/local/bin/

alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ go build && ./arkade get k10tools
Downloading: k10tools
https://github.com/kastenhq/external-tools/releases/download/4.0.6/k10tools_4.0.6_linux_amd64
85.91 MiB / 85.91 MiB [------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
Tool written to: /home/alex/.arkade/bin/k10tools

# Add (k10tools) to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/home/alex/.arkade/bin/k10tools

# Or install with:
sudo mv /home/alex/.arkade/bin/k10tools /usr/local/bin/

alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ go build && ./arkade get kanctl
Downloading: kanctl
https://github.com/kanisterio/kanister/releases/download/0.63.0/kanister_0.63.0_linux_amd64.tar.gz
44.76 MiB / 44.76 MiB [------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
/tmp/LICENSE LICENSE
/tmp/README.md README.md
/tmp/kanctl kanctl
/tmp/kando kando
/tmp/controller controller
2021/08/05 10:37:55 extracted tarball into /tmp: 5 files, 0 dirs (1.121470384s)
Tool written to: /home/alex/.arkade/bin/kanctl

# Add (kanctl) to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/home/alex/.arkade/bin/kanctl

# Or install with:
sudo mv /home/alex/.arkade/bin/kanctl /usr/local/bin/

And testing them:
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ export PATH=$PATH:$HOME/.arkade/bin/
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ kanctl
A set of helpers to help with management of Kanister custom resources

Usage:
  kanctl [command]

Available Commands:
  create      Create a custom kanister resource
  help        Help about any command
  validate    Validate custom Kanister resources

Flags:
  -h, --help               help for kanctl
  -n, --namespace string   Override namespace obtained from kubectl context
      --verbose            Display verbose output
  -v, --version            version for kanctl

Use "kanctl [command] --help" for more information about a command.
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ k10multicluster
k10multicluster is a tool that manages clusters for global multi-cluster dashboard.

Usage:
  k10multicluster [command]

Available Commands:
  bootstrap     Run the bootstrap command
  help          Help about any command
  kubeconfig    Commands to work with kubeconfig files
  remove        Run the remove command
  setup-primary Run the setup-Primary command

Flags:
  -h, --help   help for k10multicluster

Use "k10multicluster [command] --help" for more information about a command.
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$ k10tools
The k10tools command contains a set of tools for evaluating and debugging K10

Usage:
  k10tools [command]

Available Commands:
  debug            Debug commands related to K10
  help             Help about any command
  k10genericbackup A tool to make Kubernetes workloads compatible for K10 Generic Storage Backup
  primer           A tool to ensure your cluster can run K10

Flags:
  -h, --help            help for k10tools
  -o, --output string   Options(json)

Use "k10tools [command] --help" for more information about a command.
alex@alex-nuc8:~/go/src/github.com/alexellis/arkade$


Unable to startup System 6.0.4

I build it from the source and start it under macOS Catalina:

I clicked on S6, D1 and choose <import master>

I choose the folder where System 6.0.4 was located:

I clicked the OK button

I got the dialog box of "Select Destination". When I clicked on "Create Directory", there is no response.   Then click create.
Perhaps a dialog should come up or the option should be grayed.  Alternately if there are no directories then the GUI should not show an empty list and automatically select the input box.
I can also create some initial directories so there's always something available.  Anyway the instructions in the first paragraph above should get you passed that.

Also if you are selecting an 800K image, that is a 3.5" disk which should go in slot 5.
I will rename these entries to say "3.5 inch drive" or something like that.
A good longer term solution to help those that aren't familiar with the various disk image and drive hardware would be for the browser to display the disk type.

Also if you are selecting an 800K image, that is a 3.5" disk which should go in slot 5 versus slot 6. After creating a directory you would likely be greeted with an error about the image not being a 5.25 inch disk image (140k).
I will rename these entries to say "3.5 inch drive" or something like that. The traditional Apple IIgs slot assignments for these drives are reflected in the GUI but the interface should be friendlier.
A good longer term solution to help those that aren't familiar with the various disk image and drive hardware would be for the browser to display the disk types and filter for what's allowed.

OK. I understand more how to select the disk and create the directory. But even after I selected System.Disk in S5,D1 and I clicked Reboot (cycle power), I cannot see the System 6.0.4 boot up.

Also if you are selecting an 800K image, that is a 3.5" disk which should go in slot 5 versus slot 6. After creating a directory you would likely be greeted with an error about the image not being a 5.25 inch disk image (140k).
I will rename these entries to say "3.5 inch drive" or something like that. The traditional Apple IIgs slot assignments for these drives are reflected in the GUI but the interface should be friendlier.
A good longer term solution to help those that aren't familiar with the various disk image and drive hardware would be for the browser to display the disk types and filter for what's allowed.

OK. I understand more how to select the disk and create the directory. But even after I selected System.Disk in S5,D1 and I clicked Reboot (cycle power), I cannot see the System 6.0.4 boot up.

OK. I fixed the problems after I found the CORRECT Apple IIGS ROM3 file and now I can successfully boot up the IIGS. It looks like the UI is not intuitive enough for novice users like myself to use it.

ROM validation is a good feature to detect valid IIGS ROM files (there are obvious signature bytes in the binary file.)
This will be necessary when ROM 1 support is added (and to help avoid bad ROM files from messing things up.)

Links:
#55
#39

I'll add links to other IIGS emulators if you want to try them out.   They vary in end-user experience (AMPLE has more of a GUI vs KEGS.)    KEGS probably has the best IIGS feature support.   AMPLE, uses a MAME backend which has had a lot of iteration.
https://github.com/ksherlock/ample
https://kegs.sourceforge.net/


Android Build will not load .JSEngine after the first time you download and open itit

Describe your bug here.
I downloaded the Android Build, and I was able to open it, but after i deleted the .JSEngine, and redownloaded the app again, the .JSEngine did not appear.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Neko, HashLink, or other build system
Did you edit anything in this build? If so, mention or summarize your changes.
I did delete the .JSEngine, but I am usually able to get it back after redownloading the application.
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None

Another thing to mention, I do have the assets in the .PsychEngine folder. It just will not load after the first time you download it and open it

you have to move the files and stuff to .JSEngine now

you have to move the files and stuff to .JSEngine now

What files?

you have to move the files and stuff to .JSEngine now

What files?

the stuff inside .PsychEngine, that folder isn't used anymore since 1.14.0


Implemented initial profile screen functionality, routing and sign out refactoring

Create profile screen
View user detail within the profile screen
Setup routing for the profile screen
Refactored sign out to the profile screen

@UdeshUK Please include screenshots of the new interfaces in the PR description.


Revert "Weak hashes"

Reverts microsoft/AzureTRE#3963
currently getting these errors:
Setting output 'ciGitRef: refs/pull/4011/merge
Error: Digest method not supported
    at new Hash (node:internal/crypto/hash:79:19)
    at createHash (node:crypto:139:10)
    at createShortHash (/home/runner/work/AzureTRE/AzureTRE/.github/scripts/build.js:295:16)
    at getRefIdForPr (/home/runner/work/AzureTRE/AzureTRE/.github/scripts/build.js:288:10)
    at Object.getCommandFromComment (/home/runner/work/AzureTRE/AzureTRE/.github/scripts/build.js:24:19)
    at eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35424:16), <anonymous>:4:14)
    at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35425:12)
    at main (/home/runner/work/_actions/actions/github-script/v7/dist/index.js:35522:26)
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:35497:1
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:35553:3

/test

I've reproduced this locally adding
  describe('createShortHash creates a short hash from a long hash', () => {
    test('should return the first 8 characters of the hash', () => {
      const longHash = '0123456789abcdef';
      const shortHash = 'fe5567e8';
      expect(createShortHash(longHash)).toBe(shortHash);
    }
    );
  });

to build.test.js . Will try resolve.


link for local development instructions in Recommendations service README not working

The current link for the local development instructions in the Recommendations service README (../) directs to src  instead of the correct path: https://github.com/aws-samples/retail-demo-store/blob/master/docs/Deployment/local-development/0-local-development-instructions.md.

fixed in #661  and others, use the doc linked here https://aws-samples.github.io/retail-demo-store/


feat: use vite uses ctx.config.cacheDir if defined

🔗 Linked issue
https://github.com/nuxt/nuxt/issues/27627
📚 Description
Vite's shared option cacheDir is not currently supported by vite-builder.  This PR allows setting it in Nuxt config vite object.
# nuxt.config.js

export default defineNuxtConfig({
  ...
  vite: {
    cacheDir: "node_modules/.cache/vite_custom"
  }
}

🤨 Why
I am running instances of nuxt dev simultaneously in one directory. When they both target the same vite.cacheDir there are conflicts and unexpected behaviors ensue (mostly, app doesn't load).
😌 QA
Modified in Playground to confirm it modified Vite's cache directory.

I'd love to see this merged. I could finally get rid of the dirty hacks I'm doing to avoid the same issue.

This seems good to me. Only - I wonder if we could do it automatically. I assume you also have a custom buildDir, right?

Great to see this. An overridable default that works automatically when different build directories exist (using hashes of the build directories) also makes sense to me.


Fixing 218254

onDidShowContextMenu fires for every webview even though only one webview has the context menu visible, hence removed the onDidShow listener, sending the set-context-menu-visible event to the html on did-context-menu event so that the context-menu-visible class gets applied only to the webview that actually has the context menu visible

@mjbvz could you please check and review this change 🙂

(Fixes #218254)

@mjbvz could you please take a look at this when you have a moment 🙂? Thank you! 🙂


Forums: Highlight links which were opened on the same day, also save last opened date in db so to highlight the row from which we have to continue in watched threads

https://github.com/amitsingh-007/bypass-links/pull/229

https://github.com/amitsingh-007/bypass-links/pull/229

last date is pending

last date is pending


Conversion complete

Removed all Polymer references
Removed Polymer-specific API calls
Converted Polymer conventions to native conventions

Move to Feature Branching


Release Google.Cloud.Notebooks.V1 version 2.4.0

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.Notebooks.V1-2.4.0


Authentication Error

Need a little help.  As I'm following through the tutorial and testing the first time the ability to Register or Login in I'm not getting the buttons to register or login option.  It's going straight to the display of "..." which is classified as Authorizing from the LoginDisplay.razor page..
@inject NavigationManager Navigation
@inject SignOutSessionStateManager SignOutManager

    <AuthorizeView>
        <Authorizing>
            <text>...</text>
        </Authorizing>
        <Authorized>

                <a href="authentication/profile"<EMAIL_ADDRESS>                <button class="btn btn-link sign-out" @onclick="BeginSignOut">Sign out</button>

        </Authorized>
        <NotAuthorized>
            Register
            Log in
        </NotAuthorized>
    </AuthorizeView>

I have this in my Main function in the Programs page and it compiles and runs but goes straight to  instead of .
builder.Services.AddApiAuthorization();
When I replace the above code with the following code I found in newer releases of the source code I can't run it because the top line throws me an error. (AddRemoteAuthentication)
 builder.Services.AddRemoteAuthentication<PizzaAuthenticationState, ApiAuthorizationProviderOptions>();
            builder.Services.AddApiAuthorization(options =>
            {
                options.AuthenticationPaths.LogOutSucceededPath = "";
                options.ProviderOptions.ConfigurationEndpoint = "_configuration/BlazingPizza.Client"; // temporary workaround
            });

I believe, but don't know for sure, that this may be the culprit of my error.
Thanks.
Scott

Hi, if you're just studying the first 5 chapters.
In the program.cs code, you can refer to the following code
 public class Program
    {
        public static async Task Main(string[] args)
        {
            var builder = WebAssemblyHostBuilder.CreateDefault(args);
            builder.RootComponents.Add<App>("app");

            builder.Services.AddBaseAddressHttpClient();

            builder.Services.AddScoped<OrderState>();

            // Add auth services
            builder.Services.AddApiAuthorization();

            await builder.Build().RunAsync();
        }
    }

If you created the template yourself, all the pages under this path must exist.
https://github.com/dotnet-presentations/blazor-workshop/tree/master/src/BlazingPizza.Server/Areas/Identity/Pages

I am having a problem at the same step in the tutorial. In my case I am getting an unhandled error:
Failed to load resource: the server responded with a status of 404 ()
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component. Could not load settings from '_configuration/BlazingPizza.Client' at Function.createUserManager (https://localhost44381/_content/Microsoft.AspNetCore.Components.WebAssembly.Authentican/AuthenticationService.js:1:5893)

As I started the BlazingPizza project completely from scratch and in 06-authentication-and-authorization I received the same error as gclee46 commented on Jun 6.
In my case in the BlazingPizza.Server project the OidcConfigurationController was missing.
public OidcConfigurationController(IClientRequestParametersProvider clientRequestParametersProvider)
{
ClientRequestParametersProvider = clientRequestParametersProvider;
}
    public IClientRequestParametersProvider ClientRequestParametersProvider { get; }

    [HttpGet("_configuration/{clientId}")]
    public IActionResult GetClientRequestParameters([FromRoute]string clientId)
    {
        var parameters = ClientRequestParametersProvider.GetClientParameters(HttpContext, clientId);
        return Ok(parameters);
    }
}

As I started the BlazingPizza project completely from scratch and in 06-authentication-and-authorization I received the same error as gclee46 commented on Jun 6.
In my case in the BlazingPizza.Server project the OidcConfigurationController was missing.
public class OidcConfigurationController : Controller
{
public OidcConfigurationController(IClientRequestParametersProvider clientRequestParametersProvider)
{
ClientRequestParametersProvider = clientRequestParametersProvider;
}
    public IClientRequestParametersProvider ClientRequestParametersProvider { get; }

    [HttpGet("_configuration/{clientId}")]
    public IActionResult GetClientRequestParameters([FromRoute]string clientId)
    {
        var parameters = ClientRequestParametersProvider.GetClientParameters(HttpContext, clientId);
        return Ok(parameters);
    }
}

Need a little help. As I'm following through the tutorial and testing the first time the ability to Register or Login in I'm not getting the buttons to register or login option. It's going straight to the display of "..." which is classified as Authorizing from the LoginDisplay.razor page..
@inject NavigationManager Navigation
@inject SignOutSessionStateManager SignOutManager

    <AuthorizeView>
        <Authorizing>
            <text>...</text>
        </Authorizing>
        <Authorized>

                <a href="authentication/profile"<EMAIL_ADDRESS>                <button class="btn btn-link sign-out" @onclick="BeginSignOut">Sign out</button>

        </Authorized>
        <NotAuthorized>
            Register
            Log in
        </NotAuthorized>
    </AuthorizeView>

I have this in my Main function in the Programs page and it compiles and runs but goes straight to instead of .
builder.Services.AddApiAuthorization();
When I replace the above code with the following code I found in newer releases of the source code I can't run it because the top line throws me an error. (AddRemoteAuthentication)
 builder.Services.AddRemoteAuthentication<PizzaAuthenticationState, ApiAuthorizationProviderOptions>();
            builder.Services.AddApiAuthorization(options =>
            {
                options.AuthenticationPaths.LogOutSucceededPath = "";
                options.ProviderOptions.ConfigurationEndpoint = "_configuration/BlazingPizza.Client"; // temporary workaround
            });

I believe, but don't know for sure, that this may be the culprit of my error.
Thanks. Scott

I had the same issue, I only get "..." instead of a login control. I added this attribute to the OrderContext class in the BlazingPizza.Shared project:
[JsonSerializable(typeof(Dictionary<string, string>))]
Now it works for me.


pyIntesisHome lost connection to the IntesisHome server

Im with latest versión of core and supervisor in HA. No update status, and climate entity is marked as unavailable. i cant use the climate from HA.
With AC Cloud APP works without problems. Tried to reconnect Intesishome unit, reboot router, restart HA several times....
Logger: pyintesishome
Source: runner.py:119
First occurred: 17:34:08 (1 occurrences)
Last logged: 17:34:08
pyIntesisHome lost connection to the IntesisHome server. Exception: 0 bytes read on a total of undefined expected bytes
Originally posted by @ldsmovil in https://github.com/jnimmo/pyIntesisHome/issues/44#issuecomment-1226102023

Fixed with latest Ha core version, no connections drops now, finger crossed

Thanks for the update! Feel free to reopen if it continues


[BugFix] Fix bitnot largeint cast

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/StarRocksTest/issues/1733
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5

before https://github.com/StarRocks/starrocks/pull/15757
the plan for select bitnot(cast(power(-2,127) as largeint)+1); was:
~ CAST(power(-2.0, 127.0) AS LARGEINT) + 1

but after that commit, the plan was:
~ CAST(CAST(power(-2.0, 127.0) AS LARGEINT) + 1 AS BIGINT)

The reason is  we shouldn't handle bitnot by ArithmeticExpr when Analyze.

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

I see the bitnot function was regarded as ArithmeticExpr in ScalarOperatorToExpr#439. Is this bug caused by casting
the partamer to a wrong type in bitnot function?

ArithmeticExpr

I see the bitnot function was regarded as ArithmeticExpr in ScalarOperatorToExpr#439. Is this bug caused by casting the partamer to a wrong type in bitnot function?

            } else if (node.getOp().getPos() == ArithmeticExpr.OperatorPosition.UNARY_PREFIX) {

                Function fn = Expr.getBuiltinFunction(
                        node.getOp().getName(), new Type[] {Type.BIGINT}, Function.CompareMode.IS_SUPERTYPE_OF);

                node.setType(Type.BIGINT);
                node.setFn(fn);

bug is here, if we handle the bitnot as ArithmeticExpr, the arg type will be BIGINT.

So we just regard the bitnot as a normal function call in FE and regard it as ArithmeticExpr in BE?

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test


Replace RdapNameserver with a wrapper instead of an Autovalue

This change is

Yes, I believe this should be closed. Guy can re-open it later if we decide that we want it, but I think we're good here.


Changes for Powershell on remote + Azure File Copy + Windows File Copy

You will have to change UT framework to run with system.debug true. Else pester tests might fail looking for messages.


Add Support for Azure Data Lake Gen2 MSI

What changes are proposed in this pull request?
Add Support for Azure Data Lake Gen2 MSI
Why are the changes needed?
Please clarify why the changes are needed. For instance,
when using ADLS Gen2, it's necessary to use Msi to auth
Does this PR introduce any user facing changes?
change api
addition property keys
add doc

CAL mail sent.

@HelloHorizon @Jackson-Wang-7 Is there anything wrong with my commit, it seems workflows still awaiting

add check style commit

please rerun the workflows

@Jackson-Wang-7 please rerun the workflows，thanks

it seems the error that cause by run time fluctuation. I can't reproducing locally. How to deal with this type of problem?
@Jackson-Wang-7

it seems the error that cause by run time fluctuation. I can't reproducing locally. How to deal with this type of problem? @Jackson-Wang-7

I think this error is not caused by your code. maybe it’s a flaky test fault, I will rerun it and check then.

it seem run passed

@Jackson-Wang-7 hi, the checks have passed, will it be merged

@Jackson-Wang-7 i have delete default ip in default value, should it restart workflows

@Jackson-Wang-7 The check finished successfully. Thanks a lot.

@Jackson-Wang-7  hello，will it be merge in master？

@HelloHorizon please merge it

alluxio-bot, merge this please

I am curious what tests have been done before this merge?


metascript is lowercase in npm; this fixes builds on case sensitive filesystems.

@adam-p This needs to be merged into the main branch. Without it is impossible to set up a development environment as the package won't install with the old name.
When you run make you get get the following error:
rm -rf dist
cd utils; \
node "build.js";
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'MetaScript'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/tschallacka/Documents/github/markdown-here/utils/build.js:12:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
make: *** [Makefile:13: build] Error 1

If this commit would be merged into master, this issue would be resolved.
For those that stumble upon this non-merged pull request
if you forked this library run
git remote add upstream git@github.com:adam-p/markdown-here.git
then run
git fetch upstream pull/459/head:your-local-branch-name-here
and then you can run make without issues.

This should be reopened.


[External] [DMC] File.size() uses a 32-bit signed integer for size internally (gives wrong results for files over ≈2.1 GB)

issues.dlang.org.kq.ajsx reported this on 2017-11-28T15:00:15Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=18017
CC List

kinke
schveiguy (@schveiguy)

Description
I think the code should say it all:

void main(string[] args)
{
    import std.stdio;
    // assume C:\code\foo.raw is<PHONE_NUMBER> bytes big (INT_MAX+1), for example
    // dd if=/dev/zero of=/cygdrive/c/code/foo.raw bs=65536 count=32768
    auto f = File("C:\\code\\foo.raw");
    assert(f.size ==<PHONE_NUMBER>1562067968u);
    // dd if=/dev/zero of=/cygdrive/c/code/foo.raw bs=65536 count=32768
}

issues.dlang.org.kq.ajsx commented on 2017-11-28T18:09:38Z
std.file.getSize works correctly in my case.

The thing is, I read this big file (using struct File and then byChunk) and I am getting all the data correctly - only the size returned by File.size isn't correct - that's why I suggested using raw winapi for this (at least on win32), but std.file.getSize might work as well.

issues.dlang.org.kq.ajsx commented on 2017-11-28T17:42:16Z
Getting -m64 to work requires non-zero effort and even then isn't hassle-free. I used this as a workaround instead:

ulong getFileSize(const string name)
{
    import std.utf;
    import core.sys.windows.windows;
    //import core.stdc.
        HANDLE hFile = CreateFile(name.toUTF16z, GENERIC_READ,
        FILE_SHARE_READ, NULL, OPEN_EXISTING,
        FILE_ATTRIBUTE_NORMAL, NULL);
    if (hFile==INVALID_HANDLE_VALUE){
        return -1; // error condition, could call GetLastError to find out more
    }

    LARGE_INTEGER size;
    if (!GetFileSizeEx(hFile, &size))
    {
        CloseHandle(hFile);
        return -1; // error condition, could call GetLastError to find out more
    }

    CloseHandle(hFile);
    return size.QuadPart;
}

schveiguy (@schveiguy) commented on 2017-11-28T18:30:50Z
std.file.getSize works because it *does* use WinAPI directly.

std.stdio.File is based completely on libc's FILE * structure. It can only support whatever that supports, and that isn't very much. In the case of 32-bit windows, the library it uses is Digital Mars' C runtime, which has some difficult limitations, this being one of them.

A potential fix here is to get the handle directly from the FILE * and query it using WinAPI. But this doesn't fix File.tell(), which is going to use the libc version.

schveiguy (@schveiguy) commented on 2017-11-28T15:32:29Z
The issue here is that DMC's 32-bit ftell returns a 32-bit signed value, and this translates to int.min here.

Then phobos translates that to an unsigned long (64-bit).

The workaround is to simply use 64-bit C runtime (dmd -m64), which should work properly.

But until DMC's clib can support 64-bit ftell, D can't do anything about this. Sure we can treat values from int.min to -2 as unsigned, but that doesn't help with 5GB files for instance.

One thing we *could* do is throw an error. But I'm not sure that's a "solution". Nor am I sure that this workaround would work for files that are larger than uint.max.

schveiguy (@schveiguy) commented on 2017-11-28T18:04:59Z
Nevertheless, it's still a bug, as File.size using ulong as its return seems to suggest it can handle it.

Note, there's also std.file.getSize: https://dlang.org/phobos/std_file.html#getSize if you aren't actually reading anything in the file.

schveiguy (@schveiguy) commented on 2017-11-28T21:50:34Z
(In reply to kinke from comment #6)
> Then `-m32mscoff` is another option for Win32.

Yeah, if that defines CRuntime_Microsoft, then it should work. I admit I'm not too familiar with Windows dmd development, and haven't really tried all of these options.

Appropriate version switch is here: https://github.com/dlang/phobos/blob/master/std/stdio.d#L1142

kinke commented on 2017-11-28T21:25:46Z
(In reply to Steven Schveighoffer from comment #5)
> std.stdio.File is based completely on libc's FILE * structure. It can only
> support whatever that supports, and that isn't very much. In the case of
> 32-bit windows, the library it uses is Digital Mars' C runtime, which has
> some difficult limitations, this being one of them.
>
> A potential fix here is to get the handle directly from the FILE * and query
> it using WinAPI. But this doesn't fix File.tell(), which is going to use the
> libc version.

Then `-m32mscoff` is another option for Win32.


Move neuralspeed embedding rerank and vllm-xft to catalog

Description
Move neuralspeed embedding rerank and vllm-xft to catalog
Issues
n/a
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)
[x] Others (enhancement, documentation, validation, etc.)

Dependencies
None
Tests
Local test.

The test pass in the previous commit, so we can merge.


[Bug] Wrong location of caret after c + motion

Caret location is misplace after change + motion command. Here's an example:
aaa [LOCATION OF CARET]bbb ccc ddd
After commdand: cw (change + one word forward), the location is here:
aaa bbb ccc [LOCATION OF CARET]ddd
-- although it should be here:
aaa bbb [START LOCATION OF CARET]ccc ddd
Environments
Edition	Windows 10 Pro
Version	21H2
Installed on	3/13/2021
OS build	19044.2846
Experience	Windows Feature Experience Pack 120.2212.4190.0
|win-vind Version|<IP_ADDRESS>

@gilbh
Thanks for your bug reports and sponsoring.
This behavior is exactly a bug.
Furthermore, this operation should remove one word, but the current behavior does not remove it.
I'll fix it as soon as possible.

Thanks.
About "the current behavior does not remove it" -- if you wrote this b/c of my example above, then it was my mistake, I forgot to remove the 'bbb' following the cw command. The correct behavior is this:
aaa [LOCATION OF CARET]bbb ccc ddd
After command: cw (change + one word forward), the location is here:
aaa ccc [LOCATION OF CARET]ddd
-- although it should be here:
aaa [START LOCATION OF CARET]ccc ddd
Sorry for the confusion!

Not your example, win-vind does not actually remove.

I solved this problem.
After passing some tests, I'll release it as v5.0.2.

I just confirmed and now it works fine. That's a big help! Many thanks!!


Add native ESM test running via Snowpack to app-template-react

Depended on #1196, #1195 #1203 and #1193. (all merged)
Resolves #1036
Changes

300 dependencies removed for react template! (down from 954 -> 662)!
No more jest means no more second, jest-specific build pipeline!
Replaced with @web/test-runner, which uses Snowpack's internal build pipeline.
Testing through Snowpack = now possible for a larger Snowpack CDN integration

What is in this PR?

A new Snowpack plugin for @web/test-runner
Moving app-template-react from jest -> @web/test-runner
Added a server.shutdown() method to the Snowpack JS API
Added template tests to our current test suite.

Testing

Done

Docs

Added a readme.
Added to React template readme.

Just 1 test, but comparing master vs. this branch:
yarn test (jest, cold): ✨  Done in 4.48s.
yarn test (jest, warm): ✨  Done in 1.93s.
yarn test  (wtr, cold): ✨  Done in 1.60s.
yarn test  (wtr, warm): ✨  Done in 1.47s.       # not sure if wtr is actually doing any caching

and comparing 20 tests x 20 files:
yarn test (jest, cold): ✨  Done in 7.06s.
yarn test (jest, warm): ✨  Done in 4.58s.
yarn test  (wtr, cold): ✨  Done in 3.34s.
yarn test  (wtr, warm): ✨  Done in 2.93s.       # not sure if wtr is actually doing any caching

So it's a bit faster (2x faster at 20 test files). I would have thought that was due to Snowpack's optimized build pipeline, but on a warm run those files are supposed to be cached. tbh jest does so much... it may just be slow.
Note: I uncovered some unexpected behavior on wtr when doing this, filed here: https://github.com/modernweb-dev/web/issues/720. I'm going to miss the fact that Jest is so mature, but we just really need to move off of Jest's totally superfluous 2nd build pipeline and onto Snowpack's. It's safer, and unlocks so much for us, and a user who really wants Jest can continue to use Jest if they desire.

@LarsDenBakker appreciate the review! :) Any overall thoughts/feedback?

I think it's a great start!
The WTR config could be native ESM as well, that's what we document mostly. But CJS works too of course.
When not testing in watch mode we set aggressive cache headers for the browser, so the same file will never be downloaded by the browser twice. When the first version is out of the door, I'll do some testing to see if this still works when the files are served by snowpack.

I believe from the odd console logs that I've played around with, we only see each file requested once per run.


Make pylibjpeg-libjpeg optional

Highdicom is licensed under the permissive MIT license to allow users to use in their own applications, regardless of licence.
Unfortunately, it currently depends on pylibjpeg-libjpeg, which is GPL v3 licensed. This effectively means that many users cannot use highdicom. Luckily highdicom only uses pylibjpeg-libjpeg indirectly through pydicom and only in a few specific cases (decoding pixel data with a few specific transfer syntaxes).
This PR moves pylibjpeg-libjpeg to an optional dependency, that users may install with pip install highdicom[libjpeg], and adds documentation to this effect.
It also alters the tests so that the relevant tests are automatically skipped if pylibjpeg-libjpeg is not installed. This necessitated a (long overdue) restructuring of the segmentation tests to split for loops within a single test to parameterized tests (using fixtures).

I also expanded the CI tests to run the test suite with and without pylibjpeg-libjpeg. With it, the full tests are run. Without it, tests that depend on it are skipped.


Fixed #35438 --Failed to insert an model instance into db that utilizes a UUID as its primary key and incorporates a GeneratedField.

Trac ticket number
ticket-35438
Branch description
I have defined a model that employs a UUIDField as its primary key, accompanied by a JSONField and several GeneratedFields, which are intended for indexing the JSONFields. However, when attempting to load data via loaddata from a JSON fixture, the process fails during the execution of the execute_sql method within django/db/models/SQL/compiler.py. The problematic code snippet is as follows:
def execute_sql(self, returning_fields=None):
    ....
            if not self.returning_fields:
                return []
   ....
            else:
                cols = [opts.pk.get_col(opts.db_table)]
                rows = [
                    (
                        self.connection.ops.last_insert_id(
                            cursor,
                            opts.db_table,
                            opts.pk.column,
                        ),
                    )
                ]
        converters = self.get_converters(cols)
        if converters:
            rows = list(self.apply_converters(rows, converters))
        return rows

Here, returning_fields comprises GeneratedFields, thereby preventing the method from directly returning an empty list at the outset of its logical execution. Moreover, since the model's primary key is not an AUTO_INCREMENT column (it's a UUID), last_insert_id() erroneously returns 0. This subsequently triggers an error within self.apply_converters(rows, converters) as it attempts to treat 0 as a UUID.
To address this issue, the else block logic requires adjustment to accommodate the presence of GeneratedField. Alternatively, within django/db/models/base.py's _save_table method, one could exclude GeneratedField from returning_fields. A modified approach might resemble:
Checklist

[x] This PR targets the main branch.
[ ] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[ ] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

Hi @zshongyi, this will need a test to be accepted 👍


Fixed Fig. 6

all_cells was accumulating all the lineages between each run, which broke the k-means results. This also adjusted the transition matrix and tolerances to better show the tHMM benefit.

all_cells was accumulating all the lineages between each run, which broke the k-means results. This also adjusted the transition matrix and tolerances to better show the tHMM benefit.

I thought it should accumulate them... I see why not now. Every data point has to be executed for itself. I knew I was doing differently from the other figures, should have known it's the wrong way. Thank you.


Add (simple) parser lookahead

This adds a simple version of lookahead to the input parser, similar to the lookahead from the output generator. At the moment, it can only lookahead one phoneme and can only check whether a phoneme is a member of a group, has a certain trait/aspect, or is a specific phoneme. It can't even check for not being a member of a group, etc...
I may improve the capabilities in the future; see #7 for possible future features.

Added some extra tests to see how state is handled. It seems to work as expected, so I'll probably merge it into main soon.

Okay, I've added the check for double-lookahead. I think it's good to merge.


[mapping template] allow setting bandwidth value options for create UNI add order

As a service delivery engineer, I would be able to
set value options for @{{productOrderItem[0].product.productConfiguration.bandwidth}} in request mapping of create UNI add order
and
specify value type - numeric or non-numeric

numeric

continuous values

input min and max
example :  [1-100]

discrete values

input all available values
example : [10, 100]

non-numeric

input all available values
examples : [month, year, day]

and after the mapping configuration is deployed into data plane, kraken will do value validation for sonata properties with value configured and report 422 if validation failed

write down some details about how you did the test, list some test steps. take some snapshot

range：

enum：