Deployment with Windows bootstrap node: Upstream added to the DNS server list

We don't need the upstream DNS server added to the end of DNS server list. This is from a recent deployment:
PS C:\> Get-DnsClientServerAddress

InterfaceAlias               Interface Address ServerAddresses
                             Index     Family
--------------               --------- ------- ---------------
Ethernet 2                           7 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>}
Ethernet 2                           7 IPv6    {fd01:d::c633:6401}
dcos-net                            21 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>}
dcos-net                            21 IPv6    {fd01:d::c633:6401, fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff...
Loopback Pseudo-Interface 1          1 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>}
Loopback Pseudo-Interface 1          1 IPv6    {fd01:d::c633:6401, fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff...
vEthernet (nat)                     13 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>}
vEthernet (nat)                     13 IPv6    {fd01:d::c633:6401, fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff...
vEthernet (b15310e7d0fced5)         17 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>}
vEthernet (b15310e7d0fced5)         17 IPv6    {fd01:d::c633:6401, fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff...

The Ethernet 2 is the main interface and it shouldn't have the upstream DNS (<IP_ADDRESS>) added to the end of the list.

I am actually confused. On Linux, dcos-net setup prepends 198.51.100.[1,2,3] to the \etc\hosts file. I do the equivalent by putting whatever dns setting is on an interface I just prepend these three addresses which I would have expected to be the same.
The dcos-net-watchdog.py service in dcos-net sees if it can ping one of the prepended entries and if it fails it kills dcos-net service. At that point it should restart the service.
On Linux there is no changing back to defaults if dcos-net is broken, just restarting it.

I have just pushed an update to this. Take a look and let me know what you think. If it is now resolved let me know.
The watchdog service now runs.
The resolvconf timer service however I do not believe is running and will require Bruce to look at that. It may be that timers are not yet implemented and will require him to do that. I have validated that the steps in the service do in fact run completely though, so as soon as that works we should be complete.

Fixed by https://github.com/paulcallen/dcos/commit/6b27c3d50e6fa81ed15d870bd289071e8859a2b5


How to passing value to grid editordialog fields?

You Need to describe your Problem more in Detail.
What do you want to achive (end result)?
What did you already try?
From where to where do you want to pass a value?
Otherwise it is really impossible to help.
Also please always mention which Serenity Version you are Building an App with.
With Kind regards,
John

ah sorry Im new to this,by the way i have MasterDetailRelation on the details list add new button when the dialog for the list was call i wanted to pass values on some fields?

found a solution in this thread;
https://github.com/volkanceylan/Serenity/issues/837


Consider adding expm1 and log1p

expm1 is useful for inverting tf.nn.softplus:
def inverse_softplus(x):
    return tf.select(tf.gt(x, 80.0),
                     x,
                     tf.log(tf.expm1(x)))

log1p is useful for implementing logaddexp:
def logaddexp(x, y):
    temp = x - y
    return tf.select(tf.gt(temp, 0.0),
                     x + tf.log1p(tf.exp(-temp)),
                     y + tf.log1p(tf.exp(temp)))

Yep, this would both be nice to have.

I've had a quick look at Eigen to see whether these two are already supported as functors.
log1p is there, but expm1 is missing.
That means a good start for expm1 would be to add it to Eigen.
I think some extra work in Eigen is also needed to get log1p to work with GPU ops (e.g. adding it to Eigen/src/Core/arch/CUDA/MathFunctions.h)

As a potential alternative, we have implemented a python-only framework for adding custom operators to tensorflow, the Operator Vectorization Library:
https://github.com/opveclib/opveclib. Multi-threaded C++ and CUDA code is automatically generated from the python operators, which can be used in a Tensorflow application with only a binary install of tensorflow. We have implemented the log1p and expm1 operators as an example. See documentation at http://opveclib.readthedocs.io/en/latest/expm1.html

@kbrems Interesting!

This should be fixed by 6731e21360ac2fd2fa4999a12e87ae72acfcb2d2.


Definition of a data type in Excel

I would like to analyze an Excel file which assigns a data type to each column. String, Integer, Double or Date are possible. The content of a cell can also be empty.

How can I realibly determine the data type of each column? Thanks in advance.

Sorry for the late response.
I think you need an example for that function.


SW-1610 Error validation for create-accession2 flow

Added error validation for required fields and for dates
Fixed the accession2 states list for create

@constanzauanini this PR will conflict with your PR.. I can handle the conflict resolution after you merge your work.

@constanzauanini rebased off your latest changes and added support in edit view, if you can test.


Opportunity to use plots in quizz answers

Related to https://mooc-forums.inria.fr/moocsl/t/consider-having-plots-as-part-of-the-quiz-solutions/528/4
Where it could be useful:

https://inria.github.io/scikit-learn-mooc/tuning/parameter_tuning_automated_quiz_m3_02.html. Show the parallel coordinate plot after accuracy selection (last two questions)
in wrap-up quizzes as part of the solution git grep plt in our gitlab shows 3 wrap-up quizzes are using plots.

Technical hurdles:

where to put the plot? gitlab I guess since it may help answering the quizz so it needs to be private. Maybe data URLs elements?
how does FUN access the plot from gitlab? or get the data URL.
how do we include this plots in our gitlab in a convenient way. We could have plots in the repo, we could have a gitlab-pages setup. or generate data URL elements. Note: there may be a way to turn our quizz .md files into .py files with jupytext in order to run them and generate the plots.

All in all it does not seem that trivial to implement, so is it worth it or not, we will see ...

This seems to complicated to implement for now and is unlikely to happen in the medium term, let's close this.


Try catch specific error

Hi,
It's possible to try catch specify error with special methods, to not shudown server with error 500.
Exemple: I have error PG (postgresql),
statusCode=500, message=missing FROM-clause entry for table "tete", stack=error: missing FROM-clause entry for table "tete"

I want catch just this error, and not all with
app.use(errorHandler({ formatters: ['json', 'text'], exitOnUncaughtException: false }));

@CaptainJojo to do that, you must use a typed error like PgError and then add a middleware before errorHandler to catch it.
app.use(function (req, res, next, err) {
  if (err instanceof PgError) {
    // do wathever you want
    return next();
  }
  next(err);
});

Thx, to your response


unable to open channel with API: lightning.openChannelSync

Today i  fetch new changes of source code and compiled it, i deleted my old 'Lnd' folder in appdata and everything is fresh.
I trying to open new channel but i see this error.
"/lnrpc.Lightning/OpenChannelSync: unknown permissions required for method"
rpc.proto and admin macaroon are fresh also.
My OS is windows server 2012R2
Opening channel with lncli.exe is working very well.

OpenChannelSync is meant really to only be used over the REST API. But it seems that we forgot to add it to the set of authorized methods for the new macaroons setup. For now, I'd recommend using the streaming variant.


Ads not showing up on Android Phone

I cannot seem to get neither Banner ads or Interstitial ads to show up on my android device using the scene/script provided. I imported the project correctly and the google play services lib. Is there anything else I could be missing?

This issue is being closed due to its age. For bugs in the plugin open a new issue or reach out on our support group at https://groups.google.com/forum/#!forum/google-admob-ads-sdk.
Ram


Convert HTML tables to Markdown tables

Now that we have tables styled by default in https://github.com/creativecommons/creativecommons.github.io-source/pull/227, we should replace instances of HTML tables with tables formatted in Markdown wherever possible. It will make things more readable.
Notes on PRs
Feel free to send PRs for one table at a time. Please make sure to include before and after screenshots in your PRs.

Working on this issue.

Want to work on this issue. I will update other two tables


installing packages

running npm i returns an error:
❯ npm install
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules/eth-sig-util/ethereumjs-abi@git+https:/github.com/ethereumjs/ethereumjs-abi.git" as it does not contain a package.json file.

npm ERR!      /Users/angelagilhotra/.npm/_logs/2021-11-17T15_38_53_463Z-debug.log

deleting package-lock.json before installing solved the issue.

Which node version are you using?

14

I am using node 11.15.0. I too faced the same problem.
Instead of npm i. I used npm ci , it worked for me.


How to configure a docker with credentials

Hello,
Do you know how to configure docker with credentials? Please note its not SSL, it should be accessible using username and password.
Regards
Baltazar Luis

any help?

@bluishpe We support authentication using TLS, as mentioned here: https://docs.docker.com/engine/articles/https/
Username/password isn't supported, also since it would have to be done in Docker Engine. You can try creating an issue there.

@bluishpe please reopen if you have further questions


helm support

This is a initial draft.You can download and using command
helm install  fluentbit-operator/ --generate-name
to install fluentbit-operator.

@wanjunlei please help to review this

now you can download and use commod
helm install  --create-namespace -n kubesphere-logging-system fluentbit-operator/ --generate-name
to install fluentbit-operator.

I suggest that the helm package should not deploy any input, filter, output, only deploy the fluentbit operator.

There should be default input/filter/output , we can add switch for these. The switches for the default input/filter/output should be true while the non-default input/filter/output could be set to false
@wanjunlei @wenchajun


Topic Exchange tokens implementation

Right now it performs very expensive string operations to match a token / child node.

Moved to exchange


libreddit: 0.29.4 -> 0.30.0

Diff: https://github.com/libreddit/libreddit/compare/refs/tags/v0.29.4...v0.30.0
Changelog: https://github.com/libreddit/libreddit/releases/tag/v0.30.0
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 220452 run on x86_64-linux 1

1 package built:

libreddit


Information on change AudioItem

When you switch from one AudioItem to another, the Audio Player State changes from .playing to .buffering.
Would it be possible to get between an information the audioItem paused?
I want to save the current position but on buffering it is to late and there is no information what the last AudioItem was if i don't use  your playlist functionality.

Hey Jeanette,
Sorry for the delay.
If you manage your own queue, couldn't you just save the time before moving onto the next item?


call functions on object literals with a dot

Counter proposal to #109 and #108

I actually remembered why we use : for static methods: when using this in a static method it usually refers to the class itself. If we look at what happens in lua this is perfectly preserved by using the : syntax and adding a 'self' parameter.
These other ones indeed seem like issues and I will have a look at how to resolve those when I have time.

Hmm, that does make sense for static, although there are again cases where APIs expect to be called using dot syntax, which complicates things.

@apemanzilla @lolleko tried to solve by transpiling lambda properties with . and methods with :. Have a look

Is there anything still holding this back?

Found another minor edge case. If you have an instance of an interface extending from two interfaces defining the same method as an arrow function and regular function, it will use the first parent interface to determine the function type. I can't think of any cases where this really matters, though.
declare interface A2 {
    method: () => void;
}

declare interface B2 {
    method(): void;
}

declare interface Thing extends B2, A2 {}

declare const thing: Thing;

thing.method();

@apemanzilla I will merge this once I added some functional tests and had a quick look if there is any easy way to deal with union types.

Thank you!


Multiselecttreeview inside popup

When I try to use this MultiSelectTreeView inside a popup, the popup closes on clicking on any item inside the MultSelectTreeViewItem.  This behavior is not observed with WPF treeview, is there any quick fix for this?
Sample code to repro:
<StackPanel>
    <ToggleButton x:Name="toggleButton" Content="Open/Close Popup"
                  Width="50" VerticalAlignment="Center"
                  HorizontalAlignment="Center"/>
    <Popup IsOpen="{Binding IsChecked, ElementName=toggleButton}"
           StaysOpen="False" PlacementTarget="{Binding ElementName=toggleButton}"
           Placement="Right">
        <mstv:MultiSelectTreeView>
            <mstv:MultiSelectTreeViewItem Header="1">
                <mstv:MultiSelectTreeViewItem Header="a" />
                <mstv:MultiSelectTreeViewItem Header="b" />
                <mstv:MultiSelectTreeViewItem Header="c" />
            </mstv:MultiSelectTreeViewItem>
            <mstv:MultiSelectTreeViewItem Header="2"/>
        </mstv:MultiSelectTreeView>
    </Popup>
</StackPanel>

I have read and understood your report but didn't get to try and reproduce it yet. I'm not working that much with popups so I can't provide any solution without trying it. I'm sorry it can still take a while until I can take a look at this.
In the meantime you might want to take a look at SharpTreeView which supports more features than MultiSelectTreeView.


Graph (If need)
When editing graphs or subgraphs, Build again.

graphs: binary graph
subgraphs: jniLibs

vi mediapipe/graphs/face_mesh/subgraphs/face_renderer_gpu.pbtxt

It is a sample to comment out of lines from 92 to 94 for hiding rectangles and landmarks.
# Draws annotations and overlays them on top of the input images.
node {
  calculator: "AnnotationOverlayCalculator"
  input_stream: "IMAGE_GPU:input_image"
#  input_stream: "detections_render_data"
#  input_stream: "VECTOR:0:multi_face_landmarks_render_data"
#  input_stream: "rects_render_data"
  output_stream: "IMAGE_GPU:output_image"
}


Cleanup non-cancellable promise on user cancel

My use case is around getting an audio stream (microphone) in a browser and let the user cancel anytime. There is a basic call to navigator.mediaDevices.getUserMedia() which returns a promise that cannot be canceled. Once it resolves, the browser shows an indication of the active microphone. To deactivate arbitrary code has to be called on the resolved stream object.
The getUserMedia() is fast in theory, but for cases, it isn't and a user wants to cancel sooner, it should be allowed. You can compare it to doing a mistake dial on the phone and wanting to end it sooner than it starts connecting.
https://codesandbox.io/s/hopeful-wu-6cuty
It works correctly, but it feels overly complex given how simple tasks it does. Maybe it's just my laziness talking and this is totally cool approach 🤷♂
Edit: Now I realize I shouldn't probably create it as a bug 😅

You should rather create a machine (or an actor, maybe a callback one) wrapping that interface and "cancel" it by sending an event to it - rather than trying to call imperatively a stop method on it.

Um, that feels even weirder to me. This machine is already pretty specific and narrow in what it does. Splitting it to extra machine doesn't feel to have much of a benefit.
With an actor, you mean like https://xstate.js.org/docs/guides/communication.html#invoking-callbacks? I thought about that, but either I don't understand it correctly or it will call cleanup whenever I leave that state. That's not desirable in cases where user did not cancel.

And now I am realizing another weakness of this pattern. I cannot use services config this way which would useful for mocking in tests.
entry: assign(() => ({
  streamPromise: getAudioStream(),
})) as any,
invoke: {
  id: 'stream',
  src: ctx => ctx.streamPromise!,
}

I understand that it's quite specific, but you have a machine (business logic~) integrating with some non-machine entity here (which doesn't need to know about any business logic). The split makes sense because you just have to wrap that non-machine entity into a common interface (an actor) which should be able to handle its internal state based on received commands and you wouldn't have to worry about promise/stream/whatever stuff in your business unit. It's arguably more boilerplate but IMHO it makes complete sense.

With an actor, you mean like https://xstate.js.org/docs/guides/communication.html#invoking-callbacks?

Yes, but as with any other actor you can use spawn instead of the invoke and those won't be cleaned up automatically. Only upon receiving an event. With spawn you control the lifetime of an actor.

Thank you @Andarist, I did rewrite it with actor and spawning and it does feel less convoluted. And it's also nice to be able to have spawning action in the config so I can override it in tests.
https://codesandbox.io/s/charming-firefly-txu85
There is some TypeScript issue on line 85, I don't consider it a big problem, but if you want, I can open a new issue with it.


How to create a reset button for the date ?

Hello,
I'm looking to get a clear button near my input to reset the value of the input. I found old issues about this but they are not include in your new Documentation. I'm using Flatpickr with rails 5, I have this code in my application.js fir the moment.
document.addEventListener('turbolinks:load', function () {
Flatpickr.localize(Flatpickr.l10ns.fr)
flatpickr('.form-datepicker',{
altInput: true,
altFormat: 'j F Y'
})
flatpickr('.form-datepicker-from-today',{
altInput: true,
altFormat: 'j F Y',
minDate: "today"
})
})
Thanks for your help
Your Environment

flatpickr version used:
Browser name and version: Firefox
OS and version: Ubuntu 16.04

See #229

Thanks you ! Sorry I forgot to check closed issue.


mojave-gtk-theme: 2020-11-29 -> 2021-07-20

Motivation for this change

update to version 2021-07-20
run installPhase hooks
fix license
make relative symlinks for duplicate files

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Fixed the trailing white spaces.

@ofborg eval


backgroundColor option not working when setting the backgroundColor on the canvas

Issue: When I use the backgroundColor option, it is not being recognized.
Workaround: set the backgroundColor style on the canvas before sending it to the library
Description:
I have an svg canvas with the 'backgroundColor' option set to 'white'. When I attempt to export the canvas with no options, the background is white. When I attempt to use the option {backgroundColor: 'transparent'}, the exported background is still white.
exportCanvas = () => {
        const canvas = document.getElementById(`drawingCanvas`);
        saveSvgAsPng(canvas, `geometry.png`, {backgroundColor: `transparent`});
    }

render() {
        const svgStyle = {
            borderWidth: `1px`,
            borderStyle: `solid`,
            display: `block`,
            margin: `auto`,
            backgroundColor: `white`,
        };

        ...

        return (
            <div>
                <svg
                    id="drawingCanvas"
                    viewBox={`0 0 ${this.props.svgWidth} ${this.props.svgHeight}`}
                    width="95%"
                    height="95%"
                    style={svgStyle}
                    onClick={this.initiateDraw}>
                    You must use a browser that supports HTML5.
                    {drawnShapes}
                </svg>
            </div>
        );

This code works and achieves what I want.
exportCanvas = () => {
    const canvas = document.getElementById(`drawingCanvas`);
    canvas.style.backgroundColor = `transparent`;
    saveSvgAsPng(canvas, `geometry.png`);
    canvas.style.backgroundColor = `white`;
}

I've tried going into the library and forcing it to set style options on its own canvas object as it exports it with no luck.

I've published v1.4.6 to address this. Background color was implemented by drawing a rectangle the size of the image onto the canvas before transferring the SVG over, so it was purely additive and could not unset any background colors on your SVG. I like your method better. Setting the SVG's background color via CSS is simpler, and also allows unsetting the background color, as you're trying to do.
If you encounter any problems, feel free to re-open this issue.

The new change works exactly as anticipated. Thank you!


Website has a typo

graphback.dev has a typo in the sidebar:
Databases > Overiew

Automatically generated comment to notify maintainers
/cc @machi1990, @wtrocki

@craicoverflow can I work on this issue?

Hi @apoorvakumar2306 thank you so much for looking to help out with the Graphback project! We would love if you could work on this issue. Could you give Graphback a :star: ?

Thank you @craicoverflow . Looking forward to solve other issues too.

Thank you @craicoverflow . I would love to work on this issue.

Great, you can begin working on it whenever suits you. Just open a PR and we will review it.

@craicoverflow @machi1990 @wtrocki  It looks like some guy has already raised a PR without any discussion or approval of maintainer. Should I close my PR or not?

Thanks for your contribution @apoorvakumar2306! Your code got merged :rocket:
Generally we do not need to discuss or approve you working on an issue beforehand, as different people can have different ideas, so we do not want to limit them to just one person.

This has been fixed by #2128 #2129


[feature] add vault action to backup and restore keys and certificates

having a juju action to backup and then restore the vault keys and certificates between deploys can be very useful.

from a DR scenario
vault migration scenario
when testing multiple deploys for customers and they have a lengthy signing process that is cumbersome for all parties.

Specifically around #3, field will deploy the cloud many times to ensure consistency and to resolve issues found along the way.  On each new deploy, today, a new CSR must be created and it signed.  This can slow down deployments, and be annoying to the customer to have to submit ticket after ticket to sign a CSR.  Using an auto-generated root-ca doesn't emulate the environment or process properly.
If the keys for vault and certs could be backed up and then restored, this can expedite this process.

Imported from Launchpad using lp2gh.

date created: 2022-02-11T18:16:39Z

owner: thogarre

assignee: None

the launchpad url

(by chris.sanders)
Subscribing field high based on recent deployments which this the CSR processes is making miss deliveries.

(by aurelien-lourot)
Hi Jeff, thanks for the feature request! I understand that you're not talking about the keys used for initializing/unsealing the vault but you're basically talking about exporting/importing all secrets included in the vault (no matter whether they are keys, certs, passphrases, whatever). I'm just stating this here explicitly for future travelers.

(by james-page)
In terms of feasibility it may be possible to use the "operator migrate" commands to facilitate a secure backup and restore between a MySQL backend and a filesystem.
https://www.vaultproject.io/docs/commands/operator/migrate
This is a direct backend migration i.e. no decryption is involved so the unseal keys will remain the same throughout the process.
This would also require a different path to initialisation of vault during deployment where a migrate from filesystem -> mysql is performed rather than the init process.  We'd also need to deal with how the charm then gains access to vault so backup of the approle information the vault charm uses and direct injection of that during redeployment would need to be done.

(by billy-olsen)
FieldSLA is not applicable for features. This does look like an important feature request and have noted it for planning information.

(by chris.sanders)
Subscribing field high based on recent deployments which this the CSR processes is making miss deliveries.

(by aurelien-lourot)
Hi Jeff, thanks for the feature request! I understand that you're not talking about the keys used for initializing/unsealing the vault but you're basically talking about exporting/importing all secrets included in the vault (no matter whether they are keys, certs, passphrases, whatever). I'm just stating this here explicitly for future travelers.

(by james-page)
In terms of feasibility it may be possible to use the "operator migrate" commands to facilitate a secure backup and restore between a MySQL backend and a filesystem.
https://www.vaultproject.io/docs/commands/operator/migrate
This is a direct backend migration i.e. no decryption is involved so the unseal keys will remain the same throughout the process.
This would also require a different path to initialisation of vault during deployment where a migrate from filesystem -> mysql is performed rather than the init process.  We'd also need to deal with how the charm then gains access to vault so backup of the approle information the vault charm uses and direct injection of that during redeployment would need to be done.

Provide by baycarbone

would it be possible to have the juju-backup-all tool and associated charm enhanced to also handle backing up vault's internal raft storage. This is mandatory from ManSol's point of view if we want to switch from etcd/mysql which are supported by juju-backup-all to raft. Another piece of info related to this is that with vault charm 1.15+ raft storage is the only storage backend available, thus if we start using that charm version in the future, ManSol will need a way to perform backups anyhow.

as discussed live with @sbparke, we should trigger the backup action and report back on its success (or failure). How the backup is actually implemented (S3 vs local) is up to the vault charm


Vote summary/stats

On the show votes button press, it makes sense to include stats of the round, like average, medium score, etc. This would help get a better idea of the consensus vote.

#8


Is the starting point and ending point is fixed at 90 degrees?

Hi,  am i able to change the starting point at other degrees but not only start at 90 degrees?

Yes,you can chang the view.transform to chang the starting point .

Thank you so much for the reply. I am a beginner to iOS developing, could you show me the example of the code? For this scenario, i want to the starting point at 180 degrees and the ending point would stop at same as starting point but not 90 degrees. Thank you so much for replying.

view.transform = CGAffineTransformMakeRotation(180);

It works perfectly, thank you so much!!!


wiki: clear window.opener [solved: see top of OP]

Edit

Legacy GM & script: no issues
Web Extensions & Script: disable it and use window.opener be gone

this is the same script but injected by an extension to solve the issues

OP as follows
issue to deal with clear window.opener.
quick wiki link
quick test link
note:

when I say 57+ I am using that as the marker since that is based on our extensions recommendations (we recommend VM in 57+) and is a clean line in the sand and legacy extensions vs web ext. Tests were only done on 59.0.2 (VM is 2.9.1)

summary:

all three scripts work in legacy GM and ESR52.x which we still support
in web ext GM and 57+, all three scripts fail (due to document-start?)
in web ext VM and 57+, only clear window.opener "fails"

earthlng tested webext GM (correct me if wrong)

the script noopener_by_default in VM and 57+ works
edit: diff in the two scripts: noopener_by_default is heavy handed and modifies the original/source page, while clear window.opener modifies the new pages
edit: diffs in how web extensions GM+VM handle document-start
edit: GM almost has a document start fix in place (different to VM)

conclusion:

clear window.opener if modified might work in VM (see the new script), but see diffs in what the script actually does.

done:

wiki: I have already edited the top few lines of the wiki to clearly say that the scripts will not work with the web ext version of GM.

to do:

decide if earthlng wishes to provide a second script for 57+
clearly label the current script as legacy extension only
otherwise point to the new script OR point to an extension
wait for GM to land the document-start fix and switch to GM
talk to VM and see what can be done

Awaiting earthlng's decision, insight, knowledge

earthlng said:
apparently, without looking at the code, just based on your test results, VM uses a different way to inject the scripts and that's why the user-scripts work in their current form. However that method comes with a different set of problems. For example I'm pretty sure the window.opener script doesn't work because the demo page is hosted on a domain with strict CSP rules. That means you can't rely on your user-scripts to work on potentially malicious pages, at all.
I can think of at least 1 other problem but won't bother you with the details.
re: the 2 different scripts: noopener_by_default works by modifying the links on the original page, while "my" user-script works on the "new" page.
noopener_by_default has several issues (1) it's less efficient because it modifies all links targeting a new tab, (2) can easily be tricked to not modify a malicious link, (3) and maybe most importantly, it doesn't clear window.opener when a page uses window.open(). There might be other problems as well, fe. a form can also have target=_blank and it's possible that a page opened that way could also have access to window.opener. If it does then noopener_by_default does nothing against that, either. It can also break a page because adding rel=noopener to a link apparently opens the page without the referer header.
The script in the wiki has none of these problems because it works on the "new" page.

VM uses a different way to inject the scripts and that's why the user-scripts work in their current form. However that method comes with a different set of problems.

does that mean the other 2 scripts also suffer from the same issue? Or are they OK because they are not modifying content? A bit over my head.

The script in the wiki has none of these problems because it works on the "new" page

So it works then? i.e in VM on 57+? We just get a miscellaneous result because the test expected something else?

does that mean the other 2 scripts also suffer from the same issue?

you tell me. You're the author of Conceal history.length, aren't you? :trollface:

the script About rel=noopener in VM and 57+ works

wrong link?

You're the author of Conceal history.length, aren't you? :trollface:

F no. I plagiarized it, did a CHEF-KOCH. Nah, no idea how I wrote that, I think I just looked at some existing scripts/examples on how to read and return a property - I think I just modifed Conceal window.name

Question: can an extension overcome these limitations: eg strict CSP, run-at doc-start, modifying every link
https://addons.mozilla.org/en-US/firefox/addon/dont-touch-my-tabs/?src=search - looks like it modifies every link

^^ Nah... not every link.
Description says this (pay attention to bolded text):

Prevent tabs opened by a hyperlink from hijacking the previous tab by adding the rel=noopener attribute to all hyperlinks (excluding same-domain hyperlinks).

So somehow interfering when same-domain is undisired also for author.
Thats something I was asking at https://github.com/ghacksuserjs/ghacks-user.js/issues/75#issuecomment-382023964 but being ignored/forgoten.
Cheers

but being ignored/forgoten.

You're always on my mind .. so at least one person still loves you :) PS: I skipped that because I thought earthlng had answered it

I moved GM in the wiki from legacy to non-legacy, it's had three+ releases to mature.
I'm clearly not a developer (did you guess?), and would like to ask @gera2ld about this, but not waste his time. eg: bypassing strict CSP, how it handles run-at document-start (excuse my ignorance if terms are incorrect)
I don't wish to rehash what already exists ( https://github.com/violentmonkey/violentmonkey/search?utf8=✓&q=document-start&type=Issues = 9 issues with document-start) but it's all over my head :sob: and I can't seem to find a dedicated topic on it.
@gera2ld : our wiki has three scripts of which this one Clear window.opener doesn't seem to work in VM (FF59+, VM 2.9.1). Can you give us any heads up or link to an existing topic on this document-start business? TIA
Edit: I see 2.9.2 is out but have not updated yet

Possible relevant bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1332273

I moved GM in the wiki from legacy to non-legacy, it's had three+ releases to mature.

Actually, I moved it back. Doesn't seem to me like any progress on document-start. They no longer have a privacy policy, and the reviews on AMO are not that great. Maybe when it can run our scripts we can re-look at it.

@earthlng Is an extension a feasible solution? i.e none of the document-start, strict CSP hindrances - and one that works the way you described, by modifying the linked page, not the source page.

Probably.
https://anonfile.com/ef3fm5eab4/windowopener_be_gone-1.0-an_fx.xpi
Very basic extension that injects the user-script listed in the wiki. No whitelist support or anything like that. Not listed on AMO because I don't want to deal with people asking for new features or bitching about how it breaks some sites. It is what it is, take it or leave it. I might improve it when I move away from ESR but hopefully until then GM will be able to correctly run scripts like this again.
The extension also works on ESR52 but it's probably more convenient to use the user-script with legacy GM for an easy way to exclude certain sites.
FYI I would not recommend to run the other 2 scripts with VM either, because if someone would care to look they could easily get your real history.length and window.name.
@crssi it's only my opinion but yes I think it's possible that an attacker can abuse window.opener on same-domain as well.

I'll give it a test. FWIW I think you should store the xpi here: https://github.com/earthlng/testpages with the other two
conceal history.length was always about "lying" about the array size, I always assumed anyone could/would try to fill bigger arrays. I don't know enough about the property(s) - eg get history.length(item5.name) or something silly
How does windows.name not protect windows.name = it's literally right there in the code
return '';

go to http://browserspy.dk/document.php, open a couple of links from the navbar on the left in the same tab and then go back to Document. It will say Number of pages visited in History = 2. Now press Ctrl+Shift+K and type in _history.length and Enter. What do you get? The same is true for window.name.
With legacy GM in ESR for example, you will get ReferenceError: _history is not defined because there's a separation between contentscripts injected by extensions and the site's own JS. That's most likely not the case with the way VM injects the scripts. Without separation, scripts have to be written in a very special way for this NOT to be a problem. Not only can it reveal stuff that it shouldn't, it can also overwrite unrelated functions/variables etc set by the site or vice versa. In general and unless someone understands the In's and Out's of this, I'd very much recommend against using VM for any script.

the xpi - works on the test site perfectly, thank you. Should we link to it in the wiki (with your disclaimers)? eg add it to the extensions wiki page?
What should we do with the scripts wiki page? Red exclamation and disclaimer at the top or something. Don't wish to give people a false sense of privacy

Now press Ctrl+Shift+K and type in _history.length and Enter. What do you get?

FF59.0.2 + VM - I get ReferenceError: _history is not defined

Oh okay, nvm then. I'll edit/remove my comments

Got to say I like the icon

You know way more than I do re VM/scripts etc - your comments may well be true with other scripts. But ours are OK by the sounds of it
Edit my comments as well if you need to

Should we link to it in the wiki (with your disclaimers)? eg add it to the extensions wiki page?

up to you

FWIW I think you should store the xpi here: https://github.com/earthlng/testpages with the other two

download link: https://github.com/earthlng/testpages/raw/master/windowopener_be_gone-1.0-an%2Bfx.xpi

[x] added to wiki extensions (just the file and link back to this issue)
[x] wiki scripts, conceal window.opener mentioned at the top in that slight mess of explanations, AND mentioned just above the script itself

Feel free to fix anything I did to the two wiki pages

whereas your modifies the new page (which is better? right?).

it clears window.opener whenever it is not already null. It's better in the sense that it doesn't matter how window.opener was set. There are several tags in HTML that can use target=_blank of which at least <a> and <area> support the rel=noopener attribute, according to mozilla. But there might be others besides these 2 that could also result in window.opener being set, like form or whatnot, IDK. And window.open() also sets window.opener. don't touch my tabs only modifies <a> tags.

window.opener be gone covers same-domain

yes

^^ awesome.  All I'm hearing (and I do understand most of it) is that yours is a superior solution, that's good enough for me. I trust your expertise

FYI: A hardened TC can be a replacement for window.opener be gone.


Rearchitect Nd4j's storage backend

Currently nd4j has a DataBuffer. A DataBuffer is used to handle raw storage of data.
Data buffers have one or 2 ways of storing data called an allocation mode.
An allocation mode right now currently falls in to arrays (HEAP) and direct(Netty bytebuffers)
Bytebuffers allow us to overcome the inherent size limit of arrays(Integer.MAX_VALUE) while still keeping the speed of a linear buffer.
Bytebuffers have also proven to be faster in get and put (access operations) in element wise and scalar operations.
There is still a huge bottleneck in terms of how data buffers interact with BLAS.
Many blas backends take double[] or float[] for their parameters. Right now the way the underlying buffers are stored and passed to BLAS is via asDouble() or asFloat()
asDouble() or asFloat() can either be constant time (pass the reference to an underlying array) or O(n) to copy where n is the number of elements in the buffer.
The problem with this architecture is that NDArrays are often just views of other ndarrays.
Specifying offsets and strides when making BLAS calculations while passing the whole data buffer or underlying array is error prone at best.
My proposal is to overhaul the current interactions between blas and databuffers by:
Migrating everything to bytebuffer storage
Convert the blas based access to give us only what we need of the buffer and use that for the calculation.
This will be a huge boon in terms of speeding up something like hierarchical softmax in word2vec while allowing us to train a large lookup table.
Since we are changing how blas parameters are created, I also propose a new change for the blasbackend.
I propose a lombok based generator for better maintenance and the creation of a base backend. The base backend will handle this new storage mechanism (setting up the databuffer to be passed to blas).
Backend implementors then only have to handle implementing doGemm() -> and the like rather than handling the details specific to nd4j.

@EronWright I know you're in to this kind of stuff. It'd be neat to hear about how this could play in with spark/hadoop number crunching.

@agibsonccc I have some time tonight to reflect on it.   Then I could drop in on Saturday for some whiteboarding.
These improvements will hopefully lead to a follow-on Canova improvement project.
If you plan to make API-level breaking changes, now might be a good time to introduce an ndj4 context or session, to capture session-wide client input like RNG, backend-specific parameters, etc.    i.e. tackle the emerging 'static nd4j' problem.  Just a thought.
Finally, reduce the number of provided CPU backends if possible.

Some more notes:
In the blas calcualtions add more robust routing (wrt the data type) doubles and floats should be transparent.
A base class should know how to route blas calculations to the proper implementation relative to the data type of the underlying buffer.

Blas is semantically sub divided in to routine levels. This should be reflected in the newer blas wrapper api.

Track this on the lombok branch. Pretty good progress so far. Different backends are now decoupled from the storage medium. This will allow people to say: use nio bytebuffers with jblas (even though it uses arrays)
This should free up the scalability problems we've been running in to(and also paves the way for different calculations to be run with the upcoming distributed backend)

Done.


Disable MySql filter by default

As of May 2019 mysql filter in envoy is experimental.
Pilot configures a envoy.filters.network.mysql_proxy filter when the service port is named mysql. This port name is default in most helm charts. The results is that most customers start using the mysql filter without opting in.
We have seen customer reported mysql connection issues when upgrading from 1.0.x to 1.1.x
MySQL filter should be enabled only when requested by the user.

Keep this behind a feature flag until mysql filter become stable.
Use a different magic name instead of mysql which will be opt-in

I prefer option 1.

/cc @rshriram

Prefer option 1 as well. Perhaps option 2 was better when we first introduced the feature but it is too late now


Allow not escaping with quotes.

Fixes #41.

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

I'm not sure I understand this change (but this may be because I don't understand the arb format :) ). The description at #41 reads like a bug (like a false warning is generated), but this PR just allows disabling the check entirely. Is it not possible to have the check, but allow valid quotes as given in the example (eg., is this not just a bug in the unbalanced quote detection?).

The arb format uses ICU MessageFormat syntax, which specifies single quotes for escaping. Flutter, which uses the arb format, allows to disable escaping by single quotes (which goes against ICU syntax...). So the extension should respect the YAML file in some way.

Oh, thanks for the pointer - I thought this was a new yaml file you'd created for this, it makes more sense now :-)
Although, presumably this means that it's important it goes in the project root now (next to pubspec.yaml) for Flutter projects, so I think the workspace folder mentioned above might not be appropriate (because the workspace may have multiple nested projects).

I will take a look at how the pubspec.yaml is handled in the Dart-Code extension and go from there, thanks!

If you need to find all projects, Dart-Code does this in the findProjectFolders although there are some options for search depth and exclusions. If you know the arb file you're editing, it might be simpler to walk up and find the nearest project instead (this avoids searching the down the tree which can be quite large), which the Dart-Code extension does in locateBestProjectRoot.

I tried to keep it somehow Flutter-agnostic, while still supporting Flutter.


Do not add .js extension to entries values

What did you implement:
Closes #165

How did you implement it:

How can we verify it:

Todos:

Write tests
[ ] Write documentation
Fix linting errors (not yet implemented)
Make sure code coverage hasn't dropped (not yet implemented)
Provide verification config / commands / resources
Enable "Allow edits from maintainers" for this PR
Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

Dtermining the extension will also support the case where single functions in a project are updated and the used extension changes. E.g. if you change a function from js to jsx or from js to ts. Then the next deploy will just work out of the box because your config file does not need to know anything about the specific function configurations.

 Problem is that all tests fail cause we don't actually have files to check

I can take care of the unit tests as soon as we have a performant and working solution.

Improved the file search as recommended

I will add the unit tests and the doc/example updates tomorrow, so that we can release 2.2.0 also tomorrow.

I tested it with one of our projects. That worked nicely. Also rebased onto the current webpack master.
Should be everything ok now. The only thing that can happen is, that if there are unrelated files besides the handler, that just have a different ending, the glob could match them (e.g. handler.doc). However it will show the warning we implemented.
If that turns out to be a problem later, we can restrict the allowed extensions by setting the glob pattern to ${fileName}.@(js|ts|jsx).

Just added some more complex test cases and a preference sorting. I will do some final tests now.
For most standard uses of lib.entries it should work now - if someone needs more sophisticated handling he can program the complete stuff in his webpack.conf - thanks to the serverless and option exports.


handleClick checking for e.nativeEvent

Added a check for e.nativeEvent existence because React.TestUtils.Simulate.Click function breaks on this.

Thanks!

You're welcome, when is the next release planned?

within the week

@kenwheeler We're several weeks further now..

I know I'm the worst. Was traveling for speaking, I'll get this in soon

just pushed 1.1.0 @jefsnare

@kenwheeler Great! Thank you!


How to disable red arrows in line numbers?

Description of the problem or steps to reproduce

How can I disable these arrows?
Specifications

Commit hash:
OS: Windows10
Terminal: ConEmu

These are added by linter plugins when errors in the file are detected on save.
To disable linting functionality, Press Ctrl + E then enter set linter false. (You may have to restart micro for this to apply.)

These red arows are added by linter plugins when errors are detected on save.
To disable linting functionality, press Ctrl + E then enter set linter false. (You may have to restart micro for this to apply.)

Thank you!


Cannot read database in Tauri + Vue + Vite

Hi, I am trying to read an sqlite database in a Tauri app. Here is my code -
const db = new Database('./assets/output.sqlite');
db.pragma('journal_mode = WAL');

Here is the error I am getting -

This is a node.js library.


5 Photoshop files and Chinese Texture translation

All ps files are made for easy translation into other languages.
Double-click texts you like to update and enter texts in your languages. All text effects are ready.

Thank you for the PR. looks good to me. Can you put the finished png files inside Translation/zh/Texture?

Thank you for the PR. looks good to me. Can you put the finished png files inside Translation/zh/Texture?

I put them into Translation/zh-CN/Texture because they could be versions in other Chinese sub-languages such as zh-TW (traditional Chinese) or zh-HK (Cantonese). The existing HS2/AI girl Chinese translations have also followed this pattern.


Poor wording in KeepActivation

true to keep the current product activation flag or reset it. The default value is false.

Poor use of grammar in this sentence.

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

ID: 2e497ffc-841c-8d38-b30f-3d19af5f24ce
Version Independent ID: c6d5168d-cb3d-f9c1-d908-4e61532da994
Content: SMS_TaskSequence_PrepareOSAction Class - Configuration Manager
Content Source: sccm/develop/reference/osd/sms_tasksequence_prepareosaction-server-wmi-class.md
Product: configuration-manager
Technology: configmgr-sdk
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Looks like this was fixed back in March, closing.


Incorrect comparison in readme

Embedded KV store can be potentially more compact and faster, but electrs stores the actual block data, while rust-bitcoin-indexer extracts only the data it needs and throws everything else away.

I'm not sure this is correct. As far as I understand it electrs only maintains a very minimal TX output, TX input and TXID => block height index.
All the actual data queries are passed through to bitcoind.
https://github.com/romanz/electrs/blob/0f3aaa6671e3839fc2dcdc54a36f0e8dd674f398/doc/schema.md

Oh. My bad. So they only keep additional indices around? That will work too (not sure about performance, but I guess full node should respond pretty much like a remote db, so should be good enough). Thanks for pointing it out!

I modified https://github.com/dpc/rust-bitcoin-indexer/blob/master/README.md#vs-electrs . If anything is still incorrectly, let me know. Thanks again!


Typo in install text

Possibly difference of opinion, but I think
panda install if
should be
zef install if
of little significance but better for those new to the game.

Looks like this issue was fixed in 2261836a332be5fb6ff8fa414926d4d51ae7d059


Add the kubernetes toolchain to asdf's .tool-versions

The kubernetes toolchain should also be added to asdf's .tool-versions
Extracting it as a GH Issue for someone else to take over.
Originally posted by @krebernisak in https://github.com/smartcontractkit/chainlink-starknet/pull/68#discussion_r941055363

Should be resolved by:

https://github.com/smartcontractkit/chainlink-starknet/pull/76


Bump v2.1.17

Bump v2.1.17

Fix the incorrect result of counting keys in a Region in some case #5415
Add the config-check option in TiKV to check whether the TiKV configuration item is valid #5391
Optimize the starting process to reduce jitters caused by restarting nodes #5277
Optimize the resolving locking process in some cases to speed up resolving locking for transactions #5339
Optimize the get_txn_commit_info process to speed up committing transactions #5062
Simplify Raft-related logs #5425
Resolve the issue that TiKV exits abnormally in some cases #5441

PTAL, thanks!


[BEAM-3293] Add encoding of map/multimap side inputs into proto

Adds encoding of map and multimap side inputs into proto form for pipeline execution. Also refactors the switch statement setting the side input window mapping function into a helper function so it can be reused for all side input forms.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @lostluck


installation and npm start fails

Node version:
v7.1.0
npm version:
3.8.7
Operating system:
Windows 10 Home
Command line used:
CMD
Steps to reproduce:
All of a sudden my webpack and browserync has stopped working. I removed node_modules and did the following fresh npm install in CMD as admin.

npm install
npm run setup
npm start

it gave the error below
npm ERR!events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)

Also, running npm start loads up browsersync but then it cancels out
[BS] Serving files from: src
[BS] Watching files...
webpack: wait until bundle finished: /index.html

npm ERR!events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)

could someone please assist with this? I have no good idea about webpack and it's really frustrating when things do not work. Thanks

I hate to say this first, but have you tried rebooting? Second, I recommend trying Node 5. I've seen others in my office have issues with Node 7 on Windows 10.

thanks @coryhouse it looked like a NodeJS issue. I've reverted back to 6.9 and it seems stable now.


initialise should report connection issues

Sometimes IPFS has trouble setting up the initial connection to our gateway, initialise should report this.

We should also check if the current page is loaded in a secure context

We should also check if the current page is loaded in a secure context

No longer necessary, handled in the worker on the lobby.

No longer necessary, handled in the worker on the lobby.


kyverno: 1.12.1 -> 1.12.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kyverno/kyverno/releases.
meta.description for kyverno is: Kubernetes Native Policy Management
meta.homepage for kyverno is: https://kyverno.io/
meta.changelog for kyverno is: https://github.com/kyverno/kyverno/releases/tag/v1.12.2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.12.2 with grep in /nix/store/0qwlwf5f9mhy3ypj9k3vddfr8yjx78v4-kyverno-1.12.2
found 1.12.2 in filename of file in /nix/store/0qwlwf5f9mhy3ypj9k3vddfr8yjx78v4-kyverno-1.12.2

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

kyverno

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/e0718495d1c5e3815cad780d5acce5506f4e8e06#kyverno

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0qwlwf5f9mhy3ypj9k3vddfr8yjx78v4-kyverno-1.12.2
ls -la /nix/store/0qwlwf5f9mhy3ypj9k3vddfr8yjx78v4-kyverno-1.12.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

kyverno

Maintainer pings
cc @bryanasdev000 for testing.

Result of nixpkgs-review pr 314149 run on x86_64-linux 1

1 package built:

kyverno


Shall we bring the template and the configuration options up to date?

I propose bringing the configuration options up to date with https://github.com/antirez/redis/blob/3.0/redis.conf.
Basically, this is not up to date enough with the latest configuration options to support aof-load-truncated yes and aof-rewrite-incremental-fsync yes, and some additional cluster settings.
I noticed a lack of anything about aof-load-truncated in the repo.
In most cases, I think people will set this to 'yes'.
# An AOF file may be found to be truncated at the end during the Redis
# startup process, when the AOF data gets loaded back into memory.
# This may happen when the system where Redis is running
# crashes, especially when an ext4 filesystem is mounted without the
# data=ordered option (however this can't happen when Redis itself
# crashes or aborts but the operating system still works correctly).
#
# Redis can either exit with an error when this happens, or load as much
# data as possible (the default now) and start if the AOF file is found
# to be truncated at the end. The following option controls this behavior.
#
# If aof-load-truncated is set to yes, a truncated AOF file is loaded and
# the Redis server starts emitting a log to inform the user of the event.
# Otherwise if the option is set to no, the server aborts with an error
# and refuses to start. When the option is set to no, the user requires
# to fix the AOF file using the "redis-check-aof" utility before to restart
# the server.
#
# Note that if the AOF file will be found to be corrupted in the middle
# the server will still exit with an error. This option only applies when
# Redis will try to read more data from the AOF file but not enough bytes
# will be found.
aof-load-truncated yes

# When a child rewrites the AOF file, if the following option is enabled
# the file will be fsync-ed every 32 MB of data generated. This is useful
# in order to commit the file to the disk more incrementally and avoid
# big latency spikes.
aof-rewrite-incremental-fsync yes
# Cluster Slave Validity Factor
# A slave of a failing master will avoid to start a failover if its data
# looks too old.
#
# There is no simple way for a slave to actually have a exact measure of
# its "data age", so the following two checks are performed:
#
#1) If there are multiple slaves able to failover, they exchange messages
#    in order to try to give an advantage to the slave with the best
#    replication offset (more data from the master processed).
#    Slaves will try to get their rank by offset, and apply to the start
#    of the failover a delay proportional to their rank.
#
#2) Every single slave computes the time of the last interaction with
#    its master. This can be the last ping or command received (if the master
#    is still in the "connected" state), or the time that elapsed since the
#    disconnection with the master (if the replication link is currently down).
#    If the last interaction is too old, the slave will not try to failover
#    at all.
#
# The point "2" can be tuned by user. Specifically a slave will not perform
# the failover if, since the last interaction with the master, the time
# elapsed is greater than:
#
#   (node-timeout * slave-validity-factor) + repl-ping-slave-period
#
# So for example if node-timeout is 30 seconds, and the slave-validity-factor
# is 10, and assuming a default repl-ping-slave-period of 10 seconds, the
# slave will not try to failover if it was not able to talk with the master
# for longer than 310 seconds.
#
# A large slave-validity-factor may allow slaves with too old data to failover
# a master, while a too small value may prevent the cluster from being able to
# elect a slave at all.
#
# For maximum availability, it is possible to set the slave-validity-factor
# to a value of 0, which means, that slaves will always try to failover the
# master regardless of the last time they interacted with the master.
# (However they'll always try to apply a delay proportional to their
# offset rank).
#
# Zero is the only value able to guarantee that when all the partitions heal
# the cluster will always be able to continue.
#
cluster-slave-validity-factor 0

# cluster-require-full-coverage

# By default Redis Cluster nodes stop accepting queries if they detect there
# is at least an hash slot uncovered (no available node is serving it).
# This way if the cluster is partially down (for example a range of hash slots
# are no longer covered) all the cluster becomes, eventually, unavailable.
# It automatically returns available as soon as all the slots are covered again.
#
# However sometimes you want the subset of the cluster which is working,
# to continue to accept queries for the part of the key space that is still
# covered. In order to do so, just set the cluster-require-full-coverage
# option to no.
#
#2015.10.19  n8  We don't want a partially working cluster.  This will make
#   diagnostics confusing, i.e. "it works for my test user"
cluster-require-full-coverage yes

May I make a pull request to add this feature, or is it unnecessary for reasons of which I'm not aware?

I can agree that this might be a requirement.  I just implemented a standalone mode and I am getting the following error.  This was a fresh install using r10k.
Starting redis-server:
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 542
>>> 'cluster-enabled no'
Bad directive or wrong number of arguments
failed

I changed the template to use a comment as the
# Redis Cluster Settings
<% if @cluster_enabled -%>
cluster-enabled yes
cluster-config-file <%= @cluster_config_file %>
cluster-node-timeout <%= @cluster_node_timeout %>
<% else -%>
# cluster-enabled no
<% end -%>

:+1:

// , Not to be too chatty, but this issue has come up again for us.
Specifically, we need to set a cluster-slave-validity-factor of 2 for one of our applications.
http://download.redis.io/redis-stable/redis.conf

// , In the mean time, how do you recommend that we work around this? Should we just clone the module and modify it, or use it as-is a separate module to use the ReDiS API, or just automatically set it with redis-cli -h $(facter ipaddress) CONFIG SET cluster-slave-validity-factor 2?

@v6 I would do two things:

Fork the module to add the config settings you require
Open a pull-request to add those features upstream to this module 👍

// , Well, let's get started: https://github.com/arioch/puppet-redis/pull/163

Due to its age I'm going to close this issue. If there's something missing, please open a new issue.


Move TomlDocument class to expose required methods

Description:
$Subject
Currently, the class 'TomlDocument' is needed for several places that includes project API & runtime (for configurable variables)
The class need to be moved to a common module in order to use them in different places.
Steps to reproduce:
Affected Versions:
SLP7
OS, DB, other environment details and versions:
Related Issues (optional):
#27129
Suggested Labels (optional):
Team/jBallerina
Suggested Assignees (optional):

This seems to be fixed in current master
https://github.com/ballerina-platform/ballerina-lang/blob/master/compiler/ballerina-lang/src/main/java/io/ballerina/projects/TomlDocument.java
Hence closing the issue.


Shutdown actors gracefully at exit

Right now Celluloid has the Ruby VM go on an actor killing spree at shutdown.  However, actors may want to take action at shutdown, such as persisting some state or informing remote actors they're shutting down in a DCell system.
Celluloid should use an at_exit handler to shut down all running actors gracefully. This can be overridden with exit! for a fast exit.
(Originally from: https://github.com/tarcieri/dcell/issues/2)

Fixed in 6aa41bb


Make jitsi_server_url an organization-level setting.

Fixes: #17914
Related PR: #18455, #19788

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@sahil839, this PR is ready for another round of review. I have made the suggested changes.
Below are screenshots of the UI changes. Should I make the dropdown and input any longer, or are they fine?

Screenshots

We might also want to keep in mind how to handle the UI for short screens.

@sahil839, I have updated the PR. Please take a look.
Changes:

Implemented regex for validating URLs in the frontend. Currently, we only validate URLs that start with https:// or http://.

Added text-overflow: ellipsis for the dropdown select to indicate when the URL is not fully visible. However, the complete URL will be visible in the dropdown options. If select width is set to auto, we will get horizontal scrolling on smaller screens when URLs are excessively long. Let me know if you have any suggestions for further improvements.

@sahil839, I have addressed the comments above.
I'm also not too sure about the design. Moving forward, I believe we should finalize the design before making any further changes. For now, as suggested, I have set the width of both the select and input elements to be consistent with other URL inputs.
width: 311px

I have no other concerns. There are a couple of things that would need feedback from @timabbott like this and this. Also for UI, we can probably start a discussion on #design to get feedback from more people.

@timabbott The PR is ready for another round of review.

I rewrote the API documentation in a way that is hopefully helpful:
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 2aae48b9db..e9cb91cbb3 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -4370,15 +4370,14 @@ paths:
                                       nullable: true
                                       description: |
                                         The URL of the custom Jitsi Meet server configured in this organization's
-                                        settings. Clients should NOT use this field when starting video calls;
-                                        the `jitsi_server_url` property should be used for that.
-                                        This field is only used for the settings UI.
+                                        settings.

-                                        - null, the default, means this realm is configured to use the server's
-                                          default Jitsi Meet server.
+                                        `null`, the default, means that the organization is using the should use the
+                                        server-level configuration, `server_jitsi_server_url`.

                                         **Changes**: New in Zulip 8.0 (feature level 212). Previously, this was only
-                                        available as a server-level configuration.
+                                        available as a server-level configuration, and required a server restart to
+                                        change.
                                     waiting_period_threshold:
                                       type: integer
                                       description: |
@@ -13572,15 +13571,16 @@ paths:
                         nullable: true
                         description: |
                           The URL of the custom Jitsi Meet server configured in this organization's
-                          settings. Clients should NOT use this field when starting video calls;
-                          the `jitsi_server_url` property should be used for that.
-                          This field is only used for the settings UI.
+                          settings.

-                          - null, the default, means this realm is configured to use the server's
-                            default Jitsi Meet server.
+                          `null`, the default, means that the organization is using the should use the
+                          server-level configuration, `server_jitsi_server_url`. A correct client
+                          supporting only the modern API should use `realm_jitsi_server_url ||
+                          server_jitsi_server_url` to create calls.

                           **Changes**: New in Zulip 8.0 (feature level 212). Previously, this was only
-                          available as a server-level configuration.
+                          available as a server-level configuration, which was available via the
+                          `jitsi_server_url` field.
                       realm_giphy_rating:
                         type: integer
                         description: |
@@ -14037,10 +14037,20 @@ paths:
                                 on the external site.
                       jitsi_server_url:
                         type: string
+                        deprecated: true
                         description: |
                           Present if `realm` is present in `fetch_event_types`.

-                          The base URL the organization uses to create Jitsi video calls.
+                          The base URL to be used to create Jitsi video calls. Equals
+                          `realm_jitsi_server_url || server_jitsi_server_url`.
+
+                          **Changes**: Deprecated in Zulip 8.0 (feature level 212) and will
+                          eventually be removed. Previously, the Jitsi server to use was not
+                          configurable on a per-realm basis, and this field contained the server's
+                          configured Jitsi server. (Which is now provided as
+                          `server_jitsi_server_url`). Clients supporting older versions should fall
+                          back to this field when creating calls, e.g. `realm_jitsi_server_url ||
+                          server_jitsi_server_url || jitsi_server_url`.
                       development_environment:
                         type: boolean
                         description: |
@@ -14196,12 +14206,12 @@ paths:
                         type: string
                         nullable: true
                         description: |
-                          The URL of the Jitsi server that the Zulip server is configured to use.
-                          Clients should NOT use this field when starting video calls; the `jitsi_server_url`
-                          property should be used for that. This property is typically used in the settings
-                          UI to display the current server default.
+                          The URL of the Jitsi server that the Zulip server is configured to use by
+                          default; the organization-level setting `realm_jitsi_server_url` takes
+                          precendence over this setting when both are set.

-                          **Changes**: New in Zulip 8.0 (feature level 212).
+                          **Changes**: New in Zulip 8.0 (feature level 212). Previously, this value
+                          was available as the now-deprecated `jitsi_server_url`.
                       event_queue_longpoll_timeout_seconds:
                         type: integer
                         description: |

Overall, this looks very solid; I posted a comment just above with documentation changes, but otherwise I've marked this to merge once CI passes. Thanks so much for doing this @HemantUmre12 and @ligmitz!

Fixed a typo caught by codespell.


Scrolling and hidden card

One of them is scrolling and another is sticky

The sticky one hide the "skill tag" card.

Solution: src/pages/HomePage.js needs a div with a fixed position as a wrapper for the two cards.


[UI] Show the items associated with the product

using accordion view? show the index of the item?

Accordion view might be quite difficult to implement with JavaFx.
Need to do some research on this.


Error: Can't resolve '@babel/runtime/regenerator'

I believe the @babel dependencies for redux-saga-routines may need to be updated.
Using redux : 4.0.1 and redux-saga: 0.16.2 and redux-saga-routines: 3.1.1, I'm getting an error:
./node_modules/redux-saga-routines/es/routinePromiseWatcherSaga.js
Module not found: Can't resolve '@babel/runtime/regenerator' in '/Users/jvallandingham/code/z/strain-brain/node_modules/redux-saga-routines/es'

It appears that there may have been a problem with v7.1.1 of babel: (https://github.com/babel/babel/releases/tag/v7.1.1)

EDIT: had a publish issue here as well where it compiled against Node 8 instead of Node 6 so 7.1.2 will fix this.
Also force publish @babel/runtime and @babel/runtime-corejs2.

If i add @babel/runtime version 7.1.2 to my project, this issue goes away - and things appear to work as expected.

I've published version 3.1.2 with updated babel deps, please check if it works well for you

Thanks for taking a look! I think the issue is fixed by your peer dependency in 3.1.3.
I created a minimal example of how i'm using redux-saga-routines here: https://github.com/vlandham/redux_saga_routines_test to test. I believe the new (2.0) version of create-react-app provides the babel peer dependency package. Where I was having troubles before, I am using the 1x version of create-react-app. Adding the runtime peer dependency solved the import issue.
Thanks for such a useful package!


No trailing slash for 404 pages

          Hi again @openscript ,

sorry but we have noticed an issue during production build.
It's about 404 page
 ERROR  UNKNOWN

Truncated page data information for the failed page "/it/404.html/": {
  "errors": {},
  "path": "/it/404.html/",
  "slicesMap": {},
  "pageContext": {
    "locale": "it-IT",
    "localePagesId": "404.html",
    "translations": [
      {
        "locale": "en-GB",
        "path": "/404.html/"
      }
    ],
    "prefix": "it"
  }
}

failed Building static HTML for pages - 2.622s

Reading docs
https://www.gatsbyjs.com/docs/how-to/adding-common-features/add-404-page/
I see that the 404 page is compiled as  404.html, so I think it's a special route where trailingSlash should not be used
(my guess)
Thanks for your help
Originally posted by @acocheo in https://github.com/openscript-ch/gatsby-plugin-i18n-l10n/issues/176#issuecomment-1921105990

How the fix works for you @acocheo.

Tested today.
Flawless. GG
🙏


App crash when type any emoji

Randomly type any non-emoji, won't crash
Switch to emoji keyboard and choose any of the emojis
Happy crashing

android.database.sqlite.SQLiteException: unrecognized token: "'🐧)" (code 1): , while compiling: SELECT codes.code FROM codes WHERE codes.version = 3 AND codes.char_index = (SELECT chars.char_index FROM chars WHERE chars.chchar = '��')

This is because SQLite doesn't recognize half emoji, then it throws an error. Now the error will be caught and the app will not crash because of this exception. There should be a better way to handle that, such as filtering out all the emoji before looking for the input code. I will work on it later.
Anyway, thanks for your report.


Reinstate Travis CI caching

The only sane method to workaround current npm 5 issue https://github.com/npm/npm/issues/17419 was to disable Travis CI caching in https://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress/commit/be776752baa58d86a46bb90cf7c60503c44c5b57 and https://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress/commit/f418f6c2d8d8789a17b6725c83cf1b85d24f7e1a
This should be restored when a new npm release has fixed the linked issue

Ref: https://docs.npmjs.com/cli/cache

Oh well, that didn't work, once Travis CI tests are run a second time with caching enabled npm continues to crash 😢
• https://travis-ci.org/WordPress-Coding-Standards/eslint-plugin-wordpress/jobs/249240419
References:
• https://github.com/npm/npm/pull/17508
• https://github.com/npm/npm/issues/17419

Fixed via #99


create demo

Hello @toandaominh1997! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file demo.py:

Line 1:13: W291 trailing whitespace
Line 2:11: W291 trailing whitespace
Line 6:19: W291 trailing whitespace
Line 8:1: E302 expected 2 blank lines, found 0
Line 16:80: E501 line too long (99 > 79 characters)
Line 21:80: E501 line too long (82 > 79 characters)
Line 24:1: E302 expected 2 blank lines, found 0
Line 33:1: E302 expected 2 blank lines, found 1
Line 40:80: E501 line too long (84 > 79 characters)
Line 51:1: W293 blank line contains whitespace
Line 63:31: E225 missing whitespace around operator
Line 66:1: E305 expected 2 blank lines after class or function definition, found 1
Line 66:12: E225 missing whitespace around operator
Line 67:28: E251 unexpected spaces around keyword / parameter equals
Line 67:30: E251 unexpected spaces around keyword / parameter equals
Line 68:80: E501 line too long (81 > 79 characters)

In the file models/efficientdet.py:

Line 49:80: E501 line too long (101 > 79 characters)
Line 49:95: E251 unexpected spaces around keyword / parameter equals
Line 49:97: E251 unexpected spaces around keyword / parameter equals
Line 50:80: E501 line too long (84 > 79 characters)
Line 51:80: E501 line too long (86 > 79 characters)


Adds manpage

Pull Request Test Coverage Report for Build 81

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 98.274%

Totals

Change from base Build 80:
0.07%

Covered Lines:
740

Relevant Lines:
753

💛  - Coveralls


Canonical url is not fetched from non canonical URL

I have an issue when the crawled URL is not the same as the canonical URL. The canonical URL is not fetched when using the provided minimum-config.xml where the url is changed to http://www.skolverket.se/kompetens-och-fortbildning/lararlegitimation/legitimation-1.237043
From HttpImporterPipelineUtil, it look like the canonical URL should be fetched. But it never happens.
public static boolean resolveCanonical(
...
            HttpCrawlData newData = (HttpCrawlData) ctx.getCrawlData().clone();
            newData.setReference(canURL);
            HttpQueuePipelineContext newContext = new HttpQueuePipelineContext(
                    ctx.getCrawler(), ctx.getCrawlDataStore(), newData);
            new HttpQueuePipeline().execute(newContext);
            ctx.getCrawlData().setState(HttpCrawlState.REJECTED);
            ctx.getCrawler().fireCrawlerEvent(
                    HttpCrawlerEvent.REJECTED_CANONICAL,
                    ctx.getCrawlData(), detector);
...

Is it on the same domain/port/protocol?  Because the latest minimum-config.xml has the stayOn... attributes set to "true".  If it is, a copy of your config to reproduce would be helpful.

Here is the configuration: https://github.com/leonardsaers/TextFiles/blob/master/norconex-http-collector/minimum-config.xml

I found out the issue is with the site creating a circular reference between the canonical URL and a redirect.  To explain:
Your start URL...
http://www.skolverket.se/kompetens-och-fortbildning/lararlegitimation/legitimation-1.237043

...specifies this canonical URL:
http://www.skolverket.se/kompetens-och-fortbildning/lararlegitimation

That canonical URL has a redirect to your original start URL:
http://www.skolverket.se/kompetens-och-fortbildning/lararlegitimation/legitimation-1.237043

At that time it has already been processed and eliminated since it was non-canonical (rejecting it also avoids an infinite loop in the process).
I am afraid the site did not design this one properly and I would recommend you tell them so they can fix that.  In the meantime, your best option may be to ignore canonical URLs for that one with this:
<canonicalLinkDetector ignore="true" />

Thanks for the answerer. I also took a look at https://tools.ietf.org/html/rfc6596 which strongly suggest that canonical pages should not redirect.
However, should http-collector handle this faulty set-up of canonical URLs?

It kind of does by 1) avoiding the infinite loop, and 2) being able to disable canonical link support.
What would you like the behavior to be in this case?  Keep the canonical, ignoring the redirect? Or keep the redirect, ignoring the canonical?  Either way, if we support one at the detriment of the other, some people are bound to raise this as an issue (e.g. "[redirects|canonical] are not always working").  You can think of anyway to avoid that?

Now that we are storing the redirect "trail" with each document, we can use that to figure out if we are in a non-canonical/redirect circular reference and process the non-canonical page.
I tested with success the example provided earlier in this ticket with the latest snapshot.
Please confirm if you have a chance.

Handling of non-canonical/redirect circular reference is now part of the official 2.8.0 release.

Thanks :)


Add chain data

Should be easy to use Indexed.xyz as the data source for Ethereum based chains. They're storing the data as Parquet files on R2.

We need to preprend something like this:
SET s3_region="auto"
SET s3_endpoint='https://ed5d915e0259fcddb2ab1ce5592040c3.r2.cloudflarestorage.com';
SET s3_access_key_id='43c31ff797ec2387177cabab6d18f15a';
SET s3_secret_access_key='afb354f05026f2512557922974e9dd2fdb21e5c2f5cbf929b35f0645fb284cf7';

Done in https://github.com/davidgasquez/datadex/blob/3aa999d25d451d430d087d9ef975cc97ff557385/dbt/models/ethereum/ethereum_logs.sql but doesn't work very well.


opam package seems broken

Using worker: worker-linux-docker-03f973ea.prod.travis-ci.org:travis-linux-3
system_info
Build system information
Build language: haskell
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
git.checkout
0.15s$ git clone --depth=50 --branch=master git://github.com/JasonGross/lob.git JasonGross/lob
Cloning into 'JasonGross/lob'...
remote: Counting objects: 315, done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 315 (delta 225), reused 260 (delta 172), pack-reused 0
Receiving objects: 100% (315/315), 134.83 KiB | 0 bytes/s, done.
Resolving deltas: 100% (225/225), done.

Building dependency tree...
Reading state information...
E: Unable to locate package opam

https://github.com/travis-ci/travis-ci/issues/3705 is the original issue. Looks like you need to add the source https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json#L3.

How do I add the source?  (Or is this something to be done on your end?)  If I list opam under sources:, I get Disallowing sources: opam

Oh, I see, I need to add avsm to the sources line.  It might be useful to have travis give instructions along the lines of "search here for the package, then add this or that line to soruces:" when the package is not found.  Or, even better, print the particular source it's in, when it's not found.

Could you open a new issue at https://github.com/travis-ci/travis-ci/issues/new? That sort of feature request belongs there.
I'm closing this now.


WSL2 networking mirrored - multicast support (Windows host <> WSL distro)

Is your feature request related to a problem? Please describe.
Theorically, the documentation for WSL2 mirrored says that Multicast support is already in place, but there's a lof of issues linked to this:
#10735
#12122
#11966
#10614
I have faced myself this frustating problem through my company with a ROS2 app: Windows <> WSL2.
The default NAT mode is not a solution because it has other strange problem explained in https://github.com/microsoft/WSL/issues/11966
Describe the solution you'd like
Multicast works in Mirrored mode between Windows and WSL Distro.
Describe alternatives you've considered
Additional context
The basic example I've been using to do quick test of multicast sender/receiver:
sender
import socket
import struct
import time

MULTICAST_GROUP = '<IP_ADDRESS>'  # Change to your desired multicast address
PORT = 5004  # Change to your desired port

# Create the socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)

# Set the socket option to allow multicast
sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 2)

# Send multicast packets
while True:
    message = b'This is a multicast message'
    sock.sendto(message, (MULTICAST_GROUP, PORT))
    print(f'Sent: {message}')
    time.sleep(1)  # Send a packet every second

receiver
import socket
import struct

MULTICAST_GROUP = '<IP_ADDRESS>'  # Match the address used in the sender
PORT = 5004  # Match the port used in the sender

# Create the socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind(('', PORT))

# Tell the operating system to add the socket to the multicast group
group = socket.inet_aton(MULTICAST_GROUP)
mreq = struct.pack('4sL', group, socket.INADDR_ANY)
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)

print(f'Ready to receive on {MULTICAST_GROUP}:{PORT}')

# Receive multicast packets
while True:
    data, addr = sock.recvfrom(1024)  # Buffer size is 1024 bytes
    print(f'Received message: {data} from {addr}')

/feature

1.Windows host-> WSL distro
Run a multicast receiver simultaneously on the Windows host. Then, when the Windows host sends a multicast packet, it also sends a copy to the loopback device, and mirrors the multicast packet to the receiving direction of the WSL2's mirrored NIC. In this way, WSL2 can receive the multicast packet from the Windows host smoothly.
2.WSL distro->Windows host
hostAddressLoopback=true,and WSL executes "sudo ip route add <IP_ADDRESS> via <IP_ADDRESS> dev eth0 onlink", then Windows host can successfully receive multicast packets from WSL2 (mirrored)
for detail,please see  WSL2 and multicast(https://blog.csdn.net/sxd2001/article/details/144649381)


To do: MAMBA_ROOT_PREFIX

Instead of JULIA_MICROMAMBA_ROOT_PREFIX.
If the user already uses Mabma and has a root dir set up we may as well reuse it.

Done!


feat: factor out remove-react-images for lightgallery

This PR swaps out react-images with lightgallery. The former dependency has a README that says, "Don't use this in a new project. This package hasn't been properly maintained in a long time and there are much better options available."

The deploy preview looks good. I'm going to merge this. 🚀


Ngx capacitor http doesn't work on angular 14.1.0

I have app built with anglular 14.1.0 and ionic 6, capacitor verion is  4.1
while installing ngxcapacitorhttp
it signal somme error peerDependancies saying that
ngxcapacotirhttp depend on angular@^6. and other
I have lunched again with flag --legacy-peer-deps
Instalation is done;
I imported the NgxCapaticitor Module
I launched the ionic server, to test my app, and returned I unclair error :
() => this.handleRequestError(e)
can you help me plaise

The minimum Angular version target for the plugin is v13 of Angular. I will need a reproduction project to diagnose this issue.

Closing as I didn't receive a reproduction. Please open a new issue with a reproduction if this issue effects you, thanks!


add a gulp server task and fix path for minified css file

added a task to easily get this app up and running in the browser

Do you think it would be better to remove the "host" property so that it will just run at localhost instead of <IP_ADDRESS>?

Hi Ryuhhn, I originally thought it would be good to use gulp task to set up server but now I'm thinking of changing it to express js. I will update this commit for you to review and I will use
<IP_ADDRESS>:8888 as opposed to <IP_ADDRESS>

I should've used browsersync for these tasks, launches a server in specified directory providing a localhost address as well as a localtunnel subdomain eg. wireframe.localtunnel.me and maintains sync b/w different devices.
Sorry I'm busy these days, @ryuhhnn could take a look at PRs based on his availability 😄

I second using express.js! Once you make those fixes I'll merge :)


[Bug]: Failed to Recognize Reference

Description
i use docker-compose way for deploying Mautic, the templates is come from this repo
https://github.com/mautic/docker-mautic/blob/6ebb1d6a2751fbb029d1e5ebb6c9ae076f55d47f/examples/basic/docker-compose.yml#L4
i think there's no problem with their config, but Coolify seems failed to recognize the reference of "*mautic-volumes" which is already highlighted in the link above (line 4)

Minimal Reproduction (if possible, example repository)
stated above
Exception or Error
Reference "mautic-volumes" does not exist at line 6 (near "volumes: *mautic-volumes").
Version
Latest - v4.0.0-beta.294

This is a tricky issue because I parse the compose file with a normal YAML parser, but that is invalid in the YAML world, but valid in the Docker world.

This is a tricky issue. Docker compose is not a standard yaml file, so to be able to parse it, I need some kind of special docker/yaml parser, which is not available anywhere.

thanks @andrasbacsai, so simply, just hard code that to every references instead making reference, right?

one more question, should i uncheck this checkbox?

Well, you can delete the double $ and left the checkbox active, or uncheck and leave the compose file like that.

Hey there, thanks for sharing this resolution! I had the same problem with Coolify. Now this error is not displayed anymore but when deploying my mautic_web container is staying with the "waiting" mention. See below the logs message.

Mautic 5 is now available as a one-click service. As this is an edge case for volume mounts, we will not support it for the time being.


Problem loading code during first run

I create a new flutter app in Visual Studio Code, firstly, there are default codes in main.dart, and I ran it normally in my Android phone. I deleted the codes in the main.dart and ran a command line Flutter run. However, when the app had finished building the template is always shown, the content didn't change any until I run a hot restart

@mezueceejay do you have a space ' ' in a directory name? There was a bug in handling this that was very recently fixed

@jonahwilliams I do not have a space in my directory but I think I found a fix... I just ran flutter clean and it seems to be working at the moment

Ideally that wouldn't be required at all.  Good that it is resolved though


fix console docs nav

Proposed changes
fixes #5565
intent is to go from this...

to this...

[x] remove 3 category landing pages
[x] move content if needed that was on those landing pages
[x] expose individual pages in left nav
[x] fix refs
[x] fix redirects
[x] move plan information to index page

... in the future i think we should consider moving org roles to the org page, and stack permissions to the projects and stacks page. also is it weird that the saml information isn't with these docs? anyways, wont be taking any of that on in this pr.

@susanev Now that https://github.com/pulumi/docs/pull/5494 has merged, would you mind resubmitting this on https://github.com/pulumi/pulumi-hugo? Sorry the the inconvenience and happy to help if you need.

yup sure, ill try on my own first. but will let ya know if end up needing help.


Add prayers layout

Add prayers layout

New layout "Group by prayers", and it's the new default
Add changed_on to masjids tables; color coding to be done in another PR
No changes in Jumaas yet, it's only on the masjids layout (which was the default before this PR)

@hammady Can you try to run this and give your opinion?

Looks awesome. I have some minor comments:

I tried generating it locally but got the below error:

file:///private/tmp/generator/svelte/.svelte-kit/output/server/chunks/MasjidLastUpdated.js:8
import { keys } from "lodash";
         ^^^^
SyntaxError: Named export 'keys' not found. The requested module 'lodash' is a CommonJS module, which may not support all module.exports as named expor
ts.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'lodash';
const { keys } = pkg;

By replacing line 5 in utils.js with the recommended change it worked. I think it will break on CI without this change.

When clicking a masjid name in the "group by prayer", it jumps to the other layout but because the page header covers a fixed part of the screen, the masjid name and address are hidden behind the header. Let's not try fixing it and I suggest removing this header for now. The max is 20 masjids anyway and with the new layout, they all appear without scroll with the ability to click for details.
The last updated column has a dot after the relative time which looks odd. Can we remove?
Changed on is missing from the old layout. Please add it as a third column.

Yep, I will make the change. Regarding the import issue, this type of lodash import works in the client but not in the server. It should be import keys from 'lodash/keys', but auto import sometimes imports the wrong ones.

@hammady Sorry for the delay, I added a PR description, and here are screenshots.
There are room for a lot of improvement, but I feel that this PR took too much changes more than necessary, will follow up with more PRs next morning.