Parameter to change the number of character before trunking of file name.

Hi,
I have a problem with the file name displayed in the control. It's limited to a certain fixed number of characters. In my case, I expand the control with the "fullWidth" parameter. The border and the size part are correctly expanded along the form but the file name still trunked with about 18 characters "filename_...xyz.uvw" (leaving much of the control empty).
I found in the code that this text is trunked at 20. Is it possible to change this fixed value to a parameter? Then we can choose it in the view (with a default value of 20).
I think, it's not the best solution because of font behavior (non monospaced typefaces) but a easy to implement solution.
Regards,
Vincent

Hello !
COuld you share a codesandbox plz ?

Hey i
It has been fixed in 2.0.6 ! There is no truncate in JS anymore, CSS handles it now

Hi.
Thanks for your quick response.
I tried updating to the latest and got the best results.
This library is great and easy to use.
thankful to you!

Hi,
Sorry I don't have a lot of time for the moment. I will try after my holidays.
Thanks.
Vincent
From: Victor de la Fouchardière @.>
Sent: mardi 1 août 2023 15:05
To: viclafouch/mui-file-input @.>
Cc: Vincent Becquevort @.>; Author @.>
Subject: Re: [viclafouch/mui-file-input] Parameter to change the number of character before trunking of file name. (Issue #21)
Hey i
It has been fixed in 2.0.6 ! There is no truncate in JS anymore, CSS handles it now

Reply to this email directly, view it on GitHubhttps://github.com/viclafouch/mui-file-input/issues/21#issuecomment-1660271226, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD6AYRKSM472GA3SUVS7US3XTD5HTANCNFSM6AAAAAAZZ3XXUM.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


[FLINK-22319][table][sql-client] Support RESET table option for ALTER TABLE statement

What is the purpose of the change
This pull request supports ALTER TABLE t RESET('key', ...) syntax.
Brief change log

Extend Parser.tdd and parserImpls.ftl templates to support syntax. Add SqlAlterTableReset to represent the SqlNode after parsing.
Extend SqlToOperationConverter to convert SqlAlterTableReset to AlterTableOptionsOperation by first cloning the table options of the current resolved catalog table, and then removing the keys present in SqlAlterTableReset.
Add a util method OperationConverterUtils#extractTableOptionKeys  to extract table option keys from SqlAlterTableReset.

Verifying this change
This change added tests and can be verified as follows:

Added tests in FlinkSqlParserImplTest to verify parsing syntax correctly.
Added cases in SqlToOperatorConverterTest#testAlterTable to verify operation transforming behaves correctly.
Added cases in CatalogTableITCase to verify the altered table options are as expected.
Added tests in TableEnvironmentTest. testAlterTableResetInvalidOptionKey is to verify the RESET statement can fix the invalid table options. testAlterTableResetOptionalOptionKey is to verify the RESET statement can reset the table option key to its default value. testAlterTableResetRequiredOptionKey is to verify the throwed exception when reseting a required key.
Added cases in the table.q to verify SqlCli behaves correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Docs will be updated after FLINK-22320 finishes.

Hi @wuchong could you help to review this PR when you're free?


refactor(deepzoom): reduce usage of for-loop & mut

Codecov Report
Base: 94.34% // Head: 94.31% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (27f5849) compared to base (49e8f5e).
Patch coverage: 97.72% of modified lines in pull request are covered.

:exclamation: Current head 27f5849 differs from pull request most recent head 9ae70a6. Consider uploading reports for the commit 9ae70a6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   94.34%   94.31%   -0.04%
==========================================
  Files          10       10
  Lines         761      774      +13
==========================================
+ Hits          718      730      +12
- Misses         43       44       +1

Impacted Files
Coverage Δ

src/deepzoom.rs
98.17% <97.72%> (-0.38%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Code Tab doesn't scroll up or down.

Hi, When I generate some code that is longer than my device's screen(x-axis) and I need to copy only some part of the code that is longer than my device's screen but smaller than the complete generated code, the code window doesn't scroll up or down automatically when I try to copy. Meaning that I can only copy the code that is visible in my window. Yes, there is a copy button, but I need to copy the specific part. Hope you understand.
See, here I am moving my cursor upwards but its not scrolling the code window.

I can not reproduce this. Can you reproduce with latest version of VS Code Insiders and latest pre-release of Copilot Chat extension?
If yes, can you provide reproducible steps. Until then I will go ahead and close this issue.
Thank you for your understanding

I still see this. It's about moving the cursor in a codeblock that is partly out of the viewport. Would be nice to fix for keyboard users


Use caching walker in procspy

Builds on #737, will rebase once thats in.  Part of #284.
Gives us a 1-2% cpu usage reduction on my VM.

Other than the sugar/naming quibbles, it LGTM.


Question

I'm a little confused, whilst brython looks to be an excellent way of bridging the JS/Python space, I thought that iPython Notebooks natively  ? So I'm just curious as to whether this integration with HighCharts can be achieve without brython ?
I would love to get this stuff clarified as I've already wasted loads of time  trying to get HC working using the native JS support - without much success.

Brython is a python implementation written in javascript so in the end you are using javascript with a pythonic syntax.
Highcharts runs in the client side and python (CPython) can't run in the client (the browser). This is why you need Brython if you want to run HC using Python syntax (on the client side).
IPython notebook architecture is, summarised:

A kernel running in the backend/server side. The kernel can be CPython but it also can be Julia, R, Haskell,... This is why now IPython is called Jupyter (kernel agnostic infrastructure).
The frontend/client-side where you run technology understood by the browser (HTML/css/javascript).
A messaging system to connect the client and the server.

If you run something that is pure javascript, like HC, you need to create a wrapper to communicate with the kernel and pass information between the client (javascript) and the kernel (that can be CPython or others). If you just want to run the visualisation on the client side you can use Brython as it is already javascript and can access javascript directly without the need to create a wrapper for it.
I don't know if this helps you clarify your doubts.

Thanks - that makes perfect sense now !

On 17 Jun 2015, at 09:59, kikocorreoso<EMAIL_ADDRESS>wrote:
Brython is a python implementation written in javascript so in the end you are using javascript with a pythonic syntax.
Highcharts runs in the client side and python (CPython) can't run in the client (the browser). This is why you need Brython if you want to run HC using Python syntax (on the client side).
IPython notebook architecture is, summarised:
A kernel running in the backend/server side. The kernel can be CPython but it also can be Julia, R, Haskell,... This is why now IPython is called Jupyter (kernel agnostic infrastructure).
The frontend/client-side where you run technology understood by the browser (HTML/css/javascript).
A messaging system to connect the client and the server.
If you run something that is pure javascript, like HC, you need to create a wrapper to communicate with the kernel and pass information between the client (javascript) and the kernel (that can be CPython or others). If you just want to run the visualisation on the client side you can use Brython as it is already javascript and can access javascript directly without the need to create a wrapper for it.
I don't know if this helps you clarify your doubts.
—
Reply to this email directly or view it on GitHub https://github.com/kikocorreoso/brythonmagic/issues/11#issuecomment-112727411.


docs: add useDebounce #120

Close #120

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


fix json_decode(): Passing null to parameter #1 ($json) of type string is deprecated at User and MenuItem models

Fix based on my issue https://github.com/the-control-group/voyager/issues/5603

Codecov Report

Merging #5634 (62cba5a) into 1.5 (3d37938) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                1.5    #5634   +/-   ##
=========================================
  Coverage     62.35%   62.35%
- Complexity     1400     1402    +2
=========================================
  Files           195      195
  Lines          3870     3870
=========================================
  Hits           2413     2413
  Misses         1457     1457

Impacted Files
Coverage Δ

src/Models/MenuItem.php
84.31% <100.00%> (ø)

src/Models/User.php
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Loosen zstd 1.4.x pin

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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.

Thanks @xhochy, looks good to me.

Can we post a diff for this one?

Diff: https://gist.github.com/d662b355113b3af051ee224113a3fed1

This diff is a monster. Is there a specific package you are interested in? Should we only be patching that one?

We should either patch all or do a rebuild. Otherwise we will get conflicts. I'm using several of the listed packages in my environments, only touching a selection is a not viable option.


torch cpu only?

Hi,
I've tried adding a few device=torch.device('cuda' if torch.cuda.is_available() else 'cpu') replacements for device=device or device="cuda" in hqq/models/base.py or hqq/core/quantize.py, the main error I am seeing now is that the calls to self.stream_* = torch.cuda.Stream(*) in hqq/core/quantize.py:HQQLinear.__init__() error out with the Stream()'s super() call going to a dummy base class.
My guess is that the Stream has no practical meaning on torch_cpu, so it would be either necessary to persuade the torch maintainers to handle that, or (assuming that streams are just the tip of the iceberg) adapt the HQQ code to work without cuda GPU when there is only torch_cpu?
CPU-only seems a worthwhile objective, especially as the models themselves are increasingly small

It was only tested on GPU. It could work on the CPU if you use the PYTORCH_COMPILE backend and pass compute_dtype=torch.float32, device='cpu' to from_quantized.
But that would only work on pre-quantized models, because quantization is solving an optimization problem and the code was designed to do it on the GPU (using fp16 which doesn't work on CPUs).
Not tested, let me know if that works!

That definitely sounds worth a try, watch this space 🙂

By the way, you can run on CPU now: https://github.com/mobiusml/hqq/issues/74

Awesome thanks :-) as you may have noticed I just don't seem to have had the bandwidth recently to try to make the adjustments myself

Sure, let me know if you need anything else!


Integrate Cluster API Addon Provider Fleet to turtles

What would you like to be added (User Story)?
As an operator I would like to use CAAPF features with turtles, so that I can establish GitOps workflow managing applications in child clusters.
Detailed Description
CAAPF can be added as an addon provider to provisioned templates with helm, as an experimental feature, disabled by default.
FleetAddonConfig will control which features of the addon provider will be enabled, based on compatibility with Rancher workflows
Anything else you would like to add?
Outstanding work:

[ ] #565

Label(s) to be applied
/kind feature

I believe it was resolved, matching the description in #559 and released in v0.8.0. I created an issue tracking the enhancement separately #565


[OpenShift] update of az openshift deprecation warning

Description
Per request, the deprecation warning for az openshift reference content needs to be updated.

OpenShift

OpenShift

hi @fengzhou-msft could you pls add openshift command owner for review also? thanks

hi @fengzhou-msft could you pls add openshift command owner for review also? thanks

@jiasli , @fengzhou-msft , Please see email thread with subject "Breadth Coverage baseline RP review" and modify this PR as you see fit.  I don't take PRs in this repo any further than 'ready for review'.

@jiasli , @fengzhou-msft , Please see email thread with subject "Breadth Coverage baseline RP review" and modify this PR as you see fit.  I don't take PRs in this repo any further than 'ready for review'.

@olga-mir can you help review this PR?

@olga-mir can you help review this PR?

Added deprecate_info so that when running an openshift command, the following warning will be shown:

This command is implicitly deprecated because command group 'openshift' is deprecated and will be removed in a future release. Use 'aro' instead.

@jim-minter can you help review this PR?

@dbradish-microsoft please sync with @sakthi-vetrivel on this - it's her call.

@sakthi-vetrivel , this PR has been approved by the Azure CLI engineering team.  We'll move forward to merge it early next week unless you request updates.
Kindly,
Delora

/azp run


Registration creates lines/squares on image

Hi,
I have RNAScope WSI from 3 cycles that I would like to register.  Cycle 1 and 2 looked very nice, but in cycle 3 some black lines started to appear. I've tried to use both cycle 1 or 2 as reference. but this doesn't change it.
This first screenshot is DAPI cycle 1 + 2.

Here is just the DAPI signal from cycle 3, where we can see very thin black lines.

This is the first time I use the tool, but this issue was also encountered by the person who recommended me this tool.
Thanks for your attention
Lucas

Apologies for the slow response. I'm happy to take a look if you could share your images. I can also be reached via email yu-an_chen [at] hms.harvard.edu

I just sent an email with my images. Thank you

Hi @Lucas-Maciel, thanks for being patient and sharing your images! I think I've identified and fixed the bug. Please get the latest version of palom (v2023.8.2) and lmk if the issue persists.
Here's a jupyter notebook for documenting my process. Interestingly VGP_cycle3_ROI1  is rotated 180° relative to the other two images. If this is common, the detect_flip_rotate=True in as in In [7]: should handle image flipping. Note that in In [11], I was only selecting the DNA channel (reader.pyramid[0][0]) to write to the output file.


Use WASM commands running in webworker

This is an experiment using POSIX commands compiled to WebAssembly via emscripten instead of the current implementation which uses commands written in bespoke TypeScript. Here is an example:
https://github.com/jupyterlite/terminal/assets/580326/38ef0c9a-a9dc-4344-a09a-a8dd16aeeb31
It includes all of coreutils as a single JavaScript module with embedded WASM. The build system for that is based on the marvellous biowasm. It uses its own emscripten filesystem so is not yet integrated with the JupyterLite file browser contents. There is no support for input or output redirection, pipes, or setting env vars, or many other things yet.
I have temporarily removed the cockle dependency and just put the JS files (fs.js and coreutils.js) in this repo for demo purposes. Eventually they will be in cockle (or an equivalent) and we will need to use much of the existing cockle functionality for command-line editing and so on. The actual JS/WASM files are built by hand at this stage but obviously that needs to be automated.
Because of global state in each command, the code recreates a new instance of the coreutils module for each command. This takes about 30 ms the first time, and less that 20 ms thereafter on my dev system (see log messages in console). The separate fs.js module is just for the emscripten filesystem which lasts the duration of the terminal and is proxied into each command just before they are run.
This reuses the WebWorker code from PR #13.

Thanks for looking into this!

The actual JS/WASM files are built by hand at this stage but obviously that needs to be automated.

Out of curiosity, what is the process for building these files?

The actual JS/WASM files are built by hand at this stage but obviously that needs to be automated.

Out of curiosity, what is the process for building these files?

It is the classic UNIX configure and make combination but using emscripten. A bit like https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/jpeg/build.sh but with more flags and some manual ~hacks~ modifications. And it is done in an Ubuntu docker container to build against the appropriate Linux system headers and with a particular version of the emsdk.

OK thanks.
Would it be possible to post the commands on this PR, to be able to more easily build the files locally if needed?

Would it be possible to post the commands on this PR, to be able to more easily build the files locally if needed?

Not yet, I need to do more on it before I am happy with it.

This now connects to the file browser using a DriveFS.
https://github.com/jupyterlite/terminal/assets/580326/ba6d42f3-5874-4aff-a995-1dd8e4a07a7c
It breaks some things such as cp creates the new file but doesn't copy the contents, but as I haven't dealt with input/output redirection yet this probably isn't surprising.

I think this is ready now. After merging this there is lots of work to be done on cockle.


[concept] Verify finalization of imported parentchain blocks if the parentchain is a parachain

Lately, we ensured compatibility of the light-client with a parachain parentchain. However, this came as a trade-off: we don't verify the block's finality because this would need knowledge about the relay-chain's state.
This implies that we need to have a second light-client which syncs the relay chain.
This issue is here to first establish a concept on how we want to do that.

Depending on when we start, we can check if beefy is ready: #1075


[Content]:

What article on segment.com/docs is affected?
https://segment.com/docs/personas/audiences/
What part(s) of the article would you like to see updated?
Quite a few customers have written in and been confused about the Personas pipeline, unaware that their source's events weren't sent through Personas and on to those destinations. It'd be beneficial to explicitly state that Personas only generates computed trait events and audience events and doesn't forward the events from the source. It might also be useful to specify the difference between the two pipelines so that customers understand that Personas is built on top of Segment and not an alternative pipeline for events.
The Connections pipeline collects and sends the events from your source to your destination.
The Personas pipeline receives the events from the sources, consolidates the data into user profiles where audiences and computed traits can be built out to enhance the profiles, and only the audience and computed traits events ever get sent from Personas to the connected destinations.
These events would contain the identifiers on the profile, such as userId, anonymousId, other external_ids (like email), and the trait/audience information. (Provide example of personas generated event found in a personas debugger).
Additional information
No response

@pwseg Here's one for you when you get back.

@lizkane222 Thanks for letting us know about this.  I added it to the Send Audiences to Destinations section of the Personas Audience page.


Catch an error when user did not accept EULA for pyannote/speaker-dia…

…rization-3.1
The Pipeline.from_pretrained() call returns None and then .to(device) fails with AttributeError: 'NoneType' object has no attribute 'to' so wrap it in a try/except/else

Thanks. I integrated this at https://github.com/Softcatala/whisper-ctranslate2/commit/1ce247f72700fe85b99d872adc3550e19d93b186


[Apple Maps] Polygon holes don’t re-render if updated

Summary
When using the default provider in iOS, if holes are updated, the polygons don’t re-render and update the holes. This is not an issue for the Google provider in iOS.
We are not blocked - the workaround is to wait on rendering the map until the holes are loaded.
Reproducible sample code
import React from 'react';
import View from 'react-native';
import { LatLng, MapView, Polygon } from 'react-native-maps';

export default function App() {
  const holes = useHoles();

  return (
    <View style={{ flex: 1}} >
      <MapView style={{ flex: 1}}>
        <Polygon
          coordinates={[
            { latitude: 10, longitude: 10 },
            { latitude: 10, longitude: 20 },
            { latitude: 20, longitude: 20 },
            { latitude: 20, longitude: 10 }
          ]}
          holes={holes}
          fillColor={'green'}
        />
      </MapView>
    </View>
  );
}

function useHoles() {
  const [holes, setHoles] = React.useState<LatLng[][]>([]);

  useEffect(() => {
    // Doing it this way because computing may be expensive or otherwise side-effecty
    setHoles([
      [
        { latitude: 13, longitude: 13 },
        { latitude: 13, longitude: 17 },
        { latitude: 17, longitude: 17 },
        { latitude: 17, longitude: 13 }
      ]
    ]);
  }, []);

  return holes;
}

Steps to reproduce
Run the above code snippet. You’ll have to scroll the map over to Africa to see the polygon.
If you pass the holes object directly into the Polygon instead (i.e., on mount), the hole will render properly.
If you use the Google provider, the hole will render properly.
Expected result
I expect the holes to be updated when they are set.
Actual result
The holes are never rendered if they are not passed in on mount.
React Native Maps Version
1.7.1
What platforms are you seeing the problem on?
iOS (Apple Maps)
React Native Version
0.72.3
What version of Expo are you using?
SDK 48
Device(s)
iPhone 14 Plus, iPhone 12
Additional information
We are actually using Expo SDK 49, but it’s not available in the list above :)

cc @deancampagnolo

@austin-liou
hello, I hope you are doing well
as I understand your points that are coming from const holes = useHoles(); not updated on the first mount as expected
this is a common behavior of React: when using complex data structures like arrays or objects, if the data is structurally the same (from a reference point of view), React will not re-render the component. This is because React uses a shallow comparison by default.
so there is a simple solution to re-render it
by using the key prop. This prop can force a re-render if its value changes. So, for your Polygon component, you can use the length of the holes array as a key:
 <MapView style={{flex: 1}}>
        <Polygon
          coordinates={[
            {latitude: 10, longitude: 10},
            {latitude: 10, longitude: 20},
            {latitude: 20, longitude: 20},
            {latitude: 20, longitude: 10},
          ]}
          holes={holes}
          key={holes.length} // add this
          fillColor={'green'}
        />
</MapView>

even if the length of the array will not change you might face another problem
maybe you will also you need to Deep clone to update your data whenever you want
if I don't understand correctly what you meant here please correct me

@Ahmedhamed77 oh… 🤦🏼 that’s a good point. We’ll give this a shot and let you know! Thanks so much


tried to install it locally withour vercel but it didnt work

tried to install it locally withour vercel but it didnt work
is vercel necessary to install it
thanks

Can you be more specific about what didn't work? Are you getting an error?

Yes dear the web browser load the page correctly but when starting talk or
send chat message it's not giving any response and show error in inspection
browser . I will produce the error and send detail later
But my question is should I make some modification on your scripts about
vercel or I don't need any morif
Thanks a lot my dear your work is interesting .
On Fri, Jul 26, 2024, 04:04 Nick Oates @.***> wrote:

Can you be more specific about what didn't work? Are you getting an error?
—
Reply to this email directly, view it on GitHub
https://github.com/ai-ng/swift/issues/7#issuecomment-2251875745, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A5LAND637YVRJBAGD5MYNGLZOG4DTAVCNFSM6AAAAABLPQUVS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA3TKNZUGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes dear the web browser load the page correctly but when starting talk or send chat message it's not giving any response and show error in inspection browser . I will produce the error and send detail later But my question is should I make some modification on your scripts about vercel or I don't need any morif Thanks a lot my dear your work is interesting .
…
On Fri, Jul 26, 2024, 04:04 Nick Oates @.> wrote: Can you be more specific about what didn't work? Are you getting an error? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LAND637YVRJBAGD5MYNGLZOG4DTAVCNFSM6AAAAABLPQUVS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA3TKNZUGU . You are receiving this because you authored the thread.Message ID: @.>

Did you add your environment variables?

thats my main log execution  in 2 parts
terminal part :
pnpm dev

<EMAIL_ADDRESS>dev /home/ben/swift
next dev

▲ Next.js 15.0.0-rc.0

Local:        http://localhost:3000
Environments: .env.local
Experiments (use with caution):
· after

✓ Starting...
✓ Ready in 9.7s
○ Compiling / ...
✓ Compiled / in 35.3s (595 modules)
⚠ metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
GET / 200 in 36067ms
○ Compiling /favicon.ico ...
✓ Compiled /favicon.ico in 5.4s (347 modules)
○ Compiling /api ...
✓ Compiled /api in 2000ms (451 modules)
⨯ node_modules/.pnpm/zod-form-data<EMAIL_ADDRESS>(408:23) @ Object.file
⨯ ReferenceError: File is not defined
at Object.file (webpack-internal:///(rsc)/./node_modules/.pnpm/zod-form-data@2.0.2_zod@3.23.8/node_modules/zod-form-data/dist/index.mjs:419:68)
at eval (webpack-internal:///(rsc)/./app/api/route.ts:19:56)
at (rsc)/./app/api/route.ts (/home/ben/swift/.next/server/app/api/route.js:202:1)
at webpack_require (/home/ben/swift/.next/server/webpack-runtime.js:33:43)
at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapi%2Froute&page=%2Fapi%2Froute&appPaths=&pagePath=private-next-app-dir%2Fapi%2Froute.ts&appDir=%2Fhome%2Fben%2Fswift%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Fben%2Fswift&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!:15:90)
at (rsc)/./node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapi%2Froute&page=%2Fapi%2Froute&appPaths=&pagePath=private-next-app-dir%2Fapi%2Froute.ts&appDir=%2Fhome%2Fben%2Fswift%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Fben%2Fswift&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D! (/home/ben/swift/.next/server/app/api/route.js:192:1)
at webpack_require (/home/ben/swift/.next/server/webpack-runtime.js:33:43)
at webpack_exec (/home/ben/swift/.next/server/app/api/route.js:212:39)
at /home/ben/swift/.next/server/app/api/route.js:213:782
at webpack_require.X (/home/ben/swift/.next/server/webpack-runtime.js:168:21)
at /home/ben/swift/.next/server/app/api/route.js:213:47
at Object. (/home/ben/swift/.next/server/app/api/route.js:216:3)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at mod.require (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/require-hook.js:65:28)
at require (node:internal/modules/cjs/helpers:119:18)
at requirePage (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/require.js:109:84)
at loadComponentsImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/load-components.js:98:57)
at async DevServer.findPageComponentsImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/next-server.js:708:36)
at async DevServer.findPageComponents (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/dev/next-dev-server.js:576:20)
at async DevServer.renderPageComponent (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/base-server.js:1964:24)
at async DevServer.renderToResponseImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/base-server.js:2016:32)
at async DevServer.pipeImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/base-server.js:908:25)
at async NextNodeServer.handleCatchallRenderRequest (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/next-server.js:273:17)
at async DevServer.handleRequestImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/base-server.js:804:17)
at async /home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/dev/next-dev-server.js:339:20
at async Span.traceAsyncFn (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/trace/trace.js:157:20)
at async DevServer.handleRequest (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/dev/next-dev-server.js:336:24)
at async invokeRender (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/lib/router-server.js:175:21)
at async handleRequest (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/lib/router-server.js:354:24)
at async requestHandlerImpl (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/lib/router-server.js:378:13)
at async Server.requestListener (/home/ben/swift/node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/server/lib/start-server.js:142:13) {
page: '/api'
}
406 |   z.literal(void 0).transform(() => false)
407 | ]);

408 | var file = (schema = z.instanceof(File)) => z.preprocess((val) => {
|                       ^
409 |   return val instanceof File && val.size === 0 ? void 0 : val;
410 | }, schema);
411 | var repeatable = (schema = z.array(text())) => {
○ Compiling /_error ...
✓ Compiled /_error in 3.3s (948 modules)
Each child in a list should have a unique "key" prop.

Check the render method of Head. See https://react.dev/link/warning-keys for more information.
at meta
at head
at Head (webpack-internal:///./node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/pages/_document.js:308:1)
at html
at Html (webpack-internal:///./node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/pages/_document.js:789:132)
at Document (webpack-internal:///./node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-100dfd7dab-20240701_react@19.0.0-rc-100dfd7dab-20240701__lvd5ix3jtkf3vgn4rdino54hua/node_modules/next/dist/pages/_document.js:805:1)
POST /api 500 in 6234ms
⚠ metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
GET / 200 in 1265ms
GET / 200 in 22ms
GET / 200 in 21ms
GET / 200 in 244ms
2 web part :
Download the React DevTools for a better development experience: https://react.dev/link/react-devtools react-dom-client.development.js:37542
[Vercel Web Analytics] Debug mode is enabled by default in development. No requests will be sent to the server. script.debug.js:1:462
[Vercel Web Analytics] [pageview] http://localhost:3000/
Object { o: "http://localhost:3000/", sv: "0.1.2", sdkn: "@vercel/analytics/react", sdkv: "1.2.2", ts:<PHONE_NUMBER>137, r: "", f: undefined }
script.debug.js:1:462
[VAD] initializing vad logging.js:8
[VAD] initializing worklet vad.worklet.bundle.min.js:1:4046
[VAD] initialized worklet vad.worklet.bundle.min.js:1:4046
[VAD] vad is initialized logging.js:8
The resource at “http://localhost:3000/_next/static/media/66f30814ff6d7cdf.p.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. localhost:3000
The resource at “http://localhost:3000/_next/static/media/e11418ac562b8ac1-s.p.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. localhost:3000
[Vercel Web Analytics] [event] Text input
Object { o: "http://localhost:3000/", sv: "0.1.2", sdkn: "@vercel/analytics/react", sdkv: "1.2.2", ts:<PHONE_NUMBER>223, r: "", en: "Text input", ed: undefined, f: undefined }
script.debug.js:1:462
[Fast Refresh] rebuilding hot-reloader-client.tsx:297:14
[Fast Refresh] done in 2835ms hot-reloader-client.tsx:74:10

What version of Node.js are you running?

Welcome to windows  wsl  Node.js v18.20.4.
and linux debian   Welcome to Node.js v18.18.2.
i will investigate from my side and see what is the root issue related to my 2 pc and let you know if i will find the reason and try to make your project more compatyble with any pc

Does the error persist if you upgrade to Node.js v20? The File API needs to exist in your runtime.

yes now its working but the responce time for the model its quite taking longer compared by your demo app
also what you mean by  ;  The File API needs to exist in your runtime.?
thanks

The serverless function on the demo app is in San Francisco, which is geographically close to the services we use. If you're further away, it will be slower.
The File API is used to represent a file, including for schema validation, so it's necessary that it exist in the version of Node.js you're running. Older versions of Node don't have this feature.

many thanks for your great work


Add one shot co2 measurement

This pull request probably isn't ready to merge because I haven't tested it on the SCD41.
There's an added example that should make it easy to setup and test on the SCD41. It should grab three samples of one shot co2 measurements, and then three samples of one shot relative humidity and temperature. I grab three samples because the datasheet suggests if the single shot is made right after powerup, it's better to grab three and drop the first two due to noise at start up.
I expected to get nonsense values on the SCD40, but it just returned 'kind of' accurate measurements. (I say kind of because there was a moderate amount of noise, but they were close to the expected values).
The measure_single_shot_rht_only should have a co2 value of 0 ppm, and if we don't get that on the SCD41, then there's a bug in the code I need to fix. I guessed the SCD40 would at least return a 0 there as well, but it did not, so I don't know how much of that is because of a bug vs because the 40 doesn't respond to that command.
In the event this is ready to be merged soon, it should address #5

Ah, yes! I knew this was incoming but did not see it had been submitted. I'll test it this week!

@KeithTheEE I haven't looked deeply at this PR yet, but did you ever really figure out how to differentiate between the chips? Or do we simply have to document the caveat that it isn't supported on the 40? I want to add the feature, but I'm hesitant to add something that will "work" on both, even though it's only supported on one.

I have not found out how to distinguish between the two. I have an idea, but it's dependent on measure_single_shot_rht_only for the moment.
Basically if it doesn't return '0' for the co2 ppm on the measure_single_shot_rht_only, it's an scd40, if it does it's an scd41. But that's assuming I even implemented that correctly. So if you don't get a 0 co2 ppm then when you call it on an SCD41, this code has a bug and shouldn't be merged.
I'm just at the stage where I'm understanding how the two sensors respond to the same call.

@KeithTheEE Noted! I'll let you know what I get once I get set up to test it.

@KeithTheEE Here are the results I get with your example. Please let me know if I should be trying something else.
code.py output:
Serial number: ['0x41', '0x6f', '0x5f', '0x7', '0x3b', '0x4a']
Waiting for single shot CO2 measurement from SCD41....
CO2: 660 ppm
Temperature: 18.5 *C
Humidity: 56.1 %

CO2: 718 ppm
Temperature: 18.7 *C
Humidity: 55.9 %

CO2: 691 ppm
Temperature: 19.0 *C
Humidity: 55.4 %

Waiting for single shot Humidity and Temperature measurement from SCD41....
CO2: 656 ppm
Temperature: 19.3 *C
Humidity: 54.7 %

CO2: 656 ppm
Temperature: 19.3 *C
Humidity: 54.7 %

CO2: 656 ppm
Temperature: 19.3 *C
Humidity: 54.6 %

Code done running.

Whelp that means I messed something up. Thank you for giving it a test, I'll have to dig in and see what's the cause of the bug.

@KeithTheEE We can keep this open and put it in draft status if you intend to continue working on it. That would keep someone from merging it, but still keep it open for collaboration and so on. Would that work better for you?

Oh yeah that would work! I didn't know I could keep it as a draft.

Yeah, it's a subtle suggestion in the menu on the right side of the PR. Not super obvious if you don't know to look for it. Also, I'm uncertain whether you, not having write access, can even see the option. Either way, bumped into draft status.

I recently got the scd41, so I should be able to start testing this more rapidly this week.

@KeithTheEE just checking in on this one, is this still something you are going to be looking into?

Hey, don't know if this is helpful/news to anyone, but it looks like Sensirion recently (May 2022) updated the datasheet to add info on power down and wake up commands specifically for the single-shot mode. I also now have a sensor to actually test with, though don't have anything that can measure µAs of power etc.
https://sensirion.github.io/python-i2c-scd/api.html?highlight=wake#sensirion_i2c_scd.scd4x.device.Scd4xI2cDevice.power_down too


Overlaymount

Added setup and call to mount_overlay within mount_image, if not writable and overlay is enabled. Includes addition to singularity.conf file.

Heya @aduffy19! This looks great but it isn't building via travis. Can you take a look at that?
Thank you!

Ah, @jjohnson42 had done some separate setup to test this and we didn't copy it all over. Will update once he's available, as I'm not sure what he did.

It looks like it is building properly now, but we are getting errors on unsupported systems (e.g. in the above travis output) that it is failing on unsupported systems.
How are you configuring it to work automatically? That perhaps needs to be conditional at runtime or better yet checked with ./configure.
Thanks!

Looks good! I'm going to merge this and shortly start looking at how to integrate into the devel branch (unless of course you want to do that?). :)


Documentation revisions ii

Documentation is vague

[x] http://toil.readthedocs.io/en/latest/cli.html#job-store should specify job store options (7a543810218addee582a59dfd9a250058145c253)
[x] http://toil.readthedocs.io/en/latest/cli.html#cluster-utilities should actually explain what the cli options do instead of just listing them (#1659)

Field typos

[x] AbstractJobStore.createRootJob (d75518ad4aaced3bd80e4b5f8b5742327bd07394)
[x] AbstractJobStore.importFile (d75518ad4aaced3bd80e4b5f8b5742327bd07394)

Bad links

[x] AbstractJobStore.initialize Exception
[x]  AbstractJobStore.resume Exception
[x] AbstractJobStore.create Exception
[x] AbstractJobStore.exportFile AbstractJobStore.importFile

Outdated information

[ ] AbstractJobStore.writeFileStream If fixme isn't fixed, issue should be filed
[ ] AbstractJobStore.writeFile if fixme isn't fixed, issue should be filed
[ ] abstractJobStore.py:196

Stylistic changes

[x] http://toil.readthedocs.io/en/latest/jobStore.html#the-job-store-interface AbstractJobStore name should be truncated

Remaining milestones have been addressed by other issues or aren't directly related to documentation. Closing.


Before doing the advertising or discovering it`s necessary to check whether the Bluetooth is on

A part of #872

We don't reliably return the 'radios turned off' error when startUpdateAdvertisingAndListening.

We get a dead object exception. We aren't really sure why. We just need to re-enable bluetooth and try again. That is the logic for this bug.

The copy of  thaliproject/Thali_CordovaPlugin_BtLibrary#85


sometimes mysqlconnections refused

Laravel Version: 5.3.31
PHP Version: 7.0.11
Database Driver & Version: mysql - 5.7.16

Description:
[2017-11-27 15:19:09] local.ERROR: SQLSTATE[HY000] [2002] Connection refused
It's really wired that most of the time, everything works fine. but sometime laravel through an exception of database connection refused. It could happen anywhere in my project, and I just need refresh the page to continue.

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this github area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
Can I please suggestion closing your issue ticket here. Instead trying asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

Thanks in advance.


#34 Point THE SOURCE to github/MetaFam instead of SourceCred

Updated the link to point to the main MetaFam github from where users can navigate to whichever sub-project they'd like to contribute to

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I don't think it makes sense to point it to the 'sourcecred' specifically.
Any newcomer going on that homepage seeing a link to 'THE SOURCE' will either just not now at all what it is, or will associate it with the 'sourcecode'.
If it is indeed supposed to point to Sourcecred, then I think we should consider changing the link name to something that is less confuseable with sourcecode

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I don't think it makes sense to point it to the 'sourcecred' specifically.
Any newcomer going on that homepage seeing a link to 'THE SOURCE' will either just not now at all what it is, or will associate it with the 'sourcecode'.
If it is indeed supposed to point to Sourcecred, then I think we should consider changing the link name to something that is less confuseable with sourcecode

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

Ah, is it supposed to go directly to the wiki now? That's what I'm seeing now...

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

Ah, is it supposed to go directly to the wiki now? That's what I'm seeing now...


fsc 4.0 Unhandled Exception: System.AccessViolationException

Creating an empty F# class library in Visual Studio 2015 RC with F# 4 installed, and referencing the NuGet package Xaml.MapControl 2.4.12, then building produces the following crash (with MSBuild set to detailed).
		C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe -o:obj\Debug\Library1.dll -g --debug:full --noframework --define:DEBUG --define:TRACE --doc:bin\Debug\Library1.XML --optimize- --tailcalls- -r:C:\Temp\bugdemoproject\Library1\packages\XAML.MapControl.2.4.12\lib\net45\FileDb.dll -r:C:\Temp\bugdemoproject\Library1\packages\XAML.MapControl.2.4.12\lib\net45\FileDbCache.WPF.dll -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\<IP_ADDRESS>\FSharp.Core.dll" -r:C:\Temp\bugdemoproject\Library1\packages\XAML.MapControl.2.4.12\lib\net45\ImageFileCache.WPF.dll -r:C:\Temp\bugdemoproject\Library1\packages\XAML.MapControl.2.4.12\lib\net45\MapControl.WPF.dll -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Core.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Numerics.dll" --target:library --warn:3 --warnaserror:76 --vserrors --validate-type-providers --LCID:1033 --utf8output --fullpaths --flaterrors --subsystemversion:6.00 --highentropyva+ --sqmsessionguid:efd8954f-ca0f-4d2a-97d3-b1613775e1cf "C:\Users\Mark\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.fs" AssemblyInfo.fs Library1.fs
		Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.MMapChannel.InputByte()
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.readByte(InputChannel is)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.readCompressedUInt32(InputChannel is)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.readBlobHeapUncached(FSharpRef`1 ctxtH, Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.mkCacheInt32@873-1.Invoke(FSharpFunc`2 f, Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.readBlobHeapOption(ILReaderContext ctxt, Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.seekReadAssemblyRefUncached(FSharpRef`1 ctxtH, Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.ctxt@3987-11.Invoke(Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.mkCacheInt32@873-1.Invoke(FSharpFunc`2 f, Int32 idx)
		   at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.genOpenBinaryReader@4059-4.GenerateNext(IEnumerable`1& next)
		   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
		   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
		   at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
		   at System.Lazy`1.CreateValue()
		   at System.Lazy`1.LazyInitValue()
		   at System.Lazy`1.get_Value()
		   at Microsoft.FSharp.Compiler.Build.TcImports.OpenILBinaryModule(String filename, range m)
		   at Microsoft.FSharp.Compiler.Build.TcImports.RegisterAndPrepareToImportReferencedDll(FSharpList`1 tpApprovals, FSharpOption`1 displayPSTypeProviderSecurityDialogBlockingUI, AssemblyResolution r)
		   at Microsoft.FSharp.Compiler.Build.RegisterAndImportReferencedAssemblies@4165.Invoke(AssemblyResolution nm)
		   at Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc`2 mapping, FSharpList`1 x)
		   at Microsoft.FSharp.Compiler.Build.TcImports.RegisterAndImportReferencedAssemblies(FSharpOption`1 displayPSTypeProviderSecurityDialogBlockingUI, FSharpList`1 nms)
		   at Microsoft.FSharp.Compiler.Build.TcImports.BuildNonFrameworkTcImports(FSharpOption`1 displayPSTypeProviderSecurityDialogBlockingUI, TcConfigProvider tcConfigP, TcGlobals tcGlobals, TcImports baseTcImports, FSharpList`1 nonFrameworkReferences, FSharpList`1 knownUnresolved)
		   at Microsoft.FSharp.Compiler.Driver.getTcImportsFromCommandLine$cont@443(Exiter exiter, DelayedDisposables disposables, FSharpOption`1 displayPSTypeProviderSecurityDialogBlockingUI, LexResourceManager lexResourceManager, FSharpList`1 sourceFiles, String assemblyName, TcConfig tcConfig, ErrorLogger errorLogger, Unit unitVar)
		   at Microsoft.FSharp.Compiler.Driver.getTcImportsFromCommandLine(FSharpOption`1 displayPSTypeProviderSecurityDialogBlockingUI, String[] argv, String defaultFSharpBinariesDir, String directoryBuildingFrom, FSharpOption`1 lcidFromCodePage, FSharpFunc`2 setProcessThreadLocals, FSharpFunc`2 displayBannerIfNeeded, Boolean optimizeForMemory, Exiter exiter, ErrorLoggerProvider errorLoggerProvider, DelayedDisposables disposables)
		   at Microsoft.FSharp.Compiler.Driver.main0(String[] argv, Boolean bannerAlreadyPrinted, Exiter exiter, ErrorLoggerProvider errorLoggerProvider, DelayedDisposables disposables)
		   at Microsoft.FSharp.Compiler.Driver.typecheckAndCompile(String[] argv, Boolean bannerAlreadyPrinted, Exiter exiter, ErrorLoggerProvider errorLoggerProvider)
		   at Microsoft.FSharp.Compiler.Driver.mainCompile(String[] argv, Boolean bannerAlreadyPrinted, Exiter exiter)
		   at Microsoft.FSharp.Compiler.CommandLineMain.Driver.main(String[] argv)
		   at Microsoft.FSharp.Compiler.CommandLineMain.main(String[] argv)
C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\Microsoft.FSharp.Targets(155,9): error MSB6006: "fsc.exe" exited with code -1073741819.
Target "_CheckForCompileOutputs" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\temp\bugdemoproject\Library1\Library1\Library1.fsproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
Target "_CleanGetCurrentAndPriorFileWrites" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\temp\bugdemoproject\Library1\Library1\Library1.fsproj" (target "_CleanRecordFileWrites" depends on it):
	Task "ReadLinesFromFile"
	Task "ConvertToAbsolutePath"
	Task "FindUnderPath"
	Task "FindUnderPath"
	Task "FindUnderPath"
	Task "RemoveDuplicates"
Target "_CleanRecordFileWrites" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\temp\bugdemoproject\Library1\Library1\Library1.fsproj" (target "CoreBuild" depends on it):
	Task "RemoveDuplicates"
	Task "MakeDir"
	Task "WriteLinesToFile"
Done building project "Library1.fsproj" -- FAILED.

Doing the same thing with a C# class library build OK, so I don't think the NuGet package can be completely smashed.

Some quick findings:

Repros with F# 3.1, so not a 4.0 regression
The library FileDb.dll does not pass PEVerify:

Microsoft (R) .NET Framework PE Verifier.  Version  4.0.30319.33440
Copyright (c) Microsoft Corporation.  All rights reserved.

[MD]: Error (Structural): Table=0x00000000, Col=0x00000004, Row=0x00000001, has an invalid GUID offset.
[MD]: Error (Structural): Table=0x00000000, Col=0x00000004, Row=0x00000002, has an invalid GUID offset.
[MD]: Error (Structural): Table=0x00000001, Col=0x00000000, Row=0x00000073, has coded rid out of range.
[MD]: Error (Structural): Table=0x00000001, Col=0x00000000, Row=0x00000074, has coded rid out of range.
[MD]: Error (Structural): Table=0x00000023, Col=0x00000008, Row=0x00000004, has an invalid BLOB offset.
5 Error(s) Verifying packages\XAML.MapControl.2.4.12\lib\net45\FileDb.dll

Removing the reference to FileDb.dll resolves the problem

So root cause is something in FileDb.dll, though it's quite possible we should still be able to handle it (I wonder what C# is doing?).

from symptoms I would say that FileDb.dll is obfuscated

You're right, it's obfuscated - I just checked with ILSpy.
It's a free database with an option to buy the source, so I guess that's why the obfuscation.
http://www.eztools-software.com/tools/filedb/
Presumably the bogus metadata is designed by the obfuscator to crash decompilers but not C#, VB or the assembly loader. It would be nice if F# coped too but it's also fair enough if it doesn't.

Ok, I can see what is going on.
Obfuscated assembly has a bogus extra reference to mscorlib which has incorrect index in Blob heap for HashValue - index value was out of range of the heap.I guess the assumption was that compiler will not try to realize the whole set of information for this AssemblyRef entry but decompiler will try to do. The problem was that F# compiler is eagerly trying to populate information about referenced assemblies for the given assembly so it crashes during the attempt to read this malformed entry.
As a fix we can either defer reading information about referenced assemblies or make IL reading facilities more resilient to invalid metadata. Former change will be more invasive, the latter one seems more surgical - I've implemented it (https://github.com/Microsoft/visualfsharp/compare/fsharp4...vladima:blobHeapSize?expand=1), seems to be small enough. Not sure what is the best way to add a regression test for this case, putting 'FileDb.dll' as a test asset does not seem right to me, pinging @latkin for better ideas :)

@vladima - do I understand right that this would require manual byte tweaking, i.e. couldn't be reproduced through ilasm?  Might not be so bad to have small checked-in repro binary, as long as we also include backing source code and instructions on how to create/modify the binary.
What is the result of your fix, does the compile now succeed or just fail more gracefully? Looks like empty array returned from readBlobHeap winds up triggering failure here?

@latkin yes, this is correct. I'm only tried to reference FIleDb.dll and compile simple .fs file that looks like this
[<EntryPoint>]
let main _ =
    0

Prior to my fix it failed and now compilation passes successfully

@latkin did you actually get the crash in this place or you just assuming that it might fail there? in the former case can you share a repro?

No, I just tried to follow the path of execution through the source and I thought that's where it would end up.

no, in general this bogus reference should not ever be used and is present to trick the decompiler.


Licencing question?

Hi would it be ok to use this in a project I'm working on?

Hi, absolutely -- go ahead! :)
I've added a license also, to make it more clear.


Github login requests permissions for all repos, no option to select

Github login requests permissions for all repos, no option to select as the dmg login setup page says.

This is unfortunately a limitation of GitHub's OAuth permission model. You are always able to limit permissions based on organizations, though.
After logging in with GitHub, bloop will only interact with repositories you select.

I don't believe this is true, if you look at how netlify does Github login, you're able to select specific repos and it only have access to those

Netlify uses Github's App permission model, which stores your credentials on their servers.
With the open source Bloop app you are in control of your credentials to Github. We never store them on our servers, and what the app does with your credentials is completely transparent.
If you are happy to try Bloop in the browser, our SaaS offering uses the same permissions model that Netlify uses, and gives you fine-grained permissions.


Add Issues and PR templates

Description
What types of changes does your code introduce to links.dev?

:information_source: Put a x in one or more boxes that might apply to it

[ ] Sign up (register to links.dev)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation (if none of the other choices apply)

Checklist

:information_source: This is simply a reminder of what we are going to look for before merging your code.
Mark the boxes with a x that are related to the PR.
If you're unsure about any of them, don't hesitate to ask.

[ ] I have read the "How to sign up" section
[x] CI still works with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[X] I have added necessary documentation (if appropriate)

This looks, sweet Esau
Can we introduce different templates per branch type? For example, the fix or feature branches can be named like issue-${number} so that we will ask some of the questions only on those branches:

CI still works with my changes
I have added tests that prove my fix is effective or that my feature works
I have added the necessary documentation (if appropriate)
etc.

For registration PRs, I would only ask the following:

I have created my-links repository and added my page.json
my page.json contains my links, not others
I've updated registry.yaml

This looks, sweet Esau
Can we introduce different templates per branch type? For example, the fix or feature branches can be named like issue-${number} so that we will ask some of the questions only on those branches:

CI still works with my changes
I have added tests that prove my fix is effective or that my feature works
I have added the necessary documentation (if appropriate)
etc.

For registration PRs, I would only ask the following:

I have created my-links repository and added my page.json
my page.json contains my links, not others
I've updated registry.yaml

This looks, sweet Esau
Can we introduce different templates per branch type? For example, the fix or feature branches can be named like issue-${number} so that we will ask some of the questions only on those branches:

CI still works with my changes
I have added tests that prove my fix is effective or that my feature works
I have added the necessary documentation (if appropriate)
etc.

For registration PRs, I would only ask the following:

I have created my-links repository and added my page.json
my page.json contains my links, not others
I've updated registry.yaml

I love the idea, I was actually unaware that it was possible to also create separated files for PR templates LOL, once I've never seen any org using it. Thank you


Add Hypervisor and Service class support

Add Hypervisor and Service class support

This pull request contains the files from ansaba, which is already merged. I will submit another pull request with my changes only.


C++11 compatible?

This is a general question. Is there interest to keep code C++11 compatible?
Otherwise it makes it difficult to get the plugin into the MOD units.
In MOD we are still using gcc 4.9, as it can build up to c++11 and that has been enough so far for all the plugins.

Hi! Yes! we have compatibility libraries in C++11 for filesystem, string views and char conversion, which are the key elements we use in C++17.  We spent some time working on compatibility some months ago, I'm not sure we went as low as gcc 4.9 though.

Oh, good to know :)
I have to update cmake to 3.5 still, but that is much easier than updating the compiler.
Currently with master branch I have to following errors:
src/sfizz/Defaults.h:71:47: error: 'constexpr sfz::Range<Type>::Range(Type, Type) [with Type = int]' called in a constant expression
  constexpr Range<int> bendRange { -8192, 8192 };
                                               ^
src/sfizz/Range.h:40:15: note: 'constexpr sfz::Range<Type>::Range(Type, Type) [with Type = int]' is not usable as a constexpr function because:
     constexpr Range(Type start, Type end) noexcept
               ^
src/sfizz/SfzHelpers.h:202:16: error: invalid return type 'void' of constexpr function 'constexpr void sfz::multiplyByCents(float&, int)'
 constexpr void multiplyByCents(float& base, int modifier)
                ^
src/sfizz/Opcode.h: In function 'absl::optional<bool> sfz::readBooleanFromOpcode(const sfz::Opcode&)':
src/sfizz/Opcode.h:98:20: error: 'constexpr uint64_t hash(absl::string_view, uint64_t)' called in a constant expression
     case hash("off"):
                    ^

The void one is gcc 5 apparently, a bit sad but well. The last one may be because of the absl::string_view object, the first one would be constexpr constructor being disallowed?
I seem to remember a MOD Docker environment, should I use this to try and correct these build errors maybe?

You can do it with the mod-plugin-builder, I added a sfizz plugin package in the sfizz branch.
The docker stuff is only needed in case you are not running Linux.
I am checking which changes we need to do, to get a confirmation that they are okay with you.
I am fine with sending you patches, no worries on that.

You can reproduce this just by setting CMAKE_CXX_STANDARD to 11.
I remember some restrictions on C++11, where constexpr functions can only consist of a single return statement I believe.

Yeah, that is the biggest issue at the moment.
I have to replace a few constexpr functions with inline ones. The hash one is specially nasty.

@falkTX having constexpr hashing for string literals in switch functions is the key thing needed from what you posted. The above string_view overload of the hash function is something I think I added, which probably does not need to be constexpr. If you call hash("string literal") I would guess the constexpr uint64_t hash(const char*, ...) overload would be called? This one should be C++11?

Sorry, checking the source, I realize there is no such overload because the string_view one handles it. Hopefully adding the overload will be enough. If you open a PR with the rest I can work on this part later today if you have no time :slightly_smiling_face:

I am not sure I follow with the method that needs to be overloaded..

None, because constexpr string_view works in C++11. It's not the root of the problem.
It's just needed to make the function have a single return statement, by rewriting hash to use ternary conditionals.

See: https://godbolt.org/z/TtNPHK

that seems to make it go further, but the switch case fails.
so I have this:
constexpr uint64_t hash(absl::string_view s, uint64_t h = Fnv1aBasis)
{
    return s.length() > 0 ? hash( { s.data() + 1, s.length() - 1 }, (h ^ s.front()) * Fnv1aPrime ) : 0;
}

but that fails with:
src/sfizz/Opcode.h: In function 'absl::optional<bool> sfz::readBooleanFromOpcode(const sfz::Opcode&)':
src/sfizz/Opcode.h:100:5: error: duplicate case value
     case hash222("on"):
     ^
src/sfizz/Opcode.h:98:5: error: previously used here
     case hash222("off"):
     ^

You have to put h instead of 0 at the end of the ternary.
We may all be doing the same thing in parallel so I suggest to open a PR and work it out there. Note that it seems the atomic_queue used in the background loader may need work too.

ah yes!
so far I am only seeing how far I can make it build

btw, gcc4 does not have any constexpr on the std math functions, so a lot of stuff has to be use inline instead of constexpr

I made a constexpr min/max using a ternary too, it works out and that should be the only constexpr thing needed for maths (even then it's just a sanity check on the constexpr Range which is not really critical...).

This rule about only a single return statement does not encourage readable code lol, I'm checking out what will be needed in the atomic_queue and it will be ugly :D

The Range constexpr I was able to get around by using this:
    constexpr Range(Type start, Type end) noexcept
        : _start(start)
        , _end(start > end ? start : end)
    {
    }

Ho no..
/home/paul/source/sfizz/src/sfizz/Synth.cpp:88:35: error: use of ‘auto’ in lambda parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’

This will sting xD

These are the changes I made so far.
diff --git a/src/sfizz/Buffer.h b/src/sfizz/Buffer.h
index 757fe9c..e37b634 100644
--- a/src/sfizz/Buffer.h
+++ b/src/sfizz/Buffer.h
@@ -274,9 +274,9 @@ public:
         return counter;
     }
 private:
-    static constexpr auto AlignmentMask { Alignment - 1 };
-    static constexpr auto TypeAlignment { Alignment / sizeof(value_type) };
-    static constexpr auto TypeAlignmentMask { TypeAlignment - 1 };
+    static constexpr auto AlignmentMask = Alignment - 1U;
+    static constexpr auto TypeAlignment = Alignment / sizeof(value_type);
+    static constexpr auto TypeAlignmentMask = TypeAlignment - 1U;
     static_assert(std::is_arithmetic<value_type>::value, "Type should be arithmetic");
     static_assert(Alignment == 0 || Alignment == 4 || Alignment == 8 || Alignment == 16, "Bad alignment value");
     static_assert(TypeAlignment * sizeof(value_type) == Alignment, "The alignment does not appear to be divided by the size of the Type");
diff --git a/src/sfizz/EGDescription.h b/src/sfizz/EGDescription.h
index cc65551..ceba155 100644
--- a/src/sfizz/EGDescription.h
+++ b/src/sfizz/EGDescription.h
@@ -134,9 +134,12 @@ struct EGDescription
      * @param velocity
      * @return float
      */
-    float getStart(const SfzCCArray &ccValues, uint8_t velocity [[maybe_unused]]) const noexcept
+    float getStart(const SfzCCArray &ccValues, uint8_t velocity) const noexcept
     {
         return Default::egPercentRange.clamp(ccSwitchedValue(ccValues, ccStart, start));
+
+        // unused
+        (void)velocity;
     }
     /**
      * @brief Get the sustain level with possibly a CC modifier and a velocity modifier
diff --git a/src/sfizz/MathHelpers.h b/src/sfizz/MathHelpers.h
index aa99bec..60aec45 100644
--- a/src/sfizz/MathHelpers.h
+++ b/src/sfizz/MathHelpers.h
@@ -127,9 +127,7 @@ inline float midiNoteFrequency(const int noteNumber)
 template<class T>
 constexpr T clamp( T v, T lo, T hi )
 {
-    v = std::min(v, hi);
-    v = std::max(v, lo);
-    return v;
+    return std::max(std::min(v, hi), lo);
 }

 template<int Increment = 1, class T>
@@ -152,17 +150,17 @@ constexpr ValueType linearInterpolation(ValueType left, ValueType right, ValueTy
 }

 template <class Type>
-constexpr Type pi { static_cast<Type>(3.141592653589793238462643383279502884) };
+constexpr Type pi() { return static_cast<Type>(3.141592653589793238462643383279502884); };
 template <class Type>
-constexpr Type twoPi { static_cast<Type>(2) * pi<Type> };
+constexpr Type twoPi() { return static_cast<Type>(2) * pi<Type>(); };
 template <class Type>
-constexpr Type piTwo { pi<Type> / static_cast<Type>(2) };
+constexpr Type piTwo() { return pi<Type>() / static_cast<Type>(2); };
 template <class Type>
-constexpr Type piFour { pi<Type> / static_cast<Type>(4) };
+constexpr Type piFour() { return pi<Type>() / static_cast<Type>(4); };
 template <class Type>
-constexpr Type sqrtTwo { static_cast<Type>(1.414213562373095048801688724209698078569671875376948073176) };
+constexpr Type sqrtTwo() { return static_cast<Type>(1.414213562373095048801688724209698078569671875376948073176); };
 template <class Type>
-constexpr Type sqrtTwoInv { static_cast<Type>(0.707106781186547524400844362104849039284835937688474036588) };
+constexpr Type sqrtTwoInv() { return static_cast<Type>(0.707106781186547524400844362104849039284835937688474036588); };

 /**
    @brief A fraction which is parameterized by integer type
diff --git a/src/sfizz/MidiState.h b/src/sfizz/MidiState.h
index afba37c..e48e776 100644
--- a/src/sfizz/MidiState.h
+++ b/src/sfizz/MidiState.h
@@ -134,13 +134,13 @@ private:
      * @brief Stores the note on times.
      *
      */
-	MidiNoteArray<NoteOnTime> noteOnTimes { };
+	MidiNoteArray<NoteOnTime> noteOnTimes;
     /**
      * @brief Stores the velocity of the note ons for currently
      * depressed notes.
      *
      */
-	MidiNoteArray<uint8_t> lastNoteVelocities { };
+	MidiNoteArray<uint8_t> lastNoteVelocities;
     /**
      * @brief Current known values for the CCs.
      *
diff --git a/src/sfizz/Range.h b/src/sfizz/Range.h
index acb88c6..27fec5d 100644
--- a/src/sfizz/Range.h
+++ b/src/sfizz/Range.h
@@ -39,7 +39,7 @@ public:
     // }
     constexpr Range(Type start, Type end) noexcept
         : _start(start)
-        , _end(std::max(start, end))
+        , _end(start > end ? start : end)
     {
     }
     ~Range() = default;
diff --git a/src/sfizz/SIMDHelpers.h b/src/sfizz/SIMDHelpers.h
index f4c5a2d..678a985 100644
--- a/src/sfizz/SIMDHelpers.h
+++ b/src/sfizz/SIMDHelpers.h
@@ -734,7 +734,7 @@ namespace _internals {
         int i = 0;

         for (; i < panSize; ++i)
-            pan[i] = std::cos(i * (piTwo<double> / (panSize - 1)));
+            pan[i] = std::cos(i * (piTwo<double>() / (panSize - 1)));

         for (; i < static_cast<int>(pan.size()); ++i)
             pan[i] = pan[panSize - 1];
diff --git a/src/sfizz/SfzHelpers.h b/src/sfizz/SfzHelpers.h
index 1e590d1..fb8ce05 100644
--- a/src/sfizz/SfzHelpers.h
+++ b/src/sfizz/SfzHelpers.h
@@ -81,7 +81,7 @@ constexpr float normalizePercents(T percentValue)
  * @param bendValue
  * @return constexpr float
  */
-constexpr float normalizeBend(float bendValue)
+inline float normalizeBend(float bendValue)
 {
     return std::min(std::max(bendValue, -8191.0f), 8191.0f) / 8191.0f;
 }
@@ -199,7 +199,7 @@ constexpr void addToBase(T& base, T modifier)
  * @param base
  * @param modifier
  */
-constexpr void multiplyByCents(float& base, int modifier)
+inline void multiplyByCents(float& base, int modifier)
 {
     base *= centsFactor(modifier);
 }
diff --git a/src/sfizz/StringViewHelpers.h b/src/sfizz/StringViewHelpers.h
index 0cc49d3..7e198e8 100644
--- a/src/sfizz/StringViewHelpers.h
+++ b/src/sfizz/StringViewHelpers.h
@@ -61,8 +61,5 @@ constexpr uint64_t Fnv1aPrime = 0x01000193;
  */
 constexpr uint64_t hash(absl::string_view s, uint64_t h = Fnv1aBasis)
 {
-    if (s.length() > 0)
-        return hash( { s.data() + 1, s.length() - 1 }, (h ^ s.front()) * Fnv1aPrime );
-
-    return h;
+    return s.empty() ? h : hash( { s.data() + 1, s.length() - 1 }, (h ^ s.front()) * Fnv1aPrime );
 }
diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp
index 0c3b3f8..cf024a5 100644
--- a/src/sfizz/Synth.cpp
+++ b/src/sfizz/Synth.cpp
@@ -156,7 +156,7 @@ void sfz::Synth::handleControlOpcodes(const std::vector<Opcode>& members)
         const auto backParameter = member.backParameter();
         switch (member.lettersOnlyHash) {
         case hash("Set_cc"):
-            [[fallthrough]];
+            // fall-through
         case hash("set_cc"):
             if (backParameter && Default::ccNumberRange.containsWithEnd(*backParameter)) {
                 const auto ccValue = readOpcode(member.value, Default::ccValueRange).value_or(0);
@@ -164,13 +164,13 @@ void sfz::Synth::handleControlOpcodes(const std::vector<Opcode>& members)
             }
             break;
         case hash("Label_cc"):
-            [[fallthrough]];
+            // fall-through
         case hash("label_cc"):
             if (backParameter && Default::ccNumberRange.containsWithEnd(*backParameter))
                 ccNames.emplace_back(*backParameter, std::string(member.value));
             break;
         case hash("Default_path"):
-            [[fallthrough]];
+            // fall-through
         case hash("default_path"):
             defaultPath = absl::StrReplaceAll(trim(member.value), { { "\\", "/" } });
             DBG("Changing default sample path to " << defaultPath);
@@ -273,7 +273,7 @@ bool sfz::Synth::loadSfzFile(const fs::path& file)
                 region->isStereo = true;

             // TODO: adjust with LFO targets
-            const auto maxOffset { region->offset + region->offsetRandom };
+            const uint maxOffset { region->offset + region->offsetRandom };
             if (!resources.filePool.preloadFile(region->sample, maxOffset))
                 removeCurrentRegion();
         }
@@ -363,7 +363,7 @@ sfz::Voice* sfz::Synth::findFreeVoice() noexcept

 int sfz::Synth::getNumActiveVoices() const noexcept
 {
-    auto activeVoices { 0 };
+    int activeVoices { 0 };
     for (const auto& voice : voices) {
         if (!voice->isFree())
             activeVoices++;
@@ -465,7 +465,7 @@ void sfz::Synth::noteOn(int delay, int noteNumber, uint8_t velocity) noexcept
     noteOnDispatch(delay, noteNumber, velocity);
 }

-void sfz::Synth::noteOff(int delay, int noteNumber, uint8_t velocity [[maybe_unused]]) noexcept
+void sfz::Synth::noteOff(int delay, int noteNumber, uint8_t velocity) noexcept
 {
     ASSERT(noteNumber < 128);
     ASSERT(noteNumber >= 0);
@@ -485,7 +485,10 @@ void sfz::Synth::noteOff(int delay, int noteNumber, uint8_t velocity [[maybe_unu
     for (auto& voice : voices)
         voice->registerNoteOff(delay, noteNumber, replacedVelocity);

-    noteOffDispatch(delay, noteNumber, replacedVelocity);
+    return noteOffDispatch(delay, noteNumber, replacedVelocity);
+
+    // unused
+    (void)velocity;
 }

 void sfz::Synth::noteOffDispatch(int delay, int noteNumber, uint8_t velocity) noexcept

I will stop here since you seem to be doing the same :)
The warnings can be ignored, like unknown [[maybe_unused]] stuff, I just did it locally here so I could better see results.
the atomic_queue::round_up_to_power_of_2 really seems like going to be the biggest pain

Yes we'll need to patch this atomic_queue... Ho well. I'll work on updating all of this. Thanks for the report and the patches!
We might also need a gcc 4.9 CI run to check that we're not introducing problems.

I'll suggest to rather a MOD plugin builder CI, based on the Docker image.

Changes have been merged in #111 and we have a CI check in #112 , so I'm closing this for now. I'll let you open other issues as needed! Thanks.


Endless Level

Summary
We need to implement an obstacle spawner that can spawn obstacles forever or otherwise, procedurally build the level. Bonus points if we can dynamically update the behavior on certain milestones.s

Looks like I forgot to add details to #17 regarding what I changed.
The core of the changes are in the scripts/levels directory, where I created an obstacle spawner system.
Class Diagram
classDiagram
  class Level
  Level : +LevelBoundary boundary
  Level : +BaseObstacleSpawner spawner

  class LevelBoundary
  note for LevelBoundary "This is just an Area2D.\nWe use a custom class so obstacles know\nwhen they enter or exit a level boundary area"

  class BaseObstacleSpawner
  BaseObstacleSpawner : +void start()
  BaseObstacleSpawner : +void spawn_next_obstacle()
  BaseObstacleSpawner : +void place_in_level(BaseObstacle obstacle)

  Level *-- LevelBoundary
  Level *-- BaseObstacleSpawner

  class RepeatObstacleSpawner
  RepeatObstacleSpawner : +PackedScene spawn_element
  RepeatObstacleSpawner : +Marker2D spawn_position
  RepeatObstacleSpawner : +void start()
  RepeatObstacleSpawner : +void spawn_next_obstacle()

  BaseObstacleSpawner <|-- RepeatObstacleSpawner

  note for RepeatObstacleSpawner "This spawner will\nsimply take an obstacle scene\nand spawn it repeatedly\nat the given location"

  class RepeatVerticalScatterSpawner
  RepeatVerticalScatterSpawner : +float scatter_distance

  RepeatObstacleSpawner <|-- RepeatVerticalScatterSpawner

  class ObstacleMonitor
  ObstacleMonitor : +Event onSpawnNext
  ObstacleMonitor : +Event_BaseObstacle onCleanUp
  ObstacleMonitor : +subscribe(BaseObstacle obstacle)

  BaseObstacleSpawner *-- ObstacleMonitor

Obstacle Lifecycle

I believe I already wrote this down somewhere, I am looking for it.


Update the doc for pandas udf on databricks

Update the doc for pandas udf on databricks, since an additional config is required to run Pandas UDF with our plugin on DB.
closes #2024
Signed-off-by: Firestarman<EMAIL_ADDRESS>

ci build is not required i think.

build

@viadea does this match what you had to do?

@viadea does this match what you had to do?

@tgravescs @firestarman  Do you think if we need to specify below parameter if they want to make pandas UDF work? or you prefer we specify this in the UDF doc?
spark.executorEnv.PYTHONPATH /databricks/jars/rapids-4-spark_2.12-0.4.1.jar:/databricks/spark/python
Other than that, it looks good to me. thanks @firestarman for helping explain this.

@viadea I added the cofig in the Databricks doc, since it has specific value for Databricks.

build

@viadea  is it ok for you ? if yes, could you approve it ?

build


⚠ ClamAV has degraded performance

In 90bb766, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 98 ms

Resolved: ClamAV performance has improved in 5bf2098.


onItemDeselect is not triggered when clicking on an already selected item

Describe the bug
onItemDeselect does not trigger
To Reproduce
Check this codesandbox to see an example of the bug.
Steps:

Select an item.
The selected item is marked as selected (yellow background) and its ID is rendered above the Timeline component
Click again on the selected item.

Current behavior
When clicking on an already selected item, onItemDeselect callback is NOT triggered.
Expected behavior
When clicking on an already selected item, I would expect that onItemDeselect callback is triggered.
Library Version
0.26.7
Desktop (please complete the following information):
macOS 10.14.6
Google Chrome v83

I have just noticed that onItemDeselect triggers when clicking outside the event, so maybe this is more a feature request than a bug 🙏


Don't Merge! PR real time test for target branch full build

OPS Build status updates of commit 68a6cec:
:clock10: Full build: the average full build time is 6 min(s) 12 sec(s), this is based on the last 163 build(s) for this repository.
:warning: This is a FULL build due to the 'pr-basebranch' branch had a configuration change, normally no action is required on your part. In the result that you find subsequent builds still performing full builds, please contact your repository admin to manually perform a full build on the 'pr-basebranch' branch. For more detailed info, please click here.

OPS Build status updates of commit 68a6cec:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How do I set deepLink URI with different gradle product flavor?

In old intent-filter way, we could setup different URI hosts through manifestPlaceholders for each product flavor easily, e.g. alpha/beta/production URI host. How to migrate into Navigation <deepLink app:uri="{host}"/> way?

Thanks for reporting this and the feedback!
I'm closing this issue because this forum is for issues with the codelab.
If you have questions about how to do something outside of the codelab scope with Navigation, you can ask them on Stack Overflow using the Stack Overflow Navigation tag.
If you think that this is a problem of the Navigation Component library, please open a bug on the Navigation public issue tracker: https://issuetracker.google.com/issues/new?component=409828&template=1093757
If you still think this is an issue with the codelab, please re-open this issue with the step number and/or location in the code where you encountered this issue.


[SPARK-31127][ML] Implement abstract Selector

What changes were proposed in this pull request?
Implement abstract Selector. Put the common code among ANOVASelector, ChiSqSelector, FValueSelector and VarianceThresholdSelector to Selector.
Why are the changes needed?
code reuse
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests

Test build #120153 has started for PR 27978 at commit 7a15a20.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24867/
Test PASSed.

Test build #120153 has finished for PR 27978 at commit 7a15a20.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
final class FValueSelector @Since(\"3.1.0\") (@Since(\"3.1.0\") override val uid: String) extends

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120153/
Test FAILed.

Test build #120156 has started for PR 27978 at commit 5779708.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24871/
Test PASSed.

Test build #120156 has finished for PR 27978 at commit 5779708.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120156/
Test PASSed.

Test build #120168 has started for PR 27978 at commit 359c92d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24881/
Test PASSed.

Test build #120168 has finished for PR 27978 at commit 359c92d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120168/
Test PASSed.

Test build #120212 has started for PR 27978 at commit ba29708.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24925/
Test PASSed.

Test build #120212 has finished for PR 27978 at commit ba29708.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120212/
Test FAILed.

retest this please

Test build #120214 has started for PR 27978 at commit ba29708.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24927/
Test PASSed.

Test build #120214 has finished for PR 27978 at commit ba29708.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120214/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24932/
Test PASSed.

Test build #120219 has started for PR 27978 at commit ba29708.

Test build #120219 has finished for PR 27978 at commit ba29708.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120219/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25073/
Test PASSed.

Test build #120365 has started for PR 27978 at commit ba29708.

Test build #120365 has finished for PR 27978 at commit ba29708.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120365/
Test FAILed.

retest this please

Test build #120373 has started for PR 27978 at commit ba29708.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25082/
Test PASSed.

Test build #120373 has finished for PR 27978 at commit ba29708.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120373/
Test PASSed.

It seems that you still need to override setters and getters in subclasses, like
override def setNumTopFeatures(value: Int): this.type = super.setNumTopFeatures(value)

It seems that the main benefit is to avoid copying the transfrom part in subclasses, at the cost of adding several abstract classes. So what about just resuing the transfrom function among selection models?

What about this plan?
1, adding a method to select features by SelectionResult in object SelectionTestResult:
private[ml] object SelectionTestResult {
    def select(results: Array[SelectionTestResult], selectorType: String, other params: ...): Array[Int] (or Array[(SelectionTestResult, Int)])
}

2, moving transformation function into object ChiSqSelectorModel, and then reusing it in other classes
    val newSize = selectedFeatures.length
    val func = { vector: Vector =>
      vector match {
        case SparseVector(_, indices, values) =>
          val (newIndices, newValues) = compressSparse(indices, values)
          Vectors.sparse(newSize, newIndices, newValues)
        case DenseVector(values) =>
          Vectors.dense(selectedFeatures.map(values))
        case other =>
          throw new UnsupportedOperationException(
            s"Only sparse and dense vectors are supported but got ${other.getClass}.")
      }
    }

Thanks for the comments. Sorry for the late reply, I got side tracked.

moving transformation function into object ChiSqSelectorModel, and then reusing it in other classes

I prefer not to call ChiSqSelectorModel.transform in ANVASelector and FValueSelector.

In this way, there will be no breaking change

We actually don't have any breaking change. The MiMa Exception is false positive, there is no real binary incompatibility.
In addition  to the transform method, there are also lots of common code in fit method among all these Selectors. I still prefer to make Selector into an abstract class for code reuse. Seems to me this is the right approach. We have similar approach in current code. For example, we have abstract class LSH. Subclasses BucketedRandomProjectionLSH and MinHashLSH implement the abstract method createRawLSHModel and reuse super class transform and fit methods.

@huaxingao  I am neutral on both methods, I am OK with abstract selector if you prefer it. Since I had just make computation in tests and selectors more distributedly, so I think we should also modifiy the abstract selector based on Dataframe.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26604/
Test PASSed.

Test build #121931 has started for PR 27978 at commit b8e242a.

Test build #121931 has finished for PR 27978 at commit b8e242a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/121931/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26623/
Test PASSed.

Test build #121947 has started for PR 27978 at commit b8e242a.

Test build #121947 has finished for PR 27978 at commit b8e242a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/121947/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26649/
Test PASSed.

Test build #121977 has started for PR 27978 at commit e5a19c1.

Test build #121979 has started for PR 27978 at commit 5eabb62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26654/
Test PASSed.

Test build #121979 has finished for PR 27978 at commit 5eabb62.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/121979/
Test FAILed.

Test build #121977 has finished for PR 27978 at commit e5a19c1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/121977/
Test PASSed.

Test build #122075 has started for PR 27978 at commit 363d382.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26750/
Test PASSed.

Test build #122075 has finished for PR 27978 at commit 363d382.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122075/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26763/
Test PASSed.

Test build #122088 has started for PR 27978 at commit 363d382.

Test build #122088 has finished for PR 27978 at commit 363d382.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122088/
Test FAILed.

retest this please

Test build #122094 has started for PR 27978 at commit 363d382.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26768/
Test PASSed.

Test build #122094 has finished for PR 27978 at commit 363d382.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122094/
Test FAILed.

retest this please

Test build #122106 has started for PR 27978 at commit 363d382.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26780/
Test PASSed.

Test build #122106 has finished for PR 27978 at commit 363d382.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122106/
Test FAILed.

retest this please

Test build #122139 has started for PR 27978 at commit 363d382.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26811/
Test PASSed.

Test build #122139 has finished for PR 27978 at commit 363d382.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122139/
Test PASSed.

Merged to master, thanks all

Thanks! @srowen @zhengruifeng


new version that includes disableSuccessMessage

@chemzqm any plans for a new release that includes prettier.disableSuccessMessage config?

Consider send a PR.

What do you mean by PR? It's already implemented. https://github.com/neoclide/coc-prettier/commit/371936211faa9856d9dd252dfbde75e0e9e6573b
Only npm release is missing.

Oh, I forgot.


Remove support AC5 and pre-configured compiler path

Relates to https://github.com/Open-CMSIS-Pack/devtools/issues/1001

Should this also be cleaned?

Yes this can be removed as well, I created this PR for it:
https://github.com/Arm-Debug/devtools-external/pull/625