Multi-trip vehicle routing

In multi-trip vehicle routing, vehicles may serve multiple routes. That is, vehicles can return to the depot after serving one route, and then serve customers from another route.
Two papers propose a solution method for the multi-trip VRP with time windows:

Cattaruzza et al. (2016): this paper describes an HGS algorithm.
François et al. (2019): this paper describes an ALNS algorithm.

With the current setup, it should not be super difficult to add such an extension. Most importantly, we need:

[ ] Local search operators that insert/remove an intermediate depot (a.k.a. "trip delimiters") in a route.
[ ] The concatenation scheme needs to be modified slightly (see references) because of release times.
[ ] How to allow for multi-trip vehicle routing? We should keep single-trip vehicle routing as default. One way to incorporate this is to introduce a max_number_trips argument to ProblemData. The default is one. Setting this value to None means no restrictions.
[ ] Benchmark instances can be obtained from the references.
[ ] Representation of a multi-trip solution. How do we include trip delimiters? I think the intermediate depots should be made explicit e.g. Route #1: 1 2 0 3 0 4.

That will make it a bit more difficult to evaluate swapping, I guess, because one vehicle type might have a different max_trips than another.

That will make it a bit more difficult to evaluate swapping routes, I guess, because one vehicle type might have a different max_trips than another.

One way I can think of doing this is by removing a number of the intermediate depots. As a simple heuristic we can remove the last number of intermediate depots.
But I think the most common cases are max_trips = 1 or infinite. I think there are generally no restrictions on the number of trips per se. Rather, shift time windows or max durations are the restrictive factors.

I could use something like this for waste collection, to model returns to the depot when the vehicle is full. But it's not really pressing for me, so I probably won't work on this myself/soon.
@leonlan do you have this planned, or is it "might do if I have time" for you?

The latter. I don't need it for any of my research right now, but I may want to use it for future work. I definitely don't plan to work on this before November.

@leonlan and I just discussed this feature. Some notes:

Let's implement basic support first, we can optimize it further.
We will support multi-trip by adding 'depot' delimiters into a route. Hence a route remains a route as much as possible.
It is somewhat undefined whether an intermediate depot belongs to the trip before or after, hence ideally we do not rely on any of the two. An alternative is to add two depot delimiters, corresponding to end of previous and start of next trip. This can also be useful when tracking cumulative statistics such as load as it can reset in between the two depot delimiters.
We will lazily insert/remove depots to support the case max_trips = infinite and keep things clean.
Operators will apply their operators across routes, same route across trips or within trips, so three cases where we previously had two (within or across route). However, for example when exchanging segments, the segments cannot contain trip delimiters, so exchanging a segment of length 3 starting at the last stop of the first trip is not possible (similar to how currently bounds for routes are tracked).

Route cumulative statics

Cumulative statistics in a route remain largely the same.
We should add trip/tripIdx that tracks the trip for each node. Assuming this value is non-decreasing this way we can check if a segment [start, end] is the same trip as stats[start].trip == stats[end].trip, for use in local search operators.
TimeWindowSegment should be aggregated for a route as time increases across multiple trips so can remain largely the same.
For merging a depot to a time window segment, we need separate logic that considers a return to depot and possibly some depot handling/service time and reset max release times (see next point)?
TimeWindowSegment currently tracks max release times, however these should be computed per trip. A problem is that the time warp is currently added 'at the end' after computing the max release time. With multi-trip, we need this per trip, and we discussed that as an alternative we can probably directly apply the timewarp in TimeWindowSegment::merge as follows:

First compute max releaseTime, twEarly, twLate as usual.
If max release time is more then twEarly, set twEarly to max release time.
If this means twEarly > twLate, set increase timewarp by twEarly - twLate and set twLate = twEarly
When visiting the depot, reset releaseTime (we no longer need it for the next trip and the timewarp is already included)
A downside is that we lose the information about the starttime and slack without release times, however they don't seem meaningful.
We can already implement this as a seperate change before multi-trip

For load, we can either track cumulative load in the route, or cumulative load in the trip.

We should check/enforce that Route::loadBetween only queries route segments inside a single trip, such that both implementations (cumulative load in route or trip, e.g. with resetting) are equivalent.
I suggest tracking cumulative load in the trip, resetting it at the depot, for 'consistency' with resetting release times in TimeWindowSegment (see above).
This requires Route::loadBetween to be careful when querying segments including depot delimiters, probably the segments should include stops but never include the depot (as it has load 0 anyway), we should check/change and enforce this in the operators (also possible as seperate change upfront).

Operators

Time window computations are implemented in TimeWindowSegment so should largely remain the same
Load penalty violations should be computed per trip. Hence, for the current route, rather than having a single load() (and hasExcessLoad() property that is computed as stats.back().cumLoad, we should track the load for each trip. Operators can then compute the current load and penalty for the trips involved and compute the new penalties for those trips (if applicable). Operators should not compute load penalties on a route level, even when operating across routes it should consider the load violations for trips in those (different) routes.

Questions:

Should we add depot 'loading' time (service time) that is nonzero for loading/unloading? How should this be interpreted for single-trip?

Possible future optimizations

Caching of TWData segments, we could think of TWData for individual trips or twBefore/twAfter per trip (in general we may also consider having twBefore/twAfter caches that exclude the depot which is needed for heterogeneous vehicle types).
Inserting/removing depot delimiter operators
Moving complete trips
Exchange moves that move segments that include a depot delimiter

TimeWindowSegment currently tracks max release times, however these should be computed per trip. A problem is that the time warp is currently added 'at the end' after computing the max release time. With multi-trip, we need this per trip, and we discussed that as an alternative we can probably directly apply the timewarp in TimeWindowSegment::merge as follows:
First compute max releaseTime, twEarly, twLate as usual.
If max release time is more then twEarly, set twEarly to max release time.
If this means twEarly > twLate, set increase timewarp by twEarly - twLate and set twLate = twEarly
When visiting the depot, reset releaseTime (we no longer need it for the next trip and the timewarp is already included)
A downside is that we lose the information about the starttime and slack without release times, however they don't seem meaningful.
We can already implement this as a seperate change before multi-trip

I'll start with this.

I've tentatively assigned this to the v0.8.0 milestone, since you're starting to work on this. I'm trying to use the milestone feature a bit more to organise our issues into something that bears some resemblance to a roadmap. But just to be clear: there's no pressure on any actual feature making a particular release. The milestones are purely informative, not binding.

Representation of a multi-trip solution. How do we include trip delimiters? I think the intermediate depots should be made explicit e.g. Route #1: 1 2 0 3 0 4. Or we can use "|" as trip delimiter: Route #1: 1 2 | 3 | 4.

Shall we do |? The problem with inserting the depot is that it is not all that obvious in multi-depot settings which number's a client, and which one a depot. You'd have to check the instance to know how many depots there are, and then track that every number < # depots indicates a depot visit. That's much more burdensome than |, which makes immediately clear where the trip delimiters are.

Representation of a multi-trip solution. How do we include trip delimiters? I think the intermediate depots should be made explicit e.g. Route #1: 1 2 0 3 0 4. Or we can use "|" as trip delimiter: Route #1: 1 2 | 3 | 4.

Shall we do |? The problem with inserting the depot is that it is not all that obvious in multi-depot settings which number's a client, and which one a depot. You'd have to check the instance to know how many depots there are, and then track that every number < # depots indicates a depot visit. That's much more burdensome than |, which makes immediately clear where the trip delimiters are.

That's a good point and a nice suggestion! I was thinking that maybe something like |0| for visiting depot 0 would also be an option such that we can also see which depot is visited, however for single trip we also don't print the start/end depot so that's a bit weird as well. Therefore I think just | is a good suggestion (at least for now).

Update from my side: I haven't been working on implementing multi-trip because:

I spent some time to get the debugger working. While it still doesn't work on my mac, using Github Codespaces I can connect VS Code with a Linux VM that works well the Python/C++ debugger. More about that in #384 later.
While looking into pickup-and-delivery problems (PDPs), I read in Cattaruzza et al. (2016) that multi-trip problems can modeled as an instance of a PDP (it requires doubling the client nodes, see paper for more details). Although we do not have concrete plans yet to implement pickup-and-delivery problems (#331), it is worth discussing whether we should implement multi-trip as a separate feature or to provide it through a PDP interface. I'm more in favor of the latter, because it avoids double work and there is no urgency from my side to implement multi-trip.

I'm removing the v0.8.0 milestone. I think we should support this in another way than via pickup and delivery, but I do not have a sufficient understanding of the impact and effort needed to do so.

This paper might also be relevant for multi-trip (and, later, time-dependent VRP).

With 3PL providers, a reasonably common cost model is based on vehicle use (we cover this via VehicleType.fixed_cost) and the number of trips. We may or may not want to account for this cost model.

I'm assigning this for 0.10.0. I want to have this for my postdoc, and it might also be nice for the paper.

Benchmark instances can be obtained from the references.

I sent a mail to Kai Wang to ask for multidepot MVRPTWR instances (see paper).

@leonlan did you get a response in the meantime?

Benchmark instances can be obtained from the references.

I sent a mail to Kai Wang to ask for multidepot MVRPTWR instances (see paper).

@leonlan did you get a response in the meantime?

Nope

My proposal for Solution::Route:

Retain Route.visits() -> list[Client] as an iterator that simply returns all clients in the route.
Add Route.trips() -> list[Trip] (where Trip = list[Client]) that returns an overview of the actual trips, each delimited by a depot. Which depot should that be? Since we now allow different start/end depots this is not unambiguous.
We'll probably also want Route.trip(trip: int) -> list[Client] for good measure.

Which depot should that be? Since we now allow different start/end depots it is not unambiguous which depot should be used to delimit trips.

Probably the end depot, since a "trip ends at the depot", and in the case of a single trip => route == trip => route ends at end depot.

Retain Route.visits() -> list[Client] as an iterator that simply returns all clients in the route. This is backwards compatible and means users that do not explicitly use multi-trip can keep relying on what's already available.

Agreed. I think that any attribute on Route could keep working the way it does now without multi-trip. So whenever we have max_trips == 1 a trip is just the same as a route.

Add Route.trips() -> list[Trip] (where Trip = list[Client]) that returns an overview of the actual trips, each delimited by a depot.

What if we instead have a new Trip class that takes a subset of the attributes as Route? Users interested in multi-trips are likely to be interested in start/end times further analysis, and possibly other data too. The majority of the Route attributes are also relevant to have on a Trip class.
The way I see it is that Trip is basically going to be what we have as Route now. A route is simply a container around Trips.

Which depot should that be? Since we now allow different start/end depots it is not unambiguous which depot should be used to delimit trips.

Probably the end depot, since a "trip ends at the depot", and in the case of max_trips == 1 a route is just a single trip, and routes then end at the end depot. This also matches the envisioned use-case for different start and end depots (re-optimisation), where vehicles already dispatched need to eventually return to the actual depot, but are currently out on a route and thus somewhere else that's modelled as a dummy 'depot' location.

I think this is a good idea.

We'll probably also want Route.trip(trip: int) -> list[Client] and Route.num_trips() for good measure.

👍

While a Solution::Route may have more trips than its VehicleType can service, this is simply an infeasibility. No reason to raise an error for this. We have not errored before for structural violations (e.g., missing required clients in Solution), and I don't think we should start doing that now.

Yea that works for me.

Loading duration - is that a property of the vehicle, or the depot? I'm leaning vehicle, because packing a bike seems faster than loading a van.


don't fail if custom.dynamodb is undefined

As reported in #73, serverless-dynamodb-local fails if no config is
defined in serverless.yml. This change makes the plugin fallback to
default values if no configuration is provided.
fixes #73

Is there anything preventing getting this merged?

@christophgysin No. Was doing the code review. Thanks for the PR!


Adding custom attributes to injected scripts tags

Hi,
Now webpack is injecting this in my index.html after npm run build
<script type="text/javascript" src="./static/js/manifest.0298f1f656f4d6c242e0.js"></script>

I want to add a class and  also change the attribute src to data-src, how I can do that?

Set inject:false and use the template options

Please, can you give me a hint in how to do it?
I'm searching and searching but I can't find an example.
If I put inject:false the css and scripts doesn't appear in the final index.html
What should I put in my index.html?

See the readme:
https://github.com/ampedandwired/html-webpack-plugin#writing-your-own-templates
It also links to:
https://github.com/jaketrent/html-webpack-template/blob/master/index.ejs

Thanks! It worked. A you said I leaved inject: false, renamed my template from index.html to index.ejs
and then where I want my scripts to load with custom attributes I did this
<% for (key in htmlWebpackPlugin.files.js) { %>
	<script type="text/javascript" data-src="<%= htmlWebpackPlugin.files.js[key] %>"></script>
<% } %>

Cool 👍


Additions for experimenter usability

Add date_created fields to user and demographic data. For users, this allows us to easily see when people are signing up, and check the impact of various recruitment efforts. For demographic data this lets us fetch the most recent data more easily, as well as seeing when changes were made.
I've made some minor formatting changes to the study detail view to make longer text fields a bit more readable.
Add some explanations to researchers about what they should put in the contact info field and the age cutoff fields.
Proposed solution for giving access to email addresses to users with can_read_usernames permissions only (separate basic/full serializers for user data, selected in view based on permissions).

hey @kimberscott, let me know when this is ready for review.

Wow, thank you so much for the careful review & explanations - working on the changes now, and sorry to require so much oversight!

I believe I've now addressed all the concerns here!

Thanks for the quick response, will review and merge shortly.

Ack! I just realized there are still issues with formatting of the studies_list page when page width is smaller - fixing now & will push. I'm sorry!

no problem, I'm switching to another task then, will come back to this later this afternoon.

Should be all set for real now. Apologies again!

Nice work @kimberscott. Merging.


Handle adding references/foreign key constraint in alter table

So this is solution for https://github.com/elixir-lang/ecto/issues/722
Please note that MySQL is pretty picky about matching data types on columns foreign keys are being defined with, so in addition to adding foreign key constraint, we need to make sure it is converted to BIGINT UNSIGNED.
I have added integration tests as well, thanks for the tip @josevalim. They are passing for MIX_ENV=mysql and MIX_ENV=pg on my machine running MariaDB and PostgreSQL 9.4 / Arch Linux.
Please let me know if there's anything that can be done better, I'm happy to ammend.

Beautiful, thank you, I have added some comments!

@josevalim I have addressed one of the issues, not the other one (with delete). I don't get what you would like to change in this part. The reason why I am deleting from users table is to verify that the foreign key gets nullified in posts table, i.e. foreign constant's ON DELETE clause gets executed. If that ain't right please explain how you see that :)

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

I missed the constraint bit. thank you!

cool


Incorrect values of Load L1, L2, L3 Power sensors for deye_sg04lp3.yaml

Hello. I have Deye SUN-12K-SG04LP3-EU/AU (no battery yet connected) integrated with your power flow card using deye_sg04lp3.yaml, but I have one issue with collected data. Namely when the solar production is delivering power above several hundred Watts per phase, values of generated power on Load L1, L2, L3 Power sensors and in Total Load Power sensor shows crazy data. So for example if PV load on phase 1, 2, 3 is lower than ca. 200W per phase, Load L1, L2, L3 Power sensors are showing correct data of power usage per particular phase. But when PV Load on phase 1, 2, 3 is higher than ca. 200W per phase, then Load sensors are showing 65.46kW load per phase which is of course incorrect. The same applies to Total Load Power sensor, that is showing combined over 194kW incorrect load. What is intersting Load data per phase on the inverter itself is showing correct data, so the question is why Solarman Integration is showing such absurd values on L1, L2, L3 Load? It there some place where I can correct it myself, or it is a error on Solarman Integration side? Thank you in advance.
Additionally for you information, to the home grid there is also second inverter connected, 3pase Solaredge, and maybe due to his PV load, there is some error in Solarman integration? Still, as stated above, values in the inverter itself are correct.

Hi @SmolikOne, if you want you can try switch to davidrapan/ha-solarman. I have the same device.

Thx davidrapanI've, I've installed it today and I need to wait for tommorows PV load to check if the values will correct or not.

After upgrading to 2024.12, I have very similar issue using deye_hybrid.yaml with my Deye SUN-12K-SG04LP3-EU.

After upgrading to 2024.12

Upgrading of what?

After upgrading to 2024.12

Upgrading of what?

Sorry, I meant upgrading to Core 2024.12.0 (I run HA Core docker).

Version of HA or update of HA has nothing to do w/ how sensors work and which value they display.

Version of HA or update of HA has nothing to do w/ how sensors work and which value they display.

I'm just trying to describe the issues that seem to be related to HA Core 2024.12.0 upgrade and possibly the underlying Python version upgrade. I didn't make any other changes in the system that could affect this. I also have another HACS integration which broke after 2024.12 upgrade and it's been determined to be because of numpy version upgrade: https://github.com/home-assistant/core/issues/132347
As a sidenote - I'm also the one who reported a possible bug in your Solarman integration and I'm about to test your fix: https://github.com/davidrapan/ha-solarman/issues/312

For me, after switching to https://github.com/davidrapan/ha-Solarman version, everything is working correctly. I've also updated to HA 2024.12 and it didn't break anything.


Update adding_contacts.md

Fixing steps with correct UI elements. They seem to have changed without us being informed.

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


⚠ RPC server - Harmony has degraded performance

In 2bf9779, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony performance has improved in 07b3279.


Published to centos7 export word, style is not valid

nuget version：2.13.1
netcore version：5.0.*
docker version：20.10.6
Deployment on windows is normal, the export style after centos7 deployment is not valid, here are the screenshots。
Can't open the file with office, I try to open file using office2007, office2013 can't open, use wps can open.
normal=>windows

abnormal=>linux

Based on the information you provided, we are not able to understand or reproduce the error and provide any help. Therefore, could you please have a look at the issue template you were asked to fill in when creating the issue and provide the relevant information?
For example:

How did you create the document?
What does the Open XML markup look like? Can you share this?
Is the Open XML markup valid at all? If you can't open it in Word, your markup is not valid.

I am trying to understand whether this is an issue with the SDK or a how-to question.

Please explain what exactly you mean with "Windows download" and "Linux download". Do "Windows download" and "Linux download" mean that you run the above code on Windows ("Windows download") or Linux ("Linux download") machines, respectively?
Further, please explain what exactly you mean with "office2013 can not open" after "Linux download". Does Microsoft Word 2013 produce an error message? If so, what is the error message?
Did you have a look at the Word documents that are created in both cases? Is there any difference between the "Windows download" and "Linux download" variants? You can compare the whole document in a binary comparison or the respective parts (e.g., main document part, image part).

Looking at the markup you shared, the Open XML markup is not quite valid, e.g., because you have the w:sectPr as the first child of the w:body element. It must be the last child element, however.


Create axe-core / puppeteer container

We need to create a container that can be invoked through a lambda which does the following:

handles an invocation from a SNS topic
visits a URL in puppeteer
scans it for accessibility issues
saves the accessibility report to an S3 bucket
saves a screenshot of the page to an S3 bucket

Depending if we are using a python crawler or not, this function may also have to do a basic crawl for links.
Our current implementation looks like this: https://github.com/cds-snc/a11y-tools/blob/main/processing/chromium-lambda/src/impl.ts

Needs https://github.com/aws/aws-lambda-nodejs-runtime-interface-client


Minors updates

Tried to correct some incorrectly formatted text and added references where applicable.

Thanks! There are some github conflicts, and I can't merge this PR unfortunately: could you solve them?


cannot compile this project: "cannot find symbol import com.facebook.react.bridge.BaseActivityEventListener"

If i run:
./gradlew clean build

I get:
/Users/nickpomfret/Documents/github/react-native-image-picker/android/src/main/java/com/imagepicker/ImagePickerActivityEventListener.java:6: error: cannot find symbol
import com.facebook.react.bridge.BaseActivityEventListener;
                                ^
  symbol:   class BaseActivityEventListener
  location: package com.facebook.react.bridge

Anyone know what's going on?

Try this. Make sure to clean and rebuild after.

Tried that, no luck. Are you able to get this project to compile in isolation - meaning without an enclosing react-native project (just on its own in android studio or the command line)?
The class in question (BaseActivityEventListener.class) doesn't seem to be in the react-native-0.21 jar file that the build brings in.  I've downloaded it and unzipped it to check, its not there.  I don't really understand how anyone get this to compile.  I also don't really understand why the latest version of react-native in maven central and jcentre is so old.
I have a fix anyway, I'll send a PR through - although I don't really understand why its necessary.  Am I the only one who can't compile it?

https://github.com/marcshilling/react-native-image-picker/pull/387

Yes, you are the only one who can't compile it. You're right, BaseActivityEventListener isn't in RN 21 -- why are you using that version? You're 15 versions behind...

Look at jcenter or maven - the last version to be uploaded is 0.20.1 back in feb

Besides, the version of my app doesn't come into play here.  I checked out this project and ran ./gradlew clean build and it doesn't compile.  If it doesn't compile for me how on earth does it compile for anyone else.
Have you tried first cleaning the your system?  I wonder if you've got some version of react-native in your local gradle cache that has that class file in.  Try clearing them out rm -rf ~/.gradle/caches/*?

That's your issue, RN doesn't use jcenter or maven anymore. The latest version is 0.37.0.
You need to be installing react native (and this module) through npm. You have an odd project configuration and no one else is experiencing the issue.

Looking back to one of your posts: "Are you able to get this project to compile in isolation - meaning without an enclosing react-native project". No, of course not. This module is 100% reliant on React Native.

Yes its reliant on react native, of course, but that's what the entry in build.gradle is supposed to be for:
dependencies {
    compile "com.facebook.react:react-native:0.20.1"  // From node_modules
}

You should be able to at least compile a plugin without having to first include it in another app. No?  If not you might as well remove this dependency - it doesn't do anything.

You should be able to at least compile a plugin without having to first include it in another app.

No...find me another React Native module that does this.

What do you mean the dependency doesn't do anything!?!?!! It's telling you that this project is dependent on React Native, which it very much is. You are either greatly confused about how React Native works, or I'm missing your actual issue here...

Ok, so if this project doesn't compile on its own then it doesn't need a dependency on a very old version of react-native.  Which is what you've got.  Without this dependency (which gets ignored by your app at build-time because you app will pick its react native dependencies up from the node_modules directory), you app will build as normal.
Plenty of other react-native native models compile just fine in isolation.  Check out react-native-contacts, react-native-fs, react-native-blur, react-native-document-picker, react-native-couchbase-lite...

Dude, you're killing me. You posted a link to build.gradle, and then you posted an incorrect excerpt from it. The code is:
dependencies {
    compile "com.facebook.react:react-native:+"  // From node_modules
}

Ok...so let's look at some of your awesome examples:

react-native-contacts (this one actually links to version 0.12...)
react-native-fs
react-native-blur

Should I go on?

I think we're done here.

Aaaargh, the point is THEY ALL COMPILE! And they compile on their own, without an enclosing project.  They have a build that works, why is that so controversial?

hi @marcshilling @npomfret , there has been a lot of discussion on this issue and I thought I will share my two cents because I ran into a similar thing with a different project to which I was adding some features and wanted to build it outside of my react-native application to cut down on the time before I find compilation errors and such. I am not an expert in react-native and I think you guys have a far better understanding of the inner workings of react-native than me.
I think the reason that the app compiles fine and these independent modules don't compile out of the box even though for both, the build.gradle states the dependency on react-native as compile "com.facebook.react:react-native:+"  // From node_modules is what is present in the build.gradle in the android directory. If you notice, in your react-native application, you have two build.gradle files, one in android/app directory which is the build.gradle for your app and one in android directory which contains some configuration which gets applied to all the projects. In that build.gradle, we specify the android specific react-native stuff to get from the local copy of react-native url "$rootDir/../node_modules/react-native/android", so it doesn't even go to maven to get the published copy of react-native. I think if you were to copy over the contents of this build.gradle, mainly
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.3'
        classpath 'com.google.gms:google-services:3.0.0' // Needed for Firebase Analytics
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

to this modules build.gradle, make sure that the url points to valid relative location (this could reference the react-native module in your app or a forked copy of react-native etc., run gradlew clean and build the project again, it should build. I haven't tried it with this project but have tried it with others and they build fine after I do the above. I think the reason, other RN modules that you mentioned compiles without any problem is that they are not implementing the ActivityEventListener interface which has changed over time more importantly since react-native 0.21 due to which you don't see the compilation errors in those projects that you see here.


Override list item styling for select menu items

The menu items on the results view ended up showing a margin inherited from app.scss 's style definition for <li> elements (meant for lists like the FAQ and instructions).
This PR overrides the inherited style definitions.
Bug: T348271

This is already handled as part of #865! closing this


Module oracle_facts breaks db deployment

Switching from ansible-oracle v3.8.1 to ansible-oracle v3.9.0 breaks the database deployment. This seems to be related to the new module oracle_facts. I guess the environment for this module is not set correctly resulting in not being able to use the correct library file 'libclntsh.so'.
In AWX the following error message is being displayed:
TASK [opitzconsulting.ansible_oracle.oradb_facts : Gather Facts from Database] ***
[WARNING]: Module did not set no_log for password
fatal: [oraclehost]: FAILED! => {"changed": false, "msg": "Could not connect to database - DPI-1047: Cannot locate a 64-bit Oracle Client library: \"libclntsh.so: cannot open shared object file: No such file or directory\". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help, connect descriptor: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraclehost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=testdb)))"}

JSON log:
{
  "changed": false,
  "msg": "Could not connect to database - DPI-1047: Cannot locate a 64-bit Oracle Client library: \"libclntsh.so: cannot open shared object file: No such file or directory\". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help, connect descriptor: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraclehost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=testdb)))",
  "invocation": {
    "module_args": {
      "hostname": "oraclehost",
      "port": 1521,
      "service_name": "testdb",
      "user": "sys",
      "password": "supersecret",
      "mode": "sysdba"
    }
  },
  "warnings": [
    "Module did not set no_log for password"
  ],
  "_ansible_no_log": null
}

Hi,
could you tell me, which playbook or roles have been executed.
I'll need that to reproduce the issue.

Sure.
$ cat single-instance-fs.yml
---
- name: Import_playbook dev-sec
  import_playbook: dev-sec.yml
- name: Import_playbook os
  import_playbook: os.yml
#- name: Import_playbook sql-zauberkastern
#  import_playbook: sql-zauberkastern.yml
- name: Import_playbook swdb
  import_playbook: swdb.yml
- name: Import_playbook manage-db
  import_playbook: manage-db.yml

Hi, I can confirm the v3.9.0 deployment is successful when setting the oracle_home as described workaround.
Thanks for your quick response and fix!

I tried to fix it but found other combinations in inventory with more needed changes.
I'll plan to add oracle_home to db_homes_config as a new mandatory attribute in 4.0.
That makes the whole understanding of the inventory easier without loosing any functions.

The new asserts on db_homes_config in 4.0.0 fixes the issue with wrong ORACLE_HOME.


[NEW ALGORITHM] Operations on Jagged Arrays in C

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]  Operations on Jagged Arrays in C
About:
Introduce new algorithms to perform various operations on jagged arrays in C, including tasks like initialization, insertion, deletion, searching, and displaying elements. Jagged arrays are arrays of arrays with varying row sizes, so these algorithms will focus on efficiently handling such data structures.
Proposed Algorithms for Jagged Arrays:
Initialize Jagged Array: Dynamically initialize a jagged array where each row may have a different number of columns.
Insert Elements: Add elements at specific positions within each row of the jagged array.
Delete Elements: Remove elements from particular rows within the jagged array.
Search Elements: Search for specific elements across the jagged array.
Display Jagged Array: Print the contents of the jagged array in a structured format.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[ YES] Contributor in GSSoC-ext
[YES ] Want to work on it

@13Sharad assigned


[stable/rabbitmq-ha] file not found

I can't install stable/rabbitmq-ha. Is it not available anymore?
Executing the command:

$ helm install stable/rabbitmq-ha

leads to:

Error: file "stable/rabbitmq-ha" not found

I installed stable/rabbitmq with helm before and now I want to switch to stable/rabbitmq-ha

/close


Display of works with iiif-presentation location type

Currently we only surface and display works with the location type of iiif-image, which are the works from MIRO (114102  of 1246071 results - 9%).
There are results in the API that have iiif-presentation location types. These are things like books, manuscripts etc (237433 of 1246071 - 19%).
We will need to start investigating what tools and libraries we will need to parse and render these presentation manifests. After that we will be in a better position to inform the design as to what data we have, don't have, and what interactive elements we can build in for people to explore this content.

Relates to 🏆#3958

Going to close this in favour of #4198


feat: ability to retrieve logs

Closes #469.
First iteration of "feat: ability to retrieve logs #469".
This PR uses features implemented in https://github.com/joinmarket-webui/jam-docker/pull/51 and must be tested in conjunction with it.
Features:

ability to retrieve logs
refresh log file contents
auto scroll to bottom on refresh
colorize lines by log level (reverted: uses too much memory)

Possible improvements for the next iteration:

auto refresh (aka "follow log output")
filter by log level
colorize lines by log level

Copying a phrase from the other PR:

As always, inputs are highly appreciated and especially welcomed on this PR, as it contains rather impactful changes.
If you have any idea how to do things better or in a smarter way, please let me know!

Also, if you have any questions or are unsure about anything - don't hold back! Happy to answer and discuss any upcoming doubts/thoughts/ideas.
How to test

Rebuild the docker image for the secondary regtest container

Checkout branch serve-logs from jam-docker. See PR https://github.com/joinmarket-webui/jam-docker/pull/51 for more details.
Rebuild with

docker build --label "local" \
      --build-arg JAM_REPO_REF=master \
      --build-arg JM_SERVER_REPO_REF=master \
      --tag "joinmarket-webui/jam-standalone-logs-local" ./standalone

Change the secondary docker image to use the newly built image

diff --git a/docker/regtest/dockerfile-deps/joinmarket/webui-standalone/Dockerfile b/docker/regtest/dockerfile-deps/joinmarket/webui-standalone/Dockerfile
index 84a1e68..f8a8ec4 100644
--- a/docker/regtest/dockerfile-deps/joinmarket/webui-standalone/Dockerfile
+++ b/docker/regtest/dockerfile-deps/joinmarket/webui-standalone/Dockerfile
@@ -1,4 +1,5 @@
-FROM ghcr.io/joinmarket-webui/jam-dev-standalone:master
+#FROM ghcr.io/joinmarket-webui/jam-dev-standalone:master
+FROM joinmarket-webui/jam-standalone-logs-local

Rebuild your local regtest setup, do not use npm run regtest:rebuild, but:

npm run regtest:clear && docker-compose \
        --env-file docker/regtest/.env.example \
        --file docker/regtest/docker-compose.yml build

(why? -> because --pull is not supported if you have a locally built image in your docker-compose setup)

start the regtest env as normal, but instead of npm start, run:

npm run start:secondary

:camera_flash:

:camera_flash:  reverted changes (just for reference; might re-implement in future iterations)

Not sure about the primary/secondary naming, as mentioned, but maybe I'm misunderstanding things.

Introduced "backend types" native and jam-backend in the setupProxy script.
Everything can be controlled by environment variables now, with ports defaulting to jm's standard ports.
Deliberately named a npm script "start:regtest:secondary" to indicate that this is intended for regtest use as the port is hardcoded to 29080 (the secondary regtest container). Feels like a major improvement - thanks again for the superb feedback! What do you think?
Also, with the docker image merged and built, one can use npm run regtest:rebuild with npm run start:regtest:secondary to try out the log feature! No more complicated steps as described in the original "How to test" description.
(As of now, the docker image is still building.. should be ready soon!)


Update Email - ExecutableFileRecieved.md

edited the defender for endpoint kql , added "'" for dll extension and fixed line 28 with the commented description

Creating pull with changes suggested for Email - ExecutableFileRecieved.md

Thank you for the changes!


Parallel Download Issue with Saving Files

Hello,
I am on the "Download NEXRAD Data" step and I'm having an issue. When I run the command, there are no errors; it even tells me x number of files are being saved in the folder I inputted. The issue is that there is nothing being saved in my chosen folder. Do you happen to know what is going on?
This is  what I'm running for reference:
python3 download_nexrad.py 2018-01-01T00 2018-01-03T00 /Users/gnss_user/Documents/nexradData/data
Thanks.

I'm not sure, I tried this command:
python3 download_nexrad.py 2018-01-01T00 2018-01-03T00 ~/data/asioqpoi

(just typed a random directory--the program creates that directory)

downloading 576 files to ~/data/asioqpoi

and the files are there

I added self-tests for Mac and it seems to work there as well -- it looks like you're on a Mac.
When it's downloading, the current file name being downloaded is printed--do you see specific file names being printed?

Download timeout was added, this may address this issue of silently failing when internet has issue:
https://github.com/scivision/nexrad-quick-plot/releases/tag/v0.6.5


update import strategy for new design ui

Does it make sense with the Profile import ui PR? I think it conflicts with it. @james-lin71 @rg911


test: removed the ignoreUpdates from pr_test

Description
Removed the ignoreUpdates for pr_test file which was added in https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/pull/431.
Types of changes in this PR
Changes that affect the core Terraform module or submodules

[ ] Bug fix
[ ] New feature
[ ] Dependency update

Changes that don't affect the core Terraform module or submodules

[x] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other

Release required?
Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
If a release is required, replace this text with information that users need to know about the release. Write the release notes to help users understand the changes, and include information about how to update from the previous version.
Your notes helps the merger write the commit message for the PR that is published in the release notes for the module.

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

Failed here- reruning

:tada: This PR is included in version 3.8.2 :tada:
The release is available on:

GitHub release
v3.8.2

Your semantic-release bot :package::rocket:


Config button disabled

Hey, I was going to use the mod in my pack, but it seems like the mods it disabled some how??
The config button is disabled and using the F7+G hotkey doesn't work either.
Screenshot: http://prntscr.com/239mkmk

Hey,
which version of the mod and Minecraft are you using? :)
PT400C

I'm experiencing the same problem with 1.18.1
Is there any other way to open the context menu? F7+G isn't working and config button is greyed out

Hey @MaxioTech and @Punsho,
as it stands right now, the GUI functionality has been removed for Forge 1.17+.
Mojang changed their rendering system drastically, which forced us to settle with a command-based interface for now.
But that probably will change in the future, once we had time to adapt to the new rendering system.
PT400C

How would I open that command-based interface?

@Punsho It's accessible via the /ds or /defaultsettings command in a singleplayer world :)

I'll see what I can do. I'd advice updating the guide to reflect this

Yeah, you're absolutely right. The guides have been created when 1.16.5 was the latest version and are quite confusing nowadays. We'll update them asap

Would be nice to have some kind of guide.  Testing the current version DefaultSettings-1.18.x-2.6.1 on Forge 39.1.2 the /ds saveconfigs command does nothing of the sort.  It puts green text in chat saying that it has "saved your mod configuration settings" and the folders in /configs/defaultsettings/ contain no such config files.

@nanonestor, thank you very much for that feedback! We absolutely share your opinion on that, but sadly Mojang decided to completely mess up the way we made that GUI work. If we find the time to port it to 1.17+, we'll do it ASAP.
In the meantime a proper guide is being worked on, but still WIP. So I try to help you this way:
The /ds saveconfigs command does NOT do anything to your filesystem anymore! It's NOT equal to the export mode on 1.16! If you want to use it to ship certain config files, you have to copy them into the folder manually (for now). Execute the command AFTER you copied them there.
When publishing, you now have to manually remove these config files you want to ship out of the config directory of the exported filetree. If e.g. you want to ship all of them, the only directory in the configs folder should be "defaultsettings". Other than that would be some Forge files and DefaultSettings.json.
If you do not want to overwrite local changes on the user's side, /ds save -o is for you! It ships changes to new users but lets existing users keep their local changes.
Please feel free to contact me via Discord if you have further questions! PT400C#8363
PT400C

Hey, any way to change the default world generation so that the user won't have to manually click to change it? I'm making a modpack that uses the desert only biome from minecraft as world generation, but I haven't found a good way to change it.

Hey, any way to change the default world generation so that the user won't have to manually click to change it? I'm making a modpack that uses the desert only biome from minecraft as world generation, but I haven't found a good way to change it.

This feature isn't in the mod yet. I'll create a separate issue for it to be implemented.


qwen模型和qwen1.5模型支持 longlora中的shift_attn 吗？

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
无
Expected behavior
No response
System Info
No response
Others
No response

不支持，要先进行 llamafy


Adding structured logging and stack traces

What this Pull Request (PR) does
Use structlog instead of print() to emit diagnostic messages while leaving primary output alone.
Related issues
Suggested in #684

This is great, but we're moving to Go. Please resubmit if this isn't fixed after the migration. Thank you!


Fix table sorting

Make sure sorting works for numbers, dates, and strings.

Preview is available here:http://amm-demo-pr28.previews.kube001.services.stellar-ops.com/

Preview is available here:http://amm-demo-pr28.previews.kube001.services.stellar-ops.com/


Gimp dir can't be found for installation

What went wrong?
I can't install it.
According to the Documentation/Installation info I am to find the GIMP directory here:
"/home/[your username]/.config/GIMP/2.10/plug-ins"
Problem is, there's no such directory according to my Terminal:
/home $ find /home GIMP
find: ‘GIMP’: No such file or directory

I also did a seach with the File Browser. I did find the .config dir, but there's no GIMP dir inside.
I don't know if it has anything to do with the fact that I installed Gimp 2.10 with Flatpak:
https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
Configuration
Version of Export Layers: 3.2.1
Version of GIMP: 2.10
Operating system: Linux Mint (Sylvia)

To find out the location of the plug-ins folder in your GIMP installation, go to Edit → Preferences → Folders → Plug-Ins and use one of the listed folders. You can then specify the path to the plug-ins folder for the -i option.
Since the flatpak format is now provided on the official GIMP page, I'll update the plug-in installer to detect the GIMP folder automatically when installed by flatpak.


BUG: Responsiveness issue under resolutions of 320px

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Under screen resolutions of 320px, the application faces responsiveness issues

This issue can be solved with the application of the appropriate CSS property
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @Suchitra-Sahoo 🤗
Would be great if you could assign me this issue under gssoc'24.
I would like to work on it.


Use [contenthash] over [hash] and [chunkhash] for better long term caching

For long term caching better use [contenthash] over [chunkhash].
From slack
sokra [2:59 PM]
A chunk contains modules i. e. a.js, b.css, and c.wasm. This results in 3 assets being generated JS, CSS and WASM. `[chunkhash]` is the hash of the complete chunk, which is JS + CSS + WASM. `[contenthash]` is the hash of the content of the file, which is different for each asset.

evilebottnawi [3:10 PM]
I.e. better use `[contenthash]` for chunks?

sokra [5:26 PM]
@evilebottnawi better use `contenthash`.

sokra [5:30 PM]
we probably should rename that in webpack 5 to `[hash]`.

evilebottnawi [5:34 PM]
Only one question why we need `chunkhash` after implement `contenthash` :smile: ?

sokra [5:39 PM]
not sure if there is a use case where chunkhash is better, but at least for backward-compat

Ref on issue in webpack https://github.com/webpack/webpack/issues/7138.
Example of problem https://github.com/webpack-contrib/mini-css-extract-plugin/issues/117.

@evilebottnawi @montogeek does this mean chunkhash should be removed from the exampled in the guide and replaced with contenthash with only a mention that sometime it existed so people know it is still supported ?

@FadySamirSadek alright, just backward compatibility

@FadySamirSadek friendly ping, can we solve this problem faster? Looks like many people faced with this

@evilebottnawi will finish it by the end of today

/cc @FadySamirSadek

I had this config and was running into the issue where a change in ./src/styles.css would cause the chunkhash for the main output js file to change, even if ./src/index.js was constant:
config = {
  entry: "./src/index.js",
  plugins: [
    new MiniCSSExtractPlugin({filename: "[contenthash].css"}),
    ...
  ],
  output: {filename: "[chunkhash].js",
  ...
}

Changing the output to {filename: [contenthash].js} fixed the issue, causing the browser to only reload the changed css file, as expected.

@Streemo  I am working on fixing the documentation of [contenthash] but it has not been published yet

I think this can be closed via #2098
Please ping here if there is still an issue in the docs regarding chunkhash -> contenthash


86 Parameter for allowing individuals to edit the amount

https://github.com/PayButton/paybutton/issues/86

Add input character limit to input of maybe 12.
When randomSatoshis = true, setting the amount to 0 should also have the randomSatoshis return 0. Right now if you set the value to 0 with randomSatoshis = true, it'll show "send 0.00007384 BCH" (as an example).

 This happened when I updated the input, then deleting the amount in the input (which sets it to 0). The top section didn't update back to 'Send any amount'.

When the amount input value is 0, it should say 'Enter any amount' instead of 'Send 0.00000000 BCH'.
Let's change the property name from userCanEdit to editable to be more in line with the other names.


Added endpoint::Builder::set_reuse_address

This adds an option to enable SO_REUSEADDR, which provides a way to allow servers to rebind without waiting for the operating system to time the previous bind out.
Closes #50.
Thanks to @daxpedda for remembering that SO_REUSEADDR was a thing, and also helping me add this on Discord.

I verified this feature allows me to finish up the original test I was working on in BonsaiDb.


Does the SN persist after reboot? Does it change SN for UF-Instant?

Hello,
I have 2 questions(not quite issues):

I have a UF-Nano-G, currently replacing a Huawei router(HG8247H). Does this tool modify the GPON Serial Number for the UF-Nano-G so that it persists after reboot?

Can the tool change the SN for UF-Instant while connected to an ER-X SFP? I am willing to test this out :)

Thank you

Hello!

I have a UF-Nano-G, currently replacing a Huawei router(HG8247H). Does this tool modify the GPON Serial Number for the UF-Nano-G so that it persists after reboot?

Yes, it patches one of the partitions which holds that data.
If you pass the --vendor HWTC and --serial XXXXXXXXXX (replace with your serial) it will be persistent across reboots for sure 😄. In fact all settings you do with this too is persistent and a backup of the original partition is kept local on the dumps directory from where you ran the tool.

Can the tool change the SN for UF-Instant while connected to an ER-X SFP? I am willing to test this out :)

I've tested the tool against a firmware dump from UF-Instant that I've got from the internet. I'm waiting the real device to arrive Today or Tomorrow so I can test on a real one.
Can you try run the tool with the --dry-run option as if you would replace the others to replace the serial number?
That will basically run all the processes and will print some information on your terminal without actually changing the device.
If you can print the output here would be awesome! 😄
Thank you!

Hello,

If you pass the --vendor HWTC and --serial XXXXXXXXXX (replace with your serial) it will be persistent across reboots for sure 😄. In fact all settings you do with this too is persistent and a backup of the original partition is kept local on the dumps directory from where you ran the tool.

I've just tried this, it doesn't work because my serial is 16 characters. For example, I do this manually by connecting to the ufiber and using the commands:
`ssh<EMAIL_ADDRESS>
sh

cd bin
./gponctl stop
Stop ONU without sending dying gasp messages
./gponctl setSnPwd --sn 12-34-56-78-90-12-34-56
======== Serial Number & Password ========
Serial Number: 12-34-56-78-90-12-34-56
Password : 20-20-20-20-20-20-20-20-20-20
==========================================
./gponctl init
./gponctl start
Start ONU with operational state: INIT (01)
./gponctl getSnPwd
======== Serial Number & Password ========
Serial Number: 41-4C-43-4C-xx-xx-xx-xx
Password : 20-20-20-20-20-20-20-20-20-20`
Below you can find the error using your tool:
`C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host <IP_ADDRESS> --user ubnt --pw mypw --port 2222 --dry-run --vendor HWTC --serial 12-34-56-78-90-12-34-56
Original Image
--- NVRAM Information --

mtdblock3 hash: d79b72526c6f808fe85fda604565a80bb6cc2002bb1f5f6a21d504296b59fc9e
NVRAM Version: 6
Boot parameters: e=<IP_ADDRESS>:ffffff00 h=<IP_ADDRESS> g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
Board Id: UBNT_SFU
PSI size: 24
Total MAC addresses: 5
GPON MAC address: 18:E8:29:F0:D4:BD
GPON Vendor Id: UBNT
GPON Serial Number: 59a19d79
GPON SLID (password):
Checksum:<PHONE_NUMBER>

Patching fw-26042021-073053.bin...
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'serialNumber')
at UFiber.Configurator.NVRAM.SetGponSerialNumber(ReadOnlySpan1 serialNumber)    at UFiber.Configurator.NVRAM.SetGponSerialNumber(String serialNumber)    at <Program>$.<>c.<<Main>$>b__0_2(String host, String user, String pw, Int32 port, Boolean dryRun, String slid, String vendor, String serial, String mac)    --- End of inner exception stack trace ---    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Delegate.DynamicInvokeImpl(Object[] args)    at System.Delegate.DynamicInvoke(Object[] args)    at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)    at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseParseErrorReporting>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<<UseVersionOption>b__1>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseTypoCorrections>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__24_0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseParseDirective>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<<UseDebugDirective>b__0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext() --- End of stack trace from previous location ---    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
What am I doing wrong? Or  does the tool only allows 8 character serial...? Or should I replace the parameter --serial with --plid?

Can you try run the tool with the --dry-run option as if you would replace the others to replace the serial number?
I will also order an UF-Instant and it should come next week. Will test it out.

Btw, out of curiosity, where did you found this repo?
https://community.ui.com/questions/Unofficially-support-3rd-party-OLTs-ONT-Serial-Number-Configuration-Serial-Changing/989b2134-f3b4-498a-a76f-b50a199b752e#answer/b7d57ab5-69f7-4c69-8190-a200dd238f5a

Thank you

Hello!
I've just merged #3 which allow the HEX SLID and Serial numbers.
Please download the release 0.1.1 which will allow that.
There wasn't actually a bug. When you have 16 HEX characters like on your case, the first 4 bytes (8 characters), is the VendorID which in your case is ALCL (Alcatel). The remaining 4 bytes are the actual serial number.
I've updated that --serial to accept 16 characters with the - and internally it will set the VendorID and the Serial at the same time so if you use a 16 characters long serial, you don't need to set the --vendor since it will be overwritten anyway.
Please let me know if it works.
I hope it helps, thanks for the report!

Hello,
Thank you very much for the patch! I will test it out tomorrow first thing and will reply if it worked.

it worked! but I had to pass the --vendor parameter. (serial and
`C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host <IP_ADDRESS> --user ubnt --pw mypw --port 2222  --serial 12-34-56-78-90-12-34-56
Original Image
--- NVRAM Information --

mtdblock3 hash: d79b72526c6f808fe85fda604565a80bb6cc2002bb1f5f6a21d504296b59fc9e
NVRAM Version: 6
Boot parameters: e=<IP_ADDRESS>:ffffff00 h=<IP_ADDRESS> g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
Board Id: UBNT_SFU
PSI size: 24
Total MAC addresses: 5
GPON MAC address:  redacted
GPON Vendor Id: UBNT
GPON Serial Number: 59a19d79
GPON SLID (password):
Checksum:<PHONE_NUMBER>

Patching fw-27042021-084832.bin...
To set the GPON Serial Number, you must pass both --vendor and --serial
C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host <IP_ADDRESS> --user ubnt --pw R9(kj)-Fiber --port 2222 --serial 12-34-56-78-90-12-34-56 --vendor ALCL
Original Image
--- NVRAM Information --

mtdblock3 hash: d79b72526c6f808fe85fda604565a80bb6cc2002bb1f5f6a21d504296b59fc9e
NVRAM Version: 6
Boot parameters: e=<IP_ADDRESS>:ffffff00 h=<IP_ADDRESS> g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
Board Id: UBNT_SFU
PSI size: 24
Total MAC addresses: 5
GPON MAC address: redacted
GPON Vendor Id: UBNT
GPON Serial Number: 59a19d79
GPON SLID (password):
Checksum:<PHONE_NUMBER>

Patching fw-27042021-084904.bin...
Patched fw-27042021-084904.bin!
--- NVRAM Information --

mtdblock3 hash: 068b905195aac9821e0ce48b883546de3f03cdfacc421344ee5950599ad1fe94
NVRAM Version: 6
Boot parameters: e=<IP_ADDRESS>:ffffff00 h=<IP_ADDRESS> g= r=f f=vmlinux i=bcm963xx_fs_kernel d=1 p=0 c= a=
Board Id: UBNT_SFU
PSI size: 24
Total MAC addresses: 5
GPON MAC address: 18:E8:29:F0:D4:BD
GPON Vendor Id: HWTC
GPON Serial Number: 59A19D79
GPON SLID (password):
Checksum:<PHONE_NUMBER>

Uploading patched file to the target UFiber device...
Uploaded!
Applying patched file on the target UFiber device...
Applied patch! Please reboot your UFiber device to load the new image.`
It reboots and the SN persists! Thank you

I'm glad it worked!

but I had to pass the --vendor parameter.

Ops! My bad! When I've updated to support the HEX serial, I forgot to adjust the validation that was once requiring both to be filled.
Please check the release 0.1.2 which includes the fix. If you pass the --vendor, then it requires the --serial. If you pass just the --serial it is expected to be an HEX like on your case, so the --vendor is ignored. Thanks for reporting that!
Btw, was that the UF-Nano-G or UF-Instant?
Thank you!

It was UF-Nano-G

Just got an email from them with the "instructions manual"...
CPGOS03-0490v2_Configuration-Manual.pdf
From the telnet CLI it indeed is the same Realtek firmware which UF-Instant uses @obenturk except that they add and customize the RDK default admin pages which Ubiquiti deliberately removed. I've dig on the UF-Instant files and the web server settings still there and can be enabled, but there are no pages so it won't work anyway...

@obenturk

I changed them but my ISP kicked me out even with original isp ont so I left this modification.

You mean you were able to change it permanently as in it survive after reboot?
When I plug my fiber, even if I don't change anything, it just reboot my device even my ISP being OK with it and giving me O5....

With original firmware I can get O5 state but since serial number & MAC is different than ISP ONT, when I check ONUID which was given by OLT was showing 65 instead of 5.
After I change omci_app with V2801F, I can see correct serial number with top command (omci_app sould show serial number). Than I realized that I triggered an alarm at OLT side and I even could not use ISP provided ONT anymore.
ISP tech came and replaced Ericsson T63 ONT with SERCOMM one very very small footprint but it has modified firmware to work with Ericsson omci protocol.
I am waiting to find a carlitoxx v2 full flash dump to check if it will be work better or not.
By the way does anyone know a SFP stick that is suitable to Ericsson environment?
Thanks.

Connect via uart pins and boot into uboot than you can dump whole flash.

I got my CarlitoxxPro, but it doesn't even work properly when connect to UDM-Pro or Unifi Switch Pro 24P. When plugged on the SFP, it just doesn't do anything. Even its IP address is not accessible...

Can you check that: https://community.ui.com/questions/UDM-PRO-GPON-SFP-CarlitoxxPro-CPGOS03-0490-v2-0/362172d4-8a5f-4bda-a841-4a34c075c57f

@pmgcosta yup, already had. Check the last comment which is mine.
BTW, CarlitoxxPro support is pretty bad... Its almost a week since I asked for help and they don't reply emails...

I'm in the same boat with an UDM-PRO and UF-Instant without any joy, i
think next i will try to buy one AFM0002TIM or MA5671A
On Fri, May 21, 2021, 12:32 AM Gutemberg Ribeiro @.***>
wrote:

@pmgcosta https://github.com/pmgcosta yup, already had. Check the last
comment which is mine.
BTW, CarlitoxxPro support is pretty bad... Its almost a week since I asked
for help and they don't reply emails...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Unifi-Tools/UFiber.Configurator/issues/1#issuecomment-845549245,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGY4H4GFEZHO3WRDC77RC3TOWLYRANCNFSM43STTCHQ
.

I have two AFM0002TIM @pmgcosta which I bought quite cheap on ebay, both working fine on UB edgerouter.
One internet connection is fully working (Moviestar network) but the second won't acquire DHCP IP (Orange network), still trying to work through that, some french posts say Orange used DHCP authentication and I need a fti/ password which so far I could not get it anywhere.

@obenturk if you can show us the steps and requirements for dumping the CarlitoxxPro FW it would be great.
I'm not an electrical/mechanical engineer like you, but if you give me the steps, I can put together a raspberry Pi and solder the pins on the SFP PCB if you point the directions in order to connect to it. I don't even know how to open the SFP o.O. How to do that?
Also, assuming you share the steps, and I successfully can dump the files, what exactly do you want me to dump that would help you load a custom firmware on UF-Instant?
Thanks in advance. It would be really great if we can figure that out so we can incorporate this to UFiber.Configurator.

Juliano, can you explain how to access to the AFM0002TIM default ip and
user and password ?
On Fri, May 21, 2021 at 7:14 AM Juliano Jeziorny @.***>
wrote:

I have two AFM0002TIM @pmgcosta https://github.com/pmgcosta which I
bought quite cheap on ebay, both working fine on UB edgerouter.
One internet connection is fully working (Moviestar network) but the
second won't acquire DHCP IP (Orange network), still trying to work through
that, some french posts say Orange used DHCP authentication and I need a
fti/ password which so far I could not get it anywhere.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Unifi-Tools/UFiber.Configurator/issues/1#issuecomment-845684196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGY4H7PQIMPBOQC37BHUIDTOX24FANCNFSM43STTCHQ
.

I have two AFM0002TIM @pmgcosta which I bought quite cheap on ebay, both working fine on UB edgerouter.
One internet connection is fully working (Moviestar network) but the second won't acquire DHCP IP (Orange network), still trying to work through that, some french posts say Orange used DHCP authentication and I need a fti/ password which so far I could not get it anywhere.

Can you explain how to access to the AFM0002TIM default ip and
user and password ?

I have two AFM0002TIM @pmgcosta which I bought quite cheap on ebay, both working fine on UB edgerouter.
One internet connection is fully working (Moviestar network) but the second won't acquire DHCP IP (Orange network), still trying to work through that, some french posts say Orange used DHCP authentication and I need a fti/ password which so far I could not get it anywhere.

Can you explain how to access to the AFM0002TIM default ip and
user and password ?

Default IP (if memory serves me well) is <IP_ADDRESS>/24, so you can configure your router SFP interface with an IP on that range (I used <IP_ADDRESS>/30 as my network is 1.1 already), then telnet (no password) or SSH with admin/system to it.
This device has no vi/vim, so for editing the config I copied it locally, edited and pushed back.
ssh<EMAIL_ADDRESS>"cat /var/config/lastgood.xml" > lastgood.xml
ssh<EMAIL_ADDRESS>"cat /var/config/lastgood_hs.xml" > lastgood_hs.xml

Then edit and upload again
cat lastgood.xml | ssh<EMAIL_ADDRESS>-T "cat > /var/config/lastgood.xml"
cat lastgood_hs.xml | ssh<EMAIL_ADDRESS>-T "cat > /var/config/lastgood_hs.xml"

I recommend loging into the device again after this and checking the config files are OK before rebooting it. If for any reason you lock yourself out by messing up the IP, these devices also have a secondary IP on VLAN2
2: br0.2@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether ac:4a:fe:98:0a:f2 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global br0.2

Welcome to UniFi Dream Machine!
ifconfig eth9:2 <IP_ADDRESS> netmask <IP_ADDRESS> up
telnet <IP_ADDRESS>
telnet: can't connect to remote host (<IP_ADDRESS>): No route to host
On Tue, Jun 1, 2021 at 8:58 PM Juliano Jeziorny @.***>
wrote:

I have two AFM0002TIM @pmgcosta https://github.com/pmgcosta which I
bought quite cheap on ebay, both working fine on UB edgerouter.
One internet connection is fully working (Moviestar network) but the
second won't acquire DHCP IP (Orange network), still trying to work through
that, some french posts say Orange used DHCP authentication and I need a
fti/ password which so far I could not get it anywhere.
Can you explain how to access to the AFM0002TIM default ip and
user and password ?
Default IP (if memory serves me well) is <IP_ADDRESS>/24, so you can
configure your router SFP interface with an IP on that range (I used
<IP_ADDRESS>/30 as my network is 1.1 already), then telnet (no password)
or SSH with admin/system to it.
This device has no vi/vim, so for editing the config I copied it locally,
edited and pushed back.
ssh @.*** "cat /var/config/lastgood.xml" > lastgood.xml
ssh @.*** "cat /var/config/lastgood_hs.xml" > lastgood_hs.xml
Then edit and upload again
cat lastgood.xml | ssh @.*** -T "cat > /var/config/lastgood.xml"
cat lastgood_hs.xml | ssh @.*** -T "cat > /var/config/lastgood_hs.xml"
I recommend loging into the device again after this and checking the
config files are OK before rebooting it. If for any reason you lock
yourself out by messing up the IP, these devices also have a secondary IP
on VLAN2
2: @.***: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether ac:4a:fe:98:0a:f2 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global br0.2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Unifi-Tools/UFiber.Configurator/issues/1#issuecomment-852406885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGY4HY2SUPYREJ5FRF7E6TTQU3WZANCNFSM43STTCHQ
.

Forget, i tried the secondary ip and works thanks, that me try now change the serial and password
ifconfig eth9:2 <IP_ADDRESS> netmask <IP_ADDRESS> up
telnet <IP_ADDRESS>
Connected to <IP_ADDRESS>
Entering character mode
Escape character is '^]'.

Is the right place to change ?
lastgood
  <Value Name="GPON_PLOAM_PASSWD" Value="1234567890"/>
lastgood_hs
 <Value Name="GPON_SN" Value="TNBB7BAB2B78"/>

Is the right place to change ?
lastgood
 <Value Name="GPON_PLOAM_PASSWD" Value="1234567890"/>
lastgood_hs
 <Value Name="GPON_SN" Value="PTIN91194A08"/>
But when i check the serialnumber:
# omcicli get sn
SerialNumber: PTINffffff91194a08

I got this mess with ffff in the midle how can i fix that ?
My serial number is : 5054494E91194A08 (PTIN91194A08)
But appear that the serialnumber can't not start with 9 why ? with 7 works
omcicli set sn PTIN, 71194A08
omcicli get sn
SerialNumber: PTIN71194a08

omcicli set sn PTIN, 91194A08
omcicli get sn;
SerialNumber: PTINffffff91194a08

Is that normal how can i fix that ?

I don't think that's a problem, just checked mine and the output of # omcicli get sn also shows ffff in some places.
# omcicli get sn
SerialNumber: HWTC3cffffff9a1dffffffa3

What provider are u using?  Did you check the onu-state to see if it got O5 ?
# diag
RTK.0> gpon get onu-state
ONU state: Operation State(O5)

Once in state O5 you should see the flows have been created
RTK.0> gpon show ds-flow
============================================================
     GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
      0 |     2047 |  ETH |         * |
      1 |      278 |  ETH |           |   *
      2 |      279 |  ETH |           |   *
      3 |      280 |  ETH |           |   *
     32 |       10 | OMCI |           |   *
============================================================

Once the flows are created you should be able to acquire an IP via DHCP or PPPoE, depending on what your provider uses.

Yes i'm on O5 state but without internet on my dream machine:
# diag
RTK.0> gpon get onu-state
ONU state: Operation State(O5)
RTK.0>
RTK.0> gpon show ds-flow
============================================================
     GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
      0 |     4095 |  ETH |           |
     32 |       45 | OMCI |           |
============================================================
RTK.0>

Deam machine
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNO                                                                                WN qlen 1000
    link/ether ac:4a:fe:7b:2c:78 brd ff:ff:ff:ff:ff:ff
3: eth0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:00:00:01:00:02 brd ff:ff:ff:ff:ff:ff
4: nas0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNO                                                                                WN qlen 1000
    link/ether 00:00:00:01:00:02 brd ff:ff:ff:ff:ff:ff
5: pon0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNO                                                                                WN qlen 1000
    link/ether 00:00:00:01:00:02 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether ac:4a:fe:7b:2c:78 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global br0
7: nas0_0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen                                                                                10
    link/ether ac:4a:fe:7b:2c:7b brd ff:ff:ff:ff:ff:ff
8: br0.2@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether ac:4a:fe:7b:2c:78 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global br0.2

Deam machine is the SFP I assume (the output looks like it's from it)
The SFP won't pick an IP, they work as bridge by default, you need to configure the correct VLAN on the SFP port in your router to get the IP (DHCP or PPPoE).
In my edgerouter for example
with pppoe
# show interfaces ethernet eth11
 address <IP_ADDRESS>/30
 duplex auto
 speed auto
 vif 20 {
     pppoe 1 {
         default-route force
         description DIGI
         firewall {
             in {
                 name WAN_IN
             }
             local {
                 name WAN_LOCAL
             }
         }
         mtu 1492
         name-server auto
         password xxxxx
         user-id yyyyy
     }
 }

with DHCP
# show interfaces ethernet eth8
 address <IP_ADDRESS>/30
 description Admin
 duplex auto
 speed auto
 vif 832 {
     address dhcp
     description Republica
     dhcp-options {
         default-route-distance 200
     }
     firewall {
         in {
             name WAN_IN
         }
         local {
             name WAN_LOCAL
         }
     }
 }

btw, this conversation is way of topic here.... we should have it somewhere else.
feel free to use this thread on the mikrotik forum (most of what I mentioned here I already posted there also)
https://forum.mikrotik.com/viewtopic.php?f=3&t=116364&start=300

Posted! in forum,
@galvesribeiro  any news regarding uf-instant and CarlitoxxPro-CPGOS03-0490-v2 ?

Not yet. I'm trying to dump the firmware. Will update once I have more news.

@galvesribeiro Hi any new about dumping the firmware?

Hello @obenturk no, I wasn't able to disassembly mine. I only have one CarlitoxxPro and it is running my internet. I'm afraid I'll brick it due to lack of soldering skills and will have to wait months to have a replacement arrive.
Any other alternative to pull the firmware files besides soldering?

Any news on the uf-instant ?

Any news on the uf-instant ?

hm, i'd be interested in that one too... :)

Not yet :/ We are still unable to write to the partitions of the UF-Instant as of Today. Still trying workarounds.

@obenturk have you seen this: https://github.com/Anime4000/RTL9601C1/issues/2#issuecomment-900913125 ?
Also, I could sponsor you to make you find time if you made it work.

Hello,
If someone dump whole flash of carlitoxx pro. (Need to do that to get rid out ui's multiple ser# &mac protection) I can write it on uf instant. Currently I have original uf-instant firmware and I am able to load different firmwares and revert back to original.
What I know is carlitoxxpro has the best firmware.

AHHH ok. Sorry, I misunderstood. I Thought you wanted the UF-Instante Firmware.
Ok, so @obenturk  can you show the steps to extract the firmware from it?

Hi, do someone have news about UF-Instant, configurator or flashing Carlioxxpro firm?

I will try the mentioned firmware on an UFiber-Instant in the next few weeks.
Will report my results here afterwards.

Hey, i tried the custom rootfs and the SN and stuff persists after reboot. Do you need any further informations?

Hey,
I just realized, that the mtd3 partition is a mountable JFFS2. After mounting it, you can fiddle around in the xml files and persist the data their. I found my original Serialnumber in those XML Files.
This tool is patching on binary level, but for the UFiber-Instant it seems like the offsets aren't correct.
I have not tried this, but maybe changing the device name ect in the XML files and persisting the JFFS2 could result in getting the target serial number on the device after flashing it back to /dev/mtd3.
I can't test this by myself anymore, since i gave the Hardware back to his owner after getting a persisted SN using https://github.com/stich86/UF-Instant-Mod. But maybe this helps someone seeking a solution without using a modified rootfs.

Update on this. I got the hardware back, the Dream Machine didnt recognized the new configured SN and VendorID. I will give you an update after I investigated this.

Update on this. I got the hardware back, the Dream Machine didnt recognized the new configured SN and VendorID. I will give you an update after I investigated this.

Hello, any update?

Hey, I don't own a dream machine, so it is hard to try it.
I'll get in touch with my colleague who has a dream machine and try to find an appointment to try different things.

I tried something with UF-Instant-Mod, but why the changes I made are not permanent. I have an issue, can you help me with this please? Thanks a lot.
https://github.com/stich86/UF-Instant-Mod/issues/21

@pmgcosta @galvesribeiro hello!
did you manage to replace MEO Fibergateway with Ubiquiti Nano G or Loco ONT's? I wanted to replace everything with a new Ubiquit ONT + Router, but looks like replacing the ONT might be a challenge.


Remove CodegenDataModelInstance and make applications provide their codegen data model (likely via a static for example)

See https://github.com/project-chip/connectedhomeip/pull/36658#discussion_r1872111079
The usage of a mutable persistence provider that is used at startup is awkward. It seems better to have the persistence provider established in the constructor.
Expected changes:

[ ] Make the persistence provider to use part of the CodegenDataModel constructor (may be null, which means unchanged)
[ ] Remove CodegenDataModelProviderInstance (header and cpp files and all linkages), let applications build their own codegen data model provider instead and allocate space for them.

Note that this means a LOT of file changes, however making applications be responsible of what data model provider they use seems to be the best dependency use (this way it is clear that applications use zap/ember for example, so they provide that one as their underlying model)

This is also the sanest way to have applications have a provider that uses ZAP codegen for some endpoints and dynamic things for others.


Optionally allow *.pug extension

As per #17, I think a cleanup would be nice, but can we do a patch release to NPM with this merge so that we can start using .pug files in our projects?

thanks!


Add OpenVINO GPU support

Add GPU support for OpenVINO.
Tested on desktop with ARC GPU and modified pytorch_bert.yaml example (just changed backend and device):

I also plan to add an OpenVINO LLM example.

Thanks a lot for adding and testing this !
is there any way to measure the VRAM (GPU memory) in this case ?


[next-urql] Next-Urql appears to be broken

👋 Hey gang! Was just trying to get next-urql working in my next.js app, I kept getting:
Error: ReactDOMServer does not yet support Suspense.
    at ReactDOMServerRenderer.read (/Users/joehart/workspace/pride-flag-api/node_modules/react-dom/cjs/react-dom-server.node.development.js:3387:25)
    at renderToString (/Users/joehart/workspace/pride-flag-api/node_modules/react-dom/cjs/react-dom-server.node.development.js:3988:27)
    at render (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/render.js:3:298)
    at Object.renderPage (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/render.js:46:1020)
    at Function.getInitialProps (webpack-internal:///./node_modules/next/dist/pages/_document.js:133:19)
    at Function.getInitialProps (webpack-internal:///./pages/_document.js:20:85)
    at loadGetInitialProps (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/lib/utils.js:5:101)
    at renderToHTML (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/render.js:46:1330)
    at async /Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:68:285
    at async /Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:67:142
    at async DevServer.renderToHTMLWithComponents (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:91:254)
    at async DevServer.renderToHTML (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:92:254)
    at async DevServer.renderToHTML (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/server/next-dev-server.js:22:539)
    at async DevServer.render (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:48:236)
    at async Object.fn (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/next-server.js:35:852)
    at async Router.execute (/Users/joehart/workspace/pride-flag-api/node_modules/next/dist/next-server/server/router.js:28:28)

I thought this might be to do with my set up but this error is also present in the next-urql codesandbox here: https://codesandbox.io/s/next-urql-pokedex-oqj3x
As seen:

urql version & exchanges: 1.9.8
Steps to reproduce

Go to: https://codesandbox.io/s/next-urql-pokedex-oqj3x

Expected behavior
The example should render the pokemon in SSR
Actual behavior
Throws a ReactDOMServer does not yet support Suspense. error.

I am going to attempt to go digging to figure this out, but have never touched the Urql codebase before so thought I'd raise here incase it's an obvious fix 😄

Hey @JoeHart
So the issue has a bit of a nuance to it, you have found a bug where we didn't bind getInitialProps to the withUrqlClient this mean that react-ssr-prepass doesn't run which enables suspense on the server.
If you have children of this page that do need to have a prepass run you should considere using the ssr option (see last part) of next-urql to enable this.
If you don't have any getInitialProps runs then the linked PR should resolve your issue.

Ah amazing thank you! 😄 Yea it was just an extremely simple only one useQuery inside the page render method which then passes data down to components with no data fetching any deeper than that.


Don't really know how to get this to work.

Hello
This may be a silly question, but I can't actually figure out how to get this to work. I got as far as building a PHP from source, but then figured out I was missing the Apache modules (libphp5.x.x.so file) because I forgot to add the apxs2 module (I think?). Trying it again, I can't get this to build; I have apache installed but phpbrew complains about permissions:
Exception: Apache module dir /usr/lib/httpd/modules is not writable.
Please consider using chmod or sudo.

This seems fairly logical, as these are system wide folders. When I use sudo, it suddenly wants to put files in my /root/ folder instead of my home folder instead. I guess I could change permissions in order to get my local user to be able to read and write files, but this seems bad practice and I would much rather not use sudo at all and have these files end up in my home folder along with the rest of the built files (so the rest of my system remains untouched), is this at all possible?
Thanks in advance

Hi @hotoiledgoblinsack,
phpbrew depends on the environment variables, when you run phpbrew with sudo, it actually runs phpbrew as root user, and a sudo-root user can't read the environment variables from the shell of current user. unless you pretty sure that your root user have the correct environment variables, or you can't install it without the environment variables that phpbrew depends on.
Hence I removed 'sudo' from the messages, people should run 'chmod' instead of 'sudo phpbrew'.
cc @marcioAlmada

Thanks for the information, then it is as I thought in my first post: chmod-ing does indeed work, but it leaves me with a rather bad in my mouth to give all users access to these system folders.
Would it perhaps be an option to be able to place the modules and files into a custom folder (or a default one somewhere in ~/.homebrew/)? This way the setup could work as follows:

/usr/lib/httpd/modules/libphp5.so is created by me (or a sudo command to homebrew) to point to ~/.homebrew/some_folder_containing_the_active_php_build/libphp5.so
homebrew use 5.5.27 changes ~/.homebrew/some_folder_containing_the_active_php_build/libphp5.so to point to e.g. ~/.homebrew/some_build_folder/libphp5.5.27.so
I set my httpd.conf once to load /usr/lib/httpd/modules/libphp5.so (i.e. there is no need for homebrew to update it).

This way homebrew can remain confined to the home folder and no permission changes would be necessary. Or am I missing something that makes this impossible? :P

This is indeed to be improved, but I am not sure if we can configure the installed .so path with apxs2. it would be great if you know and you can submit a PR for this. :)

Not sure if this is of any help, but I think php-build applies a patch to the makefile in order to get the libphp5.so file to output somewhere else [1]. (Note however, that this patch could be outdated for modern PHP versions.)
[1] https://github.com/php-build/php-build/blob/master/bin/php-build#L625

yeah, we do that too, see https://github.com/phpbrew/phpbrew/blob/develop/src/PhpBrew/Patch/PatchCollection.php#L27 so it's possible to replace some specific paths.

Has there been any movement on this? I don't feel comfortable changing the permissions of the apache2 module dir.


Fix parsing nested filters

Filter.block should be a Block containing a Filter, not just a Filter.

I would prefer it if the tests had a nesting depth of 3 rather than 2 just to reinforce that filters are handled recursively. Maybe add coffee-script into the uglify block?

I would prefer it if the tests had a nesting depth of 3 rather than 2 just to reinforce that filters are handled recursively. Maybe add coffee-script into the uglify block?

Done.


is xslt 2.0 supported?

Is XSLT 2.0 support right now?
is support for xslt 2.0 planned?

Should work fine, in so much as the underlying browser supports it. This project is just a wrapper around the different browser implementations. I've done little testing with 2.0 since 1.0 is more widely supported. @wotanii if you try out 2.0 and do find some problems, make issues here and I'll be happy to look into them.


Turn Logging Off/On

In the Preferences menu, I see these separate menu items:
1. Turn Logging Off
2. Turn Logging On

Is there any reason to not recast these two as a single CheckMenuItem?

None whatsoever, it's a good idea.


Observation Hub Matrix link broken

Bug:
"Observation Hub Matrix”  link on “New/Edit Descriptor Page” is broken. When I click on it, I am taken to the 404 error page

Expected behavior
I expect the link to return me to the observational matrix hub
Environment (please identify where you experience this bug:
UCD 2019-09-30 18:56:32 +0000

@rkres001 thanks for your very first issue here.  Hope to see many more... sort of.


Publish the remaining language spec proposals for features released in C# 8.0

This is a follow-up on https://github.com/dotnet/docs/issues/10725
A few more features have been implemented and shipped in the C# 8.0 preview:

default interface members (DIM)
readonly members
stackalloc in nested contexts
unmanaged generic structs
static local functions (with new shadowing rules)

Tagging @BillWagner
Looking at the side-bar for the C# doc pages (such as https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/), I see a list of C# 8.0 proposals. We could add DIM and readonly members.
Those two proposals are now part of the csharp-8.0 folder (ie. their stable/final address): https://github.com/dotnet/csharplang/pull/2592

Thanks @jcouv I've added this to my task list.
What should we do with the spec-let for the index and range changes? Those are approved for C# 8, correct?
It would read better if those changes were merged into the original spec, but I wouldn't want to do that until having two different docs isn't useful for the development efforts.
What are your thoughts?

Thanks for calling out the Ranges doc. I'll move it to csharp-8.0 folder too.

Here's the new link for Ranges changes doc: https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/index-range-changes.md

@agocke We have a proposal for Range and a proposal for Range Changes:

https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/ranges.cs
https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/index-range-changes.md

Feels like the latter should be merged into the former. Any objections?


Apply color to TreeItem on focus and reduce indent in Tree

https://linear.app/intuita/issue/INT-797/apply-color-to-treeitem-on-focus-and-reduce-indent-in-tree
Before and After videos are inside the linear task above.

@hbjORbj actually I think that the initial "Recipe" node has too much whitespace on its left "bank", the rest of the icon placement is good. We could actually switch the folder icon with the one available in the vscode directly.

Addressed your comments. I add an icon for the ROOT kind as well. I think this icon makes sense because recipe does the fixes and the patches.


Set up .gitignore  file

We need a .gitignore file.
Is it okay that set up gitignore by gitignore.io with Java, Kotlin, Android, AndroidStudio tag?
If need more, write it here. thx!

I think that will be enough. good!

Done.

I'm gonna comment about firebase api key. Maybe there are some adding files like .env.

https://github.com/euphony-io/listen-my-order/issues/1#issuecomment-902458318

I'm gonna comment about firebase api key. Maybe there are some adding files like .env.

Good point!
Maybe the following line shoud be added.
### dotenv ###
.env


vue-draggable-next stopped working, also demo does not work now

stopped working, also demo does not work now

@zdimaz Do you have the reproduction repo ? and please share the Demo URL you are looking at.

Looks demo plugins

In browsr Google Chrom


chore(frontend): captialize reports for ocd relief

SUMMARY
Capitalize reports so that page title is Alerts & Reports
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
AFTER

ADDITIONAL INFORMATION

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

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

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

Thanks for the info this makes sense. However I think that the & can be an exception in my opinion. Other texts did not catch my attention but for some reason this feels off.

Pinging @mihir174 and @jess-dillard for more design input here, but my two cents are that & should not be an exception. It's cap height, which probably does make it a little odd, but I'd almost rather replace it with and than bend or break the rule we're still trying to spread around the UI consistently.
If we DO decide to go with that decision and close this, we should add a rule about & to the style guideline :) It's a good callout, @cemremengu and I/we appreciate the contribution/consideration!

@rusackas @cemremengu Agreed we need to put some more thought into standardization here – in the meantime I have no issue with either option.

@cemremengu is this still bothering you? Not sure if we should re-open the debate, or let it go and close this PR :P
I think generally people are fine with the capitalization standards and the product as-is, but I'm very curious your thoughts :)

@rusackas since most of the community is happy and it is aligned with the current guidelines, I think we can close this to focus on more important tasks.
Thank you for asking and consideration!


Toggle for Playtime sync

Is your feature request related to a problem? Please describe.
With the Playnite Setting "Import playtime of games in library" set to "Always" the playtime for the EGS games gets reset after every library sync, and we lose the time tracked by Playnite itself.
Describe the solution you'd like
A toggle under settings to disable playtime syncing and the resulting overwriting.
Describe alternatives you've considered
If the plugin has access to the Playnite entry's playtime it could compare it to the time reported by Legendary and use whichever is greater.
Additional context
Related issues: #6 and https://github.com/derrod/legendary/issues/502

Both solutions seems great. However in case of second solution, I'd need to add searching for that in Playnite's database and I'm afraid that could cause much slower importing.
So for now I'll add toggling. Besides global switch, there will be also possible to change that per game.
I'll set syncing playtime as disabled by default.


fix: issues with pr #491

Fixes major issues with the pr: #491

@rafamadriz Could you close all the prs that I have linked that says supersseded please?


Includes a gRPC sample

Description
Includes a gRPC sample which implement serving and client
Issue reference
N/A
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests (not required for sample)
[x] Extended the documentation (include readme for this sample)

@heavenwing can you kindly address the comments?

sorry for delay. I am busy in projects recently, and I will address these comments ASAP.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Yaron Schneider<EMAIL_ADDRESS>Sent: Thursday, October 1, 2020 4:01:52 AM
To: dapr/dotnet-sdk<EMAIL_ADDRESS>Cc: Yongguang Zhu<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dapr/dotnet-sdk] Includes a gRPC sample (#382)
@heavenwinghttps://github.com/heavenwing can you kindly address the comments?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dapr/dotnet-sdk/pull/382#issuecomment-701613837, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAWI47QCUQGW7ZV7D4ARU3TSIOFDBANCNFSM4QN5YHEQ.

@vinayada1 - can you take another look?

@rynowak @vinayada1 Hi guys,  what do I need to do now to complete this PR?

@vinayada1 I have already resolved your comments, could you please take a look.

@heavenwing - Thanks for taking the time to fix the comments! I have left a few more comments from the discrepancies I saw.

@vinayada1 I fixed your new comments, pls take a look again, Thanks.

@amanbha Could you take a look again?

Thanks!


How to connect to SQL Azure with Azure Active Directory Login with Multi-Factor-Authentication

Hi, I'm trying to connect SQL Azure with ADD-password authentication. but got "Failed to authenticate the user"  error because we use two-factor authentication.
I also tried to use ADD-Integrated authentication method, got "KrbException: Cannot locate default realm" error.
How do we connect to SQL Azure with 2-factor authentication?

Hi Sally-Xu.  I have the same question and it looks like issue #8128 will be addressing it.  Basically this is a 'feature request' so nothing exists yet.

seems to be duplcate of #5754 .
ticket closed


Create city_of_canberra.json

replaces https://github.com/openaddresses/openaddresses/pull/1293

Hey @slibby. What's your thought about license/attribution requirements for data we've scraped from Esri servers?

@geobrando it's a good question. Generally, my feeling is that if someone has published it to a public REST service, and they haven't filled in the attribution, credits and usage constraints, the implicit decision is that the data is not sensitive from a privacy perspective.
I do think we may have a responsibility to notify these organizations and make sure they know their data has been added to OA, but that's both a lot of work and a great way to get a lot of data removed from OA.
I'd be interested in @ajturner 's take on this too - what is the implicit attribution we should apply to public-facing ArcGIS REST services that do not contain license or attribution metadata.

I think this is a conversation worthy of its own thread/ticket. Does someone want to pose this question in a new ticket please?