Query builder uses wrong decimal delimiter

Hi, I am using Searchable in my model and I specified these columns:
    protected $searchableColumns = [
        'translations.title' => 10,
        'variants.sku' => 20,

    ];

However as it calculates the relevance as 7.5 it uses comma as delimiter instead of a dot.
We are using comma in our country, so the server config is set to this value, however I think the Query Builder should make sure to use the dot no matter how the system is set.
The query looks like this:
select count(*) as aggregate from (select `items`.*, max(case when `item_translations`.`title` = stul then 150 else 0 end + case when `item_translations`.`title` like stul% then 50 else 0 end + case when `item_translations`.`title` like %stul% then 10 else 0 end + case when `item_variants`.`sku` = stul then 300 else 0 end + case when `item_variants`.`sku` like stul% then 100 else 0 end + case when `item_variants`.`sku` like %stul% then 20 else 0 end) as relevance from `items` left join `item_translations` on `item_translations`.`item_id` = `items`.`id` left join `item_variants` on `item_variants`.`item_id` = `items`.`id` where (`item_translations`.`title` like %stul% or `item_variants`.`sku` like %stul%) group by `items`.`id`) as `items` where `relevance` >= 7,5)

Also I am not sure how it handles the queries, for example when I search for "stul a kleste" it produces
...
`item_translations`.`title` = stul a kleste then 150 else 0
...

I think there should be quotation marks around it to make it more query safe, or is MySQL clever enough to figure it out for each example?
I am not exactly sure if it's a problem in your package, or in Laravel's QueryBuilder though, didn't go through the code to find out how it makes the queries.
Thank you.

1 comma vs. dot should be handled on your server
2 it is escaped by PDO, the query simply looks like this for readability (it's the way Laravel shows it).


Make more things work out of the box

Made some more inline things configurable right from the Ghost admin panel, so that theme would be customized for specific Ghost blog out of the box, and edits are now required only for advanced customizations.

Ideally I'd want to populate social buttons from navigation as well, but Ghost doesn't provide string manipulation and comparison helpers :disappointed:

Amazing PR!
The theme have inline elements because these element are more old that the Ghost admin panel API 😅.

About social links, we can create a variable to specify the social networks as:
var social = {
  twitter: {
    url: 'http://twitter.com/kikobeats',
    title: '@Kikobeats on Twitter'
  },

  linkedin: {
    url: 'http://linkedin.com/in/kikobeats',
    title: 'Kikobeats on LinkedIn'
  }
}

and create the HTML scaffold based in a handlebars loop. What do you think?

One thing I want to do for a while but I do not get it is decouple the background for the theme. Because the background have a CSS filter, the only way to do it is declaring it inline reading the background from the filesystem:
  background: linear-gradient(150deg, $cover-secondary 30%, $cover-primary 70%)
  0 0/cover fixed,url(/assets/img/cover.jpg) center/cover no-repeat fixed;

Can you think of any clear way to do this using the background declared in the  administration panel?

Re: subtitle and social links - I'd prefer not to use JavaScript as replacement for static HTML - this hurts both SEO and page loading time (inline scripts are expensive for HTML parser). I rather hope we will see the day when themes would be able to have custom configurations in admin panel, but for now prefer to leave those as-is.

Can you think of any clear way to do this using the background declared in the administration panel?

By background you mean "cover image" in admin panel?

Yes. The problem is the CSS rule for apply the linear gradient must be declared with the url of the cover image...

Yeah, that should be easy to do.

@RReverser about social links a subtitle:

Subtitle: The purpose of the subtitle is have a simple way to resume the bio in one sentence and show it in the mobile/tablet version instead of the bio. If is SEO friendly better, but I feel that remove it is worst than be a SEO friendly.

Social links: I think that a loop in handlebars, that means that will be render from the server side doesn't affect to SEO.

If is SEO friendly better, but I feel that remove it is worst than be a SEO friendly.

Of course, I don't want to remove it, just made it empty by default so that random blog owner wouldn't get "Software Engineer" and could easily change it to own one when needed.

Social links: I think that a loop in handlebars, that means that will be render from the server side doesn't affect to SEO.

If you want to use JavaScript variables - they are inserted on client side, so rendering will be done there too.

@RReverser I understand your point of view now! :-)

@Kikobeats Cool, glad that we are on the same page! Anything else to fix before merge?

not really :)
If you think that is easy resolve the problem of the cover image open a new PR please, I'm going to put a little of JS around the mobile version before release this in the next version.

available now in 2.3.4 tag :-)

Cool!
As for background - could you please explain why layered background (with gradient as first one) is required there if second one is anyway JPEG which doesn't have any transparency and thus covers it completely? I'm probably missing something.

@Kikobeats If you answer the last question, I'll be able to figure out the best way to integrate it :)

Yeah, sorry, I was a little busy this weekend.
The point now is that in one hand we are going to redesign the
mobike/tablet version, and on the other hand we need to reduce the friction
between the theme and the setup from the user.
About the last, one goal to do is setup the theme background based in the
cover image from the admin panel.
The theme background have a lineal gradient effect (check the piece of code
'background-filter in mixing.scss).
I was doing experimenting, sharing the ghost handlebars cover background as
javascript variable and putting js code to setup the gradient effect from
the JS instead of the SCSS mixin but I felt a loading delay between the
HTML renderization and the JS loading.
The current code based in a SCSS mixin is effective but this add a too much
friction between the setup process of the theme and the final user (because
you need to setup the background image from the file system)
On Sunday, August 16, 2015, Ingvar Stepanyan<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

@Kikobeats https://github.com/Kikobeats If you answer the last
question, I'll be able to figure out the best way to integrate it :)
—
Reply to this email directly or view it on GitHub
https://github.com/Kikobeats/uno-zen/pull/47#issuecomment-131555775.

I see... Well, it would be super easy to do what I mentioned (setting background to user's preference) without this gradient as it uses some SCSS variables which won't be available in HTML, but not sure about combined variant. Let me know if you would still wish to use user's background if that would mean removal of gradient (at least until we find a better solution), and I'll be happy to send PR.

Actually I prefer have a linear gradient in the cover image... I feel that is a self of identity of the theme and IMHO is totally cooler 😁

But it's not visible under the cover anyway, is it?

exists a difference!
with linear gradient:

without:

Ah I see.


chore: add prefix to node builtins imports

✅ Checklist

[x] I have followed every step in the contributing guide
[x] The PR title follows the convention.
[x] I ran and tested the code works

Changelog
import node builtins with a prefix

Hi @Dueen,
Can you provide a bit more info on why you want the changes in this PR? Are you trying to run everything with Bun or Deno?
We don't plan on adding support on the app side for anything other than Node.js.

Closing this because the main app isn't designed to be run with anything other than node, we don't plan on adding support for that – it's too much of an ongoing maintenance burden.


Blackduck fix + re-enable simple security.csv ingestion

Fixes #1582
WIP, because the reporter didn't report against a .zip file (meaning to have the security.csv and files.csv, which contains the path to the actual files impacted, which is extremely valuable). Today, the parser does not support plain security.csv anymore.
When submitting a pull request, please make sure you have completed the following checklist:

[x] Your code is flake8 compliant
[x] Your code is python 3.5 compliant
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/dd_migrations folder.
[ ] Add applicable tests to the unit tests.

@Maffooch this is done.


【BUG】ConversationalRetrievalChain.from_llm and pass in chat_history, there is a problem with the callback.

System Info
python3.10
langchain 0.0.333
Who can help?
@hwchase17 @agola11  @agola11
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[X] Tools / Toolkits
[ ] Chains
[X] Callbacks/Tracing
[x] Async

Reproduction

I tried to use the asynchronous call chain=ConversationalRetrievalChain.from_llm combined with the local knowledge base to find the answer.
When chat_history is not passed in chain.acall({"question": query, "chat_history":[]}), it can correctly return the result of the streaming output.
When I pass in chat_history, the returned result is new_question. new_question is a processed question and is not the answer I want.

code:
`        db = FAISS.load_local(COMIXGPT_VECTOR, embeddings)
    retriever = db.as_retriever(search_type="similarity_score_threshold",
                                search_kwargs={"score_threshold": score_threshold,
                                               "k": VECTOR_SEARCH_TOP_K})
    prompt = PromptTemplate(
        input_variables=["chat_history", "context", "question"],
        template=prompt_template
    )

chain = ConversationalRetrievalChain.from_llm(
llm=model,
chain_type="stuff",
retriever=retriever,
#memory=memory,
return_source_documents=True,
return_generated_question=True,
combine_docs_chain_kwargs={'prompt': prompt},
condense_question_llm=model,
verbose=True
)
task = asyncio.create_task(wrap_done(
chain.acall({"question": query, "chat_history":chat_history}),
callback.done),
)
if stream:
async for token in callback.aiter():
# Use server-sent-events to stream the response
yield json.dumps({"answer": token}, ensure_ascii=False)
yield json.dumps({"docs": source_documents}, ensure_ascii=False)
else:
answer = ""
async for token in callback.aiter():
answer += token
yield json.dumps({"answer": answer,
"docs": source_documents},
ensure_ascii=False)
await task
return StreamingResponse(knowledge_base_chat_iterator(query=query,
top_k=top_k,
history=history,
chat_history=chat_history,
model_name=model_name,
prompt_name=prompt_name),
media_type="text/event-stream")`
Expected behavior
I don't know why it called LLM twice, and then it returned the updated Question, which was not the Assistant I wanted. The call log is as follows:
log:

Entering new LLMChain chain...
Prompt after formatting:
Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.
Chat History:
Human: hello
Assistant: Hi there! Is there anything I can help you with? Youre welcome, just tell me~
Human: hello hello make friends
Assistant: ok
Follow Up Input: hello!
Standalone question:

Entering new StuffDocumentsChain chain...

Entering new LLMChain chain...
Prompt after formatting:
Chat History:
Human: hello
Assistant: Hi there! Is there anything I can help you with? Youre welcome, just tell me~
Human: hello hello make friends
Assistant: ok
Question: How can I make friends?
Helpful Answer:
2023-12-26 17:27:43,269 - _client.py[line:1758] - INFO: HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
Finished chain.
Finished chain.

It has been solved. It turned out to be a problem with my own code. Both of my LLMs used callbacks.    ---》condense_question_llm=model,


✨ Improve scripts for building some of the service images

Summary
Improve scripts for building some of the service images

remove jq and yq from the kubectl container image
fix dir change in build-clusteradm-image.sh

Related issue(s)
Fixes #

@MikeSpreitzer I changed the script to use mktemp with a trap to delete the temporary folder on exist.
Note that the block at the end in ( ... ) is needed to allow the script to delete the temporary folder if ko fails, which would be prevented by the combination of using set -e and the script being in the clusteradm_folder folder.

On further thought: the script here works ONLY if the current working directory is kubestellar. So: (a) that should be documented and (b) there is no concern about a conflicting use of a subdirectory named "clusteradm".

On further thought: the script here works ONLY if the current working directory is kubestellar. So: (a) that should be documented and (b) there is no concern about a conflicting use of a subdirectory named "clusteradm".

The script works from any folder as long as you provide full path to the script.
It does not depend on anything in kubestellar repo
It can be run as curt|bash

The script works from any folder as long as you provide full path to the script.
It does not depend on anything in kubestellar repo

Oh, right.


Iteration safety for containers

The other day I noticed this doc comment on PyDict::iter.
    /// Note that it's unsafe to use when the dictionary might be changed by
    /// other code.

This sounds scary; it's a safe function so shouldn't have arbitrary safety warnings like this.
I know that when iterating Python containers from Python they do have checks to prevent modification. We should probably check for our container types what happens if we try to modify during iteration, and also whether it really is unsound or just might introduce logical bugs.
I'd argue that if our current implementation is indeed unsound then I'd hope we can patch things up to prevent modification so that PyDict::iter and friends can remain safe.
(We should only need to check PyList, PyDict, and PySet; PyFrozenSet and PyTuple are immutable so shouldn't need this protection).

The iterator code only uses PyDict_Next (C-API doc), which says

The dictionary p should not be mutated during iteration. It is safe to modify the values of the keys as you iterate over the dictionary, but only so long as the set of keys does not change. (emphasis mine)

The phrasing is a bit ambiguous, so I read this statement as:

Don't add or remove keys from the dictionary
Don't modify the keys (which you shouldn't be doing anyway...)

I don't think we can add/remove keys on the (safe) Rust side as long as we hold the iterator. Is it possible to violate this by calling Python code?
Also, as I understand it (possibly incorrectly) the returned &'py PyAny could be used to mutate the underlying Python object -- in this case, the key. Arguably Python programmers already know they shouldn't do this: I'm not sure whether we can actually do something about that given #883.

You can do anything to the dict while the iterator is active since mutating operations are fine with shared borrows.
So it seems like to be safe here, we cannot use the C-layer iterators, but have to use the Python-layer iterators, which need to guard against all the same things that we do - and so e.g. raise RuntimeError when the dictionary changes during iteration.
Since PyDict_Next is probably a lot faster, we can still offer it as unsafe API, with the necessary warnings.


specific alerts write to syslog

use the alert monitoring system to syslogd

support syslogd write to UDP output also

updated
https://www.fmad.io/en.fmadio10-manual.html#config-syslog


ionic / Angular Universal Serve SSR Error

My whole IONIC project uploaded on Github https://github.com/yashdabi/ionic-angular-ssr
following some tutorials like this below
https://ionicframework.com/blog/ssr-with-angular-universal-and-ionic/
but to many errors are showing after "npm run serve:ssr" and I am not able to resolve these errors

window is not defined
self is not defined
Error:NotYetImplemented
Cannot redefine property: constructor
win.matchmedia is not a function

ReferenceError: self is not defined
    at Object.QdDj (F:\ionic4-project\learn-project\ionicPWA\dist\server\dom-js.js:45:9)
    at __webpack_require__ (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:26:30)
    at __webpack_require__.t (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:83:33)
    at ZoneDelegate.invoke (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:579:26)
    at Object.onInvoke (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:72557:33)
    at ZoneDelegate.invoke (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:578:52)
    at Zone.run (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:338:43)
    at F:\ionic4-project\learn-project\ionicPWA\dist\server.js:1098:34
    at ZoneDelegate.invokeTask (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:611:31)
    at Object.onInvokeTask (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:72538:33)

Error: NotYetImplemented
    at Document.exports.nyi (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:69823:9)
    at bootstrapLazy (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:89424:68)
    at Object.then (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:79278:39)
    at ZoneDelegate.invoke (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:579:26)
    at Object.onInvoke (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:72557:33)
    at ZoneDelegate.invoke (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:578:52)
    at Zone.run (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:338:43)
    at F:\ionic4-project\learn-project\ionicPWA\dist\server.js:1098:34
    at ZoneDelegate.invokeTask (F:\ionic4-project\learn-project\ionicPWA\dist\server.js:611:31)
    at Object.onInvokeTask (F:\ionic4-project\learn-project\ionicPWA\dist\server\main.js:72538:33)

server.ts
/**
 * *** NOTE ON IMPORTING FROM ANGULAR AND NGUNIVERSAL IN THIS FILE ***
 *
 * If your application uses third-party dependencies, you'll need to
 * either use Webpack or the Angular CLI's `bundleDependencies` feature
 * in order to adequately package them for use on the server without a
 * node_modules directory.
 *
 * However, due to the nature of the CLI's `bundleDependencies`, importing
 * Angular in this file will create a different instance of Angular than
 * the version in the compiled application code. This leads to unavoidable
 * conflicts. Therefore, please do not explicitly import from @angular or
 * @nguniversal in this file. You can export any needed resources
 * from your application's main.server.ts file, as seen below with the
 * import for `ngExpressEngine`.
 */

import 'zone.js/dist/zone-node';
import 'reflect-metadata';
import * as express from 'express';
import {enableProdMode} from '@angular/core';

import {join} from 'path';

enableProdMode();
const domino = require("domino");
const fs = require("fs");
const path = require("path");
const templateA = fs
  .readFileSync(path.join("dist/browser", "index.html"))
  .toString();
const win = domino.createWindow(templateA);
// win.Object = Object;
// win.Math = Math;
// console.log('win', win);

global["win"] = win;
global["window"] = win;
global["document"] = win.document;
// global["branch"] = null;
// global["object"] = win.object;
// global['HTMLElement'] = win.HTMLElement;
// global['navigator'] = win.navigator;
// global['localStorage'] = win.localStorage;

// global['MutationObserver'] = getMockMutationObserver();

// function getMockMutationObserver() {
//   return class {
//     observe(node, options) {
//     }
//     disconnect() {
//     }
//     takeRecords() {
//       return [];
//     }
//   };
// }

// (global as any).self = {fetch: require('node-fetch')};
// Express server
const app = express();

const PORT = process.env.PORT || 4000;
const DIST_FOLDER = join(process.cwd(), 'dist/browser');

// * NOTE :: leave this as require() since this file is built Dynamically from webpack
const {AppServerModuleNgFactory, LAZY_MODULE_MAP, ngExpressEngine, provideModuleMap} = require('./dist/server/main');

// Our Universal express-engine (found @ https://github.com/angular/universal/tree/master/modules/express-engine)
app.engine('html', ngExpressEngine({
  bootstrap: AppServerModuleNgFactory,
  providers: [
    provideModuleMap(LAZY_MODULE_MAP)
  ]
}));

app.set('view engine', 'html');
app.set('views', DIST_FOLDER);

// Example Express Rest API endpoints
// app.get('/api/**', (req, res) => { });
// Serve static files from /browser
app.get('*.*', express.static(DIST_FOLDER, {
  maxAge: '1y'
}));

// All regular routes use the Universal engine
app.get('*', (req, res) => {
  res.render('index', { req });
});

// Start up the Node server
app.listen(PORT, () => {
  console.log(`Node Express server listening on http://localhost:${PORT}`);
});

ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 8.1.3
Node: 10.16.3
OS: win32 x64
Angular: 8.1.3
... cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.801.3
@angular-devkit/build-angular              0.801.3
@angular-devkit/build-optimizer            0.801.3
@angular-devkit/build-webpack              0.801.3
@angular-devkit/core                       8.1.3
@angular-devkit/schematics                 8.1.3
@angular/animations                        8.1.2
@ngtools/webpack                           8.1.3
@nguniversal/express-engine                8.1.1
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        8.1.3
@schematics/update                         0.801.3
rxjs                                       6.5.2
typescript                                 3.4.5
webpack                                    4.35.2

ionic info
Ionic:

   Ionic CLI                     : 5.2.7 (C:\Users\yash\AppData\Roaming\nvm\v10.16.3\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.8.0
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

Utility:

   cordova-res : 0.6.0
   native-run  : 0.3.0

System:

   NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.0
   OS     : Windows 10

there are many issues in github and StackOverflow but did not get any solution yet
I am stuck in these issues from few days
Please help me to resolve these issues

Thanks for the issue. We recommend using Ionic Framework v5 and the latest stable version (not a dev build) of @ionic/angular-server when integrating Angular Universal with an Ionic app. There have been several fixes that have gone into these releases to improve SSR support.

@liamdebeasi there are still some issues when prerendering. I get a MutationObserver is not defined error. It comes from here since there is no null check.

@rgolea can you provide a demo? I just tested out a blank app and everything is working fine. I need a more complete example.

@mhartington I could not reproduce the error on some other way. I can give you access to the repo and you can take a look if you want. Ping me if it's something you might be interested in.

Thank you @mhartington for the interest and the entire team for the great job.

@liamdebeasi and @mhartington Thanks for the support
Angular CLI: 9.1.1
Node: 12.16.2
Angular: 9.1.2
Ionic CLI: 5.4.16

I have just checked the latest blank project everything is working fine for SSR
Great job for Ionic Team
we (hackerkernel team) have made a lot of projects for the clients with the help of Ionic framework
I am a big fan of IONIC from INDIA

@yashdabi why did you close the issue? There are still some issues with SSR.

sorry, reopening

It looks like there was an issue opened regarding the MutationObserver: https://github.com/ionic-team/ionic/issues/21063. Closing this in favor of the linked issue.

@yashdabi Thanks for reopening. I opened another issue to make sure this bug gets fixed.


update from upstream

chore(deps): update dependency @semantic-release/release-notes-generator to v13
chore(deps): update dependency semantic-release to v23.0.6
chore(deps): lock file maintenance
chore(deps): update returntocorp/semgrep docker tag to v1.66.1
chore: allow warnings in test
chore(deps): update node.js to >=20.12.0
chore: allow warnings in test
chore: set checks with new API
chore: fix ] typo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 10.561%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
32

Relevant Lines:
303

💛  - Coveralls


[3.6.1] Script API: Game.ResetDoOnceOnly()

Add from script api
/// Resets all of the "DoOnceOnly" token states
  import static bool   ResetDoOnceOnly();

From: https://github.com/adventuregamestudio/ags/releases/tag/v<IP_ADDRESS>

Script API:
Added Game.ResetDoOnceOnly(), which completely resets all DoOnceOnly instances.

https://github.com/adventuregamestudio/ags-manual/wiki/Game/_compare/c4f0778^...c4f0778


Mosek does not work with JuMP in Juliav0.4

Tried to run the qcp.jl example from JuMP using JuliaV0.4 and getting errors as below. The example works fine on JuliaV0.3.
Code:
using JuMP
m = Model()
@defVar(m, x)
@defVar(m, y >= 0)
@defVar(m, z >= 0)
@setObjective(m, Max, x)
@addConstraint(m, x + y + z == 1)
@addConstraint(m, xx + yy - zz <= 0)
@addConstraint(m, xx - y*z <= 0)
print(m)
status = solve(m)
Output:
Max x
Subject to
x + y + z == 1
x² + y² - z² <= 0
x² - y*z <= 0
x free
y >= 0
z >= 0
LoadError: UndefVarError: MosekSolver not defined
while loading In[4], in expression starting on line 23
in model at C:\Users\Thuyen.julia\v0.4\MathProgBase\src\defaultsolvers.jl:55
in buildInternalModel at C:\Users\Thuyen.julia\v0.4\JuMP\src\solvers.jl:236
in solve at C:\Users\Thuyen.julia\v0.4\JuMP\src\solvers.jl:77

to doing using Mosek at the top of your script.

Although perhaps I'm not understanding your question. Would you like to solve this with Mosek? Or are you confused as to why there is an error with MosekSolver in it when you do not have Mosek installed?

"to doing using Mosek at the top of your script."
I have tried that, and also m=Model(solver=MosekSolver()), same result.

Have you added the Mosek package with Pkg.add("Mosek")? If so, you may need to build it with Pkg.build("Mosek").

Although perhaps I'm not understanding your question. Would you like to solve this with Mosek? Or are you confused as to why there is an error with MosekSolver in it when you do not have Mosek installed?

I want to use the mosek solver but it appears it is not working. I have the solver installed.

Have you added the Mosek package with Pkg.add("Mosek")? If so, you may need to build it with Pkg.build("Mosek")

I have added the mosek package. I removed it and added it again, and still the same error.
I installed JuliaV0.3 on another computer and added the package and it sucessfully solved the problem.

@2nNguyen, could you restart julia and run using Mosek? What happens?

@2nNguyen, could you restart julia and run using Mosek? What happens?

to clarify, I have been using IJulia notebook to run the scripts.
"using Mosek" completes without output.

Yes, please restart the julia kernel in IJulia and try running
using Mosek
using JuMP

m = Model(solver=MosekSolver())

@defVar(m, x)
@defVar(m, y >= 0)
@defVar(m, z >= 0)

@setObjective(m, Max, x)

@addConstraint(m, x + y + z == 1)
@addConstraint(m, xx + yy - zz <= 0)
@addConstraint(m, xx - y*z <= 0)

status = solve(m)

Yes, please restart the julia kernel in IJulia and try running
...

LoadError: UndefVarError: xx not defined
while loading In[2], in expression starting on line 292
After editing xx->x*x, etc, the problem is solved sucessfully. Which was the step that solved my initial problem?

I'm guessing something left the Mosek package in a weird state, so just restarting the kernel fixed things.

Wow, this was a strange one, but I think the issue is resolved for me now, thank you Joe and mlubin.
Some info which might be relevant to others who encounter the same issue: I had been following one of the JuMP guides and added the cbc and ipopt packages  before adding the mosek package. Other than that it was a fresh install of Julia 0.4.0-pre+7133 and the IJulia package.


Adding new capabilities to initialize-benchmark-entities.sh (fixes #159)

Renaming the manage-gatling-client.sh to initialize-benchmark-entities.sh
Adding new user creation capabilities to the script to create a default user to be able to kick off a single user Authentication scenarios (LoginUserPassword, ClientSecret, AuthorizationCode)
The initialize-benchmark-entities.sh new oidc type client called client-0 to support Authentication style scenarios and non-intersecting with the Service Enabled Client
Updating the docs to reflect the latest state

@ahus1 and @lhanusov I did address the comments now, please take a final look to see if thats good for merge


S3 bucket instead of local file for text extractor

Hi,
I am looking at the "TextEmbeddingExtractor" class (text.py file) and observe that the constructor takes the name of the embedding file as a parameter. I was wondering whether Pliers already support any API that allows to load a S3 bucket, say an embedding file hosted on AWS without downloading (i.e., probably by using boto3). Please let me know.
Best!

The TextEmbeddingExtractor does not have any support for remote embedding files. This is not on the road map to implement as we do not know of any APIs that allow that (let us know if you find one).
Currently, any Stim can be initialized from a public URL, including signed S3 URLs, but we will likely not support anything beyond this.


Refactor LayerUI

Pass named function to react.memo so that in dev tools the name shows up instead of showing anonymous
Make LayerUI default export
Break the functional component into multiple render methods

@lipis the lint for pull request is failing but the changes are due to running prettier the file App.tsx.

run npm install we have a new version of Prettier

@lipis @vjeux @dwelle did you get a chance to check this ?

@ad1992 will do at my earliest convenience. Do you need help resolving the conflicts?

@dwelle I have resolved the conflicts. Please let me know if it's fine. It would be of great help if you could reply in https://github.com/excalidraw/excalidraw/issues/1196, I am working on creating npm package for excalidraw as I am integrating into a web app and need to customize the UI as well. That's why I wanted to know what you guys think so I know whether I should open a PR for the same.
Thank you.

Ok, looking good. Thanks.
As for #1196, will check tomorrow, but that one is pretty involved.

Thanks @dwelle .Looking forward to your reply. I wanted to avoid creating the package in the forked repo so I just wanted the confirmation If I can open the PR here.


Add ability to reseed Chance generator

This PR adds the ability to set the seed for the Chance generator:
const factory = require('factory-bot').factory
factory.chance.seed(42)

thus allowing for repeatable results when generating realistic fake data.

This is great! Any chance this can get merged?


proxy: support sslbump

also see #460 for discussion

https://github.com/opnsense/core/commit/048d5be4fc02a2bb3576aee69045772ad1fd03a5


Use primary active color for btn-group selection (SCRD-8650)

Active buttons in button groups comprised of default buttons are
difficult to identify. The selection is only signified by a slight
shadow. Change to use the primary, active, green color for easy
identification.

The easiest location to see the change is under Compute > Instances. Click "Launch Instance" and go to the Source tab in the modal.
"Create New Volume" and "Delete Volume on Instance Delete" both use button groups with default buttons.

@guglo I've created a Jira ticket for this and changed the PR title to reflect it. Thanks


Apache 2.0 License

Update the License to Apache 2.0 to match other Pinecone client

Looks good to me!


Website updates for ES7 exponentiation operator

Update website for ** and **= operator support.

Almost forgot this... so opened a placeholder pull so it gets done.


Check that types of non-erased instance arguments are type classes

Currently we do not check that the type of an instance argument is actually compiled to a Haskell Constraint, causing agda2hs to generate ill-formed Haskell code. Here's an example:
open import Haskell.Prelude

instance
  favoriteNumber : Int
  favoriteNumber = 42
{-# INLINE favoriteNumber #-}

test : {{Int}} → Int
test {{x}} = x
{-# COMPILE AGDA2HS test #-}

Currently agda2hs happily compiles this to the following nonsense:
test :: Int => Int
test = x

We should either disallow this, or else detect that the type has kind * and compile it to a regular (explicit) argument in Haskell.

Related: #217 and #218


Offline playback of ipod-library:// items fails when it doesn't need to

Offline playback of an item from the device's media library is very much possible using KDEAudioPlayer without further modifications, but is unfortunately blocked because of slightly overzealous logic for rejecting offline playback. Just like file URLs, ipod-library URLs can be played back offline.
See https://gitlab.com/riff/AudioPlayer/commit/2213d7801b66d6d001e776ba3a3eb040a65eace3 for a fix that worked for me.

You're right, I didn't think about that case.
Thanks, I'll look into it ASAP.

Let me know if that works out for you :)


#11202 Fix refresh of grants

Fix refresh of role rights and user rights.

Don't know why the postgresql tests failed. Didn't change anything there


[DO NOT MERGE] Add large titles

As per #523.
Not sure if I like it that much. There's also a bug with this in the inbox screen atm, so please do not merge in this state.
As you can see, the title isn't actually large (until you scroll up) and there is some spacing between the nav bar and the segmented control. I think this was introduced somewhere when adding the tab bar?

Doesn't feel like it adds too much here.

I've left out a large title in the search tab, as there is no title there atm, just the search bar - which I think does enough on its own.

This is what Search looks like in the App Store app. If we do want to go ahead with this, I propose to also do something like this with the Search tab to keep the mean tabs consistent.

If only we could do trending repositories 🤔
I support "Recent Searches" would go there

I'll name it just "Search" for now - we already have the "Recent Searches" once you actually have some.

There's already a "Recent Searches" thing when you actually have some recent searches, so I propose:

title "Search"
search bar "Search GitHub"

Hmph, what do you all think? Doesn't look worth it to me.

If we think it looks better, we should go for it. It's an easy thing; I feel it being worth if we like it more than the current nav bars.

A bit of waste of space, if you ask me! 😇

FWIW, it seems like master has a large title on the Search tab already atm?

Ya that was to fix the transition, but I don’t like the inconsistency here
Sent with GitHawk

Feel like we should go for all big or all small?

Ya, lets see if we can stick to small for now. Can fix the search VC or just revert it.
Sent with GitHawk

Was just about to say that I defenitely DO like it on iPad tho!
Sent with GitHawk

Trying this out now w/ inbox refactor

Only seeing it on Inbox?

Atm ya, will see how ppl (and me) like it
Sent with GitHawk

Feel like we should go with it. These work amazingly well with searchbars as well imo, and now that we have quite a few of those...


sudo clarification

pip install aqtinstall
sudo aqt install --outputdir /opt/Qt 5.12.0 linux desktop -m qtcharts qtnetworkauth

You mean sudo pip install aqtinstall, right? Otherwise, it actually says that it doesn't know what aqt is...

Yes, it is document error.

Fixed


Adding Manual Donation in Admin

Regarding this https://github.com/Giveth/giveth-dapps-v2/issues/811 For adding donations to the backend, I'd say let's have a feature in Admin, which Admins be able to provide trx hash and it saved in db and get verified later by the cronjob.

@mohammadranjbarz you run the verification job after adding this trx? Admin may enter the wrong trx hash. WHat do you suggest?

@mohammadranjbarz you run the verification job after adding this trx? Admin may enter the wrong trx hash. WHat do you suggest?

Actually admin just enter the txHash and we get all data from blockchain ( amount, fromAddress, toAddress, currency), so it's definitely verified, we just can't get price from blockchain and admin enters manually, for instance we are sure that 2 HNY transferred through this transaction, but admin says the HNY was 76$ at that time, and it's the only place that admin can mistake and should be catious

jfyi @WhyldWanderer about probable mistake of admin to use wrong price, it's possible


Update zio-schema, zio-schema-derivation to 0.4.10

About this PR
📦 Updates

dev.zio:zio-schema
dev.zio:zio-schema-derivation

from 0.4.2 to 0.4.10
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.4.2).
You might want to review and update them manually.
project/plugins.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #856.


chore: rename go template file name

to avoid breaking the release pipeline via kpt issues

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

oops just noticed this PR, indeed it should have been a templatized values file, because I'm using go templates in it. sorry about this!


mac-18 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-18 lost external connection phone device.

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

Phone device turned itself off, press power on button to phone device back on.


[stable/node-red] Bump version to 0.20.7

Signed-off-by: Victor Login<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

hi @mattfarina @billimek

/ok-to-test

/lgtm


Sync v0 to latest master

IBI is currently broken because it requires https://github.com/rh-ecosystem-edge/recert/pull/150

/lgtm

/approve


OADP-4935: Default permission for Secrets

Why the changes were made
have more restrictive permissions.
How to test the changes made
Run make deploy-olm and check if nothing was broken by the change.
To test volume.secrets, crate a DPA WITHOUT specifying credentials in BSL. Reference https://redhat-internal.slack.com/archives/C039LRSDC8Z/p1728048939142289
In master, you should have this result
sh-5.1$ ls -1la credentials/cloud
lrwxrwxrwx. 1 root<PHONE_NUMBER> 12 Oct  4 17:27 credentials/cloud -> ..data/cloud
sh-5.1$ ls -1laL credentials/cloud
-rw-r--r--. 1 root<PHONE_NUMBER> 132 Oct  4 17:27 credentials/cloud

In this PR branch, you should have this result
sh-5.1$ ls -1la credentials/cloud
lrwxrwxrwx. 1 root<PHONE_NUMBER> 12 Oct  4 13:53 credentials/cloud -> ..data/cloud
sh-5.1$ ls -1laL credentials/cloud
-r--r-----. 1 root<PHONE_NUMBER> 132 Oct  4 13:53 credentials/cloud

You also need to test operations, like backup/restores, with these changes, since E2E tests do not create DPAs  WITHOUT specifying credentials in BSL.
To test volume.projected, create a DPA with CloudStorage.

re: issue around using secret for something other than object storage access key
https://github.com/vmware-tanzu/velero/issues/7767
but it's not a current concern, something if impacted can be addressed later.

weird..  I see no change to the cred's permssions. Perhaps I'm doing something wrong?

make deploy-olm w/ * 46c1b46 - (HEAD -> fix/default-permission) fixup! fix: Default permission for Secrets (9 hours ago)
create dpa w/ creds of course
rsh into velero pod

-5.1$ cd /tmp/credentials/openshift-adp/
sh-5.1$ ls -la
total 4
drwxr-xr-x. 2<PHONE_NUMBER> root  37 Oct  3 20:05 .
drwxr-xr-x. 3<PHONE_NUMBER> root  27 Oct  3 20:05 ..
-rw-r--r--. 1<PHONE_NUMBER> root 116 Oct  3 20:08 cloud-credentials-cloud
sh-5.1$

@shubham-pampattiwar look at the bug https://issues.redhat.com/browse/OADP-4935
The bug does not reference, what type of storage location ( bsl, vsl ), it's referring only to mounted secrets.
AFAICT this patch has not fixed the jira issue yet.

@weshayutin @shubham-pampattiwar for this to work, you can not set dpa.spec.backupLocation.credentials
In my test (but it is wrong still, it is 0440 and it is set as 0400 in code)
sh-5.1$ ls -1la credentials/cloud
lrwxrwxrwx. 1 root<PHONE_NUMBER> 12 Oct  4 13:53 credentials/cloud -> ..data/cloud
sh-5.1$ ls -1laL credentials/cloud
-r--r-----. 1 root<PHONE_NUMBER> 132 Oct  4 13:53 credentials/cloud
sh-5.1$ ls -1a tmp/credentials/test-oadp-operator/
.
..

@mateusoliveira43 Hmm. For that last example, that's root-owned -- so the velero pod really needs the group read to be able to access it since it doesn't run as root.

/lgtm

/hold
lets test more just to be sure, before merging?

it won't merge until all required tests green

the lgtm will just enable auto retests

my worries here is that E2E does not test these changes, as I added in PR description

@kaovilai @sseago so when I pull this and get on the cluster even w/ my standard dpa that I used previously .. I will see the permissions changed?

@weshayutin if you specify credentials in BSL (even if the name is the default one), no
added info in PR description

@mateusoliveira43 In your opinion does that fix the jira issue?

ok.. lgtm to w/ my default dpa, same one I tested before
sh-5.1$
sh-5.1$ ls -la /credentials/cloud
lrwxrwxrwx. 1 root<PHONE_NUMBER> 12 Oct  4 19:55 /credentials/cloud -> ..data/cloud
sh-5.1$ ls -la /credentials/..data/cloud
-r--r-----. 1 root<PHONE_NUMBER> 116 Oct  4 19:55 /credentials/..data/cloud
sh-5.1$

spec:
  backupLocations:
  - velero:
      config:
        profile: default
        region: us-west-2
      credential:
        key: cloud
        name: cloud-credentials
      default: true
      objectStorage:
        bucket: cvpbucketuswest2
        prefix: velero
      provider: aws
  configuration:
    nodeAgent:
      enable: true
      uploaderType: kopia
    velero:
      defaultPlugins:
      - kubevirt
      - csi
      - openshift
      - aws
  snapshotLocations:
  - velero:
      config:
        profile: default
        region: us-west-2
      provider: aws

Tested BSL (WITHOUT credentials) by running modified E2E tests locally, tests passed. Did not test VSL

Test 1
spampatt@spampatt-mac oadp-operator [secret-read-only]$ oc exec -it velero-7758ddd869-fnqn7 -- /bin/sh
Defaulted container "velero" out of: velero, openshift-velero-plugin (init), velero-plugin-for-aws (init)
sh-5.1$ ls -la credentials/cloud
lrwxrwxrwx. 1 root root 12 Oct  8 00:17 credentials/cloud -> ..data/cloud
sh-5.1$ ls -lalL credentials/cloud
-r--r-----. 1 root root 116 Oct  8 00:17 credentials/cloud
sh-5.1$ ls -lalL tmp/credentials/openshift-adp/
total 0
drwxr-xr-x. 2 nobody nobody  6 Oct  8 00:17 .
drwxr-xr-x. 3 nobody nobody 27 Oct  8 00:17 ..

Test 2
spampatt@spampatt-mac oadp-operator [secret-read-only]$ oc exec -it velero-5689985869-vn6b6 -- /bin/sh
Defaulted container "velero" out of: velero, openshift-velero-plugin (init), velero-plugin-for-aws (init)
sh-5.1$ ls -la credentials/cloud
ls: cannot access 'credentials/cloud': No such file or directory
sh-5.1$ ls -la tmp/credentials/openshift-adp/
total 4
drwxr-xr-x. 2 nobody nobody  37 Oct  8 00:21 .
drwxr-xr-x. 3 nobody nobody  27 Oct  8 00:21 ..
-rw-r--r--. 1 nobody nobody 116 Oct  8 00:21 cloud-credentials-cloud
sh-5.1$

Test 3
spampatt@spampatt-mac oadp-operator [secret-read-only]$ oc exec -it velero-7758ddd869-5fr8m -- /bin/sh
Defaulted container "velero" out of: velero, openshift-velero-plugin (init), velero-plugin-for-aws (init)
sh-5.1$ ls -la credentials/
..2024_10_08_00_27_11.1709205179/ ..data/                           cloud
sh-5.1$ ls -la credentials/cloud
lrwxrwxrwx. 1 root root 12 Oct  8 00:27 credentials/cloud -> ..data/cloud
sh-5.1$ ls -lalL credentials/cloud
-r--r-----. 1 root root 116 Oct  8 00:27 credentials/cloud
sh-5.1$ ls -lalL tmp/credentials/openshift-adp/
total 4
drwxr-xr-x. 2 nobody nobody  37 Oct  8 00:27 .
drwxr-xr-x. 3 nobody nobody  27 Oct  8 00:27 ..
-rw-r--r--. 1 nobody nobody 116 Oct  8 00:29 cloud-credentials-cloud

Matches the results in PR description for the 3 test scenarios.

/unhold
discussed in scrum

/retest required

/test ci/prow/4.17-images

/test 4.17-images

/test 4.17-ci-index

/lgtm

/cherrypick oadp-1.3

/cherrypick oadp-1.4


[<IP_ADDRESS>] query parser should throw error on nested functions with tag arguments

userId is a tag, not a field. As such, the following queries properly fail with errors.
> select distinct(userId) from "event.btn.click02"
ERR: statement must have at least one field in select clause
> select count(userId) from "event.btn.click02"
ERR: statement must have at least one field in select clause

However, the nested COUNT(DISTINCT(userId)) query does not throw a parser error and incorrectly returns zero.
> select count(distinct(userId)) from "event.btn.click02"
name: event.btn.click02
-----------------------
time			count
1970-01-01T00:00:00Z	0

I think there is no need for count(distinct(TagName)) to return a parse error.
It seems that right now there is no practical way to count the unique number of a certain tag, and count(distinct(TagName)) happens to be able to fit that role.

@emitle if it worked, COUNT(DISTINCT(tagKey)) would be an excellent way to count the distinct tags on a measurement.
However, tags are not valid arguments to functions, so that should throw a parser error, just as COUNT(tagKey) and DISTINCT(tagKey) do.
Once https://github.com/influxdb/influxdb/issues/3880 is implemented the parser error would be removed.

We might be able to do this finally with the addition of the casting syntax PR. I'll keep this in mind for post-1.0.


Nanogpt implementation

Is it possible to provide an implementation of this using nanogpt and or litgpt?

Hi,
Thanks for your interest in MeZO! If they are in the transformers package, then it should be fairly easy to use -- just load these models and for prefix-tuning/lora, change the layer names accordingly.

It's not. It's a complete rewrite

Then you can refer to the read me in the large_model folder. We highlighted the core part of the MeZO code which you can copy to your own codebase.


Completed Assignment-2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Completing Assignment-2
What did you learn from the changes you have made?
Working with Neural Networks
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
NA
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
NA
How were these changes tested?
Code Works
A reference to a related issue in your repository (if applicable)
NA
Checklist

[X] I can confirm that my changes are working as intended

Hello @kunzhi-yu I've run and completed the assignment, can you please re-check?


Gazetteer - advanced search - deselect

Once you've selected an advanced search option, you cannot deselect - one of the options always remains selected. There should be a way to deselect all.
(Feedback issue no. 246785629)

Added N/A to Advanced Search options.

@Vino-S to test

Whilst this is being done can there be a clear button added to the County please?
Geoff

@geoffj-FUG When I looked at the code I actually found a bug which meant that 'blank' (ie no county selected) was not appearing as the first entry in the county dropdown as it should have been. I have now corrected that and will let you know when it has been deployed to Test3 for testing.

Anne
There is no problem with the blank displaying at the top of the list.
At present to get to another county I can overtype. Good
To get to the blank I have to type an A then scroll to the blank in the list and then enter. A validator does this many times in a day. It would be a lot user friendly if we could just have a button to clear the form.
Geoff
From: Anne Vandervord @.>
Sent: Wednesday, 16 November 2022 2:02 AM
To: FreeUKGen/FreeCENMigration @.>
Cc: geoffj-FUG @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Gazetteer - advanced search - deselect (Issue #1456)
@geoffj-FUG https://github.com/geoffj-FUG  When I looked at the code I actually found a bug which meant that 'blank' (ie no county selected) was not appearing as the first entry in the county dropdown as it should have been. I have now corrected that and will let you know when it has been deployed to Test3 for testing.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1315522613 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFKIFC5HBHHLLYFZSKTWIOXYTANCNFSM6AAAAAARP6E6OE .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFPID4W3U65QY2VSUELWIOXYTA5CNFSM6AAAAAARP6E6OGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSONFEDK.gif Message ID: @.*** @.***> >

Hi Geoff,
I was seeing a problem yesterday on my Mac - strange.
Anyway, I can easily add a clear button as you have requested.
Anne
On 16 Nov 2022, at 01:02, geoffj-FUG @.***> wrote:

Anne
There is no problem with the blank displaying at the top of the list.
At present to get to another county I can overtype. Good
To get to the blank I have to type an A then scroll to the blank in the list and then enter. A validator does this many times in a day. It would be a lot user friendly if we could just have a button to clear the form.
Geoff
From: Anne Vandervord @.>
Sent: Wednesday, 16 November 2022 2:02 AM
To: FreeUKGen/FreeCENMigration @.>
Cc: geoffj-FUG @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Gazetteer - advanced search - deselect (Issue #1456)
@geoffj-FUG https://github.com/geoffj-FUG When I looked at the code I actually found a bug which meant that 'blank' (ie no county selected) was not appearing as the first entry in the county dropdown as it should have been. I have now corrected that and will let you know when it has been deployed to Test3 for testing.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1315522613 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFKIFC5HBHHLLYFZSKTWIOXYTANCNFSM6AAAAAARP6E6OE .
You are receiving this because you were mentioned. https://github.com/notifications/beacon/AKCPIFPID4W3U65QY2VSUELWIOXYTA5CNFSM6AAAAAARP6E6OGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSONFEDK.gif Message ID: @.*** @.***> >
—
Reply to this email directly, view it on GitHubhttps://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1316114920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARLANZ7LOXHHYKXTENS3CALWIQXDFANCNFSM6AAAAAARP6E6OE.
You are receiving this because you were mentioned.Message ID: @.***>

Anne
Clear County works well.
Is it possible for the radio button to default to N/A whenever Search Place Names is selected. It currently stays on the previous choice. In the original form the radio button choice was removed whenever the form was requested.
We still need the previous place name and county query to stay.
Geoff
From: Anne Vandervord @.>
Sent: Monday, 21 November 2022 6:23 PM
To: FreeUKGen/FreeCENMigration @.>
Cc: geoffj-FUG @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Gazetteer - advanced search - deselect (Issue #1456)
@geoffj-FUG https://github.com/geoffj-FUG  - I have added a 'Clear County' button and it has been deployed to Test3 for testing.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1321675234 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFMKXEYLBBLMXC4RVF3WJMWPPANCNFSM6AAAAAARP6E6OE .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFPG5KRKXTEVQIB4FMLWJMWPPA5CNFSM6AAAAAARP6E6OGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSOY4U6E.gif Message ID: @.*** @.***> >

Yes I can do that Geoff. I’ll get back when available to test.
A
On 21 Nov 2022, at 10:23, geoffj-FUG @.***> wrote:

Anne
Clear County works well.
Is it possible for the radio button to default to N/A whenever Search Place Names is selected. It currently stays on the previous choice. In the original form the radio button choice was removed whenever the form was requested.
We still need the previous place name and county query to stay.
Geoff
From: Anne Vandervord @.>
Sent: Monday, 21 November 2022 6:23 PM
To: FreeUKGen/FreeCENMigration @.>
Cc: geoffj-FUG @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Gazetteer - advanced search - deselect (Issue #1456)
@geoffj-FUG https://github.com/geoffj-FUG - I have added a 'Clear County' button and it has been deployed to Test3 for testing.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1321675234 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFMKXEYLBBLMXC4RVF3WJMWPPANCNFSM6AAAAAARP6E6OE .
You are receiving this because you were mentioned. https://github.com/notifications/beacon/AKCPIFPG5KRKXTEVQIB4FMLWJMWPPA5CNFSM6AAAAAARP6E6OGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSOY4U6E.gif Message ID: @.*** @.***> >
—
Reply to this email directly, view it on GitHubhttps://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1321827881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARLANZ4B3LIE4MLVHKI4LGTWJNER3ANCNFSM6AAAAAARP6E6OE.
You are receiving this because you were mentioned.Message ID: @.***>

Looks Good. This can be deployed. Please let me know when it happens and I will put a message on the message boards.
Geoff

Thanks Anne
I have marked it ready for deployment
Geoff
From: Anne Vandervord @.>
Sent: Tuesday, 22 November 2022 3:09 AM
To: FreeUKGen/FreeCENMigration @.>
Cc: Geoff J @.>; Mention @.>
Subject: Re: [FreeUKGen/FreeCENMigration] Gazetteer - advanced search - deselect (Issue #1456)
Ok @geoffj-FUG https://github.com/geoffj-FUG  I have made the change (advanced search setting is not reloaded from previous search) and it is ready for testing on Test3.
—
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1322389010 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFPKNQR6N67XUKM7CUDWJOUETANCNFSM6AAAAAARP6E6OE .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AKCPIFKS73YKBR577DIASPDWJOUETA5CNFSM6AAAAAARP6E6OGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSO2IHBE.gif Message ID: @.*** @.***> >

🙂 I think @Vino usually does just one production deployment each month, so may have to wait a couple of weeks now.
Anne
On 22 Nov 2022, at 06:27, Geoff J @.***> wrote:

Looks Good. This can be deployed. Please let me know when it happens and I will put a message on the message boards.
Geoff
—
Reply to this email directly, view it on GitHubhttps://github.com/FreeUKGen/FreeCENMigration/issues/1456#issuecomment-1323159817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARLANZYJA6Q2NXXHYB2QGGLWJRRVBANCNFSM6AAAAAARP6E6OE.
You are receiving this because you were mentioned.Message ID: @.***>

Deployed and checked so closing


go install<EMAIL_ADDRESS>package github.com/cweill/gotests is not a main package

go install<EMAIL_ADDRESS>is good

Unclear. Is there any place in the documentation that suggested this command? Or are you suggesting a nice-to-have?

Per installation in README.md  go get -u github.com/cweill/gotests/...  works well for me. First, I need to change into the project, where go.mod is placed. Then run command  go get -u github.com/cweill/gotests/... .
But there is only a tiny problem, after run the command, the gotests still cannot be found in GOBIN or GOPATH or PATH, I have no choice but clone the gotests repository and build the gotests bin locally

Unclear. Is there any place in the documentation that suggested this command? Or are you suggesting a nice-to-have?

I want to say that I can download a definitive version using the way


keys.gnupg.net often returns errors

==> default: [2015-10-21T09:29:44+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: apt_repository[percona] (percona::package_repo line 19) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[install-key 0x1C4CBDCDCD2EFD2A] (/tmp/vagrant-chef-3/chef-solo-1/cookbooks/apt/providers/repository.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
==> default: ---- Begin output of apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv 0x1C4CBDCDCD2EFD2A ----
==> default: STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.n5kNkAACjF --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver hkp://keys.gnupg.net:80 --recv 0x1C4CBDCDCD2EFD2A
==> default: gpgkeys: key 1C4CBDCDCD2EFD2A not found on keyserver
==> default: STDERR: gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net
==> default: gpg: no valid OpenPGP data found.
==> default: gpg: Total number processed: 0
==> default: ---- End output of apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv 0x1C4CBDCDCD2EFD2A ----
==> default: Ran apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv 0x1C4CBDCDCD2EFD2A returned 2

+1

obviously correct is: apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv 1C4CBDCDCD2EFD2A
without 0x

the first PR worked for me

+1

Closing due to inactivity.
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


Add API specifications to the documentation of miden-node

Qualitative documentation is of paramount importance for the understanding and onboarding of new users, correct general operation and maintenance of our software.
We would like to add a section to the README listing the different rpc endpoints supported by the RPC and by the Store api's.
All needed information should be available in the code in the following files:

RPC api:
https://github.com/0xPolygonMiden/miden-node/blob/9e3ddb97a7c873d8ea59d8576e6c0e893617ae5b/rpc/src/server/api.rs#L52-L88
RPC proto:
https://github.com/0xPolygonMiden/miden-node/blob/9e3ddb97a7c873d8ea59d8576e6c0e893617ae5b/proto/proto/rpc.proto#L8-L13
Store api:
https://github.com/0xPolygonMiden/miden-node/blob/9e3ddb97a7c873d8ea59d8576e6c0e893617ae5b/store/src/server/api.rs#L30-L177
Store proto:
https://github.com/0xPolygonMiden/miden-node/blob/9e3ddb97a7c873d8ea59d8576e6c0e893617ae5b/proto/proto/store.proto#L10-L17

And additional information regarding the architecture should be available in the README:
https://github.com/0xPolygonMiden/miden-node/tree/main?tab=readme-ov-file#architecture
Looking at the diagram should also be informative to understand the global architecture.

I would probably create separate readme files for RPC and store components in their respective directories.
In terms of sections, I'd probably follow the similar structure as in the main readme:

Short intro (we can probably skip the status sub-section).
Architecture - could be just stubbed out for now, and we can fill it in later.
Usage - info on how to start the specific component.
API - description of the API. This would be the main focus for this issue. We should list the available endpoints and provide a brief description of each.

I would also probably split this into two PRs - one for the RPC and the other one for the store component (to be done after we merge the RPC one).


The issue with saving the list state upon closing the detail screen in nested navigation with tabs.

Description:
I have encountered an issue with nested navigation using tabs. Although the list appears okay when I switch tabs, the problem arises when I navigate back from a screen within the parent navigation. At this point, the list's state resets, causing unexpected behavior.
Video:
https://github.com/marazmone/ios-compose-showcase/assets/7988862/acf15265-f4af-450c-853c-6dc56233f63d
Code example:
https://github.com/marazmone/ios-compose-showcase

I ran into the same issue, Viewmodels are cleared when scoped to the Nested-Navigator.
I had Nested Navigators, So I did a work around using the parent screen to scope my viewmodels then It works. Just note that this could lead to viewmodels being shared between tabs.
val parentScreen = LocalNavigator.current?.parent?.lastItem!!
val viewModel = parentScreen.getScreenModel<HomeScreenModel>()

I've also run into the same issue. With some debugging into the source, I figured out that the nested TabNavigator gets disposed when switching to another screen (since it does not exist on the other screen) and states are lost.
Adding disposeBehavior = NavigatorDisposeBehavior(disposeNestedNavigators = false) to the arguments of the outer Navigator solved my issue. The parent navigator now looks like this:
Navigator(MainScreen, disposeBehavior = NavigatorDisposeBehavior(disposeNestedNavigators = false))

Hopefully the @Rhacoal solution fix for you folks. If did not, feel free to re open the issue

I've also run into the same issue. With some debugging into the source, I figured out that the nested TabNavigator gets disposed of when switching to another screen (since it does not exist on the other screen) and states are lost.
Adding disposeBehavior = NavigatorDisposeBehavior(disposeNestedNavigators = false) to the arguments of the outer Navigator solved my issue. The parent navigator now looks like this:
Navigator(MainScreen, disposeBehavior = NavigatorDisposeBehavior(disposeNestedNavigators = false))

Thank you! It has really resolved my problems!


Wallet connection issue

I installed the Nightly wallet and Razor wallet, but they show up as not installed on the MOVEMENT Dapps site, including faucet.

For the above reason, I tried to replace it with the OKX wallet, but the MOVE balances of the Nightly wallet and OKX wallet are displayed differently even though they are the same wallet address.

For reason 1, I continued deleting Chrome browser cookies and reinstalling the app, but it failed.

Please reach out to the Nightly and Razor Wallet team for support.


Splink is not working

I couldn't able to run Splink with my Dataset. Am using it for past 2 months but I haven't faced this error before.
Am getting this for past 2 days. Is there any configuration changes made with Splink ??
I have attached the error message with this. (Dedupe with this case and its not working for other cases either)

It looks like there were breaking changes made a few days ago to the Splink() API.
You can see the CHANGELOG here:
https://github.com/moj-analytical-services/splink/blob/master/CHANGELOG.md

It looks like there were breaking changes made a few days ago to the Splink() API.
You can see the CHANGELOG here:
https://github.com/moj-analytical-services/splink/blob/master/CHANGELOG.md

Thanks @spencertollefson
That's correct -  @DevanandamS2013  it looks like you've upgraded to the latest version v1.0.0, which has some breaking changes to the API.
You need to either:
Install a previous version. pip install splink==0.4.2. (you might need --force-reinstall )
or
Update your code to reflect the new API.  In this case:
Splink(settings, df, spark).get_scored_comparisons()

Thanks @spencertollefson
That's correct -  @DevanandamS2013  it looks like you've upgraded to the latest version v1.0.0, which has some breaking changes to the API.
You need to either:
Install a previous version. pip install splink==0.4.2. (you might need --force-reinstall )
or
Update your code to reflect the new API.  In this case:
Splink(settings, df, spark).get_scored_comparisons()

Thanks alot for your help @spencertollefson @RobinL
Yes, with deduplication it worked now with the change. Can you please let us know the syntax for link as well ??
I tried Splink(settings, df_l = df1, df_r = df2, spark). But its not working.

Thanks alot for your help @spencertollefson @RobinL
Yes, with deduplication it worked now with the change. Can you please let us know the syntax for link as well ??
I tried Splink(settings, df_l = df1, df_r = df2, spark). But its not working.

You can see the new API in the docstring here:
https://github.com/moj-analytical-services/splink/blob/9c116c3f01a1a97257c343940f2bf7cfa044a8b7/splink/__init__.py#L44

You can see the new API in the docstring here:
https://github.com/moj-analytical-services/splink/blob/9c116c3f01a1a97257c343940f2bf7cfa044a8b7/splink/__init__.py#L44

Thank you very much @RobinL

Thank you very much @RobinL


Set PWM_MIN for DJI F450 frame

Describe the bug
F450 builds seem to stop props if PWM_MIN is set to 1075. We might need to set them to 1175 or an alike slightly higher setting
To Reproduce
Steps to reproduce the behavior:

Switch the drone on and arm it without propellers attached
Tilt it 60 degrees

Expected behavior
The propellers should not stop
Drone (please complete the following information):

DJI F450 frame

Additional context
This can lead to crashes if it happens in-air.

This largely depends on the ESCs. Are you refering to using the original DJI ESCs?
In my experience an ESC calibration is usually needed and should be part of a vehicle setup. Enabling one-shot makes a difference too.

I've come across a lot of people selecting this in PX4 as a generic 450 sized frame. If this PX4 airframe is going to become more specific I suggest we also introduce a range of intentionally generic options.

Output from Dev call: DJI ESC don't do calibration

Hi @LorenzMeier ,
I've dug into this issue a bit.  The configuration value invoked by 4011_dji_f450 sets PWM_MIN 1230, so something else is causing your issue.
When 4011_dji_f450 gets called in the startup scripts, it then calls 4001_quad_x which in turn calls rc.mc_defaults.  rc.mc_defaults sets PWM_MIN 1075, (only if AUTOCNF == yes).  Once rc.mc_defaults completes, 4001_quad_x completes, then 4011_dji_f450 sets PWM_MIN 1230, (again, only when AUTOCNF == yes).
Although the default value of PWM_MIN in the startup scripts is initialized at 1000, I think the cause of this issue might have been either not configuring the airframe correctly, or manually setting that value lower sometime after the airframe was set.
Let me know your thoughts.
-Mark

TODO: verify analysis of @mcsauder by setting f450 config and observe values

I've verified that uploading the current master branch v1.8.0-rc0 firmware, if the F450 airframe is selected PWM_MIN is set to 1230.  If, however, the F450-sized quadrotor with CAN (4012_quad_x_can), PWM_MIN remains the default value of 1075.  I've also checked F350 and verified the F350 airframe sets PWM_MIN to 1230.
Should set PWM_MIN 1230 perhaps be added to the 4012_quad_x_can config file?

Should set PWM_MIN 1230 perhaps be added to the 4012_quad_x_can config file?

From what I see uavcan does not use PWM_MIN.
Also I'm currently updating the MC PID tuning page and I specifically added PWM_MIN as a precondition: https://bkueng.gitbooks.io/px4-user-guide/content/en/advanced_config/pid_tuning_guide_multicopter.html#precondition

@LorenzMeier given that the default is set to 1230, and your initial reporter changed it to 1075, I don't think we need to change anything. What do you think?

Yep. Let's close this!


Gulp serve can not find module @microsoft/sp-build-web

This is the error that I can not fix -
Error: Cannot find module '@microsoft/sp-build-web'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:692:17)     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (C:\Users\Jason\tutorials\helloworld-webpart\gulpfile.js:4:15)     at Module._compile (internal/modules/cjs/loader.js:778:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)     at Module.load (internal/modules/cjs/loader.js:653:32)     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
I have tried running npm install and npm install<EMAIL_ADDRESS>-save in order to force download the package. However when I do I get a parse JSON error. I've included the snip from the cache_log below:
129 silly fetchPackageMetaData error for<EMAIL_ADDRESS>Unexpected end of JSON input while parsing near '...h-cookie":"^2.2.0","w'
I know some other issues #1380 was related to corporate proxy which is not relevant in my case.
Any ideas?
`
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6c25a90e-829c-b436-d8ab-f9c010588ee1
Version Independent ID: 768fa9a1-2375-fb5a-be58-cb66320cc789
Content: Build your first SharePoint client-side web part (Hello World part 1)
Content Source: docs/spfx/web-parts/get-started/build-a-hello-world-web-part.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

If you haven't done so already, delete your node_modules folder and package-lock.json file and then run npm install again.

@nateforsyth thanks for your suggestions. I went ahead and deleted node_modules folder and package-lock.json and then ran npm install. Unfortunately the issues still persists.
The next thing I tried was to manually add the @microsoft/sp-build-web via npm install<EMAIL_ADDRESS>and get the same parse JSON error. I've attached the full debug log.
When I run npm outdated it still shows all of my @microsoft/XX dependencies and devDependencies are missing. I'm assuming this is because the @microsoft/sp-build-web has thrown an error. I went ahead and manually installed all dependencies but still get can not install:
<EMAIL_ADDRESS>or<EMAIL_ADDRESS>`
2019-08-02T13_03_04_310Z-debug.log

Not enough info provided... can you please share your package.json (please just paste the code into the comment, not the actual file). Also, where is your project located? The logs don't make it clear, or it appears you are creating the project within your Node.js install path... which is not recommended.
You shouldn't have this issue... something else is going on.
Can you provide additional details and context to help assist with your issue? Things that always help to post with every issue include:

SharePoint environment (on-prem / SP 2016 / SP 2019 / SharePoint Online)
If SharePoint Online, is tenant configured for standard / targeted release
SPFx version
NPM & Node version

As always, any code you can provide and/or screenshots of the issue also help. The easier you can make it to reproduce the issue, the easier and quicker it is for someone to help you.


RFE: add new command line options and a new util from HPE fork

From latest HPE code(HPE_StoreOpen_Software_3.4.2_Source_Z7550-02501.tar.gz), unofficial repo: https://github.com/nix-community/hpe-ltfs

src/utils/ltfsck.c:

-w, --list-open-files
-c, --count-open-files
-F, --Force
-P, output rollback points formatted for a pipe process

src/utils/mkltfs.c:
-g, --interactive

src/utils/unltfs.c - "unformat" an LTFS volume

Unformat feature is already implemented by -w option of mkltfs.
    -w, --wipe
           Restore the LTFS medium to an unpartitioned medium (format to a legacy scratch medium)


Can't install gulp-sass, node-gyp error despite everything up to date.

Hi, I am on a windows environment. I have the latest nodejs installed (v15) and installed manually all latest version of node-sass  and node-gyp:
  "devDependencies": {
    "gulp": "^4.0.2",
    "node-gyp": "^7.1.2",
    "node-sass": "^5.0.0"
  }

I have installed both python2 and python3
When I try to install npm install gulp-sass --save-dev I receive the following error:
npm ERR! code 1
npm ERR! path C:\code\...\node_modules\gulp-sass\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c "node scripts/build.js"
npm ERR! Building: C:\Program Files\nodejs\node.exe C:\code\...\node_modules\gulp-sass\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\code\\T...\\node_modules\\gulp-sass\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb `which` failed Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (C:\code\...\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (C:\code\...\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (C:\code\...\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:183:21)
npm ERR! gyp verb `which` failed  python2 Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (C:\code\...\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (C:\code\...\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (C:\code\...\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at C:\code\...\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:183:21) {
npm ERR! gyp verb `which` failed   code: 'ENOENT'
npm ERR! gyp verb `which` failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb `which` succeeded python C:\Python39\python.EXE
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                       ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:309:12)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:327:20)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1048:16)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\code\\Team\\...\\node_modules\\gulp-sass\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd C:\code\...\node_modules\gulp-sass\node_modules\node-sass
npm ERR! gyp ERR! node -v v15.0.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR!      C:\Users\Thomas\AppData\Local\npm-cache\_logs\2020-11-03T10_56_30_108Z-debug.log

I don't understand why gyp still says it uses<EMAIL_ADDRESS>in npm ERR! gyp info using<EMAIL_ADDRESS>and why it still uses python2 scripts.
I have tried to start from scratch (removed all my node_modules folder), reinstalled gulp locally from scratch and now I just want to install gulp-sass.
I have searched the node-gyp and node-sass repos for related issues without success...
It really seems to be a problem related to node-gyp and not gulp-sass, but as I have installed both them as dev dependencies, and the problem now occurs only when trying to install gulp-sass, I have decided to open an issue here.
Feel free to ask for more details.
Thanks,

Looking at the dependency tree this is because gulp-sass depends on node-sass, which says it's deprecated (though new node-sass versions have an up-to-date node-gyp dependency).

Looking at the dependency tree this is because gulp-sass depends on node-sass, which says it's deprecated (though new node-sass versions have an up-to-date node-gyp dependency).

This is why I explicitly installed "node-sass": "^5.0.0" which is the latest version. But maybe it is not sufficient ?

I created a fork of gulp-sass that doesn't list node-sass as a dependency at all:
https://yarnpkg.com/package/@selfisekai/gulp-sass
https://www.npmjs.com/package/@selfisekai/gulp-sass
https://git.sakamoto.pl/selfisekai/gulp-sass

Having the same issue with.
node -v v15.5.0
node-gyp -v v3.8.0

Having the same issue with.
node -v v15.5.0
node-gyp -v v3.8.0

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

@tbolon Hi! How you solved this issue?

@tbolon Hi! How you solved this issue?


Make transaction.origin and pdu.origin optional/go away

As per https://github.com/matrix-org/synapse/issues/3816

Worth noting that the spec at one point said that the origin of a transaction is to be overwritten by the sending server's domain name, however this text has gone missing. In the end, it just reinforces the fact that the field should go away.
If/when the change is made, there should probably be a note about origin being a historical field that the server should ignore, otherwise people might make the same mistake as synapse despite the field being missing from the spec.

also: send_join is supposed to have an origin (see https://matrix.org/docs/spec/server_server/r0.1.4#put-matrix-federation-v2-send-join-roomid-eventid), though synapse doesn't actually send it (https://github.com/matrix-org/synapse/issues/8786)

Does this need an MSC to remove?

yes


Update deployment to allow free SQLDB

Update the deployment to allow the use of the Web App + SQL](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/Microsoft.WebSiteSQLDatabase) offering with free SQLDB

I'm looking at this - should just be a simple update of the nether-deploy-db.json with the correct tier specification for SQL. Right?

Cool. Yep, that's my hope :-)

@stuartleeks should the deployment also default to the Free SKU?

Yes, I think so for the quickstart


Use Earth Radios from WGS84

WGS84 World Geodetic System 1984, used in GPS
https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84
soon: EPSG:10176
Used for products from the International GNSS Service (IGS) from 2022-11-27. Replaces IGb14 (code 9378). For most practical purposes IGS20 is equivalent to ITRF2020.

Thank you for your contribution @jenspapenhagen 🚀


Update description to include Icinga?

Jeff,
Since David added support for Icinga, should we call this out more explicitly in the title and description?
-Chris

The title would affect the path ;-) It's a possibility though.


setting preview size from supported size & setting picture size close…

Setting preview size from supported size & setting picture size close it screen size
Avoid crash + preview & picture close it ratio & size.
Thanks for accept pull request.

some logical bug fix.
Thanks.

Hi,
I'm currently using your Ti-Android-CameraView for my appcelerator project, i tried to using your CameraViewProxy.java source code and doing some changes to match with my project, but it shows an error.
(Sending event: exception on thread: main msg:java.lang.NullPointerException: Attempt to read from field 'int android.hardware.Camera$Size.width')
Can you please give me some advice or can you share with me your java source code?
Thank you very much, hope to get your reply soon.
Chris Pang<EMAIL_ADDRESS>

Hi Chris,
This repository is the full java source code for the module. If you provide more details (device model, module version number, sample code) over on this issue thread I can look into it for you.
Regards


Missing Documention Clone Function

Recently I noticed that the Clone Function doesn't have any information, no docs, nothing.
I noticed this because I was using a query inside a range, and for each cycle the query was appending the next value. A friend of mine has to explain me how the Clone Function works.
Thanks.

@alphonse927 Do you want to work on this one? :)

Fixed with #107.


[e2e]: go push branch1 config-ldflags slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8550046018
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Thu Apr  4 06:11:01 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8565767974
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Apr  5 06:13:30 UTC 2024
Tests are passing now. Closing this issue.


Validator: OpImageQuerySize validation (#1538)

Validation of OpImageQuerySize is missing that is a TODO. This
commit implements its validation based on the spec.

Rebased and pushed into master as 37c99ab7e5a71bdae88a1e7b4db74c61ea13313f


Implement SA1122 diagnostic and code fix

Fixes #55

Can you add the following tests? I believe they would fail with the current code.

A string literal passed as the argument to an attribute.
A string literal which is assigned to a const field or local variable.

Thanks! By the way, make sure to comment after updating or it won't notify me. :+1:


linking method produces error

Request is

curl -X POST --header 'Content-Type: text/plain' --header 'Accept: text/turtle' -d 'Berlin' 'https://api.freme-project.eu/current/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=link'

I get

{
"exception": "eu.freme.common.exception.ExternalServiceFailedException",
"path": "/e-entity/freme-ner/documents",
"message": "We apologise for some inconvenience, but seems that the server is to busy too answer your request. Could you please try again in some minutes? Thanks ",
"error": "Bad Gateway",
"status": 502,
"timestamp":<PHONE_NUMBER>166
}

with the mode "all" there is no issue.

The behaviour is different when I try the request: The request takes forever and does never finish. But I get a bug also.

@fsasaki : mode spot, link, classify enabled in FREME-NER dev. Could you please test again?
Thanks

it works on FREME dev. On live it does not yet work. Should we keep this open for FREME live? @jnehring

I will leave the issue open to check again after next release if it is also fixed on live.

The bug is fixed on dev, but even after the release the curl request does not work on freme-live.

Can you try to do the same what Sandro did for FREME dev -> enable spot, link, classify

What should I do exactly? Is this a configuration option?

Hm... actually I think I did not release freme-ner. Maybe this is the issue.

The problem still happens on freme-live although I released FREME ner.

curl -X POST --header 'Content-Type: text/plain' --header 'Accept: text/turtle' -d 'Berlin' 'https://api.freme-project.eu/current/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=link'

works, the issue is fixed, closing the issue


WIP: Generate multi block proof

Needs commits https://github.com/mit-dci/utreexo/pull/338 and https://github.com/mit-dci/utreexo/pull/339 merged in the utreexo library for this branch to pass tests.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

401 of 656 (61.13%)  changed or added relevant lines in 7 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.3%) to 54.712%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

blockchain/validate.go
0
1
0.0%

server.go
0
1
0.0%

blockchain/chain.go
0
2
0.0%

blockchain/utreexoviewpoint.go
0
52
0.0%

blockchain/indexers/utreexoproofstats.go
205
300
68.33%

blockchain/indexers/flatutreexoproofindex.go
194
298
65.1%

Files with Coverage Reduction
New Missed Lines
%

blockchain/utreexoviewpoint.go
1
8.48%

connmgr/connmanager.go
2
85.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
26728

Relevant Lines:
48852

💛  - Coveralls


Fforres/fix spellchheck typo

Small typo en spellcheck Prop on textArea
Fixing height to receive a number on Segmented Control (I'm not sure on this one, should it be both as in CornerDialog? considering we can pass 50vh as well as 22 for pixels ? cc @jeroenransijn  )

I think height needs to be a number here because it's used in calculations: https://github.com/segmentio/evergreen/blob/7f0a6bd3485ce529e70de20acff4e49803069846/src/segmented-control/src/SegmentedControlRadio.js#L75-L76


Where is TEAL v3 support on the roadmap?

Where is TEAL v3 support on the roadmap?

It has the highest priority for  next release of AlgoDEA. I will start working on that  soon.

perfect - and awesome job on the plugin


Should it be possible to put a file at the root url?

Currently, it is possible to put a file at the root of a hyperdrive, so that hyper://PUBLIC-KEY points to a file (while hyper://PUBLIC-KEY/ points to the root directory). I think this is an extension of #40, but this specific case seems highly likely to confuse users.

This should not be possible. Maybe it's taking the / as a file name?

I'll just account for this and throw an error.

To be clear, this means that hyperdrive allows a filename to be the empty string?

Seems so. I think they just take any arbitrary string as the name. Might be worthwhile to open an issue on the hyperdrive-next repo?

Yeah, it seems like allowing a filename to be the empty string is at least an oversight.  I don't know of any other filesystems or HTTP servers that would allow that.

Seems so. I think they just take any arbitrary string as the name. Might be worthwhile to open an issue on the hyperdrive-next repo?

https://github.com/holepunchto/hyperdrive-next/issues/43

I think we added some code to handle this case


[Bug] Random song selection prompts for 2P on AI Battle Mode

It makes possible to have 2 different difficulties between 1P and AI, which should not be possible

I can also confirm that the AI mode allows you to control the 2nd player and "choose" a different difficulty (the AI will use 1P's difficulty regardless).


feat: format options

This PR implements the possibility to use format options, additionally to the simple syntax that was implemented before. If the format is supposed to use a projection, that projection has to be registered via eoxMap.registerProjection(...) beforehand, like this has already to be done for view projections.
Because ol formats are very diverse in their appearance, i have left typing to a minimum, only requiring the "type" (like GeoJSON), and optional properties dataProjection and featureProjection, as i suppose that these will be the most used ones. Format options vary widely, @ts-ignores will be needed for more exotic formats.
example simple format (unchanged):
"source": {
      "type": "Vector",
      "url": "https://openlayers.org/data/vector/ecoregions.json",
      "format": "GeoJSON",
    },

example format with options:
"source": {
      "type": "Vector",
      "url": "https://openlayers.org/data/vector/ecoregions.json",
      "format": {
            "type": "GeoJSON",
            "dataProjection": "EPSG:53009"
      }
    },

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added a test related to this feature/fix
[ ] For new features: I have created a story showcasing this new feature
[x] All checks have passed
[x] The PR title follows conventional commit style and reflects the type of change (major/minor/patch, breaking)
[x] The PR title describes the change within this element (each merged PR equals one entry in the element's changelog!)

closes #999

I can use the eoxMap.setAttribute("projection", "..."); to set correctly the projection for the entire map i have registered.
But when i use the format dataprojection parameter for a vector source it does not seem to be applied at all, not sure what the issue is, any ideas @RobertOrthofer ?


Update Translations

Hi @boxmoji, thanks for the pull request. Before we can merge it, we need you to sign our Contributor License Agreement. You can do so electronically here: http://opensource.box.com/cla
Once you have signed, just add a comment to this pull request saying, "CLA signed". Thanks!


[Transaction] ignore the txnMessageAckTest

[Transaction]Delete transaction marker implement #8318 depend on [Transaction] TransactionBuffer Refactor #8347, so ignore the txnMessageAckTest, when one of them merge, other one can open the  txnMessageAckTest again

close via #8347


Microsoft PC Manager <IP_ADDRESS> Free Download Full Activated

It is a maintenance app that offers super-fast virus removal, a one-click speed boost, and a complete system security check. It is designed to keep your PC running smoothly through several maintenance and security features. The Boost feature cleans your temporary files and improves your memory usage.


Spies not returning values from method calls

I am spying on an instance like this:
const runner: Runner = new Runner()
const spyRunner = spy(runner)
when(spyRunner.myFunc()).thenReturn(10000)
expect(spyRunner.now()).to.equal(10000)

The test fails with:
expected { Object (methodStubCollection, matchers, ...) } to equal 10000
It seems that invoking the method is not returning the desired result, but some transient object. Also, if I call another method that I have not setup with "when", I get the same type of object back.
What am I doing wrong?

Ah. I didn't see that you actually do your expectations on the real object (not the spy). May be worth noting in the docs as I believe this is a difference from Mockito.


[CELEBORN-1666] Bump scala-protoc from 1.0.6 to 1.0.7

What changes were proposed in this pull request?
As title
Why are the changes needed?
The version 1.0.6 is outdated and not available on Maven Central.
https://mvnrepository.com/artifact/com.thesamet/sbt-protoc_2.12_1.0
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass CI

thanks, merging to main(v0.6.0)/branch-0.5(v0.5.3)/branch-0.4(v0.4.3).


Clean up fieldsim script

The fieldsim script is a bit of a mess from me playing with features. Can someone clean it up, add some comments, and add a docstring to each function?
It is located at src/main/python/fieldsim/fieldsim.py
I would also like to add pylint support to the project, but this can be done later.

Pushing back to week 2


fix typo

Thanks @ThomasOrlita, Google translate checks out perfectly on this as well 👍

Please open this merge request against https://gitlab.com/gitlab-org/gitter/gitter-translations

Heads-up, just noticed this was also fixed in https://gitlab.com/gitlab-org/gitter/gitter-translations/merge_requests/56/diffs#f35ba118944d6739af0ef9af90367f8c8a09e09a_20_19


Use pipeline artifacts instead of build artifacts

This simply changes the pipelines to use "Pipeline Artifacts" instead of "Build Artifacts". Basically two different implementations of the same general concept.
This brings the "Publish Build Artifacts" step of the pipeline from ~9 mins (~20% of the pipeline time) to ~20 secs. This also brings the "Download artifacts" step of the UI tests job from ~3 mins to ~1:20. So total this change speeds up the overall pipeline execution by ~15%.
Compare the existing: https://dev.azure.com/ms/PowerToys/_build/results?buildId=559316&view=logs&j=0f660c0a-4423-5c5d-276b-f98b39c69e13&t=be2e0fe3-12af-5e69-3062-a884288b2c3e

With the new: https://dev.azure.com/ms/PowerToys/_build/results?buildId=559377&view=logs&j=8051a522-456e-5530-e7a5-d1cd88f6bb77&t=0f481525-d1c6-4f2f-81b2-c139993c688c

ooo, this is monnnnnney