Need to concatenate styles before running Sass?

Is there a way with brunch to concatenate all the .scss files before running them through the sass plugin? And then using the order: before: to put the "sass dependencies" (variables, mixins, etc...) at the top of the file...
I'm trying to migrate a project from folders by type to folders by feature. Read: https://github.com/borisschapira/brunch-with-a-sassy-zigzag/tree/master/app
But given that the styles were setup as folders by type under a styles folder with partials I need more fine grained control over how the styles are being handled.
I want to concatenate all sass files first starting with a dependencies file that imports a couple variables files. then run sass on the output of that then put that file into the public directory? Thoughts?

Don't want to search for it, but this has been requested in the past. Brunch is not currently set up to allow for pre-compile concatenation. Might be possible with a clever plugin, but it's probably an uphill battle.


Deploy to Neon EVM Mainnet

Chain Name
Neon Mainnet
Chain ID
245022934
RPC URL
https://neon-proxy-mainnet.solana.p2p.org
Block Explorer URL
https://www.neonscan.org
Deployment Funds
Yes

https://neonscan.org/tx/0xa1efdb11a716d0e20a6c628199835cc1805a2573e101b67e0f39f6eda4e5569c

Done, thanks!

Amazing thanks again!

@mds1 Would it be possible to verify the source code please? Thanks in advance!
Endpoint for verification:
https://api.neonscan.org/hardhat/verify

You can find verification instructions here: https://github.com/mds1/multicall#contract-verification :)

Worked a treat, thank you!


Error in Menu.exportVbProject: error number 50012

When trying to export the code this error pops up, saying that the method "export" of object "_VBComponent" failed.
Is this a problem of environment, app, excel,my application,...?
I am running Excel 16 with Windows 7 Enterprise

Got it myself. Naming "aux" one of the modules can't be done because Windows has that namespace reserved. By changing my auxiliar module's name it worked like a charm


Update use-aadhttpclient.md

I removed the NOTE starting on line 62 of the markup because it is confusing in the context of the placement.  We never actually give an example of using the ObjectID to request permissions, and instead focus primarily on the use of the Application Name to request permissions, and in the case of the Application Manifest, we even call out that you CANNOT using the ObjectID.  The only example we give of using the ObjectID is to REVOKE permissions.
I also, slightly changed the verbiage in the numbered item 5 in that section.  Probably someone should review this and if there was a legitimate need for the note and the comment about using ObjectID to request permission scopes, rephrase it, because it has confused at least one customer who thought the note referred to how to construct the AadHttpClient in the Typescript code.
Category

[x] Content fix
[ ] New article

What's in this Pull Request?
Removed a note that caused one of my customer quite some confusion and slightly changed some verbiage to make it more consistent with the guidance in the rest of the article.

Closed due to no response.


No permission to modify defaults.json

I tried to update defaults.json, but no permission to save.
tried to change the permission of WindowsApps folder or defaults.json itself, but still did not work.
any easy way to update defaults.json?
thx

misunderstood guide from Terminal Doc
"Included color schemes
Windows Terminal includes these color schemes inside the defaults.json file, which can be accessed by holding alt and selecting the settings button. If you would like to set up a color scheme inside one of your command line profiles, add the colorScheme property with the color scheme's name as the value."
Actually, there is no need to modify defaults.json. Modify Settings.json directly will do the work.


Use app token for auto-merging bot PRs when CI passes.

I don't think there's a tox-pytest action in here yet, so this won't ever run. But it'll be good to have once that workflow is set up.

the force-push was just a rebase onto main which should fix the pre-commit.ci failure.


How to disable tooltips in result tabs?

System information:

Operating system (distribution) and version: Windows 10
DBeaver version: 7.1.4

Connection specification:

Database name and version: MySQL 5.7

Describe your question:
Hi. Is there a way to disable result tab tooltips?
They prevent making a comparison while switching between result tabs obscuring the query results.

It is not implemented yet, we will try to do it.

I would like to see this implemented as well.  I find the tooltip generally useful, but agree with @coldenol it can get in the way.
A potentially simple solution would be a way to dismiss it after it comes up (ESC key?).  If it's to be an option in preferences, personally I'd appreciate the option to add it to the result tab context menu so it's still easy to access.

These tooltips should be possible to disable. As said above, they are in the way when comparing different result tabs.

I agree, it would be nice to hide it.
OR
Increase delay to show it.
OR
To display it ONLY when Ctrl on keyboard is pressed (set it as default).
If Ctrl is not pressed = don't display it.
This would still allow users to display it when necessary.
Hint on the close button X - remove completely because it doesn't bring any value for a user.


Can i render the tooltip on root container scope, not in the component where the tooltip eventable element located?

I need the tooltip to be over  some neightbors divs (sidebars headers, or other components from other scope, that for some reasons has another z-index, fixed positions or something).
I there the way to force the tooltip component be appended to most parent html scope , so the tooltip will overlap other components?
And allow keep the tooltip event caller element in deep child components as usual.

@jiskreq did you ever find a workout for this?

We still need this feature! Or has that already been implemented?

@globad this is an issue from 2019, related to v4 or less.
Please take a look at our docs related to v5.
Thanks!


[update] Stabilize spec

Coverage decreased (-2.4%) to 69.374% when pulling ce78b63a0e2feb7128699310dfd28faac142867e on tany:dev into 2b5bf710ab663441c76e44e1a0458cf0ba600ad6 on shirasagi:master.


支持直接通过注册中心读取配置

fixed 537

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@a865449). Click here to learn what that means.
The diff coverage is 54.63%.

@@          Coverage Diff           @@
##             dev     #698   +/-   ##
======================================
  Coverage       ?   68.41%
======================================
  Files          ?      446
  Lines          ?     8499
  Branches       ?     1363
======================================
  Hits           ?     5815
  Misses         ?     2366
  Partials       ?      318

Impacted Files
Coverage Δ

...n/internal/OrchestrationMasterSlaveDataSource.java
100% <ø> (ø)

...bc/orchestration/internal/OrchestrationFacade.java
76% <ø> (ø)

...estration/yaml/YamlOrchestrationConfiguration.java
0% <0%> (ø)

...on/spring/datasource/SpringShardingDataSource.java
0% <0%> (ø)

...spring/datasource/SpringMasterSlaveDataSource.java
100% <100%> (ø)

...ser/AbstractOrchestrationBeanDefinitionParser.java
100% <100%> (ø)

...tion/internal/OrchestrationShardingDataSource.java
100% <100%> (ø)

...api/OrchestrationMasterSlaveDataSourceFactory.java
41.93% <26.31%> (ø)

...on/api/OrchestrationShardingDataSourceFactory.java
57.44% <26.31%> (ø)

.../OrchestrationMasterSlaveDataSourceFacoryBean.java
62.5% <62.5%> (ø)

... and 4 more

Continue to review full report at Codecov.

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

This function is on 3.x, but not on 2.x


Jsonschema>=3.0.0 support in releases?

Description
I see in #1050 that support for jsonschema >=3.0.0 was merged into master back in 2019, but was never part of any PyPI release. Is there a reason for that? It's causing problems for my package that requires both openapi-core (which requires jsonschema>=3.0.0) and connexion requiring less than 3.0.0, and it seems like one should be able to have a project that uses both...
Thanks!

I totally agree. This is a total show stopper in the real work of software production. I've hit a wall with this.

Hi @daisieh @RichardBruskiewich
As far as I can tell, these changes are part of the 2.7 release. Installing connexion==2.7.0 also installs jsonschema==3.2.0 for me.
Closing this for now, but feel free to reopen if you can provide some more info indicating that this is a connexion issue.

Hello @RobbeSneyders,
I don't know... I ultimately had to do a deep dive on Connexion to make it work for my application. I forked connexion to apply a  mix  of unmarked patches to make it work  for my use cases: https://github.com/STARInformatics/connexion.git@fix-urlencoded-body-parameter-parsing. I don't recall if this issue related to my effort  at that time to make things  work, or  to an earlier  attempt.  I have substituted this fork into my system but will likely need to review if connexion has been fixed thus  the main release, usable  for my  system.
Cheers
Richard

Thanks for the info @RichardBruskiewich. Feel free to submit patches as PRs if you think they would benefit connexion as a whole.


Using the aliases of builtin types like np.int is deprecated¶

Describe the bug
Using the aliases of builtin types like np.int is deprecated¶
Details here: numpy 1.20 deprecations
To Reproduce
Steps to reproduce the behavior:
update numpy to v1.20 or above, then get:
D:\app\Miniconda3\envs\adv\lib\site-packages\art\estimators\pytorch.py:167: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe.

System information (please complete the following information):

OS win10
Python version 3.8
ART version 1.7.0
TensorFlow / Keras / PyTorch / MXNet version

Hi @konosubakonoakua Thank you very much for using ART and proposing this improvement! We'll include it in one of our upcoming releases!


没怎么用过python

Traceback (most recent call last):
File "test.py", line 1, in
from toapi import XPath, Item, Api
File "/Library/Python/2.7/site-packages/toapi/init.py", line 2, in
from toapi.item import *
File "/Library/Python/2.7/site-packages/toapi/item.py", line 17
class Item(metaclass=ItemType):
^
SyntaxError: invalid syntax

You are using python2.7, toapi only supports python3.5 +, maybe this https://github.com/gaojiuli/toapi/pull/6 will help you


Generated JavaScript has unnecessary amd dependency

TypeScript version 1.8.9
Code
File 1
export const enum Foo {
    Bar
}

FIle2.ts
import file1 = require("./file1");
var x = file1.Foo.Bar;

Generated JavaScript File2.js
Expected behavior:
define(["require", "exports"], function (require, exports) {
"use strict";
var x = 0 /* Bar */;
});
Actual behavior:
define(["require", "exports", "./file1"], function (require, exports, file1) {
"use strict";
var x = 0 /* Bar */;
});
It would be great if file2.js doesn't pull in file1.js as a dependency.
We noticed this happens when we use const enums.

Looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/4690.

as a workaround consider using:
import {Foo} from "./file1";


Failing to understand how to add accessories

I have homebridge running with sampleplugin. It seems like the sampleplugin exposes some kind of add method, however I am not seeing it on my device (I see homebridge, no accessories)
My config:
"accessories": [],
"platforms": [
	{
		"platform" : "SamplePlatform",
		"name" : "Sample"
	}
]

My goal is to write a plugin:
homebridge-lights
and then via the config to add multiple accessories for it, like:
{
	"accessory": "lights",
	"name": "1st Floor livingroom light",
	"id": 200
},
{
	"accessory": "lights",
	"name": "2nd Floor livingroom light",
	"id": 204
}

But it seems like I am missing a step, and the documentation doesn't really help for this part.

Best example project: https://github.com/schemish/homebridge-fakebulb


Hydration failing with DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.

Describe the bug
When using a sveltekit project with the new svelte 5 preview, I'm getting a hydration error when trying to pass child elements. This error occurs both when using <slot/> and {@render children()}.
This only seems to occur if a few conditions hold:

The child elements contain one of td, tr, th, tbody, tr, thead
You render the child elements in a #each block

Reproduction
Here's a stackblitz reproduction of the problem: https://stackblitz.com/edit/sveltejs-kit-template-default-xzcrsi?description=The default SvelteKit template, generated with create-svelte&file=package.json,src%2Froutes%2FTable.svelte,src%2Froutes%2F%2Bpage.svelte,src%2Fapp.d.ts&title=SvelteKit Default Template
After opening the stackblitz link, open devtools and note the error message.
Basic reproduction steps:

Have a component that uses either <slot/> or {@render children()}
Create an instance of that component
For the children of that instance, use a #each block, rendering any table element (td, tr, etc)
You should see the error in the console

Logs
chunk-E4357WXT.js?v=176774cb:3494 Hydration failed because the initial UI does not match what was rendered on the server. DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
    at Module.child (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:162:12)
    at https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/src/routes/+page.svelte:31:19
    at https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:2856:7
    at execute_signal_fn (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:3794:7)
    at execute_effect (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:3898:31)
    at schedule_effect (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:3961:5)
    at internal_create_effect (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:4372:5)
    at render_effect (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:4440:10)
    at each_item_block (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:2853:19)
    at reconcile_indexed_array (https://sveltejskittemplatedefaultxzcr-nwsl-ybr6fjpf--5173--420f2654.local-corp.webcontainer.io/node_modules/.vite/deps/chunk-E4357WXT.js?v=176774cb:585:17)
mount @ chunk-E4357WXT.js?v=176774cb:3494
createRoot @ chunk-E4357WXT.js?v=176774cb:3422
Svelte4Component @ chunk-E4357WXT.js?v=176774cb:5079
(anonymous) @ chunk-E4357WXT.js?v=176774cb:5058
initialize @ client.js?v=176774cb:288
_hydrate @ client.js?v=176774cb:1836
await in _hydrate (async)
start @ start.js:22
(anonymous) @ (index):27
Promise.then (async)
(anonymous) @ (index):26

System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.9.2 - /usr/local/bin/pnpm
  npmPackages:
    @sveltejs/adapter-auto: =2.1.1 => 2.1.1
    @sveltejs/kit: =1.27.4 => 1.27.4
    svelte: =5.0.0-next.4 => 5.0.0-next.4
    vite: =4.4.0 => 4.4.0

Severity
blocking an upgrade
Additional Information
No response

This is probably a table-browser-auto-inserts-thead/tbody hydration mismatch thing

@dummdidumm I've managed to get the same error, this time using only  elements, this time nesting the elements.
Here's the recreation:
https://stackblitz.com/edit/sveltejs-kit-template-default-8bn5tx?description=The default SvelteKit template, generated with create-svelte&file=package.json,src%2Froutes%2F%2Bpage.svelte,src%2Froutes%2FDiv.svelte&title=SvelteKit Default Template

I have a similar problem. I have an SEO component that writes something to svelte:head, and in the same component, I am loading three other components that do the same, so all four are writing something with svelte:head.
error: RR_SVELTE_HYDRATION_MISMATCH: Hydration failed because the initial UI does not match what was rendered on the server. Error: this={...} of svelte:component should specify a Svelte component.

I have the same errors with Svelte 5.0.0-next.1 in Sveltekit,

Similar behavior with mode-watcher.
It injects some Script into the head, which is likely the reason.
An issue exists, which has been closed "as there is supposed to be backward compatibility".

FWIW, I'm getting this error now always (not even just SvelteKit, but all forms of hydration) since next.179 (next.178 is last working version for me)

this bug was cause by the following, which made no sense. even stranger: i couldn't reproduce locally, just on remote. even after trying with pnpm run preview or node -- build/index.js
import Envelope from 'phosphor-svelte/lib/Envelope'
<Envelope
    class="ml-1 inline-block transition-transform duration-100"
    color="currentColor"
    size={24}
    weight="bold"
/>

i got this issue when using sveltekit2 and svelte5 for video tag

Various bugs related to hydration have been fixed over the past few months/weeks. Specifically the mentioned nested component divs and head issues should be resolved. What's still not working is recovering from auto-inserted elements (like omitting the tbody tag in a table).
From those who have contributed to this thread - can you please check if your issues still occur with the latest version, and if so, provide a reproduction (via Stackblitz for example)?

I just tested the original reproduction with the newest versions and get the following errors:
Firefox: Uncaught (in promise) DOMException: Node.appendChild: Cannot add children to a Text
Chrome: Uncaught (in promise) DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
which could be possibly related to: https://github.com/sveltejs/svelte/issues/12422
Reproduction: https://stackblitz.com/edit/sveltejs-kit-template-default-ea4j8x?file=package.json

I still got the bug

@Coronon your issue is related to the HTML being invalid, in the sense that the browser needs to repair the DOM, which means the DOM structure is different to what Svelte expects while hydrating, resulting in that error. If you change your Table.svelte file like this:
+

+

+

        <slot />
+

+

+

it will work.
@ryoppippi please provide a reproduction (or point to an existing one which you refer to)

@dummdidumm I try to create a minimal reproduction later, but I'm facing this error with this repo
https://github.com/ryoppippi/sveltweet
so
git clone https://github.com/ryoppippi/sveltweet
pnpm i
pnpm dev

Then go to http://localhost:5173/examples and refresh the page

I just encountered the issue while toying around with slot snippets in a table. The error message should probably contain a bit more detail as to what caused it.

https://github.com/sveltejs/kit/pull/13056 was just released in<EMAIL_ADDRESS>. Are people still having this issue?

Getting this error in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I'm not using slot anywhere.

Getting this error in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I'm not using slot anywhere.

This is due to a svelte bug, which is being solved in sveltejs/svelte#14589

Getting this error in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I'm not using slot anywhere.

This is due to a svelte bug, which is being solved in sveltejs/svelte#14589

oh thanks, I was getting mighty confused!


[presto_check] Changed the failure condition for presto_check

I think this make more sense. It will fail if any cell evaluates to
False.
@mistercrunch

LGTM


Manifest expansion errors

Hi,
in recent days I've a manifest that return some errors on expansion. For examples:
- code: MANIFEST_EXPANSION_USER_ERROR
  location: /deployments/resources/manifests/manifest-1529498015415
  message: 'Manifest expansion encountered the following errors: Output of the manifest
    expansion is too large on expandedManifest'

- code: MANIFEST_EXPANSION_TOO_MUCH_CPU
  location: /deployments/resources/manifests/manifest-1529498248676
  message: Manifest expansion used too much CPU

Is an issue that I can avoid or I've to take some workaround (for example split in two deployments)?

Hi,
It seems like your template is too big or requires more compute than we allow for a single expansion. As the bounds are per-expansion I believe splitting this in to two deployments would avoid the issue for you.
Were you able to deploy the same templates in the past without this issue?

Hi,
I was able to deploy the same deployment in the past, but it was made up of fewer resources.
It's a deployment that manage the dataset and tables of our BigQuery and use composite types, so it could become quite big.
Splitting it resolve the issue (obviously)
Thanks


Create setting-a-backup-email-address.md

My Gmail account

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Please help me my gmail account all working parmesan

Please help me


Can limit DurationInterceptor reply message?

I request other api url in my service,  this trigger ClientInterceptors DurationInterceptor, But the reply message is over 10M. this cause the log file very large.

Duplicate #2323


Non-dict return value support for jinja

Changes:

Jinja now supports non-dict route return values by default. The conversion from such values to valid Jinja contexts (dict) is done by JinjaContextFactory methods with default implementations in JinjaContext.
It's possible to set the default Jinja context factory through the Jinja.make_context property.
It's possible to override the Jinja instance's context factory on a per-route basis using the make_context argument of the decorator.
Jinja got a new hook method _make_response() for response customization.
Updated the documentation to highlight these features.

@volfpeter Great work. Small suggestion: Instead of using class names like Jinja that may cause confusion, can we call it something like HxTempl to differentiate? It won't matter much to the code, but makes the discussions easier. Also can you please give a quick example of how to set response cookies with this new update?

Small suggestion: Instead of using class names like Jinja that may cause confusion, can we call it something like HxTempl to differentiate?

The short answer is no. This lib is not a Jinja-specific one, so calling the Jinja-related classes anything else would be confusing. This would also be a breaking change, which I'd avoid as long as possible. If you prefer different names, you can alias these names in your imports.

Also can you please give a quick example of how to set response cookies with this new update?

I don't recommend doing it, but here is pattern:
def get_cookie_updates() -> dict:
    # FastAPI dependency that returns an object that describes the changes you'd like to make to the response cookies
    ...

class JinjaWithCookieUpdate(Jinja):
    def _make_response(
        self,
        template_name: str,
        *,
        jinja_context: dict[str, Any],
        request: Request,
    ) -> HTMLResponse:
        result = super._make_response(template_name, jinja_context=jinja_context, request: Request)
        if "cookie_updates" in jinja_context:
            # TODO: make the cookie changes on result
            ...
        return result

jinja = JinjaWithCookieUpdate(
    templates=Jinja2Templates("templates"),
    make_context=JinjaContext.unpack_result_with_route_context
)

@app.post("/something")
def something(cookie_updates: dict = Depends(get_cookie_update)):
    return None


App is not working on Nexus 6

When an app is installed in Nexus 6 device, UI components are loaded but the camera is not displayed.
After few sec app shut down without any error message.
08-01 16:13:41.656 9475-9502/com.example.android.camera2basic I/OpenGLRenderer: Initialized EGL, version 1.4
08-01 16:13:41.698 9475-9475/com.example.android.camera2basic I/CameraManagerGlobal: Connecting to camera service
08-01 16:13:52.852 9475-9475/com.example.android.camera2basic E/BufferQueueProducer: [SurfaceTexture-0-9475-0] connect(P): already connected (cur=4 req=4)
08-01 16:13:53.258 9475-9475/com.example.android.camera2basic W/CameraDevice-JV-0: Stream configuration failed
08-01 16:13:53.259 9475-9475/com.example.android.camera2basic E/CameraCaptureSession: Session 0: Failed to create capture session; configuration failed

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Communication: Allow users to preview links sent in a post

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I followed the coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[x] I translated all newly inserted strings into English and German.

Motivation and Context

Artemis does not support link previewing within a post/message. The implementation of a link preview feature in the Artemis would bring significant benefits to the users and enhance their learning experience. Link previews provide users with a visual representation and context of shared web content within messages. By including link previews, Artemis enables users to quickly assess the relevance and credibility of linked resources without having to leave the platform or open multiple tabs in a web browser.
Description

When you paste a URL into a message and press return, Server fetch the URL, cache it, and then start going through the headers by using Facebook Open Graph tags
If nothing meeting the above criteria can be found, no link preview will be shown.
In this PR a New Endpoint is introduced (api/link-preview) where it uses LinkPreviewService to fetch the metadata.
Cache:
Server-Side Caching:

When the API receives a request for URL preview information, it can first check if the information is already available in the cache. If it is, the API can return the cached data instead of performing the extraction process again.  Implemented simply by using @Cacheable(value = "linkPreview", key = "#url", unless = "#result == null")
Advantage: cache can be shared across multiple users and persists even if users refresh or close their browsers.
First Time request takes  ~1second , then if same url is requested it takes ~7-10ms

Client-Side Caching:

We store the URL preview data in the client-side. When a user navigates to a conversation, we can check if the URL preview data for that particular URL is already available in the client-side cache. If it is, we use the cached data instead of making a new request.
Advantage:  If users navigate through the conversations, the client will not send unnecessary request to server.

Steps for Testing

Prerequisites:

2 Users
1 Course with messages enabled

Log in to Artemis
Navigate to Course messages tab
Prepare a message including an external URL (e.g.  https://github.com/ls1intum/Artemis/pull/6616)
Then send the message
You should see below the message a preview of the URL

Review Progress

Performance Review

[ ] I confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Client

Class/File
Line Coverage
Confirmation (assert/expect)

link-preview-container.component.ts
95.45%
✅

link-preview.component.ts
100%
✅

link-preview.service.ts
100%
✅

linkify.service.ts
100%
✅

Server

Class/File
Line Coverage
Confirmation (assert/expect)

LinkPreviewService.java
100%
✅

Content.java
67%
✅

OgParser.java
86%
✅

OpenGraph.java
85%
✅

OgMetaElement.java
98%
✅

OgMetaElementHtmlParser.java
87%
✅

LinkPreviewDTO.java
100%
✅

LinkPreviewResource.java
100%
✅

�
Screenshots

Link Preview in a message

Codecov Report

Merging #6616 (35d33f7) into develop (ffebd27) will increase coverage by 0.00%.
The diff coverage is 85.22%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #6616    +/-   ##
===========================================
  Coverage      80.37%   80.38%
- Complexity     13913    13944    +31
===========================================
  Files           2448     2460    +12
  Lines          93343    93492   +149
  Branches       13104    13116    +12
===========================================
+ Hits           75028    75156   +128
- Misses         10088    10099    +11
- Partials        8227     8237    +10

Impacted Files
Coverage Δ

...ain/java/de/tum/in/www1/artemis/domain/Course.java
86.98% <ø> (ø)

...n/java/de/tum/in/www1/artemis/domain/Exercise.java
85.89% <ø> (ø)

...um/in/www1/artemis/domain/ProgrammingExercise.java
86.36% <ø> (ø)

.../main/java/de/tum/in/www1/artemis/domain/User.java
85.71% <ø> (ø)

.../in/www1/artemis/domain/competency/Competency.java
82.14% <ø> (ø)

.../artemis/domain/competency/CompetencyProgress.java
56.41% <ø> (ø)

.../artemis/domain/competency/CompetencyRelation.java
64.51% <ø> (ø)

.../artemis/domain/competency/CompetencyTaxonomy.java
40.90% <ø> (ø)

...m/in/www1/artemis/domain/lecture/ExerciseUnit.java
93.33% <ø> (ø)

...um/in/www1/artemis/domain/lecture/LectureUnit.java
92.30% <ø> (ø)

... and 36 more

... and 3 files with indirect coverage changes

Flag
Coverage Δ

client
76.14% <87.17%> (+0.01%)
:arrow_up:

server
84.96% <83.67%> (-0.01%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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

Dark mode is not very legible (which I assume is happening becuase of local implementation of it?) ,

Dark mode did not work because i accidentally embedded background color in scss so it should be fixed now.  👍

Could this possibly be used maliciously? (Maybe having a whitelist of websites that are processed might be good in order to not have all images automatically added by Artemis)

I am not quite sure what you mean by maliciously but i just extract information from meta tags, those meta tags with og (open graph), the image as well is from the external website it self.  I just get the string informations and show in the client side. One concern could be if the url is an url that we dont want to show the images or even the preview at all.
And its a good idea to have a whitelist of websites but this can be addressed in a follow-up PR which can be thought more extensively.


There is no way to validate nested maps in case of type fn

Problem
Some of our patterns, such as the ones using :with option, take a function and return maps that should also be pullable.
Malli can take a function and check the return value like so:
(m/explain
   (m/schema
    [:map [:a [:=> [:cat :int] :int]]]
    {::m/function-checker mg/function-checker})
   {:a str}) ;; should return int and not string
=> false

For the pattern with options, we also need to validate nested maps and as for now it is not possible:
(m/explain
   (m/schema
    (pattern-schema-of [:map
                        [:a [:=> [:cat :int] [:map
                                              [:b :int]]]]]))
   {(:a :with [1]) {:b '?}})
=>
{:schema ...
 :value {[1] {:b ?}}
 :errors
 ({:path [[1]]
   :in [[1]]
   :schema ...
   :value {:b ?}
   :type :malli.core/extra-key})}

This pattern schema should be valid so option like :with can be validated for nested maps.

Note
This feature is now working except for the case of 0-arity function:
(pull/with-data-schema
    [:map
     [:a [:=> [:cat] :int]]]
    ((pull/query {(list :a :with []) '?}) {:a (fn [] 1)}))
=>
; Execution error (NullPointerException) at malli.core/-tuple-schema$reify$reify$fn (core.cljc:1278).
; Cannot invoke "clojure.lang.IFn.invoke(Object, Object, Object)" because "e" is null

Malli handles this case:
(m/explain
   (m/schema
    [:map [:a [:=> [:cat] :int]]]
    {::m/function-checker mg/function-checker})
   {:a (fn [] 1)})
=>
; nil


use static option to build tagpr binaries

I met issue same as #153
I don't know much about godzil, but from what I've seen of the options, will this work?

Thank you! Sorry for my slow response. I'l release it later

Released as v1.4.1


[Perception] add PublishPerceptionPb() API to output lane marker proto messages

So we intend to publish lane marking here first to check if the whole pipline works only ? (The following modules would only need lane-makers to be active). @jzhuucla


Add marq as medium

Added Marq as medium.
The value of the note key is a link to an article about how to delete your account, as the direct URL to account deletion is individual per user.
Simultaneously removed association between Lucidchart and Lucidpress, as Lucidpress was sold and later rebranded as Marq in 2022.

Thanks for your contribution!


@conda-forge-admin, rerender

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/gf2x-feedstock#16.


add VS Code launch config, recommended extensions

close #16

Hi @mousetraps, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Sara Itani). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Gnome-latex: init at 3.28.1

Motivation for this change
Package request in https://github.com/NixOS/nixpkgs/issues/42261
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

I already discussed in with @Mic92 about the issue of finding mklatex, but it seems like a common thing to leave providing that binary to the user, since we don't want to decide for them which latex distribution they want to use.
Some other packages provide a texLive argument where you can pass it in, but since we don't actually need it for building it seemed overkill.

two more things that worry me are these warnings:
(gnome-latex:26858): Gtk-WARNING **: 14:41:48.496: Locale not supported by C library.
	Using the fallback 'C' locale.

(gnome-latex:26858): dconf-WARNING **: 14:41:48.524: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

Any idea what that means?

The latter is caused by missing dconf service. You would need to add dconf to environment.systemPackages.

OK, thanks a lot for your help, your suggestions made this a whole lot cleaner (and apparently switching to the mirror got rid of the autotools dependency)

I think that's about all I can fix... couldn't make 100% sure the buildInputs/nativeBuildInputs work because my cross-compilation failed for other reasons, but hopefully it's better now.

One more update ;)


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature request: enable SMTP authentication for incoming mail

I would like to enable SMTP authentication (username, password) when configuring MailHog so I can test SMTP interaction with username, password and auth-related failures

If this is a desirable feature I could look into it myself

Please write up a rough plan on how you would implement this, including any UI changes for the web pages and command line flag

@tyndyll  This is a desirable feature - we would host our own mailhog if we could set the smtp password. We need it for our continuous integration and testing. Otherwise we would need to pay for a similar service and they seem to be quite expensive for what they are... Is there no simple way to set the SMTP password using an environment variable - this would be ideal particularly for a Kubernetes environment using secrets.

Any movement on this one? It would be great to be able to secure SMTP via auth. That way we could host our own Mailhog on a publicly accessibly server.

For those needing it badly, you could set up an emailrelay as an incoming SMTP proxy, which supports incoming auth.
Set it up to forward all email to a non publicly reachable MailHog, and you're done.
Just a workaround, but it would be great to MailHog to support it out of the box, indeed.


STG 91 Changelogs

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.Blobs


CPU usage raise up to 100%+ after updated to the latest vscode

It seams that this is a known issue, but the python-language-server works perfectly with old version of vscode.
After updated vscode yesterday, this issue appears......again......
cpu:

OS: MAC 10.14.3

vscode: 1.33.1

python-ext: 2019.4.11987

Can you please give your language server version? It will be listed in the python output panel (the other versions are separate and likely not related as the LS is released separately).
https://github.com/Microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue

Can you please give your language server version? It will be listed in the python output panel (the other versions are separate and likely not related as the LS is released separately).
https://github.com/Microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue

Starting Microsoft Python language server.
[Info  - 下午1:33:01] GetCurrentSearchPaths /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
[Info  - 下午1:33:01] Python search paths:
[Info  - 下午1:33:01]     /private/var/folders/1z/m9416s6150l81qwsftx5kcw40000gn/T/m4flpv1z.gjo
[Info  - 下午1:33:01]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7
[Info  - 下午1:33:01]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/lib-dynload
[Info  - 下午1:33:01]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
[Info  - 下午1:33:01]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
[Info  - 下午1:33:01]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
[Info  - 下午1:33:01]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
[Info  - 下午1:33:01]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
[Info  - 下午1:33:01]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/site-packages
[Info  - 下午1:33:01] Configuration search paths:
[Info  - 下午1:33:06] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 下午1:33:06] Initializing for /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
Process is terminating due to StackOverflowException.
[Info  - 下午6:39:57] Connection to server got closed. Server will restart.
[Error - 下午6:39:57] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:266956)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:267379)
at Socket.emit (events.js:182:13)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Error - 下午6:39:57] Request textDocument/hover failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:266956)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:267379)
at Socket.emit (events.js:182:13)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Error - 下午6:39:57] Request textDocument/hover failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:266956)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:267379)
at Socket.emit (events.js:182:13)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Error - 下午6:39:57] Request textDocument/hover failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:266956)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:267379)
at Socket.emit (events.js:182:13)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Error - 下午6:39:57] Request textDocument/hover failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:266956)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:267379)
at Socket.emit (events.js:182:13)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Info  - 下午6:39:58] GetCurrentSearchPaths /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
[Info  - 下午6:39:58] Python search paths:
[Info  - 下午6:39:58]     /private/var/folders/1z/m9416s6150l81qwsftx5kcw40000gn/T/5ivyuuqr.3xw
[Info  - 下午6:39:58]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7
[Info  - 下午6:39:58]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/lib-dynload
[Info  - 下午6:39:58]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
[Info  - 下午6:39:58]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
[Info  - 下午6:39:58]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
[Info  - 下午6:39:58]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
[Info  - 下午6:39:58]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
[Info  - 下午6:39:58]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/site-packages
[Info  - 下午6:39:58] Configuration search paths:
[Info  - 下午6:40:02] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 下午6:40:02] Initializing for /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
Process is terminating due to StackOverflowException.
[Info  - 下午6:40:13] Connection to server got closed. Server will restart.
[Info  - 下午6:40:13] GetCurrentSearchPaths /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
[Info  - 下午6:40:13] Python search paths:
[Info  - 下午6:40:13]     /private/var/folders/1z/m9416s6150l81qwsftx5kcw40000gn/T/4ps3fmiw.vfd
[Info  - 下午6:40:13]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7
[Info  - 下午6:40:13]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/lib-dynload
[Info  - 下午6:40:13]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
[Info  - 下午6:40:13]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
[Info  - 下午6:40:13]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
[Info  - 下午6:40:13]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
[Info  - 下午6:40:13]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
[Info  - 下午6:40:13]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/site-packages
[Info  - 下午6:40:13] Configuration search paths:
[Info  - 下午6:40:15] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 下午6:40:15] Initializing for /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
Process is terminating due to StackOverflowException.
[Info  - 下午6:40:27] Connection to server got closed. Server will restart.
[Error - 下午6:40:27] Request textDocument/hover failed.
Error: Connection got disposed.
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:111456)
at Object.dispose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187437)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:187612)
at module.exports.t.LanguageClient.handleConnectionClosed (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:253943)
at t (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:185914)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at H (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:103786)
at e.module.exports.e.invoke (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:217771)
at e.module.exports.e.fire (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:218642)
at t.module.exports.e.fireClose (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:263157)
at Socket. (/Users/ivan/.vscode/extensions/ms-python.python-2019.4.11987/out/client/extension.js:1:264217)
at Socket.emit (events.js:187:15)
at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Info  - 下午6:40:28] GetCurrentSearchPaths /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
[Info  - 下午6:40:28] Python search paths:
[Info  - 下午6:40:28]     /private/var/folders/1z/m9416s6150l81qwsftx5kcw40000gn/T/4hspalha.u5n
[Info  - 下午6:40:28]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7
[Info  - 下午6:40:28]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/lib-dynload
[Info  - 下午6:40:28]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
[Info  - 下午6:40:28]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
[Info  - 下午6:40:28]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
[Info  - 下午6:40:28]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
[Info  - 下午6:40:28]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
[Info  - 下午6:40:28]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/site-packages
[Info  - 下午6:40:28] Configuration search paths:
[Info  - 下午6:40:30] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 下午6:40:30] Initializing for /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
Process is terminating due to StackOverflowException.
[Info  - 下午6:40:41] Connection to server got closed. Server will restart.
[Info  - 下午6:40:42] GetCurrentSearchPaths /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
[Info  - 下午6:40:42] Python search paths:
[Info  - 下午6:40:42]     /private/var/folders/1z/m9416s6150l81qwsftx5kcw40000gn/T/kqv3ope5.hde
[Info  - 下午6:40:42]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7
[Info  - 下午6:40:42]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/lib-dynload
[Info  - 下午6:40:42]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
[Info  - 下午6:40:42]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
[Info  - 下午6:40:42]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
[Info  - 下午6:40:42]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
[Info  - 下午6:40:42]     /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
[Info  - 下午6:40:42]     /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/lib/python2.7/site-packages
[Info  - 下午6:40:42] Configuration search paths:
[Info  - 下午6:40:44] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 下午6:40:44] Initializing for /Users/ivan/yotta/yottaweb-reform/yottaweb/venv/bin/python2.7
Process is terminating due to StackOverflowException.
[Error - 下午6:40:59] Connection to server got closed. Server will not be restarted.

0.2.63 is pretty old, the current release is 0.2.74 (the previous being 0.2.66). Can you reload VS Code to trigger an update and retry?

0.2.63 is pretty old, the current release is 0.2.74 (the previous being 0.2.66). Can you reload VS Code to trigger an update and retry?

It seems OK after updated to version 0.2.82. Thanks a lot~~


[11.x]  Optimize TrimStrings middleware

This PR improves how we handle excluded attributes and perform lookups. Before, we were doing array merges in every transform() call:
protected function transform($key, $value)
{
    $except = array_merge($this->except, static::$neverTrim);

So, this version introduces a $exceptCache created once per request.
This version also changed the  $neverTrim from O(n) (in_array($key, $except, true)), to a hashmap O(1) lookups using isset($except[$key]).
Finally, now we're doing an early return if the value isn't string (fast path):
protected function transform($key, $value)
{
    if (! is_string($value) || $this->shouldSkip($key, $this->exceptCache)) {

Since this is a heavily used middleware, I believe these improvements are a good call.

Hey there! We don't merge performance PRs without before / after benchmarks in real-world scenarios. 👍


Fix TOCTOU race conditions

Please provide a description of this PR:
Checking file status before reading it may cause TOCTOU race conditions.
Should try to read the file directly and return error if file does not exist or cannot open file.

Hi @bochengchu. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@bochengchu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
0e79a87b2510d050826a9c3e454b3321934d712d
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[Dump] [CB2S - BK7231N] Pegant PG3451 3-Outlet Smart Power Strip + PD

dump_pegant.zip

Thanks, added as Pegant PG3451 3-Outlet Power Strip


Adds GHDL v0.33

Changes to a cask
Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

@vitorgalvao Updated my Cask. Please review.

https://github.com/caskroom/homebrew-cask/issues/14058

Looking good. Merging after Travis passes.


ImportError when SQLModel is exporting SQLAlchemy modules

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from sqlmodel import Session, select, create_engine
from models import Hero

pg_url = "..."
engine = create_engine(pg_url, execution_options={"postgresql_readonly": True})

with Session(engine) as session:
    heroes = session.exec(select(Hero)).all()

Description

I want to read Hero from Postgres DB
Before the code can even run, I get the following error:

ImportError: cannot import name 'create_mock_engine' from 'sqlalchemy.engine' (/home/airflow/.local/lib/python3.7/site-packages/sqlalchemy/engine/__init__.py)

Operating System
macOS
Operating System Details
Mid 2015 MacBook Pro
SQLModel Version
0.0.4
Python Version
3.7.7
Additional Context
error is originating from this line in __init__.py in the source code for SQLModel
# Re-export from SQLAlchemy
from sqlalchemy.engine import create_mock_engine as create_mock_engine

Looks like sqlmodel is not compatible with airflow right now, since sqlalchemy 1.4 currently breaks airflow.
https://github.com/apache/airflow/pull/14812
had to remove sqlmodel altogether and use sqlalchemy~=1.3 directly.

does sqlmodel 0.0.6 cannot be compatible with sqlalchemy 1.3.x？


Instructions are incomplete for a newly installed node and npm

What content needs to be created or modified?
The quick start could use better instructions for a newly installed version of node and npm.  I started with a reasonably fresh machine and had installed node and npm from their website before I started the quick start.  Everything seemed to go ok up through Step 3 - Run the Node.js app with Dapr.  At Step 4 - Post a message to the service, I got the following error.

C:\Windows\system32>dapr invoke --app-id nodeapp --method neworder --payload "{"data": { "orderId": "42" } }"
{"errorCode":"ERR_DIRECT_INVOKE","message":"invoke API is not ready"}
App invoked successfully

Step 3 left me at

Updating metadata for app command: node app.js
You're up and running! Both Dapr and your app logs will appear here.

Looking back through the console output I found that node could not find express.

C:\Users\bizca\source\repos\dapr\quickstarts\hello-world>dapr run --app-id nodeapp --app-port 3000 --dapr-http-port 3500 node app.js
Starting Dapr with id nodeapp. HTTP Port: 3500. gRPC Port: 55314
←[94;1m== APP == node:internal/modules/cjs/loader:928
←[0m
←[94;1m== APP ==   throw err;
←[0m
←[94;1m== APP ==   ^
←[0m
←[94;1m== APP ==
←[0m
←[94;1m== APP == Error: Cannot find module 'express'

I also noted that a new cmd window left me in  C:\Windows\system32>.
I changed directories to the installation directory and tried curl and got the same result.

{"errorCode":"ERR_DIRECT_INVOKE","message":"invoke API is not ready"}

By this time I figured out that node did not have express installed.  So I looked at app.js and used npm to install the 3 require(ments), express, body-parser and isomorphic-fetch.
The person who wrote the docs was pretty good at getting a newbie going, but did not count on a fool like me that had none of the prerequisites installed.
Describe the solution you'd like
The installation should mention that dapr, or rather node, needs to have express, and probably body-parser and isomorphic-fetch installed through npm for dapr to effectively runt he node app.  Something like...
If you receive an error like  {"errorCode":"ERR_DIRECT_INVOKE","message":"invoke API is not ready"}, it means that you do not have  prerequisites installed.  Use npm to install them since they are required by the node app.js.
npm install express
npm install body-parser
npm install isomorphic-fetch
Where should the new material be placed?
I believe this content should be placed at the end of Step 4 possibly with a If you receive an error  as a paragraph
heading
Additional context

@bizcad - does this issue refer to a quickstart in this repo: https://github.com/dapr/quickstarts? if so, which quickstart? (is this hello-world?)


Can you just create a getRowID function?

Is this some kind of magical way of getting an item in the cart? Why do you have to make the rowId as the most important thing to search for items inside the cart? e.g get() function requires rowId instead of the given ID?

Take a look at
https://github.com/Crinsane/LaravelShoppingcart/blob/f460ab7312cce32cb428cf39a500a2d16600b1d6/src/CartItem.php#L330
RowID is based on the ID and Options so you can add the same Product but with different options resulting in different Positions/Items on the Cart. For example if you add a Product instance it has multiple variances like color or size etc which should be treated as seperate positions in the calculation but not necessarily as seperate models in your data structure, therefore the identifier for the CartItem has to be a combination of the ID and the options (hash).

hi, if you are in iran you can pay any forign payments via our web site.
سایت EPAY 724 | خدمات ارزی بین الملل (https://bit.ly/3uieWwW) (سایت EPAY 724 | خدمات ارزی بین الملل (https://epay724.com))
online payments for application fees, buying gift cards, international exams fees are easier than ever ….


Sub-optimal restarting mechanisms for plasmashell, KWin, and Latte

Currently, all three of these programs are restarted using the --replace option after loading the config. Not only does this create unnecessary waiting and overhead, but it may also fail due to how these programs manage their configs. Instead, existing mechanisms such as DBus should be used to reload configuration, and if that's not possible, configs should be loaded after the corresponding program has exited.
This will be addressed in a future PR.

Partially addressed in 0.3.3. Still looking for a way to properly reload regular Plasma configs. I've asked in several places and no one has any idea. If anyone knows how to do this, please reply in this issue and/or submit a PR. Ideally, the program would call KGlobalSettings::emitChange().
Also thinking about adding customizable reload configurations for people who want to restart applications other than plasmashell, KWin, and Latte - but I think I'll only touch this after the plasmashell issue is resolved.


Applying to Indoor usage

Hi, thanks for your great contribution to place recognition. Here I want to consult some questions about indoor usage.
In the paper, all experiments are conducted in outdoor datasets. I wander what would be the difference if applying
it into a real indoor environment to help re-localization and loop detection in a SLAM system, such as home, official and even some room with repeat region(such as a Server Room where many server computers with the same appearance are placed)? What should I care about when collecting training data without GPS?
Thanks for your attention and I am always looking forward to your kind response and any advice.
Best , Slamer

Hi,
Indeed it's not as straight forward to download a dataset of indoor images. But it's not necessary to have GPS coordinates, on a more high level you just need some way of getting potential positives Vs negatives, and this can be done even without GPS, e.g. download all images from restaurants, all images of one restaurant are potential positives and of different restaurants are negatives. We did something similar in
Neighbourhood Consensus Networks https://arxiv.org/abs/1810.10510 see appendix E, but we used it to train matching, not NetVLAD - a larger dataset is probably needed for NetVLAD training.
NetVLAD has been applied on indoors datasets later, e.g. see https://arxiv.org/abs/1803.10368 where they combine it with spatial verification. This used our pre trained networks, I'm not sure if anyone actually trained NetVLAD on indoors data. Pretrained seems to work decently enough but I'm sure with enough good indoors training data that it would do even better. But indeed you are right, indoors is quite tough.
Best,
Relja


Completion Closure Not Invoked When Using Google Auth

At the moment, I'm trying to use Imperial to allow users to sign in to me web app using Google Auth. I've set up my code as follows (see below). The issue I'm experiencing at the moment is that processGoogleLogin is never fired. If I navigate to /google then I do see the OAuth page and on logging in using my Google account I am redirected to /authenticated which is correct but I never received an access token back it would seem and completion closure never appears to fire. Is there a piece of the set up that I am missing perhaps?
Thanks in advance 🙏
routes.swift
let imperialController = ImperialController(sessionsMiddleware: app.sessions.middleware)
    try appRoutes.register(collection: imperialController)

ImperialController.swift
class ImperialController {
    private let sessionsMiddleware: Middleware

    init(sessionsMiddleware: Middleware) {
        self.sessionsMiddleware = sessionsMiddleware
    }

    func processGoogleLogin(request: Request, token: String) throws -> EventLoopFuture<ResponseEncodable> {
        print(token)
        return request.eventLoop.future(request.redirect(to: "/"))
    }
}

extension ImperialController: RouteCollection {
    func boot(routes: RoutesBuilder) throws {
        let group = routes.grouped(sessionsMiddleware)
        try group.oAuth(
            from: Google.self,
            authenticate: "google",
            authenticateCallback: nil,
            callback: "http://localhost:8080/authenticated",
            scope: ["profile", "email"],
            completion: processGoogleLogin
        )
    }
}

I've realised that this issue is a manifestation of https://github.com/vapor-community/Imperial/issues/43 - so long as route groups aren't used then this will work.


merge with latest 1.1.x

You did it @dinakarmeda!
Thank you for signing the Anthem Opensource Software CLA.


Create linux diag profile

Added Linux diag boot profile for EMC diagnostic images.
@RackHD/corecommitters @uppalk1 @tannoa2 @zyoung51 @keedya

👍

Would the profile name be clearer if it was just like "boot-initrd" or something?

Probably,  or linux-generic.ipxe ?  The diag image booting can take special bootargs which is just a string of mem=<map> and other parameters,  so I guess the name could be generic.

@benbp renamed it to linux-generic.ipxe

@jlongever  A minor comment at https://github.com/RackHD/on-http/pull/345

@anhou This follows the same pattern as linux.ipxe.  Are you suggesting there is a design issue here? Is this a gating issue for you?


[INTEL MKL] Install latest future module as part of pip installs

We need the latest future version otherwise we get:
DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1556410077 -0400"
Loading: 0 packages loaded
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (1 packages loaded, 0 targets configured)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (3 packages loaded, 0 targets configured)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (73 packages loaded, 30 targets configured)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (295 packages loaded, 6382 targets configured)
Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/68a62076e91007a7908bc42a32e4cff9/external/org_tensorflow/tensorflow/tools/git/gen_git_source.py", line 29, in <module>
    from builtins import bytes  # pylint: disable=redefined-builtin
ImportError: No module named builtins
ERROR: /tensorflow/tensorflow/core/BUILD:2778:1: no such package '@local_config_git//': Traceback (most recent call last):
	File "/tensorflow/third_party/git/git_configure.bzl", line 61
		_fail(result.stderr)
	File "/tensorflow/third_party/git/git_configure.bzl", line 14, in _fail
		fail(("%sGit Configuration Error:%s %...)))
Git Configuration Error: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/68a62076e91007a7908bc42a32e4cff9/external/org_tensorflow/tensorflow/tools/git/gen_git_source.py", line 29, in <module>
    from builtins import bytes  # pylint: disable=redefined-builtin
ImportError: No module named builtins

 and referenced by '//tensorflow/core:version_info_gen'
ERROR: /tensorflow/tensorflow/core/BUILD:2778:1: no such package '@local_config_git//': Traceback (most recent call last):
	File "/tensorflow/third_party/git/git_configure.bzl", line 61
		_fail(result.stderr)
	File "/tensorflow/third_party/git/git_configure.bzl", line 14, in _fail
		fail(("%sGit Configuration Error:%s %...)))
Git Configuration Error: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/68a62076e91007a7908bc42a32e4cff9/external/org_tensorflow/tensorflow/tools/git/gen_git_source.py", line 29, in <module>
    from builtins import bytes  # pylint: disable=redefined-builtin
ImportError: No module named builtins

 and referenced by '//tensorflow/core:version_info_gen'
ERROR: /tensorflow/tensorflow/core/BUILD:2778:1: no such package '@local_config_git//': Traceback (most recent call last):
	File "/tensorflow/third_party/git/git_configure.bzl", line 61
		_fail(result.stderr)
	File "/tensorflow/third_party/git/git_configure.bzl", line 14, in _fail
		fail(("%sGit Configuration Error:%s %...)))
Git Configuration Error: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/68a62076e91007a7908bc42a32e4cff9/external/org_tensorflow/tensorflow/tools/git/gen_git_source.py", line 29, in <module>
    from builtins import bytes  # pylint: disable=redefined-builtin
ImportError: No module named builtins

 and referenced by '//tensorflow/core:version_info_gen'
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: no such package '@local_config_git//': Traceback (most recent call last):
	File "/tensorflow/third_party/git/git_configure.bzl", line 61
		_fail(result.stderr)
	File "/tensorflow/third_party/git/git_configure.bzl", line 14, in _fail
		fail(("%sGit Configuration Error:%s %...)))
Git Configuration Error: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/68a62076e91007a7908bc42a32e4cff9/external/org_tensorflow/tensorflow/tools/git/gen_git_source.py", line 29, in <module>
    from builtins import bytes  # pylint: disable=redefined-builtin
ImportError: No module named builtins

This should also be cherry picked to r1.14 branch.

@agramesh1

Hi @penpornk
Any feedback on this would be highly appreciated.
We certainly want the change in tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl file, the changes in the other file is just for keeping things consistent.
This issue is causing our Python2.7 builds to fail so prioritizing it is highly appreciated.

Looks like @av8ramit debugged a similar issue before.

Looks like we are failing during test_async_copy_reraise here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/engine/training_utils_test.py#L406

Yes, installing latest future will resolve this

Thanks - please send me a PR for the r1.14 branch once this is merged

@bananabowl it was submitted here for r1.14: #29233

@bananabowl it was submitted here for r1.14: #29233


Integration doesn't show up

I've installed the integration via HACS.
Restarted HA but the ecowater integration doesn't show up.
Running latest HA.

Hi,
Thanks for the bug report. I myself have only just switched to using it through HACS. For me it appears as it should under Configuration>Integrations>Add Integration. Have you checked there and if you have already can you restart homeassistant and check again?
Thanks,
barleybobs


Fix build on OSX

Was going through a bunch of issues trying to get tensorflow working on osx and it relies on snappy so it would fail when using stack.
Be nice to have this in so wouldn't need to get directly from fork 😺


Added USER to run container as non-root.

Fixes #73

Closing feature requests, since this image is being deprecated.

This image is officially deprecated in favor of the kibana image provided by elastic.co which is available to pull via docker.elastic.co/kibana/kibana:[version] like 5.2.1. This image will receive no further updates after 2017-06-20 (June 20, 2017). Please adjust your usage accordingly.
Elastic provides open-source support for Kibana via the elastic/kibana GitHub repository and the Docker image via the elastic/kibana-docker GitHub repository, as well as community support via its forums.


Full collision dataset available? (without the collision-gap)

Hello Antonio,
first of all, thanks for your work. Great idea and very interesting project.
I've trained my own DroNet model in a simulator environment and would like to test it on the real data now. My problem here is, that the datasets that you provide all have the gap right before the collision. But the behaviour in these frames is exactly what interests me the most, so I can't really test my model properly. Do you by any chance still have the datasets including the missing frames? Would be a great help for my work.
Thanks and best regards,
Moritz

I am sorry but we don't plan to release the full dataset (videos), as they have to undergo a large pre-processing before rewriting. I would recommend to collect your own dataset, it is very easy (ours was collected in a couple of days).

Hey Antonio,
I've already tried to collect my own dataset but it's not that easy when the streets and the sidelines especially are full of ice and snow (Montréal isn't called mthell by cyclists without reason ;) ) ... so I've got the pipelines ready to do the preprocessing myself (batch lens correction, cropping & frame export and also a script for labelling) and I would be fine with the raw data.
This means I could just finish the thesis on my own rather weak dataset but I'd prefer to be able to test on your dataset as well as mine for a better comparison and also the difference in conditions. Since my work is closely related to your groups field of research and I plan publish my results and datasets, this could be in your interest as well ;)

I am extremely sorry but we won't be able to release the full video. I understand that this could be very important for you, but unfortunately we are not allowed to do it. I wish you all the best for your thesis!


Update links to Meilisearch docs

Same as before, but in the main branch: Meilisearch docs moved.

Thanks!


[ENH] explore overlapping "nearest point" calculation — DRY

explore overlapping "nearest point along a line" calculation comparing the two following:

spaghetti.util.squared_distance_point_link()
libpysal.cg.standalone.get_segment_point_dist()

spaghetti.util.squared_distance_point_link() is more specialized and appears to be more robust. Sticking with that vs. libpysal.cg.standalone.get_segment_point_dist().

Reopening to consider PR into libpysal to replace the current implementation there (libpysal.cg.standalone.get_segment_point_dist()).


Update secure-data.md

Internal review URL

Looks good to me, @blowdart any concerns?  This is related to that roles issue that is in 2.1 but fixed in 2.2 with AddDefaultIdentity


Staged not used in pre-commit

Describe the bug
staged changes and not scanned by pre-commit after changing working directory
To Reproduce
Steps to reproduce the behavior:
$ git init
$ echo 'hello' > readme.md
$ git add readme.md
$ git commit -m "added readme.md"

$ echo "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'" >> readme.md
$ git add readme.md
$ git commit -m "aws key"

# secret is detected and commit fails

# lets remove it from working directory but keep the original change in staged

$ echo 'hello' > readme.md
$ git commit -m "aws key"
INFO[0000] opening .
 to unstage)
        modified:   readme.md

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   readme.md

$ git diff
diff --git a/readme.md b/readme.md
index 1c2a7a5..ce01362 100644
--- a/readme.md
+++ b/readme.md
@@ -1,2 +1 @@
 hello
-aws_access_key_id='AKIAIO5FODNN7EXAMPLE'
$ git diff --staged
diff --git a/readme.md b/readme.md
index ce01362..1c2a7a5 100644
--- a/readme.md
+++ b/readme.md
@@ -1 +1,2 @@
 hello
+aws_access_key_id='AKIAIO5FODNN7EXAMPLE'

Basic Info (please complete the following information):

OS: Windows 10, WSL Ubuntu 20.04.2 LTS
Gitleaks Version: v7.5.0

Additional context
pre-hook from examples/pre-commit.example
cc @zricethezav

Hello @jkbszpg ,
Can this be the same bug found in https://github.com/zricethezav/gitleaks/issues/622 ?
Thank you

I don't use '--unstaged' option in pre-commit,
my issue is - stage contains a secret that is detectable by rules
gitleaks will only find it if staged and workspace are the same,
if you stage a change with a secret and not have it in workspace during pre-commit-hook - it will be committed - seems like the wrong thing is scanned

https://github.com/zricethezav/gitleaks/blob/master/scripts/pre-commit.py likely fixes this


make 'epoch.log' level configurable

Since we don't use all lager log levels, I added the options "debug", "info", "warning", "error" and "none".
Due to start sequence non-determinism, some logging output may occur before the new level is set.

Can we have this also working for epoch_mining.log and epoch_pow_cuckoo.log as well (this is what we use currently)?

@dincho the problem with epoch_mining and epoch_pow_cuckoo is that they have different log levels today (info vs debug), and it wasn't obvious to me what the semantics should be.

@happi this was also my thought. Perhaps we can consider that as a future improvement?

In scope of https://www.pivotaltracker.com/n/projects/2124891/stories/154838044


MMXTreme 1 and 2 - address Options menu shuffles and character swaps

This should address issue #66 (which, by the way, had an extremely helpful clip of the problem!)
This adds a couple of flexible options to generic_swap to swap/not swap after HP and lives are processed. If a method isn't given, nothing happens, like with gmode. These could be useful for other scenarios.
MMXTreme 1
I couldn't replicate the swap on the Options menu, but it absolutely was happening on hitting Retry on a game over. It's because your lives "drop" to 255. This just treats lives == 255 the same as lives == 0. This now has the same behavior as NES MM games, game overs don't swap. This doesn't need those generic_swap changes.
MMXTreme 2
The same fix was needed as for MMXTreme 1.
In addition, going into Options or Boss Attack sets your lives to 0. This causes a wrong swap. Used swap_exceptions on this.
Also, Boss Attack sets your maxhp to 32, and if you fire up a game with less than 32 maxhp (like 16 on a new game), you'll swap because hp dropped. Used swap_exceptions to address this.
Finally, fixed a problem where you swap if you tag in X/Zero and they have less HP than the character you had been using. swap_exceptions is true on the frame where the character and HP switch together.

There are some similar issues in MMX3 (swap Zero in/out) and possibly MMX4 (swaps on entering any of the three areas after you get a "grade" in Cyber Peacock's stage, not sure what causes this).
I could dive in on those too if this general idea works for you all.


setStroke() in printLinearGradient() and printRadialGradient()

Added stroke param in printLinearGradient() and printRadialGradient().

You could rename printLinearGradient to printLinearColorGradient and add printLinearStrokeGradient, likewise the radial version. This will fix the problem that all of ...args are in fact, required arguments, and stroke = false is positioned first being an optional one.
Next version of canvas-constructor is a semver-major, so it makes sense for this breaking change.

Yes, that would be much better.


osoh template create use oc_replace if template exists

@dak1n1 this is acceptable, according to #openshift-ansible
It works on my end, take a look please, thanks
Eventually, we'll want to use 'oc_process' only, but that will take more testing, possible creating more osoh variables.  We'll use oc_replace for now, sound ok?

/retest


Update to v11, add collapse to R memory benchmark

I got curious on how collapse would perform, and it turns out quite well. Also updated polars syntax, which was broken in the v11 update in the book.

@ddotta Any update on this?

@eitsupi and @arthurgailes Sorry I don't have enough time at the moment to update the cookbook. I'll do my best but I'm looking for contributors and PRs 😃

I'm looking for contributors and PRs

I am not sure what you are trying to say here.
Is this not PR?

Thank you; your work here is excellent.


change findIndex in Lists default value

FindIndex should return something besides -1 specially since the get(-1) gets the last value of the list. It just makes it confusing and not intuitive.

I agree with this, once the tests are fixed. It is strange that I can't use the int returned from findIndex to get a provided default value from a list.
const fridge = new List(['bacon', 'eggs', 'cheese']);
const index = fridge.findIndex((food) => {
  return food === 'vegetables';
});
fridge.get(index, 'Food not in fridge.')

outputs: cheese

I think this is intuitive because the regular find-index code in javascript does exactly this. Also, it would be a pretty big breaking change, so it would have to be quite valuable before it was worthwhile. I think that means the conclusion here is "wontfix", so I am going to close this pull request. Thank you for submitting it though - I really appreciate the spirit and the effort here.

Completely forgot about this! Thanks for taking the time to respond.
After giving it some thought, I agree with the findIndex() response being the same as the JS response.  I think the confusion came when using it with the get we need to be careful combining the 2 functions.


sahi_predict is used to predict what the SahiAutoSegmentation is. input_box in predict is []

sahi_predict is used to predict what the SahiAutoSegmentation is. input_box in predict is []?

SAHI library only outputs boxes. You can segment these outputs using the SAM library. Can you write the question more descriptively?


You have exhausted the account limits per ip

Hi, @Suflet0!
Change the limit option in your config.yml:
  # Prohibits a user with the same ip address from registering many times.
  address-limiter:
    enable: true

    # Sets maximum number of login/registers by an ip address.
    limit: 3


Write out a multi-step illustration for making a board that creates one then multiple social media posts

Declaring victory!


feat: build.tool-args

Close #722.

Thanks!

I'm going to slip this in the next patch release, since a minor release won't be for a bit, and I want to get a patch release out now that we test free-threading support.

Oh, I think I forgot to say that: it seems to work fine, and Gentoo is using it now. Thanks a lot!


render modeling images on website

i think jupyterbook gets confused with multiple style settings. this simplifies the image placement

looks like if you wrap an html image tage with <center> jupyterbook doesn't fix the relative path on the website... some clues here https://jupyterbook.org/en/stable/advanced/html.html#raw-html-in-markdown


404 for list view of a tag

I added a this line on the front matter of some posts
tags: ["a", "b", "c"]

I then was able to look the terms, page same as in /categories, this tags on /tags  but when clicking one of the tags I was expecting to see a list view with the posts with certain tag, but instead I found the 404 page.
I've been looking around trying to find why categories work, but not tags, but I can't find why

Hey @ralexrdz, You just need to restart the hugo server and that's all it takes.

I asked hugo dev team for the expected feature https://github.com/gohugoio/hugo/issues/10901


Installing a package fails when one of the sources fail

From @NickCraver (original bug here - https://github.com/NuGet/Home/issues/1179)
The 2015 version simply breaks more. For instance, just now I was unable to reach our internal NuGet server which breaks installs for all packages. Regardless of their source. I just ran a test where I started a ASP.Net MVC 5 project (testing something for David Fowler) and tried to install Microsoft.Owin.Host.SystemWeb. This was nothing special, just the first search result for "owin", a test case off the top of my head. It did not install from nuget.org because another package source was down (which by the way is defined lower in the list). Here's what happened there:   Here's the corresponding restore log. Related: why was it trying to hit my package source anyway? What would that accomplish? All that could happen is downloading the wrong package I didn't search for and click install on from a package source further down the list.

I noted you are saying ASP.Net MVC 5, but from the screenshot it looks like ASP.Net 5 and ASP.Net MVC 6

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (226/200 (112%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext3.iad.github.net ([<IP_ADDRESS>]:36156 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkHW-0001Lz-3N
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:32:30 -0600
Date: Sun, 31 Dec 2017 12:32:09 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1514752329;
bh=EVeoVubKnT6VgzNpDA11lW7zy53u1qZwLA+24nZ388E=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=YwCP0LFvlUH3smLlFnvmDSiJ2rgCp/nR9+rjHtmL2Vi/S29ddY6ba4sL9EeOHRFrU
f0K7EU9hAoEEPNs4zi125nQAMEg7gNuaGvjSDlRFpYgHPwHsThTB80Lb66O1GqtMz5
C0f5vKLS1ZAc+e5ePEuYbv+ubxor0FWsQRX7jH70=
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] Installing a package fails when one of the sources
fail (#833)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a49494995dea_151663fa9fc52cf342297243";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRPmpFHmyZ3SfCH2nA4ynOawUJ2Ruks5tF-9JgaJpZM4FrsrW
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_5a49494995dea_151663fa9fc52cf342297243
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/833#issuecomment-354622596
----==_mimepart_5a49494995dea_151663fa9fc52cf342297243
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue is being closed because it has not been updated in 3 months=
.
We apologize if this causes any inconvenience. We ask that if you are =
still encountering this issue, please log a new issue with updated inform=
ation and we will investigate.
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub, or mute the thread.

=
----==_mimepart_5a49494995dea_151663fa9fc52cf342297243--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (227/200 (113%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext7.iad.github.net ([<IP_ADDRESS>]:48171 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkHW-0001M1-9b
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:32:30 -0600
Date: Sun, 31 Dec 2017 12:32:09 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1514752329;
bh=25uJfw+c6yjPWyhPj+sLNHCDMTAA4WD1znLh+YyoAJQ=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=YJ1+ftrDotE0K4NMYZoLawMhXSmPHpJpOlLEn1zuqK3UhmNTDwIxJkHGUF2K5k/Jj
0E5eh7QDwGVpmsUlwTRIPrzGEe1W+rLotgbjQZGrMaubkddb4AphhNMgtpGEf4XBOd
JyXv9z9NnY5WqMrLpZt2OsE4iS5469N7iX3IkvCo=
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] Installing a package fails when one of the sources
fail (#833)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a494949ef7ad_7a4c3f7fe2b04f2c1700492";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRPmpFHmyZ3SfCH2nA4ynOawUJ2Ruks5tF-9JgaJpZM4FrsrW
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_5a494949ef7ad_7a4c3f7fe2b04f2c1700492
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #833.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/833#event-1405408649
----==_mimepart_5a494949ef7ad_7a4c3f7fe2b04f2c1700492
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #833.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5a494949ef7ad_7a4c3f7fe2b04f2c1700492--


Documenting the formatting options

I'm not really sure that the documentation on the options being in the herd API doc is sufficiently accessible for people needing that doc.
So it would be nice if there was a way for the formatter to tell you what options it supported. Like running "ceylon format --optionhelp" would print detailed doc about the formatting options.

Closing this issue for now, if anyone’s unhappy with the current output please open a new issue.


add DSL for definging magma-laws

this PR introduces syntax and elaboration for defining terms of Prod (FreeMagma String) (FreeMagma String).

I think this clashes with https://github.com/teorth/equational_theories/blob/main/equational_theories/MagmaLaw.lean, and is perhaps subsumed by it?


Scroll to Select in Form Submit

Bug report
I have Select primitive inside Form primitive, and it is marked as required. When the value is not selected , and if i submit the form , the view goes out of page.
https://github.com/radix-ui/primitives/assets/72617743/6dbdc70d-0657-43ad-93bb-a63edda62885

Software
Name(s)
Version

Radix Package(s)
react-form
0.0.3

React
n/a
18.2.0

Browser
chrome
114.0.5735.90

Hey @MarufZak,
I'm not too sure what I'm looking at. The select looks a bit broken, doesn't show a menu (always replaces the trigger with 4).

Hey @MarufZak,
I'm not too sure what I'm looking at. The select looks a bit broken, doesn't show a menu (always replaces the trigger with 4).

Hi , sure!
https://codesandbox.io/s/pedantic-tamas-hgjpsx?file=/src/App.js
i guess because of specific styles , but anyway


added support for operating database bounding box with feature version filter

Thanks @yaozhihang. As discussed offline, I moved the logic of the createBoundingBoxes method from the database adapter to the operation panel and added checks whether the feature version filter settings are correct.

Thanks @clausnagel. The PR looks better and also works well with my tests.