What about xhyve instead of VirtualBox?

I've never heard of xhyve. Does it have a similar problem as boot2docker (or, more accurately, VirtualBox) and slow file syncing?

I mean VirtualBox of course. There are few solutions around xhyve working with boot2docker and core os. I think xhyve is more interesting than VirtualBox, because of lightweight virtualization on native hypervisor framework. The performance it's not like that VirtualBox yet (xhyve IO is slower). What about file syncing I have no any tests.

Well, if you want to give it a shot, I'd be curious to hear how it works for you. If it looks promising, I'd explore it further, but for the time being, I think I'd prefer to stick with the officially supported Boot2Docker.

xhyve has been tested against vbox performance and there was a 4x loss, so unfortunately, at this early stage of the xhyve driver, it's a no go. https://thepracticalsysadmin.com/xhyve-vs-vbox-driver-benchmarks-for-docker-machine/

I've now tested xhyve myself since Docker for Mac uses xhyve and does not require VirtualBox, it works with osxfs internally.
The result: as stated above. Much slower than on VirtualBox. Exciting development, but still slow, as expected.


An error from a combination of scan, complex numbers, and np.diag

A very high level summary: I got an error when I did some complex number computation inside a lax.scan function (compute1 in the code below). But the almost identical code can be run with a for loop (compute2). Only gradient computation raises the error. Forward computation is fine for both method. If I replace np.diag(d) with v in the function f, then also no error.
import jax.numpy as np
from jax import grad, random, jit, lax

def f(carrier, x):
    h =  x*np.array([[0, 1j], [-1j, 0]])
    d, v = np.linalg.eigh(h, symmetrize_input=False)
    carrier = np.diag(d) @ carrier
    return carrier, None

def compute1(p):
    u = np.eye(2, dtype=np.complex64)
    carrier, _ = lax.scan(f, u, p)
    return np.abs(np.trace(carrier))

def compute2(p):
    u = np.eye(2, dtype=np.complex64)
    for i in range(3):
        h =  p[i]*np.array([[0, 1j], [-1j, 0]])

        d, v = np.linalg.eigh(h, symmetrize_input=False)
        u = np.diag(d) @ u
    return np.abs(np.trace(u))

print(grad(compute1)(np.arange(2,5,dtype=np.complex64)))
# print(compute1(np.arange(2,5,dtype=np.complex64)))

Error message:
/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lib/xla_bridge.py:122: UserWarning: No GPU/TPU found, falling back to CPU.
warnings.warn('No GPU/TPU found, falling back to CPU.')
Traceback (most recent call last):
File "/home/xiaotongni/jax-qoc/test_scan.py", line 24, in
print(grad(compute1)(np.arange(2,5,dtype=np.complex64)))
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/api.py", line 352, in grad_f
_, g = value_and_grad_f(*args, **kwargs)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/api.py", line 407, in value_and_grad_f
ans, vjp_py = vjp(f_partial, *dyn_args)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/api.py", line 1285, in vjp
out_primal, out_vjp = ad.vjp(flat_fun, primals_flat)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 106, in vjp
out_primals, pvals, jaxpr, consts = linearize(traceable, *primals)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 95, in linearize
jaxpr, out_pvals, consts = pe.trace_to_jaxpr(jvpfun_flat, in_pvals)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 354, in trace_to_jaxpr
jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/linear_util.py", line 149, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/home/xiaotongni/jax-qoc/test_scan.py", line 12, in compute1
carrier, _ = lax.scan(f, u, p)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lax/lax_control_flow.py", line 804, in scan
linear=(False,) * (len(consts) + len(in_flat)))
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lax/lax_control_flow.py", line 1166, in scan_bind
num_carry=num_carry, linear=linear)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/core.py", line 182, in bind
out_tracer = top_trace.process_primitive(self, tracers, kwargs)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 305, in process_primitive
primal_out, tangent_out = jvp(primals_in, tangents_in, **params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lax/lax_control_flow.py", line 865, in _scan_jvp
jaxpr, nonzeros, instantiate=carry_nz + [False] * num_ys)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 575, in jvp_jaxpr
jaxpr_out, pvals_out, literals_out = pe.trace_to_jaxpr(f_jvp, pvals, instantiate=True)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 354, in trace_to_jaxpr
jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/linear_util.py", line 149, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/core.py", line 97, in jaxpr_as_fun
return eval_jaxpr(typed_jaxpr.jaxpr, typed_jaxpr.literals, args)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/core.py", line 251, in eval_jaxpr
ans = eqn.primitive.bind((subfuns + in_vals), **params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/core.py", line 182, in bind
out_tracer = top_trace.process_primitive(self, tracers, kwargs)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 305, in process_primitive
primal_out, tangent_out = jvp(primals_in, tangents_in, **params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/ad.py", line 388, in linear_jvp
val_out = primitive.bind(*primals, **params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/core.py", line 182, in bind
out_tracer = top_trace.process_primitive(self, tracers, kwargs)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 98, in process_primitive
return self.default_process_primitive(primitive, tracers, params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 106, in default_process_primitive
out_aval = primitive.abstract_eval(*avals, **params)
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lax/lax.py", line 1523, in standard_abstract_eval
return ShapedArray(shape_rule(*args, **kwargs), dtype_rule(*args, **kwargs))
File "/home/xiaotongni/miniconda3/lib/python3.7/site-packages/jax/lax/lax.py", line 2484, in _pad_dtype_rule
raise TypeError(msg.format(operand.dtype, padding_value.dtype))
TypeError: pad operand and padding_value must be same dtype: got complex64 and float32.

This turned out to be a bug in the gradient rule for complex eigh; it was producing complex eigenvalues when it should have produced real eigenvalues. Sorry for the slow fix!


(Minor) CSS bug in dark mode in tables, on circleCI

Describe the issue linked to the documentation
In dark mode, tables render wrong on circleCI:
The page https://output.circle-artifacts.com/output/job/13951c90-e23c-4688-9259-023169cb60d8/artifacts/0/doc/api.html does not render well

Problem here also:
https://output.circle-artifacts.com/output/job/13951c90-e23c-4688-9259-023169cb60d8/artifacts/0/doc/generated/skrub.SelectCols.html#skrub.SelectCols

Suggest a potential alternative/fix
Maybe it should be fixed in the CSS. Maybe it's not a big problem as it only happens on circleci and not on the main website.
@choldgraf maybe this comes from the sphinx pydate theme? Are we doing something wrong?

I think you've found a bug in the dark theme CSS! I see the same here: https://pydata-sphinx-theme.readthedocs.io/en/latest/examples/kitchen-sink/api.html
Opened an issue here:

https://github.com/pydata/pydata-sphinx-theme/issues/1543


websocketx does not handle client close

Hi there
I just tested the httpx example with the client below. Once the client issues a close it crashes the server process?
service
import options, asyncdispatch, httpx

proc onRequest(req: Request) {.async.} =
  if req.path.isSome:
    if req.path.get == "/ws":
      var ws = await newWebSocket(req)
      await ws.send("Welcome to simple echo server")
      while ws.readyState == Open:
        let packet = await ws.receiveStrPacket()
        await ws.send(packet)
    else:
      req.send(Http404)
  else:
    req.send(Http404)

run(onRequest)

client
import websocketx,asyncdispatch

var ws = waitFor newWebSocket("ws://<IP_ADDRESS>:8080/ws")
echo waitFor ws.receiveStrPacket()
waitFor ws.send("Hi, how are you?")
echo waitFor ws.receiveStrPacket()
ws.close()

enviroment
roz@wolverine:~$ nim --version
Nim Compiler Version 1.3.5 [Linux: amd64]
Compiled at 2020-09-18
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: cbd78ec1f68e78a88e4a83a5009bc4c8c28c79b3
active boot switches: -d:release

Shouldn't client close be handled?

My bad handling the exception is the way to go ;P

Never mind.
I think you can ref the docs of https://github.com/treeform/ws, because this library only adds supports for httpx.


Team reviewers?

Hi,
Would this be in the roadmap to support team reviewers?
https://docs.github.com/en/rest/pulls/review-requests#request-reviewers-for-a-pull-request

Hi there! This is a really superb Github Action.
Can we get this feature up soon? Thanks 🙏


Stuck Startup Screen with Beta 1.2

Using this mod with beta 1.2 (and possibly the official 1.2 patch when it comes out) causes the game to be stuck at the startup screen when the game starts

just confirming on the latest release this bug still exists. I disabled all mods and enabled one by one and this happened to be my blocker. Shame, really like it.

Using this mod with Pathfinder WOTR and get stucked. It causes the game to be stuck at the startup screen when the game starts. WOTR is version 2.4.0x and Scaling cantrips is version 1.5.8. Other mods works.


[1312] publish course details confirm page

Context
https://trello.com/c/wFjZXhab/1312-m-publish-course-details-confirm-page
Should be merged after https://github.com/DFE-Digital/register-trainee-teachers/pull/731
Changes proposed in this pull request

View page for confirming publish course
Component to show course info

Guidance to review

Add new trainee, choose "Provider led (postgrad)" path, add course details, choose one from list.

 [M] Publish course details confirm page


optimize karma configuration

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.587%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
12191

Relevant Lines:
12193

💛  - Coveralls


How to create Table in Rebass

Can anyone guide how to create Table in Rebassjs see below example..!

FWIW, you'll probably want to style your own since table styles tend to be fairly specific

FWIW, you'll probably want to style your own since table styles tend to be fairly specific

Any example ?

@aakhan89 I was searching for same thing, so just created very basic Table component without any styling:
import { Flex, Box, Text } from "rebass";

const Table = ({ columns, data }) => (
  <Box width={[1, 3 / 4, 2 / 3]}>
    <Flex flexWrap="wrap">
      {data.map((item, index) => {
        return (
          <Box px={2} width={1 / columns}>
            <Text
              p={1}
              style={{
                fontWeight: index < columns ? "bold" : "normal"
              }}
            >
              {item}
            </Text>
          </Box>
        );
      })}
    </Flex>
  </Box>
);

export default Table;

    <Table
      columns={4}
      data={[
        "Team",
        "Played",
        "Goal Diff",
        "Points",
        "Liverpool",
        "31",
        "+52",
        "76",
        "Man City",
        "30",
        "+58",
        "74"
      ]}
    />

@markgandy
thanks for you reply and effort, I will look into this and let you know


Make languagePolicy configurable and register root dialog's generator's language policy as default

Composer requires a customized language policy for language fallback, than the default "en-us" => "en" => "".
In composer scenario, we want be able to fallback to specific language instead of empty, for example fallback to en-us when activity.locale = fr-fr, because the bot is only configured with en-us assets.
See more context in #3553
This change include

Replace the lazy trick in LanguagePolicy by a class singleton, to make sure json deserialization work.
Register the root dialog's policy as default one in TurnContext, if children dialog don't configured with a policy, it will pick that one.

We probably want to also register rootDialog's generator instead of hard coding to "main.lg", we can even remove UseLanguageGeneration middleware, make sense @tomlm?

I think i may add need a add a schema for ResourceMultiLanguageGenerator

@boydc2014 should we update MultiLanguageRecognizer as well to include/ respect a language policy? I do not know why this does not apply to recognizer.. ?

@boydc2014 should we update MultiLanguageRecognizer as well to include/ respect a language policy? I do not know why this does not apply to recognizer.. ?
Also, experience wise, how does this get hooked up in composer? How/ where do you specify your language policy?
If I have multiple dialogs in a bot and if they all need the same policy, how do I manage that all centrally via declarative representation instead of having to duplicate it in every dialog?

When I check the source code of MutilLanguageReconginzer, it has it's own language policy, we can make the root dialog's LU language policy shared, for sure, but not going to be the policy of LG using.

At composer side, what we are thinking is, totally hide this in dialog editing view, we will expose some settings in setting page, actually just two config,

what the languages you are going to support (en-us, fr-fr, zh-cn)
what's the default language (en-us)
we will generate the policy and inject at root.

Hey, @tomlm I updated the PR implemented the update based on @cwhitten's suggestion https://github.com/microsoft/botbuilder-dotnet/issues/3553#issuecomment-611362047. Can you help take a look again?


CT reconstruction

Your work is so creative. Can this project use X-ray images to reconstruct CT?Tanks

Sure, if you implement the forward operators to be Radon transforms, it would be possible.


Draft: Attempt at Mac OS compilation

Attempt to get a working macos branch.
NOTE: I have no idea what I'm doing. I'm piecing together the previous threads about sysroot from the readme.
I have no idea what the zig or gcc options mean.
There are a number of hacks in this branch, so this is still WIP.
TODOs:

[ ] Commits are messy and aren't yet cleaned up for review
[ ] Identify what's hacky/needs to be removed
[ ] Verify the options
[ ] Test with more use cases

Fixes #10

@chrisirhc nice work so far! Happy to help test this when ready.

Realized that hexops is an incomplete sysroot, so I went with unpacking a pkg.
Now I'm hitting: https://github.com/ziglang/zig/issues/20243
But I guess this is progress?


Part of https://github.com/owncloud/QA/issues/827

I restarted drone - one of the pipelines had a error fetching dependecies.


feat: Add HealthIcons and maybe others

Hello, It's me again.
There is another icon set that would make a great addition, the healthicons project.
Also just in case, I think you can find other interesting icon sets at Iconify.
I will wait to see which icons you add to your library and maybe create a separate library for those which didn't make the cut.
Thanks again for this great project.

I'll give it a try. Not all icon sets convert to the flattened SVG. We'll see if they use anything that can't be converted.

@lukadriel7 I got them integrated. Only one glitch which was filename based (!.svg) that was easily fixable.
They will be available in v1.7.0 when released. Thanks for your help finding good sets of icons :heart:

Happy to help 😁

In the meantime, you can check them out in the docs before release: https://quasar-extras-svg-icons.netlify.app/all-about-quasar-extras-svg-icons/icon-finder


Add a getter for raw IDToken in ObjC wrapper

This should solve #185
The lack of raw string value of ID Token is unexpected. This PR adds the capability of getting the raw value, so the client can send it to the verify server easier to go through the verifying process.

@eJamesLin Hi, it is appreciated if you can have a chance to look at it.


[Links] Show external-link icon where applicable

Close #765
Note: May result in unwanted wrapping of icon.  Example below (the regulation link):

Changes

Adds the external-link icon automatically when we determine it's a non-cfgov link
Overrides DS Notification styles to ensure icon colors consistently match link status-based (visited, hover) styles

@natalia-fitzgerald Please follow-up with devs on how we want to handle external links where the icon wraps to a new line.
One potential solution is to use the Link component's noWrap property, which would keep the link text + icon together, but looks like it could introduce it's own wrapping oddities.  Example screenshot below:

@meissadia
Can you show the same two screenshots at mobile? I do worry that forcing no wrap could introduce even further oddities at smaller screen widths.

@meissadia Can you show the same two screenshots at mobile? I do worry that forcing no wrap could introduce even further oddities at smaller screen widths.

@natalia-fitzgerald On large mobile (width: 425px)

Regular
No wrap

@meissadia
Would it be possible to push the no wrap solution to a dev server so that I can click around and see how that approach looks across a few instances?

Implemented no-wrap for external links, ready for deploy to DEV for evaluation by Design.

Going to start deploying this now!

It's up on Dev @meissadia and @natalia-fitzgerald!

@meissadia
I took a look at the no-wrap implementation on Dev. I didn't notice any awkward breaks but I think that we should probably handle external links the way we handle any link + icon. Ideally I'd want to follow the CFPB Design System and cf.gov website approach to link + icon unless we determine that there is a problem with this general approach. I believe that they allow wrapping and don't use the no wrap. Is that your understanding?
Here's a link to the link + icon section in the CFPB Design System.
What is the logic in this implementation for when an external link icon appears next to a link? My interpretation of this implementation (what's on dev) is that anything that will take you outside of the beta platform is considered an external link, even a link to cf.gov content. I typically interpret external links to be those that take you outside of the CFPB sphere of webpages, for example Login.gov, the Federal Reserve, GLEIF, etc.
I noticed some odd outlier behaviors that we should address:
Dotted underline extending under the icon

Dotted underline is missing

Links to the same pages sometimes have an external link icon and sometimes don't.

@natalia-fitzgerald Thanks you very much for the detailed review!! This is phenomenal guidance for my next steps.

No wrap

Yes, DS Links wrap even if icon ends up on a separate line than the link text.  I will follow that guidance.

CPFB sphere

I will work to compile a list of "internal" domains so that we can programmatically derive internal vs external

Inconsistencies I am working to address

Dotted underline should not extend beyond the link text
Dotted underline is missing
The use of the external link icon should be consistently applied


Set up facebook rss limit > 20

Hello, I did a fresh new installation of the rss-bridge and I would like to know how to bypass the limit of 20 post for the "Facebook Bridge", I noticed that some public hosts like https://rss.nixnet.services/ haven't this problem.
How to do this?

Hi, @Ph03nyx86 ! Could you show me the example query string to produce that 20 post limit?

A fresh installation display 20 post by default

The bridge has a limit option but im guessing the result of scraping doesnt have more.


New cli options to control file creation

Added a couple new cli options to control how files are created:
--file-permissions (or -fp) and --directory-permissions (or -dp) to specify which mode is used to create files and directories.
--temp-directory (or -td) to specify a directory for temporary files which solves #175 for me.

I just noticed when I run it on my NAS and try to use a temp dir that's on a different BTRFS subvolume than the output dir, it fails in TryMove. Seems to be due to this issue: https://github.com/golang/go/issues/41487.
Makes me wonder why ffmpeg isn't fed the temporary files directly?

FYI I solved the problem for myself by replacing err = os.Rename(srcFile, dstFile) with err = exec.Command("/bin/mv", srcFile, dstFile).Run() in TryMove.
I could add an additional cli flag like --use-alternative-move if you want, but not sure if that's desirable.

Makes me wonder why ffmpeg isn't fed the temporary files directly?

When this was originally in Python, the temp directory was automatically deleted when the program exited, since that's how Python's temp directory function worked. If something went wrong and was uncaught during the merge, or anything else leading up to it, this would have caused the files to be lost. It certainly could be changed to merge from the temp directory now, though.
As for the move error itself, I can't tell if that BTRFS just being different or what, since hopefully most people wouldn't try to set the temp directory to a completely different partition/disk normally.


Easter egg badges

The Easter Egg badges are not rendering properly.
Click to show screenshot

Nice website. Do you by any chance have an invite code?

Nice website. Do you by any chance have an invite code?

Ask in their Discord https://kurwa.club/discord


WARNING: Ad plugin stealing your money

FROM A FRIEND:
Read the license and you can see, that he promised to take only 2 percent of ad traffic, but in fact he takes up to 30%.
Why am I writing this?
Because I noticed that my money was also stolen and good must defeat evil
How did you know my mail?
I spent a lot of money and time to parse all google play apps (yes, +2.2M apps), and I found all the applications that use this plugin
What should I do?
First, do not write to the creator of the plugin. I do not know what he can do in a panic, but he can control your ad traffic, so trust me and be ninja.
Second, make an update without this plugin.

but what if we have commercial licence?

@haisham better you update your app without this plugin.
This plugin its very evil.
Steal many dollars from everybody.
We need report this developer to GOOGLE, APPLE AND FBI

See decompiled jar from this evil plugin
https://github.com/userweb/expose-liar-plugin/blob/master/GenericAdPlugin.java
He get ad id from his server and REPLACE your id with his ID

This jar is not open source because this steal our money
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/src/android/AdMobPlugin.java#L37

Tell us the line in which he is replacing the ID the 30% in GenericAdPlugin.java

adlicRate is comming directly from server, so means it can be more than 2% ? line 379
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/src/android/AdMobPlugin.java#L37

Have you ever tried this? https://github.com/ratson/cordova-plugin-admob-free

@showthetrue @aitoraznar @haisham
Unfortunately I just confirmed this is true.
He is taking 30% of the traffic and not 2%.

This even happens after buying a license! He is ripping of the community!

3 different apps made a request to http://adlic.rjfun.com and the response was the same, this:
curl -H 'User-Agent: Mozilla/5.0' -H 'Accept-Language: UTF-8' -H 'Host: adlic.rjfun.com' --data "&net=admob&app=com.sample&lic=&os=android" --compressed 'http://adlic.rjfun.com/adlic'
{"r":0,"b":"","i":"","n":"","v":"","js":""}
[cid:58867b32-6c52-4b99-be6f-81ea84ee1113]
[cid:94a23f6f-97b1-41e9-ba7e-b84eff607e05]

De: Rodrigo Graça<EMAIL_ADDRESS>Enviado: domingo, 10 de diciembre de 2017 14:51:02
Para: floatinghotpot/cordova-admob-pro
Cc: Aitor; Mention
Asunto: Re: [floatinghotpot/cordova-admob-pro] WARNING: Ad plugin stealing your money (#640)
@showthetruehttps://github.com/showthetrue @aitoraznarhttps://github.com/aitoraznar @haishamhttps://github.com/haisham
Unfortunately I just confirmed this is true.
He is taking 30% of the traffic and not 2%.
[screenshot-area-2017-12-09-205413]https://user-images.githubusercontent.com/1134310/33805444-11efcf66-ddb1-11e7-9f80-f37b47bac7f4.png
This even happens after buying a license! He is ripping of the community!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/floatinghotpot/cordova-admob-pro/issues/640#issuecomment-350549788, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACWz39uqiAsK9QG9P_Al50i6GocoG6RNks5s--HGgaJpZM4Q66kP.

@showthetrue @aitoraznar @haisham
Unfortunately I just confirmed this is true.
He is taking 30% of the traffic and not 2%.
screenshot-area-2017-12-09-205413
This even happens after buying a license! He is ripping of the community!

This plugin is very evil

@floatinghotpot   you are a thief
lier

@showthetrue @aitoraznar @haisham
Unfortunately I just confirmed this is true.
He is taking 30% of the traffic and not 2%.
screenshot-area-2017-12-09-205413
This even happens after buying a license! He is ripping of the community!

@rodrigograca31 just bought a license via paypal today, and we've sent him the license key and instructions on how to use it. as commercial customer, he will be communicated via email.
@aitoraznar if you are not sure and to get certain about the ad sharing rate, you can debug with your app on android or ios device. but please never use curl or other network tools to sniff or simulate request to the server from pc, especially not with your appid. this may cause some negative impact due to internal ddos design.
Before using this plugin, please read the license agreement, https://github.com/floatinghotpot/cordova-admob-pro/wiki/License-Agreement
Especially this paragraph:

Kindly reminder:
If you are using DFP, please use commercial mode only. Your customer won't be happy to see ad from others.
If you have a high user traffic, please consider to get a license, it will be more cost-effective. Or else you might be unhappy someday.

BTW, initially, the 3rd license option is a compromise for those who don't have paypal account or not allowed in their country, or less user traffic and don't want to spend $20.
We are not only provide code, but also provide service.  see those closed 560 questions and support trackers with our effort and time. If anyone want 100% free code with no support, please use the fully open source code, cordova-plugin-admob, or the admob-free, thanks.

this developer are a thief
he deleted all comment


Clean up: Try / Catch statements returning errors which are mistaken for other objects

Finding errors in here can be really tough sometimes, because of try / catch statements returning errors. The receiving code is expecting this to be the success object and tries to execute functions on the error, leading to really confusing and nonhelpful stacktraces/errors.

Also, try/catch in beforeAll statements keep running subsequent tests instead of halting at the beforeAll. Thinking we might not need these?

Also, try/catch in beforeAll statements keep running subsequent tests instead of halting at the beforeAll. Thinking we might not need to catch beforeAll errors?

I had thought that an error in beforeAll would prevent further tests from happening, but apparently it does not because you might want to test what happens if that stuff fails. We'll need to rewrite the structure of the tests if we want that behavior.

Bailing on the first test failure is what will happen in Mocha and Jasmine, but it does not function the same in Jest. https://github.com/facebook/jest/issues/2867

ok. I noticed if you take out some (of the non-test) try/catch statements, errors can hang for up to 30 seconds, which is annoying. I think the quickest fix is to at least console.log errors so the actual error will come up in the terminal

Yeah that sounds good. Wherever there is an async function, catching and logging the error at minimum is usually the best to prevent long hangs.

fix merged!!!!! ---^


Change user's secret

How can I change the admin password or another user password after registering?

up.


build crossplane multilayer vpc component

In order to achieve the IDP journey, we need a composition for building a VPC that is flexible enough to match individual customer use cases without requiring additional development on a case by case basis

Can create up to 200 subnets split across 3 availability zones, defined as a SubnetSet
Multiple SubnetSets to be created (a subnet group consists of 3 subnets, 3 route tables and associations between the two)
Multiple VPCs can optionally be peered to either private subnets only, or both public and private subnets (I don't have an option here for public only peering)
AWS allows up to 125 peering connections per VPC.
The capability of only building public, private or both public and private subnets
Dynamically working out subnet sizes from the VPC CIDR - no more having to specify lists of CIDRs as part of a VPC claim
Can add additional VPC CIDRs and allocate those into public and private subnets
Will build an internet gateway and 3 NAT gateways in the first public subnetset found - if no public subnets are found, the IGW and NATGWs will not be built

https://github.com/giantswarm/crossplane-gs-apis/blob/main/crossplane.giantswarm.io/xnetworks/docs/peeredvpc.md


🚀 Feature Request: --local should highlight the existence of --persist-to

Describe the solution
It's not obvious that you can specify the folder wrangler persists data to - customers often ask about this in multi-worker setups.

Could be a nice simple message when --persist is there.

Storing state at . To configure this use --persist-to

@Skye-31


Vertex AI: Missing module 'google'

Issue
Hello!
Just a small thing, using Aider v0.60.1 with Vertex AI, the authentication fails:
litellm.APIConnectionError: No module named 'google'
Traceback (most recent call last):
  File "/home/jasmin/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/litellm/main.py", line 2171, in
completion
    model_response = vertex_chat_completion.completion(  # type: ignore
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/jasmin/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/litellm/llms/vertex_ai_and_google_ai_stu
dio/gemini/vertex_and_google_ai_studio_gemini.py", line 1325, in completion
    _auth_header, vertex_project = self._ensure_access_token(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/jasmin/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/litellm/llms/vertex_ai_and_google_ai_stu
dio/vertex_llm_base.py", line 137, in _ensure_access_token
    self._credentials, cred_project_id = self.load_auth(
                                         ^^^^^^^^^^^^^^^
  File
"/home/jasmin/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/litellm/llms/vertex_ai_and_google_ai_stu
dio/vertex_llm_base.py", line 45, in load_auth
    import google.auth as google_auth
ModuleNotFoundError: No module named 'google'

As you can see, I am using a pipx installation.
As a workaround, I can use pipx inject aider-chat google-auth for now.
Maybe it would be better to add google-auth as a dependency.
Thank you!
Version and model info
Aider v0.60.1, Model: any Vertex AI

Thanks for trying aider and filing this issue.
It's a big dependency, so aider leaves it the user to install if they use vertex.

I see, no worries then, thank you!


Sharejs.org Demo Site Not Live

There are a few places in the README where you link to http://sharejs.org. The website is not active and is not throwing any error pages.

He took it down on purpose. This is not an issue with the library.

FYI, #395

It seems it was intentional.

I took sharejs.org down the other day and I felt good about it - I felt like the site was lying. (And it was still running 0.5 if you can believe it.)


Command line application runs from Visual Studio, but fails to run from PowerShell

I have been working on a command line C++ application that connects with Bluetooth Low Energy devices.
While the application works when I push the "Play" button in Visual Studio, when I try running the generated .exe file from PowerShell, it fails silently.
I recall that at some point I managed to run it from PowerShell successfully.
I also tried running it from the Command Prompt, but this only causes two pop-ups to appear, informing that the code cannot be run, because the objects MSVCP140D_APP.dll and VCRUNTIME140D_APP.dll could not be found.
Is there anything I could do to make the console app actually run from console? (Perferably from the Command Line prompt, but Powershell could also be acceptable)

Hi @panicz - I'm not sure of the answer to your question. I would recommend posting your question / issue over in the PowerShell docs repo: https://github.com/MicrosoftDocs/PowerShell-Docs/issues
Closing as I don't believe anyone on this team will have a good answer for you.


removing float bubble

how can id disable bubble float of range bar? i just want sometimes to use without float bubble

If you want to disable bubble set .setPinRadius() to 0.

Thanks

This should be in the docs (maybe extract that to a method setBubbleEnable()?)


ffmpeg-full: 4.1 -> 4.1.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ffmpeg-full/versions.
meta.description for ffmpeg-full is: '"A complete, cross-platform solution to record, convert and stream audio and video"'.

Checks done (click to expand)

built on NixOS
/nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1/bin/ffmpeg passed the binary check.
/nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1/bin/ffplay passed the binary check.
/nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1/bin/ffprobe passed the binary check.
/nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1/bin/qt-faststart passed the binary check.
4 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 4.1.1 with grep in /nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1
directory tree listing: https://gist.github.com/2d61bef2e6b4198885b9d37934dcb817
du listing: https://gist.github.com/62279129477143bf413eb18040f371c2

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

27 total rebuild path(s)
7 package rebuild(s)
7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
ffmpeg-full
handbrake
hydron
liquidsoap
meguca
python27Packages.pydub
python37Packages.pydub

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1
ls -la /nix/store/p2n1ai7vq20lccvnn5lbdqijzhl838ix-ffmpeg-full-4.1.1/bin

cc @codyopel @fuuzetsu for testing.

whoops looks like I missed this when bumping ffmpeg_4, which for whatever reason is an entirely separate expression :laughing: (#55603).  Thanks update-o-matic!


ea_solve should respect hard bounds

ea_solve() takes a bounds parameter, but it currently only uses it to define the bounds of the initial population.
This violates the "principle of least surprise," since it's natural for a user to assume that "bounds" are respected throughout the optimization process.

This should be toggelable behavior since sometimes it's desirable to allow individuals to wander off the reservation.  But, yes, the default should be to respect the bounds.

Done—there's now a hard_bounds Boolean parameter on ea_solve() which defaults to True.

Amazing, thank you very much!


Ongoing kubernetes operator development

Add convenience targets to aid local dev/test (and document)
Switches back to use of 'deployment' for egeria cluster
removes persistent storage
egeria servers must use a non-local storage backend ie for Crux
enhances metadata labels for k8s objects
matching now uses all labels for service selection (inbound service -> pods running egeria)

Still to do (Work in progress - initial development)

configure list of servers / autostart
see further entries with 'TODO'

(merging to integrate updates required by published docs)
Will open a new PR to continue


automated CI builds

We should add CI to automatically build Linux and MacOS binaries for Git tags.

Hi @kklash!
Do we only need to build the binary or release it as well?

We'll set up one pipeline to automate builds and another for releases so users can download binaries as per their systems.
Are you okay with this?

That sounds great! Thanks
-------- Original Message --------
On Apr 12, 2023, 23:48, Anurag Rajawat wrote:

We'll set up one pipeline to automate builds and another for releases so users can download binaries as per their systems.
Are you okay with this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

And do we need to build for Windows as well?

I personally don't have a windows machine to test on. I think we can leave windows out for now, unless it's very easy to add in which case, why not!


Add pre-processing stage for bare d-notation rolls

Add a pre-processing stage for roll inputs to convert d20 to 1d20. This is for feature parity with https://github.com/kreicer/dice-roller-bot, which includes this behavior.

Done in commit 733d71c


[bug] Solution landing zones not inheriting tags from launchpad properly

Describe the bug
Levels 1+ that utilize the caf_solution landing zone do not inherit the launchpad tags. This is critical since the environment tag is not copied over and creates an inconsistent resource tagging result.
To Reproduce
Steps to reproduce the behavior:

Deploy launchpad
Deploy subsequent level using caf_solution landing zone.

Expected behavior
The level1+ deployments should have the same tags as level 0.
Screenshots

Configuration (please complete the following information):

OS version Windows 10
Rover version aztfmod/rover:0.13.6-2103.0304
Version of the landing zone 5.3.0

closing as merged into master


Vertical/Expanded row display

Can I view records vertically with column names along side data?
It's like '\X' flag for `Expanded Display' in psql(PostgreSQL).
I am exploring Sql Server 2008 database

While I eventually intend to build out support for all the psql standard commands, this isn't high on my priority list. I'd welcome a PR for this, however. It would be fairly easy to implement.

fwiw, one of the first questions i thought of when seeing this project was if it supports expanded display

I gave it a shot at https://github.com/xo/tblfmt/pull/8

This is now in master and this issue can be closed.


Confusing docs of LB making unclear how/if TCP SNAT ports are multiused

This paragraph is very confusing:

For TCP connections, the load balancer will use a single SNAT port for every destination IP and port. This multiuse enables multiple connections to the same destination IP with the same SNAT port. This multiuse is limited if the connection isn't to different destination ports.

First sentence reads that for each tuple (destIP, destPort) there's single SNAT port allocated, whatever number of TCP connections/flows/streams is open. I.e. if a backend VM associated with the given SNAT port opens multiple concurrent connections to microsoft.com:443, they will share the same SNAT port. This is, however probably not how LB works (how would LB recognize individual streams and decode them to multiple connections to VM's ephemeral ports?). Also, it is in contradiction with a sentence elsewhere in the article "Every connection to the same destination IP and destination port will use a SNAT port. This connection maintains a distinct traffic flow from the backend instance or client to a server."
Also: the second and the third sentence of the paragraph are confusing, not clear what they say and how they alter what was meant in the first sentence.
Given this, the reader has no clue how/if the SNAT ports are multiused for TCP and under what circumstances the exhaustion may occur.
[Enter feedback here]

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

ID: a96406ce-2ffc-cdb3-1234-5154ccd5cc76
Version Independent ID: f840a092-e1bf-16e2-1916-4270cdfbbcdd
Content: SNAT for outbound connections
Content Source: articles/load-balancer/load-balancer-outbound-connections.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@on-the-ray Thank you for the detailed feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

Assigning to PM for review
#reassign:@erichrt

Hey @on-the-ray  thanks for the feedback. You are right that the example of msft:443 is wrong. I'll fix this today. Also which aspect of the second and third sentence do you feel are confusing?


[WIP] Removed imagePullPolicy and added namespace to local config

Problem:

The imagePullPolicy was preventing the pods from pulling the image from the user's specified repository, causing a ImageNeverPull error.
The generated secret from aws-credentials.env was not able to be accessed by pods in the kuadra-system namespace as the secret was generated in the default namespace, causing a CreateContainerConfig error.

Solution:

Removing imagePullPolicy from config/local/manager_config_patch.yaml , allowing the pods to pull the image from the user's specified repository.
Adding the kuadra-system namespace to config/local/kustomisation.yaml , ensuring the secret is accessible within the kuadra-system namespace for pods which allows the pods to run.

How to reproduce the error (main branch):
# Set up and run the cluster
kind create cluster
make install
IMG=quay.io/<namespace>/kuadra:v1 make docker-build docker-push deploy-local
# Check for imagePullPolicy error
kubectl -n kuadra-system get pods
# Remove imageNeverPull from deployment config
kubectl -n kuadra-system edit deploy kuadra-controller-manager
# Once removed, check for CreateContainerConfig error
kubectl -n kuadra-system get pods
kind delete cluster

How to confirm error is resolved (on deploy-local branch):
# Set up and run the cluster
kind create cluster
make install
IMG=quay.io/<namespace>/kuadra:v1 make docker-build docker-push deploy-local
# Check for imagePullPolicy error
kubectl -n kuadra-system get pods

@dlaw4608 When you get a chance do you want to review this ?

@ehearneRedHat just approved the changes there


dev-es cluster localization

Describe your changes
Localization of "cluster" dev-es
Related issue number or link (ex: resolves #issue-number)
resolves #575
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

/lgtm


support for onShouldStartLoadWithRequest (and optl onNavigationStateChange)

So that links within a webview can be captured and used to e.g. use Linking or window.open (https://github.com/react-native-webview/react-native-webview/issues/966, https://stackoverflow.com/questions/35531679/react-native-open-links-in-browser), it seems we need support for onShouldStartLoadWithRequest, which would be sweet!
If there's another way to get links opening in a new tab then I'd be appreciative of being pointed in the right direction!

nevermind! There is a js inject + onMessage solution: https://stackoverflow.com/a/44607394


Features to improve performance of concurrent Runspaces

This arose from #3008(comment) where the slow performance of opening numerous runspaces that import modules was noted as a barrier to a generally-performant implementation of Invoke-Parallel and parallel ForEach-Object.  From what I can tell, this slow performance is a barrier to generally-performant PowerShell everywhere scriptblocks are invoked concurrently within a process.  One such example is the certificate validation scriptblock in #4970, which (as best I can tell) performs whatever CPU-bound work is necessary to import whatever modules are used for certificate validation each time the http client invokes HttpClientHandler.ServerCertificateCustomValidationCallback.
The root performance limiter
Currently, the performance of an implementation involving concurrent scriptblocks is limited by contention amongst threads importing a common script module in parallel.  That limitation is detailed in #7035.
What is currently possible
Despite #7035, it is possible to achieve some useful concurrency with slow-loading modules using the current Runspace implementation.  In order to achieve this, the following is necessary:

Open each runspace and import the required modules into it in anticipation of its use.  The best performance is (currently) achieved by importing modules into runspaces one runspace at a time because of the contention problems.
Reset and re-use the runspaces with the imported modules.  Note that there are limitations to the degree to which a runspace can be reset, so you should expect some cross-talk between invocations as a result.

I applied this strategy in an experimental implementation of Invoke-Parallel.  The processing of a CPU-bound workload on 8 cores looks like this (click to see the gif):

In this example, Invoke-Parallel is processing 20 items through the same scriptblock, and the scriptblock performs 10 operations on each item. You can see that runspaces are opened one at a time, and used as they become available.  They are re-used as each concurrent Scriptblock invokation completes.  So you get increasing parallelism as each runspace becomes available.
Using this technique to parallelize unit tests on my 16-core computer took 40 seconds to open all the runspaces and reach full parallelism.  This is simply because it takes 40 seconds to import the test framework module and module under test 16 times.
What is not currently possible
As best I can tell, it is currently not possible to open runspaces with imported modules within a single process any faster than single-threaded.  The problem with this is that if there is a demand for many concurrent scriptblocks that use a slow-loading module, the last scriptblock can be waiting in line for a runspace with imported modules for quite a while before it can start to execute.  This occurs easily when you want to invoke in parallel a scriptblock involving a blocking call  and a module that is slow loading.
For example, Suppose you want to run a scriptblock that involves the following:

a module that takes 1 second to import
a 20-second call to Invoke-WebRequest

Suppose you want to invoke that scriptblock 20 times with different parameters.  Ideally this would all take around 20 seconds to complete, but with the current runspace implementation it would take 40 seconds: 20 seconds to import the module for 20 times into the 20 runspaces, and another 20 seconds for that runspace to invoke the 20th call to Invoke-WebRequest.
Runspace features that would support improved performance
It seems like the following features would support improved performance for concurrent scriptblocks:

Relieve the contention that results when multiple threads attempt to import the same module.
Rearrange when and how compilation of script modules occurs such that it is possible to pay the price of compilation as little once per process even when using that module in several runspaces.  It seems like this would involve two different things:
a. Introduce the concept of a compiled-but-not-imported script module.  The idea would be that the compiled script module could be used when Runspace.Open() is invoked such that numerous runspaces could be opened without having to compile the same module again.
b. Establish a supported way of defining multi-file script modules that doesn't involve invoking scriptblocks to gather the files.  By doing so, the compilation of a module could be separated from the invocation of its scriptblock.  Note that per #5942(comment) there currently doesn't seem to be an alternative to dot-sourcing .ps1 files inside the .psm1.
Reduce the cost of producing clones of a runspace with imported script modules.  I think this is what @powercode's suggested Snapshot, ResetToSnapShot, and CloneSnapshot could do.  I suspect that the time it takes to execute a script module's scriptblock on module import is probably non-trivial.  I'm not sure how, exactly, this would work since a module's scriptblock could be constructing any variety of objects that themselves aren't trivially clonable.
Improve the ability to reset Runspaces to their InitialSessionState.  ResetRunspaceState() only resets variables, so there are situations where that precludes Runspace reuse.

I think that (1) alone would be a significant improvement because at least then all the cores could be used for module import instead of just one.

For some history on why things are the way they are:
While we were implementing workflows in version 3, we spent a lot of time looking into runspace creation performance. Unfortunately, after a lot of work runspace creation was still too slow for our purposes. (Remember - every command in a workflow runs in a separate runspace).  A big part of what makes it slow is processing initial session state and then loading any modules. To get "reasonable" performance, we finally went with runspace reuse instead, adding the ability to reset the runspace variables back to their initial state but leaving commands alone otherwise we'd be back where we started. Resetting a runspace is not blindingly fast but it's at least an order of magnitude faster than creating a new runspace.  As far as cross-contamination with commands goes, it's mostly not a problem (item 4 above). Considering that most people run with module autoloading turned on, what's in your runspace at any given time is theoretically random but practically not important (most of the time). If you do really care about a specific (version of a) module, then you can force-load it into your runspace. Of course this incurs a non-trivial cost. By allowing modules to be "cached" in runspaces, you only incur the overhead the first time you use that runspace. Subsequent uses don't have have the overhead of the module load so for an 8-core processor, assuming 1 runspace per core, you'd load the module 8 times. If you're iterating over a 1000 objects, that becomes reasonable. Loading the module 1000 times is probably not. As far as script module contention goes, we compile a script exactly once then cache the results because compiling a script takes time, uses up a lot of memory and creates many, many objects. We cache to minimize this memory use. This is why there is contention - we can't allow the script to be compiled on multiple threads. On the other hand, subsequent imports of a script module don't need to get compiled again, just looked up in the cache which is much faster. (I think this addresses your items 1 and 2 above). Item 3  - cloning the dynamic state of an evaluated scriptblock - that might be possible - deep-clone the contents of the session state scope object at initial module load, cache it then use it to initialize new instances of that module by deep-cloning the clone. It's a bit complicated and I'm not sure how much of a performance win you'd get but it would be interesting to investigate. Item 4 I discussed earlier in this message.

Thank you very much for the background @BrucePay, that has really helped to set my expectations to be consistent with how PowerShell is implemented.

As far as script module contention goes, we compile a script exactly once then cache the results because compiling a script takes time, uses up a lot of memory and creates many, many objects. We cache to minimize this memory use. This is why there is contention - we can't allow the script to be compiled on multiple threads. On the other hand, subsequent imports of a script module don't need to get compiled again, just looked up in the cache which is much faster. (I think this addresses your items 1 and 2 above).

This sounds really ideal.  Now that I have looked for this caching, I can indeed see the speedup from caching for single-threaded import.  For example,
1..2 |
    % {
        Measure-Command {
            [powershell]::Create().AddScript({
                Import-Module Pester
            }).Invoke()
        }
    } |
        % TotalSeconds

outputs
2.981724
0.7399639

This seems consistent with the caching story you described in your last post: The first import took 3 seconds because it had to first compile the module, and the second import took only 0.74 seconds because the cached compiled module was used.
For concurrent importing of modules, however, I'm not seeing the same speedup on subsequent module imports.  For example,
$p = [System.Environment]::ProcessorCount
"Processors: $p"
& {
    @{
        Label = 'first import        '
        Time  = Measure-Command { Import-Module Pester }
    }

    Remove-Module Pester

    @{
        Label = 'second import       '
        Time  = Measure-Command { Import-Module Pester }
    }

    $invocations = 1..$p |
        % {
            $powershell = [powershell]::Create().AddScript({
                Measure-Command {Import-Module Pester}
            })
            [pscustomobject]@{
                PowerShell = $powershell
                Invocation = $powershell.BeginInvoke()
            }
        }

    $invocations |
        % {
            @{
                Label = 'concurrent import'
                Time = $_.PowerShell.EndInvoke($_.Invocation)
            }
        }
} |
    % {
        [pscustomobject]@{
            Label = $_.Label
            Time = $_.Time.TotalSeconds | % {[System.Math]::Round($_,2)}
        }
    }

outputs
Processors: 16

Label                Time
-----                ----
first import         3.01
second import        0.78
concurrent import    3.89
concurrent import    3.92
concurrent import    3.68
concurrent import    3.87
concurrent import     3.9
concurrent import    3.57
concurrent import    3.92
concurrent import    3.89
concurrent import    3.78
concurrent import    3.54
concurrent import    3.86
concurrent import     3.8
concurrent import    3.88
concurrent import    3.84
concurrent import    3.86
concurrent import    3.34

The "second import" was imported when no other thread was importing, and it took only 0.78 seconds.  Then the module was imported into 16 runspaces concurrently.  Each such import took 3 to 4 seconds to complete.
I was expecting the concurrent importing of an already-compiled-and-cached module to take about the same amount of time as such a single-threaded import.  What should I be expecting here?
Sidenote: Importing the uncached module concurrently (by commenting out the first and second import) results in the following:
Processors: 16

Label             Time
-----             ----
concurrent import 8.19
concurrent import  8.2
concurrent import 8.16
concurrent import 8.16
concurrent import 8.14
concurrent import 8.17
concurrent import 8.19
concurrent import 8.17
concurrent import 8.15
concurrent import 8.15
concurrent import 8.16
concurrent import 8.19
concurrent import 8.18
concurrent import 8.14
concurrent import 8.14
concurrent import 8.16

This slow importing seems consistent with the contention during compilation that you described.


Various minor fixes to bootstrap scripts

Updates to the bootstrap script to handle cases where the source or destination directory does not exist or contain spaces. Also, use "bash" explicitly for systems where "sh" is not equivalent to "bash" (probably rare, but they do exist).
Before the Java build the Maven 3.3 from /opt/rh/rh-maven33 must be enabled. If not the build will either fail because no mvn is in $PATH or the wrong Maven version may be used.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

👍  Thanks


Add Open-Source Licence

Hi Ben, further to our discussion just now:
I appreciate that it’s kind of obvious what you intended (for this repo to be Public Domain), but could you please add an open-source licence to the repo to make it explicit?
According to the FAQ:

What happens if I don't choose a license?
You're under no obligation to choose a license. It's your right not to include one with your code or project, but please be aware of the implications. Generally speaking, the absence of a license means that the default copyright laws apply. *This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work.* This might not be what you intend.
Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository within the GitHub site.
If you want others to use, copy, modify, or contribute back to your project, we strongly encourage you to include an open source license.

It’s ambiguous, as it could easily be argued that _forking_ ≡ _derivation (modification), reproduction, and distribution_ even if there may be a legal distinction.
Thanks!

Is adding the LICENSE file all that is needed to your knowledge?


nice license

the license looks nice, so this is not an issue

Thank you for this nice comment. Because it's not an issue, I will close this for now.


Is this project still maintained?

Hey @RobThree, just wondering if you are still maintaining this project.  If we open PRs in the future would you be willing to review/accept them?

Yes it is. But why ask? Just submit PR's; if they're not accepted/reviewed you can always fork?


rate limit all AR API calls

more complete and invasive version of #165
worth noting:

In most cases, a single HTTP request or API call counts as a single request. However, some operations count as multiple requests. For example, a batch request like ImportAptArtifacts might charge quota for each item in the batch. A Docker pull or push usually makes multiple HTTP requests, so quota is charged for each request.

https://cloud.google.com/artifact-registry/quotas

/lgtm

running in https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ar-to-s3-sync/1633710630219288576

worked, but slow. we can increase the client-side rate limit a bit, and look at shipping the optimizations to skip already synced images more.
xref: #153


Cannot read property 'fetchProducts' of undefined

Version of react-native-iap
0.2.17
Expected behavior
Should fetch the products
Actual behavior
Some error: TypeError: Cannot read property 'fetchProducts' of undefined
    at blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:63153:15
    at tryCallTwo (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:1975:5)
    at doResolve (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:2114:13)
    at new Promise (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:1996:3)
    at Object.getItems (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:63147:12)
    at getItems$ (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:63078:51)
    at tryCatch (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:36741:40)
    at Generator.invoke [as _invoke] (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:36929:22)
    at Generator.prototype.(anonymous function) [as next] (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:36766:21)
    at tryCatch (blob:file:///4d72f48f-05d3-412d-8e2f-5d0908f04e54:36741:40)

Steps to reproduce the behavior

Run yarn install react-native-iap
Run yarn link react-native-iap. (I have a cocoapods projects so it adds the following line: pod 'RNIap', :path => '../node_modules/react-native-iap' to my Podfile
Run cd ios, Run pod install
Launch the app

Here is my Pods screenshot from XCode:

@ilyakar  did you fetch the correct product ids that you have set in your iTunes connect?

Check if you set up your products correctly.

Hi. Yes. When I remove the podfile from the ios folder the plugin installs correctly and everything works. But I am using a podfile for other plugins so this isn’t a permanent solution.
Kind regards,
Ilya

On 24 Mar 2018, at 03:25, Hyo Chan Jang<EMAIL_ADDRESS>wrote:
@ilyakar did you fetch the correct product ids that you have set in your iTunes connect?
Check if you set up your products correctly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ilyakar Are you still having trouble? This module shouuld work even if you are in cocoapods project.

Hi @dooboolab Yes, I still cannot get it to work with cocoapods. Am I missing something? Should I install plugins using cocoapods differently than the following?

Run yarn install react-native-iap
Run yarn link react-native-iap. (I have a cocoapods projects so it adds the following line: pod 'RNIap', :path => '../node_modules/react-native-iap' to my Podfile
Run cd ios, Run pod install
Launch the app

@ilyakar  did you tried this:
https://github.com/dooboolab/react-native-iap/issues/14

@ilyakar can you delete pod 'RNIap', :path => '../node_modules/react-native-iap' from your Podfile? It should not be there. I will update this one.

@ilyakar any update?

Thanks for the responses guys! I still didn't get to trying this out as we're focused on the marketing aspects now, but I will and let you know!

0.3.10 seems to work fine for me. I currently deal with plugins by removing my podfile and then installing them, then adding the podfile back. I haven't tested if the newer version solve the podfile problems.


wasi-adapter: Implement provider crate that embeds the adapter binaries [v2]

Follow-up to #8792, which was reverted in #8856. The new design follows @alexcrichton's suggestions in https://github.com/bytecodealliance/wasmtime/pull/8856#issuecomment-2182798604.
The provider repo is materialised into the workspace to ensure that it is built with the same version, lints, etc as the other crates.

[x] repo contains a template for the provider crate
[x] template crate is materialised in CI to be tested
[x] template crate is materialised just before publishing

I absolutely understand your concerns.

I like the idea of downloading the adapter binaries as artifacts rather than rebuilding them as it guarantees they're the same as the published ones. Downloading from the tag though feels like it might be brittle and run a risk of racing with the job that's uploading artifacts per-tag. Could the artifact instead be downloaded with the actions/download-artifact action? Also, could the logic to download this and package it be shared with the per-PR CI too?

That's a good idea! I don't have experience with workflow artefacts yet but I'll see how they work.

Could publish.rs perhaps be leveraged for this? That way delta in logic-on-each PR and logic-on-publish is as small as possible.

That would be one option. Alternatively, we could have a common CI script, which is invoked in the normal CI and during publish, which downloads the artefact and does rustfmt+check+clippy+package checks (skipped during publish, so this would be a codepath that's not exercised during publish)? Then the publish action would call the same script as CI, and only the cargo publish to crates.io would only happen in the publish action.
If cargo publish --dry-run can execute without credentials, we could also run that in CI as well.

Also ideally this could be done with a "dry run" of sorts to ensure that everything actually works once we hit the publication of all this. Would you be up for getting this running on your fork of Wasmtime for example? You'll probably have to comment/tweak some other things to not publish to crates.io for example, though.

I hadn't thought of this, but yes of course! In theory, adding --dry-run into the publish.rs script (and to the provider crate publish step) should be sufficient? Once we have the scripts in a good state, I'll do a run-through.
I hope I can implement your ideas tomorrow and then do a test run on Friday, so there is enough time before the next publish cycle kicks off (if things take longer, we'll just take the next train)

I tried to run the full publish cycle in my own repo but have come across some issues (I'm yet at the stage where I can actually test the adapter):

the publish artefact actions always fail: e.g. https://github.com/juntyr/wasmtime/actions/runs/9695441124/job/26755206220
my latest release attempt failed without any logs at all: https://github.com/juntyr/wasmtime/actions/runs/9695801920/job/26756378300

The tests were run on top of https://github.com/juntyr/wasmtime/pull/10, which includes the extra commit https://github.com/juntyr/wasmtime/pull/10/commits/cbb0a0a074a54781bcccdb2d4cf4ba9e6397fe37 to run the full tests / publish cycle in my repo and without actually executing any cargo publish.
Do you have any ideas? Also, what do you think of the current implementation?

@alexcrichton I've slowly been getting further and further into the try runs and I now have one running that I hope will work.
The extra commit to enable the try is https://github.com/juntyr/wasmtime/pull/19/commits/f1ad3a341bca34957dc543119a8046048269ebe9 - the issue with the artifact action was the wasmtime repo seems to have the artifacts under the hash of the merge commit (maybe because of the merge queue), which I cannot reproduce in my repo, so I just pick a run since it doesn't matter for the try right now.
I'll report back once https://github.com/juntyr/wasmtime/actions/runs/9715657045 (and the follow-up publish action has been completed) - does the implementation look good already or is there anything else that should be changed?

Just using any run id for testing perhaps wasn't such a good idea (I think the workflow should work but right now it chooses a run id without artifacts ... I'll try to see if I can get lucky, otherwise I need a better way to filter the runs so that we can demonstrate that the publish action works)

I feel like GitHub has started to rate limit my repo as the CI action just no longer even starts, without any notice. I'll keep an eye on this tonight, but I'm not sure my test run can do much more tonight, I'm sorry

@alexcrichton I got a full release process run to succeed:

https://github.com/juntyr/wasmtime/pull/22 is the PR which includes this PR and the extra commit https://github.com/juntyr/wasmtime/pull/22/commits/0f9c4516adabc9d65cef0da7d45699a86044f260 to allow CI to run in my repo (and to pick any run id instead of the sha of the merged commit one since that one doesn't work in my repo, my guess is because it doesn't have a merge queue, but we already know it works in the main repo and at the latest this will be caught immediately after merging the PR when the publish artifacts workflow runs)
https://github.com/juntyr/wasmtime/pull/24 is the release cut PR (full CI success in the PR; publish artifact action after merge fails in https://github.com/juntyr/wasmtime/actions/runs/9721774907/job/26834892676 after successfully completing my code, since I don't have GitHub pages set up in my fork)
https://github.com/juntyr/wasmtime/pull/25 is the release latest PR (full CI success in the PR)
https://github.com/juntyr/wasmtime/actions/runs/9722005042 is the full release CI run on the to-be-released branch (all succeed, needed a 2nd run since I forgot to remove the release tag from a previous run and so it succeeded but didn't trigger the following steps in my first attempt)
https://github.com/juntyr/wasmtime/actions/runs/9722304795 is the publish artifacts run on the released branch (all succeed)
https://github.com/juntyr/wasmtime/actions/runs/9722304796 is the publish to crates.io run on the released branch (all succeed, of course this one is modified to only do dry runs)

I hope the implementation and full try-run of the release process are now good to go :)

Is there any chance this PR could still be reviewed before the v23 cutoff?

@juntyr Alex is on vacation this week, so the review will take a bit longer still. I can't really comment on what that'll do to the timing relative to the release, however

@juntyr Alex is on vacation this week, so the review will take a bit longer still. I can't really comment on what that'll do to the timing relative to the release, however

Ok thanks - I hope Alex has a refreshing holiday :) I'll be on holiday myself for the two weeks after that, so perhaps we can finalize and merge the PR in the v24 cycle

@alexcrichton Thank you so much for your guidance and I'm excited to (hopefully) be released with v23 soon :D


Fix using the correct order of the points in the character outline

Sometimes rays were spilling in: the first 2 points (index 0 and 1) returned from operator[] on "closed" polylines are the same point, and this didn't go well together with ofLineSegmentIntersection

thanks for the PR!  makes sense and I will take a look.  It's always surprising and nice to get a PR on an older project :)


phraseapp: 1.6.0 -> 1.11.0

Motivation for this change
simple version bump, but also add phraseapp executable for compatiblity with normal phraseapp installs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build phraseapp-client

Success on x86_64-linux (full log)
Attempted: phraseapp-client
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin
shrinking /nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin/bin/phraseapp-client
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin/bin
patching script interpreter paths in /nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin
checking for references to /build in /nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/i828939ykwqql84ppqqnrf81p1rbnzsm-phraseapp-client-1.11.0-bin

Success on x86_64-darwin (full log)
Attempted: phraseapp-client
Partial log (click to expand)
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
find: '/nix/store/wslw7fy8hzyc42xpgjllr81clrcvrskq-phraseapp-client-1.11.0': No such file or directory
/nix/store/39fc2vr42li0sxk4d0pgfyiw9rxs1rx1-phraseapp-client-1.11.0-bin

Success on aarch64-linux (full log)
Attempted: phraseapp-client
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin
shrinking /nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin/bin/phraseapp-client
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin/bin
patching script interpreter paths in /nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin
checking for references to /build in /nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/gb0h9y4f9lsmz6bq4xm80x3k9dri7lhk-phraseapp-client-1.11.0-bin


TextField cursor moves to end if multiline

Problem description
After you give a multiline TextField focus. The first call to onChange causes the change to be made and the cursor skips to the end of the input.
Steps to reproduce
import React from 'react';
import TextField from 'material-ui/TextField';

export default class TextFieldExampleControlled extends React.Component {

  constructor(props) {
    super(props);

    this.state = {
      value: 'Property Value',
    };
  }

  handleChange = (event) => {
    this.setState({
      value: event.target.value,
    });
  };

  render() {
    return (
      <div>
        <TextField
          id="text-field-controlled"
          value={this.state.value}
          onChange={this.handleChange}
          fullWidth
          multiLine
          rows={10}
        />
      </div>
    );
  }
}

Versions

Material-UI: 0.15.0
React: 15.1.0
Browser: chrome 51

The closest thing I could find in the code is a call to handleInputFocus which may be assuming the cursor should be at the end of the input, or by giving the field focus the browser automatically places the cursor at the end? not sure.

Try
<TextField      autoFocus = {true} />

@jasan-s nope doesn't change the behavior

#4430 seems very related


Revisit how extensions work in Plates

Are they currently too limiting? Is there a better way to do this? For example, would macros (like what Laravel offers) be better here? They could be applied to both the engine and the template object.

The macro approach would look like this:
Template::macro('uppercase', function ($string) {
    return strtoupper($var);
});

Since this closure would be scoped to the actual Template instance, it would have full access to all template variables, which includes the Engine. This gives a lot more flexibility while also keep things way simpler.

@reinink how would they go about invoking the macro in the template?

Another thing to possible consider along with this is...What if extensions worked similar to Symfony Bundles. Symfony is framework of tools wrapped around the HttpKernel, which can register bundles, and the Symfony Framework itself is just another bundle.
So, the engine holds the necessary interfaces for implementing the Plates system, A template renderer, a list of funcs/macros to be used within the template itself, maybe a naming strategy, group of folders and maybe a bit more. But by default, the engine can't do any of those things, and the extensions are used to define all of those specific parts. We'd then have a standard extension which would add/define the ability plates has right now. Then at this point, other extensions can be built to extend any core feature of the plates engine.
Another thing is that it would allow for easier testing/comparisons because you can have to extensions that implement the same feature but in a different way.
I think the smaller we keep the API, the easier the package will be to maintain, but if we can create a design that allows for very powerful extensions, then we can always just add another extension. It would allow some users who don't need a lot of features to have a slimmed down Templating system, and it would allow some users to have a very complex Templating system.
I have some more ideas on this, but just curious on how you feel about this design goal? No worries if it doesn't sound good to you :), just throwing it out there.

@reinink how would they go about invoking the macro in the template?

Just like any other method on the Template object:
<?=$this->uppercase($title)?>

This is what's so awesome about macros. They give developers the ability to basically monkey patch an existing class without having to extend that class.
Your ideas around creating a bundling system for extensions is very much what I was going for with the existing design of extensions. However, I'm honestly not sure that we need such a sophisticated system. There are only so many things that a template engine needs to do. I think we can actually include many of these things baked in. Then for anything else, devs can easily add this new functionality with macros.
I think what I'll do next is create a "macro" branch to R&D this idea out. That will help us determine if this is a good idea or not. :feelsgood:

Fair enough. So macros would be replacing the Func object correct?

Closing in Favor #171


Unify declaration of links

What
A lot of links across the board don't implement the govuk-link class.
Which in theory is not an issue, but means we're not truly using the
design system and there may be edge cases that Design System covers
where we forget about them. Let's trust our friends from the Design
System team!
Rafal is also going mad with the ":visited" variants of links which
aren't content but more of a navigation function. It appears odd, that
you only ever visit one of say three of the spaces on the list. Adding
the govuk-link--no-visited-state will provide us with the eye-candy
and potentially better navigation around the system, and will make Rafal
happy!
How to review

Sanity check
Make sure the govuk-link--no-visited-state class is added to sensible links and not content 🤔 (assuming you are on the same wave lengths with Rafal)

For the visited case, would it be more sensible (as this is an admin app) to do a CSS override such that any non-external link has the normal colour when visited:
a.govuk-link[href^="http://"]:visited,
a.govuk-link[href^="https://"]:visited {
  color: $govuk-link-colour;
}

I don't think so. I think there will be occasions where I'd like to have the visited state on. For instance:

View our guide on logging in and deploying your first app to GOV.UK PaaS.

Link to documentation like this one would benefit for an individual to think "Oh yeah, I've been here".
What do you think?


is this bot is not for windows?

C:\Users\12345\Downloads\Compressed\omegle-bot-master>npm install
'npm' is not recognized as an internal or external command,
operable program or batch file.

npm stands for "node package manager"
You need to install NodeJS on your Windows for npm to work.


Design and create a application icon

Our current logo is complex and will be blurry when scaling down as an application icon, so we need to create an icon for our demo application.


Updated repository links after move

This updates another set of links.
Executing a grep -r I also got the following entry:
docs/shapleyvalues.html:
ShapleyValues[source]

ShapleyValues(x, fc, r)

However this is a link to shapkit_nbdev (different repo) so I left that one unchanged. However, the repo is inaccessible / does not exist so this link should most certainly be updated.
/cc @ThalesGroup/shapkit-maintainers

Ok I need to update the user name in setting.ini with ThalesGroup as the docs is generated based on this file. Otherwise, it can be erased once again with sgrah-oss.
"shapkit_nbdev" was the previous repo name in gitlab. I will check why it still appears.


[question] How --handle-input can be used from CLI?

I struggle with setting this up, I have such script:
"dev": "concurrently --handle-input \"npm run test -- --watch\" \"npm run build -- -w\" --kill-others-on-fail"

and I want to forward every input to the test script - so I thought it would be as easy to type something and that it would work.
After looking into the source code I see that InputHandler actually listens to data event on the inputStream, but it's never triggered.

I assume you have eventually fixed your issue then?

I actually went different route slightly (havent used concurrently for this). It wasnt working for me because my test script (jest) was running with raw mode stdin and concurrently didnt support that.

@Andarist it seems I hit same issue in very similar environment, can you please provide your solution?
@gustavohenke is there a solution to use concurrently for this usecase?
Many thanks for any advise 🙏🙏🙏

Actually with --raw option it works as expected 😍👍
My final script:
"test:unit": "concurrently --raw --kill-others --handle-input --names test,build \"vitest --environment jsdom\" \"vite build --watch\"",

Thank you @paescuj 🙏

Actually with --raw option it works as expected 😍👍
My final script:
"test:unit": "concurrently --raw --kill-others --handle-input --names test,build \"vitest --environment jsdom\" \"vite build --watch\"",

Thank you @paescuj 🙏

You're welcome! Glad I could help 😃


Update SQL Server MDS document

Docs Build status updates of commit 5f03493:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/master-data-services/install-windows/web-application-requirements-master-data-services.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off


Broken samples that use Apache HTTP client when running DBB 2.0

With the removal of the WebApp server component starting with DBB 2.0, the toolkit also has stopped to package and ship the Apache HTTP Client, impacting the below samples in this repository.

DeployUCDComponentVersion
ArtifactoryHelpers

As a short term workaround, users moving to DBB 2.0 and continue to require the HTTP package, can download the jar file from the internet and provide it to the classpath to groovyz. The classpath needs to be enclosed in quotes (at least on my system).
/usr/lpp/dbb/v2r0/bin/groovyz    \
        -cp "/u/pipeline/http-librararies/*"    \
        /var/dbb/extensions/dbb/Pipeline/PackageBuildOutputs/PackageBuildOutputs.groovy

I would like to encourage the community have a dialogue through this issue on to how to continue with these sample snippets.

JAVA 11 introduced a very similar API, which can be used for the HttpClient and HttpRequest.

Updates got implemented and merged. They updates require DBB 2.0 and JAVA 11.
When you need to use a previous version of these scripts, please obtain a previous release tag.


Add missing LICENSE file

Noticed that we were missing a License file for our sub-repositories

Please also add a README file.

Is this README alright?

Perfect now. Thank you!


MARP-1481 Update dev.yml to refer ci.yml v5

Hi @ivy-rew , I just updated the dev.yml to refer to ci.yml v5.
May I ask which ivyPluginVersion and testerVersion we should use? Or should we just keep the current ivyPluginVersion and testerVersion?
Thanks!

yes sure: 13.1.0-SNAPSHOT is the next available dev train which should be the default defined in these pipelines.
also the engineversion lower range should be set to (12.0.0 ...

Hi @ivy-rew , I have just updated the default versions for ivyPluginVersion, testerVersion, and Divy.engine.version as per your advice. Could you please review them for me?
Many thanks!

a note on the tag. There's no need to create a new 'v6' tag. Just use the existing 'v5' tag, remove it and re-create it pointing to the now improved version after this merge.


drag and drop box, shown very small

The box where the files should be uploaded is shown in a very small size and clearer than it is seen in the examples in the documentation, is this normal? is there any way to make it look bigger? the browser must be at 175% zoom for it to look "normal"

We require the issue template to be filled out on all new issues. The issue template helps us collect all the information we need to address your submission efficiently.
If your issue can be classified as an integration question or a question about specific features of FilePond we ask you kindly to submit it on Stack Overflow.
We will be able to more closely look at your issue once the issue template has been filled out. The issue will be closed until the above is addressed.
Please leave a comment after you've updated the issue.


Make sure test/recipes/30-test_evp_extra.t has set up OPENSSL_ENGINES

Without this change, this test fails on VMS

I converted it to a draft...  I might have a better solution, just gotta test it.

Dropped in favor of #17865


Fixes for <IP_ADDRESS>

Description
Add your description here, if it fixes a particular issue please provide a link to the issue.
Checklist

[ ] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] Any changes are noted in the changelog
[ ] Code is formatted with fourmolu on version <IP_ADDRESS> (which can be run with scripts/fourmolize.sh)
[ ] Self-reviewed the diff

Migrations

[ ] The pr causes a breaking change of type a,b or c
[ ] If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
[ ] Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

Any description as to what these fixes are other than the commit messages?

Any description as to what these fixes are other than the commit messages?

Added description


bug in distinct coount extension load

unable to load distinct count extension .even after adding to extension load list .getting error extension not found

is it added to the right path and is druid correctly configured to load the extension?
https://druid.apache.org/docs/latest/development/extensions.html#loading-extensions


Update sqlite-jdbc to <IP_ADDRESS>

About this PR
📦 Updates org.xerial:sqlite-jdbc from <IP_ADDRESS> to <IP_ADDRESS>
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial", artifactId = "sqlite-jdbc" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.xerial", artifactId = "sqlite-jdbc" }
}]

labels: library-update, commit-count:1

Broken by https://github.com/xerial/sqlite-jdbc/issues/1018

Superseded by #260.


dev.regabi: create dev branch for register ABI implementation

The Go runtime/compiler team would like to continue developing support for the register ABI (#40724) during the code freeze so it can be landed when Go 1.17 opens for development. Hence, we're requesting the creation of a "dev.regabi" branch. It can be branched off of whatever the current "master" is.
/cc @golang/osp-team

Done. dev.regabi is created and currently points to commit 0968d2d599189229145b1000cec55d9df47fbc98.
As a friendly observation, the code freeze is intended to shift focus on completing the Go 1.16 release, but I understand the Go runtime/compiler team will exercise careful judgement when balancing where to spend their time, taking into account any release-blocking issues. Thank you.


Top navigation doesn't indicate in which section you're in

Take a look at the image below. As you can see there is no way of telling in which section you're in. Users might miss checking other sections if they don't realize these are navigation links.

My suggestion is to add a selected state, a line below the current section or a different background, to the current section.

Done, thanks. :+1:


is it wasm ready?

It is Wasm ready! We use it extensively in near-sdk-rs to drive Wasm contracts in NEAR Protocol. borsh-rs even has no-std support (disable all the features and that is it)


Roll Flutter Engine from f310ffd1461a to 2e225eb6bb9f (5 revisions)

https://github.com/flutter/engine/compare/f310ffd1461a...2e225eb6bb9f
2023-02-07<EMAIL_ADDRESS>Manual roll Dart SDK from a507a9057730 to 5c74c8b64dec (9 revisions) (flutter/engine#39462)
2023-02-07<EMAIL_ADDRESS>Override _accessibilityHitTest to fix IOS 16 semantics issues  (flutter/engine#38794)
2023-02-07<EMAIL_ADDRESS>Roll Skia from 87dbc81b421f to bd48f82dcabb (8 revisions) (flutter/engine#39459)
2023-02-07<EMAIL_ADDRESS>Add helpers for updating arm tools in CIPD (flutter/engine#39458)
2023-02-07<EMAIL_ADDRESS>[impeller] ensure full glyphs respect alpha (flutter/engine#39377)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


remove old snapshots

currently, they just pile up.

done in https://github.com/linki/snapshot-controller/commit/57a0a5ed5190e23958c33b5e9f4c37eafde5cc9b


Add nightly deployment action

Add a scheduled action to deploy master nightly to a separate URL https://frzyc.github.io/genshin-optimizer/nightly
Also allows deploying manually
Partially resolves #1060

You can see my testing here:
https://github.com/nguyentvan7/genshin-optimizer/actions/runs/4801922351
And you can see that https://nguyentvan7.github.io/genshin-optimizer/#/characters and https://nguyentvan7.github.io/genshin-optimizer/nightly/#/characters coexist together while on different versions

Closing since eeeqeee has a nightly already set up


Implement parser

Can be done by using hooks (figure out how)
Blocked by cwida/duckdb-pgq#6

No longer blocked by #6


diff_drive_controller code tidy-up + many tests are missing from ROS1

Review the code and feature list of diff_drive_controller from ROS1 and write up a comparison with the current version in ROS2, don't forget about testing either.
Please make sure to highlight messy or inefficient parts in the current ROS2 implementation, there should be a few of those still...
https://github.com/ros-controls/ros_controllers/tree/noetic-devel/diff_drive_controller
https://wiki.ros.org/diff_drive_controller
The ticket then should be extended with either a list of TODOs or a list of additional tickets to address the missing parts.

I just came across you issue as I was looking for a reason why the update function of the diff_drive_controller started by checking whether the controller was activated or not.
After looking at the previous versions of the code, and in particular cross checking with the controller_manager package, it seems to me that this could be an old artifact from the eloquent version of the controller, as in the foxy and galactic version of the controller_manager, the latter checks the controller's state before updating it.
Could this be, by any chance, one of the "messy and inefficient part" of the current code version you're talking about ?


Publishing on pub.dev

Hey, first off, thank you for maintaining this very convenient package and probably the best NoSQL DB available for Dart/Flutter.
I think at the state where this community version is, it could be very beneficial to publish it on pub.dev under the isar_community name (or something else like isar_plus or idk).
I don't really know the internals or the management of this community project, but is there a particular reason why this hasn't been done already ?

Look here to see why (at least back then) it wasn't: https://github.com/isar-community/isar/discussions/59#discussioncomment-9118541

This is something I will do in the next weeks

Thank you for maintaining this great package!!!


getting-started?

How to use, and

what is the dev goal for this project. Are we meant to use this as a lib or do we modify the code directly :)

@gotexis
The goals of this lib:

You can use it as a library and setup like express,
You can install as a package like express.

Features:

The built-in modules are roles, permissions, user-roles, user-permissions. And built-in auth feature + password reset.
MYSQL and MongoDB supported.

Currently working on:

GraphQL subscriptions.
Module Generators
Security things.
Role Middleware.

I'm trying best to launch the initial phase of this library, Expecting it to launch in mid-July.

You can clone the project development branch use this file https://github.com/ilyaskarim/wertik-js/blob/master/examples/demo-server/index.js#L3
node index.js to run the demo server.

I'm open to your suggestions, You can suggest a feature. Here


Copy SVG icons to OAH & R3K apps' static_built paths

#4114 introduced an issue with collectstatic that we couldn't replicate locally. Applications that build their own CSS were now including this relative background-image path in cf-forms, and collectstatic errored when it couldn't find it at that location.
This is probably not the best solution, but it's the quickest solution that isn't a rollback (which would continue to hinder our efforts to get SVG icons live). It simply adds new icon copying tasks to copy the icons to the relative location in the two known applications' static_built directories.
Additions

gulp copy:iconsOAH and gulp copy:iconsR3K and necessary config

Testing
Couldn't figure out how to test this locally (since I couldn't reproduce the original issue), but you can see before and after runs of deploying this branch to DEV4 on: cf.gov-ansible-pipeline on Zusa, builds 999 and 1002.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the development playbook
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[x] Project documentation has been updated
[x] Reviewers requested with the Reviewers tool :arrow_right:

Thanks, @anselmbradford. Updated all subtask names in copy.js to conform to that standard. Merging once Travis passes.


sa: fix build for old systems

On some old systems getaddrinfo() is not available.

On some old systems getaddrinfo() is not available.

Are they supported by us (https://github.com/baresip/re#supported-platforms)? Have you a example? getaddrinfo is already used on some places.

MACHINE = bfin      # this is for uClibc
ARCH    = blackfin  # this is for the kernel
ENDIAN  = little

compiler bfin-linux-uclibc-g++-4.3.5
I will look for POSIX flags.

Compiler errors:
src/sa/sa.c: In function 'sa_addrinfo':
src/sa/sa.c:70: error: storage size of 'hints' isn't known
src/sa/sa.c:75: error: 'AI_V4MAPPED' undeclared (first use in this function)
src/sa/sa.c:75: error: (Each undeclared identifier is reported only once
src/sa/sa.c:75: error: for each function it appears in.)
src/sa/sa.c:75: error: 'AI_ADDRCONFIG' undeclared (first use in this function)
src/sa/sa.c:75: error: 'AI_NUMERICHOST' undeclared (first use in this function)
src/sa/sa.c:77: warning: implicit declaration of function 'getaddrinfo'

Here is the netdb.h of uClinux:
netdb.h.gz
The definitions are there, in the __USE_POSIX block. I have to check how to enable this.

Simply defined __USE_POSIX for not win32 builds like it is done in tcp.c.

Thanks