Show a dummy title to allow clicking to access posts that consist solely of non-printing characters

Just now, we had a spate of spam posts whose titles consisted solely of soft hyphens, which are non-printing characters. This meant that in the messages posted by SmokeDetector, the link to access the post on the site simply would not render, leaving no way to access the actual post.
Can we make it so that if a post's (or parent question's) title consists solely of characters that will not display, leading to a blank link, the title will not show, but instead a dummy title like consists only of non-printing characters shows up (in the same manner that we post a dummy title for offensive titles)? This will allow a clickable link to the post.

It will be difficult for SD to determine that the browser will render the title with zero, or very little, width. From SD's POV, that title has 27 characters, which it did include in its report message. In order to determine that the link is not going to be displayed with enough width to be clickable, SD would need to know all possible ways for someone to include characters which will render with little of no width. It's possible to know some of the more common ways that the OP might do this with titles, but a complete solution is difficult.
OTOH, it's relatively easy for a userscript to determine that the width of the link is "too narrow" (i.e. below some threshold). I already have something prototyped which does this for MS. It would be not that much work to have it done by FIRE or AIM.
Would a userscript solution be acceptable?

Another workaround of course is to click through to the metasmoke report, then click "Visit on site" there. It's clearly not very elegant, but when workarounds exist and the logic is already complex (in the opposite direction, to make sure the message isn't too long for chat) I would be disinclined to put in additional handling for a marginal case like this.

Maybe we can consider to unconditionally display a dummy title, like this:
[ SmokeDetector | MS ] Reasons (Weight): Title of the post [visit] by Author on Site
where [visit] would be the dummy title.

[This comment is copied from my comment on the above PR.]
Having SD add something to every report to compensate for this issue is noise on 99.99% of reports.
The overall issue actually affects us in two general places: SD's chat reports and on MS (on post pages and in post listings on multiple pages).
This is something which is easily handled in a userscript, or in JavaScript running on MS1, but is annoying to compensate for by adding something to every single reported post, just to save people from having to first click to MS to get a link to the post on SE, particularly when they only need to do that 0.01% of the time.
It would be possible for SD to take a SWAG at determining when it needs to add something to chat reports, but it's not going to be 100%.

I have code in a userscript I use for MS which does this. My intent with the userscript is to test things there and then move them onto MS. I've been ... slow ... to actually get things moved to MS. It feels like every time I take some time to get something accomplished, there's yet another fire that develops somewhere.


Add ClockwiseSweepPolygon to Foundry VTT V9.236

types: VertexMap, EdgeSet, ClockwiseSweepPolygonConfig
new class ClockwiseSweepPolygon

Done.


run time error

!source venv/bin/activate; python guide_gligen.py --ckpt /content/gdrive/MyDrive/gligen/attention-refocusing/d_pyt.bin --file_save /content/gdrive/MyDrive/gligen/attention-refocusing/generated_imgs  --type counting --box_pickle /content/gdrive/MyDrive/gligen/attention-refocusing/data_evaluate_LLM/gpt_generated_box/counting.p

I believe that there are something wrong with GLIGEN model, you should check model weight, is it completely downloaded ?


identify LEGO App blocks

There are lots of blocks in the App. I understand the purpose of most but there a few I am not sure (having a small phone instead of a  tablet doesn't help).
Even when knowing the purpose of a block, I don't know the proper way to refer it unless call it "the 13th orange block from the left".
I have put a few screenshots in [this folder] (https://github.com/JorgePe/BOOSTreveng/tree/master/LEGO_BOOST_App_blocks) and I was thinking on creating some kind of page with an explanation of all blocks.

You can contact Lego Customer Service and ask for a "Block cheat sheet". They're working on making it available on their support website, and they were kind enough to send me an early version (0.03). They did ask me not to share the pdf, unfortunately. I don't know if they are willing to share more technical data. They did hint that there was more Boost to come.
The blocks you uploaded are:
ColorSensor_continuous.png = REPORT CURRENT COLOR SEEN BY SENSOR
ColorSensor_light.png = REPORT CURRENT AMBIENT LIGHT LEVEL
DistanceSensor_continuous.png= REPORT CURRENT DISTANCE FROM SENSOR
ExtMotorRotation.png = REPORT CURRENT EXTERNAL MOTOR POSITION
RGB_LED_color.png = SET HUB LIGHT TO COLOR
Frans

Thanks!

Thanks for the tip. Got v0.04. Now I undestand some commands ike "reset encoders".


Add tck delete

/test tck

/abc

/abc

this is a test

    ```
    this is a test
    ```

abc

/test ?

/test ?

/test ?

/test ?

/test ?

Available test commands as below:

Available test commands as below:

Available test commands as below:

Available test commands as below:

Available test commands as below:

Available test commands as below:

Available test commands as below:

Available test commands as below:

/test ?

Available test commands as below:

/test abc

Cannot run this test task, available test commands as below:

/test abc

Cannot run this test task, available test commands as below:/test tck

/test abc

/test abc

Cannot run this test task, available test commands as below:
/test tck

/test tck

Begin tck test task.

/test ?

/test tck

Available test commands as below:
/test tck

Begin tck test task.

/test tck

Begin tck test task.


Text Components Positioned with bottom: 0 Gets Hidden Behind Navigation Bar on Android Devices

Description
Description: When positioning a Text component at the bottom of the screen using position: 'absolute' and bottom: 0, the component gets hidden behind the navigation bar on Android devices that have a bottom navigation bar. This makes the content inaccessible or invisible to users.
Steps to reproduce

Create a simple React Native application with a View container that occupies the full screen.
Add a Text component inside the View with position: 'absolute' and bottom: 0.
Run the application on an Android device with a bottom navigation bar.

React Native Version
0.75.2
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 14.6.1
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 1.35 GB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.5.1
    path: /usr/local/bin/node
  Yarn:
    version: 3.6.4
    path: /usr/local/bin/yarn
  npm:
    version: 10.8.2
    path: /usr/local/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/apple/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2411.12169540
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 3.0.0
    path: /Users/apple/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.2
    wanted: 0.75.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs
logs

Reproducer
https://github.com/softgenicsShubham/react-native-reproducer.git
Screenshots and Videos

@softgenicsShubham Can you update your screenshot. It's not visible I guess.

@softgenicsShubham Did you tried useSafeAreaInsets from react-native-safe-area-context?

@shubhamguptadream11
Yes, but I think that's a different thing. Even if you notice the warning or error messages generated internally, they still appear behind the navigation bar, which was not the case previously.
And, it's not suitable for me because I also need the height of the status bar.

What if you provide flex:1 to parent view instead of width and height? Since you are covering full screen only.

That doesn't affect anything.

Can you try this code once.
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'

const { width, height } = Dimensions.get('screen')

const App = () => {
  return (
    <View style={{flex: 1 }}>

      <Text
        style={{
          position: 'absolute',
          bottom: 40
        }}>
        Another text
      </Text>

      <Text
        style={{
          position: 'absolute',
          bottom: 0
        }}>
        App
      </Text>
    </View>
  )
}

export default App

const styles = StyleSheet.create({})

Above code will Work, But i have to keep the status bar hidden.
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { setHidden } from './src/native_modules/NavigationColorModules'

const { width, height } = Dimensions.get('screen')

const App = () => {
  return (
    <View style={{flex: 1 }} onLayout={() => {setHidden(true)}}>

      <Text
        style={{
          position: 'absolute',
          bottom: 40
        }}>
        Another text
      </Text>

      <Text
        style={{
          position: 'absolute',
          bottom: 0
        }}>
        App
      </Text>
    </View>
  )
}

export default App

const styles = StyleSheet.create({})

By the way,  Inside SareAreaView with flex: 1 will work perfectly.
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { setHidden } from './src/native_modules/NavigationColorModules'
import { SafeAreaView } from 'react-native-safe-area-context'

const App = () => {
  return (
    <SafeAreaView style={{flex: 1}}>
      <View style={{ flex: 1 }} onLayout={() => { setHidden(true) }}>

        <Text
          style={{
            position: 'absolute',
            bottom: 40
          }}>
          Another text
        </Text>

        <Text
          style={{
            position: 'absolute',
            bottom: 0
          }}>
          App
        </Text>
      </View>
    </SafeAreaView>
  )
}

export default App

const styles = StyleSheet.create({})

Cool That's great @softgenicsShubham

@softgenicsShubham its not happening for me ?`import React from 'react';
import {Text, View} from 'react-native';
const App = () => {
return (
<View
style={{
flex: 1,
}}>
<View style={{bottom: 0, position: 'absolute'}}>
<Text style={{fontWeight: '700'}}>Mahish Dino

);
};
export default App;

`

@mahishdino Have you tried the reproducer ?

You can try this
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { setHidden } from './src/native_modules/NavigationColorModules'

const { width, height } = Dimensions.get('screen')

const App = () => {
  return (
    <View style={{flex: 1 }} onLayout={() => {setHidden(true)}}>

      <Text
        style={{
          position: 'absolute',
          bottom: 40
        }}>
        Another text
      </Text>

      <Text
        style={{
          position: 'absolute',
          bottom: 0
        }}>
        App
      </Text>
    </View>
  )
}

export default App

const styles = StyleSheet.create({})

setHidden

what is this setHidden ?

@mahishdino  Please try reproducer ?

@mahishdino Please try reproducer ?

I followed the steps which u have given, even tested your code, im not facing that issue.

You can try this
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { setHidden } from './src/native_modules/NavigationColorModules'

const { width, height } = Dimensions.get('screen')

const App = () => {
  return (
    <View style={{flex: 1 }} onLayout={() => {setHidden(true)}}>

      <Text
        style={{
          position: 'absolute',
          bottom: 40
        }}>
        Another text
      </Text>

      <Text
        style={{
          position: 'absolute',
          bottom: 0
        }}>
        App
      </Text>
    </View>
  )
}

export default App

const styles = StyleSheet.create({})

have you tried this ?

You can try this
import { Dimensions, StyleSheet, Text, View } from 'react-native'
import React from 'react'
import { setHidden } from './src/native_modules/NavigationColorModules'

const { width, height } = Dimensions.get('screen')

const App = () => {
  return (
    <View style={{flex: 1 }} onLayout={() => {setHidden(true)}}>

      <Text
        style={{
          position: 'absolute',
          bottom: 40
        }}>
        Another text
      </Text>

      <Text
        style={{
          position: 'absolute',
          bottom: 0
        }}>
        App
      </Text>
    </View>
  )
}

export default App

const styles = StyleSheet.create({})

have you tried this ?

Yes, I tired it, I'm using RN 0.75.2 and Tested the code which you gave me. Issue is not happening at my side.

This may only happen on the android version above 11.

@softgenicsShubham can u share me import { setHidden } from './src/native_modules/NavigationColorModules' this setHidden

This may only happen on the android version above 11.

mine is Android 15 which is above 11

@mahishdino That will be on the reproducer ?

// Define and export the `setHidden` function
const setHidden = (hidden: boolean): void => {
    if (isNavigationColorModule(NavigationColor)) {
        NavigationColor.setHidden(hidden);
    } else {
        console.error('NavigationColor module or setHidden method is not available');
    }
};

@mahishdino That will be on the reproducer ?

i got it

I'm checking on reproducer now


[R-package] Quick question about num of thread

Hi, Thank you for making lightGBM in R!
I am using LightGBM in R and have a quick question about the num_thread.
According to the manual, the number of threads is the physical core of CPU. But usually what I have seen in my R code, set the num thread is equal to num_thread - 1 such as
cores <- parallel::detectCores() -1
cores

So if we have 4 core, use 3 for parallel and 1 for the controller. Is this applied to LightGBM too? So if I have 4 physical core of CPU and set the number of thread as 3?

Thanks for using LightGBM!
Assuming that there are not other processes making heavy use of the available CPUs, you will get the best performance by setting num_thread equal to the total number of real CPU cores. There is not really a concept of a "controller" in parallel training with LightGBM.
You could use something like this to test the relative speedup from different settings of num_threads:
library(lightgbm)
library(microbenchmark)
library(nycflights13)

data(flights, package = "nycflights13")
flights <- as.data.frame(flights)

dtrain <- lgb.Dataset(
    as.matrix(
        flights[, c("year", "sched_dep_time", "distance", "hour", "minute")]
    )
    , label = flights[, "dep_delay"]
    , free_raw_data = FALSE
    , max_bin = 350
)

num_cores <- parallel::detectCores()

for (num_thread in c(num_cores - 1, num_cores)) {
    print(paste0("num_thread: ", num_thread))
    print(
        microbenchmark::microbenchmark({
            lgb.train(
                params = list(
                    num_thread = num_thread
                    , objective = "regression_l2"
                    , num_leaves = 31L
                    , max_depth = 8L
                    , learning_rate = 0.01
                    , min_data_in_leaf = 1
                )
                , data = dtrain
                , nrounds = 1000L
                , verbose = -1L
            )
        }, times = 5, unit = "s")
    )
}

I installed {lightgbm} 3.2.1 on my Mac tonight with install.packages("lightgbm", type = "source"), and with that version I got the following results from the code above. I have two 2-core CPUs on this machine.
# num_threads = 3

     min       lq     mean   median       uq    max neval
 5.23764 5.273885 5.497161 5.331118 5.625063 6.0181     5

# num_threads = 4
      min       lq     mean   median       uq      max neval
 4.582549 4.762857 4.907298 4.837003 4.925407 5.428671     5

Your specific results will vary based on your specific dataset and the other learning parameter values you set.

Thank you for the clarification! Just want to make it clear, we need to use num_cores <- parallel::detectCores(logical=FALSE) so that the num_cores is equal to the physical core. I used the same code that you have and it confirms that setting the num_thread = num of physical core is faster. Thank you!
library(lightgbm)
#> Loading required package: R6
library(microbenchmark)
library(nycflights13)

data(flights, package = "nycflights13")
flights <- as.data.frame(flights)

dtrain <- lgb.Dataset(
    as.matrix(
        flights[, c("year", "sched_dep_time", "distance", "hour", "minute")]
    )
    , label = flights[, "dep_delay"]
    , free_raw_data = FALSE
    , max_bin = 350
)

num_cores <- parallel::detectCores(logical = FALSE)

for (num_thread in c(num_cores, num_cores * 2)) {
    print(paste0("num_thread: ", num_thread))
    print(
        microbenchmark::microbenchmark({
            lgb.train(
                params = list(
                    num_thread = num_thread
                    , objective = "regression_l2"
                    , num_leaves = 31L
                    , max_depth = 8L
                    , learning_rate = 0.01
                    , min_data_in_leaf = 1
                )
                , data = dtrain
                , nrounds = 1000L
                , verbose = -1L
            )
        }, times = 5, unit = "s")
    )
}
#> [1] "num_thread: 10"
#> Unit: seconds
#>                                                                                expr
#>  {     lgb.train(params = list(num_thread = num_thread, objective = "regression_l2",          num_leaves = 31L, max_depth = 8L, learning_rate = 0.01,          min_data_in_leaf = 1), data = dtrain, nrounds = 1000L,          verbose = -1L) }
#>       min       lq     mean   median       uq      max neval
#>  2.522868 2.546463 2.593207 2.563418 2.646491 2.686795     5
#> [1] "num_thread: 20"
#> Unit: seconds
#>                                                                                expr
#>  {     lgb.train(params = list(num_thread = num_thread, objective = "regression_l2",          num_leaves = 31L, max_depth = 8L, learning_rate = 0.01,          min_data_in_leaf = 1), data = dtrain, nrounds = 1000L,          verbose = -1L) }
#>       min       lq    mean   median       uq      max neval
#>  4.536631 4.673258 4.67483 4.682869 4.687078 4.794311     5

Created on 2021-04-18 by the reprex package (v1.0.0)

Ah yes, you are absolutely right! Are you interested in contributing a change to the documentation? I think others would benefit from that note.
It would just be updating https://github.com/microsoft/LightGBM/blob/7ea2bc4dbca53c03eaae2aa2b22f9b30447caea4/R-package/R/lightgbm.R#L95-L97 to say something like
the number of real CPU cores (\code{parallel::detectCores(logical = FALSE)})

And then re-generating the documentation files with commands like this:
sh build-cran-package.sh
R CMD INSTALL --with-keep.source lightgbm_*.tar.gz
cd R-package
Rscript -e "roxygen2::roxygenize(load = 'installed')"

@jameslamb Sure! I will do that, thanks!

Great, thanks so much! Let me know if you run into any issues.


FIDO functionality becomes unusable with "Invalid value size specified" error

I'm running into an issue where my Yubikey 5 NFC becomes unusable after a some time (typically fine after a reboot, but then this issue comes back after a couple of days). Doesn't seem specific to older or newer library versions (had this same issue in the 0.7.x versions on a ubuntu 19.04 system, and I'm seeing it still with a fresh ykman install on a ubuntu 19.10 system)
The exact output looks like:
troyready@notebook:~$ .local/bin/ykman fido list
Traceback (most recent call last):
  File ".local/bin/ykman", line 8, in <module>
    sys.exit(main())
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/__main__.py", line 273, in main
    cli(obj={})
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/fido.py", line 112, in list_creds
    controller = ctx.obj['controller']
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/util.py", line 127, in __getitem__
    self.resolve()
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/util.py", line 124, in resolve
    self._objects[k] = f()
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/__main__.py", line 194, in resolve_device
    dev = _run_cmd_for_single(ctx, subcmd.name, transports, reader)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/cli/__main__.py", line 132, in _run_cmd_for_single
    return descriptor.open_device(transports)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/descriptor.py", line 96, in open_device
    for drv in _list_drivers(transports):
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/descriptor.py", line 164, in _list_drivers
    for dev in open_fido():
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/ykman/driver_fido.py", line 97, in open_devices
    for dev in CtapHidDevice.list_devices(descriptor_filter):
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/fido2/hid.py", line 135, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 193, in Enumerate
    ParseReportDescriptor(rd_file.read(), desc)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 149, in ParseReportDescriptor
    usage_page = ReadLsbBytes(rd, pos + 1, value_length)
  File "/home/troyready/.local/venvs/yubikey-manager/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 86, in ReadLsbBytes
    raise OSError('Invalid value size specified')
OSError: Invalid value size specified

If I add a debug print line to that ReadLsbBytes function, it's a bunch of 1s, a few 2s, and then a 0 causes that ^ exception.
Not sure if there's some method of resetting or troubleshooting I can provide, but would love to help.

Hmm, I haven't seen this one before. When you encounter the issue you say that a reboot typically of the computer fixes it? Have you tried other things, like removing and re-inserting the YubiKey? Have you seen this issue on more than one physical computer?

Closing due to inactivity (feel free to reopen).

(sorry for the delay in responding -- needed to clear some time for proper troubleshooting)
I've spent more time poking at it today and it seems to be isolated to one system, a Lenovo Thinkpad T470s notebook. I don't have any other issues with the yubikeys with the system (using them on the cli for challenge-response & u2f, and in Chromium for Google account security keys), but on this notebook in particular (tested with my 2 Yubikey 5 NFCs) I consistently end up in this state:
troyready@stargazer:~$ .local/bin/ykman fido list
Traceback (most recent call last):
  File ".local/bin/ykman", line 8, in <module>
    sys.exit(main())
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/__main__.py", line 273, in main
    cli(obj={})
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/fido.py", line 112, in list_creds
    controller = ctx.obj['controller']
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/util.py", line 127, in __getitem__
    self.resolve()
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/util.py", line 124, in resolve
    self._objects[k] = f()
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/__main__.py", line 194, in resolve_device
    dev = _run_cmd_for_single(ctx, subcmd.name, transports, reader)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/cli/__main__.py", line 132, in _run_cmd_for_single
    return descriptor.open_device(transports)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/descriptor.py", line 96, in open_device
    for drv in _list_drivers(transports):
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/descriptor.py", line 164, in _list_drivers
    for dev in open_fido():
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/ykman/driver_fido.py", line 97, in open_devices
    for dev in CtapHidDevice.list_devices(descriptor_filter):
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/fido2/hid.py", line 135, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/fido2/_pyu2f/linux.py", line 193, in Enumerate
    ParseReportDescriptor(rd_file.read(), desc)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/fido2/_pyu2f/linux.py", line 149, in ParseReportDescriptor
    usage_page = ReadLsbBytes(rd, pos + 1, value_length)
  File "/home/troyready/.local/pipx/venvs/yubikey-manager/lib/python3.8/site-packages/fido2/_pyu2f/linux.py", line 86, in ReadLsbBytes
    raise OSError('Invalid value size specified')
OSError: Invalid value size specified

(this is after a fresh install of Ubuntu 20.04; same results with both keys)
I wasn't able to reproduce the issue on another desktop, which leads me to believe it's some oddity of this system specifically.
If troubleshooting it would be helpful for the project and others, I'd love to do it. If it affects literally no one else and there's no clear path forward, then I'll understand if we want to just close the issue again.


Fix symbol hiding

The definition of WELS_PRIVATE_EXTERN breaks the compilation, because of the whitespace before it.
The compilation errors are as follows:
codec/encoder/core/x86/coeff.asm:522: error: identifier expected after GLOBAL
codec/common/x86/asm_inc.asm:496: ... from macro `WELS_EXTERN' defined here

Thanks for this patch, Chromium needs this to build w/ nasm. Can this be merged?

@GuangweiWang are you able to help here? We need this patch for Chromium to remove yasm.

ping @fluffy @mzanaty - not sure who to ask for review here.

Sorry no one replied - I will get this reviewed and merged.

@dalecurtis sorry for missing the message.
I understand that you encountered this error when using NASM, is it right? I never encountered this error on my local environments. can you provide me your NASM version, then I can reproduce this issue on my local environment. thanks!

You need to build with WELS_PRIVATE_EXTERN defined. See here: https://source.chromium.org/chromium/chromium/src/+/master:third_party/openh264/BUILD.gn;l=55

ok. LGTM


Update V8 to 8.4 and project to Visual Studio 2019

@oliverbock Can this be merged or is the update to VS 2019 a blocker for you?

Thanks for reminding  me.  Merged.


Refactor FermionicOp as SparseLabelOp

Summary
This PR refactors the FermionicOp to become a SparseLabeOp.
Details and comments
Closes #610
Closes #562

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

266 of 285 (93.33%)  changed or added relevant lines in 13 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.04%) to 85.501%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_nature/second_q/mappers/bksf.py
30
31
96.77%

qiskit_nature/second_q/mappers/qubit_converter.py
10
11
90.91%

qiskit_nature/second_q/operators/sparse_label_op.py
32
35
91.43%

qiskit_nature/second_q/mappers/qubit_mapper.py
28
32
87.5%

qiskit_nature/second_q/algorithms/excited_states_solvers/qeom_electronic_ops_builder.py
0
5
0.0%

qiskit_nature/second_q/operators/fermionic_op.py
139
144
96.53%

Files with Coverage Reduction
New Missed Lines
%

qiskit_nature/second_q/mappers/bksf.py
1
90.51%

qiskit_nature/second_q/operators/fermionic_op.py
1
95.03%

qiskit_nature/second_q/operators/second_quantized_op.py
5
74.19%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
17083

Relevant Lines:
19980

💛  - Coveralls


AV-666: Fix styling of email field in user edit form

The email field was readonly, but it did not look like it, due to missing class.

In the commit, the readonly attrribute is removed, was this on purpose?

According to HTML5 specification readonly="true" is invalid. It's either empty or the attribute itself, ie. readonly="readonly". I chose the first one as it was used in the same sense in the same template.


Allow users to edit staging tree

Want to add JSON of changes that occur when editing staging tree to send to chefs

Closing this for now, will revisit once we get around to adding channel edits.json


Add nullptr check before passing arg

One way to fix  #1824

@tjammer Merging this fix as a temporal fix, I'm planning to redesign how command-line is processed. In any case, thanks for quick fix!


Refactor Templates::Builder to be more explicit

Rename methods like #main. It doesn't say much... #branch, #cycle, #sidechain, etc. are straightforward.

#main was renamed to 9cb4808d90cbcd119fbe242208f0dbe2daab97cd. Further changes were made in subsequent commits that overall solve this issue.


Added strings for Nova Air

Done using this method: https://github.com/Hagb/decryptBooxUpdateUpx/issues/2#issuecomment-704006389

Thanks! The strings are verified and merged.


Searchable Dropdown behaviour issue for keyboard vs mouse

GIVEN
Searchable dropdown with a couple of options
BEHAVIOUR
Entering a couple of letters to filter the given options. Selecting one of these options then via keyboard
will remove the prior entered letters which helped to filter down all options. However, repeating the filtering process but then selecting a given option via mouse will keep the prior entered filter letters.
EXPECTED BEHAVIOUR
I would expect that for both scenarios the entered letters are removed after selecting a given option.
EXAMPLE
Behaviour is reproducible within the docs:
http://semantic-ui.com/modules/dropdown.html#tagging-and-user-additions

settings.action = "combo" solved the difference in behaviour


[stdpar] amdgcn-link command failed with exit code 1

When I try to compile a program which uses C++ Parallel STL, I get the following error:
/usr/bin/clang-offload-bundler: error: '/tmp/test-93cad0/test-gfx906.out': No such file or directory
clang-16: error: amdgcn-link command failed with exit code 1

I compile my program with the follwing command:
acpp -O3 --acpp-stdpar --acpp-targets=hip program.cpp
I am using AMD MI210 GPU.

Of you really want to use the old SMCP compiler (--acpp-targets=hip:...) you also need to provide a target of the form gfxXYZ which specifiies the target architecture. For example, --acpp-targets=hip:gfx908 is MI100. I think your GPU might be gfx90a, but you can look at the acpp-info output to check.
In any case, be advised that all our optimization efforts are currently focused almost exclusively on the new SSCP compiler (--acpp-targets=generic) which is going to provide better performance.

@illuhad I tried with both --acpp-targets=hip:gfx90a and --acpp-targets=generic. For the former, I get the same error, for the latter, I get the error clang-16: error: linker command failed with exit code 1.
For --acpp-targets=generic it looks like acpp is looking for TBB which I find confusing as I am trying to run the program on GPU.

AdaptiveCpp stdpar requiring TBB is expected, even when offloading to GPU. You would see the same thing with --acpp-targets=hip:gfx90a, the amdgcn-link error just means that it already errors out before host code linking.
The background is that AdaptiveCpp supports conditional offloading, i.e. it falls back to host execution if it thinks that the kernel cannot be safely run on device (e.g., if pointers to host stack are passed into the kernel), or if the optional offloading heuristic thinks that it is more beneficial to run on host.
Because of this, it always needs to compile two code paths: One where the STL algorithm is offloaded, and the fallback code path where regular libstdc++ parallel STL is used. Because libstdc++ PSTL needs TBB, AdaptiveCpp stdpar needs TBB by extension.

Closing because of lack of feedback and because original issue was likely solved.


package loading time regression

Looks like it's due to https://github.com/SciML/NonlinearSolve.jl/issues/121 and #127
With version 1.1.1
@time_imports using NonlinearSolve

gives

142.4 ms  NonlinearSolve

while with the 1.2.0 version, this shot up to ~13 seconds,

13191.1 ms  NonlinearSolve

Tested w/
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.5.0)
  CPU: 10 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores

By reverting the changes in #127, the long using NonlinearSolve time is fixed. So maybe it would be better to revert https://github.com/SciML/NonlinearSolve.jl/pull/127 until it can be figured out where it went wrong?
Thanks!

Can you check v1.9-beta3 and test a full TTFX example? using time needs to be put into context as increasing using time can be associated with decreased first call times.

With 1.9-beta3, the TTFX does not appear to be affected much by including or not including the TrustRegion() in, but loading the new 1.9 cached pkgimage also takes a long time with TrustRegion() in the precompile.
@time begin
    prob = NonlinearProblem{false}((u, p) -> u .* u .- p, 0.1, 2)
    solve(prob, TrustRegion(), abstol = 1e-2)
end

With the precompile_algs = (NewtonRaphson(), TrustRegion()) in the precompile script, the problem solving example above gives

0.177028 seconds (778.01 k allocations: 55.147 MiB, 5.30% gc time)

and the total using time (after precompile with a fresh start of julia) is

14.901253 seconds (71.82 M allocations: 14.932 GiB, 8.68% gc time, 0.04% compilation time)

Without the TrustRegion() algo in precompile: precompile_algs = (NewtonRaphson(),), the example takes

0.174154 seconds (791.75 k allocations: 56.127 MiB, 5.85% gc time)

and the total using time

2.448613 seconds (8.03 M allocations: 578.580 MiB, 6.01% gc time, 0.18% compilation time)

(The one-time precompile time is actually fine, it's the using time every time julia loads NonlinearSolve that is suffering.)

One side effect is that it also impacts packages that depends on NonlinearSolve such as OrdinaryDiffEq.jl, the package loading time is now
julia> @time using OrdinaryDiffEq
 15.894831 seconds (74.76 M allocations: 15.169 GiB, 8.63% gc time, 0.03% compilation time)

compared w/ ] pin<EMAIL_ADDRESS>julia> @time using OrdinaryDiffEq
  3.735147 seconds (10.99 M allocations: 822.078 MiB, 6.35% gc time, 0.13% compilation time)

Only glanced through the OrdinaryDiffEq.jl a long time ago, but iiuc for simple stepping/non-stiff odes the NonlinearSolve is not actually used there?

Hmm I wonder why that one in particular seems to have a huge effect. That's pointing to some kind of type instability we should probably handle.

Only glanced through the OrdinaryDiffEq.jl a long time ago, but iiuc for simple stepping/non-stiff odes the NonlinearSolve is not actually used there?

DAE initialization

I can try to find the type instability.
Maybe I don't get enough time today to find it, but in that case, I'll do my best tomorrow :)

Thanks! Not sure if it will help with the debugging, but looks like the using time is fine if one only precompiles for the Float64 u, but bad if Float32 is included
https://github.com/SciML/NonlinearSolve.jl/blob/c62e922f3c7ddfb47ff7cd522a087eb56083208b/src/NonlinearSolve.jl#L39

@CCsimon123 I had some time to do a bit digging, with the help of JET.jl, the type instability with Float32 types can be tracked with
T=Float32
prob = NonlinearProblem{false}((u, p) -> u .* u .- p, T(0.1), T(2))
@report_opt target_modules=(NonlinearSolve,) skip_noncompileable_calls=false solve(prob, alg, abstol = T(1e-2))

You can see that with T=Float64 JET reports no errors, but with T=Float32 it points out a runtime dispatch at
https://github.com/SciML/NonlinearSolve.jl/blob/c62e922f3c7ddfb47ff7cd522a087eb56083208b/src/trustRegion.jl#L242
of the function
https://github.com/SciML/NonlinearSolve.jl/blob/c62e922f3c7ddfb47ff7cd522a087eb56083208b/src/trustRegion.jl#L207
Looks like with Float32 or Vector{Float32} uType, the initial_trust_radius or max_trust_radius can be tyep-unstable. Not sure how best to tackle this though...


vibrating

Hello
haptic feedback in1.0.30 not set or missing?
thank you for your work
best regards

Does it work on v1.0.29?

yes it work in 1.0.29

its ok now in 1.0.30  thanks ; )


Fixes #975

Fixes Issue
#975

Changes proposed
Added counters for displaying relevant information.

Screenshots

Note to reviewers
Please suggest changes regarding the information added by my side.

Sidhi it's not looking nice ... Just take a reference of online images then try to recreate it

Sidhi it's not looking nice ... Just take a reference of online images then try to recreate it

now how it is looking?
the numbers which i add will appear like counter

Sidhi it's not looking nice ... Just take a reference of online images then try to recreate it

@codervivek5 sir please check

Sidhi it's not looking nice ... Just take a reference of online images then try to recreate it

sir.....please see it @codervivek5


problem with equation 116?

I think there's a mistake but I don't know what the correction would be. Chapter 4 "one-locus models of selection" in the paragraph above equation 116 (justifying this equation), p doesn't equal 1-q at time tao.

OK that should be fixed now I changed it over to q_{\tau} = 1/N

Damn. You beat me by 10 seconds Graham.
Closing issue.


Fix broken links in Getting Started document

I tried but I was only able to edit the title, not the (empty) description. ;-)


How to set volume

I can't able to set volume of player.Please update how to set volume. Thank You

The setVolume method of iframe api is not supported on iOS devices, to control volume you can change the device volume. Otherwise you can add AVPlayerItemBecameCurrentNotification notification and get the AVPlayer object and change the volume of player.

Refer this answer for notification solution: https://stackoverflow.com/a/37315071/7568116

This solution does not work with WKWebView right? Only worked for UIWebView

This solution does not work with WKWebView right. Please suggest something for WKWebView


Not a bounty

Describe the background or context
No response
Describe the solution
QA for production config
Remarks
No response

/start

/query @0xcodercrane

Do these in @ubiquibot/production thats the point of that repo


I to change in query url params "response_mode" = "fragment" but wants "response_mode" = "query" & "response_type" = "code"  but wants "response_type" = "id_token"

Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.26.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.4.2
Public or Confidential Client?
Public
Description

Package.json
package.json
"dependencies": {
"@azure/msal-browser": "^2.26.0",
"@azure/msal-react": "^1.4.2",
}
In index.js

const msalInstance = new PublicClientApplication(msalConfig);
ReactDOM.hydrate(

{/*  /}

{/  */}

, document.getElementById('root')
);

Home.js - Page where on componentDidMount we need to redirect user to login of 3rd party client azure ad b2c login page

import { useMsal } from "@azure/msal-react";
import React, { useState, useEffect } from "react";
Here system prepare url like below
xxxxxx?clientId=xxxx
&scope=openid profile offline_access
&redirect_uri=https://subdomain.domain.com/
&client-request-id=xxxxxx
&response_mode=fragment
&response_type=code
&x-client-SKU=msal.js.browser
&x-client-VER=2.38.2
&client_info=1
&code_challenge=2zCil27BuMIaG9yi__C4Sg5UaiTngJq30_2ECIjpjd4
&code_challenge_method=S256
&nonce=3bfed1c6-0b97-4d01-b7a1-f4919a91040b
&state=eyJpZCI6IjBmNjkxNzk0LTZiMjctNGNkMi04NzQwLWY3YzAyM2RlNjM1MSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0
but client demands
xxxxxx?clientId=xxxx
&scope=openid profile offline_access
&redirect_uri=https://subdomain.domain.com
&client-request-id=xxxxxx
&response_mode=query
&response_type=id_token
&x-client-SKU=msal.js.browser
&x-client-VER=2.38.2
&client_info=1
&code_challenge=2zCil27BuMIaG9yi__C4Sg5UaiTngJq30_2ECIjpjd4
&code_challenge_method=S256
&nonce=3bfed1c6-0b97-4d01-b7a1-f4919a91040b
&state=eyJpZCI6IjBmNjkxNzk0LTZiMjctNGNkMi04NzQwLWY3YzAyM2RlNjM1MSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0
I have checked with library and tried
const signInRequestObject = {
"responseMode" : "query",
"responseType":"id_token",
// "scopes" : []
};
if (window.DEBUG) console.log("#19 signInRequestObject ", JSON.stringify(signInRequestObject));
await instance.loginRedirect(signInRequestObject);
but this not making change in response_mode & response_type as it was earlier.

Error Message
Please help me to prepare url query params changes with library as below
&response_mode=query
&response_type=id_token
Msal Logs
No logs available
MSAL Configuration
{
  auth: {
    clientId: "clientId", // This is the ONLY mandatory field that you need to supply.
    authority:
      "https://{{tenantId}}.b2clogin.com/{{tenantId}}.onmicrosoft.com/B2C_1A_SIGNUP_SIGNIN", // Choose SUSI as your default authority. here Custom Policy name is B2C_1A_SIGNUP_SIGNIN which works fine on Identity Experience Framework
    knownAuthorities: ["{{tenantId}}.b2clogin.com"], // Mark your B2C tenant's domain as trusted.
    redirectUri: "https://subdomain.domain.com", // You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin
    postLogoutRedirectUri: "/", // Indicates the page to navigate after logout.
    navigateToLoginRequestUrl: false, // If 'true', will navigate back to the original request location before processing the auth code response.
  },
  cache: {
    cacheLocation: "sessionStorage", // Configures cache location. 'sessionStorage' is more secure, but 'localStorage' gives you SSO between tabs.
    storeAuthStateInCookie: false, // Set this to 'true' if you are having issues on IE11 or Edge
  },
}

Relevant Code Snippets
const signInRequestObject = {
        "responseMode" : "query",
          "responseType":"id_token",
        // "scopes" : []
    };
    if (window.DEBUG) console.log("#19 signInRequestObject ", JSON.stringify(signInRequestObject));
    await instance.loginRedirect(signInRequestObject);

    but this not making change in response_mode & response_type as it was earlier.

Reproduction Steps
Sorry can't disclose video / code snippet for security reason
Expected Behavior
URL includes
"response_mode" = "fragment" comes up but he suggested to change it to "response_mode" = "query"
"response_type" = "code"  comes up but he suggested to change it to "response_type" = "id_token"
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Internet Explorer
Regression
No response
Source
External (Customer)

MSAL.js does not support any response types other than code nor do we recommend using response_mode=query, you should configure your custom policy to respect response_mode=fragment and response_type=code instead.


Fix decoder for invalid number value

fix #175

Codecov Report

Merging #185 (50bf514) into master (deec2b2) will increase coverage by 0.01%.
The diff coverage is 88.57%.

@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   81.75%   81.76%   +0.01%
==========================================
  Files          49       49
  Lines       21493    21517      +24
==========================================
+ Hits        17572    17594      +22
- Misses       3049     3050       +1
- Partials      872      873       +1


Update user profile page

I have updated the user profile page to show reserved missions

The variables are set to work with the missions and mission components
The rockets already work.

The linters failure is because of the unused mission variables


openwrt make build script fails

Hi, I ran the make build command in the ~/vrnetlab/openwrt directory and the download script failed to download any of the openwrt images. The issue may be that the directory and url structure in the openwrt download web page has changed since the script was written. See the output of the command, below:
brian@Docker:~/vrnetlab/openwrt$ sudo make build
python3 download.py
OpenWrt 18.06.2 releases/18.06.2/targets/ https://downloads.openwrt.org/releases/18.06.2/targets/x86/kvm_guest/
LEDE 17.01.6 releases/17.01.6/targets/ https://downloads.openwrt.org/releases/17.01.6/targets/x86/kvm_guest/
OpenWrt 18.06.1 http://downloads.openwrt.org/releases/18.06.1/targets/ https://downloads.openwrt.org/http://downloads.openwrt.org/releases/18.06.1/targets/x86/kvm_guest/
OpenWrt 18.06.0 http://downloads.openwrt.org/releases/18.06.0/targets/ https://downloads.openwrt.org/http://downloads.openwrt.org/releases/18.06.0/targets/x86/kvm_guest/
LEDE 17.01.5 http://downloads.openwrt.org/releases/17.01.5/targets/ https://downloads.openwrt.org/http://downloads.openwrt.org/releases/17.01.5/targets/x86/kvm_guest/
LEDE 17.01.4 http://archive.openwrt.org/releases/17.01.4/targets/ https://downloads.openwrt.org/http://archive.openwrt.org/releases/17.01.4/targets/x86/kvm_guest/
LEDE 17.01.3 http://archive.openwrt.org/releases/17.01.3/targets/ https://downloads.openwrt.org/http://archive.openwrt.org/releases/17.01.3/targets/x86/kvm_guest/
LEDE 17.01.2 http://archive.openwrt.org/releases/17.01.2/targets/ https://downloads.openwrt.org/http://archive.openwrt.org/releases/17.01.2/targets/x86/kvm_guest/
LEDE 17.01.1 http://archive.openwrt.org/releases/17.01.1/targets/ https://downloads.openwrt.org/http://archive.openwrt.org/releases/17.01.1/targets/x86/kvm_guest/
LEDE 17.01.0 http://archive.openwrt.org/releases/17.01.0/targets/ https://downloads.openwrt.org/http://archive.openwrt.org/releases/17.01.0/targets/x86/kvm_guest/
Chaos Calmer 15.05.1 http://archive.openwrt.org/chaos_calmer/15.05.1/ https://downloads.openwrt.org/http://archive.openwrt.org/chaos_calmer/15.05.1/x86/kvm_guest/
Chaos Calmer 15.05 http://archive.openwrt.org/chaos_calmer/15.05/ https://downloads.openwrt.org/http://archive.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/
Barrier Breaker 14.07 http://archive.openwrt.org/barrier_breaker/14.07/ https://downloads.openwrt.org/http://archive.openwrt.org/barrier_breaker/14.07/x86/kvm_guest/
Attitude Adjustment 12.09 http://archive.openwrt.org/attitude_adjustment/12.09/ https://downloads.openwrt.org/http://archive.openwrt.org/attitude_adjustment/12.09/x86/kvm_guest/
Backfire 10.03.1 http://archive.openwrt.org/backfire/10.03.1/ https://downloads.openwrt.org/http://archive.openwrt.org/backfire/10.03.1/x86/kvm_guest/
Backfire 10.03 http://archive.openwrt.org/backfire/10.03/ https://downloads.openwrt.org/http://archive.openwrt.org/backfire/10.03/x86/kvm_guest/
for F in `ls *.img.gz`; do gunzip -f $F; done
ls: cannot access '*.img.gz': No such file or directory
make docker-image
make[1]: Entering directory '/home/brian/vrnetlab/openwrt'
for IMAGE in ; do \
        echo "Making $IMAGE"; \
        make IMAGE=$IMAGE docker-build; \
done
make[1]: Leaving directory '/home/brian/vrnetlab/openwrt'

I can work around the issue by just downloading the openwrt image directly using wget, then running make build again.

Fix in f6461ec5d25c9fc2e83a17406c8eb74a434a2695


Update changelog / contributors acknowledgement

Would be nice to update the CHANGELOG.md with the latest updates, and also reverse it, so that latest changes are on the top (not the bottom).
It might also be a good moment to discuss how to best acknowledge different contributors. For instance for new features, major updates, we could add the name of the contributor (with their agreement) and the PR number, as it is done for instance in the scikit-learn changelog?

Fixed in PR #46.


Sudden code issue with GUI

Hello,
I've been using BirdNET to run classifiers for months now as I work though building some custom models. My computer restarted, and now when I try to open the GUI (using python3 py.gui like usual), it brings up error lines in the codes including
Traceback (most recent call last):
File "/Users/me/BirdNET-Analyzer/gui.py", line 969, in
build_single_analysis_tab()
File "/Users/me/BirdNET-Analyzer/gui.py", line 717, in build_single_analysis_tab
) = species_lists(False)
File "/Users/me/BirdNET-Analyzer/gui.py", line 655, in species_lists
species_file_input = gr.File(file_types=[".txt"], info="Path to species list file or folder.", visible=False)
File "/Users/me/anaconda3/envs/birdnet-analyzer/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: File.init() got an unexpected keyword argument 'info'
Have there been updates? Why would this all of a sudden have issues?
Thanks in advance.

Hi @afowxc.
The GUI is part of the larger BirdNET-Analyzer project. I would suggest raising an issue over at their repo's issues.
This repo (birdnetlib) is the Python library for BirdNET analyzers.


Gems update

@lubieniebieski I added the rule to enforce comma after last parameter in literal, but also added #todo on trello card to fix a rubocop issue with keyword arguments


Make backend names in JSON reports match burnbench CLI

Pull Request Template
Checklist

[ ] Confirmed that run-checks all script has been executed.
[ ] Made sure the book is up to date with changes in this PR.

Related Issues/PRs
Provide links to relevant issues and dependent PRs.
Changes
Summarize the problem being addressed and your solution.
Testing
Describe how these changes have been tested.

I found this quite handy, and thought I should open it up for comments from maintainers.
I've used this to plot the data, which I can also contribute somewhere.
import json
import os
import seaborn as sns
import matplotlib.pyplot as plt
from pandas import DataFrame

data = {
    "benchmark": [],
    "backendName": [],
    "mean": [],
    "median": [],
    "min": [],
    "max": []
}

for file in os.listdir("./"):
    if file.endswith(".json"):
        with open(file, "r") as f:
            result = json.load(f)

            data["benchmark"].append(result["name"])
            data["backendName"].append(result["backendName"])
            data["mean"].append(result["mean"] / 1000.0)  # convert to miliseconds keeping decimal point
            data["median"].append(result["median"])
            data["min"].append(result["min"])
            data["max"].append(result["max"])

plt.figure(figsize=(28, 20))

benchmarks = DataFrame(data)

p = sns.swarmplot(
    data=benchmarks,
    x="backendName", y="mean", hue="benchmark",
    log_scale=False,
    legend=True,
    palette="Set2",
    s=10, marker="D", linewidth=1,
)

for i in p.get_ygridlines():
    i.set_linestyle(':')
    i.set_linewidth(0.5)
    i.set_visible(True)

plt.ylabel("Mean Duration (miliseconds)")
plt.xlabel("Backends")

plt.legend(title="Benchmark")

plt.xticks(rotation=45)

plt.show()

@nathanielsimard sure, I've not spent any time thinking about the design, was just getting something to work and figured I'd open a PR and see if this is deemed useful at all.

@nathanielsimard PTAL, I've moved the logic into Backend and Benchmark crates  :)

I feel that we can do much simpler by sticking closer to what this PR is all about. We could just store the arguments passed on the command line. The serialized arguments would be an object burnbenchArgs with a field backend and a field bench (although this one is less valuable). If later we add some new options to the CLI it might be handy to add it to the benchmark results so that we can reconstruct the original command line for other people to try executing the same benchmark.

@syl20bnr I agree in principle, although I'm not sure if I have more time for this. I did say in the PR title that it's about matching the names of backends, which is one surface area, but there are other ways of looking at it. Namely, I just want to plot the results and need keys that I could relate to. If burnbench just produced a plot for me, I'd also be quite happy and wouldn't need to worry about all this. So I'm not necessarily sure preservation of CLI arguments is the right UX facet to lean on, perhaps producing plots could be more useful, the rest is implementation detail. Of course, it depends on how far you want to take burnbench.

I understand and the current interaction between burnbench and the actual benchmarks is a bit contrieved and it would need a bit of refactoring. Currently the benchmark itself is responsible of persistence and upload of results which should now be the responsibility of our burnbench runner. Once we moved these responsibilities to our runner it will be easier to serialize more contextual informations and more.
For the plots we are indeed working on it and it will soon be announced on our discord, so stay tune!

So actually right now preserving CLI args would require some additional tricks, because results are stored per benchmark (and, e.g. data benchmark produces multiple files). Any burnbench invocations with multiple backends and multiple benchmarks would require some special treatment, as backends and benchmarks pass in the CLI would need to be mapped to results actual results and translated to a single invocation. Maybe it's not too hard as there is cargo bench invocation, but that will add more usability friction too, as backends map to features ;)

We have been thinking about this and adding a new function to the backend trait just for this is too invasive. In the current situation the probably best option if to modify the macro in lib.rs to pass the feature name to the bench function and then to the save function for serialization. Then the name can be retrieved by the CLI to be displayed in the report.

@syl20bnr what do we do with this PR? Keep it open?

Yes we can keep it open. @errordeveloper do you have time to change the implementation ? If not I can do it,

The suggestion makes sense, however I don’t think I will find the time to implement it any time soon.

OK. I have assigned to @syl20bnr then. Thank you, @errordeveloper , for the update and PR.

I made the changes. Here is an example of a report:

Benchmark
Feature
Backend
Device
Median

unary
wgpu
jit
BestAvailable
393.000µs

unary
wgpu-fusion
fusion<jit>
BestAvailable
272.000µs

binary
wgpu
jit
BestAvailable
820.000µs

binary
wgpu-fusion
fusion<jit>
BestAvailable
396.000µs

to_data
wgpu
jit
BestAvailable
34.270ms

from_data
wgpu
jit
BestAvailable
154.599ms

to_data
wgpu-fusion
fusion<jit>
BestAvailable
32.761ms

from_data
wgpu-fusion
fusion<jit>
BestAvailable
39.941ms

matmul
wgpu
jit
BestAvailable
980.000µs

matmul
wgpu-fusion
fusion<jit>
BestAvailable
1.715ms

max_pool2d
wgpu
jit
BestAvailable
4.855ms

max_pool2d
wgpu-fusion
fusion<jit>
BestAvailable
4.299ms

Great we came to a consensus, it is quite similar to my original change, albeit argument is passed to ‘save’ instead of ‘run_benchmark’.

Indeed we went a bit full-circle on this one 😁
Thank you for the PR!


Add more distribution setup

Besides Maxwellian, we want to add other analytical distributions functions:

[ ] Bi-Maxwellian
[ ] Kappa distribution
[ ] Self-similar distribution

using PyPlot

fm(v) = exp(-v^2)
fk(v, κ) = (1+v^2/κ)^(-κ)

κ = [2, 5, 10, 20]
xrange = range(-4.75, 4.75, 100)

semilogy(xrange, fm.(xrange), "k--", label="Maxwellian")
for i in eachindex(κ)
    semilogy(xrange, fk.(xrange, κ[i]), label="κ = $(κ[i])")
end

ylim(1e-4, 1)

legend()
savefig("kappa_distributions.png", bbox_inches="tight")

Actually the above one is a simplified version of the Kappa distribution. Check this paper for the full version.


String literals not supported ?

Issue Summary
I just switched to transactional templates and now i see my substitution which is in string literals format is not working anymore (it shows nothing on the email), how to overcome this problem?
Steps to Reproduce
{{{content}}} ---> this is the tag on sendgrid template
sendEmail({
    templateId: Meteor.settings.template1,
    emails: [user.emails[0].address],
    category: "category 1",
    substitutions: {
      content: `Hello ${getUserFirstName(user.name)},

      Lorem Ipsum is simply dummy text of the printing and typesetting,

      Lorem Ipsum is simply dummy text of the printing and typesetting`,
      subject: 'Email Subject',
      preheader: '',
    }

Technical details:

sendgrid/mail 6.2.1

Hello @KerimHelal,
I believe in the SendGrid template you would need: {{content}}.
Thanks!
With Best Regards,
Elmer


Inline math with katex not working

MathJax works well. You can replace to use mathjax first.
Inline math with katex seems had some issue, I will fingure it out if there are any solution.


Spinning when adding a new member

When adding a new champion, the platform will continuously spin. The only way to add a new member is through the SharePoint site. Has anyone seen this issue before and are there any troubleshooting tips?

I had a similar issue and found it resolved when I went into ...sites/ChampionManagementPlatform/Lists/Member%20List/AllItems.aspx and added myself as a manager and ensured the status was approved. I also added everyone exccept externals as read access to the sharepoint site.

Hi @nicolamorris925,
Thanks for reaching out to us.
As @MelanieCamden  pointed above please check if the "MembersList" in Sharepoint is empty. If empty add a record with the below values and try again.

Title: Your email id
Status: Approved
Role: Manager

If this still doesn't work please share a screenshot of the "MemberList" and also errors in browser console logs when you are adding a member.
Thanks.


Wrapper div outwith bounds of parent px-vis-timeseries

In both the predix-seed and my application the wrapper div is outwith the bounds of the px-vis-timeseries.
I note that this isn't the case with the example on the Predix UI pages.
Below is a screenshot of predix-seed. In the case of my application the bounds of the wrapper div is actually within the scroll bar so the chart is truncated.

Hello,
I'm not sure I fully get which bit is truncated on the screenshot, is your problem that the chart extends too much to the right?

Sorry truncation refers to my application. The screenshot is of predix-seed.
In the screenshot I would expect the blue area to be completely within the orange area like in the example given in the px-vis-timeseries documentation.

Will investigate as part of the new major version which includes new mechanism for sizing and positioning

OK thanks. For now I can workaround with my own CSS.

This is fixed in the new major version (not released yet, v5 branch)

@benoitjchevalier Thanks for the update.
Is there any information about what will be in the new major version and the expected release schedule?

Here's a quick, possibly non-exhaustive list of what has been done (does not include what we are currently doing or what we will do):
Timeseries

removed registerLocation in favor of hideRegister and registerConfig
allowed to split out the config options into smaller objects: registerConfig, tooltipConfig, eventConfig
renamed enableTooltip to showTooltip for framework consistency
fixed bug where tooltipConfig wasn't applied
added clip path to cursor
added cursor config
added layers
added lowerSVG
changed line to line-svg
changed dataExtents
added the ability to redraw one serie on top of the others
added the ability to pass a navigator config and configure navigator axis
Updated register length to be dynamic based on if the navigator is included

Vis Framework

Upgrade to d3 4.4.x.
Scale and axis changes:

Changed time scale to UTC by default.
Added timeLocal option for local time

Greatly improved and simplified how chart extents are calculated:

chartExtents are now only dev set
max and mins from the seriesConfig and range pickers go to dataExtents
scale will use chartExtents directly and fallback on dataExtents if not present. If neither, then looks through data.
defaultSeriesConfig no longer has default min and maxes

Threshold changes:

Added new threshold configuration similar to events
Changed threshold data property from chartData to thresholdData

Added improved resize methods to chart behavior, allowing to align the chart within its svg
Added mechanism for redrawing an SVG series on top of others
Layers

Added layer generation to chart behavior
Added ability to generate layers for any svg element dynamically
modified interaction space so it doesnt clone svg
modified thresholds so it doesnt clone svg
Added an additional svg element below the canvas element on svg-canvas

Fix placement of zoom button
Changed px-vis-line to px-vis-line-svg for consistency
Demo Updates:

updated demos with v1 changes
all subcomponents have an API Documentation page

Added navigatorConfig and ability to configure chart navigator with it
most px-vis components now only loads basic colors as opposed to basic colors + dataVis colors
Register Changes:

Added margin to register height calculation

Tooltip Changes:

Added auto-calculated groupings to tooltip based on number of series. Can be overwritten by devs

Added checks to gridline to ensure it gets the svg height and number-izes margins

In general you can refer to the History.md of the appropriate branch. The branch is called 'major' on most charts, appart from vis (v1) and timeseries (v5)
We're not sure when we're going to release it, it depends on when testing can happen, somewhere between early to late february. We'll probably roll out charts consecutively, timeseries might be the last one (because we want to include multiple Y axis in its new major version). We might release a pre version earlier if people are interested in having a look at it.

@benoitjchevalier thanks. Looks a good set of updates that will address #30 and maybe #31?

Should do yes, #32 as well

Fixed with 1.0.0 release


The no version flag doesn't work when I have set the check_version value to true in the config file

Describe the bug
The --no-version flag doesn't do anything  when I use it
To reproduce

Run with --no-version argument
The program checks for the version info

Expected behavior
Halp doesn't should to check for the version info when I use the --no-version argument

Screenshots / Logs

Software information

Operating system: Arch GNU/Linux legion 6.3.8-zen1-1-zen  ZEN SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:15 +0000 x86_64
Rust version: rustc 1.72.0-nightly (dd5d7c729 2023-06-02)
Project version: halp 0.1.7

Additional context

The same issue with --no-help flag #63

Ah I see, good catch. In this case, command-line arguments should take precedence. Does #61 have the fix for this issue?

Great!


[Rules] Clarify Managed Transforms scope

Closes https://github.com/cloudflare/cloudflare-docs/issues/5241

Thanks, @KianNH!


Retry commands when the WinRM shell fails due to accessing deleted registry key

The error from test-kitchen/winrm-transport#18 still happens with a newer
test-kitchen that uses winrm-fs to transport files. This commit contains
the fix from test-kitchen/winrm-transport#20 but fixed in the winrm gem itself.

Other than the fact that adding these fault codes makes me throw up a tiny bit in my mouth, It looks good :+1:

Thanks for this!!

I just ran into this same fault code bringing up a 2008r2 box with Vagrant 1.8.1 (no test kitchen involved). So when there's a new version of the winrm gem, someone will need to do a PR for mitchellh/vagrant too.

The nature of vagrant builds is it will pull in the latest winrm that meets its gemspec constraints at the time of build. So if they did a build today, they would get the latest winrm since vagrant is currently constrained to ~> 1.6. And every night before I sleep I pray that the next day will bring a new version of vagrant. One day it will happen.


Error in .replace-seqlevels_style

Hello plot2DO team: We are trying to run plot2DO with paired-end bam files (Bowtie2 output) and tair10 (with and without changing the config file). I have attached screenshots of the error message and the changes we made in the config file. Are we missing something? We deeply appreciate your help, as always.

hello Nur-Taz, I've just pushed a fix for tair10 seqnames, and config file shouldn't be changed now. I hope this helps you

Thanks @paulati. Let us try again and update you.

Our issue has been resolved. Thank-you very much for all the help!!!


Logout function not working  ' Uncaught TypeError: google_logout is not a function  '

Error  : Logout function not working  ' Uncaught TypeError: google_logout is not a function  '
code example
custom logout button
`
import { googleLogout } from '@react-oauth/google';
return (

       <button onClick={() => login()}>
        Sign in with Google 🚀{' '}
        </button>;

<button onClick={() => googleLogout}>
Logout Google 🚀{' '}
;
    </GoogleOAuthProvider>

</div>

);
`

googleLogout itself is a function it doesn't return anything so your variable is undefined
You need to call it directly on the button

@MomenSherif   here is code but still not logout no any response
<button onClick={() => googleLogout}>            Logout Google 🚀{' '}             </button>

<button onClick={() => googleLogout}> Logout Google 🚀{' '}

@MomenSherif  nothing happens when i click on Logout button. can you please suggest any debug way !

<button onClick={() => googleLogout()}> Logout Google 🚀{' '}

This doesnt work. My Google Sign In button logged me in as expected and shows my email and name on the button. But when I call this API and then reload the page, the button still shows my name and email meaning that I have not been logged out. How to make this work?

I have the same issue with logout. What do I wrong here?  @MomenSherif

 {
                    console.log(credentialResponse)
                  }}
                  onError={() => {
                    console.log('Login Failed')
                  }}
                />

              Logout

@jaydeepw have you fixed that?

Also having this issue

provided googleLogout() is not working. the token is still valid after this method is invoked.

import { googleLogout } from '@react-oauth/google

This library has this issue which you are facing, there is no fix for this with this library as far as I know. I would recommend you to use something else, maybe firebase auth but it's all up to you.

@react-oauth/google library has the issue you're facing for logging out, and as far as I know, there is no fix for it within this library. I would recommend you to use something else, perhaps Firebase Authentication, but the choice is up to you.
On Friday, February 2, 2024 at 02:04:51 AM PST, WaleedShahzaib @.***> wrote:
provided googleLogout() is not working. the token is still valid after this method is invoked.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


I implemented the cloth simulation by the triangle constraint, but why the vertices of cloth oscillate highly?

I implemented the triangle constraint refer to your code and your paper of ContinuousMaterials, but the vertices of cloth oscillate highly.
the simulation loop is:
void positionBasedDynamics::solve()
{
triangleModel_semiImplicitEuler();
for (int i=0;i<maxItor;i++)                       //maxItor=5
{
FEMTriangleConstraint_solver();
triangleModel_applyDelta();
}
triangleModel_velocityUpdate();
}
I have directly assigned the one triangle's vertices, area and invRestMat to your project at one simulation step and the calculated delta correction is the same.
Is here any other detail I have missed?
thx!

Did you use the area of the rest state?
Why didn't you just use our code?

Thanks for your attention!
I want to implement your FEM triangle constraint by cuda, and intergrate it into my framework. So I need to rewrite it for my framework.
Following this figure is my cuda FEM triangle solved result:

And I use these previous output data assigned to your work, the result is the same.

So I really don't kown what wrong with my code.
Thank you!

If you get the same results, the constraint should work. Maybe you have a bug in the integration code.

In your PDB code, you are serially solved the constraint and corrected the position one by one.
I think is there will be trouble with the parallel correction of the particle postion after solved the constraint?
Thank you!

If you use a parallel correction, you will get a Jacobi solver instead of a Gauss-Seidel solver. In this case you get multiple position corrections for each particle (= number of adjacent triangles). You should use a kind of interpolation for these corrections (per vertex), e.g. sum up the corrections for each vertex and divide by the number of position corrections for this vertex.

There are also some papers which use the parallel Jacobi. Maybe you could have a look for that.

Oh! I know.....
Thank you very much ! :)


Clear diagnosis dropdown entirely when healthy control is selected

Is there an existing issue for this?

[X] I have searched the existing issues

New feature
Currently, you can select a diagnosis value from the dropdown and then select "Healthy Control", and the result will only show you the latter even though it looks like you have selected both.
While the tooltip over healthy control is very helpful (especially in the case where you have selected "healthy control" first, the fact that you can still do the above has still confused several users.
If it is not too difficult, we should simply clear the dropdown for "diagnosis" (regardless if any have been selected already) when the "healthy control" checkbox is clicked. This will indicate the exclusively of these two options a lot more clearly.
Related comments:

https://github.com/neurobagel/old-query-tool/issues/93#issuecomment-1612209914
https://github.com/neurobagel/old-query-tool/issues/93#issuecomment-1617462281

Unclear documentation
No response

This has already been addressed during the refactor.


pkg/report: drop "ALT: KMSAN origin" titles for uninit reports

It was initially proposed in
https://github.com/google/syzkaller/issues/1575 that KMSAN reports with the same origin should be clustered together using an alt title.
This however turns out to be too aggressive: certain KMSAN reports have their uninitialized values originating from common functions - this leads to too many KMSAN reports being glued together. Because KMSAN reports can be also clustered with KASAN reports or other kernel panics, ultimately seemingly unrelated crashes are considered similar just because they share their top frames with two KMSAN reports that, in turn, share the same origin.
The resulting issues on the dashboard look confusing to the users, they are hard to find and require manual untangling, which probably outweighs the benefits of having KMSAN issues with exactly the same origin clustered together.

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

Cc @ramosian-glider @dvyukov
I've fetched all KMSAN bugs that had ALT: KMSAN origin and several other alt titles. I assume we'd get a different bug for each bad-access in  otherwise.
Could you please take a look if it'd have been reasonable?

Bug
Remaining alt titles

KMSAN: uninit-value in __skb_checksum_complete
bad-access in __skb_checksum_completebad-access in ipgre_xmitbad-access in ip_tunnel_xmitbad-access in __ip_make_skbbad-access in __xfrm_decode_sessionKASAN: slab-use-after-free Read in __xfrm_decode_sessionbad-access in erspan_build_headerKASAN: slab-out-of-bounds Read in __xfrm_decode_session

KMSAN: uninit-value in __run_timers
bad-access in __run_timersgeneral protection fault in __run_timers

KMSAN: uninit-value in n_tty_receive_buf_common
bad-access in n_tty_receive_buf_commongeneral protection fault in n_tty_receive_buf_commonbad-access in gsm1_receivebad-access in ppp_asynctty_receivebad-access in flush_to_ldisc

KMSAN: uninit-value in ext4_inode_journal_mode
bad-access in ext4_inode_journal_modebad-access in flush_sigqueue

KMSAN: kernel-infoleak in copyout
bad-access in copyoutbad-access in __ipv6_addr_typebad-access in __xfrm_decode_sessionbad-access in ip_route_output_key_hash_rcubad-access in validate_xmit_skbbad-access in geneve_xmitbad-access in hsr_get_nodebad-access in netif_skb_featuresbad-access in fib6_node_lookup_1bad-access in ip6_route_output_flagsbad-access in __skb_datagram_iterKASAN: slab-out-of-bounds Read in __xfrm_decode_sessionbad-access in process_one_workbad-access in geneve_udp_encap_recvgeneral protection fault in process_one_workInternal error in fib6_node_lookup_1bad-access in raw_recvmsg

KMSAN: uninit-value in strstr
bad-access in strstrbad-access in __tipc_nl_bearer_enablebad-access in bpf_sk_storage_diag_allocbad-access in validate_setbad-access in nsh_key_put_from_nlattr

KASAN: slab-out-of-bounds Read in dtSearch
KASAN: slab-out-of-bounds Read in dtSearchbad-access in dtSearchUBSAN: array-index-out-of-bounds in dtSearchKASAN: use-after-free Read in dtSearch

KASAN: slab-out-of-bounds Read in ntfs_trim_fs
KASAN: slab-out-of-bounds Read in ntfs_trim_fsbad-access in ntfs_trim_fsKASAN: use-after-free Read in ntfs_trim_fs

KMSAN: uninit-value in vfs_write
bad-access in vfs_writebad-access in aio_write

KASAN: slab-out-of-bounds Read in ntfs_listxattr
KASAN: slab-out-of-bounds Read in ntfs_listxattrbad-access in ntfs_listxattrbad-access in listxattr

KMSAN: uninit-value in p9pdu_vwritef
bad-access in p9pdu_vwritefbad-access in p9_client_writebad-access in p9_client_read_once

KMSAN: uninit-value in stack_trace_consume_entry
bad-access in stack_trace_consume_entryKASAN: use-after-free Write in stack_trace_consume_entry

KMSAN: uninit-value in ath9k_htc_rx_msg
bad-access in ath9k_htc_rx_msgbad-access in ath9k_wmi_ctrl_rx

KMSAN: uninit-value in preempt_count_add
bad-access in preempt_count_addbad-access in __io_fill_cqe_reqbad-access in __io_uring_show_fdinfoKASAN: use-after-free Read in __io_uring_show_fdinfo

KMSAN: uninit-value in __hw_addr_add_ex
bad-access in __hw_addr_add_exKASAN: global-out-of-bounds Read in __hw_addr_add_ex

KMSAN: uninit-value in extent_fiemap
bad-access in extent_fiemapbad-access in paths_from_inodebad-access in copy_items

KMSAN: uninit-value in ax25cmp
bad-access in ax25cmpbad-access in INET_ECN_decapsulate

KASAN: slab-out-of-bounds Read in search_by_key
KASAN: slab-out-of-bounds Read in search_by_keybad-access in search_by_key

KASAN: slab-out-of-bounds Read in ntfs_iget5
KASAN: slab-out-of-bounds Read in ntfs_iget5bad-access in ntfs_iget5KASAN: use-after-free Read in ntfs_iget5general protection fault in ntfs_iget5BUG: unable to handle kernel paging request in ntfs_iget5BUG: unable to handle kernel NULL pointer dereference in ntfs_iget5KASAN: slab-use-after-free Read in ntfs_iget5bad-access in p9_client_rpcbad-access in ntfs_test_inodebad-access in __ext4_iget

general protection fault in io_issue_sqe
general protection fault in io_issue_sqebad-access in io_issue_sqeBUG: corrupted list in io_issue_sqeKASAN: null-ptr-deref Write in io_issue_sqe

KASAN: slab-out-of-bounds Read in hfsplus_uni2asc
KASAN: slab-out-of-bounds Read in hfsplus_uni2ascbad-access in hfsplus_uni2ascbad-access in hfs_find_1st_rec_by_cnidbad-access in hfsplus_cat_case_cmp_keybad-access in hfsplus_strcasecmp

KMSAN: uninit-value in hfsplus_delete_cat
bad-access in hfsplus_delete_catbad-access in hfsplus_lookupbad-access in hfsplus_rename_catKASAN: wild-memory-access Read in hfsplus_delete_catgeneral protection fault in hfsplus_rename_cat

KMSAN: uninit-value in __crc32c_le_base
bad-access in __crc32c_le_basebad-access in neigh_timer_handlerbad-access in macvlan_forward_sourcebad-access in generic_bin_searchbad-access in post_read_mst_fixupbad-access in longest_match_stdbad-access in btrfs_leaf_free_spacebad-access in udf_name_from_CS0

KASAN: slab-out-of-bounds Read in run_unpack
KASAN: slab-out-of-bounds Read in run_unpackbad-access in run_unpackKASAN: use-after-free Read in run_unpack

KMSAN: uninit-value in io_req_cqe_overflow
bad-access in io_req_cqe_overflowbad-access in __io_uring_show_fdinfoKASAN: use-after-free Read in __io_uring_show_fdinfobad-access in io_rw_failbad-access in io_submit_flush_completionsbad-access in __io_req_complete_postgeneral protection fault in __io_uring_show_fdinfo

KMSAN: uninit-value in af_alg_free_resources
bad-access in af_alg_free_resourcesbad-access in crypto_gcm_init_common

KMSAN: uninit-value in longest_match
bad-access in longest_matchbad-access in zlib_tr_flush_block

KASAN: use-after-free Read in bcmp
KASAN: use-after-free Read in bcmpbad-access in bcmpKASAN: out-of-bounds Read in bcmpKASAN: slab-use-after-free Read in bcmp

KMSAN: uninit-value in psi_poll_worker
bad-access in psi_poll_workerbad-access in psi_show

KMSAN: kernel-infoleak in v4l2_compat_put_array_args
bad-access in v4l2_compat_put_array_argsbad-access in ib_free_port_attrsKASAN: slab-out-of-bounds Read in v4l2_compat_put_array_argsbad-access in deactivate_slab

KMSAN: uninit-value in do_user_addr_fault
bad-access in do_user_addr_faultbad-access in arch_stack_walkbad-access in bpf_get_branch_snapshotKASAN: slab-out-of-bounds Read in arch_stack_walkKASAN: use-after-free Read in arch_stack_walkKASAN: stack-out-of-bounds Read in arch_stack_walkKASAN: out-of-bounds Read in arch_stack_walkbad-access in kcov_task_exit

KMSAN: kernel-infoleak in copy_page_to_iter
bad-access in copy_page_to_iterbad-access in nilfs_add_checksums_on_logs

KMSAN: uninit-value in htree_dirblock_to_tree
bad-access in htree_dirblock_to_treebad-access in ext4_inlinedir_to_tree

KMSAN: uninit-value in btrfs_clean_tree_block
bad-access in btrfs_clean_tree_blockbad-access in post_read_mst_fixupbad-access in ima_add_template_entrybad-access in nilfs_add_checksums_on_logs

KMSAN: uninit-value in hfs_revalidate_dentry
bad-access in hfs_revalidate_dentrybad-access in hfs_get_blockbad-access in hfs_extend_file

Thanks a lot for the data, this is very useful!
I started looking, and what caught my eye is that for uninit values originating from the heap the stack traces aren't really descriptive enough.
E.g. for https://syzkaller.appspot.com/bug?extid=fa5414772d5c445dac3c a lot of reports do share the same origin:
Uninit was created at:
 slab_post_alloc_hook+0x12d/0xb60 mm/slab.h:774
 slab_alloc_node mm/slub.c:3452 [inline]
 kmem_cache_alloc_node+0x543/0xab0 mm/slub.c:3497
 kmalloc_reserve+0x148/0x470 net/core/skbuff.c:520
 __alloc_skb+0x3a7/0x850 net/core/skbuff.c:606
 alloc_skb include/linux/skbuff.h:1278 [inline]
 alloc_skb_with_frags+0xbd/0xbb0 net/core/skbuff.c:6318
 sock_alloc_send_pskb+0xaad/0xc30 net/core/sock.c:2734
 packet_alloc_skb net/packet/af_packet.c:2921 [inline]
 packet_snd net/packet/af_packet.c:3016 [inline]
 packet_sendmsg+0x716c/0x9ee0 net/packet/af_packet.c:3104
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg net/socket.c:747 [inline]
 ____sys_sendmsg+0xa24/0xe40 net/socket.c:2501
 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2555
 __sys_sendmsg net/socket.c:2584 [inline]
 __do_sys_sendmsg net/socket.c:2593 [inline]
 __se_sys_sendmsg net/socket.c:2591 [inline]
 __x64_sys_sendmsg+0x36b/0x540 net/socket.c:2591
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

, but are completely unrelated. For the stack-allocated uninits the situation might be better.

Here are the results of my assessment: https://docs.google.com/spreadsheets/d/1Qk78EB2ywhqcOxjblKz5-LPkHdu83T1UF3dHzMoUYLM/edit?usp=sharing
In short, I think most of the listed bugs will benefit from not merging reports with similar origins. In the worst case, there will be a handful of KMSAN reports with the same root cause but different title, which can be duplicated manually.


HBASE-27924 Remove duplicate code for NettyHBaseSaslRpcServerHandler …

…and make the sentByte metrics more accurate

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 25s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 56s
master passed

+1 :green_heart:
compile
2m 27s
master passed

+1 :green_heart:
checkstyle
0m 32s
master passed

+1 :green_heart:
spotless
0m 42s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 27s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 36s
the patch passed

+1 :green_heart:
compile
2m 25s
the patch passed

+1 :green_heart:
javac
2m 25s
the patch passed

+1 :green_heart:
checkstyle
0m 34s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
9m 44s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 39s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 31s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

32m 11s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/hbase-kustomize-github-pr/job/PR-5285/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5285

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux e158b47ccc0b 5.4.0-1097-aws #105~18.04.1-Ubuntu SMP Mon Feb 13 17:50:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 68da890dca

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/hbase-kustomize-github-pr/job/PR-5285/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 50s
Docker mode activated.


Bump torch version

Per https://github.com/huggingface/accelerate/pull/638, it never actually bumped the minimal torch version to 1.6.0, which is the minimum we test on now and support.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


GEODE-3903: Splitting of client protocol code from protobuf implementation

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@WireBaron @PivotalSarge

What went wrong:
Execution failed for task ':geode-client-protocol:spotlessJavaCheck'.

Format violations were found. Run 'gradlew spotlessApply' to fix them.
geode-client-protocol/src/main/java/org/apache/geode/internal/protocol/OperationContext.java

@bschuchardt thank you...spotless..... :(


Add CMake option to remove Console from builds

Right now there's no way to remove Console from builds. Maybe a single option to remove all debug tools from the engine for final game releases would be sufficient.

Maybe a single option to remove all debug tools from the engine for final game releases would be sufficient.

The console isn't solely a debugging tool, as release builds may still require output to console, but I understand your desire to have the ability to remove it.
Perhaps the best way is to just add the cmake option to disable the console, and have all the AXLOG* macros compile to nothing.


Pipelines: Convert the TF "Image Captioning with Attention" tutorial to a pipeline

Convert the TensorFlow Image Captioning with Attention tutorial to a pipeline and where feasible use Kubeflow Pipelines reusable components in the pipeline.

@zanedurante will work on this tutorial as part of the Kubeflow Doc Sprint
/doc-sprint

@sarahmaddox Since I was already working on this project with the pipelines team, the pipeline was merged here in the pipelines samples repo (instead of kubeflow/examples).
PR here: https://github.com/kubeflow/pipelines/pull/1591

/area docs
/priority p2


Feature/use placeholder for all fields

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 94.273%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
214

Relevant Lines:
227

💛  - Coveralls


feat: add destructive variant to Input component

Overview
We needed to have a destructive variant for validation fails, as we no longer use the Form component from shadcn/ui.
Changes

Added destructive variant
Added TSDoc
Corrected interface name to match our standards
Corrected the type of the icon prop
Set to use parent's 100% width

Screenshots or videos
https://github.com/Tascurator/tascurator-frontend/assets/124953279/91a75672-7c03-4f73-83cf-95c65bfe4301
Assignee Checklist:

[x] The base branch is correct (no accidental merges)
[x] The branch name follows our branch naming rules
[x] The PR title follows our PR title rules
[x] My code follows our coding style
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings or errors in the console

Reviewer Checklist:

[ ] Code readability and simplicity
[ ] Follows best practices and coding standards
[ ] Understandable and maintainable code

Thanks! I just wanna confirm that the  margin should not be included to the component in this project, right?

Thanks! I just wanna confirm that the margin should not be included to the component in this project, right?

Yes. Thanks for asking. The margins are determined when this component is used, so I didn't include them.

Thanks! I just wanna confirm that the margin should not be included to the component in this project, right?

@yuki-92c Yes. Thanks for asking. The margins are determined when this component is used, so I didn't include them.


Support zkSync2 testnet?

Might it be possible to support the evm-compatible zkSync2 testnet?
https://zksync2-testnet.zkscan.io

Is there an etherscan instance for that testnet?

I think they may be using a custom block explorer https://zksync2-testnet.zkscan.io/


Update footer.html

I think I added the mastodon icon + link to the footer correctly but someone please check!

Left some comments, let me know if u want me to help make the changes.

I made some changes directly to the branch but not sure if they are correct or not 🤔


Mobile

I apologize in advance for posting this on the issues page if not appropriate.
I'm having difficulty troubleshooting a site loading on mobile Safari and Chrome on the iPhone/iPad in which I'm using simple-statistics.  Are there any known compatibility issues with mobile browsers?

No.
Emmanuel

On Mar 31, 2015, at 11:11 AM, Jeb Coleman<EMAIL_ADDRESS>wrote:
I apologize in advance for posting this on the issues page if not appropriate.
I'm having difficulty troubleshooting a site loading on mobile Safari and Chrome on the iPhone/iPad in which I'm using simple-statistics. Are there any known compatibility issues with mobile browsers?
—
Reply to this email directly or view it on GitHub.

Thank you.  I just narrowed it down to this: "Intl.NumberFormat" not being compatible with mobile, it was not simple-statistics.


custom channels: fixup new thread view

Expands on the new post detail / thread screen added in https://github.com/tloncorp/tlon-apps/pull/4188:

Allow scrolling
Show replies
Add context menu for all posts in screen (enabling edit + delete)
Add reply input (hardcoded as chat input)

This branch includes https://github.com/tloncorp/tlon-apps/pull/4212 as the beginning range of commits – to view without that branch, see https://github.com/tloncorp/tlon-apps/pull/4213/files/8822aa9c5bf0f111f6981af21b059c73d81086de..093aabdfab84ec893c551927fd233c620a67282f
https://github.com/user-attachments/assets/09e90fba-af6b-41c5-aec8-257d0124ffe3

@dnbrwstr makes sense + i agree. looking at the downstream uses of channelType, I think I'd want to put more thought into how to remove it from MessageInput – here are some features that I'd have a hard time naming:
https://github.com/tloncorp/tlon-apps/blob/093aabdfab84ec893c551927fd233c620a67282f/packages/ui/src/components/MessageInput/index.tsx#L574-L576
https://github.com/tloncorp/tlon-apps/blob/093aabdfab84ec893c551927fd233c620a67282f/packages/ui/src/components/MessageInput/index.tsx#L465-L471


OIDC RP stub

Dummy rp for OIDC provider to use

Looks good.
Really small comment, can we swap out the wildcard import in OidcRp? The GDS java style guide recommends against the use of wildcard imports.

Done


[Doc:] Helidon MP Persistence

Helidon MP JPA documentation (according to the new documentation structure).
Path: /HelidonMP/Enterprise
Currently just a link to JPA documentation. Should be extended.

[ ] Overview (should be created)
[ ] Maven Dependency (may be reused from current doc)
[ ] Usage (should be created)
[ ] API (should be created using JPA documentation)
[ ] Configuration (should be created)
[ ] Reference (should be created)
[ ] Examples (Pokemon example with link to repo)
[ ] Additional Information (if applicable)

Reopening for language review.


docsite: EOF handling for operator CRD

https://intel.github.io/pmem-csi/0.8/docs/install.html#install-pmem-csi-driver
has an example for creating the custom resource. The copy button stops after <<EOF instead of copying everything.

CC @intelkevinputnam

@pohly I'll take a look.

@pohly In order for this to work in Sphinx you have to use the "ShellSession" type for syntax highlighting. In this case the code block is marked as "console." The "ShellSession" type is a special case that copies everything in the code block except the prompt ("$"). Use "console" in cases where you only want to copy the prompt line and not the lines following (output).

I thought console and ShellSession were synonyms.

Use "console" in cases where you only want to copy the prompt line and not the lines following (output).

So something like this will not work?
$ echo foo
foo
$ echo bar
bar

It'll copy the commands (minus the $) and the output?
Then we'll really have to be careful about which one we use and how.

It'll copy the commands (minus the $) and the output?

Indeed, it does.

In GitHub Markdown they are synonyms. The lexer that Sphinx uses doesn't recognize ShellSession, so I used it opportunistically to create a special case to enable this specific behavior.


Matroska track duration not using timestamp of fist frame

After https://github.com/MediaArea/MediaInfoLib/pull/1272 Delay field is fine but I remarked that more generally the duration is not using this field so it includes the "empty" duration (which is expected to be excluded).

That is confusing, for example, if for aac and eac3 delay of 1024 samples and 256 samples is specified (it is always there), but that does not means there is nothing there: it is silence or garbage. But, there is also the remainder, in mp4 that is also removed by media duration from editlist (while priming of 1024 or 256 is done by media time). Media duration does not include media time priming samples. Now for mp4 there are 3 durations:
mdhd should have the pre-editlist duration
mvhd and tkhd present the post-editlist duration
Is there anything like that in mkv?

There is the CodecDelay delay element that can represent the amount of samples to discard from the codec. So if you want the exact duration you need to substract this value, and hopefully get the duration of the last Block. Otherwise you need to parse the last block and thus you already know the codec format and probably how much you have to delete from the beginning anyway.

@robUx4 maybe we don't talk about the same thing, CodecDelay seems to be for each frame, and internal to the format.
What we are looking for is a for saying that the first and last frame have more content than the input.
For example, there is an input of 1025 audio samples, compressed with AAC which mandated 1024 samples, we have 2 AAC frames with the last frames having the last 1023 of silence, currently mkvmerge duration is equivalent to 2048 samples, which is wrong (it is important especially for gapless jump to next file).
Additionally, we may want to cut the first 1023 audio samples without reencoding (for 2 frames it is not big, but in practice there are more frames, and it is for lossless cut), so real content is 2 audio samples but I don't see with Matroska how to say that, so players think that duration is 2048 samples.
with MP4 it is handled by the media duration = 2048 samples and edit list with media time of 1023 samples and duration of 2 samples, a player is expected to decode 2048 audio samples (limit of the audio format), discard the first and last 1023 samples an play 2 samples.
I don't see how to say same to the player with Matroska.

Given the samples are at the end, in this example, the BlockDuration may tell how many of the Block data may actually be played. But it's not sample accurate (yet). And that's only at the end, if samples need to be cut at the beginning there is DiscardPadding. Depending on the value is may crop data at the beginning or the end of the BlockGroup. Technically there can only be one so a Block can't be cut at the beginning or the end at the same time, but a BlockDuration could help. They have the same nanosecond "precision". With some rounding error it might be enough to tell which sample it corresponds to in most cases.

@robUx4 thank you, DiscardPadding and BlockDuration are exactly what I was looking for, now I need to find sample files and implement the support in MediaInfo.