StackedBar value label overlapped

i use stackedBar to show two data, but when one value is zero , it seems  two label is overlapped.

your chart seems weird, could you provide the sample code using ChartsDemo code?
I can see many 0 on left, and two 0 on right, and overlap with 1?

This is my code
    NSMutableArray *xVals = [[NSMutableArray alloc] init];
    for (int i = 0; i < 12; i++){
        [xVals addObject:self.months[i]];
    }

    NSMutableArray *yVals = [[NSMutableArray alloc] init];
    if(self.statisticsModel.monthStatisticsArray){
        for (int i = 0; i < [self.statisticsModel.monthStatisticsArray count]; i++){
            CVMonthStatisticsModel* monthModel = self.statisticsModel.monthStatisticsArray[i];

            CVLog(@"success:%d, fail:%d", monthModel.success, monthModel.fail);
            [yVals addObject:[[BarChartDataEntry alloc] initWithValues:@[@(monthModel.success), @(monthModel.fail)] xIndex:i]];
        }
    }

    BarChartDataSet *set1 = [[BarChartDataSet alloc] initWithYVals:yVals label:@""];
    set1.barSpace = 0.3;
    set1.colors = @[UIColorFromRGB(0x00b26d), UIColorFromRGB(0xfac955)];
    set1.stackLabels = @[@"成功", @"失败"];
    set1.valueTextColor = UIColorFromRGB(0x2CC9CA);

    NSNumberFormatter* formatter = [[NSNumberFormatter alloc] init];
    formatter.numberStyle =  kCFNumberFormatterDecimalStyle;

    set1.valueFormatter = formatter;

    NSMutableArray *dataSets = [[NSMutableArray alloc] init];
    [dataSets addObject:set1];

    BarChartData *data = [[BarChartData alloc] initWithXVals:xVals dataSets:dataSets];
    [data setValueFont:[UIFont fontWithName:@"HelveticaNeue-Light" size:7.f]];
    self.statisticView.data = data;

this is normal

but when if one value is zero， the value labels will overlap

+1 I am having the same issue.
What is a way of disabling this label until the bug is fixed?

To temp. disable it, just turn off dataSet.drawValuesEnabled

I looked into it today, and I found it's hard to call it as a bug.
This happens when you have one big value than others, so its bar takes most  of the space.
Because the first value is, say 72.0, and the second value let's say it's 2.0, the 2.0 bar will be very thin, its width is even less than the 72.0 text width. By default, drawValueAboveBar is enabled, so it will draw 72.0 text on the right side (above first bar), occupying the second bar's space and the second text space and this leads to some overlap.
If the second value is 0.0, it's more obvious because the second bar's width will be 0. so the second bar's text will draw at the same point of the first text, which will be fully overlapped. There is no easy way to fix it, because the second bar is too thin to make some space.
We could somehow check the bar's neighbor to see if its width is enough for drawing the current bar's text, if not, we can skip drawing the neighbor's text.
Another way is, providing a flag to draw the value text in the middle of the bar, and if the bar width is too small to hold its text, simply not drawing it.
what do you think @danielgindi

“We could somehow check the bar's neighbor to see if its width is enough for drawing the current bar's text, if not, we can skip drawing the neighbor's text.”
It is a good idea, like a map, like, when you zoom in, more details will be displayed; it displays only the main roads or landmarks when reduced.
Another problem is that, when in use stackBarView, like setting marker:
BalloonMarker * marker = [[BalloonMarker alloc] initWithColor: [UIColor colorWithWhite: 180/255 alpha: 1.0] font: [UIFont systemFontOfSize: 12.0] insets: UIEdgeInsetsMake (8.0, 8.0, 20.0, 8.0)];
marker.minimumSize = CGSizeMake (80.f, 40.f);
_barChart.marker = marker;

Click on each stack, marker display is always the sum, how to make the digital marker on a display of the value of each stack?

Seems like we can close this one?

thank you very much. @hh1myfei

@danielgindi I think it's not resolved yet. @hh1myfei just provide a solution when the value is 0.
However, quote from my post:
Because the first value is, say 72.0, and the second value let's say it's 2.0, the 2.0 bar will be very thin, its width is even less than the 72.0 text width. By default, drawValueAboveBar is enabled, so it will draw 72.0 text on the right side (above first bar), occupying the second bar's space and the second text space and this leads to some overlap.

So if it's not 0, the label will still overlap.

I'm currently running into the same issues. I put in a zero value check to get rid of the zero labels:
                            // TODO: Check that value won't write on top of another value
                            if vals[k] != 0 {
                                drawValue(context: context,
                                          value: formatter.string(from: vals[k] as NSNumber)!,
                                          xPos: x,
                                          yPos: y,
                                          font: valueFont,
                                          align: .center,
                                          color: dataSet.valueTextColorAt(j))
                            }

but I still have not solved the overlapping label issue.

I guess the real solution will be check the segment width/height and the text width/hight to ignore some.

Yes, when I switched to values within the bar and check that the label will fit in bounds it looks even better :)
                               // Check that value won't write on top of another value above the bar
                                if drawValueAboveBar && k > 0 && vals[k - 1] != 0 &&
                                    ((transformed[k - 1].y - transformed[k].y + posOffset) < 0)
                                {
                                    continue
                                }

                                // Ensure that the value is conatined within the bar
                                if !drawValueAboveBar {
                                    if k > 0 {
                                        if (transformed[k - 1].y - transformed[k].y) + negOffset > 0 {
                                            print("Value within current stack")
                                        } else {
                                            continue
                                        }
                                    } else {
                                        if (transformed[k].y + negOffset) > 0 {
                                            print("Value within first stack")
                                        } else {
                                            continue
                                        }
                                    }

                                }

                                if vals[k] != 0 {
                                    drawValue(context: context,
                                              value: formatter.string(from: vals[k] as NSNumber)!,
                                              xPos: x,
                                              yPos: y,
                                              font: valueFont,
                                              align: .center,
                                              color: dataSet.valueTextColorAt(j))
                                }

BarChartData *data = [[BarChartData alloc] initWithXVals:xVals dataSets:dataSets];
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
formatter.maximumFractionDigits = 1;
formatter.numberStyle = kCFNumberFormatterDecimalStyle;
formatter.zeroSymbol  = @"";

How to Autoscroll the chart to the current month. The  current month should be visible to the user in front.
My problem is that when i run the program i am getting the output like this ,

but i need to scroll the chart to the current month.

Thanks for the responses here, helped me to resolve this issue in my code, but this IS a bug!

You can add one Marker for your Chart, and add this implementation for that
Example in BallonMarker available in ChartsDemo.
open override func refreshContent(entry: ChartDataEntry, highlight: Highlight)
{
var value = entry.y
if let es = entry as? BarChartDataEntry {
if(highlight.isStacked){
if let valor = es.yValues?[highlight.stackIndex] {
value = valor
}
}
}
setLabel(value)
}


HHH-11194 - Add setting to enable legacy 4.3.x LimitHandler behavior.

https://hibernate.atlassian.net/browse/HHH-11194

@sebersole The only real motive I had was to encapsulate the if-check behavior.  I can most definitely change the PR to avoid the delegation/indirection.

@Naros I send you this Pull Request which fixes the SQL Server test and changes the LimitHandler logic for the SQLServer2005 and Ingres9 Dialects. Let me know if it's what you intended too.

Applied upstream.


Add python 3.11 in the CI test suite

Seems that now things work with python 3.11!

ping a friendly reminder here


Transition to LFX Meeting Management for all projects

We are working to transition all hosted projects and working groups to using LFX Meeting Management for committee definition and meeting scheduling. The goal is to have all projects transitioned over by the end of the year.
Current Status:
Transitioned over (14):

Arras
CoMPAS
Dynaωo
EVerest
FlexMeasures
OpenGEH
openLEADR
OpenSTEF
OperatorFabric
Power Grid Model
Real Time Data Ingestion Platform (RTDIP)
SEAPATH
Shapeshifter
PowSyBl
SOGNO

In Progress (0):

none

TODO (6):

FledgePOWER
Grid Capacity Map
Grid eXchange Fabric
Hyphae
OpenEEmeter
Archimate WG

We now have a community calendar available through LFX Meetings...
https://zoom-lfx.platform.linuxfoundation.org/meetings/lf-energy
We will be replacing the existing community calendar at https://calendar.lfenergy.org with this ( same URL ), so project need to transition to this service to leverage it.

Just a short question to this:
Looking at https://calendar.lfenergy.org/ currently, gives me "old" entries. I have moved my EVerest Framework Working Group to another days some weeks ago. But this seems not to have been updated there.
I guess, this will be updated when switching completely, right? Or are we able to edit the meeting dates somewhere?

Hi - that calendar still points to the old calendar. I plan to transition
to the new one once the remaining projects are moved.
On Wed, Jun 19, 2024 at 4:31 AM Manuel Ziegler @.***>
wrote:

Just a short question to this:
Looking at https://calendar.lfenergy.org/ currently, gives me "old"
entries. I have moved my EVerest Framework Working Group to another days
some weeks ago. But this seems not to have been updated there.
I guess, this will be updated when switching completely, right? Or are we
able to edit the meeting dates somewhere?
—
Reply to this email directly, view it on GitHub
https://github.com/lf-energy/tac/issues/39#issuecomment-2178082090, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACIOIL3DMBK2Z5UMVR65W3ZIE6UTAVCNFSM6AAAAAA4SETAVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGA4DEMBZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


ATO-102 Linting

What?
Add linting

eslint
prettier
scripts
husky: pre-commit hook

Why?
Linting standards for codebase

As a general comment this would be easier to review if the config changes and the lint fixes were in different commits 🙂 fine now, I've worked out which bits are relevant


Ensure case when getting packages from nuget feed

Fix an issue when comparing a nuget name against a lowered nuget id in odata query that may have different case

thanks!


Please use switch block instead of if

I want this to release 2nd version of our software

Done brother.
Thank you.


Add Sub.id into profile

PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Before submitting this PR, please make sure:

[x] Code builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[x] I've didn't break any original functionality
[x] I've posted screenshot of demonstrated change in this PR

Optional

[x] I've tested it on mobile and everything works
[ ] I found edge cases

What's new? (may be part of changelog)

This PR closes #982 -

If issue had bounty label ($,$$,$$$)

Fill up your KSM address: https://kodadot.xyz/transfer/?target=Dr1Ech2pQami4e6bBsZe6jTLSCuF4PWLW5DMbMfR3aPoRyF

Community participation

[x] Are you at KodaDot Discord? If not yet, let's join us - https://discord.gg/35hzy2dXXh

Screenshot

[ ] Whenever my fix has changed something on UI, a screenshot for others, is more than welcome

Interesting do we want it also on gallery item detail?

Thinking how it put efficiently on profile, probably just icon Sub.id is enough?

Sure. We can just add Sub.id into Profile component, not in ProfileLink.
Also, we can use Sub.id logo instead of using img & text.
FYI

Does that sound good?

@yangwao Pushed the fix & updated the screenshots in the PR description.

I've opened profile https://deploy-preview-1006--nftkodadot.netlify.app/rmrk/u/EAfi2vdUFfMTSAUEJgsTV95kHh9ChG1CP31FYc8x5UZwX1t
clicked on and landed here https://sub.id/#/undefined
is that should work? Probably doesn't work.
I'd would put next to the icon short address filter as sub.id has next to the icon for user recogniton

@yangwao Pushed the fix & updated the screenshot.
You can test it in the preview link: https://deploy-preview-1006--nftkodadot.netlify.app/rmrk/u/EAfi2vdUFfMTSAUEJgsTV95kHh9ChG1CP31FYc8x5UZwX1t

LGTM

let's merge it and I've sent payout https://kusama.subscan.io/extrinsic/0x9b8c61de44f59da4d0ba0ffda3b732470435bc9042604fe3c2f04a3df2585542


Setup project will migrate to VS2017 community

Hi, when opening ServiceBusExplorer.sln in VS2017 community, I see an error dialog on the migration.
All project but the setup project migrated. Error message:  The application which this project type is based on was not found. Please try this link for further information: https://go.microsoft.com/fwlink/?LinkId=660147&projecttype=54435603-DBB4-11D2-8724-00A0C9A8B90C
Attaching upgrade log
UpgradeLog.zip

Thanks @dogleft for the heads up. We didn't migrate the project to VS2017 yet. @SeanFeldman let's take this offline.

@dogleft we've got an issue #49 that is addressing the installer problem.
Moving forward, the plan is to switch to the Desktop Bridge to provide an installer + updates.


xarray dependency

xarray version 2022.6.0 gives multiple errors with gaiaunlimited imports

pip3 install --upgrade xarray==2022.3.0 solves this


9.0 merge de5789a

@iledarn @ilmir-k note, that two of your new modules are marked as not installable in 9.0:
￼	hr_public_holidays_ics_import is not installable in 9.0
￼	invoice_sale_order_line_group is not installable in 9.0

The same about reminder_crm_next_action_time

@GabbasovDinar


EAS Build fail with FontAwesome Pro

Build/Submit details page URL
https://expo.dev/accounts/sneakpeekai/projects/sneakpeekai/builds/973aefa9-5bca-47dc-8809-1f936e1e496b
Summary
I am using FontAwesome Pro and I am adding this to the .npmrc file in the project root directory and adding the secret to EAS Secret.
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN}

Build still fails, I have read other posts about this, to no avail. So now I am stuck and cannot use EAS Build. The .npmrc build is  located in the core react native / expo directory along with the package.json

Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.17.3 - /usr/local/bin/node
npm: 6.14.13 - /usr/local/bin/npm
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
expo: ~48.0.18 => 48.0.19
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-web: ~0.18.7 => 0.18.10
npmGlobalPackages:
eas-cli: 3.14.0
expo-cli: 6.3.8
Expo Workflow: managed
npx expo-doctor
npx: installed 1 in 1.513s
✔ Check package.json for common issues
✔ Validate global prerequisites versions
✖ Check for incompatible packages
Unexpected error while running 'Check for incompatible packages' check:
Error: Dependency tree validation for @unimodules/react-native-adapter failed. This validation is only available on Node 16+ / npm 8.
✖ Check for conflicting global packages in project
Unexpected error while running 'Check for conflicting global packages in project' check:
Error: Dependency tree validation for expo-cli failed. This validation is only available on Node 16+ / npm 8.
✔ Validate Expo Config
✖ Verify prebuild support package versions are compatible
Unexpected error while running 'Verify prebuild support package versions are compatible' check:
Error: Dependency tree validation for expo-modules-autolinking failed. This validation is only available on Node 16+ / npm 8.
✖ Check compatible dependency versions for the installed Expo SDK
Detailed check results:
Some dependencies are incompatible with the installed expo version:
<EMAIL_ADDRESS>- expected version: 1.17.11
Your project may not work correctly until you install the correct versions of the packages.
Install individual packages by running npx expo install<EMAIL_ADDRESS>Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
One or more checks failed, indicating possible issues with the project.
Error output
[stderr]  npm ERR! code E401
[stderr] npm ERR! Incorrect or missing password.
Reproducible demo or steps to reproduce from a blank project
None

Hi, I think your use case is described here https://docs.expo.dev/build-reference/private-npm-packages/#packages-published-to-a-private-registry. Please note that .npmrc must be placed in your project's root directory (so I think one level above where it is placed currently). I think that you also need to set the NPM_TOKEN secret  (with this exact name, see https://docs.expo.dev/build-reference/private-npm-packages/#private-packages-published-to-npm), and change your .npmrc file contents to
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=${NPM_TOKEN}

to make it work 😄.
If everything is set up correctly you should be able to see logs in the Prepare project phase saying sth like:
.npmrc already exists in your project directory, skipping generation.

I hope that this response will help you. Let me know if you have any more questions 😄
https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#create-and-check-in-a-project-specific-npmrc-file

It'd be good if we were able to somehow configure the .npmrc generation. Once might have multiple variables to be injected in there. I've tried to use custom eas-build-pre-install hook to basically create the .npmrc file and use e.g. process.env.FONT_AWESOME_NPM_TOKEN variable, but it seems like secrets are not really available in the pre-install hook.

It'd be good if we were able to somehow configure the .npmrc generation. Once might have multiple variables to be injected in there. I've tried to use custom eas-build-pre-install hook to basically create the .npmrc file and use e.g. process.env.FONT_AWESOME_NPM_TOKEN variable, but it seems like secrets are not really available in the pre-install hook.

Hey, AFAIK secrets/env vars should be available in the pre-install hook. Can you share the script you used to generate it?


feat(react): useClientPoint hook

Closes #2150

Hey @atomiks, thanks for working on this PR.
looks like this should work with virtual elements right?
Looking for this to land, trying to build a floating toolbar for prosemirror where I only have coordinates and not a real dom element.
Maybe this could be renamed useVirtualPoint instead to expand use-cases?
what do you think?

I can see you might want to use a virtual rect in general, so useVirtualRect / useRect, but I think that is a separate hook. Something like useRangeSelection is higher-level with different behavior, and the concerns should be separated from a "point"-like hook, as this is.
useRect(context, {
  x: number,
  y: number,
  width: number,
  height: number
});

function useVirtualRect(context, rect) {
  useLayoutEffect(() => {
    context.refs.setPositionReference({
      contextElement: context.elements.domReference || undefined,
      getBoundingClientRect() {
        return ...;
      }
    });
  }, [context.refs, context.elements, rect.x, rect.y, rect.width, rect.height]);
}


Bug in Initialization of Smooth, Delay

In SMOOTH1, SMOOTH3, DELAY1 and DELAY3, as there is no initialization value, Vensim will output the current input value at model initialization. PySD has been initializing to output the value of 0. This wasn't caught before because the tests started their input values at 0, so there was no discrepancy.
New model tests include:

inputs beginning at nonzero values for delay and smooth
varying delay and smooth times
varying order on SmoothN and DelayN

These raise errors now.

Hi James.
Please forgive my confusion. Is it your intent to raise errors if inputs to delay and smooth are non-zero? Or are you reporting on undesirable behavior that is currently raising a false positive error?
Thanks.
Eliot
From: James Houghton<EMAIL_ADDRESS>Sent: Monday, October 02, 2017 1:05 PM
To: JamesPHoughton/pysd<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [JamesPHoughton/pysd] Bug in Initialization of Smooth, Delay (#145)
In SMOOTH1, SMOOTH3, DELAY1 and DELAY3, as there is no initialization value, Vensim will output the current input value at model initialization. PySD has been initializing to output the value of 0. This wasn't caught before because the tests started their input values at 0, so there was no discrepancy.
New model tests include:

inputs beginning at nonzero values for delay https://github.com/SDXorg/test-models/blob/5202a93eb5c9ffd97623b07abaf99462e604693f/tests/delays/test_delays.mdl#L13-L14  and smooth https://github.com/SDXorg/test-models/blob/master/tests/smooth/test_smooth.mdl#L42-L43
varying delay https://github.com/SDXorg/test-models/blob/5202a93eb5c9ffd97623b07abaf99462e604693f/tests/delays/test_delays.mdl#L2-L5  and smooth https://github.com/SDXorg/test-models/blob/master/tests/smooth/test_smooth.mdl#L37-L38  times
varying order on SmoothN https://github.com/SDXorg/test-models/blob/master/tests/smooth/test_smooth.mdl#L2-L3  and DelayN https://github.com/SDXorg/test-models/blob/5202a93eb5c9ffd97623b07abaf99462e604693f/tests/delays/test_delays.mdl#L18-L19

These raise errors now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/JamesPHoughton/pysd/issues/145 , or mute the thread https://github.com/notifications/unsubscribe-auth/AKDJKTeTn_KJN0-nLXZcLm67nnOj9PZAks5soRfIgaJpZM4Pq8gC .  https://github.com/notifications/beacon/AKDJKcdRrZRv8KABGrFXtaxsDvOgwiJRks5soRfIgaJpZM4Pq8gC.gif

Hey Eliot,
The problem is that PySD was not correctly replicating Vensim's behavior, specifically on delay and smooth functions without explicit initialization. I didn't figure that out (and it's pretty old code, so I should have) because the test I was using to check that piece of PySD functionality wasn't stringent enough to find the bug. (False negative on the development tests.) So, I've updated the tests, and now have to make changes to the PySD code to make sure it matches what Vensim is doing. =)
James

The issue is in the parse_general_expression method, just need to change the init value from 0 to the input signal as seen on vensim's documentation.
I updated the method and the tests are passing now, i will PR as soon as I finish the test for the Trend function I am working on.

Should be fixed in https://github.com/JamesPHoughton/pysd/commit/b1d29d62abaa58517327da26bfe63131295edff5


when I use the famfs to create a famfs file system on the cxl device, which has 256GB memory capacity, it comes a "bus error" sudo famfs/debug/mkfs.famfs /dev/dax0.0

I'm not aware of a size limit - the intent is to support very large memory - but I'm not sure we've tested that large because most of our systems/devices are smaller. I will run a test this week to see if I see this issue.
Meanwhile, do make sure your dax device is in "devdax" mode.
Thanks

I ran famfs/run_stress_tests.sh on a 256GiB Dax device and a 512GiB Dax device successfully. That creates a file system, fills it almost full, and runs fio against the files - exercising all of the memory. Both worked, so I don't see a famfs bug with larger devices. This was using regular dram as a Dax device to host famfs.
BTW regarding #60 this test was annoying because it took a while to create all the test files.
Anyway, if yours is still failing please provide the full sequence of commands you ran, plus any output from the kernel log.
fio --name=8-290-MB-files-per-thread  --nrfiles=8 --bs=2M --group_reporting=1
    --alloc-size=1048576 --filesize=304087040 --readwrite=write --fallocate=none
    --numjobs=111 --create_on_open=0 --directory=/mnt/famfs/test_16981 --time_based --runtime=60

8-290-MB-files-per-thread: (g=0): rw=write, bs=(R) 2048KiB-2048KiB, (W) 2048KiB-2048KiB, (T) 2048KiB-2048KiB, ioengine=psync, iodepth=1
...
fio-3.33
Starting 111 processes

8-290-MB-files-per-thread: (groupid=0, jobs=111): err= 0: pid=19836: Tue Jun  4 14:57:19 2024
  write: IOPS=65.9k, BW=129GiB/s (138GB/s)(7728GiB/60002msec); 0 zone resets
    clat (usec): min=96, max=5926, avg=1421.28, stdev=376.17
     lat (usec): min=112, max=50733, avg=1675.68, stdev=483.57
    clat percentiles (usec):
     |  1.00th=[  371],  5.00th=[  807], 10.00th=[  914], 20.00th=[ 1156],
     | 30.00th=[ 1369], 40.00th=[ 1418], 50.00th=[ 1450], 60.00th=[ 1483],
     | 70.00th=[ 1500], 80.00th=[ 1598], 90.00th=[ 1975], 95.00th=[ 2057],
     | 99.00th=[ 2147], 99.50th=[ 2180], 99.90th=[ 2311], 99.95th=[ 2573],
     | 99.99th=[ 2671]
   bw (  MiB/s): min=109934, max=162870, per=100.00%, avg=131991.59, stdev=289.33, samples=13209
   iops        : min=54942, max=81394, avg=65960.14, stdev=144.66, samples=13209
  lat (usec)   : 100=0.01%, 250=0.01%, 500=3.34%, 750=0.60%, 1000=10.94%
  lat (msec)   : 2=76.39%, 4=8.72%, 10=0.01%
  cpu          : usr=15.86%, sys=83.45%, ctx=9016, majf=0, minf=34088
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=0,3956517,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
  WRITE: bw=129GiB/s (138GB/s), 129GiB/s-129GiB/s (138GB/s-138GB/s), io=7728GiB (8297GB), run=60002-60002msec

Full device size      :<PHONE_NUMBER>96
Usable device size    :<PHONE_NUMBER>64
User give size        :<PHONE_NUMBER>64
Number of jobs        : 111
Files per job         : 8
Total files           : 888
File size (Bytes)     : 304670369
2 MiB aligned fsize   : 304087040
File size (MiB)       : 290 MB
Runtime               : 60
Size of all files     :<PHONE_NUMBER>20
Files location        : /mnt/famfs/test_16981

Thanks,
John

Suggestion: on the Dax device where mkfs.famfs fails, test the memory (if you haven't already). You can use Stream or Multichase - under the same GitHub organization as this project there are versions of both benchmarks that can test a Dax device directly.

We have been unable to reproduce this issue - and we have tested with 256GiB dax devices.
If you still experience this problem, please re-open and provide detailed information about how to reproduce the issue.


Allergens not saving properly

Originally created by Tom Smyth at 2015-11-19 03:12, migrated from redmine-#3659

Priority changed from ? to 3

Estimate set to 0.20 h

By Tom Smyth at 2015-11-19 08:12

Status changed from New to Closed

By Tom Smyth at 2015-11-19 08:18


min_temp can be lower that 17

In https://github.com/mac-zhou/midea-ac-py/blob/c1bd84c5b664b010a48df2b9c91d0917ead93044/custom_components/midea_ac/climate.py#L325 you decclare that min_temp can be 17, but from app or remote controler i can set 16. Is possible to configure this, or you can change 17 to 16?

Duplicate of #136.
midea-msmart is capable of reading the min/max temperatures the unit is capable of.
https://github.com/mac-zhou/midea-msmart/blob/97723d055d8e5a3775eaaca96807f2dbbd6db2aa/msmart/device/AC/command.py#L339-L351
We just need to expose those values in the device class and feed them to HA.


[testing] Trigger CI for oops PR 2347

Run CI with https://github.com/JCSDA-internal/oops/pull/2347

Closing, as testing is complete and underlying PRs are merged.


Update Studio Pro 8 and 9 articles for Extending Your Application With Custom Java

I did not put in any image titles, as they are all more 'decorative' than anything, they just help the user visually find where something already described is located. I even removed some I thought were superfluous.

@Adam-Dupaski Fixed merge conflicts, deleted a few more images.


prevent rebar3 from reloading it's own path and terminating itself

prevents code reloading by temporary marking of rebar3's ebin dir
as sticky during code refresh

Nice!


[Feature Request] Buying Proper VR headset for dev here (Mock HMD XR plugin??)

Edit: Issue closed, I must have turned it on by mistake because when I start a new project it's Mock HMD is not on by default.
I think I have just realized why this app is very lacking in proper VR support with motion controls and positional tracking. is it because it's using the The "Mock HMD XR Plugin for Unity" by default for which is for people building without a device.
I would highly recommend dev doesn't have a headset buying at least a Quest 2 as bare minimum, which can be had for about $150 on used marketplace at the moment, I'd even be willing to donate some money to get you one to get proper VR support in this app. The Quest 3 just came out but is more expensive and a lot better but if money is an issue let me know.
This app has a lot of potential right now.

I didn't know Quest 2's price has sunk😅 I actually have a used Dell Visor WMR headset I bought for 185 USD in 2019. Needless to say using WMR headset is pure pain, and I actually had to 3D print to attach my lens. Now that the price of it has become slightly affordable I am tempted to buy one. But I must say that for this repo my WMR headset seems to be sufficient.
I once tried to implement the motion control but I gave up since the system did not recognize the controller click, for the reason to this day I am not sure if it's WMR issue or it's on Unity side.
I may have enabled the Mock HMD in the project, for reason I can't quite remember.


python error

Error: LeaderF requires python2.7+, your current version is 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
Error: LeaderF requires python2.7+, your current version is 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
E117: Unknown function: leaderf#File#startExpl

but I ran following commands showing my python meets the need. no idea how LeaderF find python?
python --version
Python 3.6.4

python2 --version
Python 2.7.13

python3 --version
Python 3.6.2

What is the output of :python print(sys.version) or :python3 print(sys.version) in vim command line?

I know. python version here is vim compiled python version, not my $PATH python.
If so, not convenient to use LeaderF.
btw, my vim version is 8.0.

What is the output of :version in your vim?
You can specify the python lib in vimrc like this:
set pythondll=/path/to/your/python2/libxxx.so
set pythonthreedll=/path/to/your/python3/libxxx.so

I think so.


--popover-available-height is incorrect

Current behavior
when using tooltip or popover renderd inside a portal, --popover-available-height is expcted to be the full height of the viewport. instead it's a very small number:

this is from the official tooltip example
Steps to reproduce the bug

Open https://ariakit.org/previews/tooltip
Trigger tooltip
investigate --popover-available-height in dev tools

Expected behavior
should be the height of the viewport
Workaround
No response
Possible solutions
No response

The value is correct. It's the available space based on the direction of the popover placement (in this case, top), not the entire viewport.

@diegohaz Just a quick follow-up on this, which is somewhat related - am I correct to understand that using overflowPadding means that the <Ariakit.Tooltip> needs to be added a
.tooltip {
  margin: var(--popover-overflow-padding);
}

to work as expected, or does overflowPadding={aNumber} already does the computation needed so the tooltip will be {aNumber}px away from the viewport edge? If so, what is --popover-overflow-padding useful for? Besides this example (notice the highlighted text in the link).

overflowPadding={aNumber} already does the computation needed so the tooltip will be {aNumber}px away from the viewport edge

This.
You don't need to set a margin if you use overflowPadding.

You don't need to set a margin if you use overflowPadding.

Thanks. What about 👇?

If so, what is --popover-overflow-padding useful for? Besides this example (notice the highlighted text in the link).


stream: implement Writable iterator

This implements an iterator for writable streams, that is, streams that
have enough flow control capacity to be written to.
This can be used by applications to resume sending on streams that were
previously blocked by flow control.

This also renames the previous uses of "writable" to "flushable" to avoid confusion.
TODO:

[x] Merge #119.
[x] Add some tests.

This should also check that the stream is not finished (see #127).

Added tests now (and while at it, I also added tests for Readable), so this should be ready to go now.

I see strut Readable and struct Writable are similar, wondering if they can be consolidated into a StreamIterator or something?

Yeah, that's a good idea, thanks @nqv. Though I'll leave that refactoring for a later PR as this is already getting big.

I'm late to the party for the review but I had a basic question. If I call conn.writable() and consume connection-level flow control window by writing to one stream, then the conn.stream_send() call will fail? At that point should the Writable iterator be treated as invalidated?

@LPardue we might look at that as an optimization, though it would be pretty hard to implement as the iterator is completely independent from the connection itself.


backfill a test for withexec metrics propogation in golden test

this doesn't attempt to cover all withexec metrics, but does cover disk write and memory bytes, both of which render consistently.
this prevents regressions like the one we had in our 0.15.0 release
test-style-wise, I don't love this, so open to suggestions, but I wanted to re-use the UI-test-running machinery in dagql/idtui/golden_test.go without finding a way to make the output of -vvv calls more consistent.

so the other problem, looking at failing tests, is that this test requires cgroups v2.
we could ostensibly pull this whole suite out to run on namespace runners, but given that this single test also kinda breaks the pattern for the rest of these golden tests, maybe these 2 factors are enough that we should just break out another suite here, basically a verbose_test.go or similar.
thoughts? @vito


fix rebuild of files

This fixes #3589 i.e. the problem with endless rebuilding by making sure that the FSharpEmbeddedResourceText task doesn't generate files if the inputs are up-to-date.  THe task still gets run since it computes the output file names
However I'm sure there is a better, more declarative way to do this in MSBuild, but I think this will do for now - @brettfo could you take a look please?

It does not fix the issue. Building, say, VisualFSharp.Unittests project still causes building FSharp.Compiler.Private.

@vasily-kirichenko OK, thanks, I'll look into that (AFAICS it does fix one cause of the needless rebuilding, but not that one)

Sorry, I was wrong. After git cleanup -dfx, build vs debug the compiler project has stopped rebuilding.

Notes to self
Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Exec"
  "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe" /fo obj\net40\ProjectResources.rc.res ProjectResources.rc
  Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17336

  Copyright (C) Microsoft Corporation.  All rights reserved.

Done executing task "Exec".
Task "Exec"
  "C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe" /fo obj\net40\ProjectResources.rc.res ProjectResources.rc

Input file "obj\net40\\ProjectResources.rc.res" is newer than output file "C:\GitHub\dsyme\visualfsharp\vsintegration\src\FSharp.ProjectSystem.FSharp\..\..\..\src\..\release\net40\bin\FSharp.ProjectSystem.FSharp.xml".

@vasily-kirichenko Yes, this needed a build proto


This event is fired only when page is loaded. its NOT fired when "add parent button" clicked to add parent node in the jstree.

Originally posted by @ravi-ku in https://github.com/vakata/jstree/issue_comments#issuecomment-430493047

This is terrible behavior - please keep the discussion in the original ticket and stop opening new issues.


Fix double semaphore wait. Enable keepAlive by default.

For thread-safety we do not need the semaphore. Therefore I removed it and improved the DispatchItemHandling. (This should fix #208)
Also I fixed a nullpointer issue, which sometimes happend in the transport.

Thanks for the fix - I will take a look soon.

Hey @moozzyk,
Any news on this?
Thanks

Not at the moment. The semaphores were originally added to address what I believed were race conditions. Now the semaphores are getting removed so it seems that the races I brought up would re-appear.

I double checked and tried everything to generate race conditions, but with the tasks it is not possible. Only the semaphores have race condition issues, but not without. We use this branch since I created it and had no more issues with it. Everything works as it should. And we had lots of crashes before.

I took these changes (merged as 4f3a9b2ea8ec27d9e16c27ad1477f352bd794d11) and ensured keep-alive logic is using a queue for execution to avoid races (48942fbe1bc41410d2550875d672caf29d7859d2). Thanks a lot for you contribution!


2.8 checklist

[ ] Object retrieval needs to migrate to the depsgraph that is provided with the bpy.types.RenderEngine functions.

[ ] UI needs reformatting.  The 2.8 default 'single column' style layout would make it visually consistent with Cycles.

[ ] Scene update 'post' function has been removed.  Last I checked that was still powering the interactive render update.

Some bugs and glitches:

[ ] Light filter 'gobo' objects in the viewport usually don't match the visual results of the render.  Not sure if the issue is in the gobo object or the filter parameter export.

[ ] Internal render feedback is a bit inconsistent.  Sometimes the image doesn't update at all during rendering.

[ ] Dynamic lists for linking lights/light groups to objects/Object groups is neat but still a bit glitchy.

[ ] Cancelling an in progress render will usually cause Blender to crash if you try to start a new render.

[ ] Mixing and matching area lamp 'size' parameters with object scaling causes visual inconsistencies.

Is this currently being worked on?


CU-6qutkj add backup result info to get backup state api

Task linked: CU-6qutkj add backup result info to get state api


Updated react peerDependency to ^16.0.0

I'm getting a few npm warnings every time I install react-jobs. Considering<EMAIL_ADDRESS>is backward compatible, setting it as a peerDependency should emit warnings.

Awesome thanks!


Revert "Code Freeze 2022 Thaw"

Reverts Pocket/list-api#607
We need to update the PR to have a new healthcheck for the LB, otherwise deploy fails

Reverting due to health check endpoint being removed and causing build to hang


Java - Oracle WebLogic - Failure of server APACHE bridge

When deploying Java proxy.jsp in a Oracle WebLogic server sometimes I get an HTTP 503 error saying:
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
I tryed to understand the issue and I found that in method fetchAndPassBackToClient(HttpURLConnection con, HttpServletResponse clientResponse, boolean ignoreAuthenticationErrors) the OutputStream was not flushed in the end.
I added the bold block of code and the problem disappear.
byte[] byteResponse = buffer.toByteArray();
OutputStream ostream = clientResponse.getOutputStream();
ostream.write(byteResponse);
ostream.flush();
ostream.close();
byteStream.close();
Maybe it's a good idea to solve this in future releases.
Thanks for your work.

@tiagorodriguesribeiro
Strange.  The close() should automatically flush the OutputStream .  However, in reality ( 1 2 3 4 ) it seems less certain.
Do you want to make a pull request for this fix (to get the street cred for it)?  (If not, I can add the the fix)?

Bjorn, are you saying that close() is failing to invoke flush()?

@claywinkler - according to the issue description @tiagorodriguesribeiro is running in to an issue, possibly only specific to Oracle WebLogic and server APACHE bridge.   Even though I'm not 100% sure that's really the issue, I don't think there's any drawback to adding the flush()...

@bsvensson you can add the fix. @claywinkler my experience says that some implementations have flush before close, other's don't. I'm using Oracle WebLogic installed locally on my computer and I don't have any problem. Using Oracle WebLogic on client servers I have this problem... In past implementations the proxy.jsp had this flush + close. After some versions this disappeared.

We're using Weblogic server version <IP_ADDRESS>.171017 and we're getting issues on it. Which version should we revert back to?

Where is this file located and how do you change it?  I tryed to understand the issue and I found that in method fetchAndPassBackToClient(HttpURLConnection con, HttpServletResponse clientResponse, boolean ignoreAuthenticationErrors) the OutputStream was not flushed in the end.
I added the bold block of code and the problem disappear.
byte[] byteResponse = buffer.toByteArray();
OutputStream ostream = clientResponse.getOutputStream();
ostream.write(byteResponse);
ostream.flush();
ostream.close();
byteStream.close();


"add an employee" functionality

WHEN I choose to add an employee
THEN I am prompted to enter the employee’s first name, last name, role, and manager, and that employee is added to the database

done


⭐FEAT: Add divs to the hero section

#TODO:

Add better looking divs to the main hero section instead of existing one div.
For example :

The divs should be placed like this and later we must be able to insert an cover image inside.

I would like to work on this issue @ArslanYM

Fixed in #99 , needs iteration


[CI] - Separate lints into separate CI step

Closes #2154
This PR:
Moves linting into a separate CI step for both locally hosted runners and github runners.
This PR does not:
This PR does not make the build-and-test jobs dependent on linting. Not sure if we want this.
Key places to review:

I'm in favor of splitting things up like this


[docs] External images won't load because of CORB

Describe the bug
I noticed that on the Vercel adapter docs page, settings.png isn't displayed in the "Node version" section. Chrome shows a warning in the console that this is due to Cross-Origin Resource Blocking. This page explains that when an <img>'s src has x-content-type-options set to nosniff and a (wrong) content-type: text/html header (which both applies to that image), CORB will block the response
Reproduction

Visit https://kit.svelte.dev/docs/adapter-vercel#notes-node-version
"Vercel project settings" alt text is displayed instead of the actual image

Logs
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://github.com/sveltejs/kit/blob/master/packages/adapter-vercel/settings.png with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 90.28 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.2.0 - ~/.n/bin/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 8.19.3 - ~/.n/bin/npm
  Browsers:
    Firefox Developer Edition: 110.0
    Safari: 16.2

Severity
annoyance
Additional Information
Can reproduce in Arc (Chromium), Firefox and Safari

Introduced by https://github.com/sveltejs/kit/pull/8531
Maybe colocate assets needed for docs to avoid this. Some links are also absolute (they had to be when it was in the adapters readme) that can now be relative.


new_client builder with headers

some test need
header
cookie
how about add client builder?

I've added a method to client.rs
pub async fn capture_response2(
	&self,
	request_method: impl AsRef<str>,
	reqwest_res: reqwest::Response,
) -> Result<Response> {
	let request_method = Method::from_bytes(request_method.as_ref().as_bytes()).unwrap();
	let url = reqwest_res.url().to_string();
	self.capture_response(request_method, url, reqwest_res).await
}

test
    let hc = httpc_test::new_client("http://localhost:8080").unwrap();
    let rb = hc.reqwest_client().post("/test").header("sign", "xxx");

    let res = rb.send().await?;
    hc.capture_response2("POST", res).await?.print().await?;

interesting, I might rename this function, but I like the concept.
let me look at it.

hum, I am confused, rhe hc.reqwest_client() -> &reqwest::Client  do not have the base URL, so, I am not sure what the hc.reqwest_client().post("/test") will post to which host.

yes, it need combine base URL...

hc.reqwest_client().post("http://localhost:8080/test").header("sign", "xxx");

ok, I think I need to find another way. But thanks a lot for sharing.


Removed an unnecessary comment

Noticed a unnecessary comment while using / reading chart.js.
P.S. We at Hurdlr have only been using your library for about a week.  But we are enjoying your API design a lot!  Also, your comments have been very useful while making a few minor customizations for our charts.

Thanks @steaks


Aaron/multiplestaticmeshesintoinstancedmesh

Added tools for the artist to group static mesh actors into instanced static mesh actors and reverse opertation

This change is

In the future they will, or at least they should have one. maybe one repo for carlatools content?


Key Vault backed configuration

How can I define a key vault backed key-value within the store using the ARM template? Is this not available yet?

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

ID: 0000e043-0717-23d4-5d63-c5728919cda8
Version Independent ID: b8726c93-69e0-07d5-5bff-0b875dec00ab
Content: Create an Azure App Configuration store by using Azure Resource Manager template (ARM template) - Azure App Configuration
Content Source: articles/azure-app-configuration/quickstart-resource-manager.md
Service: azure-resource-manager
GitHub Login: @ZhijunZhao
Microsoft Alias: zhijzhao

@artmasa Please check whether below answers help you.
https://github.com/Azure/AppConfiguration/issues/268#issuecomment-685319249
https://github.com/Azure/AppConfiguration/issues/268#issuecomment-699597051

@ZhijunZhao  Thanks a lot for helping on this thread.
@artmasa Can you please review the pointers shared by @ZhijunZhao and call out if you have further queries. Thank you

#please-close

@BharathNimmala-MSFT yes, those examples answer my question. I think it would be worth documenting it.
Thank you

@artmasa Thanks a lot for sharing your feedback and helping us improve the documentation. We will take the feedback shared with our document authors and see how we can enhance the document.


Update Portable Version for OpenSlides 3.0

We currently have some Issues open for the Portable Version of OpenSlides.

[ ] #3669
[ ] #3662
[x] #1747
[ ] #1336

Will we still provide a portable version of OpenSlides 3.0? We have the Docker Images and documentation for them in place. They should work on every platform and it will reduce overhead on releasing a new version.

Currently, we will try to provide OpenSlides 3.0 as portable (for Windows) as long as we use portable components (e.g. python packages etc.)

Then we'll need to update the process to create a new portable binary. With the new client in place it could be a bit tricky to get all the needed files and provide them properly and in a stable way.

Currently, the portable for 2.3.x required a pypi package of OpenSlides only.

Haven't the UI of the portable version an own repo? So some issues may be better places there..

I agree. This issue belongs to OpenSlides Portable


handler callback does not receive argument

There is an inaccurate information in the README.
As per the code, when the req.url does not match the path option of the handler, callback is executed without any arguments passed.
i.e.
...
    if (req.url.split('?').shift() !== options.path)
      return callback()
...

However, the README says we can pass err to the callback.
  handler(req, res, function (err) {
    res.statusCode = 404
    res.end('no such location')
  })

But err in this case is always undefined.

there are various conditions in which you'll get the callback with an error: https://github.com/rvagg/github-webhook-handler/blob/master/github-webhook-handler.js#L40
I'm wondering however if that even makes sense, it emits an error and that should suffice, perhaps we should remove the callback-if-error case completely.

it emits an error and that should suffice, perhaps we should remove the callback-if-error case completely.

@sungwoncho, would this be acceptable to you? Simplifying the interface will promote consistency on any future changes, as well as cutting down a bit of code and the README.
It looks like fixing #8 will solve the original issue in any case, but this seems like as good an excuse as any to deprecate the callback interface.

@rjz it's been a while since I filed this issue and it's hard to jog the memory back.
I think that solution is acceptable. But it's kind of confusing as a user that sometimes I get a callback with an error and sometimes I have to listen to the error event.


Adding the Blue Magento Elephpant

There is also a Blue Elephpant from Magento. Currently i don't know anything about this little guy. Also this fellow dude had a different shape then the usually elephpant, so idk if he can be count as an "Elephpant".
https://twitter.com/RaeKnowler/status/700303522915602432

This one is a counterfeit one produced by some guys in Ukrain. They stopped producing anything a few months ago. Be careful if you find one, not sure they are safety tested.

I will close this as already mentioned that this is not a "original" one.

I've updated the CONTRIBUTING file to indicate that only "official" elephants will be included for now.


Re-enable VS Code ES Lint rules disabled in VS Code merge

A number of eslint rules were disabled in the latest VS Code merge : https://github.com/microsoft/azuredatastudio-merge/pull/2533/files/acf3a5c634811f9a96040e78d2e3a59741b4f8b3#diff-6884918dc8291219be508e05e28965b958c734def85324f3b53858ea4702090f
These are rules we inherited from VS Code, and disabling them is potentially risky (especially the code import patterns). We should re-enable them and fix any issues that are flagged, or at least document the ones that we can't enable currently and create issues to follow up on.

The global linting rules should be managed by the engineers maintaining the vs code merges, as this is where the primary cost is incurred.  Individual component/extension committers should use local linting rules for the components they are actively maintaining.

@kisantia FYI, I'll take a look at enabling at least the import patterns ones and then we can decide for the others what to do there later.

Started looking into this but there are a significant number of fixes that need to be made. Given the low actual impact on the product I'm moving it to September so we can focus on other release-blocking bugs in the meantime.


Dealing with passing huge attachments to models?

Hi all, I'm wondering what the best way is to pass huge amounts of "attachment" data to any of the models? A typical doc might be > 2 million words (~16 million characters).
I know this amount of data can't be fed to any under 70B as prompts due to context windows. If I go with llama 3.1 405B on a 4 x H100 NVL or 8 x H100 NVL, would that be the smart way to go?
Or is there a better approach to this that I'm missing (like training my own model or something).
Ideally I'd want to be able to just drop one of these docs into the model at any time as these files come new to me, frequently.
Thanks!

There is currently no LLM, even from commercial providers, that has a context window long enough to process 16MB of text.  The size of the model (7B, 70B, 405B, etc) has no bearing on the context window.
Your options are RAG or fine-tuning.  There are RAG implementations for ollama in the community integrations.  RAG doesn't "understand" the document, though, it just searches based on a query and responds with a result synthesized from the search results.  Fine-tuning options include unsloth, llama factory and axolotl.  The problem with fine-tuning is it takes time to generate the new model, if you are receiving daily doc dumps it might not be fit for purpose.  A new entry in to the scene is instructlab, which from the sound of it is a more iterative approach to fine-tuning, so might fit your use case better.  I haven't used it yet so my understanding may be incorrect.


examples not working in ie10

https://demo.vaadin.com/expense-manager/#/c2815d54fd
It is not working in Internet explorer 10

Hi @flik! Unfortunately, we are not supporting IE10.


Make youki a cargo subcommand

By adding the [[bin]] sections when a user runs cargo install youki both youki and cargo-youki will be installed into their cargo bin dir. This means a user can run cargo youki to execute youki. The bin section for youki was included so that if this dir is in a users path they can also simply run youki, and not need to run it via cargo.
This should be all that is necessary to Close #1562.
I believe this is all that is needed to make this work, but I'm not sure how to actually test it.

@Will-Shanks Thanks for your first contribution. I'm not sure what benefit came from this PR. Please tell me a specific case.

Codecov Report

Merging #1563 (6043e0b) into main (188ce0c) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1563   +/-   ##
=======================================
  Coverage   68.71%   68.72%
=======================================
  Files         120      120
  Lines       13094    13094
=======================================
+ Hits         8998     8999    +1
+ Misses       4096     4095    -1

One can install and run youki through cargo, making it easier to get.
With this pr getting started with youki is as simple as cargo install youki && cargo youki -h no other setup is needed.

Hey @Will-Shanks , let us continue the discussion about reasoning behind this in the corresponding issue you have opened, I will comment there :)


[Legends] Line width legend

more info here: https://github.com/CartoDB/design/issues/296#issuecomment-257516402

For the time being we shouldnt implement the hover state.

This is for the next milestone right? If not we will not have time to finish the autostyle thing.

This is for v1 of the legends, can be next milestone, yeah. You guys tell me.

In my opinion, after a deep thought, let's finish all the legends pending things and then polish and finish autostyle v0.1.

this is ready in cartodb.js so... all yours @nobuti

Stale issue. Closing 👋
Fun fact, we included this legend in CARTOframes / Airship three years later :)


memory leak when updating tiles?

Bevy Tilemap version
0.4
Operating system & version
MacOS 11.3
What you did
tried to update tiles using Tilemap.get_tile_mut(..)
What you expected to happen
expected the memory usage to remain flat (~80 MB)
What actually happened
memory usage slowly grows and grows (2 GB and counting), visually looks correct.
Additional information
if i comment out the single line of code that does the modification, the memory issue goes away.

Huh, thats interesting. I hadn't noticed that on my end but clearly, it appears to keep grabbing the tile mutably ... ? Should be only updating the one memory position. Shouldn't be making copies of it without dropping it, as per how Rust typically works.

I can confirm the memory leak on tile update. Haven't found a solution yet but still looking.

Turns out it is related to this: https://github.com/bevyengine/bevy/issues/2439


Configurable 'tasks' title?

Love the idea of xc. Thank you. I'm coming at this from a slightly different angle, is there any appetite for making the name of the tasks header configurable?
I would really like to use xc to check that the examples in our docs work. Being able to use "Examples" as the header instead of "Tasks" means the docs would still make sense for the reader.

Happy to accept this feature, I assume a flag would be fit for purpose?
I'd been thinking about how this tool could be useful in different languages, and this would help towards that!

Happy to accept this feature, I assume a flag would be fit for purpose?

Awesome, thanks. Yeah I guess something like -h --heading <string>?


[Safari] scroll bar doesn't work on the vertical example

While trying this demo ( https://codesandbox.io/s/minht11solid-virtual-container-demo-pk74r ) I noticed the scroll bar doesn't work on Safari 15, but works fine on Chrome.
The horizontal scroller works fine on Chrome and Safari.
Any ideas what could be missing?

Safari with an overlay scrollbar seems to be forwarding pointer events to the content and not to the scrollbar. I added horizontal padding to the demo as a temporary fix, other than that your best bet would be to open bug in https://bugs.webkit.org/


[BUG] build_all scripts can't download schema

Describe the bug
When a user submits the bin/build_all.sh to the PBS queue, the build fails if the user doesn't have a cached copy of the assets json schema from https://github.com/ACCESS-NRI/schema (i.e. if the schema version has changed since last run)
To Reproduce
Delete ~/.cache/pooch/
Run qsub -v version=test bin/build_all.sh
Additional context
Workaround is to start a python session on a login node, and run
from access_nri_intake import source, catalog to cache a copy of the schema

Thanks @anton-seaice. I know you know, but for others watching this is because the work nodes on Gadi do not have network access and so cannot download the schema if it is not cached. We'll be able to ensure this is avoided once we have the catalog build in the CD (#133), but for now a PR adding a note about this to the docs would be very welcome.


Add configurations and metrics to OTelTraceRawProcessor

Description
This PR adds two new features to otel_trace_raw:

New configuration options: trace_id_ttl and max_trace_id_cache_size
Two new metrics: traceGroupCacheCount and spanSetCount

Issues Resolved
Resolves #2165
Resolves #2166
Check List

[x] New functionality includes testing.
[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2164 (0fc4a13) into main (5f492a5) will increase coverage by 0.12%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #2164      +/-   ##
============================================
+ Coverage     93.78%   93.91%   +0.12%
- Complexity     1635     1636       +1
============================================
  Files           204      204
  Lines          4747     4747
  Branches        381      381
============================================
+ Hits           4452     4458       +6
+ Misses          207      198       -9
- Partials         88       91       +3

Impacted Files
Coverage Δ

...rwarder/discovery/AwsCloudMapPeerListProvider.java
92.68% <0.00%> (-2.44%)
:arrow_down:

...opensearch/dataprepper/pipeline/ProcessWorker.java
88.46% <0.00%> (+15.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Should there be a test that makes sure the the cache size is enforced correctly? We try to store more than the cache size and make sure that is not exceeded?
Also, another test to make sure that TTL is enforced. Check TTL to a small value in the test and make sure that the entry is not present in the cache?

That's a great suggestion. I just pushed a change to add these tests. Thanks!


Fix legacy msbuild issues

MSBuild has caused me years of pain, replacing it with Make is probably sensible. :+1:

Not quite in the right spirit of this project. But please do feel free to create issues so we (or someone else) can address them. Thanks!

This PR makes me depressed. I guess it was intended as a joke but I only get sad.

Agreed. I don't like this as a joke. Glad to see you open source your stuff, MS.

I think GitHub is not the right place for humour...

+1 for this feature! Let's call is msbake ;)

OR
http://mediacdn.snorgcontent.com/media/catalog/product/s/h/shakeandbake_fullpic_artwork.jpg

@robashton Why don't you get working on that and submit a pull request when it's ready for preview. Or do you just want to be a prick/troll?

@charlesnw1 technically that's bullying - why so aggressive? It may be a legitimate request


MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Scrap this. Sorry for the noise.


work on extra unit tests for multimodel preprocessor

ready for roll-out, increased the coverage from 13% to 75% :beer:

Please re-open this pull request in the ESMValTool Core repository. You can do so by pushing this branch to that repository, using the following instructions.
First add the repository with
git remote add esmvalcore git@github.com:esmvalgroup/esmvalcore

or
git remote add esmvalcore https://github.com/esmvalgroup/esmvalcore

if you're not using ssh to connect to GitHub.
Next upload the branch with
git push esmvalcore your_branch

and open a pull request here

@mattiarighi @bouweandela can you guys give me permission to pushy-push pls:
(esmvaltool_pypi) valeriu@valeriu-PORTEGE-Z30-C:~/esmvaltool_alpha$ git push esmvalcore version2_development_AddUnitTests
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

OK solved the push issue (I was being dumb) but the regular git push esmvalcore version2_development_AddUnitTests is not working correctly - it's creating a lot of conflicts in the esmvaltool directory, that shouldn't even exist

OK solved that one too - the merge needs to be done in ESMValCore/version2_development and not in the base branch ESMValCore/development

ported into https://github.com/ESMValGroup/ESMValCore/pull/17 so closing this


tfio.audio.AudioIOTensor not found, but found in invalid tfio.audio.audio.AudioIOTensor

Environment data

Language Server version: Pylance v2021.1.1
OS and version: Windows 10 Pro 19042.746
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.5

Expected behaviour
Pylance says "AudioIOTensor" is not a known member of module, but Python interpreter executes without error.
import tensorflow_io as tfio
audio = tfio.audio.AudioIOTensor('/path/to/filename')

Actual behaviour
Intellisense/Pylance suggest AudioIOTensor class is in tfio.audio.audio, but it is actually in tfio.audio
Pylance is happy with the below code, but python interpreter is not happy.
import tensorflow_io as tfio
audio = tfio.audio.audio.AudioIOTensor('/path/to/filename')

When executed, tfio.audio.audio.AudioIOTensor is not found
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
c:\Users\Fred\Documents\Research\fire_detection\sound_detection_tensorflow_py\src\spectrogram_test\spectrogram_test.py in
      8 # audio file are loaded lazily
      9 # incorrect, keep for intellisense
----> 10 audio = tfio.audio.audio.AudioIOTensor(
      11     '../../bin/data/chunk/audio_dataset_15/fire/0.wav')
      12 # audio = tfio.audio.AudioIOTensor(

AttributeError: module 'tensorflow_io.core.python.api.v0.audio' has no attribute 'audio'

Logs
Nothing is shown
Code Snippet / Additional information
Shown above.

I've got a similar issue with some PyQt Packages. Although this seems more to be a problem of a specific package/module layout.

Language Server Version: v2021.2.3-pre1
Win 10 Pro 19042.804
Python: Anaconda, Python=3.8.5
PyQt and PyQtDataVisualization were installed with pip in the conda environment. Both Version 5.15.2

The following Code works fine in Python, although there is no indication by the VSCode Autocompletion and Syntax Highlighting that Q3DScatter is a member of QtDataVisualization
from PyQt5 import QtDataVisualization

scatterplot = QtDataVisualization.Q3DScatter()

The following gives typing information, but an error in Python:
from PyQt5 import QtDataVisualization

scatterplot = QtDataVisualization.QtDataVisualization.Q3DScatter()

Traceback (most recent call last):
  File "[...]/test.py", line 3, in <module>
    scatterplot = QtDataVisualization.QtDataVisualization.Q3DScatter()
AttributeError: module 'PyQt5.QtDataVisualization' has no attribute 'QtDataVisualization'

Digging a bit into the [...]\envs\[myenvironment]\lib\site-packages\PyQt5\QtDataVisualization.pyi file, I find following.
import typing
import sip

from PyQt5 import QtGui
# some other code
class QtDataVisualization(sip.simplewrapper):
    # other classes
    class Q3DScatter('QAbstract3DGraph'):
            # class interface

The pylance logs don't give any useful information besides (i left out the pretty long path name ->[...]):
Background analysis message: getDiagnosticsForRange
[FG] parsing: [...]\test.py (1ms)
[FG] binding: [...]\test.py (0ms)
Background analysis message: getSemanticTokens
[BG(1)] parsing: [...]\test.py (0ms)
[BG(1)] binding: [...]\test.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: [...]\test.py ...
[BG(1)]   checking: [...]\test.py (0ms)
[BG(1)] analyzing: [...]\test.py (0ms)
Background analysis message: resumeAnalysis
Background analysis message: markFilesDirty

Seems fixed. can't repo with the latest `pip install tensorflow-io' version 0.21.0
pip install tensorflow-io                                                                                  pwsh  10:14:51 
Collecting tensorflow-io
  Downloading tensorflow_io-0.21.0-cp39-cp39-win_amd64.whl (21.3 MB)
     |████████████████████████████████| 21.3 MB 6.4 MB/s

python 3.9.6 but should also work with 3.8

closing for now. if the issue is still occurs please reopen.


fix: messed up with true/false check

See #68

Bruh, obviously, I messed up also with the fix. Wait until i fix :'D

Okay, I found where is my problem. It's around the inheritance checking. I close the PR until I wrote the fix ^^

Okay, now, everything seems to work as intended. The problem with custom rule order still remains.

Bruh, I rebase the entire branch on the 1.2.5. The edited files is in src/utils.css


Discussion: Improved decimal parameters in version 2.0

This is the discussion thread for aspnet/Announcements#266.

:+1: here since I can't on the announcement.


Add features

Hello, I'm looking for someone to help me add 2 simple features to the program, I have very basic knowledge in Python and couldn't do it by myself,
1 - adding broadcaster name to the output rawclip after the clip number
2 - adding broadcaster channel line to the metadata.json file
Thanks in advance

Hey.
1 - will look into that when I have some time
2 - what do you mean? A link to the broadcaster's channel?


Is pennydreadfulmagic.com an acceptable URL for all League decks?

Or should we run an UPDATE after inserting the deck to add the deck's actual url?

The URL is derivable from the other information we store so maybe NULL is the right answer to URL for a league deck?

Now storing the competition page URL. Seems as good an answer as any.


cancel button behaves like a submit

I'm guessing this is b/c button's default type is a 'submit' and the type is not defined in a lot of pages.  Perhaps these should be changed to behave similar to view/findings_add.haml:
%a{ :href =><EMAIL_ADDRESS>  %input{ :type => "button", :value => 'Cancel'}

thoughts?

@ccammilleri you are correct. This should be changed in the other haml files. I'll self-assign this one.


chore: release version 4.4.0

Codecov Report
All modified lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!.


Question: type assertion / typeof

I'd just like to preface this by saying thank you for the excellent blog on implementing cubiml, and I hope I'm not necro-ing a project with questions.
With that said, I've finished your tutorial and added a couple of minor extensions. Would a form of type assertion be possible in this system (similar to how null is disambiguated)?:
if <expr> is <type> then etc..

EDIT:
For clarification the point of this would be to unpick a union for example.

Isn't that just another form of match expression?

Yes, that is essentially it. So for a match arm with a type sig (maybe it looks like (x : Int) -> .... or something) do I just flow the two results of parse_type into the wrapped type var? Perhaps I was overthinking this.

I think you would just treat it as multiple nested matches, with all the else branches going to the same place.

for context  I have added top level type aliases which means it's easy to label a complex type definition that you want to reuse.
My pipe dream is a match that can support the following:
type IntList = {val : int; next: Self}? -- these top level aliases have Self recursively bound for ease of construction

match something with
  (x : IntList) -> some_expr
  (y : int) -> and_so_on

But I feel like that may be hard to do.
Would a use type which stores a typehead and then "the next typehead" in a linked list style be able to handle this kind of construct?
If you check the head and if it fails you would push a constraint of ind_lhs and the "tail" of the use type which would prompt it to try the next one in the chain?  I suppose the issue is that you cannot primitively match (VSomething, USomething) for all types.

Matching against a recursive type like that would require a potentially infinite number of runtime checks, so I don't think that is a good idea.

Yeah, I was thinking more on it and I think something that can match primitive types like int and str would be sufficient for most real usages. I also realized that the whole point of variants is to discriminate on complex types anyway, so why not just define a variant or even use nullables.
I do have another smaller question which is somewhat unrelated and more of an opinion. I've noticed that in this type system you can construct definitions like:
let x = (1 : number)

Do you think these should be rejected at compile time (if we try to type a literal with a superposition) or are their legit reasons people might want to do this? Can we "ignore" this type declaration if that is the case.

For a simple didactic language, of course simplicity always wins. If you're considering a more complex "real world" language, it's a tradeoff. You have to choose between the benefits of simplicity and consistency and adding arbitrary restrictions in order to rule out confusing or likely erroneous code patterns. I personally don't see how this qualifies as that though.

Well this case is a bit special but you can effectively limit usages by typing anything as top, even literals. I was asking if you could think of any programs where this is a benefit out of curiosity. For example, I think a value that is constrained to top would function like some kind of sentinel/ID which you never want consumers to do operations on except equality right? Perhaps this has an analogue in a more conventional system?

I'm gonna close this, the upshot is:

I expanded case_use and match expressions to also match on primitives, and allowed case type signatures to contain those primitives.
This obsoletes null handling since you can just match on Null -> now.
Looking at adding something like newtype to box primitive types in the future.


add cloud/container resource detectors by default

Add the available cloud/container resource detectors by default in ElasticNodeSDK:
        const defaultConfig = {
            resourceDetectors: [
...

One consideration might be to see about making them silent if they fail to detect resources. We don't want the noise if we have all these on by default.
Do we want an ELASTIC_OTEL_ config option to turn those off a la elastic-apm-node's ELASTIC_APM_CLOUD_PROVIDER? Something that would be easier than having to come up with a working subset for OTEL_NODE_RESOURCE_DETECTORS?
If a user attempts to use OTEL_NODE_RESOURCE_DETECTORS, is there a value that will still get our Elastic detector that adds the distro resource keys?

We don't want the noise if we have all these on by default.

Maybe we can silent the diag warnings when resource detectors detect method is being called. Here showing the call stack
'    at Object.detect (/Users/david/Documents/repos/el/elastic-otel-node/packages/opentelemetry-node/lib/detectors.js:60:50)\\n'
  '    at /Users/david/Documents/repos/el/elastic-otel-node/node_modules/@opentelemetry/resources/build/src/detect-resources.js:56:41\\n'
  '    at Array.map (<anonymous>)\\n'
  '    at detectResourcesSync (/Users/david/Documents/repos/el/elastic-otel-node/node_modules/@opentelemetry/resources/build/src/detect-resources.js:54:85)\\n'
  '    at ElasticNodeSDK.start (/Users/david/Documents/repos/el/elastic-otel-node/node_modules/@opentelemetry/sdk-node/build/src/sdk.js:128:87)\\n'
  '    at ElasticNodeSDK.start (/Users/david/Documents/repos/el/elastic-otel-node/packages/opentelemetry-node/lib/elastic-node-sdk.js:129:15)\\n'
  '    at Object.<anonymous> (/Users/david/Documents/repos/el/elastic-otel-node/packages/opentelemetry-node/lib/start.js:43:5)\\n'
  '    at Module._compile (node:internal/modules/cjs/loader:1254:14)\\n'
  '    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)\\n'
  '    at Module.load (node:internal/modules/cjs/loader:1117:32)'\n}","time":"2024-06-06T09:23:34.528Z"

Revealing the detection is done within the start method of the SDK. Silencing the logs in the start process is not a good idea IMHO since the user could miss important info
Running the express example with the default log level we only get one warning from AwsEksDetector
node -r @elastic/opentelemetry-node express-app.js

{"name":"elastic-otel-node","level":30,"preamble":true,"distroVersion":"0.1.3","env":{"os":"darwin 23.5.0","arch":"arm64","runtime":"Node.js v18.16.0"},"msg":"start Elastic OpenTelemetry Node.js Distribution","time":"2024-06-06T09:35:28.336Z"}
{"name":"elastic-otel-node","level":40,"msg":"No meter provider, using default","time":"2024-06-06T09:35:28.346Z"}
{"name":"elastic-otel-node","level":40,"msg":"Process is not running on K8S [Error: ENOENT: no such file or directory, access '/var/run/secrets/kubernetes.io/serviceaccount/token'] {\n  errno: -2,\n  code: 'ENOENT',\n  syscall: 'access',\n  path: '/var/run/secrets/kubernetes.io/serviceaccount/token'\n}","time":"2024-06-06T09:35:28.439Z"}

lowering the log level to debug, verbose or all will show more logs from the detectors but I guess this is expected from the user right?


[FEATURE] Exit after auto revert

It's cool that Nomad is able to auto revert  a deployment to the previous stable version. And it's even better that Levant is able to track this. But I'd like to be notified in case this happens so I can fail my CD pipeline.

hey @rkettelerij thanks for the issue. I am curious what is wrong with the current handling as even when auto-revert is triggered and is successful; Levant will indicate the deployment failed and exit with status 1.
Testing:
2018/06/04 22:42:21 CEST [INFO] levant/deploy: using dynamic count 1 for job service_test and group cache
2018/06/04 22:42:21 CEST [INFO] levant/deploy: triggering a deployment of job service_test
2018/06/04 22:42:22 CEST [INFO] levant/deploy: evaluation d6459995-af81-75c2-20c1-05693e3fde0b finished successfully
2018/06/04 22:42:22 CEST [INFO] levant/deploy: beginning deployment watcher for job service_test
2018/06/04 22:42:52 CEST [ERROR] levant/deploy: deployment ec652379-8da3-b835-f0ee-9da4a50d9f85 has status failed
2018/06/04 22:42:52 CEST [ERROR] levant/failure_inspector: alloc a8dfad89-061a-2feb-00df-94cc105ade27 incurred event driver failure because failed to initialize task "redis" for alloc "a8dfad89-061a-2feb-00df-94cc105ade27": Failed to pull `redis:3.21111`: API error (404): {"message":"manifest for redis:3.21111 not found"}
2018/06/04 22:42:52 CEST [INFO] levant/auto_revert: job service_test has entered auto-revert state; launching auto-revert checker
2018/06/04 22:42:52 CEST [INFO] levant/auto_revert: beginning deployment watcher for job service_test
2018/06/04 22:43:07 CEST [INFO] levant/deploy: deployment fbc054b2-c1fd-41c5-6a9d-8721d87d2e21 has completed successfully
2018/06/04 22:43:07 CEST [INFO] levant/auto_revert: auto-revert of job service_test was successful
2018/06/04 22:43:07 CEST [ERROR] levant/deploy: deployment of job service_test failed
 ✘ jrasell@voyager  ~/go/src/github.com/jrasell/levant   master  echo $?
1

Hi James,
Thanks for testing. Hmm I guess I was to quick with my 'fix'. I'm closing this one.

thanks for the quick reply @rkettelerij


Difference between workflows

calculate the different between two workflows (only modifications and additions are included)
use orange background to indicate the difference of operators

Demo:
Additional operator
User editing workflow:

Workflow in version system:

The same operator with modified properties:
User editing workflow:

Workflow in version system:

Next steps:

Explicitly show the difference in properties by highlighting the field
Calculate and show deletions
Highlight the difference in links

@jessieeeovo I just want to leave a comment that let me finish #1479 before merging this PR. I will do that soon.

Discussion 2022.05.12: @sadeemsaleh WIP.


F#

Is it possible to implement this language? https://github.com/fable-compiler/Fable

Maybe... but seriously - i don't know, it needs to be tested 😫

I can test it, once it is initially implemented. :)

Hi. Yes, it is possible.

I talked with @max-pasichnyk, he will help me to implement F# in early 2018 (in future updates).

Thanks, fine ^_^


typo: supercede -> supersede

@nschonni : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.

Yeah, it's odd since "cede" is correct 😝
I'm just slowly working through https://en.oxforddictionaries.com/spelling/common-misspellings in the MicrosoftDocs org


[BUG]: (Windows) EPERM: Operation not permitted, unlink: '\public\static\icon.png'

Describe the bug
Sometimes, one out of two, I have this error and the rebuild crash.
To Reproduce
On windows, run npx quartz build --serve, after one change (for example a SCSS custom files), the rebuild should crash.
Expected behavior
Not a crash, a rebuild.
Screenshots and Source
 Quartz v4.1.5

Cleaned output directory `public` in 5ms
Found 44 input files from `content` in 19ms
Parsed 44 Markdown files in 2s
Filtered out 0 files in 243μs
Emitted 194 files to `public` in 512ms
Done processing 44 files in 2s
Started a Quartz server listening at http://localhost:8080
hint: exit with ctrl+c
[200] /
[200] /index.css
[200] /prescript.js
[200] /postscript.js
[200] /static/contentIndex.json
[200] /static/icon.png
Detected a source code change, doing a hard rebuild...

 ERROR

Exiting Quartz due to a fatal error: EPERM: operation not permitted, unlink 'E:\Documents\Github\mara-quartz\public\static\icon.png'

Desktop (please complete the following information):

Quartz Version: 4.1.5
node Version: v18.18.0
npm version: 10.3.0
OS:Windows and WSL2 (Ubuntu)
Browser Firefox

Additional context
Probably linked to #692 #695

I noted this happen much more when i edit, save, rebuild start, and i edit more, save BEFORE the first rebuild is done

Yes, I noted the same thing

I get this a lot too. I couldn't figure out why, but I'm working on partial rebuilds in https://github.com/jackyzha0/quartz/pull/716, which help reduce the frequency of this problem.
With partial rebuilds we will only write the files that have changed instead of cleaning the whole output directory and writing everything from scratch. In particular, this means we won't need to delete and copy icon.png repeatedly when you're editing a markdown file.

Yeah, I think Partial will reduce/remove this

@Lisandra-dev I've merged experimental support for partial rebuilds -- can you try with npx quartz build --serve --fastRebuild?

OS: Windows and WSL2 (Ubuntu)

@Lisandra-dev, are you doing the Quartz build on bare metal Windows or on WSL2 as mentioned in the issue? I'm asking because it looks like you're actually doing this from Windows, as the path format is in the NT-styled format (i.e., E:\Documents\Github\...) instead of the expected Unix-like format (i.e., /mnt/e/Documents/Github/...).
If it is the case that you are running this in WSL2, I would follow the advice of Microsoft's Sven Groot: "if it's at all possible, store your projects in the Linux file system in WSL2." WSL2 accesses Windows files across the VM boundary through the 9P file system protocol, similar to the way QEMU provides host file access for its virtual machines. Typically, cross-VM file access tend to be slow, so many solutions employ caching to get around this. However, caching is implicitly disabled in this scenario. You can enable it in your /etc/wsl.conf, but it is only safe to do so for drives that you only access from Linux, otherwise you may face disastrous consequences.
Even if you insist on keeping your projects on the Windows filesystem while working on them from WSL, you might face issues like microsoft/wsl#4739 and microsoft/wsl#4064.
TL;DR: The interoperability between Windows and WSL2 filesystems is currently (and for the foreseeable future) not great. Please avoid this in your workflow, if possible.

The wsl indication was just here because I tested in windows and WSL2.
I use windows in my workflows as WSL2 was just a test.

Sorry about that, then! At my previous job, I was the go-to in my team for headaches caused by WSL, and it really left a mark. Check out @kabirgh's partial rebuilds, then — they might just squash this error for good.

I also had an issue related to icon.png, with a slightly different error message, not sure the errors are related but I'll post here anyway:
Failed to emit from plugin `Static`: EPERM: operation not permitted, copyfile 'C:\path\to\quartz\static\icon.png' -> 'C:\path\to\public\static\icon.png'

I'm not using a symlink of any kind (normal directory) and I haven't done much configuration, but I had the same problem with many of my previous vaults as well.
I tried --fastRebuild and the error does not show up anymore, however editing with Obsidian (which auto-saves very regularly) and fast rebuild is not so convenient since it rebuilds multiple times while I'm writing. Not that big of a deal, so I went with it, but I eventually got the same error as in #798 (heap overflow).
For now I'll just run build --serve when I want to see the website, but if anyone has a fix I would be happy to take a look at it.


chore: improve jest setup

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(authentication-service): implement 2-factor-authentication

Description
implemented otp strategy using loopback4-authentication package
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Performed a self-review of my own code
[ ] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

@AnkurBansalSF mention issue number in PR


Throw webpack error on undef in background/popup config

check for download page config also

https://github.com/amitsingh-007/bypass-links/pull/126


Fix undefined variable

themes is not defined in getRandomTheme function.
Therefore, if keys.length is 0, an uncaught error would be occur.

@klaussinani
Hi! It seems that travis-ci has some troubles and does not work.
Could you have any idea to fix it?

@sairoutine Thank you for taking the time to contribute! I will have a look into the CI and review the PR asap


How to browserify your library.

I tried browserifying your library to use it on the client side but it fails due to syntax error with class keyword. Any clue as to how can i go about browserifying your library.
Thanks in advance.

What version of Browserify are you using?
I'm using it also for a client side project and use version: 11.2.0. The only issue is browser support. Even while using Browserify, the class keyword remains and is currently not really great supported by browsers.


Add testEnvironment option to export/publish all module/class members

Suggestion
Add a testEnvironment option in tsconfig.json that allows importing all members of a module, regardless of whether or not it contains the export modifier, and accessing all class members, regardless of access level. I did an initial implementation of this feature here.
I tried to use the same approach used by the swift language (adding a testable modifier in the import statements), but the complexity is much bigger and my experience in the language design is very limited.
Use Cases
Very useful when performing unit tests. Currently, if we want to test members of non-exported modules and members of protected and private classes, we have to resort to alternatives like rewire, for example. The biggest disadvantage of this approach is the loss of typing and the need to compile the code to JS before using.
Examples
This feature works great when used in conjunction with the extends option, with the testEnvironment option being used only in the test files.
{$workspace}/tsconfig-base.json
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true
  },
  "files": ["mod-1.ts", "mod-2.ts"]
}

{$workspace}/tests/tsconfig-tests.json
{
  "extends": "../tsconfig-base",
  "compilerOptions": {
    "testEnvironment": true
  },
  "files": ["mod-1.test.ts", "mod-2.test.ts"]
}

In general we do not add flags for "Make JS behave completely differently from its defined semantics", and this would qualify as one of those.

@RyanCavanaugh  I understand, but I think this feature would greatly enrich the language. In addition, it is a relatively simple feature to implement. This would make testing much easier.


Extensions should be able to hook into Register-SecretVault

Feature request.
We have a hook into Unregister thanks to this request.
I would like a way to have my extension perform some validation or other actions before registering the vault.
Use cases relevant to me :

Implemented module require some parameters to work properly. Validation could be done in the hook and prevent the registration if mandatory conditions are not met.

Az.keyvault is a good example of this. It requires SubscriptionId and VaultName to identify which Azure keyvault is targeted by the registration.

Implemented module require some action to be performed prior the registration.

--
I had such a use case while looking at using SecretManagement for a CMS implementation that require :

A mandatory vault parameter (for which I would issue a warning and prevent registration if not provided)
The creation of a self-signed certificate and adding that newly created certificate to the user certificates.

A Register-SecretVault hook (before registration) would be complimentary to the recently added Unregister-SecretVault hook and also definitely have valid use cases (Validation & performing any relevant actions ).
Thank you for considering this.

Thanks @itfranck we have tried to separate the registration of the vault from the loading of it for the best user experience...we believe Test-SecretVault helps to resolve this issue... we do not plan to implement this for the GA of the module but will also leave this open

Usually I won't really use Test-SecretVault unless I am writing a script and / or encounter an issue.
I was thinking more in the lines of  having the error (eg: missing parameter) disclosed at registration time (through my hook up) rather than waiting upon the next operation in line (eg: Get / Set secret) to throw the error at the user.
It is kind of the same (but opposite) as the Unregister-secret where you now can (through hookup) have the unloading associated with the unregister operation.
But I am all good with the rendered verdict.
Regards

@SydneyhSmith after several vault implementations I'm just calling Test-SecretVault in every single command as the first line basically, it would be nice to be a little less ham-fisted with it.
Vault implementers can implement offline support, either by simply not implementing Register-SecretVault, or supporting offline creation via a vaultparameter, e.g. Register-SecretVault -Name myvault -Module myonlinemodule -VaultParameter @{DontValidate=$true}

@SydneyhSmith after several vault implementations I'm just calling Test-SecretVault in every single command as the first line basically, it would be nice to be a little less ham-fisted with it.
Vault implementers can implement offline support, either by simply not implementing Register-SecretVault, or supporting offline creation via a vaultparameter, e.g. Register-SecretVault -Name myvault -Module myonlinemodule -VaultParameter @{DontValidate=$true}


WebSSH closes after selecting a tag for filtering.

Bug description
The app exits and ask for sending the error log to apple. I have activated the fingerprint lock feature. When I select tags, the closes.
Steps to reproduce

Select "Servers" at the left column (to list all created server)
Select "Tags"
Select one tag
Error is thrown

Hello @camoralb 👋
Thank you so much for your crash report!
I'm working on a fix and hope to beta release it tonight.
I will come back to you shortly.

Hello Carlos @camoralb 👋
Please find a fix here : https://testflight.apple.com/join/QSrBK59z


[2038] Add bursaries to DB seeds

Context
https://trello.com/c/DXdxak0I/2038-s-seed-bursaries
Changes proposed in this pull request

Seeds bursaries into the DB for trainee routes that we are currently developing as per the spreadsheet linked in the Trello ticket.
Bursaries are per training route and are related to the (now seeded) allocation subjects.

Guidance to review

Run rake db:seed

 [S] Seed Bursaries


Can't debug with Krom

Last version (Kode Studio 18.9.2 for Windows)
Works ok with Electron debugging, but Krom silently does nothing :(
I'd tried to run Krom.exe manualy, it requres api-ms-win-core-console-l2-1-0.dll
There is no such file in KodeStudio folders. I see api-ms-win-core-console-l1-1-0.dll, but it's just similar name.

Windows 7, right? That's already fixed, but haven't recompiled Krom since.

Win7 SP1

As expected. Fix will be in the next release.


chore(linters): Change event used to trigger linter actions

Previous one does not allow to comment on PR's from actions
Signed-off-by: grzesuav<EMAIL_ADDRESS>

https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target

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


[DEV] Publish and document the LANL Image Builder as an Ochami component

@travisbcotton created a system for building layered system images suitable for booting on HPC node with or without local disks.
We need to release it in a way that other ochami members can benefit and document it for use within the Supercomputer Institute.

[ ] Add tasks to this issue to describe the steps

Even though the SI is over for this year, is this still a TODO?

I would sure like it to be the case. I'm still figuring that part out.

OK. I will move this issue to the general roadmap then.

Looks like it already was, I just had to remove it from the SI project.


⚠ Bofrost.lu has degraded performance

In c440751, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2167 ms

Resolved: Bofrost.lu performance has improved in f803037 after 1 hour, 14 minutes.


Issue an error when a derived class precedes its base class

Fixes #8633 and dozens of other reportings of this easily-detected error case

Why are we only checking between base/derived? Basically any value-side reference to a class should be an error before its declaration.

:+1:

Does this cover the ordering across files when used with -outFile? That is, Derived and Base are in different files, but when compiled into the single output the order can go a wrong way — is that also reported?
Also what about this case, will it be (incorrectly) reported as an error?
function some() {
  class Derived extends Base {
  }

  return new Derived();
}

class Base { }

Textually Derived preceding the Base, but I think if it's not a static top-level or namespace-level class, the ordering should be disregarded and no warning shown.

Yep, this fix uses the function isBlockScopedNameDeclaredBeforeUse knows how to handle both outFile ordering and "evaluated later" scenarios correctly. It's the same function we use to detect improper ordering / use of let variables so that logic should be pretty well ironed-out by now.


fix: Webview

What

Fixes #3672
I don't know what exactly made the web view fail. For me, it was the appLocalizations were accessed in initState

Thanks @monsieurtanuki


libcap-dev linking

Problem is in CMakeList.txt
If I put:
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_library(cap libcap-dev)

# message(${libCAP})

set(dependencies
  rclcpp
  cap
)

# Executables
add_executable(ethercat_grant src/ethercat_grant.cpp)
ament_target_dependencies(ethercat_grant ${dependencies})

The output of the compilation is:
colcon build
Starting >>> ethercat_grant
--- stderr: ethercat_grant
CMake Error at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
  ament_target_dependencies() the passed package name 'cap' was not found
  before
Call Stack (most recent call first):
  CMakeLists.txt:34 (ament_target_dependencies)

make: *** [Makefile:266: cmake_check_build_system] Error 1
---
Failed   <<< ethercat_grant [0.41s, exited with code 2]

Summary: 0 packages finished [0.48s]
  1 package failed: ethercat_grant
  1 package had stderr output: ethercat_grant

If I put:
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_library(cap libcap-dev)

# message(${libCAP})

set(dependencies
  rclcpp
  # cap
)

# Executables
add_executable(ethercat_grant src/ethercat_grant.cpp)
ament_target_dependencies(ethercat_grant ${dependencies})

# Instala los ejecutables
install(TARGETS
  ethercat_grant
  RUNTIME DESTINATION lib/${PROJECT_NAME}
)

Then the output is:
colcon build
Starting >>> ethercat_grant
--- stderr: ethercat_grant
/usr/bin/ld: CMakeFiles/ethercat_grant.dir/src/ethercat_grant.cpp.o: in function `main':
ethercat_grant.cpp:(.text+0x214): undefined reference to `cap_from_text'
/usr/bin/ld: ethercat_grant.cpp:(.text+0x251): undefined reference to `cap_set_file'
/usr/bin/ld: ethercat_grant.cpp:(.text+0x2bd): undefined reference to `cap_free'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ethercat_grant.dir/build.make:131: ethercat_grant] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/ethercat_grant.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< ethercat_grant [0.55s, exited with code 2]

Summary: 0 packages finished [0.62s]
  1 package failed: ethercat_grant
  1 package had stderr output: ethercat_grant

So the problem is how to link the libcap-dev in the CMakeList. In ROS1 with catkin I assume it was done in the include_directories(${catkin_INCLUDE_DIRS}) step
So, if anyone has any idea it will be most welcome

Solved the problem with the linking of the cap library. Just had to change the ament_target_dependencies to target_link_libraries.
However, a new problem arises. With the change in capabilities, the linked libraries are lost. When running the launch file with the prefix, the libraries cannot be found.
[INFO] [mitsubishi_main-1]: process started with pid [59898]
[mitsubishi_main-1] /home/jose/ros2_ws/install/mitsubishi_servo/lib/mitsubishi_servo/mitsubishi_main: error while loading shared libraries: librcl_lifecycle.so: cannot open shared object file: No such file or directory
[ERROR] [mitsubishi_main-1]: process has died [pid 59898, exit code 127, cmd 'ethercat_grant /home/jose/ros2_ws/install/mitsubishi_servo/lib/mitsubishi_servo/mitsubishi_main --ros-args -r __ns:=/mitsubishi --params-file /home/jose/ros2_ws/install/mitsubishi_servo/share/mitsubishi_servo/params/mrj5n.yaml'].