Question: running kmonad automatically on mac

Does anyone have a working strategy to running kmonad automatically on macos? (CC @thoelze1)
I think there's a challenge because it needs to run as root and also need input monitoring permissions.
Here's my attempt at a /Library/LaunchDaemons/local.kmonad.plist which does seem to run as root but does not work. This is probably due to lacking input monitoring permissions, but I don't know how to request or grant those.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
   "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>local.kmonad</string>
    <key>Program</key>
    <string>/usr/local/bin/kmonad</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/bin/kmonad</string>
      <string>--log-level</string>
      <string>debug</string>
      <string>/Library/LaunchDaemons/macbook.kbd</string>
    </array>
    <key>RunAtLoad</key>
    <true />
    <key>StandardOutPath</key>
    <string>/tmp/kmonad.stdout</string>
    <key>StandardErrorPath</key>
    <string>/tmp/kmonad.stderr</string>
  </dict>
</plist>

The stderr log file shows IOHIDDeviceOpen error: e00002e2.

Found this in another keyboard project on github lol

This code snippet looks relevant to requesting/checking input monitoring permission.

Apparently you can give input monitoring permissions to any executable: click + in System Preferences > Security &  Privacy > Privacy > Input Monitoring and then navigate to the location of the executable.
Thanks for writing the .plist! I gave input monitoring permissions to my kmonad executable, added your .plist to /Library/LaunchDaemons, and restarted macOS. It almost worked: kmonad received my keypresses (even before login) and dumped them to /tmp/kmonad.stdout, but it could not send modified keypresses because the kext has not yet loaded. Technically, Karabiner-Elements loads the needed kext at startup (via org.pqrs.karabiner.karabiner_kextd.plist in /Library/LaunchDaemons), but there is unfortunately no way to manage dependencies in launchd (see the docs and man launchd.plist). Therefore we can't ask launchctl to run local.kmonad after org.pqrs.karabiner.karabiner_kextd (this wouldn't work for those who don't have Karabiner-Elements installed, anyway) so we have to ensure the kext is loaded ourselves...
I wrote the following in script.sh:
#!/bin/bash

/sbin/kextload /path/to/kext
/path/to/kmonad -l debug /path/to/config.kbd

Note: I'm using the kext packaged with Karabiner-Elements, so for me /path/to/kext is
/Library/Application\ Support/org.pqrs/Karabiner-VirtualHIDDevice/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.v061000.kext

Then I changed local.kmonad.plist to:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
   "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>local.kmonad</string>
    <key>Program</key>
    <string>/bin/bash</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>/path/to/script.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true />
    <key>StandardOutPath</key>
    <string>/tmp/kmonad.stdout</string>
    <key>StandardErrorPath</key>
    <string>/tmp/kmonad.stderr</string>
  </dict>
</plist>

And it works! For the record, I'm going to remove the StandardOutPath and StandardErrorPath properties so that I don't have a log of all my keystrokes sitting around... :)

I think I might be really close to having this working too but upon reboot I'm seeing:
IOServiceGetMatchingService error
IOHIDDeviceOpen error: e00002e2

That's the "not permitted" error that should be fixed by adding kmonad to Input Monitoring. Are you sure that you selected the same executable in Input Monitoring that you call from script.sh?

Edit: and the first error could indicate that the kext still isn't loaded by the time kmonad starts. Did you use the same script.sh and local.kmonad.plist as I did?

IOServiceGetMatchingService error
IOHIDDeviceOpen error: (iokit/common) not permitted
IORegistryEntryCreateCFProperty error
IORegistryEntryCreateCFProperty error

I also not able to get this working. I tried giving Input Monitoring permission to kmonad executable, kmonad script, /sbin/launchd but still doesn't seem to have required permission.

@prabhu-madanagopal  are you able to successfully run kmonad from the terminal?

wow you also have modifier keys on homerow. that is one of the things I want to copy from my ergodox. and also layer hold switches on zxcvb row.

Hi @thoelze1, since our discussion in #241 I've been trying to get this to work, to no avail.
I used your method of creating a script and starting this script with the Launch daemon, re-checked everything, no dice.
The kmonad executable (the same one as in the script, in /usr/local/bin is ticked in Input Monitoring, kmonad works well (well, except for #241) from a terminal, etc.
In the script I'm trying to load this kext: /Library/SystemExtensions/06C4C780-EAA7-4BAF-BCA4-C5FAF0420739/org.pqrs.Karabiner-DriverKit-VirtualHIDDevice.dext, is that right?

@Vermoot for me, using the dext, I had to provide input monitoring permissions to a wide number of things. I granted permission to:

the launchtl binary
/bin/bash
the script specified in the launchtl service
the kmonad binary

Some of these are probably unecessary, but it only finally worked after I granted permission to /bin/bash. This is probably also pretty insecure so i'll have to do some more tinkering, but I'd reccommend giving that a try. Also, if you're still having issues, could you post the contents of /tmp/kmonad.stderr and /tmp/kmonad.stdout?

I tried the above to get KMonad working on startup but ran into some issues. When I run
sudo launchctl load local.kmonad.plist

from the terminal, everything works fine. When I restart, I get the first user password prompt and enter my credentials with no issues. MacOS then loads and presents another login screen and here I can't type anything, i.e. I type but  nothing appears in the input field. There also an audible 'bip' when the load screen is shown that doesn't seem to happen when       I remove the plist file.
The error log is empty and the stdout log just says connected.
I had to restart in safe-mode and remove the local.kmonad.plist and reboot to fix it.
I previously used Karabiner-Elements, now turned off, and there are some related plist items in the LauncherDaemon directory.
I currently execute sudo launchctl start local.kmonad with a slightly modified plist file. Would love to get this to work on startup though.
MacOS 12.6.2
KMonad 0.4.1, commit 3413f1be996142c8ef4f36e246776a6df7175979

I can launch kmonad from a terminal.
sudo kmonad /path/to/keymap.kbd

Works!
However, I am trying to get kmonad to run on startup. I set launchctl to run kmonad on startup (by putting a plist file as described above), and yet, I get the following in my /tmp/kmonad.stderr:
IOHIDDeviceOpen error: (iokit/common) not permitted

Same if I unload and reload it manually like
sudo launchctl unload /Library/LaunchDaemons/local.kmonad.plist
sudo launchctl load /Library/LaunchDaemons/local.kmonad.plist

kmonad doesn't seem to be working, and I see that in the stderr file I specified in the plist, the above error message is printed each time I reload it.
I have given launchctl input monitoring privileges. What gives?  Is there some other thing to which I need to give privileges?

@postylem

I have given launchctl input monitoring privileges. What gives? Is there some other thing to which I need to give privileges?

I believe the input monitoring access needs to be granted to the kmonad process itself. If you have already done that, try "turn it off and turn it on again" -- remove kmonad and then add it back.

Thought I'd share my findings. I had a plist similar to above working, but then started getting this message. (Note that I could not get bootstrap to really tell me anything.)
$ sudo launchctl -w load -w /Library/LaunchDaemons/local.kmonad.plist
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Anyway, it seems an even better possible command is:
$ sudo launchctl enable system/local.kmonad # only need to run once, may not be necessary
$ sudo launchctl kickstart -k system/local.kmonad

This worked without the I/O error, and even relaunches, say, after updating the .kbd.


No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

I'm getting this error when trying to run my app. I simply install the plugin and try to run the app, without any change in my code.
If I remove the plugin and run the app, everything works. So, something wrong is happening with the plugin. The only difference between one case and the other is the presence of the plugin.
Help please.

Do you have google play services installed in Android SDK Manager?

Yes, it is installed. I'm trying in my phone. I'ts a Samsung Galaxy S6, Android 5.1.1, API 22

Could you post indications for an environment where the plugin works?
(Required packages in SDK, Android version, API, etc..)
Thanks

I was experiencing the same issue. To bypass the issue I had to install Android Support Library, Android Support Repository and Google Repository.

One out of three mentioned fixed the issue.. Not sure which one :)

Yes, they are installed.
I managed to make it work. Here is what needed to be done:
-Use Android SDK Build Tools 22.0.1
-Install the above mentioned
It was imposible to make it work with Android SDK Build Tools 23.0.2. I think it is necesary to clarify the requirements of the plugin in the Readme

@mapolonio I agree that some more information about setup is needed. But you should also realise that in time of writing this plugin build tools were at 22 or less. And I can predict future to see that plugin will not work with future version of build tools.

I'm posting android requirements here before I put them into README.
Android SDK Tools (24.4.1)
Android SDK Platform-tools (23.1)
Android SDK Build-tools (23.0.1)
Android Support Repository (25)
Android Support Library (23.1.1)
Google Play Services (29)
Google Repository (24)
And cordova compatible Android API. Cordova 5.4.1 it is Android API level >14

Yes, I realise about what you say. That's why this kind of issues is useful: to identify what problems start to appear as dependencies evolve ;)

Agree on that :-) I've added section Compilation with list of deps for Android. Closing this one.


docs/guide-pt-BR/rest-error-handling.md - translate [ci skip]

Ping me when it's ready.

The revision were applied, Thanks!
2015-06-24 13:40 GMT-03:00 Alexander Makarov<EMAIL_ADDRESS>
Ping me when it's ready.
—
Reply to this email directly or view it on GitHub
https://github.com/yiisoft/yii2/pull/8889#issuecomment-114937118.

--
Alcir Monteiro - Analista de Sistemas
(21) 3553-9292
(21) 8284-5927

Thanks!


Support Json in SQL Server

Problem

If you have the following Prisma Schema:
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

model Post {
  id      Int  @id
  myField Json
}

You'll see the following message:
error: Error validating field `myField` in model `Post`: Field `myField` in model `Post` can't be of type Json. The current connector does not support the Json type.

Suggested solution

Support Json in MSSQL

Related: https://github.com/prisma/prisma/issues/6843 + https://github.com/prisma/prisma/issues/7309

It would help a lot if you could support the JSON  type in the prism Schema and just map it to NVARCHAR(MAX) in the database.
I understand that filtering is not available anytime soon (see Related: https://github.com/prisma/prisma/issues/6843 + https://github.com/prisma/prisma/issues/7309)
However a JSON Field would allow to get an easy to use result from a graphql request while using native nvarchar(max) as I need to do now gives just a quoted JSNO String like
{"data": {"jsonField": "{"destination_addresses":["xxx","Ulm, Deutschland",
Thank you for hearing me....

Does Prisma have JSON support for sqlserver as it is today?

Any updates on this @SevInf ?


feat: ✨ Variables template brick

Description
Implemented a brick with mason that allows the developer to generate a variables folder template that contains:

Constants -> First level variables.
Values -> Second level variables.
Theme -> App theme and Theme provider for apps.

Note: These files are all developed based on Figma's way to organize variables and constants in every project. In case of any changes with the current structure, it may need to be modified.

@nathva Confirmame si ya está listo el brick para revisarlo! 👀


cmake: fix SDL2 copy on MSVC

Fix SDL2 copy on MSVC.
I hope this don't break MingW copy.
I have not tested it on Windows with MSVC.

Generate a list of files that match the  and store it into the .
-- https://cmake.org/cmake/help/latest/command/file.html#filesystem

So I guess it shouldn't list a garbage lib/*/SDL2.dll path if not found like bash does, so it should work with Mingw too (the special MSVC path being ignored).

LGTM, works with msvc/mingw


bump codecov/codecov-action v3

This pull request fixes the following warning:

The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

thanks. nice work 👍


Improve String.valid?/1 performance

Hi @mtrudel
I did some tinkering around String.valid?/1 and bumped it performance twice on average. Benchmark is here https://gist.github.com/asakura/0a61b18587bef406de1b3f591b9a6126
Few notes on the benchmark:

String.valid?/2 with :fast_ascii would be closed to 32
AndOr3 18% faster than 32 on validating single byte sequences
AndOr3 twice or more faster than Native (String.valid?/1) on 2,3,4 byte sequences
on mixed and mixed reversed data AndOr3 doesn't choke and shows significant boost
on less than 64 bytes dataset AndOr3 shows  slightly better performance than Native (14.69 M vs 11.30 M), but slower than 32 14.99 M (which might be statistically insignificant)

I don't have an ARM computer to run the benchmark on to see if the proposed code gives boost there unfortunately.
Result are:
Operating System: Linux
CPU Information: AMD Ryzen 7 7700X 8-Core Processor
Number of Available Cores: 16
Available memory: 30.99 GB
Elixir 1.16.2
Erlang 26.2.3
JIT enabled: true

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 2 s
memory time: 2 s
reduction time: 0 ns
parallel: 1
inputs: 1byte, 2byte, 3byte, 4byte, less than 64 bytes, mixed, mixed rev
Estimated total run time: 4 min 54 s

Benchmarking 32 with input 1byte ...
Benchmarking 32 with input 2byte ...
Benchmarking 32 with input 3byte ...
Benchmarking 32 with input 4byte ...
Benchmarking 32 with input less than 64 bytes ...
Benchmarking 32 with input mixed ...
Benchmarking 32 with input mixed rev ...
Benchmarking AndOr with input 1byte ...
Benchmarking AndOr with input 2byte ...
Benchmarking AndOr with input 3byte ...
Benchmarking AndOr with input 4byte ...
Benchmarking AndOr with input less than 64 bytes ...
Benchmarking AndOr with input mixed ...
Benchmarking AndOr with input mixed rev ...
Benchmarking AndOr2 with input 1byte ...
Benchmarking AndOr2 with input 2byte ...
Benchmarking AndOr2 with input 3byte ...
Benchmarking AndOr2 with input 4byte ...
Benchmarking AndOr2 with input less than 64 bytes ...
Benchmarking AndOr2 with input mixed ...
Benchmarking AndOr2 with input mixed rev ...
Benchmarking AndOr3 with input 1byte ...
Benchmarking AndOr3 with input 2byte ...
Benchmarking AndOr3 with input 3byte ...
Benchmarking AndOr3 with input 4byte ...
Benchmarking AndOr3 with input less than 64 bytes ...
Benchmarking AndOr3 with input mixed ...
Benchmarking AndOr3 with input mixed rev ...
Benchmarking Lookup with input 1byte ...
Benchmarking Lookup with input 2byte ...
Benchmarking Lookup with input 3byte ...
Benchmarking Lookup with input 4byte ...
Benchmarking Lookup with input less than 64 bytes ...
Benchmarking Lookup with input mixed ...
Benchmarking Lookup with input mixed rev ...
Benchmarking Native with input 1byte ...
Benchmarking Native with input 2byte ...
Benchmarking Native with input 3byte ...
Benchmarking Native with input 4byte ...
Benchmarking Native with input less than 64 bytes ...
Benchmarking Native with input mixed ...
Benchmarking Native with input mixed rev ...
Benchmarking cowboy with input 1byte ...
Benchmarking cowboy with input 2byte ...
Benchmarking cowboy with input 3byte ...
Benchmarking cowboy with input 4byte ...
Benchmarking cowboy with input less than 64 bytes ...
Benchmarking cowboy with input mixed ...
Benchmarking cowboy with input mixed rev ...
Calculating statistics...
Formatting results...

##### With input 1byte #####
Name             ips        average  deviation         median         99th %
AndOr3      355.31 K        2.81 μs    ±17.07%        2.77 μs        2.92 μs
32          302.08 K        3.31 μs    ±15.20%        3.31 μs        4.83 μs
Native      129.44 K        7.73 μs     ±5.02%        7.69 μs        8.22 μs
AndOr2       88.64 K       11.28 μs     ±6.98%       11.21 μs       12.12 μs
Lookup       86.81 K       11.52 μs     ±8.15%       11.39 μs       16.31 μs
AndOr        77.06 K       12.98 μs     ±3.33%       12.96 μs       14.60 μs
cowboy       65.82 K       15.19 μs     ±2.67%       15.18 μs       16.14 μs

Comparison:
AndOr3      355.31 K
32          302.08 K - 1.18x slower +0.50 μs
Native      129.44 K - 2.74x slower +4.91 μs
AndOr2       88.64 K - 4.01x slower +8.47 μs
Lookup       86.81 K - 4.09x slower +8.70 μs
AndOr        77.06 K - 4.61x slower +10.16 μs
cowboy       65.82 K - 5.40x slower +12.38 μs

Memory usage statistics:

Name      Memory usage
AndOr3            40 B
32                40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
AndOr2            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input 2byte #####
Name             ips        average  deviation         median         99th %
AndOr3       47.86 K       20.89 μs     ±6.21%       20.76 μs       23.96 μs
AndOr2       47.23 K       21.17 μs     ±7.11%       21.15 μs       25.27 μs
AndOr        44.87 K       22.29 μs     ±2.89%       22.25 μs       25.74 μs
32           31.62 K       31.62 μs     ±5.78%       31.42 μs       36.23 μs
cowboy       21.67 K       46.15 μs     ±4.68%       45.97 μs       49.97 μs
Native       20.19 K       49.54 μs     ±1.77%       49.68 μs       53.09 μs
Lookup        6.94 K      144.06 μs     ±4.66%      144.01 μs      151.19 μs

Comparison:
AndOr3       47.86 K
AndOr2       47.23 K - 1.01x slower +0.28 μs
AndOr        44.87 K - 1.07x slower +1.39 μs
32           31.62 K - 1.51x slower +10.73 μs
cowboy       21.67 K - 2.21x slower +25.26 μs
Native       20.19 K - 2.37x slower +28.64 μs
Lookup        6.94 K - 6.89x slower +123.17 μs

Memory usage statistics:

Name      Memory usage
AndOr3            40 B
AndOr2            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
32                40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input 3byte #####
Name             ips        average  deviation         median         99th %
AndOr2       41.79 K       23.93 μs     ±6.66%       23.91 μs       27.25 μs
AndOr3       38.71 K       25.83 μs     ±8.01%       25.72 μs       29.66 μs
AndOr        30.08 K       33.24 μs     ±3.67%       33.23 μs       36.95 μs
32           24.27 K       41.20 μs     ±5.09%       40.69 μs       45.59 μs
Native       20.20 K       49.50 μs     ±1.96%       49.58 μs       53.11 μs
cowboy       13.29 K       75.24 μs     ±1.86%       75.30 μs       78.85 μs
Lookup        5.66 K      176.74 μs     ±4.86%      174.87 μs      190.80 μs

Comparison:
AndOr2       41.79 K
AndOr3       38.71 K - 1.08x slower +1.90 μs
AndOr        30.08 K - 1.39x slower +9.31 μs
32           24.27 K - 1.72x slower +17.27 μs
Native       20.20 K - 2.07x slower +25.57 μs
cowboy       13.29 K - 3.14x slower +51.31 μs
Lookup        5.66 K - 7.39x slower +152.81 μs

Memory usage statistics:

Name      Memory usage
AndOr2            40 B
AndOr3            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
32                40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input 4byte #####
Name             ips        average  deviation         median         99th %
AndOr2       44.51 K       22.46 μs     ±7.84%       22.22 μs       25.45 μs
AndOr3       41.12 K       24.32 μs     ±2.73%       24.20 μs       27.04 μs
AndOr        21.87 K       45.73 μs     ±1.93%       45.73 μs       49.51 μs
Native       19.91 K       50.24 μs     ±1.93%       50.26 μs       53.60 μs
32           19.25 K       51.94 μs     ±4.31%       51.84 μs       55.83 μs
cowboy        9.89 K      101.12 μs     ±1.95%      101.60 μs      105.06 μs
Lookup        4.69 K      213.19 μs     ±4.41%      217.27 μs      229.56 μs

Comparison:
AndOr2       44.51 K
AndOr3       41.12 K - 1.08x slower +1.85 μs
AndOr        21.87 K - 2.04x slower +23.27 μs
Native       19.91 K - 2.24x slower +27.77 μs
32           19.25 K - 2.31x slower +29.48 μs
cowboy        9.89 K - 4.50x slower +78.66 μs
Lookup        4.69 K - 9.49x slower +190.73 μs

Memory usage statistics:

Name      Memory usage
AndOr2            40 B
AndOr3            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
32                40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input less than 64 bytes #####
Name             ips        average  deviation         median         99th %
32           14.99 M       66.72 ns ±18823.38%          60 ns         100 ns
AndOr3       14.69 M       68.07 ns ±18253.58%          60 ns         100 ns
Native       11.30 M       88.46 ns  ±6695.36%          80 ns         101 ns
Lookup        8.50 M      117.58 ns  ±5300.57%         110 ns         200 ns
AndOr2        8.44 M      118.50 ns  ±5311.60%         110 ns         200 ns
AndOr         7.84 M      127.61 ns  ±5015.24%         120 ns         210 ns
cowboy        6.77 M      147.72 ns  ±5538.35%         140 ns         230 ns

Comparison:
32           14.99 M
AndOr3       14.69 M - 1.02x slower +1.35 ns
Native       11.30 M - 1.33x slower +21.73 ns
Lookup        8.50 M - 1.76x slower +50.86 ns
AndOr2        8.44 M - 1.78x slower +51.77 ns
AndOr         7.84 M - 1.91x slower +60.88 ns
cowboy        6.77 M - 2.21x slower +80.99 ns

Memory usage statistics:

Name      Memory usage
32                40 B
AndOr3            40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B
AndOr2            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input mixed #####
Name             ips        average  deviation         median         99th %
AndOr2       12.02 K       83.18 μs     ±3.23%       82.58 μs       89.37 μs
AndOr3       10.52 K       95.08 μs     ±2.66%       94.39 μs      108.30 μs
AndOr         8.13 K      122.97 μs     ±6.68%      122.10 μs      135.31 μs
Native        6.43 K      155.52 μs     ±1.84%      155.44 μs      159.88 μs
32            5.31 K      188.41 μs     ±3.27%      187.34 μs      218.95 μs
cowboy        3.88 K      257.99 μs     ±2.41%      256.86 μs      273.06 μs
Lookup        1.82 K      549.16 μs     ±3.08%      553.92 μs      606.36 μs

Comparison:
AndOr2       12.02 K
AndOr3       10.52 K - 1.14x slower +11.90 μs
AndOr         8.13 K - 1.48x slower +39.78 μs
Native        6.43 K - 1.87x slower +72.34 μs
32            5.31 K - 2.27x slower +105.23 μs
cowboy        3.88 K - 3.10x slower +174.81 μs
Lookup        1.82 K - 6.60x slower +465.98 μs

Memory usage statistics:

Name      Memory usage
AndOr2            40 B
AndOr3            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
32                40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

##### With input mixed rev #####
Name             ips        average  deviation         median         99th %
AndOr2       11.95 K       83.67 μs     ±2.29%       83.99 μs       88.74 μs
AndOr3       10.54 K       94.85 μs     ±1.25%       94.47 μs      100.72 μs
AndOr         8.33 K      120.01 μs     ±2.82%      119.66 μs      126.83 μs
Native        6.39 K      156.46 μs     ±1.31%      157.16 μs      160.65 μs
32            5.39 K      185.58 μs     ±2.28%      185.06 μs      208.44 μs
cowboy        3.91 K      255.66 μs     ±2.15%      255.16 μs      273.52 μs
Lookup        1.85 K      540.67 μs     ±3.40%      534.72 μs      605.05 μs

Comparison:
AndOr2       11.95 K
AndOr3       10.54 K - 1.13x slower +11.18 μs
AndOr         8.33 K - 1.43x slower +36.33 μs
Native        6.39 K - 1.87x slower +72.79 μs
32            5.39 K - 2.22x slower +101.90 μs
cowboy        3.91 K - 3.06x slower +171.99 μs
Lookup        1.85 K - 6.46x slower +456.99 μs

Memory usage statistics:

Name      Memory usage
AndOr2            40 B
AndOr3            40 B - 1.00x memory usage +0 B
AndOr             40 B - 1.00x memory usage +0 B
Native            40 B - 1.00x memory usage +0 B
32                40 B - 1.00x memory usage +0 B
cowboy            40 B - 1.00x memory usage +0 B
Lookup            40 B - 1.00x memory usage +0 B

**All measurements for memory usage were the same**

Unfortunately I've found why exactly this algo was fast: a bunch of corner cases were missing (as well in BulkMatch32 and other variants) . The proper implementation of Branchy Range Validator algorithm implemented in Elixir is attached down below this comment. Maybe someone might find it useful.
Regarding :fast_ascii - because most of it is fast C code with ascii hack as a cherry on the top of cake I would go with that option: it have the best best performance so far and for ascii string can be just beaten by anything else except SIMD algo of course.
https://gist.github.com/asakura/71d8f754403dda46051163d6b7b5b741
defmodule AndOr4 do
  def valid?(<<>>), do: true
  def valid?(str) when not is_binary(str), do: false
  def valid?(str), do: do_valid?(str)

  def do_valid?(<<a::56, rest::binary>>)
      when Bitwise.band(a, 0x80808080808080) == 0,
      do: do_valid?(rest)

  def do_valid?(<<a::8, rest::binary>>) do
    rest =
      cond do
        a <= 127 ->
          rest

        a >= 194 and a <= 223 ->
          case rest do
            <<a::8, rest::binary>> when a < 192 -> rest
            _ -> false
          end

        a >= 224 and a <= 239 ->
          case rest do
            <<b::16, rest::binary>>
            when Bitwise.band(b, 0x8080) == 0x8080 and
                   Bitwise.bor(b, 0xBFBF) == 0xBFBF ->
              cond do
                a == 224 ->
                  c = Bitwise.bsr(a, 8)
                  cond do
                    c >= 128 and c <= 159 -> false
                    :otherwise -> rest
                  end

                a == 237 ->
                  c = Bitwise.bsr(a, 8)
                  cond do
                    c >= 160 and c <= 191 -> false
                    :otherwise -> rest
                  end

                (a >= 225 and a <= 236) or a == 238 or a == 239 ->
                  rest

                :otherwise ->
                  false
              end

            _ ->
              false
          end

        a >= 240 ->
          case rest do
            <<b::24, rest::binary>>
            when Bitwise.band(b, 0x808080) == 0x808080 and
                   Bitwise.bor(b, 0xBFBFBF) == 0xBFBFBF ->
              cond do
                a == 240 ->
                  c = Bitwise.bsr(b, 16)
                  cond do
                    c >= 128 and c <= 143 -> false
                    :otherwise -> rest
                  end

                a >= 241 and a <= 243 ->
                  rest

                a == 244 ->
                  c = Bitwise.bsr(b, 16)
                  cond do
                    c >= 160 and c <= 191 -> false
                    :otherwise -> rest
                  end

                :otherwise ->
                  false
              end

            _ ->
              false
          end

        :otherwise ->
          false
      end

    do_valid?(rest)
  end

  def do_valid?(<<>>), do: true
  def do_valid?(false), do: false
end

That's so often the way with these perf workups; the benchmarks look great but then you realize it was really a free lunch the whole time. I've been there!
Thanks for the effort regardless @asakura !


Problems in the first run

I just finished the installation on ubuntu14x64bit
But I am unable to start using ocamlfuse. See below my code and the error I am getting.
root@ubuntu:/# google-drive-ocamlfuse
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: lynx: not found
Could you please help me?

If you are using a headless host, you should follow these instructions.

Great,
I followed the instructions and it worked perfectly
Thanks a lot and keep up the good work!


Added ternary operator in EuclideanGCD.java

By submitting this pull request I confirm I've read and complied with the below requirements.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[ ] This pull request has a descriptive title. For example, Added {Algorithm name} [{Language}], not Update README.md or Added new code.

There was a minor change requested for changing if-else to ternary operator.

@aviaryan Please review.


Add files via upload

@NemRela Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@NemRela You might miss my previous comment. Please react.

@NemRela I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Fix the buggy render in Big Sur 11.3 beta

Fix https://github.com/osy/HaC-Mini/issues/537
Tested both in 11.2 and 11.3.
I think Apple switch back to the old MTL drive code or logic (as the old binary patch logic works again). However not sure if it's true when official 11.3 comes.
Let's wait and see.

I think the logic never changed, but it's what the compiler optimizes (where the return is located, what registers are used, etc). I think rather than checking for the OS version, we just try patching with both in case it changes again.

Also it's still broken in beta 3 so I'm guessing it's going to make it to the final build, so I will merge it for now.


Sorry, the link has expired.

You can download it from [here](https://studntnu-my.sharepoint.com/:u:/g/personal/daesool_ntnu_no/EUVHWAlJRrZBnCZMAOdTR-cB3m_LP7Q10Y78meuzUAuIBQ?e=h9aGhi)
Could you please update the link above?

sorry about the late reply. I forgot to update it before, thanks for the check :)


Add option to always add a newline to custom message

I absolutely love this library, but one thing that has been bothering me is that the output is always attached with the stack trace in the output window, something I don't really like.
To remedy this, I have to append a newline (\n) to all my custom messages.
It'd be nice if there was a configuration or perhaps a global static configuration that would allow me to append the newline (or other custom text) to all custom messages.

Something along the lines of:
AssertM.CustomMessageSuffix = "\n";

@silkfire The formatting of message + stacktrace is something that is done directly in the XUnit runner afaik, the only way I see to modify it directly is to add an extra newline to the message itself as XUnit does not support such a behaviour in its formatting. That sounds a bit clunky.
One of the features that wasn't trivial to implement was filtering the XUnitMessages parts of the stacktrace (just like XUnit does with its own stacktrace parts), I might take another look to see if there is a way to get this to work. This might be an opportunity to add such a feature.
Any specific reason you want to have the newline?

It's more of a personal preference of mine. I like when the main message is separated from the rest visually.
I thought this library was in control of the custom message, meaning that it would be easy to add an option for this, although you had to edit a lot of methods to get it to work.
Would be exciting if you could find a working solution for this :)

@silkfire Looking at xUnit, the easiest way to implement what you need in the meantime would probably be:

create a class inheriting from DefaultRunnerReporterWithTypes
override IsEnvironmentallyEnabled => true
override CreateMessageHandler by returning a class inheriting from DefaultRunnerReporterWithTypesMessageHandler
in the handler class override LogStackTrace and prepend the call to the base class with Logger.LogImportantMessage(frameInfo, Environment.Newline)

This will modify the reporter to prepend newlines before reporting the stacktrace. Beware that depending on your environment (TeamCity, ReShaper, etc...) another IRunnerReporter might be active and that approach would not work. Should work in the case of running tests from the console though.

I'm running my tests in ReSharper while developing so that's probably not an option then.


Format conversion from h5ad to RDS

In the tutorial: https://stereopy.readthedocs.io/en/latest/Tutorials/Format_Conversion.html the script points to work branch not the main branch. Please fix this. On main branch there is a file with different name: docs/source/_static/annh5ad2rds.R. Please update the tutorial or file name on the main branch.
Thank you!

Sorry, the h5ad2rds.R exist on main, I did not update local repo. Just link in the tutorial needs an update. Thank you.


Add TextField Widget

TextField widget needs to be added to widget catalog. There should be two tabs within the page, one tab named "Description' to describe the widget and another tab named 'Implementation' to show the implementation of the widget. Please make sure all the implementations are present like number input, password input, etc. Please attach screenshots of your work in the PR.

I want to work upon this issue. Please assign this to me.

@AryanKhubchandani I want to work upon this issue. Please assign this to me.

Sure, Good Luck!


Fix ellipsis

There should be three dots in set up messages. Those two dots bug me surprisingly lot as an OCD person.

Haha no problem, I'll try not to trigger it again!


Swipe gestures

Hi! Your launcher is already quite nice, but I think adding swipe gestures would make it perfect. At least for me. I've seen and used this concept daily in a decluttered launcher, but it breaks all the time and seems abandoned by it's devs.
The feature launches apps of choice when you slide left or right.
What do you think?

Thank you for the suggestion!  I have been considering different ways to incorporate gestures into the interface and this is a good example.
(For reference for me or anyone else who want to pick up and work on this issue, here is the app the OP is talking about: https://play.google.com/store/apps/details?id=com.declutter.adeclutteredlauncher)


openapi.json should not be authenticated

With the latest tenancy changes, /api/v0.1/openapi.json requires the x-rh-identity header, that path is unauthenticated in the Insights gateway, we should update the with_current_request method in application_controller.rb to allow for unauthenticated paths and let that puppy in.

Fixed by:

https://github.com/ManageIQ/topological_inventory-api/pull/180

https://github.com/ManageIQ/topological_inventory-api/pull/180 was merged and this issue is now resolved.


Temporary loading fix

Fixes adonis not loading when players in-game.
Players in-game will have to rejoin.

We have an ACLI loading error [took too long].
The game doesn't load Adonis, and it kicks eventually some people after a certain amount of time and after the admin loads.
I don't know if it is related to Adonis not loading.
Please note that this error still happens after this bug fix.

@ColeWorks how long has the error been happening? I'm thinking I might need to remove the remote rate limiting stuff/set it to zero.

@Sceleratis It has been within the last month.

The change this intends to be fix will be fixed in the next ver


Write a Rust program to find largest number in an array

Description
Write a Rust program to find largest number in an array
Input  : [1, 2, 3, 4, 5]
Output : 5

How to contribute

Save the solution in program/find_largest_number_in_an_array.rs file
Add find_largest_number_in_an_array.rs file in find-largest-number-in-an-array folder

Hey @chinmaykumbhare,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)


feat(dark mode): add dark mode theme provider

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[PE-D] Date time does not have a check to ensure validity

The user can input an invalid date such as 31-02-2022 1000 and the application will accept it as a valid date and time.

and it will simply add the excess dates to the given date.

This is a serious issue as there is the application does not inform the user that they have inputted an invalid date or time. The issue is not only with day but with also the month and time. While testing
addt tn/Meeting dt/17-03-2022 999999999 t/School
This was the accepted task
.
The time value also be taken as a negetive number which leads to this
addt tn/Meeting dt/17-03-2022 -999999999 t/School
.
I am not sure why despite a negetive time the year still increased to 2212, but that is the case.
This is serious bug as there seems to be no check whatsoever on any of the options for date and time.

Labels: type.FunctionalityBug severity.High
original: Halpfrog/ped#5

duplicate


Segmentation fault (core dumped) on Linux Agent

Description
We hit segmentation fault issue recently on random no matter that we use the latest source code or old source code. We googled it and most of comments point to system level issue. We need your engagement.
https://dev.azure.com/azure-sdk/public/_build/results?buildId=805984&view=logs&j=2f953adc-c56d-55c4-a64a-eab7c4b02235&t=fc7ea605-a507-5208-bc88-3e6a658c906b
Area for Triage:

No idea
Question, Bug, or Feature?:

Question
Virtual environments affected

[ ] Ubuntu 16.04
[X] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Image version

Image version where you are experiencing the issue.
Image: ubuntu-18.04
Current agent version: '2.183.1'
Expected behavior
Build csharp project successfully.
Actual behavior
Failed due to segmentation fault
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
https://dev.azure.com/azure-sdk/public/_build/results?buildId=805984&view=logs&j=2f953adc-c56d-55c4-a64a-eab7c4b02235&t=fc7ea605-a507-5208-bc88-3e6a658c906b

Hey, @dingmeng-xue !
We need some time for investigation and will back with details soon :)
Thank you!

@dingmeng-xue have you tried Ubuntu-20 image? Is the issue reproduced there?

No yet. Currently, we only use Ubuntu 18 for Linux build. We still hope to stick to that version.

@dingmeng-xue
I was able to get core dump and investigate it.
It looks the cause of the segfault is some memory block is freed more than once. There're very few chances its origin in the image or .net core.
The backtrace indicates the exception happens in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 which in turn called from /usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.4/libcoreclr.so
@miketimofeev unless there's some changes in libcrypto.so.1.1 i believe the issue should be investigated by .net team
2021-03-30T05:26:57.9386665Z GNU gdb (Ubuntu 8.2-0ubuntu1~18.04) 8.2
2021-03-30T05:26:57.9388245Z Copyright (C) 2018 Free Software Foundation, Inc.
2021-03-30T05:26:57.9391342Z License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
2021-03-30T05:26:57.9392599Z This is free software: you are free to change and redistribute it.
2021-03-30T05:26:57.9393671Z There is NO WARRANTY, to the extent permitted by law.
2021-03-30T05:26:57.9394705Z Type "show copying" and "show warranty" for details.
2021-03-30T05:26:57.9396253Z This GDB was configured as "x86_64-linux-gnu".
2021-03-30T05:26:57.9397289Z Type "show configuration" for configuration details.
2021-03-30T05:26:57.9398308Z For bug reporting instructions, please see:
2021-03-30T05:26:57.9399273Z <http://www.gnu.org/software/gdb/bugs/>.
2021-03-30T05:26:57.9400398Z Find the GDB manual and other documentation resources online at:
2021-03-30T05:26:57.9401492Z     <http://www.gnu.org/software/gdb/documentation/>.
2021-03-30T05:26:57.9402116Z
2021-03-30T05:26:57.9402888Z For help, type "help".
2021-03-30T05:26:57.9403835Z Type "apropos word" to search for commands related to "word"...
2021-03-30T05:26:57.9412060Z Reading symbols from /usr/bin/dotnet...(no debugging symbols found)...done.
2021-03-30T05:26:57.9691950Z [New LWP 3805]
2021-03-30T05:26:57.9693670Z [New LWP 3795]
2021-03-30T05:26:57.9694545Z [New LWP 3794]
2021-03-30T05:26:57.9696327Z [New LWP 3796]
2021-03-30T05:26:57.9699468Z [New LWP 3800]
2021-03-30T05:26:57.9699989Z [New LWP 3797]
2021-03-30T05:26:57.9700331Z [New LWP 3801]
2021-03-30T05:26:57.9706351Z [New LWP 3804]
2021-03-30T05:26:57.9706844Z [New LWP 3809]
2021-03-30T05:26:57.9707274Z [New LWP 3793]
2021-03-30T05:26:57.9707682Z [New LWP 3798]
2021-03-30T05:26:57.9708105Z [New LWP 3799]
2021-03-30T05:26:57.9708524Z [New LWP 3803]
2021-03-30T05:26:57.9708942Z [New LWP 3806]
2021-03-30T05:26:57.9709342Z [New LWP 3807]
2021-03-30T05:26:57.9709764Z [New LWP 3808]
2021-03-30T05:26:57.9710180Z [New LWP 3810]
2021-03-30T05:26:57.9710596Z [New LWP 3811]
2021-03-30T05:26:57.9745642Z [Thread debugging using libthread_db enabled]
2021-03-30T05:26:57.9747186Z Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2021-03-30T05:26:58.6823436Z Core was generated by `dotnet sln /home/vsts/work/1/s/artifacts/Azure.PowerShell.sln add /home/vsts/wo'.
2021-03-30T05:26:58.6824685Z Program terminated with signal SIGSEGV, Segmentation fault.
2021-03-30T05:26:58.6825335Z #0  __pthread_rwlock_wrlock_full (abstime=0x0, rwlock=0x0)
2021-03-30T05:26:58.6825902Z     at pthread_rwlock_common.c:576
2021-03-30T05:26:58.6826628Z 576	pthread_rwlock_common.c: No such file or directory.
2021-03-30T05:26:58.6827216Z [Current thread is 1 (Thread 0x7fe479b88700 (LWP 3805))]
2021-03-30T05:26:58.6827821Z (gdb) #0  __pthread_rwlock_wrlock_full (abstime=0x0, rwlock=0x0)
2021-03-30T05:26:58.6828396Z     at pthread_rwlock_common.c:576
2021-03-30T05:26:58.7191887Z         may_share_futex_used_flag = <optimized out>
2021-03-30T05:26:58.7192858Z         wpf = <optimized out>
2021-03-30T05:26:58.7193483Z         ready = <optimized out>
2021-03-30T05:26:58.7194056Z         r = <optimized out>
2021-03-30T05:26:58.7194700Z         may_share_futex_used_flag = <optimized out>
2021-03-30T05:26:58.7195304Z         r = <optimized out>
2021-03-30T05:26:58.7195867Z         wpf = <optimized out>
2021-03-30T05:26:58.7196427Z         ready = <optimized out>
2021-03-30T05:26:58.7197912Z         __value = <optimized out>
2021-03-30T05:26:58.7198542Z         prefer_writer = <optimized out>
2021-03-30T05:26:58.7199695Z         private = <optimized out>
2021-03-30T05:26:58.7200293Z         wf = <optimized out>
2021-03-30T05:26:58.7200858Z         err = <optimized out>
2021-03-30T05:26:58.7201985Z         w = <optimized out>
2021-03-30T05:26:58.7202579Z         w = <optimized out>
2021-03-30T05:26:58.7203129Z         private = <optimized out>
2021-03-30T05:26:58.7203701Z         err = <optimized out>
2021-03-30T05:26:58.7204776Z         w = <optimized out>
2021-03-30T05:26:58.7205368Z         wf = <optimized out>
2021-03-30T05:26:58.7205908Z         wf = <optimized out>
2021-03-30T05:26:58.7206475Z         __value = <optimized out>
2021-03-30T05:26:58.7209120Z #1  __GI___pthread_rwlock_wrlock (rwlock=0x0) at pthread_rwlock_wrlock.c:27
2021-03-30T05:26:58.7209805Z         result = <optimized out>
2021-03-30T05:26:58.7210357Z #2  0x00007fe47860e989 in CRYPTO_THREAD_write_lock ()
2021-03-30T05:26:58.7211539Z    from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
2021-03-30T05:26:58.7212164Z No symbol table info available.
2021-03-30T05:26:58.7212692Z #3  0x00007fe4785d0013 in RAND_get_rand_method ()
2021-03-30T05:26:58.7213797Z    from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
2021-03-30T05:26:58.7214361Z No symbol table info available.
2021-03-30T05:26:58.7214875Z #4  0x00007fe4785d02f0 in RAND_bytes ()
2021-03-30T05:26:58.7215607Z    from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
2021-03-30T05:26:58.7216151Z No symbol table info available.
2021-03-30T05:26:58.7216652Z #5  0x00007fe47858d49f in ?? ()
2021-03-30T05:26:58.7217360Z    from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
2021-03-30T05:26:58.7217899Z No symbol table info available.
2021-03-30T05:26:58.7218447Z #6  0x00007fe47859ba97 in EVP_CIPHER_CTX_ctrl ()
2021-03-30T05:26:58.7219186Z    from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
2021-03-30T05:26:58.7219707Z No symbol table info available.
2021-03-30T05:26:58.7220594Z #7  0x00007fe4789596b4 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
2021-03-30T05:26:58.7221149Z No symbol table info available.
2021-03-30T05:26:58.7221872Z #8  0x00007fe47894b4fa in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
2021-03-30T05:26:58.7223769Z No symbol table info available.
2021-03-30T05:26:58.7224655Z #9  0x00007fe478945f16 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
2021-03-30T05:26:58.7225237Z No symbol table info available.
2021-03-30T05:26:58.7225758Z #10 0x00007fe4789324c4 in SSL_do_handshake ()
2021-03-30T05:26:58.7226493Z    from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
2021-03-30T05:26:58.7227029Z No symbol table info available.
2021-03-30T05:26:58.7227525Z #11 0x00007fe49ec91343 in ?? ()
2021-03-30T05:26:58.7228193Z No symbol table info available.
2021-03-30T05:26:58.7228686Z #12 0x00007fe479b86d70 in ?? ()
2021-03-30T05:26:58.7229942Z No symbol table info available.
2021-03-30T05:26:58.7230457Z #13 0x00000000000f98f4 in ?? ()
2021-03-30T05:26:58.7230987Z No symbol table info available.
2021-03-30T05:26:58.7232043Z #14 0x00007fe513e11848 in ?? ()
2021-03-30T05:26:58.7232637Z    from /usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.4/libcoreclr.so
2021-03-30T05:26:58.7233216Z No symbol table info available.
2021-03-30T05:26:58.7234204Z #15 0x00007fe479b87c80 in ?? ()
2021-03-30T05:26:58.7234714Z No symbol table info available.
2021-03-30T05:26:58.7235193Z #16 0x00007fe49ed30900 in ?? ()
2021-03-30T05:26:58.7236234Z No symbol table info available.
2021-03-30T05:26:58.7236740Z #17 0x00007fe49ed30900 in ?? ()
2021-03-30T05:26:58.7237246Z No symbol table info available.
2021-03-30T05:26:58.7237724Z #18 0x00007fe479b86d70 in ?? ()
2021-03-30T05:26:58.7242339Z No symbol table info available.
2021-03-30T05:26:58.7245851Z #19 0x00007fe49ec91343 in ?? ()
2021-03-30T05:26:58.7248225Z No symbol table info available.
2021-03-30T05:26:58.7249241Z #20 0x00007fe479b86e00 in ?? ()
2021-03-30T05:26:58.7251192Z No symbol table info available.
2021-03-30T05:26:58.7252669Z #21 0x00007fe49ed309d8 in ?? ()
2021-03-30T05:26:58.7258734Z No symbol table info available.
2021-03-30T05:26:58.7259932Z #22 0x00007fe49ed30900 in ?? ()
2021-03-30T05:26:58.7260595Z No symbol table info available.
2021-03-30T05:26:58.7261218Z #23 0x00007fe47a672ed8 in ?? ()
2021-03-30T05:26:58.7261861Z No symbol table info available.
2021-03-30T05:26:58.7262493Z #24 0x14061d5200000001 in ?? ()
2021-03-30T05:26:58.7263128Z No symbol table info available.
2021-03-30T05:26:58.7263753Z #25 0x0000000000001333 in ?? ()
2021-03-30T05:26:58.7264389Z No symbol table info available.
2021-03-30T05:26:58.7265024Z #26 0x0000000000000000 in ?? ()
2021-03-30T05:26:58.7266045Z No symbol table info available.
2021-03-30T05:26:58.7266640Z (gdb) quit
2021-03-30T05:26:58.7476760Z ##[section]Finishing: Bash

@dingmeng-xue could you please try to use another .net core version? Does it help?

Sure. We plan to try another version of .net core.

After we test dotnet 2.1 in one week, there is no the same issue.

@dingmeng-xue could you address the issue to the .net team then?

Closing the issue for now. Please let us know if you have any concerns and it should be reopened after discussion with .NET team

We're experiencing this.
Run yarn eslint . --ext .js,.ts
yarn run v1.22.17
$ eslint . --ext .js,.jsx,.ts,.tsx --fix . --ext .js,.ts
Segmentation fault (core dumped)
error Command failed with exit code 139.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 139.

name: PR linter check

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the dev branch
on:
  pull_request:
    branches:
      - main
      - master
      - dev
      - stg
      - uat

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "lint"
  lint-check:
    # The type of runner that the job will run on
    runs-on: ubuntu-20.04
    continue-on-error: false

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@master

      - uses: actions/cache@v2
        with:
          path: '**/node_modules'
          key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}

      - name: Install node modules
        run: yarn --prefer-offline

      - name: Lint
        run: yarn eslint . --ext .js,.ts

      # skipLibCheck is temporary because it also excludes our own declaration files
      # https://github.com/microsoft/TypeScript/issues/40426
      - name: TypeScript
        run: tsc --noEmit --skipLibCheck

We use this for PR checks and this happens very often, around 8/10 of the time. Either on the Lint job or the TypeScript job.

+1 Also seeing this on our yarn eslint step. Occurs on ubuntu-20.04 and ubuntu-22.04.
I used mxschmitt/action-tmate@v3 to ssh into the box (after a segmentation fault has occurred) and manually run yarn eslint. I run the command multiple times, one after the other, without changing any code. All runs within the first minute or so will fail with a segmentation fault. After that first minute, running yarn eslintwill succeed and does not segfault.
I'm assuming some race condition resolves???

For anyone else that came across this error we had something similar. What it is, is that your action runner is upgraded to node 20 but action runner packages using are on a prior node version. This causing a segmentation fault as packages are incompatible. Once all aligned on same version should fix


Tab's text on hover in dark mode should not change

In the examples page when it is dark mode, the text on hover becomes white so it's not readable.

Is this bug when you hover on the tab? I could solve it (:

Does this bug happens when you hover on the tab? I could fix it (:

I'd like to try. Thank you

@shahednasser - I am interested on this. Can you assign to me?

@shahednasser - I have fixed issue and raised PR. Can you check and let me know if an concern.
https://github.com/sButtons/sbuttons/pull/1052

Assigning @felops for commenting first


Executor startup broken

Hi,
I just pulled master, and saw that my executor doesn't start up anymore. This executor used to startup until a few weeks back.
E0208 02:08:22.506744   15178 http_transporter.go:128] HTTPTransporter failed to listen: listen tcp4: unknown port tcp4/
E0208 02:08:22.507236   15178 messenger.go:150] Failed to start messenger: listen tcp4: unknown port tcp4/
E0208 02:08:22.507247   15178 executor.go:388] Failed to start executor: listen tcp4: unknown port tcp4/
@vladimirvivien Do you have any suggestions?

I think it's related to now needing to specify the port number https://github.com/mesos/mesos-go/pull/69

@fmpwizard @vladimirvivien Doesn't look right to me. It's not possible to specify a port for an executor as far as i know. The Mesos slave invokes the executor.

@vladimirvivien I think the behavior on #69 should be use the host and port that user has specified but if not, then just bind to random port and listen on all interfaces.

@vladimirvivien ping
I could send you an PR for you to review. This is basically blocking us from using mesos-go for replacing our java based executor.

@diptanu please send PR.

@vladimirvivien Sent a PR your way :)

xref #88


Add e2e test for healthcheck route

Fixes

Related to #4820 by @obulat
Description

This PR adds a simple Playwright test for the /healthcheck route.
Testing Instructions

The CI should pass (or not, if the Nuxt 3 version update broke this route, see this run's log)
Checklist

[ ] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (ov just catalog/generate-docs for catalog
PRs) or the media properties generator (ov just catalog/generate-docs media-props
for the catalog or ov just api/generate-docs for the API) where applicable.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Closing this as the test is added in #4823


RT audio from microphone

Hi,
I know it clears says in the begining of the read.me file that stream-translator transcribes/translates live audio streams from URLs.
But I still wanted to know:
Can it be used to translate/transrcibe real-time audio from the microphone of the system or PC?

Capturing system audio/mic is the simplest way to make a whisper live translation demo, so you can find plenty of projects in the whisper show and tell which are built specifically for that (e.g., https://github.com/Awexander/audioWhisper, https://github.com/davabase/whisper_real_time).
If you want to have the functionality with this repo, someone made a hacky solution here by capturing system audio/mic with OBS and streaming it to a local rtmp server.


remove foreman process manager

We no longer have configuration for ddollar/foreman. instead we are using systemd and containers
Removing it from our product

@kbrock This was never intended to be used for production, and generally being used for development environments, specifically to run in a sort of "spartan mode".
Also, as a result, I was relying on it for running in CI for integration tests (never finished):
https://github.com/ManageIQ/manageiq/pull/20350
So removing it would mean I would need something else to manage a few lightweight processes that doesn't require DRb and isn't super chatty (like MiqServer).

We no longer have configuration for ddollar/foreman

I'm not sure I follow....foreman is most definitely a way that developers run workers.

We no longer have configuration for ddollar/foreman

Don't we still have Procfile.exampe?

Also https://github.com/ManageIQ/guides/blob/master/developer_setup/foreman.md

thanks Nick.
Seemed like a quick delete.
Glad you are using it. good stuff


ZeroDivisionError when calling 'MediaDownloadProgress.progress'

Steps to Reproduce
Have an empty Google Sheets file, and obtain it's id
Then the following code will fail with the ZeroDivisionError
   request = service.files().export_media(
            fileId=file_id,
            mimeType='text/csv')
    downloader = googleapiclient.http.MediaIoBaseDownload(out_stream, request)
    done = False
    while not done:
        status, done = downloader.next_chunk()
        print("Download %d%%." % int(status.progress() * 100))

Explanation
The reason is that empty file will return empty 'content-range' header. So in the MediaIoBaseDownload.next_chunk() the self._total_size will be set to 0.
Further down the line, the method `MediaDownloadProgress.progress' has these lines:
if self.total_size is not None:
      return float(self.resumable_progress) / float(self.total_size)
else:
      return 0.0

Note that self.total_size is not None returns True for self.total_size == 0

Thanks for reporting. We will look into this.

@amamaenko thanks for reporting! @lukesneeringer I just added PR fixing this issue.

Thanks @andrewnester!


Create separate navbar design components for workers, admins, clients

Workers, admins, and clients should have different links in their navbars. We need to add these 3 different navbars to our design system and update them in all of our designs to be consistent.

[ ] Add admin navbar to design system and update in all designs @scye09
[ ] Standardize worker navbar, add to design system and update in all designs
[ ] Standardize client navbar, add to design system, and update in all designs


No early out for velocity iterations.

There's an early out for position iterations. Make similar for velocity iterations.

Done with commit 04f9188c47961cafe76c55eb6b766a608593ee08 .


Build spark as OSGi bundle.

This little change to the pom.xml builds the JAR as an OSGi bundle so people can deploy spark in OSGi containers.

duplicate of #244


Alcatraz not work properly with Xcode 6.3.2

Sometimes Alcatraz will crash

Please narrow down the crash and send us reproduction steps.
You can get the crash log with running tail -f /var/log/system.log | grep Xcode.


sleep data?

great plugin thank you.  is adding sleep data on the roadmap?

Thank you for your interest in the plugin. What sleep-data would you need? Just daily summaries in the form of hours of sleep per day, or more detailed info like different sleep-phases?

hi, interested in using as well.  stages would be great as well as amounts


Image blurred while setting handleRotatable to true. Also, gradient slider changes bar color completely.

@ThunderStruct ,
Thanks a ton for your instant reply and solution regarding handleRotatable.
The image has started rotating but that has somehow blurred the image completely and while the handle is being moved, the image's height grows smaller and bigger.
I'm attaching a few screenshots and a dropbox link for a video which show this behaviour. Could you please look into that and see why that is happening or what I need to change for that?

Video: https://www.dropbox.com/s/9vtyz4n3vjzdeay/CircularSliderDemo.mov?dl=0
Also, you see, in the above demo example images, as the value increases, the whole bar color changes. Instead, the actual color should persist and only the color at the handle position should appear.
Kind of like so...

Thanks again!

I believe the issue is caused by the handle image's frame failing to rotate because the corners of the image get clipped as it rotates. The image rotates, but its opposite corners become constricted by the frame hence it being blurry.
A non-optimal workaround that might work for others is to surround your handle image with 20 or so px of transparency. My track width is also set to 15px so it might differ based on that.
My handle image is square with rounded corners with the following dimensions 138x138 (actual handle) with the file dimension of 158x158.


OR includes the "abstract" class

Structure looks like:

This should mean (or at least, it is expected) that we have 4 options, all include "doručovací místo".
However, in fact, we have 5 options, where there can be the generic "osoba" with only "doručovací místo".
Maybe this should be configured as well? Whether the or should or should not allow the abstract class?
Because when this is later referenced, it looks like this:
 <xs:choice>
    <xs:element ref="osoba"/>
    <xs:element ref="právnická_osoba"/>
    <xs:element ref="fyzická_osoba"/>
    <xs:element ref="podnikající_fyzická_osoba_zapsaná_v_or"/>
    <xs:element ref="podnikající_fyzická_osoba_nezapsaná_v_or"/>
</xs:choice>

so it includes the generic class.

However, here we have a workaround - put "doručovací adresa" in each of the children. That may be desirable also so that it is "near" the other person address.


Code of Stable3 medium released ??

Hi!
I saw news that stability ai released their Stable 3 medium.

https://stability.ai/news/stable-diffusion-3-medium

Any plans to release code ??

i could have sworn i heard / saw repeatedly that SAI CEOs and staff have been saying SD3 will be open-source release.
can you release your canonical training code? this thing is pretty useless as it is, without 100s of hours of tuning.


Music encoder checkpoint?

Hi,
Could you share the checkpoint of the music encoder? Thanks!

Hi, you can download the checkpoints at https://drive.google.com/drive/folders/18EUUx-KT9xGJ1uq2UoOgj0X9BpngNn_T?usp=sharing.

Thanks a lot!


Elro K1 connector is not connecting to HA #17

Show exception information in fire_alarm_demo
Check command result for ST_answer_OK message and continue before checking if the result is valid JSON

Version 0.1.14 of ha-elro-connects was released that contains this fix. It should be available for download via HACS.

@jbouwh Hi Jan, I installed the latest release and the integration is working for me now, I can see the fire alarms and the wall plug I set up. I ran into two errors before, the one mentioning the missing quotes and an empty one, haven't seen them reappear after installing the latest release.

That is very good news. BTW Just released an update to support are and entity name translations.


Allow logstream to only ship statsd metrics

We are looking to migrate pushing our logs to The GDS Way (tm) sanctioned SaaS ELK provider. We are accomplishing this using Filebeat (fb624f2fc351e9bffa81b5e76733b80cc538fc2f) rather than Logship.
We use Logship to also ship statsd metrics and timers for applications based upon application log files.
During our migration phase, we do not want to disrupt sending of the metrics, but we do want to turn off any infrastructure related to our current ELK stack.
This commit adds a conditional that can be set globally to override the defined type, and adds a template which only ships statsd metrics.
It also adds tests which rely on setting some additional hiera config in the spec tests.

I've tested this in AWS, and it seems to do the right thing 🎉


Add option in template xcconfig to generate TypeScript declarations and debug metadata

@fealebenpae I've addressed your comments.


jailbreak-cabal is broken in release-14.12

I'm not quite sure whether I did anything wrong, but this seems to have something to do with the recently updated revision
/srv/projects/nixpkgs-release-14.12 nix-build ./default.nix -A haskellngPackages.jailbreak-cabal --show-trace --verbose
evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/derivation.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/all-packages.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/adapters.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/trivial-builders.nix’
evaluating file ‘/home/phunehehe/.nixpkgs/config.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/default.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/trivial.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/lists.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/strings.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/strings-with-deps.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/attrsets.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/sources.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/options.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/types.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/meta.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/debug.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/misc.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/modules.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/systems.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/customisation.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/generic/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/haskell-ng.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/servers/x11/xorg/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/hackage-packages.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/configuration-common.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/desktops/gnome-2/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/generic-builder.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/ghc/7.8.4.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/ghc/7.4.2-binary.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/platforms.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/lib.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/gcc-wrapper/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/binutils/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/common.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/gcc/4.8/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/cloog/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/isl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libelf/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/zlib/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gtk+/2.x.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/servers/x11/xorg/overrides.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/misc/cups/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/misc/coreutils/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/acl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/shells/bash/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/shells/bash/bash-4.3-patches.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/parsing/bison/3.x.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/gnum4/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/bootstrap/x86_64.nix’
|   evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/bootstrap/i686.nix’
evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/fetchurl.nix’
evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/config.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/patchelf/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/fetchurl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/fetchurl/mirrors.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/os-specific/linux/paxctl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/os-specific/linux/kernel-headers/3.12.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/interpreters/perl/5.20/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/platforms.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/xz/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/texinfo/5.2.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/system/which/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gettext/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gmp/5.1.x.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/mpfr/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/mpc/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/gzip/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/bzip2/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/attr/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/diffutils/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/misc/findutils/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gawk/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libsigsegv/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/build-managers/gnumake/3.82/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnused/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/archivers/gnutar/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnugrep/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/pcre/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnupatch/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/applications/editors/ed/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/common-path.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/networking/curl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/openssl/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libssh2/default.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/locales.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gmp/4.3.2.nix’
evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/ncurses/default.nix’
derivation is /nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv
these derivations will be built:
  /nix/store/a446vf31pcsaqdw62xmckzhcc02jwqwa-jailbreak-cabal-1.1.tar.gz.drv
  /nix/store/mn8mcll0ypq0izskklwnn8xwiyibj576-jailbreak-cabal.cabal.drv
  /nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv
building path(s) ‘/nix/store/5smjhv0kz63142k3ki2il3vj8rxiby5d-jailbreak-cabal-1.1.tar.gz’

trying http://hackage.haskell.org/package/jailbreak-cabal-1.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1688  100  1688    0     0   3408      0 --:--:-- --:--:-- --:--:--  3408
scanning for references inside ‘/nix/store/5smjhv0kz63142k3ki2il3vj8rxiby5d-jailbreak-cabal-1.1.tar.gz’
building path(s) ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’

trying http://hackage.haskell.org/package/jailbreak-cabal-1.1/jailbreak-cabal.cabal
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   935    0   935    0     0   3682      0 --:--:-- --:--:-- --:--:--  3755
scanning for references inside ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’
output path ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’ should have sha256 hash ‘1rw7hc5czd3avz1jxng2rcc04mx39wbk7b0f6ip7nqxjq34m3qkz’, instead has ‘09aq9gj1b5mb28hk4nbm15wps5zmsmdsicksai4fvyc8zl7fps63’
cannot build derivation ‘/nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv’ failed

Fixed by https://github.com/NixOS/nixpkgs/commit/ec2ca3183dd59df281e2b1be17f15a6027fce126.

Thanks!


Resizing Chartist svg height

Hi!
We are currently working on a feature that allows the user to rotate the labels 45 degrees. For this purpose, we would need to resize the height of the whole svg element, which is currently set to 100% (multiline labels are cutted of). So we need more space at the bottom for our labels? Is there a nice way to achieve this? i have tried various ways, but i don't want to lose responsiveness of the 100% height property.
Thanks! George

Hey there! You can use regular CSS3 transforms to displace and rotate the labels. Labels are spans inside of foreign objects where the foreign object width and height will determine if the text in the span will wrap or not. By default Chartist sets the foreign object width to the gap between two grid lines on the X-Axis. You can modify that behavior by using the draw events of Chartist. The following example sets the foreign object width to something fixed and lengthy so that the containing spans don't wrap. Don't forget to set the transform-origin property so that the rotation is made at the start of the label. Also include a margin-bottom on your chart so you can reserve the space used by the transformed labels:
http://jsbin.com/zabewa/1/edit?html,css,js,output

Thank you very, very much! I will try that today. At the moment, i used the transform attribute of the foreign object to rotate the labels - is it better to use CSS3 transforms?

Hey there. As browser support should not be an issue for you (IE9+) I'd use CSS3 transforms as they separate your Chart information from the appearance. You could easily use the same chart again and just display it differently using CSS. SVG transforms have a bit better browser support I guess (old android, FF and Chrome) but you'll put them onto your SVG which kind of breaks the separation of concerns.

I'm closing this issue for now. Please re-open if you have any other concerns.

Hey there,
I have this example, http://jsbin.com/ratenisabe/1/edit?html,css,js,output .
It works well in chrome, but not in Firefox and IE10.
In Firefox the labels are cut and do not see all the text.
In IE10 the labels do not turn.
My changes:
.ct-chart .ct-label.ct-horizontal {
font-size: 12px;
text-align: top;
display: inline-block;
transform-origin: 0% 0%;
transform: rotate(90deg);
-ms-transform: rotate(270deg);
-ms-transform-origin: 0 0;
}
Any help?
Thanks! Plácido

Hi there
I have some date labels and other graphs with text labels - and I only want to rotate the text ones.  Is there a way to do this in "options" that you send Chartist?  ie, rotateLabels: 45%

@gionkunz your labels are displaced in Chrome when zoom level is changed.


Education level and partner probability

Accommodating multiple years of education mapping to one education level in determining partner arrival probability.

@peisenha can you merge it as well. It's blocked for me!


updated async-faiss example

The original notebook has the faiss title which is duplicated in thefaiss.jpynb. As a result, we have two faiss items in the vectorstore ToC. And the first item breaks the searching order (it is placed between A... items).

I updated title to Asynchronous Faiss.

@efriis What if I copy the asynch_fai content into the faiss with correspondent heading? IMO asynchronous code is kind of important and can be referenced when we learn asynchronous usage.

I think it will look very redundant. If you look at the diff between the two files, they look almost identical

If you do want to keep them separate, maybe name this one "FAISS (Async)" so they appear next to each other in the sidebar?

I like idea with "Faiss (Asynch)". It is fast to switch and easy to reference.

Thanks for fixing!


Make tenant groups optional

Inspired by this comment.
Currently, every tenant must be assigned to a tenant group. There is no real justification for this mandate; it should be fine to have ungrouped tenants as well.

I want to be able to disable tenant groups altogether. I can defiantly see the benefit of it for a lot of dc's but some of us want to hide the unwanted features.


[FLINK-6876] [streaming] Correct the comments of DataStream#assignTimestampsAndWatermarks

This PR corrects the comments of DataStream#assignTimestampsAndWatermarks.
Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Looks good to me. +1

Good catch! The comment same as DataStream.java.
+1 to merged.

merging...


Jump Search

Submission Title
Jump Search
Submission Type
Search Algorithm
Submission Description
Jump Search is a search algorithm for searching an element in a sorted array by ‘jumping’ fixed number of elements every time instead of searching all of them (like linear search).
Contributors

[ ]  C++ -
[ ]  C -
[x]  Python -
[ ] Java -
[x] JavaScript -
[x] TypeScript -
[x] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[x] C# -

can you assign this issue to me?

Can you assign this to me?

I will implement it in python3

Hi @kaggrwal , please mention your preferred language.

I'll do it java

I have made a PR can you please check by mistake I have not named the branch with my username

I will do it in C++. Can you assign me this issue?

@megabyte98
I think you have added wrong issue number, please check again.

I would like to work on this issue. I will use C language to solve this issue. can you please assign me with this issue? Thank you.

@rushitote  issue number 143 correct

@megabyte98
You have linked issue 23.

I have made that change

Thanks @rushitote :)

I would like to work on this issue. I will use Java to solve this issue. can you please assign me with this issue? Thank you.

@ahampriyanshu Can you assign me to do it in Java or python

thanks @everyone :v:


Counting CPU cycles with DWT->CTRL does not match expectations

This programme counts CPU cycles during uBit.sleep(1000), so at 64 MHz it should return around ~ 64M, however it returns ~11M:
MICROBIT.hex.zip
#include "MicroBit.h"

MicroBit uBit;

static inline void start_ticks_cpu() {
    CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk;
    DWT->CYCCNT = 0;
    DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk;
}

static inline uint32_t ticks_cpu() {
    return DWT->CYCCNT;
}

int main() {
    uBit.init();

    start_ticks_cpu();

    while (true) {
        int32_t ms_start = uBit.systemTime();
        int32_t ticks_start = ticks_cpu() & 0x7FFFFFFF;
        uBit.sleep(1000);
        int32_t ticks_end = ticks_cpu() & 0x7FFFFFFF;
        int32_t ms_end = uBit.systemTime();
        uBit.serial.printf("diff: %d (start[%d] end[%d] total_ms[%d])\n",
            ticks_end - ticks_start, ticks_start, ticks_end, ms_end - ms_start);

        if (uBit.buttonA.isPressed()) {
            uBit.radio.enable();
            uBit.serial.send("radio on\n");
            uBit.sleep(1000);
        }
        uBit.sleep(100);
    }
}

Pressing button A runs uBit.radio.enable(), which switches to the high precission crystal, which affects the result slightly, but not by much:
diff: 10985466 (start[149980986] end[160966452] total_ms[1000])
diff: 11007362 (start[162471352] end[173478714] total_ms[1000])
diff: 11039938 (start[174988106] end[186028044] total_ms[1000])
diff: 11044228 (start[187496056] end[198540284] total_ms[1000])
radio on
diff: 11208778 (start[211322670] end[222531448] total_ms[1000])
diff: 11205384 (start[224039870] end[235245254] total_ms[1000])
diff: 11149570 (start[236786282] end[247935852] total_ms[1000])
diff: 11205105 (start[249466406] end[260671511] total_ms[1000])

Okay, this is slightly weird, I noticed that when the micro:bit is flashed via OpenOCD it does seem to work, and it also does when connecting and disconnecting:
$ openocd -f interface/cmsis-dap.cfg -f target/nrf52.cfg -c "init; shutdown;"

...
diff: 11198902 (start[761281722] end[772480624] total_ms[1000])
diff: 11199174 (start[773989318] end[785188492] total_ms[1000])
diff: 35598946 (start[786721810] end[822320756] total_ms[1000])
diff: 63999834 (start[829232922] end[893232756] total_ms[1000])
diff: 63999770 (start[900144922] end[964144692] total_ms[1000])
diff: 63999746 (start[971056946] end[1035056692] total_ms[1000])
diff: 63999758 (start[1041968934] end[1105968692] total_ms[1000])
diff: 63999774 (start[1112880930] end[1176880704] total_ms[1000])
diff: 63999774 (start[1183792930] end[1247792704] total_ms[1000])

As mentioned in https://github.com/microbit-foundation/micropython-microbit-v2/issues/179#issuecomment-2042706755, the reason the cycles count is lower is because the CPU goes to sleep with uBit.sleep() and it only counts cycles while it's running.


Add toolbox script to capture GPU Operator deployment state

/approve

/test gpu-operator-e2e

/hold

/test gpu-operator-e2e
@ArangoGutierrez this version shouldn't have changed much since the one you acked, I only fixed run after gpu-burn was merged

/test gpu-operator-e2e

rebased and fixed a rebase mistake:
-        exit 0toolbox/gpu-operator/capture_deployment_state.sh
+        exit 0

/test gpu-operator-e2e

/test gpu-operator-e2e

/lgtm

/hold cancel


the listener pass rowdata only to handler

the listener pass rowData only to handler, it's not enough to build a sql

you can use annotation @InsertListenPoint , @UpdateListenPoint ...


[DOCFIX] Improve GCE docs

Improve GCE docs

Fix docs

@aaudiber

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/20311/
Test PASSed.


TinyMCE Plugin

A TinyMCE Plugin would be handy for DynamicElements. It would get at the heart of what package is about, extending back end features to front end curators. Suss out whether this would be in the projects scope.
https://www.tiny.cloud/docs/advanced/creating-a-plugin/

DynamicElements are now Components.
The implementation of TinyMCE is outside the scope of this package. The only question is whether components design should be considerate of TinyMCE module plugins.

Outside scope of LHTML processing


fix: push API's bug

fix: #174

@kiibo382
What's the bug? 🤔

Oh, sorry.
I forgot to import the push API.

@kiibo382
I see. Thanks!


Additional Scenarios: Users have all the ML scenarios they need through ML.NET and AutoML

Not sure what this is tracking.


Confusion while reading the statement related to Geo restore RPO

In the document in one place we have written up to one hour in one place and equal to one hour in other.
https://docs.microsoft.com/en-us/azure/azure-sql/database/recovery-using-backups#geo-restore
There is a delay between when a backup is taken and when it is geo-replicated to an Azure blob in a different region. As a result, the restored database can be up to one hour behind the original database
https://docs.microsoft.com/en-us/azure/azure-sql/database/recovery-using-backups#geo-restore-considerations
It relies on automatically created geo-replicated backups with a recovery point objective (RPO) equal to 1 hour and an estimated recovery time of up to 12 hours.

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

ID: de79f464-39dc-a5ad-0d9d-fab2ed248222
Version Independent ID: 6cf17fc7-3bdd-c419-8d9d-7d3067bb86ae
Content: Restore a database from a backup - Azure SQL Database & SQL Managed Instance
Content Source: articles/azure-sql/database/recovery-using-backups.md
Service: sql-db-mi
Sub-service: service
GitHub Login: @anosov1960
Microsoft Alias: sashan

@JJ
Thanks for the feedback! We are currently investigating and will update you shortly.

@SudheeshGH The RPO is an hour for a Geo Backup copy but when you restore it you can get the restored DB with a state which can be any where between 1 min to 60 min data loss. It will be not be more than 60 min.
e.g. You have US West as your primary region and US east as secondary. A Geo Restore happened at 1 PM pacific time. And your Primary DB failed at 1:15 pm, you will have a loss of 15 min.
If your DB failed at 2:20pm, it will not mean you will get 1 hr 20 min of data loss because of RPO = 1 hour and at 2 pm another Geo Restore copy would have happened.
Here are few other documents to read further regarding this:
GeoRestore1
GeoRestore2

@NavtejSaini-MSFT  , Sorry i could not understand how we have give <1 hour . At any time if we look at the time stamp of backup available it will be 1 hour back . Say if current time is 2 AM UTC the available timestamp will show 1AM , if it is 2:10AM it will show 1:10AM, SO RPO is always equal to one hour and cannot be less than one hour . Please correct if my understanding is wrong.

@NavtejSaini-MSFT  : I did further test this and found that the timestamp shown while we select the backup is always shows one hour behind the current time , but when you restore the data it is having data 2-5 minutes from the current time. So the Up to 1 hour stands correct but the statement ". It relies on automatically created geo-replicated backups with a recovery point objective (RPO) equal to 1 hour" should also be changed to ". It relies on automatically created geo-replicated backups with a recovery point objective (RPO) equal to or less than 1 hour" . Also the timestamp in the backup specified is also not  specifying the restore timestamp of database when database is live, and will stand correct (Post One hour) when the database is deleted . The customer are raising concern over this confusion. If we can get the document correct or clarified it would be help on 1) What is the RPO  2)What is the timestamp we see at the time of selecting the backup.

@SudheeshGH Thanks for the extensive feedback. Let me add the document author to this thread to add clarity to this topic.
@anosov1960 Please provide clarity regarding the RPO and help edit the document as well.

#reassign: @MashaMSFT
I think there is enough feedback to document it. The original content is not  incorrect. Perhaps we just need to use a consistent language re RPO.

#reassign: @Sait-MSFT

#reassign: BustosMSFT

@anosov1960 thanks for the feedback, I am checking all documentation regarding the RPO for Geo Backup to make sure is consistent.

@SudheeshGH thanks for the feedback, an adjustment was made to the documentation to keep the terminology consistent
("up to 1hr") the change will be reflected shortly. we'll keep reviewing the consistency in this regard.
#please-close


[Bug]: Fix documentation

What happened?
Screenshots on Filament website not showing
How to reproduce the bug
Check Filament website
Package Version
1
PHP Version
n/a
Laravel Version
n/a
Which operating systems does with happen with?
No response
Notes
No response

Thanks for the info, we'll fix it with the next release. It's an issue we have with multiple of our plugins.

+1


Warning when run the demo

Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of Form. See https://fb.me/react-warning-keys for more information.

Thanks for the report. This was fixed a while ago. I think the demo just needs to be deployed


feat: hall of fame

Adds the Hall of Fame page.

Codecov Report

Merging #44 into master will increase coverage by 0.28%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   73.04%   73.33%   +0.28%
==========================================
  Files          73       75       +2
  Lines         846      855       +9
  Branches       50       50
==========================================
+ Hits          618      627       +9
  Misses        206      206
  Partials       22       22

Impacted Files
Coverage Δ

...all-of-fame/hall-of-fame/hall-of-fame.component.ts
100% <100%> (ø)

src/app/hall-of-fame/hall-of-fame.service.ts
100% <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 acde469...a2581eb. Read the comment docs.


How to efficiently save a collection (why no save())?

Say I have a bikes collection consisting of 30 bikes.  In my application the bikes are listed and the user can drag-n-drop the bikes up or down in the list to sort them to their liking.
Each bike has "sortpos" property to indicate its position in the list.  If a user drags the bike in position 1 down to position 30, it now has sortpos 30 and every bike before it will have their sortpos shifted by -1.
My question is, how can I handle $save()'ing all of this to the server without generating 30 PUT requests that flood the server and slow the app?  It seems like I should be able to do a single "bikes.$save()" PUT to "/bikes" with the body being an array like [{id:1,sortpos:30},{id:2,sortpos:1},{id:3,sortpos:2}...] -- (instead of 30 separate "bike.$save()" PUTs to "/bikes/id" {sortpos:pos})  ?

Why not just extend Collection Api?
If you'd like you can always dispatch manually hooks in saveAll()
return restmod.model('http://api.com/bikes', {
    $extend: {
      Collection: {
        saveAll: function() {
            // iterate over collection, build data, send put, return promise?
        }
    }
  });

Support for bulk operations is planned for 1.2 as a bundled plugin, you could take part on the discussion in #80.


MacOS Installer not working

I have downloaded the MAC OS installer from https://dclvtubing.app/
After unzip, when I try to open the application i get an error "DCL_Vtubing" is damaged and can't be opened. You should move it to Trash.
Using macOS Monterey on 2019 Intel Macbook Pro

This is because the app is not an official app within the Apple store, however you can follow these steps to open it and give it permissions.
https://www.youtube.com/watch?v=ZH8_XHzkKD4


Solve [Docs] Extra whitespace in code terminals #9913

Notes for Reviewers
This PR fixes #9913
This extra space is causing for a not useful div container in "meshery\docs\pages\installation\quick-start.md" file. I just remove this div and it solved.
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 29feca4cf0c90762ae01373eb2b72cc3ae1a6700 at: https://659ff9562fa0281a85c32178--meshery-docs-preview.netlify.app

🚀 Preview for commit 29feca4cf0c90762ae01373eb2b72cc3ae1a6700 at: https://659ffacb76b7e11beca63131--meshery-docs-preview.netlify.app


Option to check Style/YodaCondition only on equality operators

I find the following method to write compares with numeric values a very natural way to read/write:
if 3 < a
if a < 5
if 3 < a && a < 5

The YodaCondition cop triggers on the 3 < a syntax. The suggestion/autocorrection for the last one is a > 3 && a < 5 which I think is an unnatural way of expressing a value between 3 and 5 (IIRC "Code Complete" mentions this as well) (using Range#cover? would make it a bit more readable)
So in short, I'd like a config option for the YodaCondition cop to warn me against 1 == a and 1 != a, but leave <, <=, > and >= alone.

RuboCop version
$ rubocop -V
0.49.1 (using Parser <IP_ADDRESS>, running on ruby 2.3.3 i386-linux-gnu)

Sounds reasonable to me.

I'll try to take a look on that. Never worked with Cop configuration before. Could be a good learning curve for me.

Grammatically it has the same problem. For example asking "is zero higher than the temperature?" instead of "is the temperature below zero?" 🙂
I'm not opposed to the feature, though. I think it's a reasonable level of configuration. 🙂


How low is seek time with "seek time emulation" off?

Dear Igor,
I started using the updated driver and made audio tracks for looping seemlessly, but on MegaEDpro there is still a gap when audio is looped.
Here's an example: https://github.com/ArcadeTV/msu-md-flintstones
With the patched rom and corresponding soundPack enter Options/Sound Test and listen to No. 14 (short track, easy testing)
Thanks again for making all this possible!

I turn off STE like this:
MCD_STAT        equ $A12020             ; 0-ready, 1-init, 2-cmd busy
MCD_CMD         equ $A12010
MCD_ARG         equ $A12011
MCD_SEEK	equ $A12012
MCD_CMD_CK      equ $A1201F

    move.w  #($1600|1),MCD_CMD          ; seek time emulation switch
                                        ; 0-on(default state), 1-off(no seek delays)
    addq.b  #1,MCD_CMD_CK               ; Increment command clock

Any objections?

Dear Igor,
I started using the updated driver and made audio tracks for looping seemlessly, but on MegaEDpro there is still a gap when audio is looped.
Here's an example: https://github.com/ArcadeTV/msu-md-flintstones
With the patched rom and corresponding soundPack enter Options/Sound Test and listen to No. 14 (short track, easy testing)
Thanks again for making all this possible!

seek time should be not more than 1/75 of sec if emulation turned off

Thanks, then I must have made a mistake somewhere.
If I can't get it working I will have to revert all the latest soundPacks to "fade out" style.
move.w  #($1600|1),$A12010 is correct and can be called any time?

move.w #($1600|1),$A12010 is correct and can be called any time?

looks correct. can be called any time