Change resume-from to aggregator in buildall [skip ci]

Ensure proper spark version classifier profile activation by making aggregator the start of resume-from in the second single-threaded part of the build.
Note that  this is a quick fix without much investigation if this is "the right" fix but it works, and should be acceptable for a non-production script. The impact on the build time is negligible
Closes #4736
Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build

build


Add a Tool to display/play media

[x ] I have read and agree to the contributing guidelines.

Is your feature request related to a problem? Please describe.
When working with Image Generation Drivers (and eventually video, audio, and any other media), there's no built in way to display that media.
Describe the solution you'd like
I would like a tool that I can add to a Griptape Structure that will display the media. For example, I could have an agent generate an image, and then ask it to display the image and it would open it in an appropriate application on my computer. If it's an audio file, then it could play the audio file for me.
Describe alternatives you've considered
Because we're using Python, I have created my own tool to do this for displaying images, but it'd be better if it were a part of Griptape so others could do it, and if it were extended to handle all media types.
Additional context
An example of a ViewImage tool
from schema import Schema, Literal
from attr import define
import os, subprocess, sys

from griptape.artifacts import TextArtifact, ErrorArtifact
from griptape.utils.decorators import activity
from griptape.tools import BaseTool

def open_image(image_path):
    if sys.platform == "win32":
        os.startfile(image_path)
    elif sys.platform == "darwin":  # macOS
        subprocess.run(["open", image_path])
    else:  # linux variants
        subprocess.run(["xdg-open", image_path])

@define
class ViewImage(BaseTool):
    @activity(
        config={
            "description": "View the image.",
            "schema": Schema(
                {
                    Literal(
                        "filename", description="The filename of the image to view."
                    ): str,
                }
            ),
        }
    )
    def view_image(self, params: dict) -> TextArtifact | ErrorArtifact:
        try:
            filename = params["values"]["filename"]
            agent_response = ""

            # Make sure the path exists
            agent_response = os.path.exists(filename)
            if agent_response:
                open_image(filename)

            return TextArtifact(agent_response)

        except Exception as e:
            return ErrorArtifact(f"Error retrieving projects: {e}")

Closing as this would be best suited for a Griptape Extension.


How can I highlight some data?

Hi!
Let's say I have some data in a bar chart: [10,20,25,26,30]
Is it possible, to highlight data "26" after the chart has been renderer? For example I click on a button "highlight" and then the bar of data 26 gets a red border around the bar?
thanks a lot guys!!

oh, yes! try this:
series: [{
	name: '2011年',
	type: 'bar',
	data: [18203, 23489, 29034, 104970, 131744, 630230],
	itemStyle: {
		normal: {},
		//highlight
		emphasis: {
			barBorderColor: 'red',
			barBorderWidth: 1
		}

	}
}]

Also, see here: http://echarts.baidu.com/doc/doc.html#ItemStyle
this is not click, the click event will more complex


Handle validator definition transactions in real time rather than batching

Fixes #566

@zbuc looks like this deleted the orthosie allocations by accident (?)

@zbuc looks like this deleted the orthosie allocations by accident (?)

Oops, I had removed a bunch of them to make the testing feedback loop tighter, will fix


Trivial change to trigger website rebuild on merge

Signed-off-by: Richard Hartmann<EMAIL_ADDRESS>

Ah, that would do it...


svg branch - Add better docstrings to libqtile.images

Closed
https://github.com/frostidaho/qtile/commit/4895a0373f4450fd02058d1dcb3cf00152c5a1e1


@react-three/drei を入れると、ビルドエラーが起きる

エラー内容
Run yarn export
yarn run v1.22.19
$ next build && next export && next-export-optimize-images
info - [next-export-optimize-images]: Configuration was not loaded. (This is optional.)
warn  - You have enabled experimental feature (esmExternals) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

info  - Linting and checking validity of types...
Failed to compile.

./src/components/common/Header.tsx:13:9
Type error: Expression produces a union type that is too complex to represent.

  11 |     <>
  12 |       <Flex
> 13 |         bgColor={colorMode === 'light' ? 'blackAlpha.100' : 'blackAlpha.400'}
     |         ^
  14 |         {...props}
  15 |         top={0}
  1[6](https://github.com/r4ai/r4ai.github.io/actions/runs/3801495222/jobs/6466025267#step:8:7) |         zIndex='sticky'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

このissueが関連してるっぽい
https://github.com/pmndrs/drei/issues/704

これも参考になりそう
https://stackoverflow.com/questions/68692230/ts-expression-produces-a-union-type-that-is-too-complex-to-represent-with-materi


any way to use with Realm's Results for dataSource?

I am using Realm for my local db.
Any way to use Realm's Results for dataSource?
Not to change Results list to a swift Array.

Now I use it in this way:

I maintain both Realm's Results list and swift's Array array.
Results is for the connection of Realm db, and I listen to Results.
If any change in Results, I will sync the change into Array.

But the problem is Results<T> is lazy loaded and is not sliced into pieces. It always means the whole data of type T in the db. If the result is large, I think it's expensive to map it into an swift array.
Any suggestions?
Thanks.

For now you can create your own dataSource that use Results<T>
just subclass DataSource<T> and override the following methods. Shouldn't be hard.
  open var numberOfItems: Int {
    return 0
  }
  open func data(at: Int) -> Data {
    fatalError()
  }
  open func identifier(at: Int) -> String {
    return "\(at)"
  }

Thanks for the reply.
Solution:
import Foundation
import RealmSwift
import CollectionKit

class RealmDataSource <T>: DataSource<T> where T:Object {
    var results: Results<T>

    init(data: Results<T>) {
        self.results = data
        super.init()
    }

    override open var numberOfItems: Int {
        return self.results.count
    }

    open override func data(at: Int) -> T {
        return self.results[at]
    }

    override open func identifier(at: Int) -> String {
        return "\(at)"
    }
}

Usage: Just replace the DataSource with RealmDataSource.
dataSource: RealmDataSource(data: self.albums!)
The whole provider:
var albums: Results<AlbumModel>?

let albumProvider = BasicProvider(
            identifier: nil,
            dataSource: RealmDataSource(data: self.albums!),
            viewSource: ClosureViewSource(viewGenerator: { (_, index) -> AlbumTableCell in
                return AlbumTableCell.loadFromNib(named: "AlbumTableCell", bundle: nil) as! AlbumTableCell
            }, viewUpdater: { (albumV: AlbumTableCell, _, index) in
                albumV.backgroundColor = .white
            }),
            sizeSource: { (index, _, _) -> CGSize in
                return CGSize(width: self.view.bounds.width, height: 260)
        },
            layout: FlowLayout(lineSpacing: onePixalLineHeight),
            animator: nil,
            tapHandler: { (tapContext) in

        })


Add details of non-matching mime type filter behaviour

Closes #63

Adds details to main configuration documentation on what happens to mime type filtering when a request's mime type is not matched by any of the rules in the share option.
Lifts example from the 1.24.0 news item for usage with a fallback option.

Tested locally to make sure formatting and reference links work and go the correct places.

Fixed all the change requests and responses, and opened PR #68 from my own fork. Same content as this one.


Allow disabled choices

Set the third value in choices to TRUE to disable an item on the list.

i gotta comment even though I’m not a maintainer but it’s my code you’re changing :).
i like the idea, but apart from the fact, that this change only provides an array syntax for specifying disabled options, i always feel like options that use designated array indexes are hard to remember and force developers to look at the docs a lot because they forgot which option is which array-index. the wish to omit the disable or default flag (this pr introduces both as of now) and the need to have special values to skip an array index is another problem i see with this implementation.
why not keep the current format as it is and add defaults and disabled values as individual field options? iirc values are unique for each field and you could just build object where choice values map to default values/ disabled flags. that’d be backwards compatible, easy to remember and you probably would’t have to touch any code beside the choice renderer.
btw. how do you see choice defaults working out? i might be mistaken but I don’t see the point because you already have full control over the values as the user is simply selects given choices.

I haven't truly yet understood this PR, but I agree that anything that requires remembering or matching array indices is just not a good API.


Convert JournalVirtualDev to use AppendBlkallocator

We will be introducing AppendBlkAllocator authored by @yamingk. Request is to use AppendBlkAllocator for JournalVirtualDev. With this some of the additional interfaces we use in VirtualDev (example: update_end_of_chunk(), all read/write API variant that pass Chunk*) shall be removed.

We cant use append blk allocator due to cp. Closing this.


new release

@oun would you mind doing a new release so the pulumi registry gets the logo update?

@susanev Yes, I will do.


losing precision in converting TIMESTAMP and INT64 to Javascript Number

https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1648#issuecomment-251383826
The BigQuery TIMESTAMP has up to microseconds precision, but when converting to a JavaScript Date, it becomes up to milliseconds
https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1648#issuecomment-251249300
A JavaScript Number is really only a FLOAT64, there is no real INT64, so during conversion some precision is lost:
$ node ./bigquery/queries.js sync 'SELECT ARRAY<INT64>[0x7fff1234deadbeef, -0x8000000000000000] AS example_array'
{ err: null,
  rows: [ { example_array: [<PHONE_NUMBER>161593000, -9223372036854776000 ] } ],
  nextQuery: null,
  apiResponse:
   { kind: 'bigquery#queryResponse',
     schema: { fields: [ { name: 'example_array', type: 'INTEGER', mode: 'REPEATED' } ] },
     jobReference: { ... },
     totalRows: '1',
     rows: [ { f: [ { v: [ { v: '9223110580161593071' }, { v: '-9223372036854775808' } ] } ] } ],
     totalBytesProcessed: '0',
     jobComplete: true,
     cacheHit: false } }
Received 1 row(s)!
[ { example_array: [<PHONE_NUMBER>161593000, -9223372036854776000 ] } ]

I don't really have a solution, please suggest when application need this much precision

Thank you for opening this, @c0b! I think we're okay on integer & timestamp precision, since it is available through the raw apiResponse argument when the user requires it.
@callmehiphop what do you think?

Maybe in the docs we could recommend/show examples for precision using an int64 lib? We use node-int64 in Bigtable.

Based on the discussion in the Node.js standup today, we are deciding this is not release blocking. A user who needs the full precision can get it from the raw API response in the third callback argument.

I don't believe there is a good solution for this without introducing complexity.
TIMESTAMP
The docs say that TIMESTAMPs are stored internally with microsecond precision, however, the raw API response seems to be returning the value in seconds.
INT64
The solution for this would be a bit more complex for the user. Currently, if you read one of these values, you get the native JS "Number" type. For our @google-cloud/spanner API, the Spanner team wanted to guarantee the same precision the API stores, so this is how the "more complex" solution looks for that API: https://github.com/googleapis/nodejs-spanner/blob/8a8b43f52afdbcd443cdc6d6c5d0f2fa68ee5566/src/codec.js#L54-L66:
function Int(value) {
  this.value = value.toString();
}

Int.prototype.valueOf = function() {
  var number = Number(this.value);

  if (number > Number.MAX_SAFE_INTEGER) {
    throw new Error('Integer ' + this.value + ' is out of bounds.');
  }

  return number;
};

table.read(query, function(err, rows) {
  var row = rows[0]

  row = [
    {
      name: 'SafeInt',
      value: {
        value: '2' // string
      }
    },
    {
      name: 'OutOfBoundsInt',
      value: {
        value: '--out-of-bounds-integer--' // string
      }
    }
  ]

  var safeInt = row[0].value
  typeof safeInt === Spanner.Int
  console.log(safeInt.value)
  // '2' (String)
  console.log(safeInt)
  // 2 (Number type)

  var outOfBoundsInt = row[1].value
  typeof outOfBoundsInt === Spanner.Int
  console.log(outOfBoundsInt.value)
  // '--out-of-bounds-integer--' (String)
  console.log(outOfBoundsInt)
  // throws 'Integer '--out-of-bounds-integer-as-string--' is out of bounds.'
})

@lukesneeringer how should we determine if the precision is worth the complexity?

This issue was moved to googleapis/nodejs-bigquery#6


sysbox download links in github releases do not work

downloads.nestybox.com site appears to be offline, so none of the download links in any of the github releases work.

Hi @ppat, I just tried without problem; can you retry?
$ wget https://downloads.nestybox.com/sysbox/releases/v0.6.4/sysbox-ce_0.6.4-0.linux_amd64.deb

--2024-06-12 07:22:39--  https://downloads.nestybox.com/sysbox/releases/v0.6.4/sysbox-ce_0.6.4-0.linux_amd64.deb
Resolving downloads.nestybox.com (downloads.nestybox.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
Connecting to downloads.nestybox.com (downloads.nestybox.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://storage.googleapis.com/sysbox-releases/v0.6.4/sysbox-ce/sysbox-ce_0.6.4-0.linux_amd64.deb [following]
--2024-06-12 07:22:39--  https://storage.googleapis.com/sysbox-releases/v0.6.4/sysbox-ce/sysbox-ce_0.6.4-0.linux_amd64.deb
Resolving storage.googleapis.com (storage.googleapis.com)... 2607:f8b0:4005:811::201b, 2607:f8b0:4005:813::201b, 2607:f8b0:4005:80c::201b, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|2607:f8b0:4005:811::201b|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11767016 (11M) [application/octet-stream]
Saving to: ‘sysbox-ce_0.6.4-0.linux_amd64.deb.1’

sysbox-ce_0.6.4-0.linux_amd64.deb.1                                 100%[===================================================================================================================================================================>]  11.22M  9.87MB/s    in 1.1s

2024-06-12 07:22:41 (9.87 MB/s) - ‘sysbox-ce_0.6.4-0.linux_amd64.deb.1’ saved [11767016/11767016]

It appears to work now. Apologies...
Earlier this morning, it didn't work from within Github Actions, and I could replicate it locally.
--2024-06-12 01:42:00--  https://downloads.nestybox.com/sysbox/releases/v0.6.4/sysbox-ce_0.6.4-0.linux_amd64.deb
Resolving downloads.nestybox.com (downloads.nestybox.com)... <IP_ADDRESS>, ::
Connecting to downloads.nestybox.com (downloads.nestybox.com)|<IP_ADDRESS>|:443... failed: Connection refused.
Connecting to downloads.nestybox.com (downloads.nestybox.com)|::|:443... failed: Connection refused.

But it appears fine now. Thanks.


Adding the Romanian translation

Alright, I finally managed to translate the entire file, although, I will update it more on this pull request as time goes on. (I'm so nervous if it gets declined...)
I'm so excited for my language to be included here! Since I love LocalSend, and the only way I would contribute is translating, while yes, it might consume my time, but atleast more Romanian people will be coming 😊.
Thank you so, so much with the application being the most essential to us! 🩵

Thank you!


Sync observability improvements branch with master branch

Purpose

Sync observability improvements branch with master branch

Codecov Report

Merging #23698 into observability-improvements will not change coverage.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##           observability-improvements   #23698   +/-   ##
===========================================================
  Coverage                       14.59%   14.59%
===========================================================
  Files                              51       51
  Lines                            1411     1411
  Branches                          219      219
===========================================================
  Hits                              206      206
  Misses                           1189     1189
  Partials                           16       16

Continue to review full report at Codecov.

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


Escaping symbol added after every word to a Folder name

Describe the bug
Escaping symbol added after every word to a Folder name, e.g. when typing a command cd untitled folder it suggests and writes – cd untitled\ folder
To Reproduce
Steps to reproduce the behavior:
installed simply zsh-autosuggestions and zsh-syntax-highlighting, started to use it and the issue appears right away
Expected behavior
when typing a command cd untitled folder it suggests and displays cd untitled folder
Screenshots

Desktop

OS + distribution: macOS Sonoma 14.1.2 (23B92)
Zsh version: 5.9
Plugin version: v0.7.0

I'm not a maintainer, but this is definitely intended. You can try out what happens if you don't add the backslash and run the cd command.

@Saecki, i do not add the backslash, it's added automatically by autosuggestion / autocompletion to every single folder that has more than 1 word in a title and a space between those words:

Yes, but the \ is necessary for your shell to understand that the two words are in fact one directory. If you would run cd untitled folder instead of cd untitled\ folder, you would get the following error:
❯ cd untitled folder
cd: string not in pwd: untitled

ah, got it, thank you, sorry for my noob's request here, closing the ticket then


improve performance on boundary of empty slab cache being full

The performance of then initial naive approach turned out to be better than expected.

The performance of the initial naive approach turned out to be better than expected.


User model should not require remember token unless you're using it.

Authem breaks when looking for a user by remember token if the column doesnt exist. I don't want to have to put a column on that user if I'm not using it.

@mrmicahcooper :+1: I'd like to work on this. Does anybody know if it's still an issue, and if so, could you describe your use case or repro steps?

@paulelliott do you know if this is still a thing?

@esparkman pretty sure it is still a thing

I'll take a look and if so I'll try and get a PR in


[Game Crash] Too many open files

Describe how it crashed by giving us those informations:

Just loaded the game up for the second time after a clean install. First run was with default files (no additional songs). Second run, when it crashes, is after I moved my song library into the directory.
No crashlog generated.

info.txt
log.txt
Explain how we can reproduce the error

Start the game

Sreenshots/Videos

Additional information
I have an extremely large song library. It opens fine in Stepmania 5.1 Beta 2 (after disabling all image caches), it loads fine in my own compiled from source Stepmania 64-bit from the git, and it also loads fine in the latest release of Etterna. Typically if it were an error with the 32-bit limitations I would have seen the ram reach the 1.8gb range, however this fatal error happened before it got to 1gb of ram usage, so I am doubtful a 64-bit executable would be the remedy here.

We have been investigating this bug, thanks for reporting it. It's due to things not closing correctly with the 'unicodedoupper' function. We have almost fixed it in our current pre-alpha, so I'm hoping it will be omitted completely for 4.8.3 which will be out this weekend.

Fixed in alpha 4.8.3


[Enhancement]: Modify storage class to include CSI capabilities

What would you like to be added:
Would like to modify the storage driver of the default storage class to include CSI capabilities
Why is this needed:
This would allow for us to use volumesnapshot capabilities and RHACM integrations like VolSync

/assign cooktheryan

@sallyom we should document that load changes w/ implementing the CSI capabilities vs what we provide today


Customization of the components is not working

Select which package(s) are affected
@livekit/components-react
Describe the bug
I'm using next.js and have been following this when I use the default styling components and try to change the theme directly it's working but whenever I try to change it via changing the css it's not working why can't they work directly with tailwind?
I've been following this https://docs.livekit.io/reference/components/react/concepts/style-components/
Reproduction

I've set the bg to the bg-zinc-900 with backdrop blur it's blurring whole thing but I don't want white dots to be blurred they are still blurred not sure how can I fix it
replication this is my current code

                    <LiveKitRoom
                        token={connectionDetails?.participantToken}
                        serverUrl={connectionDetails?.serverUrl}
                        connect={connectionDetails !== undefined}
                        audio={true}
                        video={false}
                        onMediaDeviceFailure={onDeviceFailure}
                        onDisconnected={() => updateConnectionDetails(undefined)}
                    >

                            <Card className="rounded-lg text-zinc-950 dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50 border border-zinc-800 bg-zinc-900/50 backdrop-blur-none shadow-xl">

                                    <SimpleVoiceAssistant onStateChange={setAgentState} />
                                    <ControlBar
                                        onConnectButtonClicked={onConnectButtonClicked}
                                        agentState={agentState}
                                    />

                            </Card>

                        <RoomAudioRenderer />
                        <NoAgentNotification state={agentState} />
                    </LiveKitRoom>

);

}

function SimpleVoiceAssistant(props: {
  onStateChange: (state: AgentState) => void;
}) {
  const { state, audioTrack } = useVoiceAssistant();
  useEffect(() => {
    props.onStateChange(state);
  }, [state]);
  return (

      <BarVisualizer
        state={state}
        barCount={3}
        trackRef={audioTrack}
        className="agent-visualizer bg-zinc-900/50 backdrop-blur-none"
        options={{ minHeight: 24 }}
      />

  );
}

function ControlBar(props: {
  onConnectButtonClicked: () => void;
  agentState: AgentState;
}) {
  const krisp = useKrispNoiseFilter();

  useEffect(() => {
    krisp.setNoiseFilterEnabled(true);
  }, []);

  return (

      <AnimatePresence>
        {props.agentState === "disconnected" && (
          <motion.button
            initial={{ opacity: 0, top: 0 }}
            animate={{ opacity: 1 }}
            exit={{ opacity: 0, top: "-10px" }}
            transition={{ duration: 1, ease: [0.09, 1.04, 0.245, 1.055] }}
            className="uppercase px-4 py-2 bg-white text-black rounded-md hover:bg-gray-200 hover:shadow-lg transition duration-100 ease-in-out"
            onClick={() => props.onConnectButtonClicked()}
          >
            Start a conversation
          </motion.button>
        )}
      </AnimatePresence>
      <AnimatePresence>
        {props.agentState !== "disconnected" &&
          props.agentState !== "connecting" && (
            <motion.div
              initial={{ opacity: 0, top: "10px" }}
              animate={{ opacity: 1, top: 0 }}
              exit={{ opacity: 0, top: "-10px" }}
              transition={{ duration: 0.4, ease: [0.09, 1.04, 0.245, 1.055] }}
              className="flex h-8 justify-center "
            >
              <VoiceAssistantControlBar controls={{ leave: false }} data-lk-theme="default"   />
              <DisconnectButton data-lk-theme="default"  >
                <CloseIcon />
              </DisconnectButton>
            </motion.div>
          )}
      </AnimatePresence>

  );
}

function onDeviceFailure(error: any) {
  console.error(error);
  alert(
    "Error acquiring microphone permissions. Please make sure you grant the necessary permissions in your browser and reload the tab"
  );
}

and my current css
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --lk-va-bar-width: 60px;
  --lk-control-bar-height: unset;
  --lk-audio-bar: #fcfcfc;

}

.agent-visualizer > .lk-audio-bar {
  width: 60px;
}

.lk-audio-bar{
  @apply bg-[#fff]
}

.lk-agent-control-bar {
  @apply border-t-0 p-0 h-min mr-4;
}

.lk-disconnect-button {
  @apply h-[36px] hover:bg-[#6b221a] hover:text-[white] bg-[#31100c] border-[#6b221a];
}

.love {
  @apply bg-red-500;
}

html {
  height: 100%;
  box-sizing: border-box;
  touch-action: manipulation;
  scroll-behavior:smooth;
  font-feature-settings:
    'case' 1,
    'rlig' 1,
    'calt' 0;
}

html,
body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Helvetica Neue',
    'Helvetica', sans-serif;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  @apply text-white bg-zinc-800 antialiased;
}

Logs
No response
System Info
macos sequoia

    "@livekit/components-react": "^2.6.7",
    "@livekit/components-styles": "^1.1.4",
    "@livekit/krisp-noise-filter": "^0.2.12",

Severity
annoyance
Additional Information
No response

but whenever I try to change it via changing the css it's not working why can't they work directly with tailwind?

From your description it sounds like it is in fact working with tailwind, but the problem is that all elements that BarVisualizer consists of get the blurred background applied. In the reproduction image you shared the individual bars do not appear to be blurred at all, so I'm not sure what you are referring to exactly.
Some context

BarVisualizer consists of multiple HTMLElements. Changing the css directly on it will only apply to the visualizer container
In order to have more control over the bar visualizer you can pass in a custom "bar" component like so

<BarVisualizer>
  <MyBarTemplate />
</BarVisualizer>

oh I see thanks for your reply I got it working


Responsive dropdowns placement

The Current
Bootstrap uses Popper for dropdown and tooltip positioning.
This works great when you don't care a lot about responsive.
The Should
Bootstrap should offer a way to specify the default location of a dropdown/tooltip on the different supported breakpoints, similar to how it supports different values for paddings and margins.
The Why
Yes, Popper supports changing the placement when there is no space, but that is less than optimal.
The Case
I have a nav menu at the bottom left, that has a dropdown which is shown to the right of the button. (It's not rendered by BS, but by Popper). On mobile, I move the nav bar to top. There, popper detects that there is no space to the right anymore, and renders it on the left. It would be much better to have it below it's button (bottom) instead.
Simple mockup

Or I'm not finding the right piece of documentation...

https://getbootstrap.com/docs/5.0/components/dropdowns/#responsive-alignment is available for horizontal alignment, but you'd have to add additional CSS or JS to reposition it from side to bottom. Doing this via CSS would add a ton of compiled code and isn't worth it in my opinion.

Well, it isn't that complex.
All what we need is some new classes (dropdown-md dropend-xl), and utilize window.matchMedia in JS, add more suger.
I just added the proper classes based on the element attributes.
^ This is for future if anyone needed this.


Benchmark instances

FJSPLIB
https://people.idsia.ch/~monaldo/fjsp.html#ProblemInstances
New instances (?)
https://github.com/ai-for-decision-making-tue/Job_Shop_Scheduling_Benchmark_Environments_and_Instances

The paper

Da Col, G., & Teppan, E. C. (2022). Industrial-size job shop scheduling with constraint programming. Operations Research Perspectives, 9, 100249. https://doi.org/10.1016/j.orp.2022.100249

introduces a benchmark set.

Dauzère-Pérès, S., Ding, J., Shen, L., & Tamssaouet, K. (2023). The flexible job shop scheduling problem: A review. European Journal of Operational Research. https://doi.org/10.1016/j.ejor.2023.05.017

contains an overview of benchmark instances.

Currently parsing the instances from https://github.com/ai-for-decision-making-tue/Job_Shop_Scheduling_Benchmark_Environments_and_Instances/tree/main/data.

[ ] jsp
[ ] fjsp
[ ] fjsp_sdst
[ ] fajsp
[x] Ignoring fsp/vrf.

https://github.com/snt-robotics/fjsp_fcr


CUDA: Fix returned dtype of vectorized functions (Issue #8400)

The return dtype was never passed through to the compilation, so the inferred dtype was always used instead, which could result in some widening. This commit passes the required return dtype through.
Vectorize tests are updated to check the return dtype.
The first commit on this branch is a cleanup and modernization of the tests for the CUDA @vectorize decorator - it dates from NumbaPro, and some changes were made to make it clearer, simpler, and easier to augment with tests for the return dtype.
See individual commits for details of changes - the patch is probably easiest reviewed as each commit individually.
Fixes #8400.

gpuci run tests

Thanks @guilhermeleobas ! Are you OK with marking this as ready to merge?

@gmarkall, done

@stuartarchibald / @esc Could this have a CUDA BF run please?

Buildfarm ID: numba_smoketest_cuda_yaml_188.

Buildfarm ID: numba_smoketest_cuda_yaml_188.

Passed.


how set  browser window max when selenide start

use chrome browser
when selenide open google  my browser not max
is not Default max?

How do you init browser?

@rmarinsky
		Configuration.browser="chrome"; 		System.setProperty("webdriver.chrome.driver", "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chromedriver.exe");

Did you try updating Configuration.startMaximized ?

@abondarev-sel ye,I have tried
but ,not work, not max

i know why browser not max,
my chromedriver was not  new  version
when  i  try new chrome 2.29 ,it work

close


trac log in error

log in gives:
Authentication information not available. Please refer to the installation documentation.

I've just turned the logging on.  Can you try again?

I still get this:

little message like a file for download saying server error...

Could it be that you're using http://curation.pombase.org/pombase-trac/ instead of https://curation.pombase.org/pombase-trac/ ?
ie. HTTP instead of HTTPS

durr, I need to fix my bookmark...not paying attention, too busy moaning ;)

No problem.  I would normally have set it up to redirect HTTP to HTTPS but I was in a hurry.


Pie chart and Bar chart stopped working after latest commits done 5 days ago.

The data prop is being passed properly to BarChart and PieChart components as we see from debugger. But PieChart and BArChart are not able to process these props properly after you merged your last PRs. Our project was working fine and we created a new build after your last merge and boom the project screwed up.
Now, the UI does not render PieChart and BarChart. These are the only charts that we were using from chart-kit.

Try downgrading, I'll take a look

I double checked the sample App in this repo, and it works fine. Check out the contribution guide for instructions on how to run it. Without knowing what the error is, there is not much I can help with.


Fix ordinal suffix in commit message in update.go

28nd, 1nd, 3nd, 4nd, 5nd, 6nd, etc., are wrong :P
Change the date format to a more locale-agnostic format
By the way, love this project! :heart:
We're going to add it to the main tldr readme!

Good catch, thanks for your pull request. I guess I was a bit lazy and didn't notice it :D
I'm happy that this project is useful.
By next thursday I've got some time and can test this change and update the instance which runs on my server.

I'm happy that this project is useful.

Yes, it's extemely useful.  It's now added to the readme, and I'd like to rearrange the readme such that it gets noticed right away, as it's really fantastic for new contributors.

Also @LukBukkit, I tested it manually, and it works:
$ cat test.go
package main

import "time"
import "fmt"

func main() {
	date := time.Now().Format("2 January 2006")
	fmt.Println(date)
}
$ go run test.go
8 March 2021
$

Awesome, then I can merge this small change right away. 👍
Would it be useful (for you) if each cell was clickable? For example if you click on a cell of a translation which does not yet exists, the user is redirected to GitHub and can create this file. In the other case, if a translation exists, the link points to the markdown file on GitHub.

For sure that would be super useful!  I think contributors would love that!!

The reworked website including this feature, is now live.

Wow, that's fantastic!  Yes, selecting the pages on GitHub has always been a bit tedious :)
I also noticed that you made the table header persistent when you scroll; nice job! I've been meaning to request that, because it's easy to get lost :)
One more (minor) thing: would it be that difficult to highlight the command and the language cells corresponding to the cell you're hovering over? I'm thinking something like this:

I also noticed that you made the table header persistent when you scroll; nice job! I've been meaning to request that, because it's easy to get lost :)

This feature was even present before, but it did only work in Firefox and I didn't noticed this for a long time, but now it should work in every browser.

One more (minor) thing: would it be that difficult to highlight the command and the language cells corresponding to the cell you're hovering over?

Yeah that's a good idea. It's easy to implement the highlighting for the command rows, but it's more difficult for the language columns. I'm implementing the former and creating an issue for the latter to complete this task later. The page built with version 1.1.2 (includes row highlighting) should live at midnight (UTC).


[cocoon] reset-try-task retried all builds

There was 5 builds stuck on https://github.com/flutter/flutter/pull/81449, but it rescheduled for all of them.
Ideally, it should only reschedule the non-passing checks.

Looking at the code, we're going to want to rerun builds that are not succeeded. Sometimes there are checks that are stuck hanging.

https://github.com/flutter/cocoon/pull/1446 fixed this. It updated the scheduleTryBuild to not schedule builds on a PR when there is a passing version


MINOR: remove old producer in config sections to align with APIs

ping @gwenshap @junrao for reviews.

LGTM


Launcher Resume feature may break loading savegame settings

We've got one report with
System.NullReferenceException: Object reference not set to an instance of an object
Here is the problem:
GenericObserable.NotifyObservers: An exception occured while notifying an observer of observable TrafficManager.Manager.Impl.GeometryManager+GeometryUpdateObservable: System.NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.Manager.Impl.ParkingRestrictionsManager.HandleInvalidSegment (TrafficManager.API.Traffic.Data.ExtSegment& seg) [0x00000] in <filename unknown>:0
  at TrafficManager.Manager.AbstractGeometryObservingManager.OnUpdate (GeometryUpdate update) [0x00000] in <filename unknown>:0
  at TrafficManager.Util.GenericObservable`1[TrafficManager.API.Manager.GeometryUpdate].NotifyObservers (GeometryUpdate subject) [0x00000] in <filename unknown>:0

HandleInvalidSegment is trying to reset info about parking space for invalid segment. The problem is that ParkingManager was somehow not available at a time of this call which shouldn't gonna happen ever.
Looking closer at sequence of initialization stuff I found that log looks a bit weird...
 Verifying...
                  SpeedLimitManager.OnBeforeLoadData: Scan complete.
 Loading mod data now.
Info<PHONE_NUMBER>: Loading Data from New Load Routine! Length=8216
Info<PHONE_NUMBER>: Loading State from Config
Info<PHONE_NUMBER>: Loading 0 extended citizens
Info<PHONE_NUMBER>: Loading 0 extended citizen instances
Info<PHONE_NUMBER>: Priority segments data structure (old) undefined!
Info<PHONE_NUMBER>: Loading 0 priority segments (new method)
Info<PHONE_NUMBER>: Loading parking restrictions data. 0 elements
Info<PHONE_NUMBER>: Loading lane vehicle restriction data. 0 elements
Info<PHONE_NUMBER>: Loading 0 timed traffic lights (new method)
Info<PHONE_NUMBER>: Loading junction traffic light data (old method)
Info<PHONE_NUMBER>: Loading toggled traffic lights (new method)
Info<PHONE_NUMBER>: Lane arrow data structure (old) undefined!
Info<PHONE_NUMBER>: Loading lane arrow data (new method)
Info<PHONE_NUMBER>: Loading 0 lane connections
Info<PHONE_NUMBER>: Loading custom default speed limit data. 0 elements
Info<PHONE_NUMBER>: Loading lane speed limit data. 0 elements
Info<PHONE_NUMBER>: Loading junction restrictions. 0 elements
Info<PHONE_NUMBER>: OnLoadData completed successfully.
 (I've had no luck)
TMPE.log

I'm not sure it's the auto-resume causing that. It's not that much different from clicking button on main menu.
Need to do some chores but will post what I found while investigating it as part of #699 (compatibility checker updates). Not sure if it has changed any since the SH update though

Ok, here's summary of how the auto continue works for current SH game version:

...on game Awake(), the command line parsed and bool LauncherLoginData.m_continue is assigned true if the --continuelastsave is present.

Next time that gets read is when the main menu is created, it's Refresh() method is called; end of that method has this code:

Which calls this:

Which is basically like clicking the "Continue" button, doing this...

Which in turn does this mince (since Disasters DLC was added (asks user if they want to enable disasters, only first time after activating the DLC, if memory serves):

And then it just continues game in usual manner:

So I can't see anywhere in all that lot that would alter the loading sequence based on presence of the --continuelastsave launch option.

If there is some issue with continue game vs. load game, then it would also be happening if user clicked Continue button on main menu.

I remember I couldn't reproduce is. I have no idea why and what is causing this issue. Closing.


Mk2.5 Spaceplane Parts to SpaceDock, closes #3198

I don't know why the identifier RaginCaucasian was chosen.

I would assume it's due to what's said here about picking the identifier


Search input hides away behind search title

Issue Type: Bug

open worksapse
use global search
select found file
Input will be behind search title

After I turned off extensions and did the same steps search input is just disappeared.

VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:07:43.495Z)
OS version: Linux x64 4.4.0-139-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (4 x 2777)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
7.70GB (0.55GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-apache
mrm
1.1.1

vscode-language-pack-ru
MS-
1.29.2

sublime-keybindings
ms-
4.0.0

vscode-icons
rob
7.28.0

code-settings-sync
Sha
3.2.0

markdown-all-in-one
yzh
1.7.0

I've never seen that before. Does that happen every time? Are there results? Can you show a screenshot of the whole window?

Does that happen every time?

Yes
I've changed locale to eng and I cannot repro it, but if locale in rus it happens all the time
 RU:

 EN:


Ns web vm deployment

Deployment of https://trello.com/c/vxPG2L3a/714-new-nightshade-web-vm
Configuration in management tools at https://github.com/openmicroscopy/management_tools/pull/352
Still in development

This version run yesterday to provision ns-web-vm.
LS27172:nightshade-web kenny$ echorun ansible-playbook -l ns-web.openmicroscopy.org -i ~/Forks/management_tools/ansible/inventory/prod-hosts --ask-become-pass playbook.yml | tee ns-web-provision_$(date -u +"%Y%m%d-%H%M%SZ").log
Run:
ns-web-provision_20170329-150136Z.txt
Run (after removing yum exclusions for check-mk):
ns-web-provision_20170329-152200Z.txt

This version run a few minutes ago, installing SSL config and certificate.
LS27172:nightshade-web kenny$ echorun ansible-playbook --diff -l ns-web.openmicroscopy.org -i ~/Forks/management_tools/ansible/inventory/prod-hosts --ask-become-pass --ask-vault-pass playbook.yml | tee ns-web-p
rovision_$(date -u +"%Y%m%d-%H%M%SZ").txt
# Fri  7 Apr 2017 16:41:23 BST:  ansible-playbook --diff -l ns-web.openmicroscopy.org -i /Users/kenny/Forks/management_tools/ansible/inventory/prod-hosts --ask-become-pass --ask-vault-pass playbook.yml

ns-web-provision_20170407-154123Z.txt
https://ns-web.openmicroscopy.org/webgateway/img_detail/3933597/

(temporary) manual configuration of ns-web performed installs the web-extensions to bring ns-web to feature parity with Nightshade. Server ready for testing. Not added to the playbook, as it's changes that won't be necessary with 5.3.0. Can be added later if required.

Now added the 'manual' install steps for figure and webtagging, as mentioned in https://github.com/openmicroscopy/infrastructure/pull/255#issuecomment-292958713, as I want to use the Ansible to push more config settings, so require it to continue to work.

Current https://github.com/openmicroscopy/infrastructure/pull/255/commits/7003b1e9b85c46c891d0b7af6aea581d3d5fe7c1 successfully working on infra-testpr, figure generation and tagsearch both AOK.
PLAY RECAP *********************************************************************
infra-testpr.openmicroscopy.org : ok=65   changed=37   unreachable=0    failed=0

ns-web reset to 'post provision' snapshot, and redeployed this playbook at current version, combined with private config at 11901be
ns-web-provision_20170412-173859Z.txt
ns-web-provision_20170412-171603Z.txt

re-ran with updated 'total cores' math


pkg-config issue

Hi,
when i try to clone and start the repository using "go get github.com/snickers/snickers"
i get a pkg-config issue telling me that all the packages from ffmpeg are not found ( libavutil, libavformat, etc....)
what should be done to solve this issue ?
Thank you
Best regards

hey @flenoir I'm afraid you don't have ffmpeg installed with --enable-shared config. Can you follow the steps on https://github.com/snickers/snickers#setting-up or just take a look at the dockerfile?

Hi Flavio,
Thank you for your reply.
So i recomplied ffmpeg with enable-shared.
the ffmpeg command returns now :

ffmpeg version N-82471-g0edd569 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl --enable-libtheora --enable-zlib --enable-shared --enable-libx264 --enable-nonfree --enable-version3 --enable-libschroedinger --enable-avfilter --enable-libspeex --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay --enable-pthreads --prefix=/usr/local --enable-x11grab --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394
  libavutil      55. 40.100 / 55. 40.100
  libavcodec     57. 66.103 / 57. 66.103
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 67.100 /  6. 67.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

i ran "make build" but i now have another error in the compilation :
../../3d0c/gmf/codecCtx.go:220: cannot use unsafe.Pointer(this.avCodecCtx) (type unsafe.Pointer) as type *C.struct_AVCodecContext in argument to _Cfunc_call_av_freep
Makefile:11: recipe for target 'build' failed
make: *** [build] Error 2
fabien@fabien-VirtualBox:~/work/src/github.com/snickers/snickers$

what did i missed ?
thank you
best regards
flenoir

hmm @flenoir I'll try to reproduce it here. The FFmpeg I have is this:
ffmpeg version N-81113-g71167f7 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration:
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

It seems that it is older so maybe gmf is outdated with your version. I will get back to you soon.

@flenoir I installed FFmpeg from HEAD today and had no issues. Do you mind following the dockerfile steps?