fix(autoUpdate): prevent ResizeObserver loop with size

@npearson72 can you let me know if this change also fixes the issue, it's less hackish
Fixes #1740

@atomiks It appears to be happening less frequently, but unfortunately I am still seeing the error. This fix does however fix the other issue I mentioned here: https://github.com/floating-ui/floating-ui/issues/1740#issuecomment-1553651491

Interestingly it also seems to have resolved a UI quirk I was seeing with flip firing off in unpredictable ways in React when my component is first mounted

It's tricky because it is intermittent. I'll work on creating a codepen to reproduce this (if possible), but perhaps for now this issue should be marked as "unable to reproduce"?
In the meanwhile, as I mentioned, this does fix that other issue of flip acting unpredictably (at least in my case). So perhaps it's worth merging this one anyway.

@npearson72 so does the error never happen with the previous hackish one mentioned in the issue? I know you said it's intermittent, but you mentioned you couldn't reproduce it with that technique. If so, I'll just add the DOM property hack.

Yes, in that first hackish suggestion I was unable to reproduce it. It's possible I didn't exhaust every case while testing, but I did bang on it quite a bit and no errors appeared.

@npearson72 I think the previous solution didn't actually work because the delete line was running before ResizeObserver even managed to update. I'm not sure how it was fixing anything 🥲
I thought of a much cleaner potential solution, which is to only ever run update() once in a given frame, and block further updates within a frame. This should hopefully prevent the error in all cases - can you give it a try (latest commit)?

@npearson72 I think the previous solution didn't actually work because the delete line was running before ResizeObserver even managed to update. I'm not sure how it was fixing anything 🥲
I thought of a much cleaner potential solution, which is to only ever run update() once in a given frame, and block further updates within a frame. This should hopefully prevent the error in all cases - can you give it a try (latest commit)?

Sweet! I'm heading out to dinner, but will test when I get in tonight.

I wish I could report the error went away, but sadly I'm still seeing it. Maybe less frequently... hard to tell because again, it's intermittent. I need to click to expand/collapse an accordion, switch locales a few times, click on the popover, resize the screen, etc.. There is no clear combination of these steps to reproduce it. Somewhere in the course of these interactions the error fires off.
Sorry, wish I had something better to report.

@npearson72 just to confirm, if you switch the if (elementResize) {...} block to if (false) {...} so it never runs, you don't see the error? Just need to confirm if it's actually this library's ResizeObserver causing the issue and not something else. Otherwise, I'm not really sure what to do tbh.  I actually commented out the observer and indeed, no errors appear:
  // let observer: ResizeObserver | null = null;
  // let hasObserverRunInFrame = false;

  // if (elementResize) {
  //   observer = new ResizeObserver(() => {
  //     // Prevent update loops
  //     // https://github.com/floating-ui/floating-ui/issues/1740
  //     if (!hasObserverRunInFrame) {
  //       hasObserverRunInFrame = true;
  //       requestAnimationFrame(() => {
  //         hasObserverRunInFrame = false;
  //       });
  //       update();
  //     }
  //   });
  //   isElement(reference) && !animationFrame && observer.observe(reference);
  //   if (!isElement(reference) && reference.contextElement && !animationFrame) {
  //     observer.observe(reference.contextElement);
  //   }
  //   observer.observe(floating);
  // }

  let frameId: number;
  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;

  if (animationFrame) {
    frameLoop();
  }

  function frameLoop() {
    const nextRefRect = getBoundingClientRect(reference);

    if (
      prevRefRect &&
      (nextRefRect.x !== prevRefRect.x ||
        nextRefRect.y !== prevRefRect.y ||
        nextRefRect.width !== prevRefRect.width ||
        nextRefRect.height !== prevRefRect.height)
    ) {
      update();
    }

    prevRefRect = nextRefRect;
    frameId = requestAnimationFrame(frameLoop);
  }

  update();

  return () => {
    ancestors.forEach((ancestor) => {
      ancestorScroll && ancestor.removeEventListener('scroll', update);
      ancestorResize && ancestor.removeEventListener('resize', update);
    });

    // observer?.disconnect();
    // observer = null;

    if (animationFrame) {
      cancelAnimationFrame(frameId);
    }
  };

This also re-introduces the strange flip/layout issue on first mount. The initial render of the popover is below the target element (rather than above with the "top" setting), but the arrow is in on the bottom. Resizing the window causes the popover to adjust into the proper position, but initially the layout is incorrect.
Each variation you've tried so far has fixed this layout issue, but the ResizeObserver loop limit exceeded error was present.
Also, perhaps my previous comments of how I go about reproducing the error lead you to think it may be due to some other library, etc., but I only noticed this error appear once I added a new feature that uses a popover and that library (Mantine) uses floating-ui as the engine for this behavior.
Again, sorry about this, I wish I had better news to report.
What are your thoughts on wrapping in a try/catch and swallowing the error? Or do you think it's to heavy-handed? I could also bring up that option at the Mantine level.

It looks like Mantine doesn't change the floating element size which might be why nothing I've done fixes the issue and you're not experiencing a problem with size, but something else:
https://github.com/mantinedev/mantine/blob/167dd7c5a9d5c6dbd1b64c456c03a6da8627084a/src/mantine-core/src/Popover/use-popover.ts#L83-L85C20
Mantine has a lot of custom logic around Floating UI, especially effects etc, so I think something is going wrong there.
Importantly, does the popover specify fixed width, or width: max-content? When using layout, and the popover is near the edge of the document, without a specified width, it can resize and result in loops. Also the popover must have top: 0; left: 0 initially, which I'm not sure if Mantine is doing currently.

@rtivital ^

@atomiks this is helpful information. Regarding the width, I'm actually using fit-content because I'm displaying a variable width image for desktop vs mobile sizes.

As far as I know it can't be swallowed this way, only window.onerror which can't be done in a library.

👍
Thanks again for looking into this. Hoping @rtivital might be willing to make some adjustments in the popover component.
Cheers!

Hi @atomiks, since the PR was merged, I'm not really sure whether I should do something on Mantine side besides dependencies update. Can you please explain what I should do with these most recent changes?

@rtivital AFAIK, there are 2 cases where this error can occur:

What this PR fixes: size() middleware + reference element resizes - no need to do anything in Mantine
Layout positioning with resizable width: If you're not using transform to position the floating element, then layout can affect the floating element, causing it to resize and throw a loop error at the boundary edge. To fix it, the floating element must have width: max-content or a fixed width like 250px specified. However, if you use the new floatingStyles object in the latest version, it defaults to transform styles and avoids that error without needing to specify a width at all, since layout doesn't get affected. That would be the easiest option in case the user overrides the width as fit-content or something.

There might be other cases but I'm not aware of them right now


Add TCP/UDP routes and access control to spec

Changes:

Add matches.ports field to TCPRoute spec
Add UDPRoute spec
Replace TrafficTarget destination.port with TCP/UDPRoute matches.ports (breaking change)

These changes make the TrafficTarget less verbose when a service exposes multiple ports, a single TrafficTarget can match multiple protocols and ports. TrafficTarget was extended in order to support UDP traffic.
Ref: #108 #156 #150 #151

Following the discussion at #188, could we consider having a TrafficTarget without the rules field?
@stefanprodan you wrote:

The matches.ports is an optional element, if not specified, traffic will be allowed to all ports on the destination service.

So, if I want to allow TCP traffic for all ports, I have to create a TCPRoute containing no information. Is it not then better to allow the developer to omit the rules, compared to asking to add a rule with no constraint?


Reclaim ColumnFileBig that cannot be contained by any segment

Enhancement
Suppose we write a ColumnFileBig into the memtable of a segment without any delta:
-Inf                            +Inf
  |<------------------------------>| Segmemt
                     |<-CFBig->|

Then physical split happens:
-Inf                            +Inf
  |<--------------->|<------------>| Segmemt
                     |<-CFBig->|

The ColumnFileBig is now referenced by both two segments. And,

The right segment may trigger a delta merge because the delta layer is big.

The left segment will not trigger a delta merge because the delta is still empty -- Its referenced CFBig is not contained in the segment.

As a result, the ColumnFileBig is kept being referenced and not recycled, until user manually triggers a DeltaMerge for all segments.
This happens when we ingest SSTs quickly (using a higher ingest concurrency), result in 25% space amplification in my experiment.

I wonder why "Its referenced CFBig is not contained in the segment."?

I wonder why "Its referenced CFBig is not contained in the segment."?

We intentionally made a filter when calculating the delta rows and delta bytes, to filter out packs that is not contained by the segment, to be more precise:
https://github.com/pingcap/tiflash/blob/014e55c0ba1a29f6bf0dd4663b3ff7cd2cfb524e/dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileBig.cpp#L33

I get it. Although a CFBig is contained by a segment, the data in the CFBig is not. Because all of the data in CFBig is filtered out by segment's range.


needs.json builder exports _static

The need.json build also adds a _static folder with content near the exported needs.json file.
This is not needed.
We should look during file-exporting, which build-filter is used.
Maybe it is also a config option for builders itself, if _static shall be exported.

It also generates all images from needflow, which may take a lot of time.
This is not needed, so we really should look for the builder, which is used and maybe skip certain tasks.

Asked the sphinx-dev mailing list for any ideas: https://groups.google.com/u/1/g/sphinx-dev/c/VooB3DtEsyo

Deactivated static_copy, if  "needs" builder is used.
However some plugins have their own logic and copy some files, which are not under our control (e.g. sphinx-panels.)


FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

I tried to write a small application for my Tessel 2 but got stuck very soon because I ran into this issue:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

Are there tricks to squeeze out more memory?
Screenshot

Hi @bennyn,
Could you list what dependencies you're including in your application? You can also show the code that reproduces this error case if that's okay.

Could you list what dependencies

Was thinking the same, but this could be very hard to track down a memory leak :|


Overhaul Errors and Warnings for Timing Violations

Print warnings before errors in case of a flow failure.

Change some logging messages from info to warnings or errors as found appropriate.

openlane.flows.classic:

Remove definitions of QUIT_ON* variables.
Add Checker.MaxSlewViolations
Add Checker.MaxCapViolations

openlane.flows.flow:

Print all warnings captured by at the end of the flow.

openlane.flows.sequential:

Deferred errors are now raised in the same way as normal error are.

Yosys.*:

Verilog files are read with -noautowire. This changes the default default_nettype to none
enforcing better practice of not using implicitly declared wires.
(Note: This doesn't override the value of default_nettype set in the Verilog file)

Checker.*

QUIT_ON* variables move to their appropriate Checker step.
QUIT_ON* variables are deprecated and replaced by ERROR_ON*
Disabling ERROR_ON* (previously QUIT_ON*) no longer bypasses a step.
A warning will be generated and the flow will not quit.

Checker.TimingViolations:

TIMING_VIOLATIONS_CORNERS renamed to TIMING_VIOLATION_CORNERS
Now creates <violation_type>_VIOLATION_CORNERS variables per subclass.
This allows fine control of the IPVT corners checked by each subclass.
Now generates errors for violations occuring at TIMING_VIOLATION_CORNERS
(unless the subclass variable override is defined) and generates warnings
for violations in the rest of the IPVT corners.

Checker.HoldViolations:

Add HOLD_VIOLATION_CORNERS which takes precedence over TIMING_VIOLATION_CORNERS

Checker.SetupViolations:

Add SETUP_VIOLATION_CORNERS acting similar to HOLD_VIOLATION_CORNERS.

Checker.MaxCapViolations:

Reports maximum capacitance violations.
Add MAX_CAP_VIOLATION_CORNERS. It defaults to [""] which is the value
for matching no corners (i.e. all violations are reported as warnings).

Checker.MaxSlewViolations:

Reports maximum slew violations.
Add MAX_SLEW_VIOLATION_CORNERS. It defaults to [""] which is the value
for matching no corners (i.e. all violations are reported as warnings).

Depends on https://github.com/efabless/openlane2-step-unit-tests/pull/26
Depends on https://github.com/efabless/openlane2-ci-designs/pull/22
Resolves #386
Resolves #399
Resolved https://github.com/efabless/openlane2/issues/377

@kareefardi Just for the future, changelog comments are past-tense for OpenLane 2.


Include vendor deprecation warnings

Firstly, thanks for the awesome tool!
I've run it against my codebase with:
./deprecation-detector check $PROJECT/src $PROJECT/vendor

It found lots of helpful things to cleanup.  Now when I run it, nothing is found.  However, if I go to one of my views, I do see deprecation warnings in the profiler related to my Twig dependency.  It's not my issue, but the related deprecation is discussed here: https://github.com/twigphp/Twig/issues/2267
If there is any more info I can provide that would be helpful, please let me know.

Actually the tool doesn't check if there are any deprecations in your twig templates.

Right, that's the reason I opened the issue, so there could be some discussion about it.
Do you think this type of functionality could be added?  I'm thinking beyond templates specifically.  Do you think the tool could find and report all deprecation warnings that the symfony profiler would report? That would be the ultimate goal, I think.
Sent from a phone

On Feb 28, 2017, at 12:24 AM, slde-robin<EMAIL_ADDRESS>wrote:
Actually the tool doesn't check if there are any deprecations in your twig templates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The profiler gathers the warnings by actually executing the code.
The detector does not execute the code.
To add Twig support we would need a twig parser and so on... IMO thats too much.
But you could check your compiled Twig templates in the cache dir for deprecations. Right now I don't have the time to test that myself.

Awesome, thanks for the very helpful info.
Sent from a phone

On Mar 1, 2017, at 5:25 AM, slde-robin<EMAIL_ADDRESS>wrote:
The profiler gathers the warnings by actually executing the code.
The detector does not execute the code.
To add Twig support we would need a twig parser and so on... IMO thats too much.
But you could check your compiled Twig templates in the cache dir for deprecations. Right now I don't have the time to test that myself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


KU and EKU Inconsistent lint correction

Hi!
#497 was closed before I could add the last 2 commits.

I have removed the comments explaining the previously removed functions and added new ones
I added the tests for the truth tables

@christopher-henderson I have changed a small detail in your code that I think was a typo:
func (accepted Accepted) Xor(truther Truther) Accepted {
	if truther == nil {
		return accepted
	}
	switch other := truther.(type) {
	case KeyUsage:
		for key := range accepted {
			accepted[key|other] = true
		}
		accepted[other] = true
	case Accepted:
		for key := range other {
			accepted.Xor(key)
		}
	}
	return accepted
}

In the case of the input being a KeyUsage I removed:
for key := range accepted {
			accepted[key|other] = true
		}

I didn't know where to put the xor and or functions so I just copied them inside the test file too. Should I maybe move them elsewhere?

Thank you for revisiting this!

I didn't know where to put the xor and or functions so I just copied them inside the test file too. Should I maybe move them elsewhere?

You're right about the bug in my code and honestly the test is more complex itself, so I think keeping it private to this file is for the best as it's really not battle hardened for general use.

Thank you for revisiting this!

I didn't know where to put the xor and or functions so I just copied them inside the test file too. Should I maybe move them elsewhere?

You're right about the bug in my code and honestly the test is more complex itself, so I think keeping it private to this file is for the best as it's really not battle hardened for general use.

@zakird ready to merge these truth table tests (say that ten time fast).

@zakird ready to merge these truth table tests (say that ten time fast).


[Doc] Add cheatsheet

What does this PR do?
Adds a list of optimization tools for inference, training and quantization
cc @fxmarty @michaelbenayoun let's slowly tag other ppl once the shape of the document gets better

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


Incorrectness in Flash Attention

We completely ignore attention_mask here: https://github.com/pacman100/DHS-LLM-Workshop/blob/53672e1b774da7798fb10a50ef8ca5b2750c5608/personal_copilot/training/starcoder_flash_attn_monkey_patch.py#L60
If the input had padding, then this is incorrect (not by a major amount I think but that might depend on how much padding the input has).
We need to maintain cu_seqlens and use the packed version of flash here.
But the current implementementation is easier to implement and maintain I guess?
Can we add a note regarding the incorrect behaviour?

Hello, I use it for continued pretraining with packing wherein there is no padding and attention mask involved. As such, it works as intended, I have mentioned this caveat here: https://github.com/huggingface/accelerate/issues/1864#issuecomment-1686121231

Note:

Flash V2 support that I have implemented above ignores padding/attention_mask/custom_mask. It is meant for continued pre-training with packing inputs to consume the entire sequence lengths.

I will raise a PR to raise this warning. Thank you!

Added the warning:
https://github.com/pacman100/DHS-LLM-Workshop/blob/main/personal_copilot/training/train.py#L381-L384

Hey, great
Sorry, didn't know you were using it with dense packing.
Closing this issue.


"Failed to delete temp dir"

What's your platform?
auto-editor --debug
Python Version: 3.9.6 64-bit
Platform: Windows 10 amd64
FFmpeg Version: N-105325-g7512293cf9
FFmpeg Path: C:\Users\pgomb\AppData\Local\Programs\Python\Python39\Lib\site-packages\auto_editor\ffmpeg\Windows\ffmpeg.exe
Auto-Editor Version: 22w18a

Bug description
When running auto-editor with --combine-files, auto-editor starts to play the output combined_altered.mp4 which is in the temp folder instead of in the same folder as the original video files. For some reason auto-editor is not moving the processed file into the folder of the original files and just thinks the temp folder is the output folder and keeps the combined_altered.mp4 file there, resulting in the failure of deletion of the temp folder.
What command did you use
auto-editor 01.mp4 02.mp4 --combine-files --debug

What properties does your input video have?
auto-editor info 01.mp4
01.mp4:
 - video:
   - track 0:
     - codec: hevc
     - pix_fmt: yuv420p
     - fps: 60
     - resolution: 1920x1080
     - aspect ratio: 16:9
     - timebase: 1/15360
     - cc timebase: 1/60
     - bitrate: 5034 kb/s
     - lang: und
 - audio:
   - track 0:
     - codec: aac
     - samplerate: 48000
     - bitrate: 301 kb/s
     - lang: und
 - container:
   - duration: 00:00:08.80
   - bitrate: 5347 kb/s

auto-editor info 02.mp4
02.mp4:
 - video:
   - track 0:
     - codec: hevc
     - pix_fmt: yuv420p
     - fps: 60
     - resolution: 1920x1080
     - aspect ratio: 16:9
     - timebase: 1/15360
     - cc timebase: 1/60
     - bitrate: 5628 kb/s
     - lang: und
 - audio:
   - track 0:
     - codec: aac
     - samplerate: 48000
     - bitrate: 319 kb/s
     - lang: und
 - container:
   - duration: 00:01:00.23
   - bitrate: 5958 kb/s

Comments
No response

This error cannot happen in new versions. The temp dir is not used when making combining videos


update episode progress in batch mode will cause loss of user current collection progress info

see https://github.com/bangumi/api/issues/32
disable batch update feature for now(i.e. watch until this episode) until this issue is resolved

episodes won’t be implemented for now, closing the bug


Render a HTML String or local html file

What are you trying to achieve? (Expected behavior)
I want to render a local HTML file by webdriver.
For example:
$host = 'http://phantomjs:8910/wd/hub'; // webdriver server is on another host
$driver = RemoteWebDriver::create($this->host, DesiredCapabilities::phantomjs());
$driver->get('file:///tmp/test.html');

It is great that if I could render HTML string:
$text = <<<EOT
<title>Test HTML</title>
TEST BODY

EOT;
$driver = RemoteWebDriver::create($this->host, DesiredCapabilities::phantomjs());
$driver->getHTML($text);

What do you get instead? (Actual behavior)
But it can not load the local file.
There no function to pass it HTML String.
I don't find any solution in facebook/php-webdriver.

Php-webdriver version: ^1.3
PHP version: 5.6
Selenium server version: Docker image of wernight/phantomjs:2.1.1
Operating system: Debian

Hi, but the
$driver->get('file:///tmp/test.html'); is working, or not? Or is there any issue whit this?
As far as I know this is the only way how to render custom html - through a custom page. (Or you can implement some custom script and pass it the HTML through GET or POST, but I would not recommend this).

Hi,
No it doesn't work.
maybe because /tmp/test.html is in script host and selenium is on another host.

Oh, sure, the file must be accessible on this URL from the system where the browser (in this example phantom js) is started.
I would suggest starting PHP server using
php -S localhost:8000 -t ./directoryWithTheFile/
which will make the file accessible on url http://localhost:8000/test.html.


Use "articles" for the CRUD examples

The specification uses articles, author and relationship for the GET requests and then swaps to photos for the CRUD actions.
Perhaps the specification might be easier to understand if it used articles as an example throughout. Or is it just me?

Thanks a lot for opening this issue. I fully agree that this does not help with readability. But if you don't mind I would like to track that in #941. Going to close as a duplicate.


[ExtractType]: add has prefix to default values for config

Hey there! Thanks for publishing a great library!
I have disabled has prefix in our project(e.g. hasNextPage and hasPreviousPage ), and since it is often used as a generic naming convention. You can also find a number of them in the GitHub API.
This is a minor correction, but I thought it was acceptable to include it in the default prefixes.

Hi @MH4GF! Good point, thank you! 🙂


Error Generating swagger.json running functions locally. Missing Microsoft.Azure.WebJobs

Hi,
using package Include="Microsoft.Azure.WebJobs.Extensions.OpenApi" Version="0.8.1-preview"
I tried to create a basebones setup defining openapi config (to force v3) and one operation.
No errors are thrown when building and starting the local function, however when i try to load the swagger.json i get a message Could not load file or assembly 'Microsoft.Azure.WebJobs, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
I checked the folder containing the dlls (bin\Debug\netcoreapp3.1) and this file is present.
setup.cs
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Abstractions;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums;
using Microsoft.OpenApi.Models;
...
public class OpenApiConfigurationOptions : IOpenApiConfigurationOptions
{
    public OpenApiVersionType OpenApiVersion { get; set; } = OpenApiVersionType.V3;
    public OpenApiInfo Info { get; set; } = new OpenApiInfo()
    {
        Version = "1.0.0",
        Title = "My API",
        Description = "API for getting, setting and invoking actions",
        Contact = new OpenApiContact()
        {
            Name = "me",
            Email =<EMAIL_ADDRESS>            // Url = new Uri("https://github.com/Azure/azure-functions-openapi-extension/issues"),
        },
    };
    public bool IncludeRequestingHostName { get;set;}
    public List<OpenApiServer> Servers { get;set;} = new List<OpenApiServer>();
}

some.api.cs
using Microsoft.Azure.WebJobs.Extensions.OpenApi;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums;
...
[FunctionName(nameof(invokeApi.invoke_getById))]
[OpenApiOperation(
    operationId: "getById",
    tags: new[] { "name" },
    Summary = "Gets action by id",
    Description = "This gets the name.",
    Visibility = OpenApiVisibilityType.Important
    )]
.... function code...

local.settings.json
{
  "OpenApi__HideSwaggerUI": false,
  "OpenApi__ApiKey": "",
  "OpenApi__AuthLevel__Document": "Anonymous",
  "OpenApi__AuthLevel__UI": "Anonymous"
}

LOG:
Executing HTTP request: {
  requestId: "4ecf1571-9796-4b28-9eb2-c0c9e871b207",
  method: "GET",
  userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36",
  uri: "/api/swagger.json"
}
Request successfully matched the route with name 'RenderSwaggerDocument' and template 'api/swagger.{extension}'
Executing 'Functions.RenderSwaggerDocument' (Reason='This function was programmatically called via the host APIs.', Id=e8de6a65-512d-47b1-bd1d-675c7ebeeacf)
swagger.json was requested.
Could not load file or assembly 'Microsoft.Azure.WebJobs, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
Executed 'Functions.RenderSwaggerDocument' (Succeeded, Id=e8de6a65-512d-47b1-bd1d-675c7ebeeacf, Duration=754ms)
Executed HTTP request: {
  requestId: "4ecf1571-9796-4b28-9eb2-c0c9e871b207",
  identities: "",
  status: "500",
  duration: "864"
}

@Pmeholm Thanks for the issue! Could you double check whether your file exists in the bin\Debug\netcoreapp3.1/bin directory or not? If it doesn't exist, this workaround in your .csproj might help:
  <PropertyGroup>
    ...
    <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
  </PropertyGroup>

Reference: https://github.com/Azure/azure-functions-host/issues/5894


Fix check for existing workspace

Had a bug in my shell script, causing vscode to be unable to connect to the devcontainer.
This PR fixes the conditional logic in entrypoint.sh, which checks for an existing workspace.

@sunny-5555 Please rebuild your devcontainer after this PR (shouldn't take long).


fix: links should open a webview when not assigned to a native screen

This PR resolves []
Description
trying to open https://www.artsy.net/art-appraisals was going to a 404 in the app. after this, it will open a webview.
we also need to put that link to the blocklist so it doesn't open the app, but its a good default to not go to 404 when we have forgotten to block the next one.

PR Checklist

[x] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

nitpick (non-blocking): I think the cleanup code could have been a separate PR?
its true.. shall it? i should I guess

done

I made a little modification to the behavior here, I think this broke when we introduced the custom not found view for 404 errors. What should happen in the case of a bare url like this: we try to render VanityURL component, this first tries to see if there is a profile associated with the url (partner or gallery), if there isn't (404) we render the VanityURLRedirect component which will see if there is a force redirect for that url, if there is a redirect we render whatever component that redirect points to, if there isn't we open the url in a webview. Since the error that is supposed to show the VanityURLRedirect is a 404 this was not happening and instead we were showing the custom 404 view. I added a param to opt out of this behavior just for this component, I think for most components it is what we want this is just a bit of a special case.

here are the two problem links working:
https://user-images.githubusercontent.com/49686530/173826342-f6f1dbfd-26ab-48ff-92de-03305d005096.mov


JVM hangs on loading CUDA Version of nd4j.dll

I have build the Cuda Version of libnd4j like described in https://github.com/treo/libnd4j/blob/windows-docs-improvement/windows.md
But when I try to use it, the JVM completely hangs.
I have narrowed down the problem to actually loading nd4j.dll, so it can be tested directly after building libnd4j:
public class App
{
    public static void main( String[] args )
    {
        System.loadLibrary("nd4j"); // needs nd4j to be on the PATH
    }
}

This happens only with the CUDA build, the CPU build loads fine.
I have verified that CUDA itself works on my system by building and running several of the examples included in the CUDA Toolkit.

I replicate the issue too

I have attached a debugger to the JVM and it appears the hang occurs on calling cudaMalloc. Somewhere deep in nvcuda.dll (a driver file) it keeps looping, but I can't figure out why.
That's the call stack for it:
 	nvcuda.dll!00007ffb6d899988()	Unknown
 	nvcuda.dll!00007ffb6d8996aa()	Unknown
 	nvcuda.dll!00007ffb6d897b9e()	Unknown
 	nvcuda.dll!00007ffb6d897add()	Unknown
 	nvcuda.dll!00007ffb6d896a3b()	Unknown
 	nvcuda.dll!00007ffb6d896743()	Unknown
 	nvcuda.dll!00007ffb6d836104()	Unknown
 	nvcuda.dll!00007ffb6d83091e()	Unknown
 	nvcuda.dll!00007ffb6d814305()	Unknown
 	nvcuda.dll!00007ffb6d7f50c5()	Unknown
 	[External Code]
 	nd4j.dll!nd4j::buffer::createBuffer<int>(int * data, int length) Line 239	C++
	nd4j.dll!ScalarShapeInformation::ScalarShapeInformation() Line 83	C++
 	nd4j.dll!`dynamic initializer for 'ScalarInfo<double>::shapeInfo''() Line 166	C++
 	[External Code]
 	jvm.dll!0000000057f77758()	Unknown
 	jvm.dll!0000000057e68b0a()	Unknown
 	java.dll!0000000057cb234f()	Unknown
 	[External Code]

With the current version of the windows branch this problem doesn't happen any more. Probably because the offending code (as seen in the stacktrace) was removed.


[Spike] Explore the feasibility of a "disappearing" runtime

Right now, the module for runtime is essentially the same for compile-time. This could be made more efficient with the following approach:
Scenario 1 - Static CSS
Given this Jess file for a component:
.box {
  color: red;
  width: 50px;
}

At compile time, we should generate a .css file with the above CSS (w/ hashed classes), and the runtime should only generate something like a default CSS modules export:
export default {
  box: 'box_abc123'
}

Scenario 2 - Dynamic vars
Given this Jess file for a component:
@let value: red;
.box {
  color: $value;
  width: 50px;
}

At compile time, we should generate the following CSS:
.box_abc123 {
  color: var(--box_abc123_1);
  width: 50px;
}

.box_abc123 {
  --box_abc123_1: red;
}

And our runtime should dynamically produce patches for CSS variables.
Notes on Scenario 2

See: https://twitter.com/buildsghost/status/1357098192500785152 for an example of something like this for CSS-in-JS. We wouldn't do the "atomic" part (I don't think?), but could split the CSS variables.
This needs some thought. If every component has different props, then we can't just globally update / patch the class with the var's value. As in that tweeted example, we would want to locally attach the CSS variable (and value) to the generated element.
If we just do CSS variables, how do we support a scenario where someone "customizes" an entire theme (stylesheet) in the browser? Ideally, we want to support component-level vars, but also document-level vars 🤔 . What would the API look like?
Would we do something like: have a method to either patch the vars in the document (generate a new <style> or update an existing one) or a method that outputs --var: value pairs to attach to a style object? 🤔  🤔
Maybe it would be something like... our default export produces classes with their dynamic vars. Our API would allow us to do one of two things:
a) patch the global stylesheet with those new --var values,
b) iterate through and attach those --var values to our local component.

Something like:
import styles from './global.jess'
import config from './config.js'

styles(config).$css()

or for a component:
import styles from './component.m.jess'

export const component = props => {
  const css = styles({ var: props.something })
  return <div className={styles.foo} style={css.$vars()} />
}

🤔
Is there value in doing a variable assignment over an inline style? Wouldn't this be better?
export const myComponent = props => {
  return (
    <div
      style={myMixin(props.something)}
      className={styles.box}
    >
      foo
    </div>
  )
}

Scenario 3 - Dynamic classes
Given this Jess file for a component:
@let sel: $'.box';
$(sel) {
  color: red;
  width: 50px;
}

At compile time, we should generate the following CSS:
.box_abc123 {
  color: red;
  width: 50px;
}

And our runtime should dynamically produce and patch the entire stylesheet (as it does now) because the sel variable can be over-ridden, changed at runtime.
Or... do we just not support dynamic classes at runtime? I'm trying to think of how/why that would ever be needed. It seems like dynamic classes should only be compile-time for Bootstrap-like libraries?
Required work
This would probably take the following steps on compile:

Evaluating the tree as a module, tracking if JS expressions are present, and if so, if they are are in selectors or just values.
Generating a new AST based on no. 1
Generating / exporting a new module from the AST

It's a non-trivial problem! But theoretically possible.

This is basically done, but needs documentation as to the differences between use of compile-time and run-time vars.


problems with ligatures

Hi,
pdf.js doesn't handle the ligatures in this example very well (file contains three examples). Selecting text and copy/pasting or using page.getTextContent both show fi as é etc.
PDF.js v0.8.759 for Firefox and current github version, OS C 10.9.1

The reason that copying doesn't work is that the toUnicode entry in one of the fonts, for some strange reason, maps the ligatures to the wrong characters. This thus explain why copying isn't working in either PDF.js or Adobe Reader.
Since this is a bug in the font data of a particular PDF file, and not actually a bug in PDF.js, there isn't really anything we can do about it (we don't have much choice other than trusting toUnicode).
Closing as invalid.


build: convert less mixins to postcss

Description
First clean-up iteration to migrate LESS mixins to PostCSS.

Removed most of #internals usages
Almost every utility class that was autogenerated with LESS mixins is now on a function within postcss/dialtone-generators.js
postcss/constants.json file contains a list of arrays with the needed values, we need to reconcile this with the values on docs/_data
some LESS variables were replaced with CSS variables as PostCSS runs over CSS files not LESS, so I was having issues with that.
Optimizations to avoid redundancy will be made in the future

Pull Request Checklist

[x] Ask the contributors if a similar effort is already in process or has been solved.
[x] Review the contribution guidelines.
[ ] Use staging as your pull request's base branch. (All PRs using production as its base branch will be declined).
[x] Ensure all gulp scripts successfully compile.
[ ] Update, remove, or extend all affected documentation.
[ ] Ensure no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).

Obligatory GIF (super important!)

Great work on this! I suspect we'll need to make more updates to this as we go.

You bet! this is going to be our main entry point to create a lot of stuff from now on.
We could also create all dialtone classes from here if we want, I think that's what tailwindCSS is doing currently.


Don't load version_association and version files for AR

We don't need to load the version_association and version files for the ActiveRecord framework because both these files are already loaded in the main file (paper_trial.rb) at the moment.
I need this fix because it leads to the following exception:
Cannot define multiple 'included' blocks for a Concern (ActiveSupport::Concern::MultipleIncludedBlocks)
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/concern.rb:126:in `included'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/paper_trail-5.2.2/lib/paper_trail/version_association_concern.rb:9:in `<module:VersionAssociationConcern>'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/paper_trail-5.2.2/lib/paper_trail/version_association_concern.rb:6:in `<module:PaperTrail>'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/paper_trail-5.2.2/lib/paper_trail/version_association_concern.rb:3:in `<top (required)>'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootscale-0.5.2/lib/bootscale/core_ext.rb:4:in `require'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootscale-0.5.2/lib/bootscale/core_ext.rb:4:in `require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/paper_trail-5.2.2/lib/paper_trail/frameworks/active_record/models/paper_trail/version_association.rb:1:in `<top (required)>'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootscale-0.5.2/lib/bootscale/core_ext.rb:4:in `require'
/usr/local/Cellar/rbenv/1.0.0/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootscale-0.5.2/lib/bootscale/core_ext.rb:4:in `require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:360:in `require_or_load'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:317:in `depend_on'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:233:in `require_dependency'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:471:in `each'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:471:in `block in eager_load!'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:469:in `each'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:469:in `eager_load!'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:346:in `eager_load!'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/application/finisher.rb:56:in `each'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `run'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:55:in `block in run_initializers'

It happens in conjunction with the bootscale gem.

In other words these lines are duplications of these ones.

I don't think I follow why multiple requires of the same file is causing an error on your application since the Ruby require method by default, if a file is already loaded, will:

Loads the given name, returning true if successful and false if the feature is already loaded.

So, it should simply return false in these cases and then move on. Does Bootscale always raise errors like this when a file is required twice? Seems like this may be an issue on Bootscale's end.
Personally, I think it's important to explicitly require the dependencies for these classes within the classes. These model classes may be loaded by a Rails Engine in some cases, and thus could be loaded prior to the PaperTrail base class itself. If that were to occur then you would result in a uninitialized constant error. So if anything I would lean more towards removing the requires from paper_trail.rb and leaving them in their respective models, but ideally we wouldn't need this at all.

Possibly related to rails/rails#15767.
@jaredbeck Looks like the Concerns could potentially be autoloaded via the PaperTrail::Rails::Engine class as well if we relocated them into frameworks/active_record/models/concerns/paper_trail. Maybe we could play around with that.
@ka8725 - can you provide a failing test using the PaperTrail Issue Template? That would make it a lot easier for us to work with this.

bootscale gem redefines the require method - https://github.com/byroot/bootscale/blob/921dcd00c68e9c5d912888ddcf66b42669b99f1e/lib/bootscale/core_ext.rb#L3
Ok, I will provide you a template soon.

Thanks for opening the issue, Andrey, and for providing a PR. That said ..

[when called twice, require] should simply return false .. Does Bootscale always raise errors like this when a file is required twice? Seems like this may be an issue on Bootscale's end.

bootscale gem redefines the require method

I agree Ben, calling require twice is not a mistake. There are often good reasons to have the same require repeated throughout a codebase, as you have given above.

Possibly related to rails/rails#15767.

Good research, seems related. Did rails/rails#15767 help you, Andrey?
My intuition is that this is not a PaperTrail issue, and should be closed. If the error message can be reproduced using our bug report template without bootscale, we would of course be happy to reopen the issue.


channels do not advance? (e.g. nixos-unstable-small)

Describe the bug
On hydra unstable-small appears to build fine, but the channel does not advance ?

Same with unstable, something is blocking it...

Only nixpkgs-* channels appear to make progress, although the tested jobs for the other channels do succeed. I also updated my system directly against a nixpkgs commit from one of the succeeding builds, it works just fine (everything was in cache, as expected).

So something in the channel update mechanism is broken I guess? Who do you ping for this?

Ok, judging from the channel-script repo:
cc  @grahamc

The unstable-small channel just updated, unstable is still stuck.

A workaround for people using a local checkout of nixpkgs is to use the commit id for the most recent completed evaluation instead of the channel name. For unstable as of right now that 683c68232e9.

They don't even need a local checkout, e.g.:
nixos-rebuild -I nixpkgs=https://github.com/nixos/nixpkgs/archive/683c682.tar.gz ...

nixos-unstable advanced to 683c682 3 hours ago.


Minor issue : Update warning does not disappear

After upgrading to 2.0.0 the update warning still shows Update available 1.4.0 → 2.0.0.
But it is installed correctly: typings -v outputs 2.0.0

I think this a known issue, you can see it reported at https://github.com/yeoman/update-notifier/issues/67 and https://github.com/yeoman/update-notifier/issues/60.


"view on hexdocs" in hover documentation for Elixir is not clickable

Check for existing issues

[X] Completed

Is your feature request related to a problem?
When working on an Elixir project, I can view documentation for libraries by hovering over the symbols for modules, functions, etc in the editor.
The floating documentation popup contains a string that states "view on hexdocs", but this is not clickable.
Describe the solution you'd like
I should be able to click "view on hexdocs" and view the docs on hexdocs.
If applicable, add mockups / screenshots to help present your vision of the feature
Here's how it looks today

I don't recall the version, but it seems like we added links to popovers some time ago.  This should work today in Elixir today.


Update to lavaplayer 1.3.74

FIxes some playlist stuff, see https://github.com/sedmelluq/lavaplayer/pull/592 for more info

Lavaplayer 1.3.74 fixes an error with youtube changes and cookies.


Language variants (en/fi) of modules

Course config can mark modules as being different language-variants (e.g., Finnish and English) of each other.
This is reflected in the UI somehow (perhaps by graying out and textually marking any other variants of module that the user has already downloaded).

{
  "name": "Aliohjelmia",
  "url":
  "https://gitmanager.cs.aalto.fi/static/O1_2024/modules/given/Aliohjelmia/Aliohjelmia.zip",
  "language": "fi",
  "version": "1.0",
  "changelog": ""
},

The language of each module can now optionally be set in the config. It is shown in the modules list. The assignments are linked to the module of the correct language


Expense - Two transaction threads in LHN when creating expense with violation offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.50-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:

User is an employee of Collect workspace
The Collect workspace has toggled on "People must categorize expenses" for Categories on Old Dot

Go to staging.new.expensify.com
Go to workspace chat
Go offline
Create a manual request without category
Go to request details page

Expected Result:
There will be only one transaction thread in LHN
Actual Result:
There are two transaction threads in LHN. One is grayed out, the other one is not grayed out
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/01a78880-0851-4688-b25c-ed747f865628
View all open jobs on GitHub

We think that this bug might be related to #wave-collect
CC @trjExpensify

@abekkala  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

It could well be related to work for #wave-control and violations, though valid in #wave-collect as well. @abekkala will be curious on a reproduction here - we shouldn't be creating two transaction threads when there's a violation. CC: @JmillsExpensify @cead22 to put on your radar as well!

I think this is already fixed in https://github.com/Expensify/App/pull/37232

Ah perfect, let's close it then! :)


issues saving files file on macOS 13.1,  M1 - permission denied

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Packages which contain src and symbols

I've just stumbled upon a package which contains sources and symbols and is found on the nuget.org feed: Appccelerate.StateMachine 4.4.0
The following code in the PackagesController.PutPackage makes it impossible to publish that package:
            if (package.HasSourceAndSymbols())
            {
                var response = Request.CreateResponse(HttpStatusCode.RedirectKeepVerb);
                response.Headers.Location = new Uri(Url.Link(RouteNames.Symbols.Upload, null), UriKind.RelativeOrAbsolute);
                return response;
            }

As it's not clear from the nuget docs whether the package is publishable and you might rely on that feature I open this issue instead of sending a PR.
Kind regards
Daniel

This problem was noted back in 2015. See http://chris.eldredge.io/blog/2015/01/05/nuget-symbols-and-aspnet-vnext/. Given that Klondike now has a special endpoint for handling symbol packages, the code that you reference can be removed. Some ancient consumers of Klondike that push symbol packages may break in the next version, but the fix should be relatively easy to implement.
A PR removing the above condition would be welcomed.


Add state traits via example Checkbox component

WIP

@maxdeviant Any thoughts on the callbacks in the state traits?
I think including them there means they will be required – I don't know if there is a pattern we can use that makes it so that each individual callback may be implemented, but doesn't have to. Do they need to be separated out into their own traits?

Also any thoughts on the naming pattern?

{state} - returns the current {state}
set_{state - sets the {state}
`on_{some_action} - {some_action} callback

Also let me know if I'm using callback incorrectly 🤣


Setting data

When i am calling setData method than it is not taking style.Is there any way to fix the style while setting data.

You can:
resetStyle()
them
setStyle()

@paulhodel @Guillaume-Bo is there any way we can update a cell's data dynamically outside updateTable:, that is like inside an API call if I get a certain value then I want to update a particular row's particular column value. so can we do it?
Thank you.

yes with setValue. See documentation for know how use 😉
Le mar. 29 sept. 2020 à 21:12, Deba Mishra<EMAIL_ADDRESS>a
écrit :

@paulhodel https://github.com/paulhodel @Guillaume-Bo
https://github.com/Guillaume-Bo is there any way we can update a cell's
data dynamically outside updateTable:, that is like inside an API call if I
get a certain value then I want to update a particular row's particular
column value. so can we do it?
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paulhodel/jexcel/issues/735#issuecomment-700924816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOGZK4IWZV7BFTEK4HNRB3SIIWSVANCNFSM4JQYUL7Q
.
--
-- Guillaume Bonnaire<EMAIL_ADDRESS>06 85 06 38 27

is it with setValue or setColumnData ? @Guillaume-Bo

as you want, setValue is for 1 cell, ans setColumnData is for change all
cell of column in 1 time.
Le mar. 29 sept. 2020 à 21:39, Deba Mishra<EMAIL_ADDRESS>a
écrit :

is it with setValue or setColumnData ? @Guillaume-Bo
https://github.com/Guillaume-Bo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paulhodel/jexcel/issues/735#issuecomment-700942603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOGZK23XKS7AK5FIOYZN7DSIIZW7ANCNFSM4JQYUL7Q
.
--
-- Guillaume Bonnaire<EMAIL_ADDRESS>06 85 06 38 27

@Guillaume-Bo thank you so much for your response, but when trying with setValue('F1', 'Text') then that cell is not getting updated, am I doing anything wrong?

show how you make your setValue ?


gkrellm: add desktop file, maintainer; other fixups

Motivation for this change
GKrellm has a GUI, so it should have a desktop file too.  It doesn't ship with one, so let's create one.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)

Net +2648 bytes.

[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112767 at e63f8b2a run on x86_64-linux 1

1 package built:

gkrellm

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/applications/misc/gkrellm/default.nix:61:5:
   |
61 |     maintainers = [ ];
   |     ^

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/applications/misc/gkrellm/default.nix:35:3:
   |
35 |   patchPhase = ''
   |   ^

Result of nixpkgs-review pr 112767 at e63f8b2a run on aarch64-linux 1

1 package built:

gkrellm

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/applications/misc/gkrellm/default.nix:61:5:
   |
61 |     maintainers = [ ];
   |     ^

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/applications/misc/gkrellm/default.nix:35:3:
   |
35 |   patchPhase = ''
   |   ^

gkrellm: fix IOKit argument and make non-optional

IOKit is still optional because it is behind lib.optionals which is only enabled on darwin. Because nix evals lazy it is never used on linux.

gkrellm: fix IOKit argument and make non-optional

IOKit is still optional because it is behind lib.optionals which is only enabled on darwin. Because nix evals lazy it is never used on linux.

Sorry, I was being lazy with my wording.  The IOKit parameter in gkrellm/default.nix is now non-optional, and the value being passed in all-packages.nix is now fixed.  I'll include fixed wording in the commit message when I squash.

Okay, squashed down, please take a look.  Thanks everybody for the helpful comments!

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/what-is-the-recommended-use-of-makedesktopitem-how-to-setup-the-icon-correctly/13388/2


refactor: resource editor and still image

resolves DEV-4227
resolves DEV-4228

Split the still image component into several smaller components
Add bearer token to ingest and sipi requests

Image preview is not loaded due to 401:

The next page button doesnt open the next image

CORS:
http://localhost:4200/project/3ABR_2i8QYGSIDvmP9mlEw/ontology/incunabula/Book

404:
http://localhost:4200/project/0807/ontology/mls/Image


Leetcode Question Number 69

Leetcode Question Number 69 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

assign to me pls


oroMemcpy functions take a non-const source pointer

Suggested by Johannes:
Ideally it should be const  (The CUDA counterpart uses const), but the source in HIP API is not a constant pointer.
There is an effort to change the HIP API, and after that we could modify the Orochi API by adding const.

Make sense.


Upgrade integration

closing this: just going to use relayer branch instead, which has these changes

closing this: just going to use relayer branch instead, which has these changes


Document what happens when the existing keyword is used for a non-existing resource

It's clear what happens when existing succeeds, but what happens if the resource I'm referencing doesn't exist?
Both my intuition and testing suggest the deployment will fail, but ideally it would be documented (conceivably it could have returned an empty object rather than fail, allowing one to test it with empty).

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

ID: 935f57fb-cda4-ce03-6fe1-4ed183578915
Version Independent ID: 48510ef7-06f1-fec9-9ec8-79837c62228e
Content: Declare resources in Bicep - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/resource-declaration.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @mumian
Microsoft Alias: jgao

@ohadschn Thanks for your feedback.
Assigning to content author @mumian  for review.


Useful resources to add

https://itsairborne.com/is-it-possible-is-it-expensive-is-it-worth-it-cost-feasibility-of-ashrae-241-part-9-15fa55d821a5

https://www.italotreno.it/en/the-train/hepa-filters

https://x.com/Leseerlaubnis/status/1768792004471791820

https://www.cdc.gov/ncird/whats-new/ventilation-respiratory-viruses.html

https://www.cdc.gov/ncird/whats-new/ventilation-respiratory-viruses.html
https://www.forbes.com/sites/judystone/2024/03/22/ventilation-should-be-a-larger-focus-in-our-fight-against-covid-19/

https://www.science.org/doi/10.1126/science.adl0677

https://edmontonjournal.com/opinion/columnists/opinion-its-time-to-clean-the-germs-out-of-our-indoor-air

https://www.cidrap.umn.edu/covid-19/study-links-air-quality-improvements-fewer-school-covid-cases
https://doi.org/10.1371/journal.pone.0291840

https://www.uu.nl/en/news/every-child-has-the-right-to-clean-air

https://ehp.niehs.nih.gov/doi/pdf/10.1289/EHP13878


Overhaul node generator with more flexibility

Your source files can be WAV, MP3, and/or OGG and the script will attempt to encode as necessary (depending on your configuration). For each MIDI note, it will look for files like 61.wav (C sharp octave 4), Cs4.wav, or Db4.wav. It can create a soundfont even if not all MIDI values have samples available.

Format is not quite right. I'm working on a fix.

As far as I can tell this project is not merging any new PRs.  I have a fork at https://github.com/mscuthbert/midicube that is taking PRs

Do you have any Android APK that i can directly use in my phone??
On Sun, 12 Feb 2023, 12:43 Michael Scott Asato Cuthbert, <
@.***> wrote:

As far as I can tell this project is not merging any new PRs. I have a
fork at https://github.com/mscuthbert/midicube that is taking PRs
—
Reply to this email directly, view it on GitHub
https://github.com/mudcube/MIDI.js/pull/270#issuecomment-1426960017, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUDDX6OYZJLAWRSF3GDA6XLWXCERZANCNFSM6AAAAAAUY56U3E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Blog post proposal: Creating a custom validation view strategy

When attempting to implement validation using the aurelia-validation plugin I ran into some problems with the demos automatically updating the UI accordingly to the validation result but with my app it didn't work.
After taking a look at the source code on how the plugin updated the UI side of things I discovered there was a Bootstrap view strategy. In LOB apps the chances of you using bootstrap is very slim so I think a blog post showing you how to setup your own view strategy would be very beneficial to other developers who are looking to implement client side validation.

Hi David. I could be wrong but if I remember correctly, the master branch of the aurelia-validation has the bootstrap class names removed.

I believe you are right, they made some changes after I made this. Might tweak it to show how to build a summary box and only validate on submit. Plus it still might be beneficial to show them how to make their own if need be.


Add date-handling logic (TO_DATE(), etc.) into dyndao.

For TIMESTAMP fields. Do we add dateFormat to the schema?

TODO: research what other databases need


bug: fail to build llama-3-8b-instruct-trt-llm

As titled. And due to billing reasons, I have currently deleted this model. Here is the reproduction method and error log.
From the log, it can be seen that it should be a permission issue. Have you run this model successfully in the truss workspace before? Thanks.
cc @pankajroark @philipkiely-baseten
how to reproduce it
git clone https://github.com/basetenlabs/truss-examples
cd truss-examples/llama/llama-3-8b-instruct-trt-llm
truss push --trusted

error log
Sep 11 01:24:21am
#54 [truss_server 30/33] COPY ./control /control
Sep 11 01:24:21am
#54 CACHED
Sep 11 01:24:21am
Sep 11 01:24:21am
#55 [truss_server 31/33] RUN python3 -m venv /control/.env     && /control/.env/bin/pip3 install -r /control/requirements.txt
Sep 11 01:24:21am
#55 0.094 The virtual environment was not created successfully because ensurepip is not
Sep 11 01:24:21am
#55 0.094 available.  On Debian/Ubuntu systems, you need to install the python3-venv
Sep 11 01:24:21am
#55 0.094 package using the following command.
Sep 11 01:24:21am
#55 0.094
Sep 11 01:24:21am
#55 0.094     apt install python3.10-venv
Sep 11 01:24:21am
#55 0.094
Sep 11 01:24:21am
#55 0.094 You may need to use sudo with that command.  After installing the python3-venv
Sep 11 01:24:21am
#55 0.094 package, recreate your virtual environment.
Sep 11 01:24:21am
#55 0.094
Sep 11 01:24:21am
#55 0.094 Failing command: /control/.env/bin/python3
Sep 11 01:24:21am
#55 0.094
Sep 11 01:24:21am
#55 ERROR: process "/bin/sh -c python3 -m venv /control/.env     && /control/.env/bin/pip3 install -r /control/requirements.txt" did not complete successfully: exit code: 1
Sep 11 01:24:21am
------
Sep 11 01:24:21am
 > [truss_server 31/33] RUN python3 -m venv /control/.env     && /control/.env/bin/pip3 install -r /control/requirements.txt:
Sep 11 01:24:21am
0.094 available.  On Debian/Ubuntu systems, you need to install the python3-venv
Sep 11 01:24:21am
0.094 package using the following command.
Sep 11 01:24:21am
0.094
Sep 11 01:24:21am
0.094     apt install python3.10-venv
Sep 11 01:24:21am
0.094
Sep 11 01:24:21am
0.094 You may need to use sudo with that command.  After installing the python3-venv
Sep 11 01:24:21am
0.094 package, recreate your virtual environment.
Sep 11 01:24:21am
0.094
Sep 11 01:24:21am
0.094 Failing command: /control/.env/bin/python3
Sep 11 01:24:21am
0.094
Sep 11 01:24:21am
------
Sep 11 01:24:21am
Dockerfile:143
Sep 11 01:24:21am
--------------------
Sep 11 01:24:21am
 142 |     COPY ./control /control
Sep 11 01:24:21am
 143 | >>> RUN python3 -m venv /control/.env \
Sep 11 01:24:21am
 144 | >>>     && /control/.env/bin/pip3 install -r /control/requirements.txt
Sep 11 01:24:21am
 145 |     COPY ./model /app/model
Sep 11 01:24:21am
--------------------
Sep 11 01:24:21am
error: failed to solve: process "/bin/sh -c python3 -m venv /control/.env     && /control/.env/bin/pip3 install -r /control/requirements.txt" did not complete successfully: exit code: 1
Sep 11 01:24:21am
2024/09/10 15:24:21 Skipping step because a previous step failed

Hi – this looks like a build failure for our hot reload servers. Please try to use this example to deploy a TRT-LLM deployment to your workspace

ok Thanks!

@joostinyi It works well for me. Thanks again!


Force to play with my other controller

Thank you for the saviour project it's very useful for the old games.
I wonder if i can force Xidi to use my 3rd or 4th Xinput controller as the 1st controller in the game?
I've looked into the configuration document and haven't found anything related to that.

I wonder if ActiveVirtualControllerMask would help with this?

I wonder if ActiveVirtualControllerMask would help with this?

Nice, this worked. I had to set ActiveVirtualControllerMask = 0x06 for the second controller and add Type.2 under [Mapper] to use the [CustomMapper]