error: use of undeclared identifier 'SO_DOMAIN'

Getting the following during make on macOS (OS X / Darwin):

/dnsfwd/src/dnsfwd.hpp:137:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dnsfwd/src/server.cpp:48:34: error: use of undeclared identifier 'SO_DOMAIN'
if (getsockopt(fd, SOL_SOCKET, SO_DOMAIN, &domain, &len) != 0) {
^
/dnsfwd/src/server.cpp:60:34: error: use of undeclared identifier 'SO_PROTOCOL'
if (getsockopt(fd, SOL_SOCKET, SO_PROTOCOL, &protocol, &len) != 0) {
^
1 warning and 2 errors generated.
make[2]: *** [CMakeFiles/dnsfwd.dir/src/server.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /dnsfwd/src/service.cpp:24:
/dnsfwd/src/dnsfwd.hpp:137:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Supposedly, SO_DOMAIN is Linux only and SO_PROTOCOL is not defined on OS X and platform-dependent:
https://trac.torproject.org/projects/tor/ticket/13571
http://archives.seul.org/tor/bugs/Oct-2014/msg01489.html
http://tor-dev.torproject.narkive.com/sBOppDHG/torsocks-2-0-0-rc1-release
https://github.com/dgoulet/torsocks/commit/1e4e20b1bbed7d2e3b8b4d60420a746a0615f1af
https://stackoverflow.com/questions/24418930/os-x-getsockopt-no-so-protocol
I realize this is prototype project written on Linux. It would be nice to be able to built and use it on non-Linux BSD-like platforms such OS X, since the project is the implementation of a great concept.

Yes, it would definitely be great to be able to use it on non-Linux systems. This part (SO_DOMAIN, SO_PROTOCOL) is only used for systemd socket activation support anyway so it would make sense to make it a compile-time option.

I disabled the remaining socket-activation bits when the (USE_SYSTEMD) option is off. This should fix the issue. I'll try to get a BSD environment to test if it works successfully now.

Woohoo! It built successfully:

/dnsfwd/src/dnsfwd.hpp:139:7: /dnsfwd/src/dnsfwd.hpp:139:7: warningwarning: : suggest braces suggestaround  bracesinitialization  aroundof  initializationsubobject of  [-Wmissing-braces]subobject
[-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 50%] Building CXX object CMakeFiles/dnsfwd.dir/src/server.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++     -std=c++11 -Wall   -o CMakeFiles/dnsfwd.dir/src/server.cpp.o -c /dnsfwd/src/server.cpp
1 warning generated.
[ 66%] Building CXX object CMakeFiles/dnsfwd.dir/src/service.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++     -std=c++11 -Wall   -o CMakeFiles/dnsfwd.dir/src/service.cpp.o -c /dnsfwd/src/service.cpp
In file included from /dnsfwd/src/server.cpp:24:
/dnsfwd/src/dnsfwd.hpp:139:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 83%] Building CXX object CMakeFiles/dnsfwd.dir/src/config.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++     -std=c++11 -Wall   -o CMakeFiles/dnsfwd.dir/src/config.cpp.o -c /dnsfwd/src/config.cpp
In file included from /dnsfwd/src/service.cpp:24:
/dnsfwd/src/dnsfwd.hpp:139:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
In file included from /dnsfwd/src/config.cpp:39:
/dnsfwd/src/dnsfwd.hpp:139:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
boost::asio::buffer( &network_size_, sizeof(network_size_) ),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dnsfwd/src/config.cpp:104:12: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
return std::move(res);
^
/dnsfwd/src/config.cpp:104:12: note: remove std::move call here
return std::move(res);
^~~~~~~~~~   ~
2 warnings generated.
[100%] Linking CXX executable dnsfwd
/usr/local/Cellar/cmake/3.6.1/bin/cmake -E cmake_link_script CMakeFiles/dnsfwd.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++    -std=c++11 -Wall -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/dnsfwd.dir/src/dnsfwd.cpp.o CMakeFiles/dnsfwd.dir/src/client.cpp.o CMakeFiles/dnsfwd.dir/src/server.cpp.o CMakeFiles/dnsfwd.dir/src/service.cpp.o CMakeFiles/dnsfwd.dir/src/config.cpp.o  -o dnsfwd  -lboost_system -lboost_program_options -lpthread
[100%] Built target dnsfwd
/usr/local/Cellar/cmake/3.6.1/bin/cmake -E cmake_progress_start /dnsfwd/CMakeFiles 0

Then, I recompiled dnsfwd with the optimization technique discussed at https://www.phoronix.com/forums/forum/software/general-linux-open-source/34334-link-time-optimizations-with-gcc-4-8

git clone https://github.com/randomstuff/dnsfwd
cd dnsfwd
cmake .
export CFLAGS='-flto'
export CXXFLAGS="${CFLAGS}"
export LDFLAGS='-O3 -march=native -flto'
make

This results in a dnsfwd binary that's one third the size than the non-optimized one built earlier:
-rwxr-xr-x  1 myuid  staff   304K Oct 31 18:44 ./dnsfwd
-rwxr-xr-x  1 myuid  admin   960K Oct 31 18:34 /usr/local/bin/dnsfwd

I can't seem to figure out how to use dnsfwd, even after looking at config.cpp.
If unbound is left running on localhost at udp port 53, with

sudo dnsfwd --bind-udp <IP_ADDRESS> --connect-tcp <IP_ADDRESS>@53 --logformat human --loglevel 5
I get:
<2>bind: Address already in use

If I move unbound to port 5353, with

sudo dnsfwd --bind-udp <IP_ADDRESS> --connect-tcp <IP_ADDRESS>@5353 --logformat human --loglevel 5
or
sudo dnsfwd --bind-udp localhost --connect-tcp <IP_ADDRESS>@5353 --logformat human --loglevel 5
or
sudo dnsfwd --bind-udp <IP_ADDRESS> --connect-tcp <IP_ADDRESS> --logformat human --loglevel 5

Telnet to localhost port 53 shows all connections refused. I'm not sure if @53 is the right syntax. While dnsfwd is running like the above, port 53 is still available. So it doesn't seem it's running.

OK, the documentation is lacking. I'll add some examples, manpage, examples.
Some examples:
dnsfwd --bind-udp <IP_ADDRESS>:9999 --connect-tcp <IP_ADDRESS>:43
sudo dnsfwd --bind-udp <IP_ADDRESS>:43 --connect-tcp <IP_ADDRESS>:43

Also, be aware that there is currently no code to drop privileges. If you want to listen on port 53, the process will run as root (without socket activation). I added some warning in the README in this regard.

With dnsfwd --bind-udp <IP_ADDRESS>:9999 --connect-tcp <IP_ADDRESS>:53 --logformat human --loglevel 5, I still get telnet: connect to address <IP_ADDRESS>: Connection refused.

You have a(nother) service listening on <IP_ADDRESS>:53?

Yes, currently (and usually) unbound, with

   interface: ::1@53

    interface: <IP_ADDRESS>@53

telnet? which telnet?

As in "telnet <IP_ADDRESS> 9999". Is <IP_ADDRESS> not supposed to respond when listening on UDP port9999?

Yes but telnet does not do UDP. You can test with dig -p 9999 @<IP_ADDRESS> www.wikipedia.org for example.

Got it!
dig +dnssec +short debian.org @localhost -p9999

<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
A 8 2<PHONE_NUMBER>1043848<PHONE_NUMBER>3848 22800 debian.org. zKupw68khUScrvgLbwkk38eWTpFgggSgi4v9p4I+xM4J1obMcMp/3Jaj A5tvZnXFPI6CwrYEvSNI0qKH9keKXgFqAvsFuqqNx6DZCxDSI35pU5iR xs7M/a6wuPKW8vbIx5/MK7mV2Q4ezFmM943T8lyiYmYpZiHD0wJIfmJw JwcbDvvi6aggM1iFUw+ZOwrsoWK8VNzFvK47OoFPWmnoAJeo238S8fOa KxWm1FDQdk0uA6yKCCVK2mUOOYWix2J2

After a while, dnsfwd always shuts down though:

dnsfwd --bind-udp <IP_ADDRESS>:9999 --connect-tcp <IP_ADDRESS>:53
<2>shutdown: Socket is not connected

I can't reproduce this one. Maybe you could open another bug for this.


Format CFBundleShortVersionString to spec

According to Apple:

The release version number is a string composed of three period-separated integers.

This change makes an attempt to pull out a string that is valid for CFBundleShortVersionString from the input, returning the input if no matches are found.
This is a potential fix for #41

Hey @DMcNamara, thanks for the PR! So if I understand correctly, right now if you try to make a pre-release version, RNV will make it fail?
Based on the tests, it looks like it this change will make it return the previous version string when making/bumping a pre-release version. Will this cause problems when trying to release to TestFlight/App Store, or can that be handled by bumping the build number?

In our experience, putting anything in the CFBundleShortVersionString that is not int.int.int causes issues. We version things like 1.2.3-alpha.0, 1.2.3-alpha.1, etc. For all of those pre-release builds we upload to TestFlight with a CFBundleShortVersionString of 1.2.3 and increment the CFBundleVersion. Submitting it to the App Store also works as expected with just bumping the CFBundleVersion.
I'm not an Apple App Development expert by any means, so maybe I'm missing something but we've been using this process for a few months and it's been working.


How to convert rife's onnx model?

I found the converted rife onnx model at https://github.com/styler00dollar/VSGAN-tensorrt-docker/releases, but the onnx model input here is slightly different from the input of Practical-RIFE. It seems that the timestep is integrated into the input. Can you share the code for rife onnx model conversion? I didn't find this code in the project.

I write a new export script every time the architecture changes, which is nearly every rife version. I do some adjustments so I can properly use it with core.trt from mlrt, since that only allows one input.  The first 6 channels are the 2 input images, then it's one channel for timestep and one channel for scale. You can see it in rife_trt.py.
The steps will change depending on the version, but with 4.12 as an example:
class IFBlock(nn.Module):
    def __init__(self, in_planes, c=64):
        ...
    def forward(self, x, flow=None, scale=1):
        try:
            scale = scale.item()
        except:
            pass
        ...

class IFNet(nn.Module):
    def __init__(self):
        ...

    def forward(self, input, fastmode=True, ensemble=False):
        input = torch.clamp(input, 0, 1)
        img0 = input[:, :3]
        img1 = input[:, 3:6]
        timestep = input[:, 6:7][0][0][0][0]
        scale = input[:, 7:8][0][0][0][0]
        scale_list = [8 / scale, 4 / scale, 2 / scale, 1 / scale]
        n, c, h, w = img0.shape
        ph = ((h - 1) // 64 + 1) * 64
        pw = ((w - 1) // 64 + 1) * 64
        padding = (0, pw - w, 0, ph - h)
        img0 = F.pad(img0, padding)
        img1 = F.pad(img1, padding)
        x = torch.cat((img0, img1), 1)
        timestep = (x[:, :1].clone() * 0 + 1) * timestep
        timestep = timestep.float()
        ...
        return merged[3][:, :, :h, :w]

def convert(param, rank=-1):
    if rank == -1:
        return {k.replace("module.", ""): v for k, v in param.items() if "module." in k}
    else:
        return param

model = IFNet()
model.eval()
state_dict = convert(torch.load("flownet.pkl", map_location="cpu"))

model.load_state_dict(state_dict, strict=False)
# torch.save(model.state_dict(), "resaved_rife.pth")

with torch.inference_mode():
    dynamic_axes = {
        "input": {0: "batch_size", 2: "width", 3: "height"},
        "output": {0: "batch_size", 2: "width", 3: "height"},
    }

    torch.onnx.export(
        model.cuda(),
        torch.cat([torch.rand(1, 6, 256, 256), torch.ones(1, 2, 256, 256)], 1).cuda(),
        "rife412_fastTrue_ensembleFalse_op18_clamp.onnx",
        verbose=False,
        opset_version=18,
        input_names=["input"],
        output_names=["output"],
        dynamic_axes=dynamic_axes,
    )

For fp16 you will need further adjustments:

class IFBlock(nn.Module):
    def forward(self, x, flow=None, scale=1):
        ...
        feat = self.conv0(x.half())
        ...

Thank you, I roughly understand the onnx conversion process.

@styler00dollar  Hi my friend,
sorry to bother, can you share the full modified code of RIFE please?
And another question, i see this dummy input for onnx export
 torch.cat([torch.rand(1, 6, 256, 256), torch.ones(1, 2, 256, 256)], 1).cuda()
and when i have to use the onnx model for inference, what are the input. for example:

torch.rand(1, 6, 256, 256) -> should be the 2 images combined with torch.cat ?
and torch.ones(1, 2, 256, 256) -> what is this? is this a fixed value?

https://github.com/styler00dollar/VSGAN-tensorrt-docker/issues/56#issuecomment-1893040276

Hi everyone, sorry to bother again.
once I convert RIFE to onnx, I then have to create the input via numpy for inference:
def concatenate_frames(
        frame_1: numpy_ndarray,
        frame_2: numpy_ndarray,
    ) -> numpy_ndarray:

    height, width = get_image_resolution(frame_1)

    input_images = numpy_concatenate((frame_1, frame_2), axis=2)
    timestep = numpy_ones((height, width, 1))
    scale    = numpy_ones((height, width, 1))
    result = numpy_concatenate((input_images, timestep, scale), axis=2)

is that correct?

The input shape with the onnx code i showed is 1, 8, height, width.

Hi everyone, do you have the source code for onnx conversion that worked? I've been trying to follow the steps for ages and never got it right.


Feature/user favorite post

What was added

Add Get posts of all favorite facilities of user

Related Issues

No issues

Checklist

[x] I have performed unit tests
[x] I have added necessary docs
[x] I have checked for potential bugs & issues

LGTM


Properly bypass PowerShell ExecutionPolicy

Possible fix for https://github.com/flutter/flutter/issues/17646.
@mit-mit Can you verify that this fixes your problem?

This produces a similar, but slightly different, error:
C:\Users\mit>flutter --version
Checking Dart SDK version...
File C:\Users\mit\dev\flutter\bin\internal\update_dart_sdk.ps1 cannot be loaded. The file
C:\Users\mit\dev\flutter\bin\internal\update_dart_sdk.ps1 is not digitally signed. You cannot
run this script on the current system. For more information about running scripts and setting
execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
    + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess
Error: Unable to update Dart SDK. Retrying...

Simply removing the flag seems to work; the upgrade completed as expected
    CALL PowerShell.exe -File "%update_dart_bin%"

That's very odd. Can you open PowerShell and tell me what the output of "Get-ExecutionPolicy" is on your system?

Also: how did you obtain this copy of flutter? Is it a git checkout or one of those download bundles?

That's very odd. Can you open PowerShell and tell me what the output of "Get-ExecutionPolicy" is on your system?

PS C:\Users\mit> Get-ExecutionPolicy
RemoteSigned

I just grabbed fresh SDKs into a temp folder from both git and a bundle. It indeed only repros in the bundle case. I simple extracted the bundle, and then ran flutter channel master and got:
C:\Users\mit\tmp\bundle\flutter>.\bin\flutter channel master
Checking Dart SDK version...
& : File C:\Users\mit\tmp\bundle\flutter\bin\internal\update_dart_sdk.ps1 cannot be loaded. The
file C:\Users\mit\tmp\bundle\flutter\bin\internal\update_dart_sdk.ps1 is not digitally signed.
You cannot run this script on the current system. For more information about running scripts
and setting execution policy, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ & 'C:\Users\mit\tmp\bundle\flutter/bin/internal/update_dart_sdk.ps1'
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
Error: Unable to update Dart SDK. Retrying...

I wonder if it has to do with how zip creates the files when it unpacks them: e.g. some kind of metadata marking it as "downloaded" when zip extracted, but not when git cloned? I know that Macs have a "downloaded from the internet" bit on executable metadata, so Windows might have something similar.

Yeah, windows has one too. I'll look into it today. In theory and according to Microsoft's docs, "executionpolicy bypass" should disable the check...

Simply removing the flag seems to work; the upgrade completed as expected

On my system I get the error message when I REMOVE"-ExecutionPolicy Bypass". With the parameter in place everything works.

@mit-mit I was actually able to reproduce your problem on @bkonyi's Windows machine. The only difference I could find is that he was running an older version of Windows.
Fortunately, I was also able to confirm on his machine that this PR in its latest version fixes the problem.
Background: Windows marks executables downloaded from the web with a special bit and PowerShell by default doesn't allow executing these. In theory and as documented by Microsoft, -ExecutionPolicy Bypass is supposed to make PowerShell not care about that bit, but apparently on older Windows versions PowerShell still does... Luckily, we can easily remove that bit from the PowerShell script, which is what this PR is doing.

I can confirm that the latest fix resolves the issue!


Added "getBlockCount" Webservice

Added webservice that fetches the current total block count of the network from the electraExplorer api.
Useful when node is syncing to show how many block are left to download.

@ivangabriele You added a way to check for highest blockcount among connected peers, so this method isn't interesting for hard wallets, but it's still interesting for light wallets, to see where the block tip is currently at.


AES-XTS block limit.

Limit the number of AES blocks in a data unit to 2^20 or less.
This corresponds to the mandates in IEEE Std 1619-2018 and NIST SP 800-38E.
Note: that this is a change from IEEE Std 1619-2007 which only recommended
this limit.

[ ] documentation is added or updated
[ ] tests are added or updated

Put an explanatory comment.

Put an explanatory comment.

What more detail is required?

All changes addressed except for the explanatory comment, I don't know what more to write.
I added a proper error when this occurs.

Put an explanatory comment.

What more detail is required?

IMHO the comment in crypto/evp/e_aes.c:3523-3528 suffices.
https://github.com/openssl/openssl/blob/4fe43a47265b3a6d0de2db1eec2575af7862f9ae/crypto/evp/e_aes.c#L3523-L3528

Note: I just skimmed NIST SP 800-38E and learned that they call it XTS-AES, not AES-XTS. But since it's just another block cipher mode, I personally prefer choosing the latter name, as you did. The code base also slightly favors it:
$ grep -rnH -e 'XTS.*AES' | wc -l
28
$ grep -rnH -e 'AES.*XTS' | wc -l
36

The standard is the IEEE one, not the NIST one (which refers to the former).  It's behind a paywall unfortunately.

About my "put explanatory comment" feedback:  I am confused by the "*4" term.  The EVP function returns bytes, and I would expect something named "bits" to be calculated via "*8". Does that make sense?
Maybe now the switch to blocksize avoids that issue.

Thanks @richsalz thank makes perfect sense.  I added a comment with each such instance.
I had a double take when I saw the factor of 4 too.

There seems to be crossed PRs, #8625 has the comments.  This one doesn't touch those sections of code.

This enhanced my confusion as to what extra explanatory comment was required.

Merged, thanks all.


Allow auto-play for TV episodes

After one episode finishes we should jump to the next. Maybe also with a button showing up shortly before the end of the current episode.

Fixed by 2ef4f4be42e5855fd581eece6d80478d836b6deb


Eggnog-mapper: make the eggnog data table versionned

Follow-up to #487, trying to fix the versionning of eggnog-mapper.
I feel nervous at touching the data table structure, hope it won't break everything...

Sorry, I forgot this PR, it should be ready for review/merge now :)

Thanks @abretaud!


Payment issue for @cubuspl42

@cubuspl42 can you please comment so I can assign you then pay?
Upwork job is  https://www.upwork.com/jobs/~0150d4cbdcd2e1aadd , can you please accept the job and reply here once you have?
Total pay is $2125 for jobs, from this internal sheet and below
Internal GH is here.
[$250] iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners
Proposal review, due $125
$125
[$250] LHN - LHN disappears upon leaving a public room / back button isn't redirecting to LHN
Partial pay for initial review on PR?
$0
[$250] Group chat - Inconsistency in limitation when adding members via FAB and group details page
Partial for PR review? No issue proposal review.
$0
HIGH: [Reliability] [$250] Stop using reportAction.originalMessage or reportAction.message.text
100% pay for Proposal review and initial PR review
$250
[$250] [Track Tax] Error on Amount and Merchant field after changing tax rate when scanning is ongoing
100% pay for proposal and partial PR review
$250
[$500] [QAB] Add a tooltip to the Quick Action Button if it is being displayed for the first time.
100%
$250
[$500] Wrong message appears when the Expensify site is going down
100%
$500
[$500] Empty state image has too much overlap with message in attachment thread
100%
$500
Grey area
[$500] Android - Taxes - Cursor is placed before the value when reopening saved value
no accepted proposal
$0
[$250] Task - Link in system message is not underlined and no "Copy URL to clipboard" menu for link
Couldn’t easily find linked PR
$0
[$250] Remove NewDistanceRequestPage.js and copy any changes since Nov 27 into IOURequestStepDistance.js
¯_(ツ)_/¯
$0
[HOLD] [$500] [MEDIUM] Smartscan: Receipt thumbnail should show the top of the receipt
Unsure, regression?
$250 (?)
Total: $2125 (?)

👍

Contributor+: @cubuspl42 paid $2,125 via Upwork.
https://www.upwork.com/jobs/~0150d4cbdcd2e1aadd
Job title - Payment issue for @cubuspl42 #41121 - Expensify


Support for higher kinded types with arbitrary type arguments.

Let's assume we offer interfaces up to __n (currently 5, soon 9).
There will be a day when someone would need to create a class with n + x type parameters (x >= 1).
We cannot add new interface infinitely, so there must be a way to cope with this situation.
My take would be that if a class has more that 9 type parameters then the higher kinded interface will only expose the last 9 type parameters, and the first "non hkt" type parameters would need to be backed in the type constructor witness in one of the two following way:

class WildType<A, B, C, D, E, F> imlements __5<µ<A>, B, C, D, E, F> {
    public static final class µ<A> {}
}

class WildType<A, B, C, D, E, F> imlements __5<__<µ, A>, B, C, D, E, F> {
    public static final class µ {}
}

The later encoding is more consistent with the hierarchy and eventually allow to abstract over all type parameters, but the first one may be simpler for types with lots of type parameters.

#2 is fine. You can actually live with just __, the others are just for convenience.
That is you can define public class StateT<S,M,A> implements __<__<__<StateT.µ,S>,M>,A> { ... } and everything will still work out fine.

And (2) is actually more safe. It allows you to define abstraction that can disassemble type parameters all the way. (Like how Category disassembles the last two type parameters)

@clinuxrulz true, but if we allow, eg.
Either<A, B> implements __<__<µ, A>, B> {}

then we must get ride of https://github.com/derive4j/hkt/blob/master/src/main/java/org/derive4j/hkt/__2.java#L11 and friends:
  static <f, A, B> __2<f, A, B> coerce(__<__<f, A>, B> fab) {
    return (__2<f, A, B>) fab;
  }

that would then be unsafe. But maybe we are ok with removing those coerce methods...?

I have to have more of a think about it later. I got to go to work soon. But at the moment I would argue to keep the coerce methods and that they are actually still type safe. Remember that __ is a type level function, and as the same with regular functions you can have curried and uncurried forms (at least as practiced in Java). Also remember __2<f,A,B> inherits <<f,A>,B> .

Sorry. You are correct. It would mean dropping those coerce methods you mentioned. (Class cast exception)

I would vote to drop those coerce methods in __2, __3, etc. But what to see what others think. One place I remember those coerce methods coming handy was arrow transformers, but you don't really need them, you could do without.

Just a thought. If we choose to stop at __5 and go no greater, and document that we will NOT go larger than 5 EVER. then if someone needs 8 they just do __5<__3<h,A,B,C>,D,E,F,G,H> and everything remains type safe. Would just to make sure to have an absolute limit that never goes higher and people can just use the nested case when they do need to go higher.
We could stop at __9 and just document that we will never go larger than __9 EVER, and people can just use the nested style for larger than __9.

@clinuxrulz this is also exactly what I had in mind!
I think we can go to __9 just to make the situation happen very rarely.

For a practical standpoint, even if we don't support arbitrary number of type parameters we should aim to support up to 62 (as it is currently the limit for haskell tuples, cf. https://hackage.haskell.org/package/ghc-prim-<IP_ADDRESS>/docs/src/GHC.Tuple.html#Unit).


[Feature request] Match UI to Windows accent color

It would be cool if Ambie would adapt to the system-wide Windows accent colors setting. It's not that I don't like the yellow-orange elements, but I find the user interface nicer with my custom color.

Working on it!


VEP doesn't work for mouse strains

Fixing an issue that VEP doesn't work for mouse strains ENSWEB-6150
Web form submits species_url but VEP expects production_name when searching VEP cache. Ignoring letter case, species_url and production_name are the same for most species, so VEP is still working for most species. For mouse strains (and possibly some others?), the two values are different, and VEP fails.
Working on sandbox:
http://ves-hx2-75.ebi.ac.uk:9580/Multi/Tools/VEP?db=core

Made a manual merge


MobArena Flags

the flags of statistics do not work
<player.mobarena.stats[Horokan].last_wave>
"Horokan" is the name of my arena
http://mcmonkey.org/paste/30542

I'll take a quick look

I see no reason for this error... The API is very lacking in this area, so I had to make do with what I had.. I'll do some testing.

Seems to be that MobArena sucks.. D: Not a heap I can do here, I can try file an issue with the developer.

thanks for revising

I'm going to close this. If it's still an issue, please respond with an updated error paste


switch to openid connect from access keys in context

Description
OpenID Connect for ui2 portion of the ticket
Follows https://github.com/dockstore/dockstore-deploy/pull/461
Follows conventions in that PR for back-up of environment variables
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-4284
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain

might be running into the same thing as https://github.com/CircleCI-Public/aws-cli-orb/issues/105

confirmed to be fixed in https://github.com/CircleCI-Public/aws-cli-orb/releases 3.1.1

Looks good following the improved pattern. Maybe we should make a ticket to finish up the cleanup after a time as you are suggesting.

https://ucsc-cgl.atlassian.net/browse/SEAB-4354


Make the log output limit of 4mb configurable

Hi Hi
Several Enterprise customers have asked to be able to customize the log output limit from 4mb to 40mb.
Can we please make this limit configurable so customers can choose their own limit.
Thanks a bundle
Josh

The PR looks great. What are the next steps to have this merged and a new worker version released for Enterprise customers to use?

@emdantrim is working on a new release for this @joshk @danishkhan.

I see that the PR was merged. What does the customer need to do on their worker to customize the log output limit?

Looks like setting TRAVIS_WORKER_MAX_LOG_LENGTH will do the trick.
defaultMaxLogLength = 4500000
The setting is measured in bytes, and 4,500,000 bytes is 4.5 MB. So, for 40MB, you'd do something like 40,000,000.
export TRAVIS_WORKER_MAX_LOG_LENGTH=40000000

It didn't work for me. The log length limit is still 4MB. :(

Hi, where to write this line?
export TRAVIS_WORKER_MAX_LOG_LENGTH=40000000

where to set export TRAVIS_WORKER_MAX_LOG_LENGTH=40000000


error in committees/CommitteeAgendaSearch: failed to get meetings for committee 558

This issue was automatically created, please do not modify the title or remove any labels
Unexpected exception received while trying to get meetings of committee 558: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 558: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 558: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 558: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 558: ('Connection aborted.', error(110, 'Connection timed out'))


Source in the repo is outdated

The source in this repo, which is at https://github.com/abergs/tabstospaces/blob/102b6ef40bfaea57a4980d93df62f47ba06aeb70/TabsToSpaces/index.html seems to be outdated. It doesn't contain the selection of tab width and always seems to expand to four tabs. This part, for example, is missing:
<select id="numSpaces">
<option value="1">1 space</option>
<option value="2">2 spaces</option>
<option value="4" selected="selected">4 spaces</option>
</select>

Up-to-date code is in gh-pages branch


Add EPSG:3035

Reference: https://epsg.io/3035
closes #78

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.65%. Comparing base (4b2e8eb) to head (ecb3075).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #229   +/-   ##
=======================================
  Coverage   94.65%   94.65%
=======================================
  Files          33       33
  Lines        1534     1534
=======================================
  Hits         1452     1452
  Misses         82       82

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


No TypeScript types for gatsby-tinacms-json plugin

Description
There are no TypeScript types for gatsby-tinacms-json plugin package
Steps to reproduce

Install gatsby-tinacms-json plugin package
Check gatsby-tinacms-json dir in node_modules

Expected result
Types should present in the directory
Actual result
No types in the directory
Environment
<EMAIL_ADDRESS>

Thanks for the heads up @smashercosmo.
This is fixed in gatsby-tinacms-json@canary

@all-contributors please add @smashercosmo for bugs

Thx


add responses for each command

with decorated responses, like in PAGI

this feature breaking logic fully async applications
for now, I (for example),need function that send Action and not read any anwsers


Added KeyVault and KeyVault implementation

Provided an extra implementation of the certificate using Azure KeyVault in combination with an Azure Function
Category

[x] Content fix

Related issues: fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Added a new section that provided an implementation to use a certificate in combination with an Azure Function together with the Azure KeyVault.
Guidance
Added KeyVault and KeyVault implementation to use with a certificate.

Any update on this PR?

thx @robinmeure, appreciated.


Introduce wasabi context

Closes #68

Add interface for Wasabi Context
Add new configs under this context
Add Default implementation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.58%. Comparing base (05d6c27) to head (6adad7f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   91.31%   91.58%   +0.27%
==========================================
  Files          20       21       +1
  Lines         829      844      +15
==========================================
+ Hits          757      773      +16
+ Misses         53       52       -1
  Partials       19       19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@ksysoev sorry for the delay. This PR is ready for review. I have changed a few things

keep using stdlib context
ensure context is populated with required values at runtime
ensure type safety by adding the config into server constructor


100 Bytes of CSS to look great everywhere

source: devto
devToUrl: "https://dev.to/swyx/100-bytes-of-css-to-look-great-everywhere-19pd"
devToReactions: 319
devToReadingTime: 3
devToPublishedAt: 2021-10-16T21:05:53.602Z
devToViewsCount: 15609
title: 100 Bytes of CSS to look great everywhere
published: true
description: Simple grab and go upgrade to the base user agent stylesheet to make for readable sites
tags: css
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ar002arl80e64kfoxpz.png
slug: css-100-bytes
canonical_url: https://www.swyx.io/css-100-bytes
TL;DR
html {
  max-width: 70ch;
  padding: 3em 1em;
  margin: auto;
  line-height: 1.75;
  font-size: 1.25em;
}

I previously tweeted out an old version of this and accidentally got a line by line code review from 100k people:
{% tweet<PHONE_NUMBER>720601088 %}
This article is the most up to date version with everyone's feedback.
Context
Dan Luu always writes fascinating posts, but the design makes it very painful to read:

A couple years ago, this post on HN was fairly popular, and I saved it on my spark-joy repo, which is a swipe file of design tips I've collected over the past few years.
However, I noticed that the original website link is dead. So I thought I would refresh it with what I have now implemented for Dan's site:

100 bytes of css to look great nearly everywhere
This should be simple drop-in css to look good on most displays:
html {
  max-width: 70ch;
  padding: 3em 1em;
  margin: auto;
  line-height: 1.75;
  font-size: 1.25em;
}

Let's break this down. I've adapted the original text with my own commentary.

max-width: 70ch: the "readable range" is usually 60-80 character widths, and CSS lets you express that directly with the ch unit. I blogged more on line lengths last year.
padding: 3em 1em: If the display's width goes under the max-width set above, then this padding prevents edge-to-edge text on mobile. We use 3em to provide top/bottom whitespace.
margin: auto: This is really all that is needed to center the page - applied on html, because Dan's site doesnt have a semantic <main> tag and <html> is more likely to exist in most sites (no judgment pls, i've heard enough semantic HTML preaching). That the top tag centers itself relative to nothing is unintuitive, but thats how browsers do.
line-height: 1.75: Spacing between the lines to help increase visual clarity. Always leave line height unitless because reasons.
font-size: 1.5em: I've noticed that recent design trends and screen sizes have tended toward bigger font sizes. Or maybe I'm getting old. Prefer em or rem over px if you want to let users scale it.

Tushar points out that you can use :root instead of <html> to guarantee that there is some selector present, but its a touch too fancy for me and uses an extra character :)
Optional 100 more bytes
If you can spare a few extra bytes of CSS, I'd also recommend margins for headers, paragraphs, and lists, and softening body text:
h1,h2,h3,h4,h5,h6 {
  margin: 3em 0 1em;
}

p,ul,ol {
  margin-bottom: 2em;
  color: #1d1d1d;
  font-family: sans-serif;
}

Applying Styles on Pages You Don't Control

You can auto apply these styles on to pages with https://github.com/ankit/stylebot. I can't vouch for their security as I only just started using it.
WaterCSS is a bookmarklet or extension or script with some nice presets: https://watercss.kognise.dev/
SakuraCSS is a bookmarklet that does the same https://oxal.org/projects/sakura/bookmark/

You may check this out: This Website Uses Only 109 Bytes Of CSS & Looks Great On All Devices


go_router navigation issue with redirect + context.push + MediaQuery.of(context)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Within go_router's redirect callback make a call to MediaQuery.of(context). You don't have to do anything with it, just that line being present is enough.
Use context.push within the app, with either a subroute or a top-level route.
Resize the screen by any amount.

Expected results
Resizing the screen should have no effect. If the pushed route has an app bar with implied leading, a back arrow should be present even if the pushed route is a top-level route.
Actual results
Resizing the window by any amount causes the pushed route to behave as if context.go had just been called on that route, including running the transition animation and the absence of the back button in the case of a top-level route.
Removing MediaQuery.of(context) from the redirect callback restores expected behavior.
context.go works as expected.
Code sample
The bug is present in this minimal example. Note that the choppy nature of DartPad may obscure the transition animation.
https://dartpad.dev/?id=b7e72c4a07e960a49958172b0096e6b8
Screenshots or Video
No response
Logs
Although the bug has the appearance and side effects of being as if context.go had been called, the logs do not reflect that.
Logs
[GoRouter] Full paths for routes:
             => /
             =>   /subroute
             => /sibling
[GoRouter] setting initial location /
[GoRouter] Using MaterialApp configuration
[GoRouter] pushing /sibling
** Replicated the bug here, but nothing appeared in the logs **

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.3.1 22E772610a darwin-arm64, locale en-TW)
    • Flutter version 3.10.0 on channel stable at /Users/chris/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (7 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/chris/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.3.1 22E772610a darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report. I also can reproduce this issue on the latest package version go_router: ^7.0.1.
Copying sample code from dartpad to here (also add debugLogDiagnostics flag to print out routes):

Sample code
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

void main() => runApp(const MainApp());

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(context) => MaterialApp.router(routerConfig: router);
}

final router = GoRouter(
  debugLogDiagnostics: true,
  redirect: (context, state) {
    MediaQuery.of(context); // <-- The presense of this causes the bug.
    return null;
  },
  initialLocation: '/',
  routes: [
    GoRoute(
      path: '/',
      builder: (context, state) => const Home(),
      routes: [
        GoRoute(
          path: 'subroute',
          builder: (context, state) => const SubRoute(),
        ),
      ],
    ),
    GoRoute(
      path: '/sibling',
      builder: (context, state) => const SiblingRoute(),
    ),
  ],
);

class Home extends StatelessWidget {
  const Home({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home')),
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          const Text('context.go works as intended.'),
          ElevatedButton(
            onPressed: () => context.go('/subroute'),
            child: const Text('context.go /subroute'),
          ),
          ElevatedButton(
            onPressed: () => context.go('/sibling'),
            child: const Text('context.go /sibling'),
          ),
          const Text('context.push reveals a bug when changing screen size'),
          ElevatedButton(
            onPressed: () => context.push('/subroute'),
            style: ElevatedButton.styleFrom(backgroundColor: Colors.red),
            child: const Text('context.push /subroute'),
          ),
          ElevatedButton(
            onPressed: () => context.push('/sibling'),
            style: ElevatedButton.styleFrom(backgroundColor: Colors.red),
            child: const Text('context.push /sibling'),
          )
        ],
      ),
    );
  }
}

class SiblingRoute extends StatelessWidget {
  const SiblingRoute({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Sibling Route')),
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          ElevatedButton(
            onPressed: context.pop,
            child: const Text('context.pop'),
          ),
          ElevatedButton(
            onPressed: () => context.go('/'),
            child: const Text('context.go /'),
          ),
        ],
      ),
    );
  }
}

class SubRoute extends StatelessWidget {
  const SubRoute({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Sub Route')),
    );
  }
}

Demo video
https://github.com/flutter/flutter/assets/104349824/ae5fa5a8-097d-4a4a-9af5-51713c4da086

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (35 hours ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-6.0.pre.85, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-6.0.pre.85 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2919572fb3 (71 minutes ago), 2023-05-15 19:01:28 -0700
    • Engine revision c4d4b40c65
    • Dart version 3.1.0 (build 3.1.0-113.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This is a bug is due to the routeinformationprovider sends a refresh on with the pushed route.

This should be fixed above v8.0.0


webook call fail

when i am adding link to webhook call in dialog flow  with /webhook ... still its not showing me weather

need fix soon
thank you @xVir @jsonMartin @ialimustafa @wpcarro @artemgoncharuk

I deployed it a day before and it works fine.
Is the Action name same ?

yes action name is same

it would be cool if you help me regarding  this
@ialimustafa

Fast forward checks:

Check if webhook is enabled in response. (Refer the image below)
Check "Define Prompts " and add sentences like "Enter City Name"

Response see this

Refer this as well

YEAH done but still @ialimustafa

don't know why its not working after doing every thing @ialimustafa

Hm... Could you please post server logs here

https://wwwwbot.herokuapp.com/
here it is @ialimustafa

everything is right need to change the python version maybe let me try it and revert back

Try with this URL:
https://web-api-ai.herokuapp.com/webhook
It's working with a new update (Change in Version Number)
(Please deploy on your own server when deploying in Production as I will delete this as soon as the admin merges the pull)

yeah its working thanks so much........how can i doploy the working webhook ..i need updated files @ialimustafa

thanks man it's working 100%

thanks man it's working 100%

Please Close the issue


studio: feat - separate out mask and palette subtheme sections

separate Palette and Mask subthemes in SubThemesStep
can probably make some sort of SectionTitle component with the common styling?

sorry for wierd merge


Add feed title to itemview-title-format

This adds the formatting option %F to itemview-title-format which allows for displaying the feed title in the header of the article view.

Beautiful, thank you!


Update dependencies to latest versions

First time doing an electron app so hopefully I got this right...

Fix deprecation warnings
Fixed error when selectionText was undefined
Fixed webview not filling window height

I'm not sure why the linter on Windows is producing different results than the one on Linux 🤔

Builds are whack


feat(table): add quick search capability

Summary

Use options.hasSearch to enable a simple quick search in both the presentation layer and stateful table layer

Change List (commits, features, bugs, etc)

feat(tableReducer): add new action and reducer for simple search
feat(Table): Add simple search

Related Issues

Closes IBM/carbon-addons-iot-react#52

Acceptance Test (how to verify the PR)

Test the new quick search box in the Stateful Table story

Looks good to me 👍 should we make the stateful example render the table cells in such a way that highlights the portion of the content that matched the query?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Add backoff to Logging::Service#delete_sink

I encountered the error below while trying to delete a Sink. @blowmage observed that #delete_sink was the only Service API operation missing the backoff block. This PR adds it.
irb(main):010:0> sink.delete
D0316 16:23:51.687952000<PHONE_NUMBER>99072 chttp2_transport.c:683] got goaway [0]: 73 65 73 73 69 6f 6e 5f 74 69 6d 65 64 5f 6f 75 74 'session_timed_out'
Gcloud::UnavailableError: 14:
	from /Users/quartzmo/code/google/codez/gcloud-ruby/lib/gcloud/logging/sink.rb:194:in `rescue in delete'
	from /Users/quartzmo/code/google/codez/gcloud-ruby/lib/gcloud/logging/sink.rb:190:in `delete'

Great catch!


Having trouble displaying a default value for a Select Field

I am trying to display a default value inside the Select box, but when I load the form, the value attribute for the input tag that is generated in the real DOM is empty. The dropdown is just blank, even though there is a value being passed to the component.
When the form loads, the sensorType?.sensor_type_id value is populated (it's stored in state). However, the Select field shows nothing, even though the values object does have a value stored.
Here's the code I'm working with:
<Field
  component={Select}
  name="sensor_type_id"
  value={sensorType?.sensor_type_id}
  variant="outlined"
  inputProps={{
    id: 'sensor-type',
  }}
  required
  fullWidth={true}
  InputLabelProps={{shrink: true}}
>
  {sensorTypesList.map((type) => (
    <MenuItem key={type.sensor_type_id} value={type.sensor_type_id}>
      {type.sensor_type_desc}
    </MenuItem>
  ))}
</Field>

Any solutions for this issue?

I just tested this in the codesandbox
Setting the initialValue works as expected


Previous command deletes user current input

Fix #257

May I know what is the bug being fixed in this PR? Remember we were discussing during the meeting about some command history "bug" that we decided is just a difference in interpretation of the way it works. Is this related to that, or is this a different bug?

I thought about it and what the tester has raised is reasonable.
I originally wanted to implement it that way instead of following how its implemented on zsh.
So now the user will be able to 'scroll' through all the inputs they have typed even though it is not executed yet.


compiler error with scalar initial state variable value

when error occurs:
in solve fn under % STATE_VARIABLES:, when variable_last = scalar instead of variable_last = vector, with vector length of population, compiler throws out error: ??? Dimension 2 is fixed on the left-hand side but varies on the right ([1 x 1] ~= [1 x :?]).
solution in dsParseModelEquations.m:
when scalar detected via ~isnan(str2double(expression)), multiply scalar by ones(1, Npop) by appending to expression string.

remaining problem:
when not a scalar string, but still evaluates to a scalar
possible solution:
always multiply by ones(1, Npop)

@jsherfey do you think it would be okay to always multiply starting condition by ones(1, Npop)?

170e8c6


Font subsetting excludes the substitution and ligature glyphs

The current font subsetting algorithm works by selecting the glyphs corresponding to given characters and removing everything else. This removes all the substitution and ligature glyphs as well. For Indic scripts (and potentially for other scripts), this leaves the font unusable.
The correct way would be to pull in for every character, all the substitution glyphs and all ligature glyphs. Out of many font subsetting python scripts I found online, only the one included in fonttools works correctly: https://github.com/behdad/fonttools/blob/master/Lib/fontTools/subset.py

Thank you for pointing this out.  It is a pretty serious problem indeed.
If I remember correctly, I gave a thought on this some time ago, and the conclusion was that the fontforge lib did not provide an easy way to extract subs and ligaturates. But this might have changed in recent fontforge lib release, I need to recheck this.
Someone else pointed me to the TTX lib, but also fonttools seems pretty interesting. I will see if switching to one of these will do the job.

That is true. Fontforge library doesn't make it straightforward. It will need a 2 pass process: Go through all the glyphs and using the getPosSub method, collect all the ligatures and substitutions recursively (some of the substitutions themselves might be composed of further glyphs). A union of all the glyphs encountered in this expansion is the set that you want to keep. In the second pass, you can remove rest of them.
I have some code written that does it but I did it on top of another subsetting script I found. If I find time, I will port it to glyphigo and send a pull request. In any case, thanks for the useful library. I'm also dealing with fonts in context of e-books.

@abhaga I am studying your https://github.com/behdad/fonttools , which is extremely nice piece of work, well done!
On PyPI I found https://pypi.python.org/pypi/FontTools . From the metadata, I guess it is the old code from SourceForge (which does not contain subset.py). Are you planning to release the code in your current GitHub repo on PyPI? If so, I will switch glyphIgo from fontforge to it, requiring fonttools as a dependency. If not, might I include your subset.py in glyphIgo, with the due ack in the README?

:)

I asked behdad to update the fonttools package in PyPI, so that it can be used instead of fontforge here. See https://github.com/behdad/fonttools/issues/140#issuecomment-109742193

While waiting for a reply there ( https://github.com/behdad/fonttools/issues/140#issuecomment-109742193 ), I made a test by "adapting" glyphIgo to use subset.py from fonttools, and it seems to work well. As soon as it goes on PyPI, I will switch to it in glyphIgo.

Hi folks!
Would this have any effect on not being able to extract small capitals from a font file?
If I add the following to list.txt and run the subset command, the Capitals, and lowercase come out, but the small-caps do not:
Aᴀa
Bʙb
Cᴄc

I am planning to update glyphIgo to use the shiny new fonttools next week or the following one. While doing that, I will think about this issue. Thank you for reporting it.

Just for reference, in case someone needs this feature, https://github.com/filamentgroup/glyphhanger seems to keep ligatures (I did not verify if other advance font features too).


Adding Disjoint set union (UNION FIND) implementation.

Submission Title
Disjoint Set Union
Submission Type
Data Structure
Submission Description
Describe the DS
Submission Directory
Main_Folder => Data_Structures => Union Find => dsu_implementation.cpp
Language

[x]  C++
[ ]  C
[ ]  Python
[ ] Java
[ ] C#
[ ] JavaScript

Please assign me this issue.

Please assign me this issue.

Please assign me this issue.

@khushbooSingh99 assigned for C++

Can i work with JavaScript? @krishrahul98

@khushbooSingh99  can you please assign it to me in Javascript, thankyou

Hey, @amintai. I am assigning you the implementation in JavaScript.


Help needed

I need help setting up quasar if im being honest I have no fucking clue how to set it to work over the place yk just lmk

yes I do know that there is, but how do I get it to work on different pc's that are not near me yk

Did you try finding a video on YouTube? The visual may help avoid misunderstandings. I know there was several tuts a few years ago.
yes I do know that there is, but how do I get it to work on different pc's that are not near me yk

You'll need to explain what you have tried and how it has failed in as much detail as possible. We also have a search function here where this topic has been answered and solved, you'll find a faster solution using our search function.


call out that /img/favicon.png must be added

Users who start with Create React Native App will not have an img folder or favicon.png in their app folder structure. These users may not immediately understand how to overcome the error that they will get. Added text clarifies that an image file is needed.

(Write your motivation here.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Can we instead change the example to use the full URL for the website's favicon? That way, it will work within the Snack player, as well as locally.

I don't really know what some of the things you said mean.- rebase and context?
So, I will say that I think adding the full URL  or changing the readme will work.


chore delete palo_be soft link

Proposed changes
Issue Number: close #xxx
Since the bin that started be no longer supports palo_be after several versions of updates, the palo_be soft link in the build script is deleted.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Edit chaos collector database deployment to allow Affinity and Tolerations

What problem does this PR solve?
The chaos collector database don't use affinity and tolerations dashboard variables defined in values.yaml
What is changed and how does it work?
Being able to use the affinity and tolerations for Chaos collector database based on dashboard values in values.yaml
Does this PR introduce a user-facing change?:
Allow users to configure affinity and tolerations for Chaos Collector database

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@18c33e5). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #316   +/-   ##
=========================================
  Coverage          ?   60.62%
=========================================
  Files             ?       40
  Lines             ?     2494
  Branches          ?        0
=========================================
  Hits              ?     1512
  Misses            ?      882
  Partials          ?      100

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18c33e5...9cd8bdb. Read the comment docs.

@tfulcrand Thanks for your contribution, please sign CLA first.

@tfulcrand Thank you for your contribution, could you please sign CLA

/test

@yeya24 PTAL

/merge


Remove example artifact on Gauntlet

I'd prefer we avoid adding static artifacts like this and actually add an example contract, compile it and use it.
I assume the idea is this will at one point get extracted to a template repo?
Originally posted by @krebernisak in https://github.com/smartcontractkit/chainlink-starknet/pull/2#discussion_r876232447

Hello! I'm really happy to help you for this issue. If you want to remove an example artifact on Gauntlet in StarkNet, identify the artifact, access the Gauntlet interface, select the artifact using a relevant command, and proceed to remove or delete it, confirming the action as needed. If this Has helped you or if you need more help, don't be shy, I' ll try to do my best ;)


nginx listen address isn't configureable

From @mmzyk in chef/opscode-omnibus#478:

This should be a configureable option.
The request was originally made against the omnibus-chef-server repo chef/omnibus-chef-server#94

Closing since it have been inactive for a while. Please reopen if the issue causes pain.


calc: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/calc/versions.
meta.description for calc is: "C-style arbitrary precision calculator"
meta.homepage for calc is: "http://www.isthe.com/chongo/tech/comp/calc/"
meta.changelog for calc is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found <IP_ADDRESS> with grep in /nix/store/clip83gpjhcqvz9qvlw894bq37r8ji3a-calc-<IP_ADDRESS>

directory tree listing: https://gist.github.com/d68f0852da844e4263272e7952466740

du listing: https://gist.github.com/d36439208677341605f0c8c082ede08a

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
calc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/clip83gpjhcqvz9qvlw894bq37r8ji3a-calc-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A calc https://github.com/r-ryantm/nixpkgs/archive/0b2df6273297721e1c7f68666b545023f280cab2.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/clip83gpjhcqvz9qvlw894bq37r8ji3a-calc-<IP_ADDRESS>
ls -la /nix/store/clip83gpjhcqvz9qvlw894bq37r8ji3a-calc-<IP_ADDRESS>/bin

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

1 package built:

calc

Maintainer pings
cc @matthewbauer for testing.

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

1 package built:

calc

Result of nixpkgs-review pr 113890 at 0b2df627 run on aarch64-linux 1

1 package built:

calc

2 suggestions:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/applications/science/math/calc/default.nix:16:3:
   |
16 |   patchPhase = ''
   |   ^

warning: unclear-gpl
lgpl21 is a deprecated license, check if project uses lgpl21Plus or lgpl21Only and change meta.license accordingly.
Near pkgs/applications/science/math/calc/default.nix:44:5:
   |
44 |     license = licenses.lgpl21;
   |     ^


remove broken css link

This link should be dead - there is no such file in Swarm_files.
However this is a bug on Swarm - if you try to fetch it, Swarm returns content, which must be wrong.

The bug is our magical manifest undermatch functionality. Maybe we should just amend it to point to Swarm_files/css.css ? That should be the content that swarm is returning.

This was fixed in https://github.com/ethersphere/swarm-home/blob/ce971d4db1491750704b3a8fbf41c7e4f053d254/index.html#L45

@skylenet I didn't notice we had css.css. Thanks!


minor midi topics

midi_device.event = function(data)
local d = midi.to_msg(data)
if d.type == 'note_on' then
transpose = d.note - 60
end
end

I don't think we need this section anymore (Actually I don't think we ever did). It looks for a root note as midi input and then transposes everything accordingly.
I know you suggested adding a separate device for each track. I'm not sure I know that would work yet. And currently the MIDI channel is just assigned by track number (e.g. Track 1 = Channel 1, Track 2 = Channel 2, etc.). So until we implement something more complicated, should we comment out midi out device and midi out channel from the parameter menu? Right now, they don't do anything.

I commented out both these sections and nothing changed, so I'll make this change.

yeah that's right. your change starts the sequence on step 2, not step 1. You could argue that it doesn't matter, because all the steps are empty to start with, but I find that as inelegant as the original fix (starting on 16).
How about my other idea? We start with a variable that is one to start, but goes to zero after the first unpausing. But when it is equal to one, we keep the 16th LED dim so that nobody can see that we are starting with the 16th step.

Why did I use local_x instead of track? There must have been a reason, no?

Actually, I think I renamed it to 'local_x' because I was worried about it shadowing another 'x', but I wasn't entirely sure of it's function...

but I find that as inelegant as the original fix (starting on 16).

See #22, which might be a less-inelegant compromise :D


 But if the window expressions with alias inside WHERE and HAVING clauses, Spark does not handle this explicitly and will fail with non-descriptive exceptions.
SELECT a, RANK() OVER(ORDER BY b) AS s FROM testData2 WHERE b = 2 AND s = 1

cannot resolve 's' given input columns: [testdata2.a, testdata2.b]

SELECT a, MAX(b), RANK() OVER(ORDER BY a) AS s
FROM testData2
GROUP BY a
HAVING SUM(b) = 5 AND s = 1

cannot resolve 'b' given input columns: [testdata2.a, max(b)]

Why are the changes needed?
Correct the exception message to It is not allowed to use window functions inside $clauseName clause
Does this PR introduce any user-facing change?
No
How was this patch tested?
Add unit test cases

Test build #133956 has started for PR 31146 at commit 2f7df5b.

Test build #133956 has started for PR 31146 at commit 2f7df5b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38543/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38543/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38543/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38543/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38543/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38543/

Test build #133956 has finished for PR 31146 at commit 2f7df5b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133956 has finished for PR 31146 at commit 2f7df5b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133956/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133956/

Close it due to cannot resolve 'b' given input columns seems a correct error message. Filter should be resolved before Projection. I was confused with QUALIFY syntax in our internal Spark version.

Close it due to cannot resolve 'b' given input columns seems a correct error message. Filter should be resolved before Projection. I was confused with QUALIFY syntax in our internal Spark version.


feat(tutorial): complete step 1

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Looks good.  I've recorded your completion.
It looks like you might have two users with the same SSH key so you may want to get that resolved for next time.


Danger local doesnt work.

I have a setup like this:
https://github.com/probosckie/jest-danger-threshold-check/tree/feat/danger-integrate
when I'm trying to run this with
yarn danger local

But it's giving an error like this:
Danger: ⅹ Failing the build, there is 1 fail.
## Failures
An error occurred when getting the code coverage: /Users/prabhas.joshi/code/jest-danger-threshold-check/coverage/coverage-final.json: Unexpected end of JSON input. Danger exits with code: undefined

When I run it on CI also - it gives this error:
https://github.com/probosckie/jest-danger-threshold-check/pull/1

You need to check the output of your coverage file. It seems to be an
incorrect JSON file
Le lun. 27 déc. 2021 à 17:36, Prabhas Joshi @.***> a
écrit :

I have a setup like this:
https://github.com/probosckie/jest-danger-threshold-check/tree/feat/danger-integrate
when I'm trying to run this with
yarn danger local
But it's giving an error like this:
Danger: ⅹ Failing the build, there is 1 fail.
Failures
An error occurred when getting the code coverage: /Users/prabhas.joshi/code/jest-danger-threshold-check/coverage/coverage-final.json: Unexpected end of JSON input. Danger exits with code: undefined
—
Reply to this email directly, view it on GitHub
https://github.com/Spoutnik97/danger-plugin-code-coverage/issues/15, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIIFBFKPJRQ26LVGYZJONLUTCIXLANCNFSM5K2T3Q4A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

yes it works now.
can the readme - mention that we should be generating the coverage in the expected file before we run the danger file.
I was able to create a very simple example repo and pr which works - which i think would be useful for new users
Pr -  https://github.com/probosckie/jest-danger-threshold-check/pull/2
repo: branch: https://github.com/probosckie/jest-danger-threshold-check/tree/feat/danger-integrate


API Credentials Error

Hello, when I take the system to live mode and enter my api information, I get the following error code and error.
1001, message: api credentials are not found
Can you help me with this issue?

I also wanted to share the extent to which I found the parts of the problem. Iyzico changed its baseurl. I recommend you to make a new update. New URL https://api.iyzipay.com


how is charset.bin generated

I was wondering since if charset.bin could be modified would that allow custom fonts perhaps?


Array join() drops zero values as nulls

Values of 0 are omitted from the text rows on output. Seems that array.join() treats values of 0 as null and drops them out of the result string. See below:
let testRows: number[][] = []
testRows = [[23, 9, 56], [87, 0, 45], [75, 0, 0], [0, 32, 45]]
for (let row of testRows) {
	console.log(row.join(','))
}

result:
23,9,56
87,,45
75,,
,32,45

For completeness;
https://github.com/Microsoft/pxt-arcade/issues/311 is a blocker on fixing this, as it seems like all nulls and undefineds in arrays are being stored as just 0s no matter the type (e.g. https://makecode.com/_DTuJb5Ts44F5 and below). https://github.com/jwunderl/pxt/tree/arrjoin is a fix for this issue when that is fixed.
let myNumArr = [0, 1, 2, 3, undefined, null];
let myBoolArr = [true, false, undefined, null];
let myStringArr = ["he", null, undefined, " ", "123"];

console.log("nums: " + myNumArr.join(","));
console.log("bools: " + myBoolArr.join(","));
console.log("str: " + myStringArr.join(","));

results in
nums: 0,1,2,3,0,0
bools: true,false,0,0
str: he,0,0, ,123


 I have no idea what it means before :smile:

Hi,
I've spent a whole night testing your work, and I must say that I was really amazed at the progress you've made in the last two weeks, wonderful job!
I think I may not be able to review this HUGE patch cause I can't dive into the details like font color, border radius, like that. But I'm sure that your work is a solid foundation for us to continue this project, so I will merge this PR directly.
Thanks, thanks!


Add support for custom groups in target sources

Currently, the groups layout in the Xcode project is bound to the filesystem organisation of source files. This patch adds a new 'group' property for target sources which allows the customization of the group where said source should appear in.
Resolves #478

I just tried this with my project and it seems to either flatten all files when a group is specified. Also when I add a / in the group name, the script never finishes running, it goes on forever.

Hi @sroebert it will flatten all the files when a group is specified, but you can have finer grained control if you want to. For the / are you talking about a trailing one ? Why would you specify that ?

I would prefer not to flatten, but keep the structure, just in a different group if that is possible.
For the /, if I just have the group Test/SomeOtherName the script already does not finish.

For me, running this with my project resulted in some recursion when adding a group with a / in it, so for example group: Some/Group. Having previously worked on fixing the flattening of groups, I figured it would be easier to handle the grouping in a slightly different way, which is why I created #611.

Will track #611 instead


US135 add breadcrumbs to title display page

Amend server.py and search_results.html to add links back to default search page, search results page or the current page.
The search results page relies on the search term and page number being passed through the link so that the breadcrumbs can
resolve back to the correct page content and page number.

LGTM

LGTM, waiting for acceptance tests to merge


Added my data

There are some merge conflicts. Please solve them and update the PR. @Thaanu2001

Good job @Thaanu2001
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

https://www.clueless.tech/profile/admin/55238280
@Rajdip019


Remote SSH user name always uppercase

I use Remote SSH to connect to linux server, it was working until I upgraded vscode to 1.43 recently.
For linux user in uppercase and lowercase are treated as different user.
But now Remote SSH always use uppercase username to connect to target server.

VSCode Version: 1.43
OS Version: Windows 10

Steps to Reproduce:

configure a ssh connection with lowercase username say usera, host 123.abc.com
when connecting, it prompts Enter password for<EMAIL_ADDRESS>

Had a similar issue:
john.smith@remotehost became John.Smith@remotehost if you attempt to connect using Remote-SSH extension. Installing version 0.49.0 of the extension resolved the issue.
This name change is odd considering the capitalized version does not match any of my names on the local, remote, or in the .ssh/config file.

Had a similar issue:
john.smith@remotehost became John.Smith@remotehost if you attempt to connect using Remote-SSH extension. Installing version 0.49.0 of the extension resolved the issue.
This name change is odd considering the capitalized version does not match any of my names on the local, remote, or in the .ssh/config file.

Thank you! Installing 0.49.0 of the extension Remote-SSH does fix this issue.

@WatchJiang would you mind telling me how you installed the older version of the extension? I don't see any way to choose an older version.

Can you share the log from the Remote-SSH output channel? And tell me what you do to connect? The extension is not trying to change the case of anything.

Sorry my bad, seems like the Remote-SSH 0.50.0 extension always try to connect as my windows login account WA**** even I specify a different username in ssh config file, uppercase is not the symptom.
ssh config:
Host <IP_ADDRESS>
HostName <IP_ADDRESS>
User root
ForwardAgent yes
When I turn to 0.49.0 then no such issue.
Remote-SSH output (mask some personal info which is irrelevant):
[21:25:38.283] Log Level: 2
[21:25:38.283]<EMAIL_ADDRESS>[21:25:38.284] win32 x64
[21:25:38.286] SSH Resolver called for "ssh-remote+<IP_ADDRESS>", attempt 1
[21:25:38.286] SSH Resolver called for host: <IP_ADDRESS>
[21:25:38.286] Setting up SSH remote "<IP_ADDRESS>"
[21:25:38.291] Acquiring local install lock: C:\Users\wa****\AppData\Local\Temp\vscode-remote-ssh-<IP_ADDRESS>-install.lock
[21:25:38.315] Looking for existing server data file at c:\Users\wa****\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-ssh\vscode-ssh-host-<IP_ADDRESS>-78a4c91400152c0f27ba4d363eb56d2835f9903a\data.json
[21:25:38.316] Using commit id "78a4c91400152c0f27ba4d363eb56d2835f9903a" and quality "stable" for server
[21:25:38.317] Install and start server if needed
[21:25:38.321] Checking ssh with "ssh -V"
[21:25:38.421] > OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
[21:25:38.421] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[21:25:38.501] > OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
[21:25:38.502] Checking ssh with "C:\Program Files\Git\usr\bin\ssh.exe -V"
[21:25:38.705] > OpenSSH_7.9p1, OpenSSL 1.1.1a  20 Nov 2018
[21:25:38.708] askpass server listening on \.\pipe\vscode-ssh-askpass-4878c26e29374f029e29d863ea78258a17dcdfa7-sock
[21:25:38.709] Spawning local server with {"ipcHandlePath":"\\.\pipe\vscode-ssh-askpass-b4ad9c18545da2d3c30191793b7e74d099f9d387-sock","sshCommand":"C:\Program Files\Git\usr\bin\ssh.exe","sshArgs":["-v","-T","-D","54782","<IP_ADDRESS>"],"dataFilePath":"c:\Users\wa****\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-ssh\vscode-ssh-host-<IP_ADDRESS>-78a4c91400152c0f27ba4d363eb56d2835f9903a\data.json"}
[21:25:38.709] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"c:\Users\wa****\.vscode\extensions\ms-vscode-remote.remote-ssh-0.50.0\out\local-server\askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\Users\wa****\AppData\Local\Programs\Microsoft VS Code\Code.exe","VSCODE_SSH_ASKPASS_MAIN":"c:\Users\wa****\.vscode\extensions\ms-vscode-remote.remote-ssh-0.50.0\out\askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"\\.\pipe\vscode-ssh-askpass-4878c26e29374f029e29d863ea78258a17dcdfa7-sock"}
[21:25:38.799] Spawned 11352
[21:25:38.956] > local-server> Spawned ssh: 18744
[21:25:39.124] stderr> OpenSSH_7.9p1, OpenSSL 1.1.1a  20 Nov 2018
[21:25:41.623] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:SmujItDouH9dpyay99nETbPZX/r9jv3+VDJAHXe/SzQ
[21:25:42.296] Got askpass request<EMAIL_ADDRESS>password: "}
[21:25:42.297] Showing password prompt
[21:25:42.298] Listening for interwindow password on \.\pipe\vscode-ssh-askpass-adcb0253522046899a819c2e9e0e494e6452cafc-sock
[21:25:42.298] Writing password prompt to globalState
[21:25:51.219] Got password response
[21:25:51.220] Interactor gave response: *******
[21:25:51.220] Cleaning up other-window auth server
[21:25:52.963] stderr> Permission denied, please try again.
[21:25:53.257] Got askpass request<EMAIL_ADDRESS>password: "}
[21:25:53.257] Showing password prompt
[21:25:53.258] Listening for interwindow password on \.\pipe\vscode-ssh-askpass-6c5e879e6ada0c501be9b4ec5ab07f4e22e43cf3-sock
[21:25:53.258] Writing password prompt to globalState
[21:25:55.802] Password dialog canceled
[21:25:55.802] Interactor signaled cancel
[21:25:55.803] Cleaning up other-window auth server
[21:25:55.854] stderr> Permission denied, please try again.
[21:25:56.147] Got askpass request<EMAIL_ADDRESS>password: "}
[21:25:56.187] stderr><EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
[21:25:56.200] > local-server> ssh child died, shutting down
[21:25:56.216] Local server exit: 0
[21:25:56.216] Received install output: OpenSSH_7.9p1, OpenSSL 1.1.1a  20 Nov 2018
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:SmujItDouH9dpyay99nETbPZX/r9jv3+VDJAHXe/SzQ
Permission denied, please try again.
Permission denied, please try again.
<EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
[21:25:56.218] Resolver error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
[21:25:56.222] ------

Can you try using the Nightly version of the extension? I pushed a change that should help with this.

Disable Remote - SSH 0.50.0 and install Remote - SSH (Nightly) 2020.3.25802, this issue is fixed!
Thank you so much

Great, thanks for verifying


flutter_tester fails to start apps on Windows: Unable to read Dart source   '/C:/Users/danny/AppData/Local/Tem

Previously flutter_tester was giving file locking errors on Windows. That was fixed in #17833 but now they fail a bit further along:
[{"event":"app.progress",
  "params":{"appId":"e941bdfc-7147-476f-bde2-5b9a78041d93","id":"2","progressId":null,"finished":true}}]
error: Unable to read Dart source
  '/C:/Users/danny/AppData/Local/Temp/flutter_expression_test.d5449878-ab60-11e8-ac4e-001a7dda7113dc576365-ab60-11e8-ac4e-001a7dda7113/flutter_expression_test.d5449878-ab60-11e8-ac4e-001a7dda7113/lib/main.dart.incremental.dill'.
e:\b\build\slave\windows_engine\build\src\third_party\dart\runtime\vm\os_thread.cc: 73:
  error: Thread exited without calling Dart_ExitIsolate
Dumping native stack trace for thread c90
Lost connection to device.

I verified that the file C:\Users\danny\AppData\Local\Temp\flutter_expression_test.d5449878-ab60-11e8-ac4e-001a7dda7113dc576365-ab60-11e8-ac4e-001a7dda7113\flutter_expression_test.d5449878-ab60-11e8-ac4e-001a7dda7113\lib\main.dart.incremental.dill exists, but based on @aam's comments it might be related to the formatting of the path or something.

Fixed by #21201.


Add countResponseFields function

Stack:

#99
#98 ⬅
#93

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #99


Add lat/long versus relative support

This is an awesome start to a map engine. But if we had geotiff's we would have to make another application to make them in the file format necessary for this. If you allow for lat long support that would make this more expandable.

For conversion between lat/lon and x/y(0,1) you could use something like this:
fun Double.latToY01(): Double {
    val sinus = sin(clipLat(this) * PI / MAX_LONGITUDE)
    return 0.5 - ln((1 + sinus) / (1 - sinus)) / (4 * PI)
}

fun Double.lonToX01(): Double {
    return (clipLon(this) - MIN_LONGITUDE) / (MAX_LONGITUDE - MIN_LONGITUDE)
}

fun Double.y01ToLat(): Double {
    return 90 - 360 * atan(exp((this - 0.5) * 2 * PI)) / PI
}

fun Double.x01ToLon(): Double {
    return MIN_LONGITUDE + (MAX_LONGITUDE - MIN_LONGITUDE) * this
}

Ref code. I do agree though it would be great to have this inside the library with the checks for exceeding the MIN/MAX values.

This library isn't tied to any measurement system. A map could be taken from a scanned paper or may represent the whole world. In the latter case, lat/lon make sense. However lat/lon may be irrelevant in other use cases.
Also, the relative to lat/lon formulas depend on the projection used to make the map.
Please provide more details about your usage of the library.

To share a use case, I'm using the library for a map that uses a different
coordinate system (EPSG:2180), so support for GPS in particular wouldn't be
useful to me, and I know many countries have their own coordinate systems
for their maps.
Where a case could be made, is to have the library accept a conversion
interface so you can then use your own coordinate system and have the
library call your conversion internally. But I don't think it would be that
much more useful than just doing it yourself.
On Thu, 21 Sept 2023, 18:47 Pierre Laurence, @.***>
wrote:

This library isn't tied to any measurement system. A map could be taken
from a scanned paper or may represent the whole world. In the latter case,
lat/lon make sense. However lat/lon may be irrelevant in other use cases.
Also, the relative to lat/lon formulas depend on the projection used to
make the map.
Please provide more details about your usage of the library.
—
Reply to this email directly, view it on GitHub
https://github.com/p-lr/MapCompose/issues/95#issuecomment-1730120785,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUNLQE5UZIWGJQ3MKYURJ3X3SDVXANCNFSM6AAAAAA5AVYKDE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Typically you know the extent in latitude and longitude of what you're rendering. Let's say Ya and Yb are respectively the projected coordinate in Y dimension of the top and the bottom. When y is a relative coordinate, it's projected coordinate in Y dimension is is Ya + y*(Yb-Ya`). Then, the corresponding longitude is obtained using the relevant formula (which depends on the projection).

I am not sure I understand completely but I will try my best to see what I can do.

I think I will have to split bitmaps over a projection.


kea: 1.9.9 -> 1.9.10

Motivation for this change
Things done

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 133522 at 4dfa596f run on aarch64-linux 1

2 packages built successfully:

kea
nixos-install-tools

@ofborg test prometheus-exporters.kea


bug: Data binding problem in select menu

Type: bug
Platform: all
The model of select menu does not bind in controller. The model change in the view but when access inside controller it keep the initial value: http://codepen.io/ho_oh/pen/FioIv . In reverse, when changing the model inside the controller, the selected option in the view only changes for the first time. http://codepen.io/ho_oh/pen/DrCvq .
But after remove the 'ion-content' tag it work well.

@hailq92 sorry for the delay in replying.
This isn't a bug really, but part of how Angular handles scope inheritance.  Directives like ionContent create new levels of the scope. The trick is, scope values inherit from each other in the way classes do. So consider the following code
<my-first-directive>
  <my-second-directive>
  </my-second-directive>
</my-first-directive>

If my-first-directive were to have a controller where i set a value, and I were to output something inside my-second-directive, then it would have the right value, because it inherited it from the first directive. Once my-second-directive makes changes to that value my-first-directive's original copy of that value will not change.  This is because the second directive's values are a copy of the first directive, not the same thing.
If you were to move the ng-Controller down a level to be at the level of ion-content, then everything would work as expected, unless you add a another directive in between the element that has the controller and the form elements.
I've expanded on your example, demonstrating the issue.
http://codepen.io/perrygovier/pen/PweKNL?editors=101


simplemde does not work correctly in bootstrap modal

I need simplemde to work with bootstrap modal, currently there are some problems with that.
I'll describe them here:
First problem is when I initialize the editor in the bootstrap popup it does not show the text

only when I click inside the editor does it display the text

Second problem is when I toogle to side by side view, add some content in the editor, in this case I added lots of content, and when I exit side by side mode not all content is visible in the editor, in this case last line visible is: ## some content here, bla bla bla 9

as you can see it's not possible to scroll down beneath the line bla bla bla 9 even if there is more content there
Third problem is with css, when I am in side by side mode I would like it to be responsive, and it's only responsive horizontally right now, since I've had to use px to set the height, it will for whateve reason not work with % which would make it responsive vertically as well

Fourth problem is the highlighting of some words, I am not sure why it's doing this, there is spellcheck feature but I have it set to false when I initialize the editor. I would like to remove the highlighting of words, it's distracting.
Also worth mentioning the editor works just fine if it is not used inside bootstrap modal
scroll works and all content is scrollable when comming back from side by side mode and inserting lots of text.
With some more research I've discovered if I set content tab as active instead of basic tab being active first then the content in the markdown editor will be directly visible, if basic tab is active and I have to switch to content tab my self then the content is not visible until I click inside the editor.
If anyone can fix these errors I am willing to pay for it.
I've created a demo of this here: https://www.sendspace.com/file/ejdoh6

For problem 1, add the following code
var doc = simplemde.codemirror.getDoc();
doc.setValue(doc.getValue())

still not working, I need to click inside the editor for it to show any content. Also when I click another post I want to edit, the content of the old post is shown until I click inside the editor then then content of new post is shown.
I use
        var doc = simplemde.codemirror.getDoc();
        doc.setValue(postBody);

to set the content.

fixed most of issues and got it working

Hey @nermamax
I have encountered the same problems when using bootstrap.
Could you tell me, what you did to fix these issues?
I´d appreciate your help.

are you using tabs? when using tabs and your editor is only visible in tab that is not visible by default you will then need to make sure that you only init the editor when you switch to that tab, that way the editor will show the content inside of it without you having to click inside of it like I described. Next when you close the modal you must destroy the editor or else it you will create new instance of editor and end of with lots of editor instances each time you switch to the tab where the editor is.
What other problems do you have?

Hey @nermamax
Thanks for your quick answer.
Ok, so I have my simplemde inside a bootstrap modal.
Inside my AngularJS controller I´ve got:
$('#report-edit-modal').on('show.bs.modal', function(e) {
	vm.simplemde = new SimpleMDE({ element: $("#markdown")[0] });
});

This ensures the editor is only created, once the modal is shown.
But currently I can only update the value by using a timeout
vm.updateSimpleMde = function(value) {
	$timeout(function() {
		vm.simplemde.value(value);
	}, 100);
}

How would you recommend destroying the editor, once the modal is closed?

You can try this, it works for me:
        if(simplemde != null) {
            simplemde.toTextArea();
            simplemde = null;
        }

I am not sure about the timeout thing, didn't have that problem really

Ok, I have used my workaround as described above to reload the editor content.
The other issue I´m facing, is using the side-by-side preview mode. My editor is embedded inside a modal, which causes some strange behavior. It happens, when toggling the full screen mode.

Is there any way to fix this?

I had the same problem and the only way to solve it to detect when it goes fullscreen mode and then apply css to modal that makes it fullscreen, after that simplemde will work.
here is some code for you
css
.simplemde-fullscreen .modal-dialog {
top: 20px;
margin: 0 auto;
height: 90%;
width: 90%;
max-width: 100%;
}
javascript
simplemde.codemirror.on('refresh', function() {
console.log("WOW");
    if (simplemde.isFullscreenActive()) {
        $('body').addClass('simplemde-fullscreen');
    } else {
        $('body').removeClass('simplemde-fullscreen');
    }
});

let me know if that solves your problems?

Works like a charm!
Thank you very much for your help, I really appreciate your work.
Best regards

no problem, anytime :)

@masterbuilder22  how did you solve problem #1?

Hello, I'm facing same Second problem. Could you please share your solution?
Thanks.

@nikocraft
Four years later, I just wanted to say: thank you so much!

@nikocraft Four years later, I just wanted to say: thank you so much!

happy that this was helpful :)