docs: change the theme

@mariobuikhuizen, I would like to work on the documentation and update the template that is used. my objective are the following :

[x] use the pydata-sphinx-theme (because thats my favorite for sphinx)
[ ] refactor the structure of the documentation to expose the API
[ ] try to pull information from the vuetify API
[ ] use the widgetti logo

This PR is just a demo using pydata-sphinx-theme, is there a chance to see this PR merged if I continue working on it ?

I like the theme and your plans!

requires #240 to move forward

@mariobuikhuizen I'll stop this PR here to avoid a too big scope. what is cover is the following:

adapt deps to use the pydata-sphinx-theme
adapt conf.py accordingly (and remove automatically generated comments that are not there anymore since Sphinx 6)
refactor the toctree to make it conform to pydata-sphinx-theme

work that I will do in the following-up PR: reorder pages to make better use of the theme sidebars

Can you please remove the changes not related to changing the theme?

I scanned the modifications again and I see 2 potential candidates:

drop of requirements.txt (not used anywhere since #240)
drop the extensive comments present in the conf.py when I refactored it to include the pydata-sphinx-theme config.

Which should I remove ?

To be clear, those changes are good to do, but not in the PR called "change the theme".

then the answer is "both of them" 😄  Understood, I'll create other PR for them

Thank you 😄

let's wait for the test completion but normally I'm good to go

One of the advantages of keeping changes as concise as possible is less chance of conflicts. #272 also changes code formatting: https://github.com/widgetti/ipyvuetify/commit/32273a0c0c0d7f24ff5e8e7444f55a2ceeff3dcb#diff-85933aa74a2d66c3e4dcdf7a9ad8397f5a7971080d34ef1108296a7c6b69e7e3R25 , which leads to a conflict here.
Also, I see now that that PR removes master_doc = "index", this is certainly something different than removing comments.

conflict resolved. master-doc is an ignored parameter if there is an "index.rst" next to conf.py. I didn't even realized I removed it.

If I check the build on: https://ipyvuetify--238.org.readthedocs.build/en/238/ I don't see the new theme applied

Thanks!

ok I'll try to be as fast as possible to make the follow-up PR to have a more readable documentation ASAP

What less readable now?

Come to think of it I can also point the stable branch to just before the theme change commit. That will give more time to make your changes.

Production docs are back to the old theme.


Cannot read property 'split' of undefined

Hi,
I'm using hologram for generating style guide and I'm getting an error as title says for files with documentation comments like this:
/*doc
---
title: Alert
name: alert
category: basics
---

*/

What version of Sass Lint are you using? 1.12.1
I find out that issue causes insufficient condition in file lib/groot.js:21, fix is easy:
-if (withFrontMatter.frontmatter !== '') {
+if (typeof withFrontMatter.frontmatter !== 'undefined' && withFrontMatter.frontmatter !== '') {

Can you please fix it? Because due this error those files aren't linted at all.
Thanks.

@JiriSko Any update regarding fix for that?

Unfortunately no update yet, I'm waiting for feedback from a collaborator or owner as contributing guidelines says.

@DanPurdy Can you have a look at this issue, please? It is blocking us from using this tool. It looks like a super sumple fix. Thx.

Same issue for me.
As workaroud has downgrade linter to version 1.10.2 where code that cause exception doesn't exist

This still appears to be an issue?  Wrapping in // sass-lint:disable-all block doesn't appear to help?


V7 consolidated: consolidated PR for new SDK changes

Broken down into multiple PRs:

[x] v7-subscription: https://github.com/ciscospark/spark-js-sdk/pull/513 - merged and closed
[x] v7.1-loadingteams: https://github.com/ciscospark/spark-js-sdk/pull/547 - merged and closed
[x] v7.1-login: https://github.com/ciscospark/spark-js-sdk/pull/548 - - merged and closed
[x] v7.1-autologout: https://github.com/ciscospark/spark-js-sdk/pull/545 - approved
[x] v7.1-contentshare: https://github.com/ciscospark/spark-js-sdk/pull/546 - approved
[x] v7.1-logout: https://github.com/ciscospark/spark-js-sdk/pull/549 - approved
[x] v7.1-textwithimage: https://github.com/ciscospark/spark-js-sdk/pull/550 - approved
[x] v7.1-decryptconvo: https://github.com/ciscospark/spark-js-sdk/pull/558 - approved

can this be closed?

Merged and closed with https://github.com/ciscospark/spark-js-sdk/pull/585


API Store unable to open API Console for a specific API resource

Description:
New swagger UI behavior changes when the swagger definition URL is not encoded properly. Fix is to eliminate this swagger UI resource loading error by encoding the swagger URL that we pass into [1].
[1] https://github.com/wso2/carbon-apimgt/blob/6.x/features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/site/themes/wso2/templates/api/swagger/template.jag#L162
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

PR : https://github.com/wso2/carbon-apimgt/pull/5809


Update composer.json

Laravel 7, 8  Installing of error => https://github.com/Shipu/bkash/issues/8#issue-809135448

The nahid/apiz package has a major change. So, before you make a pull request you will need to test all API things. This is not just about an error in installing the package, this is also a compatibility issue.


Use sql query result from upstream sql task in downstream sql task

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Upstream sql task is somethine like  select query and set the result as output list parameters.
But I can't use it in downstream sql task, eg, insert the result from upstream sql task into a table in downstream sql task.
Use case
I can use the output list parameters from upstream sql task in downstream sql task.
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

how about directly making the upstream task as subquery and combining two sql into one? separate sql result is not a good way which may cause parameter context too large


Delay in card animation

Describe the bug
Here is the preview of the bug when user scoll down to see more content that causes the cards to show up very late. It effects the user experience.
https://user-images.githubusercontent.com/94737463/194902781-dea8dc53-18ca-4432-9b5a-eb93540b4b0e.mp4
Steps to reproduce

Open main page
Search for a book
Scroll down to show up other cards
See the bug

Expected behavior
The cards need to show up quick to make user experience better.
Screenshots
No response
Desktop

OS: Windows
Browser: Chrome
Version: 106.0.5249.91

Smartphones

Device: Poco
OS: MIUI
Browser Chrome
Version 13.0.1

Additional context
No response

I would appreciate if you assigned me to fix this issue.


Error with mlflow.pyfunc flavour

I am getting following error while running kedro with pandas-iris starter -
python_model must be a subclass of PythonModel. Instead, found an object of type: <class 'numpy.ndarray'>
My catalog, looks like -
example_model:   type: kedro_mlflow.io.artifacts.MlflowArtifactDataSet    data_set:     type: kedro_mlflow.io.models.MlflowModelSaverDataSet     flavor: mlflow.pyfunc     pyfunc_workflow: python_model     filepath: data/06_models/example_model

Hi @nitishbharti, sorry to hear you are encountering issues with the plugin.
Identifying the error
According the error message, it seems you are trying to log a numpy array as a model. I suspect you are doing something like this:
# in nodes/train_functions.py
def train_model(hyperparameters):
    ...
    model.fit(data)
    return model, cv_results # you return a tuple here, with the model and a numpy array

# in pipeline.py
def create_pipeline(**kwargs):
    Pipeline(...,
      node(train_model,
            inputs=["hp_grid"],
            outputs=["cv_results", "example_model"] # wrong order: example model refers in reality to the cross validation results which is a numpy array
))

Could you double check what example_model is? The easiest way is to create a debug environment:
# in conf/debug/catalog.py
example_model:
    type: pickle.PickleDataSet
    filepath: data/06_models/example_model.pkl

and to run kedro run --pipeline=<your-pipeline> --env=debug
Then load it in a script/notebook:
PROJECT_PATH=path/to/your/project
boostrap_project(PROJECT_PATH)
witrh KedroSession.create(PROJECT_PATH) as session:
    context=session.load_context(env="debug")
    example_model=context.catalog.load("example_model")
    print(example_model) # what is it?

even easier, launch the kedro jupyter notebook command and directly access the catalog object:
example_model=context.catalog.load("example_model")
print(example_model) # what is it?

What to do in case if the error persists?
If you are absolutely sure the model is a sklearn model and it should work, please provide a minimal reproducible example so that I can investigate further. Something like:
conda create -n bug_pyfunc_flavor python==3.8 -y
conda activate bug_pyfunc_flavor
pip install kedro==<your-version>
pip install kedro-mlflow==<your-version>
kedro new --starter=pandas-iris
cd pandas_iris
pip install -r src/requirements.txt

And then indicate what you have modified.
An example repo I can clone would be even better.
Some more comments
This is a bit off topic, but I have a couple of questions:

why are you using a custom mlflow.pyfunc flavor? I think that if you use the demo tutorial, a simple mlflow.sklearn flavor should work directly.
in case you are interested, kedro-mlflow provides a KedroPipelineModel custom model to log entire kedro pipelines as model, including preprocessing and post processing and all your artifacts (encoder...)

Hi @Galileo-Galilei,
My example model is pandas-iris
nodes.py
"""Example code for the nodes in the example pipeline. This code is meant
just for illustrating basic Kedro features.

Delete this when you start working on your own Kedro project.
"""
# pylint: disable=invalid-name

import logging
from typing import Any, Dict

import numpy as np
import pandas as pd

def train_model_(
    train_x: pd.DataFrame, train_y: pd.DataFrame, parameters: Dict[str, Any]
) -> np.ndarray:
    """Node for training a simple multi-class logistic regression model. The
    number of training iterations as well as the learning rate are taken from
    conf/project/parameters.yml. All of the data as well as the parameters
    will be provided to this function at the time of execution.
    """
    num_iter = parameters["example_num_train_iter"]
    lr = parameters["example_learning_rate"]
    X = train_x.to_numpy()
    Y = train_y.to_numpy()

    # Add bias to the features
    bias = np.ones((X.shape[0], 1))
    X = np.concatenate((bias, X), axis=1)

    weights = []
    # Train one model for each class in Y
    for k in range(Y.shape[1]):
        # Initialise weights
        theta = np.zeros(X.shape[1])
        y = Y[:, k]
        for _ in range(num_iter):
            z = np.dot(X, theta)
            h = _sigmoid(z)
            gradient = np.dot(X.T, (h - y)) / y.size
            theta -= lr * gradient
        # Save the weights for each model
        weights.append(theta)

    # Return a joint multi-class model with weights for all classes
    return np.vstack(weights).transpose()

def predict(model: np.ndarray, test_x: pd.DataFrame) -> np.ndarray:
    """Node for making predictions given a pre-trained model and a test set."""
    X = test_x.to_numpy()

    # Add bias to the features
    bias = np.ones((X.shape[0], 1))
    X = np.concatenate((bias, X), axis=1)

    # Predict "probabilities" for each class
    result = _sigmoid(np.dot(X, model))

    # Return the index of the class with max probability for all samples
    return np.argmax(result, axis=1)

def report_accuracy(predictions: np.ndarray, test_y: pd.DataFrame) -> None:
    """Node for reporting the accuracy of the predictions performed by the
    previous node. Notice that this function has no outputs, except logging.
    """
    # Get true class index
    target = np.argmax(test_y.to_numpy(), axis=1)
    # Calculate accuracy of predictions
    accuracy = np.sum(predictions == target) / target.shape[0]
    # Log the accuracy of the model
    log = logging.getLogger(__name__)
    log.info("Model accuracy on test set: %0.2f%%", accuracy * 100)

def _sigmoid(z):
    """A helper sigmoid function used by the training and the scoring nodes."""
    return 1 / (1 + np.exp(-z))

pipeline.py
just for illustrating basic Kedro features.

Delete this when you start working on your own Kedro project.
"""

from kedro.pipeline import node, pipeline

from .nodes import predict, report_accuracy, train_model

def create_pipeline(**kwargs):
    return pipeline(
        [
            node(
                train_model,
                ["example_train_x", "example_train_y", "parameters"],
                "example_model",
                name="train",
            ),
            node(
                predict,
                dict(model="example_model", test_x="example_test_x"),
                "example_predictions",
                name="predict",
            ),
            node(
                report_accuracy,
                ["example_predictions", "example_test_y"],
                None,
                name="report",
            ),
        ]
    )

catalog.yml
example_iris_data:
    type: pandas.CSVDataSet
    filepath: "data/01_raw_data/iris.csv"

example_train_x:
  type: pandas.CSVDataSet
  filepath: data/05_model_input/example_train_x.csv

example_train_y:
  type: pandas.CSVDataSet
  filepath: data/05_model_input/example_train_y.csv

example_test_x:
  type: pandas.CSVDataSet
  filepath: data/05_model_input/example_test_x.csv

example_test_y:
  type: pandas.CSVDataSet
  filepath: data/05_model_input/example_test_y.csv

example_model:
  type: kedro_mlflow.io.models.MlflowModelLoggerDataSet
  flavor: mlflow.pyfunc
  pyfunc_workflow: python_model

example_predictions:
  type: kedro_mlflow.io.artifacts.MlflowArtifactDataSet
  data_set:
    type: pickle.PickleDataSet
    filepath: data/07_model_output/example_predictions.pkl

example_metrics:
    type: kedro_mlflow.io.metrics.MlflowMetricsDataSet

Error that I am getting
 [ 0.51940546  0.38198792 -1.91295155]
 [ 1.79030469 -1.56338428 -2.09118251]
 [-2.83214266  0.75899371  2.93411353]
 [-1.27816681 -1.78364037  2.94851662]]}).
`python_model` must be a subclass of `PythonModel`. Instead, found an object of type: <class 'numpy.ndarray'>

Yes, so your train_model function clearly returns a numpy array (np.vstack(weights).transpose()), as we already knew according to the error.
What do you expect mlflow to do with it? This is not a model (i.e. it is not a class with a predict method). You can take a look at mlflow documentation to see the list of model flavors which are supported. You should likely use a sklearn model instead.
You can also:

create a custom model but this is complicated and duplicates code with your kedro pipeline, I don't recommend it
use kedro-mlflow kedro mlflow modelify command  to convert the entire pipeline as a model, but I really think that using a default sklearn model is enough for demo purpose.


Unable to create Vulkan instance

Describe the bug
The Filament was crashed with logs below, when we ran it in a Android 8.1.0 device with gpu render:PowerVR Rogue GE8320,vendor:Imagination Technologies,version:OpenGL ES 3.2 build 1.9@4971894
The filament version is : v1.16.1
02-15 14:41:50.885 I/Filament(12037): FEngine (64 bits) created at 0x7d05800000 (threading is enabled)
02-15 14:41:50.886 D/Filament(12037): FEngine resolved backend: Vulkan
02-15 14:41:50.894 E/vulkan  (12037): invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceVersion") call
02-15 14:41:50.903 E/Filament(12037): Panic
02-15 14:41:50.903 E/Filament(12037): in filament::backend::VulkanDriver::VulkanDriver(filament::backend::VulkanPlatform *, const char *const *, uint32_t):229
02-15 14:41:50.903 E/Filament(12037): reason: Unable to create Vulkan instance.

Is Vulkan properly supported on that device? Even if it is, I wouldn’t recommend it over OpenGL. Vulkan 1.0 was added in Android 7 and GL drivers, esp for older GPUs, will be more mature.

Is Vulkan properly supported on that device? Even if it is, I wouldn’t recommend it over OpenGL. Vulkan 1.0 was added in Android 7 and GL drivers, esp for older GPUs, will be more mature.

yes, it is supported. because of opengl driver bugs of PowerVR Rogue series gpu,so we have to try vulkan backend for these device with gpu PowerVR.  please see another bugs reported by me https://github.com/google/filament/issues/5118

The message about vkEnumerateInstanceVersion might be a red herring because vkGetInstanceProcAddr should simply return null on 1.0 devices, which is not an exceptional situation.
I am guessing that your device does not support one of the extensions that we are requesting.  Can you check if your device supports VK_KHR_get_physical_device_properties2?

@prideout yes, the extension VK_KHR_get_physical_device_properties2 is not support. And i removed it ,and run it in the device,got the following crash
02-16 11:26:07.304 E/Filament(29251): Panic
02-16 11:26:07.304 E/Filament(29251): in void filament::backend::VulkanContext::selectPhysicalDevice():36
02-16 11:26:07.304 E/Filament(29251): reason: vkEnumeratePhysicalDevices count error.

Thanks for checking!  We should probably mention this extension in our README, or try to remove the requirement.  However for your device I would recommend OpenGL.  I think this is only the tip of the iceberg.  e.g. your driver seems to be listing 0 physical devices for some reason.

@prideout the problem is that IMG GPUs have very buggy OpenGLES compilers which crash with filament's materials.

I was just thinking about this this morning. I wonder if we could try to use the offline compilers IMG and ARM make available to try and repro some of those bugs. We could even add a --validate mode to matc to make it run every generated shader through IMG's and ARM's offline compilers to try and catch these issues ahead of time maybe?

looks like this is not actionable at this time.


[Bug]: Scoping Opera browser results with hanging out

Steps To Reproduce
While I was working on the different tasks, I saw trouble with scoping Opera Browser
SCOPE_CRIBL_ENABLE=false ldscope opera

Results with not starting the Opera browser.
I quickly kill the original process and try to provide more information from our log:
SCOPE_LOG_LEVEL=debug SCOPE_CRIBL_ENABLE=false ldscope opera

opera.log
Environment
- AppScope: web-1.0.0-update1, commit 7992d6e282b6af0bbb25faba95450663f08025c9
- OS: Ubuntu 20.04.4 LTS
- Architecture: x86_64
- Kernel: 5.10.0-1057
- Opera: 84.0.4316.14

Requested priority
No response
Relevant log output
No response
Update/Follow up:

The main culprit seems to be with _exit wrap.c method since after turning it off we were able to start the Opera web browser
Going more deeply into it after reenabling  _exit  and comment the following part of code:

     if (!atomicCasU64(&reentrancy_guard, 0ULL, 1ULL)) {
         struct timespec ts = {.tv_sec = 0, .tv_nsec = 10000}; // 10 us

         // let the periodic thread finish
         while (!atomicCasU64(&reentrancy_guard, 0ULL, 1ULL)) {
             sigSafeNanosleep(&ts);
         }
     }

results with not hanging out but with the following error:
Illegal instruction
CrashID=8f31a2e0-24eb-44bf-aad5-73fd72220223
CrashID=19c048c1-25c2-4faa-8e1c-7d3822220223

Got to the bottom of this issue. Many of the browsers, all of the Chromium based browsers, create a form of a sandbox from which processes are run. The early implementations used the function prctl() to configure seccomp. In turn, libscope has been interposing prctl() and causing seccomp updates to be ignored. More recent Chromium code is using the seccomp() glibc call to configure its' sandbox. At this point, libscope does not interpose function seccomp().
We could extend the current libscope function such that seccomp settings allow a browser to be scoped when sandbox mode is used. However, that seems not to be the best approach. If we were to pursue this, we should probably make altered seccomp configuration opt in behavior. In other words, a user would need to set an env var to enable seccomp over rides. That seems like a much safer approach.
If an env var would be required in order to scope a browser, why not just start the browser with the --no-sandbox option? The result is the same. At this time we are proposing to close this issue and update docs to describe that in order to scope a browser that uses a sandbox, use the --no-sandbox option.

Just to follow,
I have tested the --no sandbox option with following web browsers: opera, vivaldi, falkon, microsoft-edge, chrome, chromium and brave. All browsers supports the --no-sandbox option and neither of them hangs out after calling with --no-sandbox.
A separate issue regarding HTTP activity in the browser was created in https://github.com/criblio/appscope/issues/814

closing this issue. the work required is defined in #814 and #824.


Searchable to move pgType to configuration and add Drop

Right now in order to specify the definition options we need to specify the pgType:
.Searchable(x => x.MemberId, null, definition => { definition.IsConcurrent = true; })
Which means passing in null just to get to the definition config.
Change this to be:
.Searchable(x => x.MemberId, definition =>
                              {
                                  definition.IsConcurrent = true;
                                  definition.PgType = "...";
                              });

Secondly add the ability to specify that the index should be dropped before being created:
.Searchable(x => x.MemberId, definition =>
                              {
                                  definition.IsConcurrent = true;
                                  definition.DropAndCreate = true
                              });

You can call:
.Duplicate(x => x.MemberId, configuration:def => {

});

I don't think that the DropAndCreate would be necessary with the patching capability. Marten would already generate a DROP INDEX statement if the index has changed.


License issue

I wasn't able to find any information about software license in repository. I suppose it is distributed under MIT license, but it would be nice to have official confirmation, cause it's 'a must' requirement for commercial use by any company.
I can make a PR with appropriate license if needed. (MIT?).

Done!


Fix bug in infrastructure-jobs

Fixes code block so industry dataframe can be joined to series dataframe. The
previous version removed the necessary foreign keys in the industry dataframe.

Fixed in https://github.com/fivethirtyeight/data/commit/8cdc091874671a3320369fdf27b049da34297de7


Hide dart:cli in api docs

This is experimental, and not ready for general consumption, so we shouldn't be advertizing it

Review in https://dart-review.googlesource.com/c/sdk/+/125800


Physical Health UI improvisation

Taking in reference to the mental health and spiritual wellness pages, add a relevant background image and make the UI consistent for the physical health page

Hi, please assign me this issue

I would like to work on this issue under JWOC


[doc] add note for 'parent' command

@by1e11, the parent command returns what is cached in memory. If the device is in a detached state, the mLinkEstablished field will be set to false.


Dissapointment.

I'm not quite sure I understand what the intended use case for this site is. It presents it's self as an AI coding all in one,  prompt to deployment of a full stack app, but instead its just another tool that showcases how quickly LLM's spiral into recursive logic failure . IF you want to create something super simple that does one task that you probably didn't need Bolt.new to make anyway, this is the tool for you. If you want to make something sophisticated and useful and complete, this is not the tool for you, unless you have unlimited funds to burn on tokens to endlessly fix recurring loops of the same exact bug appearing or figuring out where your 500 lines of truncated code went. If you ask for a single thing to be changed such as "change the title from "Super Cool App" to "Cool App""  then expect to see 14 other things changed and many, many lines of code suddenly vanished. This could be promising if it actually did what it purports to do but that is not the case, and if you take just a moment to look at the issues page you will see hundreds of the same exact post being made regarding all of their code being truncated into oblivion or bolt just flat out ignoring instructing and not following the users direction. I have cancelled my 20 dollar subscription and have deleted my account and removed all of my massive pile of broken, uncompleted projects (some of which worked great for 1 or 2 iterations and then quickly descended into unrecoverable truncation hell) Hopefully things follow the same trend as of late and an opensource free local version that does the same thing comes along.

https://github.com/stackblitz/bolt.new/issues/517
https://github.com/stackblitz/bolt.new/issues/516
https://github.com/stackblitz/bolt.new/issues/503
https://github.com/stackblitz/bolt.new/issues/534
https://github.com/stackblitz/bolt.new/issues/525
https://github.com/stackblitz/bolt.new/issues/524
https://github.com/stackblitz/bolt.new/issues/523
https://github.com/stackblitz/bolt.new/issues/501
https://github.com/stackblitz/bolt.new/issues/479
https://github.com/stackblitz/bolt.new/issues/481
https://github.com/stackblitz/bolt.new/issues/473
https://github.com/stackblitz/bolt.new/issues/471
https://github.com/stackblitz/bolt.new/issues/460
https://github.com/stackblitz/bolt.new/issues/445
https://github.com/stackblitz/bolt.new/issues/455
https://github.com/stackblitz/bolt.new/issues/439
https://github.com/stackblitz/bolt.new/issues/436
https://github.com/stackblitz/bolt.new/issues/429
https://github.com/stackblitz/bolt.new/issues/421
https://github.com/stackblitz/bolt.new/issues/419
https://github.com/stackblitz/bolt.new/issues/405
https://github.com/stackblitz/bolt.new/issues/396
https://github.com/stackblitz/bolt.new/issues/382
https://github.com/stackblitz/bolt.new/issues/380
https://github.com/stackblitz/bolt.new/issues/369
https://github.com/stackblitz/bolt.new/issues/360
Just as a sort of reference to my point.
I could go on and on and on..

True.  I have been using this website and i have been fix it's issues all the time.

IDK if it is just me. Every AI tool performs so bad when I actually buy a subscription and try to use it with no limits. They all loose their shit. xD

https://github.com/coleam00/bolt.new-any-llm
https://www.youtube.com/watch?v=3PFcAu_oU80
i found someone who made a fork of this and added local free models to it but you need a little bit of hardware.
im having a little bit of success with not too much hardware though but its free!
3060ti 64gb ddr4 i7 11700

Apologies for the frustrating experience. We working as fast as we can to improve the user experience and find creative ways to improve the AI / LLM performance.
One of the core issues you experienced is being tracked in #24 (as well as some workarounds and tips)

I guess the token usage is not so transparent.  i'm able to do more in 20$
V0 subscription then the 50$ Bolt .new.  I only spend 3 days and 26M tokens
are completed. I ws ony able to make one project 95%.  Can you guys work on
this please.  I learnt how to use it and it has beengood so far.
https://splendid-semifreddo-0bd468.netlify.app
this is the website i build.  how to download the project files so that i
can run it locally and do the modification in local.
On Thu, Oct 17, 2024 at 7:06 AM Alexander Berger @.***>
wrote:

Apologies for the frustrating experience. We working as fast as we can to
improve the user experience and find creative ways to improve the AI / LLM
performance.
One of the core issues you experienced is being tracked in #24
https://github.com/stackblitz/bolt.new/issues/24 (as well as some
workarounds and tips)
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/535#issuecomment-2418115629,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BL7AWUSHXXMRIPJDNWTPLADZ33WQJAVCNFSM6AAAAABP344SB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGEYTKNRSHE
.
You are receiving this because you commented.Message ID: <stackblitz/bolt.
@.***>

@curiousguyinhis30s project files can be found for download in StackBlitz.com > Collections > Bolt


Improvement: Slow/Fast and Custom Value

Some games have characters or backgrounds that move quickly and require quick responses, even if multiple S/L are difficult to pass, so I think Slow is necessary

This is already possible from the menu screen:

You can also set a custom turbo limit in the app settings screen.


Ship source files in NPM package

Right now the npm package only contains the dist directory, with *.js.map files referencing the non-existing ../src/*.ts paths. This causes builders that care about sourcemaps, such as Parcel, to error out with ENOENT while looking for original ts files.
For comparison, react-monaco-editor ships 2 directories: lib (compiled JS + maps) and src, with main in package.json set to lib/index.js.
After manually removing all .map files, the error disappears.

Sourcemaps have been removed as of version 1.4.0. This should solve this particular issue.


Notes

My notes from using mkSpagoDerivation:
Needed in flake.nix:
  nixConfig.sandbox = "relaxed";

Needed in ~/.config/nix.conf
experimental-features = nix-command flakes configurable-impure-env auto-allocate-uids

I would be interested to see your example flake that requires having sandbox set to relaxed. I've not needed that when I've used this in my projects. I also only have  nix-command and flakes enabled as experimental features.
I'm not sure what is causing you to have to add these settings. If we can figure it out, I will update the documentation to make it clearer.

It is totally possible that I did something wrong and didn't really need those settings. I will post here if I figure it out.

Anyway, whatever weird thing I'm doing, mkSpagoDerivation is working perfectly for me, so thank you.

I'm working on this PR, if you're really curious. https://github.com/rowtype-yoga/purescript-protobuf/pull/40

I am starting to use purescript-protobuf in a personal project. It seems like maybe that is where you were getting the sandbox issues - I am also getting them when trying to build protoc-gen-purescript.

I am starting to use purescript-protobuf in a personal project.

Oh I'll finish that PR then. I think I can get it merged today.

@jeslie0  I tagged protobuf v4.5.0 but I can't publish it to the Registry yet. I think you can use v4.5.0 this way: https://github.com/rowtype-yoga/purescript-protobuf/issues/43

Thank you very much, I will try using the upgraded version when I'm back from work.
I know this is the wrong place to ask this, but if you aren't using spago2nix anymore, do you still need the relaxed sandbox option in the flake? Removing that makes it much easier to build the plugin.

if you aren't using spago2nix anymore, do you still need the relaxed sandbox option in the flake? Removing that makes it much easier to build the plugin.

Good question. I just removed the relaxed sandbox and everything still works, so I pushed it to master.

And furthermore I don't seem to need this anymore either.
experimental-features = configurable-impure-env auto-allocate-uids

I don't know what that was about. Maybe I'll find out when I nix-collect-garbage and need to rebuild all this stuff.

Very happy, thank you! I added the new version to my project. Happy to close this issue?

Thank you!


HAGO: An Automated Hardware-Aware Quantization Framework

This PR implements the automated quantization framework described in the RFC. More detail can be found in the paper draft also. We observe that HAGO achieves speedups of 2.09x, 1.97x, and 2.48x on Intel Xeon Cascade Lake CPUs, NVIDIA Tesla T4 GPUs, ARM Cortex-A CPUs on Raspberry Pi4 relative to full precision respectively, while maintaining high post-training quantization accuracy in each case.
Still WIP.
co-authored by: @anijain2305 @hypercubestart
Highlights

Hardware Awareness
Model-Agnostic Graph Transformation
Search-Based Optimization

Results
Accuracy for the MXNet Models

Accuracy for the TensorFlow Models

Accuracy for the PyTorch Models

Performance on x86 CPU

Performance on NVIDIA GPU

Performance on ARM CPU

@ZihengJiang  As this is WIP, is it better to mark this pr as draft pr? when it is ready, we could start to review it.

@FrozenGene Sounds good. Thanks!


Testing infrastructure

This PR adds the basic testing infrastructure for http server end-to-end test.
Specifically, it implements a mock blpapi-node layer that behaves according to instructions. The instructions can be set beforehand or live via ipc channel(a socket.io connection).
For test cases, the routine is to create another node process that host the server(TestHelper.ts has a helper function for this), and let the test cases act as client to hit the server. When the test server boost up, it uses mockery to hijack the dependency to blpapi and substitute it with a mocking layer mock-blpapi.ts.
This PR also adds test cases for request/response (request-response.test.ts) and subscriptions over socket-io ('subscription-socket-io.test.ts').
This is the first bit of issue #18.

Please rebase so that we can get the latest TravisCI results.

rebased against origin/develop

lgtm.  It would be great to get one or two more eyes on this before we clean up and merge.

@yupinghu @thmiceli appreciate one or two eyes on this testing changes.

 ;) Taking a look now.

LGTM. Squash and we'll merge.

Squashed down to 3 intended commits. Rebased against origin/develop


Improving the WorkOrder Cell in mad-dfw

Package / App
MAD DFW
Description
In order to fully utilise the WorkOrder Cell in WO app, we would need additional two fields which should be optional:
State - which returns a string/JSX.Element
Property from filter - which returns a string/JSX.Element/number
Alternatives
No response
Other info
Current custom workorder cell in the app, looks like this:

It would be nice to have something similar that accommodates the extra props.

What is the idea behind the state prop? The filtering prop assumes that the cell is filtered somewhere else in the app that implements it. For any app-specific fields like this, would it be better to maybe provide a additionalProperties prop that takes in a list of property row props that will be added to the bottom of the properties in the cell?

@HaakonSvane I somewhat agree as the status prop that is already implemented covers the state, and that most of the functionality for the propertyfromfilter is made outside of the component so could maybe just do that and add an ´additionalProperties´ that renders one or multiple empty property rows with custom title and value.
These changes was done to mimic the functionality in the workorders app ´PlannedScreen´


llamma.cpp breaking change deprecating GGML in favor of GGUF

Note that the upstream llama.cpp project has now completely deprecated GGML in favor of GGUF [1].
How should the repository and user models adapt to this?
[1] https://github.com/ggerganov/llama.cpp/pull/2398

We're going to be adding the gguf runner very soon. We're going to make the transition such that Ollama can still run both gguf and older ggml formats, this means the transition will not require any action on the user's part.

Cool, thanks!


Download Geist UI Icons

Hello, i am a designer who works with Developers who use Geist UI. How do i download the svg icons so i can use them in Figma?

feathericons


Clearing FCS caches optimization

WIP

Looking at old conversations (e.g. https://github.com/fsprojects/VisualFSharpPowerTools/issues/474), ClearLanguageServiceRootCachesAndCollectAndFinalizeAllTransients was added when we chased memory leaks.
Now we know that it's mostly because of type providers and VFT itself, do you think there is any problem with merging this?

As it's fixed https://github.com/fsprojects/VisualFSharpPowerTools/issues/1037, I think we should merge this. I'll use this version at work and will see whether it's introduced any leaks.

:shipit:


[PR] ⚡ README, License, Dummy Directories

Added

README mostly finished
/data and /server for data and server-side respectively
MIT License

Future

It would be cool to add a husky config which enforces emoji commit messages, I'll look into it
Add multi-OS getting started setup

LGTM!


Initial AVR support in MDD

Currently, the following features are supported for AVR MCUs:

Constants for ATmega16 and ATmega328P
An inner block that only needs to set a platform enumeration in most
cases (other constants are deduced from this one). If the used MCU is
unknown, the calculated constants can be set to produce a working
model.
ADC (all pins using the same reference voltage), read as 8-bit integer
or a float (in order to get full precision). Also includes a user-
friendly block that sets the prescaler to a good value for the given
platform (usually finds a prescaler that sets the frequency to
50~200 kHz).
Digital read/write (single pin)
PWM support on timer1 only (for now), including user-friendly block
Real-time synchronization on timer0-2, including user-friendly block
that can try to deduce the prescaler flags from a desired frequency.
HD44780 LCD support (uses 7 pins from an entire 8-bit port, not
possible to configure pins from separate port). Only supports the
simple mode of displaying 16x2 characters.
Mapping stdin/stdout to the serial port
Example models

Arduino UNO: Blink model (toggles an LED on and off)
Single Board Heater System (SBHS)

"Parameters" as used traditionally in Modelica use constants since it
is important to reduce the size of the model. External objects use
static inline together with pre-evaluated constants and a switch-
statement to remove a lot of dead code.
This is (probably) standard Modelica, but is known to not work in all
Modelica tools.

Most of this is limited to ATmega16 and ATmega328p since these were the
chips available for testing.

To try the Blink example in OpenModelica using the experimental code generator that lacks makefiles...
blink.mos:
loadFile("/home/marsj/dev/Modelica_DeviceDrivers/Modelica_DeviceDrivers/package.mo");getErrorString();
getSourceFile(Modelica_DeviceDrivers);
translateModel(Modelica_DeviceDrivers.EmbeddedTargets.AVR.Examples.Arduino.UNO.Blink, fileNamePrefix="Blink");getErrorString();

omc --simCodeTarget=ExperimentalEmbeddedC blink.mos
avr-gcc -Os -std=c11 -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000UL -Wl,--gc-sections Blink_main.c -o Blink -I ~/dev/Modelica_DeviceDrivers/Modelica_DeviceDrivers/Resources/Include -I ~/OpenModelica/build/include/omc/c
avr-objcopy -O ihex -R .eeprom Blink Blink.hex
avrdude -F -V -c arduino -p ATMEGA328P -P /dev/ttyACM0 -b 115200 -U flash:w:Blink.hex

Amazing!


SNI, enhanced SSL, static name resolver

Quick note, this PR has some overlapped functionality with #480.

SNI

configuration options for http/connection-pool to disable SNI or provide peer host value manually (effectively, emulating openssl client -servername <host>)

server now supports SNI when :sni option is provided with mapping from domain names to appropriate SslContext

Netty's SniHandler (even AbstractSniHandler to be more specific) is implemented in quite liberal fashion: it requires default SslContext to be provided falling back to it when no matching hosts found, when server_name is not provided, when there's an issue with the ClientHello etc... Right now I do the same for Aleph configuration, just throwing IllegalArgumentException when no default context is provided. Ideally, there should be an option to implement strict validation, e.g. reject non-SNI clients.
P.S. It turned out that JDK does the same, silently ignoring SNI matchers when ClientHello has no server_name extension at all.
SSL

extended version of netty/ssl-client-context and netty/ssl-server-context to manage SslContext objects w/o Java interop

ssl-context now can be configured passing a map of options instead of calling a helper or juggling with Java interop, so you can do e.g.

:ssl-context {:private-key <>
              :protocols ["TLSv1.1" "TLSv1.2"]}

client catches SSL handshake exceptions and returns them to the caller instead of silently closing the connection after the timeout

server does not log a full stack trace for failed SSL handshake, just a single line warning

Static Name Resolver
This was actually done mostly to test SNI support but it's still a useful standalone feature. netty/static-resolver-group creates an address resolver group to be used as a param for http/connection-pool that resolves the list of given hosts to given IP addresses, similar to what curl --resolve <mapping> does.

SNI seems to be quite a niche functionality in exchange of such a complexity. Closing PR in favor of #546.


Changing aggressive drain parameters

Proposed changes
Changing aggressive drain parameters
from
deleteLocalData: 'true'

to
deleteLocalData: true
force: true

Types of changes

Bugfix (non-breaking change which fixes an issue)

Linked Issues
rancher/rancher#27111

@westlywright you were that both parameters should be there so I went ahead and made that change.
I spoke with @sowmyav27 and we don't have any documentation pointing out what these values should be. However, the backend hasn't changed the way these are handled so it should've remained the same from 2.3 to 2.4 so it's safe to assume 2.3 is correct.

I'm adding @vincent99 since Wes is out right now.

The way it worked before just had properties the user manipulated and  produced a set of options once at the end when you clicked to execute the action (and also used to set force...), because it was a one-shot modal.
I get that this was refactored to reuse in RKE; but there's now persisted state backing that, which the user might have specifically chosen.  By combining force + deleteLocalData into one aggressive flag you're silently overwriting their choice of deleteLocalData to be equal to force, via aggressive.
That's maybe(?) ok in this case, but should be at least noted because we're talking about permanently deleting data here.  There's also the templating problem of the user could have permission to edit only one of those fields.  So you may just need separate direct controls for these flags in the RKE config case (or conditionally, or refuse to edit as form if in state you don't like).

The whole variables/naming/call sequence of basically
var aggressive = false;
aggressive = force;
// updateAggressive fires. maybe
force = aggressive;
deleteLocalData = aggressive
// but both of those are exactly the same as updateAggressive

// user manipulates aggressive via form
// updateAggressive watches aggressive, updates force and deleteLocalData
// mode watches force and updates displayed label (to the aggressive translation)

seems unnecessarily complicated and circuitous; force is meant to equal aggressive at all times, so why not just have everything watch and edit it?

That's maybe(?) ok in this case, but should be at least noted because we're talking about permanently deleting data here.

Would you like it noted somewhere other than the code?

There's also the templating problem of the user could have permission to edit only one of those fields.  So you may just need separate direct controls for these flags in the RKE config case (or conditionally, or refuse to edit as form if in state you don't like).

The only difference between the old and the new is when that data is being manipulated. I don't think that difference is significant here because data will only change when something is saved or drained. Maybe you mean that someone could inadvertently change the value when editing a cluster and making a mode selection? I can agree with that but to fix this I think we should change the UI to expose the props independently.

seems unnecessarily complicated and circuitous; force is meant to equal aggressive at all times, so why not just have everything watch and edit it?

I prefer explicitly associating the values with aggressive so it doesn't later unintentionally become disassociated with that concept. The only reason it's circular is because the value can be undefined. I could remove that circular part though.

I can agree with that but to fix this I think we should change the UI to expose the props independently.

Yes, that's what I meant by separate direct controls.  I think that's the safest thing to do for the RKE config; a support call where we unexpectedly deleted someone's data because an invisible option in the UI was unknowingly toggled last week sounds bad.

Maybe you mean that someone could inadvertently change the value when editing a cluster and making a mode selection?

That is what I meant, if your cluster has been set (via YAML edit) to force=true, deleteLocalData=false, then as soon as you load this component the model is automatically changed to true/true.  Edit cluster -> save will overwrite their deleteLocalData=false with true.
And if the RKE template the cluster is based on says only one or the other is editable, then something weird happens (presumably they end up being out sync because your request to change a field that's not editable will be ignored on save.)

@vincent99 I split the properties up instead of keeping the modes.


Questions about pash.

Hi, thank you for the efforts put into pash.
I've read the paper and looked at presentations but my knowledge  is still superficial.
I can't find, but maybe have missed, anything about different processes that could be run in parallel; and example would be two unrelated pipeline which could be run concurrently.
I also wonder if pash could take an already, manually, parallelized script and propose changes.
here's a "simple" example of a script that generates multiple files some depending on previously generated files.
https://github.com/nkh/tdiff/blob/main/tree_synch
I could generate the files through an inference engine (make) which would remove the burden of manually parallelizing the process (something I may do as an exercise) but that still relies on dependency knowledge that has to be manually written, my question is: is it possible to analyze the script and list the dependencies, and possibly present a better workflow?

Hello @nkh! PaSh currently parallelizes scripts if it is given annotations for some commands in these scripts. We have written multiple annotations for common commands in POSIX and GNU Coreutils (e.g., tr, sort, etc) but that doesn't work for arbitrary programs (like the perl scripts in your example).
However, we are currently designing an extension of PaSh that can determine dependencies at runtime (without any prior command knowledge) and parallelize based on that. This work could also be later extended to list dependencies and present a better workflow after the script is done executing for the first time. This extension is not yet ready but we have written a short paper on it that might interest you (https://sigops.org/s/conferences/hotos/2023/papers/liargkovas.pdf).

Hi @angelhof , thank you for the answer.
It's a bash script :) but I must be doing something right if I can make it look like perl.
I'll have a look at the paper as it's exactly what I'm talking about  some commands in random order, but with dependencies,  that could be parallelized or commands that are already parallelized, also with dependencies like in the script, but which could be parallelized better.  I don't think the script above could be parallelized better but being able to verify it or see it sequenced differently is interesting.
I started rewriting it in make but it's much more complex to refactor it than to start with make in the first place.
I will gladly read your paper and maybe you can consider generating a makefile for the parallelization is work very well.

I meant that your bash script invokes perl scripts during its execution!

I will gladly read your paper and maybe you can consider generating a makefile for the parallelization is work very well.

That is something that we have considered and might do if we find the time :)
Closing the issue for now, please reopen if you have additional questions.


chore(deps): update to rxjs 5 beta.3

Per the discussion in #664, Beta.2 is missing observable.of which would be moderately annoying if you actually wanted to use the Rx package.
Bumping the Rx version to beta 3 doesn't appear to have any Angular2 side effects outside of much faster build times and less memory consumption

This is part of the beta.10 and beta.11 branches, and will be part of beta.12 once released.


[nit] Property attribute is inconsistent (plural vs singular)

As a disclaimer, I know this issue is very nit-picky, but I thought it could be valuable to bring it up anyway.
The property attribute is inconsistent between different types of vertices. For example, the property for an edge between two reference results is referenceResults, plural. But the property for an edge from a reference result to a definition is simply definition, singular. As per LSIF specification, ReferenceResult looks like this:
export interface ReferenceResult {
  label: 'referenceResult';

  declarations?: (RangeId | lsp.Location)[];

  definitions?: (RangeId | lsp.Location)[];

  references?: (RangeId | lsp.Location)[];

  referenceResults?: ReferenceResultId[];
}

Therefore I would expect the property to be definitions, plural.
This kind of inconsistency happens even within LSIF. For example, the ImplementationResult:
interface ImplementationResult {
  label: 'implementationResult';

  result?: (RangeId | lsp.Location)[];

  implementationResults?: ImplementationResultId[];
}

Both result and implementationResults are array properties that might contain more than one item, but the former is singular and the latter, plural.
It would be less confusing if we kept everything consistent, specially as more languages adopt LSIF. It seems kind of arbitrary whether we use plural or singular for properties.

You are correct. The property attribute should match the property name. Otherwise it gets too confusing. I will change this.

I fixed this by making is constant a plural.


[Fixes #2537 ] Method stores return result in local

Fixes #2537
Motivation
Method stores the return result in a local variable, and then immediately returns the local variable. It would be simpler just to return the value that is assigned to the local variable
Modifications
Made changes to method
located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/tcp/UserAgent.java line 151

@Alonexc I did the changes but the build failed

@sohel-79 these code changes seems more complicated and less readable.


Maildir option not taken into account in postfix

Issue description
After seeing the notice about the deprecation of extraConfig in /nixos/modules/services/mail/postfix.nix, I decided to change my configuration, and spent some time trying to get postfix to still deliver my mail into ~/Maildir.
I was using home_mailbox = Maildir/ before. I don't know what the direction is for the new postfix configuration, but not being able to configure that is a problem.
Technical details

Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
17.09pre111388.00512470ec

Still important to me! No idea who to ping though. Do modules not have maintainers in the same way that packages do?

Err, extraConfig was undeprecated, and my use case was fulfilled already anyway. I guess this should be closed.

Err, extraConfig was undeprecated, and my use case was fulfilled already anyway. I guess this should be closed.

Yep, the change was reverted in https://github.com/NixOS/nixpkgs/pull/28883 way back the day.

No idea who to ping though. Do modules not have maintainers in the same way that packages do?

Normally we ping either

The maintainers of the associated package, or
The last few people to make a substantial change to the package,
but I'm not going to do that since this appears to be long-resolved.


Update one click deploy button that is broken

Button leads to an error on Azure portal.

Updated to correct it.

@FBoucher approve?

@all-contributors please add @ddematheu2 for bug report and code

Congrats @ddematheu2 you are now officially a contributor!
Look! You are in the hall of fame! https://github.com/microsoft/AzUrlShortener#contributors-


Should our colour naming be unopinionated

Some of our colour names are opinionated.
This pull request changes them to be neutral, and also correctly spells fuchsia.

This change could be breaking if any of these Sass variables are being used.

I have read the CONTRIBUTING document.

I don't know if this warrants a breaking release or if this is something we can address as part of the rollout of GOV.UK Frontend instead?
If we do want to change this in Elements there will need to be a corresponding PR for Frontend Toolkit to change the variable definitions themselves and we'll need to release a breaking version of that as well, unless we define both but mark the former as deprecated?
The tests are currently failing because of this – $fuchsia is not actually being defined.

As this PR stands this would definitely be a breaking release, so would need to be backwards compat with deprecation warnings.

@fofr That's a good idea to make the colour naming simpler too.
@nickcolley You're right, this doesn't need to be a breaking change if it the current Sass variables are stay supported.
@36degrees I've confused myself as to how it all hangs together. The changes needs to happen in the frontend toolkit in _palette.scss which is pulled in. The only change to elements would be content.
I'll close this PR.

Suggest 'plum' - easier to spell

@joelanman that's a good idea.
I raised this as an issue #561 to make debate possible (I probably should have done that first).


feat: implement TextUnmarshaler and TextMarshaler

Sorry, I noticed some edge cases, must fix it.

I guess I'm not super familiar with the TextMarshaller interfaces. What is their use case? Seems like this is just piping them to the JSON interfaces. What if the wrapped object implements TextMarshaller in a way that doesn't use JSON? Should we use that implementation instead?

Great point! It should use embedded TextMarshaler if possible.
Fixed that.


Version 5.9.0 has exaggerated proportions in landscape mode

My application has a landscape and portrait screen switching function. After version 5.9.0, when the page is in landscape mode, the proportion is significantly different from the previous version, which becomes very exaggerated. On versions<=5.8.4, it is normal

I seem to be having the same issue. Anything using .sp is far too big after upgrading to 5.9.0 from 5.8.4
Downgrading to 5.8.4 fixed this for me.

Yes, by the way, it should be caused by the use of. sp

this worked for me. (v5.9.0)
    ScreenUtilInit(
      fontSizeResolver: (fontSize, instance) => FontSizeResolvers.radius(fontSize, instance),
      ........

this worked for me. (v5.9.0)
    ScreenUtilInit(
      fontSizeResolver: (fontSize, instance) => FontSizeResolvers.radius(fontSize, instance),
      ........

this should be included in the documentation


DPG replaces existing ServiceVersion values in ClientOptions

The DPG-generated *ClientOptions.ServiceVersion enum only ever has 1 version defined as value 1. This is a problem for CLU since we just shipped a 1.0 GA with V2022_05_01 = 1 and now need to ship a CLU 1.1 beta with V2022_05_15_Preview = 2 (note also that the casing is wrong by default; see #1524).
After a lot of trial and error as well as some offline advice, I found I could work around this for now using [CodeGenSuppressType("ConversationsClientOptions")] and just author the whole thing myself, but since SDKs will often have to support new versions this is something we'll want to handle better, I hope.

CADL supports multiple API version. Considering the current situation:

We'll move to CADL
There are not many swagger-based DPG SDKs

I suggest:

We support multiple API in CADL
Use customization codes for current DPG SDKs

@heaths  @annelo-msft Any thought? Thanks.

I'm hopeful, but skeptical that this won't be a problem before we can use CADL. Cognitive Language Services is already finishing up another preview for which we'll need a beta (plus what we already GA'd) and another preview right around the corner.
I think we at least need the generator to stop generating the ServiceVersion if we define it. Perhaps assume a LatestVersion forcing us to use it, which I think is fine.

We are tracking work on multi-version support with this issue: https://github.com/Azure/autorest.csharp/issues/2362, and plan to address it after our August MVP.

@annelo-msft my concern isn't just about when the feature is supported, but when the services are migrated. We already have the code to avoid generating types and members when they are already defined. Why can't we just use that for the nested ServiceVersion enum as well? Doesn't have to be fancy: if it's defined, just don't define it again. I think it's perfectly reasonable to expect devs to completely take over the enum definition themselves in this case (no such thing as partial enums anyway).

I'm hopeful, but skeptical that this won't be a problem before we can use CADL. Cognitive Language Services is already finishing up another preview for which we'll need a beta (plus what we already GA'd) and another preview right around the corner.
I think we at least need the generator to stop generating the ServiceVersion if we define it. Perhaps assume a LatestVersion forcing us to use it, which I think is fine.

You can write a customized *ClientOptions to define multiple ServiceVersion. Some SDKs are already doing this in HLC, like Azure.Storage.Blobs.

How is that supposed to work with generated DPG clients, though? If you hand-code a client you can do whatever with client options, but if the idea - the goal - is to generate DPG clients as the public API customers should use, I've not been able to define a partial ClientOptions that the DPG client uses without having the ServiceVersion redefined as public.
I'm aware I can define a SeviceVersion enum with multiple values. We do that in just about every SDK and could with HLC/older LLC, but can't with DPG. That's actually why I opened this bug. Because code gen always generates enum ServiceVersion and const ServiceVersion LatestVersion, I can't customize a client options class to overwrite these. That's what I want.

I agree with Heath's perspective; this is a very real need and will be a common scenario as we onboard new DPG libraries and evolve those that we have.   I understand that we may not have a complete end-to-end story around this until after the August MVP, but we do need a viable work-around in the short term.
@archerzz, @AlexanderSher:  I'd appreciate any thoughts that you have.

Just to be clear, I'm not asking for anything fancy. I appreciate a solution may be short lived (by some definition of "short", but still probably months out). We already have code to avoid generating pre-defined types and/or members, so we could utilize that. If one or both of ServiceVersion or LatestVersion is defined, generate neither: force devs to define both and just assume they are there in the generated code. No need to try to add values as the latest integer to ServiceVersion or figure out what that latest version is to define LatetVersion. In C/C++ parlance, assume they are extern definitions and will be defined. If compile issues occur after, that's on the dev to define both if they only defined one. I hope this would be an easy solution as it puts the responsibility on the SDK dev.


Teensy 3.6 support

Hi, I'm building a MIDI controller based on teensy 3.6. Using Opendeck would make my work easier. however, it seems that only teensy 2.0 is supported. are there any plans or workaround to make it work on teensy 3.6?

Hi,
it's not planned at the moment. I am planning on supporting various STM32 development boards later this year, but not Teensy 3+ for now, unfortunately.


Allow :active => :exact for exact matches

If we only want to apply the active class on a perfect match (e.g. recognizing
the difference between /users and /users?all=true, we can specify :active => :exact

@GBH is this a good idea?

+1 This would be a helpful addition.

:+1: merged


PHP identifier restriction on attribute name is spurious

The restriction on attribute names that they should be (start with) a string that would be a valid PHP identifier, is spurious. It's not the way PHP behaves. Get rid of it.
$n = '123';
$$n = 'xyz';
var_dump($$n);
>>> string(3) "xyz"
$o = new StdClass;
$o->$n = 'abd';
var_dump($o);
    >>> class stdClass#1 (1) {
      public $123 =>
      string(3) "abd"
    }

@tom-- should i handle that? Or you'll do that?

i have fixed it. i made the issue so we have a history of why this changed


CLOUD-885 endpoint for returning certificate of cluster

@keyki
Added a new endpoint that returns the certificate of a stack if the caller has the cloudbreak.autoscale scope. Will be used by Periscope.

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1442/


New version: Dreamtonics.SynthesizerVStudioBasicBeta version 1.11.0b2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

???


[Aggregation] Implement DABA Lite Algo and Perf testing

Summary
This PR is built on top of @nikhilsimha's ongoing PR:  #452, since that PR is not merged yet, and this change depends on a lot of the work included there. Supposedly, we can merge this PR to include the work there.
Changes of this PR:

implementing the DABA lite algorithm mentioned in this paper
Performance testing on different conditions (number of events, number of queries, types of aggregation, types of algorithm)
Small lints for code in #452
Incorporated the BufferedIterator suggested by @andrewlee-stripe here

Performance Test Result (measured in millisecond):

Why / Goal

The DABA lite algo promises to provide great performance for in-order sliding window aggregation, especially for streaming scenarios.
(Note: sorting is measured separately, even though both DABA & two stack require data to be in order. This is to present the true cost of these two.)
Test Plan

[x] Added Unit Tests
[x] Covered by existing CI
[ ] Integration tested

Reviewers
@nikhilsimha @hzding621 @andrewlee-stripe

close due to inactivity for 1+ year


crypto/tls: Upgrade draft-ietf-tls-esni-11 to 12

Drops support for the previous draft and adds support for the current
one. This change also includes the ClientHelloInner padding scheme
described in Section 6.1.3.

Rebased.

Rebased and squashed.

Rebased.

Rebased and squashed, waiting on CI.


cadvisor: container_spec_cpu metrics not available

Hi there! I noticed that metrics like container_spec_cpu_quota and container_spec_cpu_period are not provided when installing this helm-chart.
When searching for the issue online I found this: https://github.com/google/cadvisor/issues/3154 maybe it is related? OP said, that cadvisor doesn't construct the listed metrics, if

cpu soft quota is enabled

but I don't know cadvisor well enough to see, whether this is the cause for the issue when using this helm-chart or how I could alter the current behavior. Any idea on your part?

Hi @tim-hilt,
I don't know that much about the internal behaviour of cadvisor. The behaviour seems to be different for different container-specs or kubelet-configs (see https://github.com/google/cadvisor/issues/3154#issuecomment-1463638119). Maybe there's something in your setup which was already mentioned. However, the behaviour is not triggered because you installed it via helm-chart.

Hello @ckotzbauer and thanks for the reply. You're right in that this has to do with where I run the kubelet. In my case this would be on macOS in a kind-cluster. cpuCFSquota is a Linux-feature! That's why I couldn't use it on the Mac. No issue with the helm-chart, but rather with the OS. Closing.


UserWarning('do_sample is set to False. However, temperature is set to 0.9 -- this flag is only used in sample-based generation modes. You should set do_sample=True or unset temperature.'), UserWarning('do_sample is set to False. However, top_p is set to 0.6 -- this flag is only used in sample-based generation modes. You should set do_sample=True or unset top_p.')]

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
from llmtuner import export_model
export_model(dict(
model_name_or_path="NousResearch/Llama-2-7b-chat-hf",
adapter_name_or_path="/content/LLaMA-Factory/saves/LLaMA2-7B-Chat/lora/train_2024-03-13-20-49-08",
finetuning_type="lora",
template="llama2",
export_dir="test_exported",
export_hub_model_id="GSalimp/TesteExport",
))
ValueError: The generation config instance is invalid -- .validate() throws warnings and/or exceptions. Fix these issues to save the configuration.
Thrown during validation:
[UserWarning('do_sample is set to False. However, temperature is set to 0.9 -- this flag is only used in sample-based generation modes. You should set do_sample=True or unset temperature.'), UserWarning('do_sample is set to False. However, top_p is set to 0.6 -- this flag is only used in sample-based generation modes. You should set do_sample=True or unset top_p.')]
Expected behavior
No response
System Info
No response
Others
No response

This is because the generation config is outdated and is incompatible with the current version of transformers.
The solution is to delete the generation_config.json in the model_name_or_path folder.

Adjust the transformer in the environment to the same version as the generation config.

unsetting the temperature and top_p before pushing to the hub as follows worked for me.
model.generation_config.temperature=None
model.generation_config.top_p=None

This is because the generation config is outdated and is incompatible with the current version of transformers. The solution is to delete the generation_config.json in the model_name_or_path folder.

This solution works for me when use the latest transformers.

unsetting the temperature and top_p before pushing to the hub as follows worked for me.
model.generation_config.temperature=None
model.generation_config.top_p=None

Based on the GenerationConfig.validate in transformers.generation.configuration_utils.py, setting
 model.generation_config.temperature=1.0     model.generation_config.top_p=1.0
solves my problem successfully.


[ci] Only run website deploy when push to master branch

To avoid trigger website build when push
to other remote branch. Other branch maybe
refactor and will delete some exists content

hive address hung up :(

https://hive.apache.org/downloads.html  is broken 😿  also as https://hive.apache.org

hive address hung up :(
https://hive.apache.org/downloads.html

I temp ignore it, thanks for your suggestion.

Thanks


Duplicated examples

Actual Behaviour

The first one  is added by @lmccart on 2017/02/27 and the second one is added on this PR #967 on 2021/03/23
Both are ported from the Processing examples page and the code is exactly the same.
The latter was probably unaware of its existence.
Expected Behaviour

Given that new examples will be added in the future, duplicates may be better to remove.

Steps to reproduce it

Please check examples page

Screenshots of the issue

Simulate
Motion

Would you like to work on the issue?

yes

Yes, good catch! These can be removed.

Due to conflicts, I will work on this issue after this PR #1160 will be merged.


FIX DoctrineWriter::updateEntity getter/setter generation

If field has underscore in its name, for example item_id, writer generated setter/getter set/getItem_id(), but in Doctrine we have set/getItemId(). As a result, the field is skipped.
\Doctrine\Common\Util\Inflector::classify($fieldName); resolves this issue.

I am not completely sure about this. Shouldn't we use the naming strategy from doctrine instead?

I don't think so. If I understand correctly, how doctrine generates setters and getters, there is no dependence on naming strategy, referring on \Doctrine\ORM\Tools\EntityGenerator::generateEntityStubMethod

@sagikazarmark The naming strategy translate only the "name" property to the "columnName".

Haven't really checked if naming strategy is actually involved. :+1:


Possible BUG: Validating custom type as query parameter instead of following FastAPI docs for classifying parameters

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[x] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Example
Here's a self-contained, minimal, reproducible, example with my use case:

from typing import Type, TypeVar

from fastapi import FastAPI, Depends
from pydantic import BaseModel

app = FastAPI(title="Example")

# We are bounding T to be any subclass inherited from BaseModel, thus, a pydantic model.
T = TypeVar("T", bound=BaseModel)

class ExampleModel(BaseModel):
    example: str

class ExampleClass:
    # BaseModel just for editor suggestions, model will always be a class
    # inherited from BaseModel, A.K.A a pydantic model
    def __init__(self, model: Type[T]) -> None:
        self.model = model

    async def __call__(self, input: Type[T]):
        return (
            "Hello, this is an example. An 422 should be raised if input "
            "doesn't match the model"
        )

example_dependency = ExampleClass(ExampleModel)

@app.post("/")
async def example_endpoint(payload=Depends(example_dependency)):
    return payload

Description

Call the endpoint / with body { "example": "exampleValue"}.
It returns a 422 error asking for a query parameter called input, because Type[T] is being recognised as a standard python type instead of a Pydantic Model, what it actually is.
I expected it to return the following text: Hello, this is an example. An 422 should be raised if input doesn't match the model.

Environment

OS: Linux Kubuntu
FastAPI Version: 0.65.1
Python version: 3.9.4

Aditional Context
This issue comes from issue #3510, but I though this topic didn't match the title of the mentioned issue and that it deserved its own issue.

Anything yet?


Add Jupyter notebook tutorial

A Jupyter notebook tutorial with a simple example to run the code would be helpful.

An example Jupyter notebook tutorial has been added under examples/. So, closing this issue.


Reflect a bug in Caissa1.14.1

3r3k/7p/2Q5/8/2B2PK1/6P1/4P3/5q2 b - - 98 99
Please forgive me for my poor English. Caissa1.14.1 is very powerful! But there is a bug, the above situation went through Rd8-d4 in the engine league, resulting in one step being killed by the king. I hope to correct it.

Hi. Thanks! Do you have full PGN with the game? Where the game was played?

Actually, nvm. I know what the issue is. After Rd4 Caissa thinks it's a draw, because half-move count is 100. But it's wrong, because there's mate in one. Will fix that!

Fixed in 993063d6bbd3527fa5e86b22801a9a01fe983dcc


[PE-D][Tester E] Feature Improvement: Confirmation stage for Delete Command

The deletion command is implemented well!
However, consider the case in which users are typing very fast. A quick typing speed can increase the likelihood of typos.
Since delete removes an application by using its index, it can take one potential mis-press of another key on the number keys and I might delete the wrong command by accident.
E.g. I want to delete job application 1. However, in my hasteningly fast speed, I pressed 2 instead.
Without a second thought, I click "enter". Job application 2 is gone instead of 1.
It would be great if your application could handle this.

Labels: severity.Low type.FeatureFlaw
original: proto-aiken-13/ped#1

Remarks: Added to DG planned enhancements.


Compatibility with master version of Leaflet

Hello and thanks for this useful plugin.
Right now, in the master version of Leaflet, the sleepNote dissapears after a second or less, any plans to make this work properly?

I'll check it out this week, thanks for the heads up!

@atstp any update on this?

@dmitry it's fixed, thanks for mentioning it!
@pufanalexandru sorry for the wait!


Rename istio chart to riff-istio or istio-riff

Since istio chart is now installed separately it would be better to indicate that it is a riff specific chart, especially since we use riff versioning.
NAME      	REVISION	UPDATED                 	STATUS  	CHART                              	APP VERSION      	NAMESPACE
istio     	1       	Wed Aug 14 14:14:11 2019	DEPLOYED	istio-0.4.0-snapshot               	1.1.13           	istio-system

It previous had that name, because the charts are in the projectriff repository, you install it as projectriff/riff-istio which seemed a bit overkill.
It's also worth pointing out that we use the official Istio charts, the repackaging is to tweak the default values. The appVersion of the chart correctly reflects the Istio version.

Maybe use the istio version for the chart then, like istio-1.1.13
IMO this looks better:
istio     	1       	Wed Aug 14 15:44:16 2019	DEPLOYED	istio-1.1.13          1.1.13           	istio-system

We're using appVersion the way it's indeed to be used. The Istio and riff charts should be versioned together because the configurations and releases are tested and released together.


New version: qBittorrent.qBittorrent version 4.6.4

Created by 🥟 Dumplings in Run #3911.
Microsoft Reviewers: Open in CodeFlow

Resolves #146316


Tilemap corner collision bug

Godot version:
Godot 3.1 Alpha 2
OS/device including version:
Windows 10 x64 1803
Issue description:
I've created an Autotile with the editor, and a map in a test scene with a player KinematicBody2D
When the play approach a corner on the TileMap, it has a weird behavior, it can not go in the corner and it get snap en the edges (see GIF

)
Steps to reproduce:
Open and play.
Minimal reproduction project:
tilemap_bug.zip

The problem here seems that the tileset editor allows to create a concave shape with a convex shape editor.
Apart from that, concave shapes have issues with tilemaps, see #5745

Ok thanks.
So there is nothing I can do for now?

Shouldn't you be able to just use a ConcavePolygonShape2D?

The classic way of making tilesetss used PolygonShape2D, that shape divides the figure into many convex shapes.
I do not know if the new editor allows to use that shape, in my few attempts to modify the tileset only got engine crashes.

Yes i had some crashes too but I don't know how to reproduce them

So how could i modify this convex into concave?
Autotile is broken for now? Or is there any way to modify this?

The new editor does not give options to make other than convex shapes that allow concave figures...
I do not know how to solve it as it is now, you can try making your tiles in the size of the smallest convex shape (in your case, half the current size).
Maybe @MarianoGnu can help a bit more here.

Ran into the same issue yesterday and after hours of trying to get around it, I just retreated to Tiled for now which works great. Can't wait for this to get fixed though. Are there any news yet about a potential fix?

It's in the 3.1 milestone :)

This bug basically makes autotiling unusable as it is unfortunately. Any further informations about this or maybe any leads on how it could be fixed?

I'm currently taking a look at the code. I see if I can figure something out and maybe switch the tile collision code to use CollisionPolygon2Ds instead of Shape2Ds. If you have input let me know. I'll keep you updated.

Ok i just spent a long time trying to figure this out but i'm having a hard time. to me it seems that replacing shapes with collisionpolygons was a pretty bad idea because that would require a lot of rewriting if im not wrong.
It seems like tilesets can already have multiple collision shapes per tile but the tilemap editor can't properly set more than one shape.
I tried to figure out why that would be the case but the tilemap editor is a HUGE class with nearly no comments and the functions are just incredibly long and nested and so it's very hard for me to find the root of the problem. If someone with more insight into this class could take a look that would be amazing.

I implemented a fix for the issue above. The problem is that the close_shape method removes the currently edited collision shape from the collision shapes (line 2162) and if we don't reset the currently edited collision shape when creating a new one this will always delete the previously added shape.
I'm still working on a fix to make multiple shapes selectable in the tile set editor.

Fixes by #26330.

I'm still working on a fix to make multiple shapes selectable in the tile set editor.

Could you open a new bug report for this part?


Implement base rosetta signature schemes

Fixes #35

Time taken: 9 hours

I will create an issue to test all of these - for the sake of time tracking though I'll separate it from this PR.

@mowkoshka This was my eventual plan - I'm just putting everything under an sdk umbrella for now cause it makes development a bit easier, but when the codebase is more built out I'll spend some time feature gating more granularly.


Implement search for pets by name

This PR is a review excercise. Do not merge

User Story: As a user, I want to be able to search for pets by their name on the Spring PetClinic application.
Description:
As a user of the Spring PetClinic application, I want the ability to search for pets by their name so that I can quickly find information about a specific pet without having to navigate through multiple pages.
Acceptance Criteria:
Search Field and Link: A search field should be prominently displayed on the Pets page of the application. Additionally, a search link must be added to the main navigation bar of the application, providing easy access to the search functionality from any page.
Search by Name: Users should be able to enter the name (full or partial) of a pet into the search field and submit the query.
Search Results: Upon submitting the search query, if only one pet matches the search criteria, the application should immediately redirect the user to the pet's page for detailed information. If multiple pets match the search criteria, the application should display a list of pets whose names match the search criteria. The owner's name should be displayed alongside each pet in the search results to provide context and facilitate identification. Clicking on any search result in the list should navigate the user to the pet's page for detailed information.
Clear Search: Users should have the option to clear the search field and reset the list of displayed pets to its original state.
Search Handling: The application should gracefully handle scenarios where no pets match the search criteria and provide appropriate feedback to the user.
Pet Page: The pet page, to which the user is redirected after clicking on a search result or when only one result is found, should include the following information:
Name of the pet
Birth date of the pet
Type of the pet
Owner of the pet, with a link that navigates to the owner's page for detailed information
Links to edit the pet information, directing the user to the existing edit pet page
Link to add a visit for the pet, directing the user to the page for adding a visit
Display all visits associated with the pet, showing details such as visit date, description, and any additional relevant information
Prerequisites:
The user must have access to the Spring PetClinic application.
The user should be familiar with the existing navigation flow of the application, particularly the Pets page.
Additional Information:
This feature aims to enhance the usability of the application by providing users with a convenient way to find specific pets within the clinic's database.
The implementation of this feature should align with the overall design and functionality of the Spring PetClinic application.

@Thibstars Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Accidentally created against this fork, this can be ignored. :)


Raylib text font encapsulation

Resolves #195

Codecov Report

Merging #196 (d8f6a65) into master (4b68d1f) will increase coverage by 0.09%.
The diff coverage is 21.42%.

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
+ Coverage   13.75%   13.85%   +0.09%
==========================================
  Files         151      153       +2
  Lines        2210     2238      +28
  Branches      718      721       +3
==========================================
+ Hits          304      310       +6
- Misses       1758     1780      +22
  Partials      148      148

Impacted Files
Coverage Δ

src/raylib/text/Font.cpp
0.00% <0.00%> (ø)

src/raylib/text/text.cpp
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 4b68d1f...d8f6a65. Read the comment docs.


Track View Load Durations

Hi there
We need to be able to track duration of view load times
When a $locationChangeStart happens the timer is started
Then for each $viewContentLoaded event a call is made with the duration for that view to be loaded
What do you think? Ant

Coverage decreased (-1.3%) to 84.18% when pulling 6b4d30f591fbdb5bfaf000a75e2692cf87453e61 on MrAntix:master into 31f9998c5de1180b5dd7c8ef7f065889e1a023a2 on khaines:master.

Coverage decreased (-1.3%) to 84.18% when pulling 45ea002bc9379cd56a03d55cc5eebaede98fb13f on MrAntix:master into 31f9998c5de1180b5dd7c8ef7f065889e1a023a2 on khaines:master.

Coverage increased (+0.03%) to 85.547% when pulling 49894b70743fe47b6fa347b7b1ac468a9cfd64ae on MrAntix:master into 31f9998c5de1180b5dd7c8ef7f065889e1a023a2 on khaines:master.


shell command "test " cannot differentiate exception and "false" result

sample command: "test -f some_existing_file"
Problem:
in case of exception, this command returns code=1, implying this is NOT a file, which is not the fact.
TestCommand.java
proposal:
in case of exception, can we output the exception together with return code=1?
so that we could retry if "exception" is detected in command line output.

@wanwe Sorry for the late reply. I agree that the current behavior is not ideal.
How about we improve the command to more closely adhere to the POSIX standard, as well as what we find in most common systems today: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
I would suggest that we simply return >1 on errors, and 1 when the file doesn't exist.

@ZacBlanco sounds good !
Thanks,
Wei


Invoking "make f_pkg -j16 -l16" failed

Base path: /home/mtt/ws
Source space: /home/mtt/ws/src
Build space: /home/mtt/ws/build
Devel space: /home/mtt/ws/devel
Install space: /home/mtt/ws/install

Running command: "make cmake_check_build_system" in "/home/mtt/ws/build"

Running command: "make f_pgk -j16 -l16" in "/home/mtt/ws/build"

make: *** No rule to make target 'f_pgk'.  Stop.
Invoking "make f_pgk -j16 -l16" failed
mtt is username. f_pkg is my packs name.
I tried to use catkin_make command. Then I got this fail. Is this an issue? I m so new to ros. sorry if this is a nonsense.

omg i forgot to run roscore first sorry :((


What about huge ram?

I read and understood everything in this article, my older computer had four gigs of RAM and I put the page file at 6144 and 18 432. I built two new machines to do my stuff today, one has sixTeen Gigs of RAM and the other has 32.  According to those numbers my minimum should be a 24576  and max out at 73 728. Show me a note through github and let me know what you think. Because I just don’t know. Thanks Trevor

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

ID: 36b0674a-7bd1-6f30-9e7a-d258ab559138
Version Independent ID: c1d5e93a-42cb-d29d-bb91-9c38d3a8647f
Content: How to determine the appropriate page file size for 64-bit versions of Windows
Content Source: windows/client-management/determine-appropriate-page-file-size.md
Product: w10
Technology: windows
GitHub Login: @Deland-Han
Microsoft Alias: delhan

@Deland-Han : Are you available for commenting on this question, either to clarify or refer to any specific part of the documentation?

I guess I’m asking, do you always follow the equation of physical ram x 1.5? Is there a  point where the largest page file that the computer can utilize efficiently is say “16384”, any larger and the machine would have to work to hard. Losing the processor power required for the larger PF wouldn’t be any more beneficial a gsin than a smaller one

@trevorl3124
The issues section of this repository is intended for documentation and content related issues.
Please open a support ticket via the link below so that that your question gets answered quickly.
Windows 10 Support
Thank you.


eosd -> Segmentation fault: 11  on Mac OS Sierra 10.12.6

Successfully built EOS project.
Then ran built eosd binary - got Segmentation fault: 11 error
No config created.

Switched to Ubuntu 16, built without any errors and ran single node.

I'm getting the same issue on Mac OS Sierra 10.12.6, I'll look into switching to Ubuntu 16.  However, it would be interesting to know the solution to this.

Up and running with Ubuntu

How are you running eosd? I tried and am unable to reproduce issue.

./eosd

Can you delete the data-dir folder and try again?

I managed to get it to run on Mac OS Sierra 10.12.6
I updated xcode and updated the config.ini and pointed genesis-json to the genesis.json file in the build directory

Great. I will close the issue then and reopen if you encounter it again.


Delaunay triangulation

Another intermediate step to the full meshgen module. This contains

The Delaunay triangulator with documentation, test and example.
List.tuples and List.sets that generate n-tuples and sets of order n from a List.
Fixes to the debugger (that is becoming more useful...)
Int/Float/Bool are now capitalized (to look like constructors). Int/Float now accept string arguments to convert a string to an int/float.

Note this is failing; I'll check in on why in a bit...

I've now fixed the build @joshichaitanya3 and @ConduitDan please review.


what is ADMIN command prompt / powershell

it have specific name. learn basics of pc and update in README.md

The name varies of all OS well I don't think you know what is terminal

then don't write readme.me if you cant
On Wed, 12 May 2021 at 17:28, Phantom @.***> wrote:

The name varies of all OS well I don't think you know what is terminal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PHANTOM-14/Snowflake-bot/issues/1#issuecomment-839712653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APRI3KX445L4CO5SPWO7OT3TNJUPXANCNFSM44IIUWOQ
.

Check what you wrote and teaching me get a new brain kid.

Uff you are total new GitHub player. Please learn something from GitHub
docs and YouTube. GitHub
On Wed, 12 May, 2021, 10:40 pm Phantom, @.***> wrote:

Check what you wrote and teaching me get a new brain kid.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PHANTOM-14/Snowflake-bot/issues/1#issuecomment-839948415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APRI3KQF5ALAWP2RYXJWNXLTNKY7JANCNFSM44IIUWOQ
.

Ohh I think you are kid.
Baby learn something and then come in thins zone. After making 1-2 bots
anyone dosen't become pro on GitHub. It need to survive.
On Thu, 13 May, 2021, 6:39 am Tirupatibalaji Dighole, <
@.***> wrote:

Uff you are total new GitHub player. Please learn something from GitHub
docs and YouTube. GitHub
On Wed, 12 May, 2021, 10:40 pm Phantom, @.***> wrote:

Check what you wrote and teaching me get a new brain kid.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PHANTOM-14/Snowflake-bot/issues/1#issuecomment-839948415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APRI3KQF5ALAWP2RYXJWNXLTNKY7JANCNFSM44IIUWOQ
.

Wait I think I am kid and I wrote readme.md to readme.me and I also don't know what is terminal plus what is meant by player get english classes nerd

kid go to school and learn in school.
after 10th grade come in development field
On Thu, 13 May 2021 at 08:01, Phantom @.***> wrote:

Wait I think I am kid and I wrote readme.md to readme.me and I also don't
know what is terminal plus what is meant by player get english classes nerd
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PHANTOM-14/Snowflake-bot/issues/1#issuecomment-840243333,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APRI3KXZPUZKXODAJK7JQF3TNM2XXANCNFSM44IIUWOQ
.

That is enough come in discord


Merging with conflicts causes stashed code

Every time I try to commit after resolving conflicts, if there are checks that fail, I see the following error:
Unable to restore working tree after pre-commit hooks run

Whenever I am merging a branch and resolving conflicts, it would be preferable for these checks to fail and leave my staged source unmolested .

Hey @jclif,
Without more context I can't help you here. I've been able to resolve merge conflicts without losing changes, so the problem is not obviously one with Overcommit, at least from the information you've given.
While it's been a long time since I've heard of anyone running into the error you've described, reports in the past have typically been because of some sort of file watcher you have in the background (e.g. grunt) which makes changes to tracked files when you change other files. Since Overcommit stashes the unstaged changes to your files, runs the pre-commit hooks, and then restores the unstaged changes, if during this process a file watcher detects the change and then modifies another file you might run into this issue since the stash cannot be re-applied.
You can try digging into what is actually failing by running Overcommit in debug mode (as mentioned in our Contribution Guidelines. Thanks!

That's certainly fair. I didn't see any past bugs that seemed to deal with the specific set of situations where I'm seeing this error (I am not running any watcher processes that could potentially change my file system).
One reproducible situation involves adding a newly tracked file that generates a Rubocop offense. This always produces the following type of error:

Can you run your gca comment (I'm assuming that's not doing anything except git commit --amend, correct?) with Overcommit debug mode enabled?
OVERCOMMIT_DEBUG=1 gca

That may help illuminate the problem.

Closing due to lack of response. Feel free to reopen with the additional log output, but it sounds like this will require some investigation on your side in order to properly debug since we can't reproduce this ourselves. Thanks!


Documentation Page should have a search page for webpack-addons / generators

It would be nice if we had a page where people could search prior generators. The page shows the most relevant searches or popular ones.
Needs to be resolved:

Where should this be?

Can we reuse Agnolia logic?

Other questions?

What is webpack addons/generators?

Its a way to scaffold your own webpack config

Do you have a format/list or something? Do you have an example?

https://www.npmjs.com/package/webpack-addons-demo
On Fri, May 18, 2018 at 12:34 PM, Fernando Montoya<EMAIL_ADDRESS>
wrote:

Do you have a format/list or something? Do you have an example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack.js.org/issues/2168#issuecomment-390167265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9etSXNRMZ6YxsVmzfbcKZW485_KRFQks5tzqPHgaJpZM4UENPM
.

We could create a list of it somehow, maybe a static JSON file with some info.
I haven't worked with Algolia but it seems it indexes your documentation, so we would have to create docs for each generator (not sure about it).
I don't know if it is possible to give Algolia a JSON file to be added to its index.


commitlint dependency is redundant for plugin-gitmoji

Hey! I'm new to the whole 'commitlint' thing and was messing around and found possibly redundant dependency.
<EMAIL_ADDRESS>required by commitlint-plugin-gitmoji and' is required by commitlint-config-gitmoji seems to be redundant. Furthermore, even with installed commitlint, it would show an error that says I got the wrong version (required 11, latest 17).
So I got commitlint totally removed and ignored the warning message. And it works as expected! I got installed only @commitlint/cli (which seems to be the only package needed to get commitlint to work, according to official documentation), commitlint-config-gitmoji, and @commitlint/types (for config file).
Don't you find this dependency redundant? Or at least outdated

yes, should remove this peerDependencies.

fixed in  https://github.com/arvinxx/gitmoji-commit-workflow/releases/tag/commitlint-plugin-gitmoji%402.2.1


notify IPC connections of shutdown

When the ziti-edge-tunnel is running as a service receives a request to stop it should notifiy any IPC consumers that it is shutting down. this allows anything monitoring the connection to understand it is stopping gracefully and not unexpectedly

closed with https://github.com/openziti/ziti-tunnel-sdk-c/pull/916


[ALLUXIO-1876] Improve copyToLocal shell efficiency by getting rid of tempFile

https://alluxio.atlassian.net/browse/ALLUXIO-1876
Simply copyToLocal from a 1GB remote file comparison:
With TempFile:
[ec2-user@AlluxioWorker1 alluxio]$ time ./bin/alluxio fs copyToLocal /file.txt file.txt
AlluxioShell milliseconds: 452
Copied /file.txt to file.txt
copyFileToLocal milliseconds: 16974
shell.run milliseconds: 16981
shell.close() milliseconds: 0
It takes 18 seconds to complete the shell...
real	0m17.780s
user	0m6.576s
sys	0m2.320s

Without tempFile:
[ec2-user@AlluxioWorker1 alluxio]$ time ./bin/alluxio fs copyToLocal /file.txt file.txt
AlluxioShell milliseconds: 446
Copied /file.txt to file.txt
copyFileToLocal milliseconds: 8887
shell.run milliseconds: 8893
shell.close() milliseconds: 0
It takes 9 seconds to complete the shell...
real	0m9.663s
user	0m6.524s
sys	0m2.304s

@gpang @yupeng9

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/Alluxio-Pull-Request-Builder/9275/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.MkdirCommandTest.alluxio.shell.command.MkdirCommandTest
Test FAILed.

Jenkins, test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9277/
Test PASSed.

Merged build finished. Test PASSed.

@ifcharming I think the original idea was to ensure that the shell cleaned up any lingering state on failures. Is it possible to do so without the temp file?

@yupeng9 @calvinjia  Thanks for the comments, I think using a temp file makes sense to make the actual dstFile write atomic.
After a closer look into the issue, I found the root cause of tempFile causing slow performance is because:
FileOutputStream.close() takes a long time for tempFile.
More specifically:
createTempFile returns an abstract pathname denoting a newly-created empty file
While OutputStream.Flush:
If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
So writing a 1GB tempFile might not write to the disk yet, until the close() is called.
There are 2 ways to solve this issue:

Call out.getFD().sync() every time the buffer is written to output stream.
Create a real temporary file manually and do not use createTempFile

Does this make sense to you?

I tested the solutions above, both worked and performances are similar. (slighter slower but close to writing to dstFile directly)

Call out.getFD().sync() every time the buffer is written to output stream.

[ec2-user@AlluxioWorker1 alluxio]$ time ./bin/alluxio fs copyToLocal /file.txt file.txt
Copied /file.txt to file.txt
copyFileToLocal milliseconds: 9752

Create a real temporary file manually and do not use createTempFile

[ec2-user@AlluxioWorker1 alluxio]$ time ./bin/alluxio fs copyToLocal /file.txt file.txt
Copied /file.txt to file.txt
copyFileToLocal milliseconds: 9605

Thanks for the investigation. By creating a real temp file, do you mean generated a tmp file name, then use it for FileOutputStream? I think the latter is more consistent with what we're doing for creating temp files in other places.

By creating a real temp file, I mean such temp file dstFile + "copyToLocal" under the same directory. And the temp file will be deleted manually.

@yupeng9 @calvinjia
PR is updated, can you PTAL?

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/Alluxio-Pull-Request-Builder/9282/
Test PASSed.

LGTM. Thanks for the improvement

LGTM