Added option to notify discoveries immediately

This option disables the buffering of broadcast data. Setting this
option will let noble emit a 'discover' event for each broadcast on
linux, instead of only emitting the event for every second broadcast
received.
The BLE sensors we use are only sending a broadcast every other minute, so we don't really want to miss every other reading.
I'm not to fond of the implementation, but this was the only way I could think of that wouldn't break backwards-compability.
I'm more than happy to refactor/rewrite it.

@ecksun checkout this commit: https://github.com/sandeepmistry/noble/commit/ee3a571aa26e39e9c39bcbebe7459710b8c11c0b
There is now an environment var. that can be set to report all advertisements.

Oh, sorry for the late reply.
Yeah, I guess that works.
Does this mean that you decided that the way to configure noble is through environment variables?

@ecksun I'm hesitant to change the current API for Linux only features, so have been exposing them via environment vars for now.
It would be confusing to OS X users trying to use the immediateDiscovery parameter/API you proposed as it would not work for them, but would work on Linux.

Well, even NOBLE_REPORT_ALL_HCI_EVENTS still only does something on linux. As I haven't been able to test anything on OS X I don't know how OS X behaves with non-connectable advertisements. But as you say, the proper fix is to get the type of the advertisement (#145) and use that in the descision.

Yes, agreed, there is a separate section in the read me covering all the Linux specific env vars.
I still need to look at #145, to see if it would help to match OS X's behaviour.


Customize swagger URL?

The view hardcodes /api/v1/swagger_doc as the default Swagger URL.
This doesn't play well with the :accept_version_header Grape option, and there doesn't seem to be a way to set the right URL.
Is there a way to support the :accept_version_header option?

Hi, right now, I have not the time to make this configurable. However you could generate the template and configure the settings directlty: rails generate swagger:layout (erb, haml and slim are supported)

That's great, thank you!


Can't find "enterCredentials.cmd"  and "configure"

The README.html asks us to run some script files that are missing:
"after checking out the project, and before compiling and running it, you need to:
[...]
Enter your client credentials by executing enterCredentials.cmd (or running "chmod +x configure && ./configure" on Unix)"

I'm closing this issue as we're archiving the repository.


Linkedin Auth Example fails on popup validation

Linkedin Auth Example fails on popup validation with https://us-central1-[projectid].cloudfunctions.net/token error 500
How to reproduce these conditions
Sample name or URL where you found the bug
Vanilla install of LinkedIn example script https://acf-framework.firebaseapp.com/
Failing Function code used (including require/import commands at the top)
When a user with the same email address exists in the system popup returns an error on;
ERROR 500 for resource;
https://us-central1-acf-framework.cloudfunctions.net/token?code=[the-code]&state=b756059fb917884aa05eff90d9927f8a47fa4c07&callback=tokenReceived net::ERR_ABORTED
(anonymous) @ popup.html?
Steps to set up and reproduce

Followed these steps here;
https://github.com/firebase/functions-samples/tree/master/linkedin-auth
Sample data pasted or attached as JSON (not an image)
{
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "public"
}
}
Security rules used
{
"rules": {
"linkedInAccessToken": {
"$uid": {
".read": "auth.uid === $uid",
".write": "auth.uid === $uid"
}
}
}
}
Debug output

5:50:17.767 PM
warning
token
Error: The email address is already in use by another account.     at FirebaseAuthError.Error (native)     at FirebaseAuthError.FirebaseError [as constructor] (/user_code/node_modules/firebase-admin/lib/utils/error.js:25:28)     at new FirebaseAuthError (/user_code/node_modules/firebase-admin/lib/utils/error.js:90:23)     at Function.FirebaseAuthError.fromServerError (/user_code/node_modules/firebase-admin/lib/utils/error.js:114:16)     at /user_code/node_modules/firebase-admin/lib/auth/auth-api-request.js:350:45     at process._tickDomainCallback (internal/process/next_tick.js:135:7)
more_vert

5:50:17.765 PM
warning
token
Unhandled rejection

Screenshots
Expected behavior
Should inform the user that email already in use and with what mechanism
Actual behavior
Popup. Blank screen with "Processing...." error in console.

Same thing here ☝


Allow file extension on BUCK files

Bazel allows you to use BUILD.bzl instead of BUILD. This is obviously better for various reasons.
Maybe Buck2 should support BUCK.something in addition to BUCK. BUCK.bzl seems weird. As far as I can tell the Starlark extension is .star so maybe BUCK.star?
A brief search suggests this might be the place to edit.

You can set the config option buildfile.name to a list of whatever names you want. So for example:
[buildfile]
  name = BUCK, BUCK.star

And buck will treat the first match it finds as the build file.
In addition, for any configured name, buck will also accept that name + ".v2" with higher precedence (so in the above example it will accept all of "BUCK.v2", "BUCK", "BUCK.star.v2", "BUCK.star" in that order). This is mostly a mechanism for people migrating from buck1 to buck2 that have the rare need to use a completely separate buckfile for v2 vs v1. I think we've mostly used it for defining new things that are only supported in v2 and don't need a buildfile at all for v1.


tf.contrib.factorization.WALSMatrixFactorization( AttributeError: 'module' object has no attribute 'WALSMatrixFactorization')

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I just run walsmodel through gcloud ml-engine jobs
I run it through my mac terminal, I didn't change any code over here https://github.com/GoogleCloudPlatform/training-data-analyst/tree/master/courses/machine_learning/deepdive/10_recommend/walsmodel
But it always has the following error:
experiment_fn tf.contrib.factorization.WALSMatrixFactorization( AttributeError: 'module' object has no attribute 'WALSMatrixFactorization'
gcloud ml-engine jobs submit training wals_190721_012226 --region=us-east1 --module-name=walsmodel.task --runtime-version 1.14 --python-version 3.5 --package-path=/home/mabodx/anguis/news_recommendation/10_recommend/walsmodel --job-dir=gs://buzzbreak/news_recommendation_2019_07_21T01_18_02Z/ --staging-bucket=gs://buzzbreak --scale-tier=BASIC_GPU --runtime-version= -- --output_dir=gs://buzzbreak/news_recommendation_2019_07_21T01_18_02Z/model_trained_190721_012212 --input_path=gs://buzzbreak/news_recommendation_2019_07_21T01_18_02Z/news/data --num_epochs=500 --nitems=39681 --nusers=38781 --topk=1000
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
https://github.com/GoogleCloudPlatform/training-data-analyst/tree/master/courses/machine_learning/deepdive/10_recommend/walsmodel
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@mabodx Will it be possible to provide the minimal code snippet to reproduce the issue. Thanks!

@gadagashwini  I just use code over here
https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/courses/machine_learning/deepdive/10_recommend/walsmodel/model.py#L25
Never change anything

@mabodx I tried executing the code given in the file model.py but i didn't see any error. Let us know what is the expected behavior. Thanks!

@gadagashwini
I just try to run this
Run on Cloud
In [ ]:
%%bash
gsutil -m cp data/* gs://${BUCKET}/wals/data
In [ ]:
%%bash
OUTDIR=gs://${BUCKET}/wals/model_trained
JOBNAME=wals_$(date -u +%y%m%d_%H%M%S)
echo $OUTDIR $REGION $JOBNAME
gsutil -m rm -rf $OUTDIR
gcloud ml-engine jobs submit training $JOBNAME \
    --region=$REGION \
    --module-name=walsmodel.task \
    --package-path=${PWD}/walsmodel \
    --job-dir=$OUTDIR \
    --staging-bucket=gs://$BUCKET \
    --scale-tier=BASIC_GPU \
    --runtime-version=$TFVERSION \
    -- \
    --output_dir=$OUTDIR \
    --input_path=gs://${BUCKET}/wals/data \
    --num_epochs=10 --nitems=5668 --nusers=82802

I get this code from this notebook in before In[36]
https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/courses/machine_learning/deepdive/10_recommend/wals.ipynb

If you run this from any terminal through command,  you will get the above error (Don't run it through Notebook, because notebook works fine).
I suppose there is some version error with google cloud sdk version(which is different from google notebook)

Apologies for the delay in response.
tf.contrib is deprecated and has moved out of TensorFlow starting 2.X


mac-10 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-10 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

mac-10 is up and running fine, I can login remotely from my end. Mac-10 is out of sync with Salt master, run command "salt-call state.apply" to re-sync with Salt master again.
flutter@flutter-devicelab-mac-10 ~ % uptime
16:06  up 31 mins, 3 users, load averages: 1.51 1.33 1.52


Add some ability to perform offline backup while actually online

Pursuant to discussion in wal-e/wal-e#111.
The desire is to have a command line flag named like --hot-standby or such, which would perform similar actions to the --while-offline flag, but actually allow it to be performed while the service is running.
Ultimately, a better solution would be to refactor to follow some sort of behavior similar to the pg_basebackup command (source here) but that's probably more involved than we want to do for right now.

Closing, should be handled eventually upstream, one hopes.


No autocomplete anymore?

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.14393
Extensions:

Extension
Author (truncated)
Version

scss-lint
ada
0.0.17

vscode-caniuse
aka
0.5.3

TabOut
alb
0.1.4

project-manager
ale
0.19.0

vs-code-css-comments
ash
1.0.3

npm-intellisense
chr
1.3.0

bracket-pair-colorizer
Coe
0.10.8

vscode-eslint
dba
1.2.11

githistory
don
0.2.3

EditorConfig
Edi
0.9.4

vscode-great-icons
emm
2.1.14

prettier-vscode
esb
0.22.1

file-icons
fil
1.0.5

vscode-commandbar
gsp
0.2.14

vscode-settings-cycler
hoo
1.0.1

task-master
ian
0.1.39

search-node-modules
jas
1.1.1

autofilename
Jer
0.1.3

docthis
joe
0.4.7

node-module-intellisense
lei
1.4.0

quicktask
lky
3.0.0

vscode-todo-parser
min
1.9.1

vscode-duplicate
mrm
1.2.0

vscode-scss
mrm
0.6.2

subtle-brackets
raf
2.0.2

vscode-icons
rob
7.12.0

todotasks
san
0.5.0

code-settings-sync
Sha
2.8.2

code-spell-checker
str
1.3.6

react-redux-es6-snippets
tim
2.1.0

babelrc
wad
1.0.0

vscode-todo-highlight
way
0.5.8

vscode-import-cost
wix
2.3.0

change-case
wma
1.0.0

JavaScriptSnippets
xab
1.4.1

html-css-class-completion
Zig
1.8.0

(20 theme extensions excluded)

I'm not sure why but my autocomplete just is not working anymore (just updated to latest version), the "loading" state does not change.

I'm not sure it will help but this is part of my console debug trace.

I tried installing the previous version I used - x32 1.14.2 but it has the same result so it might be a plugin? How can I debug this? I frustrates me quite a lot that I don't get notified when something is updated of the plugins section :(.
Example of what happens when reloading window

Window reloads
Autocomplete works
... magic ... (plugins load?)
Autocomplete stuck on Loading...

I just noticed that this is not the case for .scss files, intellisense works fine there

I've just double checked that it is not an extension that is causing this problem by turning them all off and reloading the window. I'll do a full uninstall tomorrow to see if that solves the issue.

A full uninstall (so vscode and plugins), reboot and install of the latest version 1.15.1 does not solve my issue. There are no error logs in the console anymore 😞 and autocomplete still hangs on "loading".

Does this also reproduce in the latest insiders builds?
If you are still seeing the issue, can you also please try collecting the TypeScript server logs:

Add "typescript.tsserver.log": "verbose" to your user settings and restart VSCode.
Reproduce the error
Back in the TypeScript section of the output panel, look for a TSServer exited message. Right after that message there should now be the path to a log printed. Open that log directory and look in the tsserver.log file

Look the 'completions' request at the end of the file. There should also be printed lists of all files that TS thinks are part of your project. Look through these to see if anything odd stands out.
If you can share the logs I can also take a look

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


What is ionic.project for and who creates it?

Quick question: in my Ionic project I have a file "ionic.project", what is this file for?
Who is maintaining the file or who creates it?
Do I need this file?
It hase the following content:
{
"name": "MyApp",
"app_id": ""
}

I saw that it's documented in the CLI docs.


Closed markets showing incorrect value for outcomes

Not entirely sure what is happening here. Below are 3 examples, but you can find more when browsing closed markets on the app. Have not been able to find any common factor between these markets to cause this.
Market ID: 15
Outcome "yes" should have 0 value, not .944

Market ID: 19
Losing outcome "ADA" should have 0 value, not 1.
Winning outcome "XRP" should have value 1, not .749

Market ID: 1
Losing outcome "Rep" should have 0 value, not 1
Winning outcome "Dem" should have 1 value, no .528

Yo @Boibit, these screenshots are very helpful. Thanks a ton!
I find two issues here:
a. Subsquid recalculates price when someone pulls out liquidity post market resolution
Solution - When market is resolved, set price as constant on subsquid
b. UI seem to be calculating the prices using amount of tokens present in the pool
Solution - Since losing assets are not deleted from the pool since v0.3.6, UI should either set prices manually (on resolution) or directly fetch from subsquid.

Fixed in another issue


some of the LaTeX equations are not rendered correctly

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Expected behavior
The LaTeX equation $(c)$, $(p)$ and $(r)$ should be rendered literally.  Yes, I know that some special character such as _ , \, *   are known to cause trouble if you use them in your LaTeX equations and should be properly escaped. But these 3 command do not contain those special characters and I expect them to be rendered correctly.
Actual behavior
These 3 characters (i.e., c, p and r) inside parentheses will be rendered differently. The actual outcome is confusing(see below)

When you check their under-lining LaTeX equation, you see ©, §  and ®, which is really weird.
Steps to reproduce the behavior

create a post using hexo new post "test_latex"
open the post source, and add $(c)$, $(p)$, $(r)$ to it.
using hexo s -g and see the rendered result in the browser

Hexo Information

version 3.2.2
NexT Information
NexT Version:

[x] Old version

NexT Scheme:

[x] Pisces
Other Information
I have also tested these three LaTeX command using plain mathjax and they are rendered correctly. The source is
<!DOCTYPE html>
<html>
<head>
<title>MathJax TeX Test Page</title>
<!-- Copyright (c) 2010-2017 The MathJax Consortium -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
  });
</script>
<script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

</head>
<body>

<p>
	$(c)$, $(p)$, $(r)$
</p>

</body>
</html>

So I am assuming that these  3 commands are somehow changed before they are processed by the mathjax engine. But I do not know why...

Please, try to reproduce this behavior with any default Hexo theme (light / landscape).
If behavior will same, it's not NexT theme bug; close this issue and create same issue in Hexo repositories: hexo-renderer-marked or hexo root engine will at most best choises.

yes, I think it is not the problem of this theme. I will raise an issue on Hexo project.


[Event Request] codeunit 5988 "Serv-Documents Mgt." - OnBeforeFinalizeDeleteHeader

Hi, would it be possible to get an OnBeforeFinalizeDeleteHeader event in codeunit 5988 (Serv-Documents Mgt.), like this:
    local procedure FinalizeDeleteHeader(var PassedServHeader: Record "Service Header")
    var
        IsHandled: Boolean;
    begin
        // New event begin
        IsHandled := false;
        OnBeforeFinalizeDeleteHeader(PassedServHeader,ServHeader,IsHandled);
        if IsHandled the
            exit;
      // New event end

        with PassedServHeader do begin
            Delete;
            ServITRMgt.DeleteInvoiceSpecFromHeader(ServHeader);
        end;

        ServHeader.DeleteAll();
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeFinalizeDeleteHeader(var PassedServHeader: Record "Service Header"; var ServHeader: Record "Service Header" temporary; var IsHandled: Boolean)
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix Ingress callouts, links, nav, and templating

Small updates to previous Ingress doc rework

Minikube Ingress Task

Fixed callout formatting and broken numbered lists

Ingress Controllers

Removed toc_hide: true
Added overview tag to fit template standards
Added two newly added ingress controllers

Ingress

Deleted Ingress controller section

PTAL Steve. This PR fixes some weird formatting that the shortcodes seem to introduce along with some other small fixes.
/assign @steveperry-53

/approve

/lgtm


[oceanbase] remove mysql connector dependency and add fall back for driver name

Update about MySQL driver.

Remove the mysql-connector-java dependency from oceanbase cdc connector, this makes users be able to choose the driver according to their requirements in the future.
Add a fall back logic for driver class selection, and a startup option like jdbc.driverClassName should be added after other drivers are fully tested.

@whhe Thanks for opening this PR, I think keep a proper driver dependency is important especially for SQL API users. Do we have any reason that we have to remove the driver？ DataStream API user can also exclude the default driver and then use their customer driver.

@whhe Thanks for opening this PR, I think keep a proper driver dependency is important especially for SQL API users. Do we have any reason that we have to remove the driver？ DataStream API user can also exclude the default driver and then use their customer driver.

The reason of this change is that the future versions of OceanBase may require a different version of driver, and the driver may not be compatible with current database servers, so I think it's better to configure the driver by user themselves. Since this is a change in usage, it should be done as soon as possible, otherwise it may affect users who have already applied it in production at the future time.
I'm not sure how other connectors solve this problem, please tell me if you have any suggestion on this.


Incorporate country into place ID

Right now, Place IDs follow this scheme:

{place}, {state} if state is set, where state is the abbreviation like CA. E.g. San Ramon, CA.
{place} if it's a country, e.g. Israel.

Note that neither scheme includes the country code. There are two issues with this:

Risk of international collisions if the same place appears with the same state/province abbreviation in >1 country
Useful information to the user: they may want to know the country in e.g. search

The Place ID is relevant in these places:

URL for the city details page
Header in the city details page
Scorecard title
Search value

When fixing this, we should decide if the Place ID should use abbrevations for the state & and country.
--
We should also revisit how to store states. Right now, we store it as California, CA, which is a little redundant but it is also useful in table view to let you include CA in all the CA values. Should we store the place ID as California, including the URL? If we do that, we need a new attribute like isState. (We already implicitly have isCountry by not setting state at all.)

We should also revisit how to store states.

The new database will have places.type: {city,county,state,country}, so this type of place-specific ID will become viable.


How can I find who changed powershell languagemode and how I can revert it?

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
On my new fresh installed Windows 11, I found powershell is nearly disabled. LanguageMode was set to ConstrainedLanguage and __PSLockdownPolicy set to 4.
$ExecutionContext.SessionState.LanguageMode
ConstrainedLanguage
$Env:__PSLockdownPolicy
4
Two questions:

Where and who can I found set this?
How to revert it back?

Expected behavior
$ExecutionContext.SessionState.LanguageMode show to Fulllanguage and $Env:__PSLockdownPolicy show be null.

Actual behavior
LanguageMode was set to ConstrainedLanguage and __PSLockdownPolicy set to 4.
Most scripts can't run.

Error details
$ExecutionContext.SessionState.LanguageMode="FullLanguage"
InvalidOperation: Cannot set property. Property setting is supported only on core types in this language mode.

Environment data
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

I found that the env $Env:__PSLockdownPolicy (value 4) was added by company group policy. Remove that get it works.
Thanks.


Include timestamp and uploader as part of file name

Including the timestamp and uploader (channel name) in name of the file makes it easier to find the required video easily.

In my optinion its better to allow user to specify the filename format himself - YoutubeDL library allows that. I've created a pull request #8 where you can specify output template that gets passed to youtube-dl.
Example use would be:
/usr/local/bin/youtube-dl-subscriptions --opml-file /home/user/.ytsubs.xml --last-file /home/user/.ytdls-last --output "/home/user/yt/%(title)s-%(id)s.%(ext)s"


Create pyproject.toml

Here is the standard metadata for automating the instructions in the readme, with the following exception: Doesn't use --editable. In other words pip install OlcbChecker would make a copy of the PythonOlcbNode modules in site-packages since that is listed as a requirement of OlcbChecker. Therefore this is not applicable to our use (as devs of modules, as opposed to devs of downstream code) since we want to use --editable install.

Thanks!


Proxy for localhost is impossible to turn off

Describe the bug
When proxy is configured via env such as
NO_PROXY=<IP_ADDRESS>,localhost,<IP_ADDRESS>/8,<IP_ADDRESS>/16
ALL_PROXY=socks5h://<IP_ADDRESS>:1080

aichat tries to connect to ollama on localhost via proxy, and fails.
Even if client is configured with proxy: null it still tries to connect via proxy and fails.
So it will be nice if proxy would be configurable to be not used for some client or for localhost (and intranet, perhaps).
Screenshots/Logs
$ aichat -m ollama:codellama:code
Welcome to aichat 0.24.0
Type ".help" for additional help.
> qwe
Error: Failed to call chat-completions api

Caused by:
    error sending request for url (http://localhost:11434/v1/chat/completions)

>

Environment (please complete the following information):

os version: ALT Linux
aichat version: 0.24.0

Where are you getting NO_PROXY from? This is not defined anywhere.
Just set it to nothing or a -.
https://github.com/sigoden/aichat/blob/6f60ad47535b75064a79331c22758d86e6e46d4f/src/utils/mod.rs#L214-L226

Proxy configuration is not highly standardized. But obviously localhost should not be proxied, as this will quickly make global (per user) proxy support via env unusable. NO_PROXY is supported by curl.
Yes I saw that code and tried '-' but it didn't work.
My config:
- type: openai-compatible
  name: ollama
  api_base: http://localhost:11434/v1
  proxy: '-'
  models:
    - name: codellama:code

$ aichat -m ollama:codellama:code hello
Error: Failed to call chat-completions api

Caused by:
    error sending request for url (http://localhost:11434/v1/chat/completions)
$ unset ALL_PROXY HTTP_PROXY HTTPS_PROXY
$ aichat -m ollama:codellama:code hello
World(String)....

Also, it seems reqwest supports NO_PROXY: https://github.com/seanmonstar/reqwest/blob/master/src/proxy.rs#L452
So this isn't like unheard of.

@vt-alt
#1015 solved the problem.
But in aichat v0.24.0, you can use extra.proxy: '-' to make it work.
- type: openai-compatible
  name: ollama
  api_base: http://localhost:11434/v1
  extra:
    proxy: '-'

Thank you! And excuse me for missing extra.


Use Local Web Fonts

Feature Name
Replace Google Font with local web font
Summary description
There's a call to some Google Web Fonts in the source code. Any such calls should be removed and a local web font added to the storefront/admin/etc.
Rationale for why this feature is necessary
Google Fonts cause cross-origin requests which are unnecessary as their CDN isn't allowed in some countries due to privacy regulations or privacy-respecting browsers. Furthermore, loading fonts from Google or any third-party can lead to a poor experience and, in the wost cases, failure to display the page depending on how font fallbacks are set-up.
Expected use cases
Users in China. Users in other countries which block Google. Users with privacy-respecting browsers like Ungoogled Chromium. Users who don't want to wait for DNS to warm up and expect fonts to load quickly from the same domain the site is hosted on.

On second thought, users can do this themselves. The storefront is incredibly fast and using Google Fonts will allow users to get up and running more quickly. Closing.

Moving over the default font would be a really quick fix, I'd be open to that idea.

If I end up doing this locally, I'll loop back and sub a pull.

I've decided to use v3.1.0 for now while I wait for the next release. Here's how I addd locally-hosted webfonts without getting clever:
Create a file called WebFonts.js under /src/custom/components with the following contents:
import React, { Fragment } from "react";

const WebFonts = () => (
  <Fragment>
    <style global jsx>{`
      @font-face {
        font-family: "Source Sans Pro";
        font-style: normal;
        font-stretch: normal;
        font-weight: 400;
        font-display: fallback;
        src: local("SourceSansPro Regular"), local("SourceSansPro-Regular"),
          url(/static/fonts/SourceSansPro-Regular.woff2) format("woff2");
        unicode-range: U+0100-024f, U+1-1eff, U+20a0-20ab, U+20ad-20cf, U+2c60-2c7f,
          U+A720-A7FF;
      }
      @font-face {
        font-family: "Source Sans Pro";
        font-style: normal;
        font-weight: 600;
        font-display: fallback;
        src: local("SourceSansPro SemiBold"), local("SourceSansPro-SemiBold"),
          url(/static/fonts/SourceSansPro-SemiBold.woff2) format("woff2");
        unicode-range: U+0100-024f, U+1-1eff, U+20a0-20ab, U+20ad-20cf, U+2c60-2c7f,
          U+A720-A7FF;
      }
      @font-face {
        font-family: "Source Sans Pro";
        font-style: normal;
        font-weight: 700;
        font-display: fallback;
        src: local("SourceSansPro SemiBold"), local("SourceSansPro-SemiBold"),
          url(/static/fonts/SourceSansPro-Bold.woff2) format("woff2");
        unicode-range: U+0100-024f, U+1-1eff, U+20a0-20ab, U+20ad-20cf, U+2c60-2c7f,
          U+A720-A7FF;
      }
    `}</style>
  </Fragment>
);

export default WebFonts;

Added the related font files to static/fonts directory after creating it. Then simply import the WebFonts component into the _document.js file and drop-in <WebFonts/> in the <Head> section. Note I did try do initially create a pattern similar to favicons.js with the following contents:
const fonts = [
  {
    family: "Source Sans Pro",
    weight: "400",
    display: "fallback",
    url: "/static/fonts/SourceSansPro-Regular.woff2"
  },
  {
    family: "Source Sans Pro",
    weight: "600",
    display: "fallback",
    url: "/static/fonts/SourceSansPro-SemiBold.woff2"
  },
  {
    family: "Source Sans Pro",
    weight: "700",
    display: "fallback",
    url: "/static/fonts/SourceSansPro-Bold.woff2"
  }
];

export default fonts;

But the NextJS <style global jsx> does not allow for interpolation so I ended up just doing things the simple way as shown above. Once the next version fo the storefront is released and any showstoppers are resolved I'll loop back and sub that pull I mentioned earlier — but as of now I cannot use trunk due to performance and analytics blockers.

Example Storefront v3.1.0 Lighthouse score on Production Deployment before above Web Font change:

Lighthouse score on Production Deployment after above Web Font change:

YMMV. I'm reopening this as regardless of what I do it's still important for usability to load fonts locally.


Implement Privacy Policy Page Design

The Privacy Policy Page was redesigned and i implemented the page design as well as responsive desktop and mobile view of the page


Support programmatic reset

Purpose
As a developer I want to 'reset' the pane layout.
Proposal
Expose a method reset via useImperativeHandle.
Acceptance criteria

[x] As a developer I can call a reset method via a React ref to the Allotment component

Closed by #69


Non-directives incorrectly recognized as directives

The following code:
#define x
x#define y z
y

Should expand to:
#define y z
y

But instead chibicc expands it to:
z

Rationale: ISO/IEC 9899:1999 6.10:

A preprocessing directive consists of a sequence of preprocessing tokens that satisfies the
following constraints: The first token in the sequence is a # preprocessing token that (at
the start of translation phase 4) is either the first character in the source file (optionally
after white space containing no new-line characters) or that follows white space
containing at least one new-line character.

The first token in the sequence is a # preprocessing token ... that follows white space
containing at least one new-line character.

x is not white space. Maybe you are assuming x is expanded. It is not. The second line x#define y z is not a preprocessing directive.
Rationale:  [ISO/IEC 9899:2017, 6.10, §8]

the sequence of preprocessing tokens on the second line is not a preprocessing directive, because it does not begin with a # at the start of translation phase 4, even though it will do so after the macro EMPTY has been replaced.

Wording of the issue title "non-directives" is possibly misleading.
[ISO/IEC 9899:2017, 6.10, §11n174]

Despite the name, a non-directive is a preprocessing directive.


Metrics redesign: defining metric metadata

High Level Goals
To be able to define metric metadata for consumption by metrics collection systems, or human-readable outputs, in the style of Prometheus HELP text.
Notes
This one could go a few ways, but just to spitball...
An obvious choice, and a forwards-compatible one, is to introduce new macros for defining this metadata.  This leaves everything else untouched.  This would be coupled with a new trait that defines the metadata specification interface.
This could exist potentially as a separate method to "install" the metadata handler, although I wonder if there's a way to allow progressive enhancement through metrics::set_recorder such that it could take a basic recorder or also a metadata-capable recorder.
Either way, this would imply that there needs to be some out-of-band storage that is hooked up and usable when actual metric recording happens, or whenever exporters/observers need to flush.  That part is bit unclear to me, although it becomes much of an issue if we eliminate exporters/observers as a first-class citizen, per the master issue.

The way I'm currently approaching this is to update the Recorder trait, which will now take an Option<&'static str> for the description when registering a metric.
This, coupled with some new macros for registering metrics, will end up letting you do something like...
// No description.
register_counter!("packets_sent");
// With description.
register_counter!("packets_sent", "total count of packets sent");
// Also with labels! Both ways!
register_counter!("packets_sent", "system" => "foo");
register_counter!(
    "packets_sent", "total count of packets sent", "system" => "foo"
);

We added this in the refactor work, but as mentioned in the original description: it's entirely up to the recorder implementation to do something with it.  The Prometheus exporter in the refactor work will store these and emit them when emitting a scrape request.