HBASE-23119 ArrayIndexOutOfBoundsException in PrivateCellUtil#qualifi…

…erStartsWith
add length check and unit test

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 46s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

:blue_heart:
mvndep
0m 39s
Maven dependency ordering for branch

:green_heart:
mvninstall
6m 26s
master passed

:green_heart:
compile
0m 53s
master passed

:green_heart:
checkstyle
1m  5s
master passed

:green_heart:
shadedjars
4m 41s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 46s
master passed

:blue_heart:
spotbugs
1m  6s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
1m 52s
master passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 14s
Maven dependency ordering for patch

:green_heart:
mvninstall
4m 55s
the patch passed

:green_heart:
compile
0m 49s
the patch passed

:green_heart:
javac
0m 49s
the patch passed

:green_heart:
checkstyle
0m 59s
the patch passed

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
4m 37s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
15m 30s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
0m 45s
the patch passed

:green_heart:
findbugs
2m 13s
the patch passed

_ Other Tests _

:green_heart:
unit
3m  6s
hbase-common in the patch passed.

:green_heart:
unit
1m 58s
hbase-client in the patch passed.

:green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

59m 28s

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-688/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/688

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 588e131585e0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-688/out/precommit/personality/provided.sh

git revision
master / f08a310ed9

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-688/2/testReport/

Max. process+thread count
292 (vs. ulimit of 10000)

modules
C: hbase-common hbase-client U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-688/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


Fix PUT endpoint

A client recently pointed out an issue with the PUT endpoint (it required an id which is wrong and now fixed)
But it doesn't create any related models and in trying to fix this I seem to have found an issue with Waterline.

https://github.com/Multicolour/multicolour/commit/28fc9d423f15c059d6debe7d67ab0209902923d6


Trigger Error on Impossible Extends Case

Suggestion

🔍 Search Terms

Trigger Error on Impossible Extends Case
✅ Viability Checklist
My suggestion meets these guidelines:

[?] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[?] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

would be great if the compiler can notify us that the true case is impossible case.
📃 Motivating Example
libraries that use complex type
💻 Use Cases
improve dev experience of type level programming

So the problem with this is that lots of people write “conditional types” that aren’t actually conditional just to get the distributive behavior; the proposed error would just get in the way.

I see, that is a problem too

Don't post screenshots of code. Post code. If you must post screenshots, don't post screenshots with syntax errors in them.
Apart from the case of conflicting primitives, there aren't really cases of type X<T extends U> = T extends V ? where U & V is provably unhabitable. It's a difficult mistake to make in the first place, and an even more difficult mistake to detect.


store.get is not a function

If we create a store and then pass it, it works nicely, however if we pass a configuration, it doesn't work. Maybe a version issue?
The following function fails,
await cacheManager.caching({
            store: sqliteStore,
            name: 'abc',
            path: '/tmp/cache.db',
            options: {
                onReady: done
            }
})

const data = await cache.get('id');

The following function works,
await cacheManager.caching(
    sqliteStore.create({
      name: "transactions",
      path: "data/transactions.db",
    })
);

const data = await cache.get('id');

Versions
    "cache-manager": "^5.1.3",
    "cache-manager-fs-hash": "^1.0.0",
    "cache-manager-sqlite": "^0.2.0",

Sqlitestore is not updated as it is from a third party. You can use version 4 or update SqliteStore, #236

Thanks! This worked for me for fs-hash.
const fsStoreCache = fsStore.create({ path: 'mydir', ttl: 0, subdirs: true });
const myCache = await caching(fsStoreCache);


Failed to compile in react native web app instance using EvaIconsPack

🐛 Bug Report

My app was build from TS template using installation guide in the docs.
npx react-native init MyApp --template @ui-kitten/template-ts
My app does not use expo.
My app has single screen with button and icon of facebook from the example in the docs.
IconRegistry is configured according to the docs as well:
import React from 'react';
import {StyleSheet} from 'react-native';
import {ApplicationProvider, Button, Icon, IconRegistry, Input, Layout, Text} from '@ui-kitten/components';
import {EvaIconsPack} from '@ui-kitten/eva-icons';
import {dark as darkTheme, mapping} from '@eva-design/eva';
...

const App = () => (
    <React.Fragment>
        <IconRegistry icons={EvaIconsPack} />
        <ApplicationProvider mapping={mapping} theme={darkTheme}>
            <HomeScreen />
        </ApplicationProvider>
    </React.Fragment>
);

export default App;

It works perfectly in iOS simulator.
On top of that I installed and added Web support via react-native-web package.
Compiling for web produces following error:

The only way to run web app is to remove IconRegistry and icon usage.
To Reproduce
Steps to reproduce the behavior:
Install and setup react-native-web on top of the react-native-ui-kitten based app using eva-icons for the icons.
Expected behavior

Web app should compile without error in Web app.
Link to runnable example or repository (highly encouraged)
https://codesandbox.io/s/competent-currying-oh8wx

UI Kitten and Eva version

Package
Version

@eva-design/eva
^1.4.0

@ui-kitten/components
^4.4.0

@ui-kitten/eva-icons
^4.4.0

Environment information

  System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.13.1 => 16.13.1
    react-native: 0.61.5 => 0.61.5

I'm also facing this issue and found this library https://github.com/godaddy/svgs. I'm using Expo which can't use react-native link without detaching, so I haven't tested it out (yet).

@lesmo thanks for supporting 🙏

If I add that I get the following error:
ERROR in ./src/App.tsx 29:2
Module parse failed: Unexpected token (29:2)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| const HomeScreen = () => (
>   <Layout style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
|     <Text category='h1'>HOME</Text>
|   </Layout>
 @ ./src/index.tsx 2:0-24 4:43-46

@lesmo Any idea? ty

I face same issues with vue js. Any recommendations? Please.

I face same issues with vue js. Any recommendations? Please.


ci: update Nx DTE workflow

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The reusable Nx DTE workflows are used in version 0.4 which internally uses the deprecated Node.js 12 GitHub Actions runtime.

Issue Number: Closes #34
What is the new behavior?

The reusable Nx DTE workflows are used in version 0.7 which internally uses the Node.js 16 GitHub Actions runtime.
Optimize DTE by specifying the number of DTE agents
Optimize DTE by specifying the last task targets to process

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

This didn't fix the node12 Actions runtime warning. See https://github.com/nrwl/ci/pull/31.

nrwl/ci#31

praise: Nice little PR.
question: Should we wait until the version containing your fix is released to merge this one right?

question: Should we wait until the version containing your fix is released to merge this one right?

No, it's still worth updating to the latest version. With fewer releases to consider, we have less work to do once the next version is released.


[BUG] FIX mysql initialize sql file

Purpose of the pull request
fix bug
Brief change log
fix mysql initialize sql file
Verify this pull request
bash create-dolphinscheduler.sh

I think double quotes should also work in this SQL, it related on your database configuration. So maybe it is not a bug

I'll test other database versions

hi @zhongjiajie After my verification, I found that when the metastore of dolphinscheduler uses mysql, and the sql mode of mysql contains ANSI QUOTES, double quotes are not allowed,"" would be interpreted as `` Below is the official explanation

Strictly speaking, this is not a bug, but it is still a relatively unfriendly behavior, because it is inevitable that students may use this SQL mode

Thanks for the clarification, I think we should merge it

Thanks @boy-xiaozhang


Provide strikethrough function

The interface does not currently appear to permit a strikethrough function.
This would be incredibly useful, and is present on most comparable editors.

This simply renders compiled markdown and allows editing of it, but if you want custom Markdown compilation features that'll belong with a markdown parser like markdown-it. I'm sure there's a plugin for what you're asking.


Proposal: AngularFireStorage

Now that we've cut the release candidate I'd like to propose a Firebase Storage addition to the library.
I believe the API that I've come up with is inline with the goal of this project:
API:
AngularFireStorage.upload(
  pathOrRef: string | firebase.storage.Reference,
  data: Blob | Uint8Array | ArrayBuffer,
  metadata: firebase.storage.UploadMetadata = {}
) : FirebaseUploadTaskObservable<firebase.storage.UploadTaskSnapshot>

AngularFireStorage.storage : firebase.storage.Storage

FirebaseUploadTaskObservable extends Observable<UploadTaskSnapshot>
FirebaseUploadTaskObservable.cancel() : Boolean
FirebaseUploadTaskObservable.pause() : Boolean
FirebaseUploadTaskObservable.resume() : Boolean
FirebaseUploadTaskObservable.uploadTask : firebase.storage.UploadTask

Use:
import { Component } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Subscription } from 'rxjs/Subscription';
import * as firebase from 'firebase/app';
import { AngularFireAuth } from 'angularfire2/auth';
import { AngularFireStorage } from 'angularfire2/storage';

@Component({
  selector: 'app-upload',
  templateUrl: './upload.component.html',
  styleUrls: ['./upload.component.css']
})
export class UploadComponent {

  task: FirebaseUploadTaskObservable<firebase.storage.UploadTaskSnapshot>;
  state: Observable<String>;
  uploading: Observable<Boolean>;
  success: Observable<Boolean>;
  percentage: Observable<number>;

  constructor(private afAuth: AngularFireAuth, private storage: AngularFireStorage) {  }

  upload(event) {
    const file = event.srcElement.files[0];

    this.task = this.storage.upload(`/uploads/${file.name}`, file, {
      customMetadata: {
        uid: this.afAuth.auth.currentUser.uid
      }
    });

    this.state = task.map(s => s.state);
    this.uploading = state.map(s => s === firebase.storage.TaskState.RUNNING);
    this.success = state.map(s => s === firebase.storage.TaskState.SUCCESS);
    this.percentage = task.map(s => s.bytesTransferred / s.totalBytes * 100);
  }

  pause(event) {
    task.pause();
  }

  resume(event) {
    task.resume();
  }

  cancel(event) {
    task.cancel();
  }
}

Maybe there also should be a function for deleting files in storage?
AngularFireStorage.delete(pathOrRef: string | firebase.storage.Reference);

Any idea when we will see this feature implemented?

I think maybe reworking this to have a similar API and implementation to the more recent API's might be in order now

Yes, will be doing so.

there's news?

ETA on this?

@sparkoo Very soon :)

@davideast cool, thanks!

@sparkoo Checkout #1369!


adding Ligo example for events

adding Ligo example

Sure, this would be a good thing to add. The branch is a bit confused, though -- it contains commits that I've already merged, and I got errors trying to load it locally to rebase it. I cherry-picked the commit and put it in a new branch in case that's easier: https://github.com/trilitech/tezos-developer-docs/pull/262

Thanks for the submission! To avoid having to rebase this branch I merged this change in this PR: https://github.com/trilitech/tezos-developer-docs/pull/262


Added github action to trigger docs build

please @gklijs @smcvb , when you have time review this PR, this repository has a strong policy of having at least 1 reviewer approving every PR.

I've merged the PR after @smcvb droped the rule to have at least one review.
Thanks @smcvb


Submit the app under InterSystems-Corporation

Submit the app under InterSystems-Corporation ->
Submit the app on behalf InterSystems Corporation
Remove "-" and change the wording

done


GCC ARM: an undefined instruction possibly inserted - a missing sanity of the pointer parameter value

Dear all,
the GCC ARM compiler does generate the undefined instruction "0xdeff" in the module "spiffs_cache.c" for following lines (157 in the version 0.3.6):
    s32_t res2 = SPIFFS_HAL_READ(fs,         addr - SPIFFS_PADDR_TO_PAGE_OFFSET(fs, addr),
The used version of (GNU Tools for ARM Embedded Processors) is 6.2.1.
Please may you treat an input in some "safer" way to avoid such a behavior (regardless of the fact/evaluation that is the proper or false one ;-))
Just a suggestion:

{
s32_t res2 = SPIFFS_ERR_NOT_READABLE;
u32_t pAddr = addr - SPIFFS_PADDR_TO_PAGE_OFFSET(fs, addr);
if (pAddr > 0u)
{
res2 = SPIFFS_HAL_READ(fs,
pAddr,
SPIFFS_CFG_LOG_PAGE_SZ(fs),
spiffs_get_cache_page(fs, cache, cp->ix));
}
if (res2 != SPIFFS_OK) {
res = res2;
}
}

Thanks a lot,
BR, JiriJ

I am not sure I understand. What input do you mean? The sources? Exactly
what line in spiffs_cache.c is it? What gcc switches are you using?
Arm/thumb/thumb2, optimization flags, floating point support etc.
Den 13 mars 2017 3:15 PM skrev "jirij"<EMAIL_ADDRESS>Dear all,
the GCC ARM compiler does generate the undefined instruction "0xdeff" in
the module "spiffs_cache.c" for following lines:
s32_t res2 = SPIFFS_HAL_READ(fs, addr - SPIFFS_PADDR_TO_PAGE_OFFSET(fs,
addr),
The used version of (GNU Tools for ARM Embedded Processors) is 6.2.1.
Please may you treat an input in some "safer" way to avoid such a behavior
(regardless of the fact/evaluation that is the proper or false one ;-))
Thanks a lot,
BR, JiriJ
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/134, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE3NVykE_tzno-WbcFWiROspiVacA958ks5rlU-UgaJpZM4MbTtb
.

Hi,
I am sorry for incomplete and confusing information!
The lines of the object listing file (spiffs_cache.o.lst) follow:
 151:src/ext/spiffs/src/spiffs_cache.c ****         addr - SPIFFS_PADDR_TO_PAGE_OFFSET(fs, addr),
 486              		.loc 1 151 0
 487 01e6 2300     		movs	r3, #0
 488 01e8 785B     		ldrb	r3, [r3, #1]	@ zero_extendqisi2
 489 01ea DEFF     		.inst	0xdeff

As you can see the compiler inserts an opcode for the undefined instruction (as GCC defines that ;-)) at the line of 489. During run-time this will throw the undefined instruction exception.
So the compiler has some issue with the macro parameters.
The suggested code snippet above was just a try - I must admit that was the false try because the zero value of the addr argument is acceptable - the file system cannot mount without a following condition
if (pAddr >= 0u)
Hope this helps demystify my issue a bit.
BR, JiriJ

Hi Jirij,
ah ok, you seem to have stumbled on a gcc quirk. That's always fun!
Anyhow, the macros should not be the problem but rather the whole preprocessed thing. Could you do this for me:

preprocess spiffs_cache.c using your configurations and attach that file (add -E to your compile flags and the output will end up the .o files)
attach a disassembly file of spiffs_cache.c with source code interleaved with assembly
I am interested in what goes wrong in gcc. It might turn out that it is a spiffs bug also, however it really does look like a gcc thing.

Also, please try replacing current code with this (original spiffs_cache.c lines 157-160):
      s32_t res2 = SPIFFS_HAL_READ(fs,
          (u32_t)((u32_t)addr - (u32_t)SPIFFS_PADDR_TO_PAGE_OFFSET(fs, addr)),
          SPIFFS_CFG_LOG_PAGE_SZ(fs),
          spiffs_get_cache_page(fs, cache, cp->ix));

Finally, did you build the compiler yourself or did you download it from somewhere?
Cheers / P

Hi pellepl,
I have got the same result with the previous GCC version - 5.4_2016q3. And yes, we have an own build (done by my colleague) of the compiler - the motivation for this procedure is to patch the official GCC release for supporting big-endian Cortex-R...
Preprocessor results:

for the original code
s32_t res2 = (fs)->cfg.hal_read_f((fs), (addr - ( ((addr) - ((fs)->cfg.phys_addr)) % ((fs)->cfg.log_page_size) )), (((fs)->cfg.log_page_size)), (((u8_t *)(&((cache)->cpages[(cp->ix) * (sizeof(spiffs_cache_page) + ((fs)->cfg.log_page_size))])) + sizeof(spiffs_cache_page))))

for the dirty "work-around"
        u32_t pAddr = addr - ( ((addr) - ((fs)->cfg.phys_addr)) % ((fs)->cfg.log_page_size) );     if (pAddr >= 0u) {       res2 = (fs)->cfg.hal_read_f((fs), (pAddr), (((fs)->cfg.log_page_size)), (((u8_t *)(&((cache)->cpages[(cp->ix) * (sizeof(spiffs_cache_page) + ((fs)->cfg.log_page_size))])) + sizeof(spiffs_cache_page)))) }

Further observation will come.. ;-)
BR, JiriJ

Hi pellepl,
I am very sorry that was a false error! I have got into a mess in my code - jumping over the spiffs versions and got lost...
The GCC ARM compiler does NOT generate the opcode for the undefined instruction when I am using the latest spiffs version of 0.3.6.
Anyway the previous versions (I have tested 0.3.3, 0.3.4 and 0.3.5) are somehow affected - I have not revealed what is behind, where could an issue lie... if I am not so busy I will try to get more information.
Thanks for your support,
BR, JiriJ

Hehe, no problem - I am glad it was false alarm, as I'd like to avoid compiler specifics as much as possible. If you get time to find the culprit in earlier versions, please let me know - this is valuable information for future bug tracking. And hey, all cool guys use homebuilt compilers. 😉


Figma: Update list of quiz questions for each category

6 categories of quiz questions added:

General workplace safety
Motivation at Work
Company Policy
English Language Test
Cybersecurity Test
Team Communication Work

QUIZ_questions_each_category.docx

QUIZ_test_questions_each_category_updated.pdf


Impossible to connect PowerBI Dataset Agent to Azure services

System Info
Hi,
I'm trying to reproduce this example https://python.langchain.com/en/latest/modules/agents/toolkits/examples/powerbi.html
When i launch this part of the code :
toolkit = PowerBIToolkit(
powerbi=PowerBIDataset.update_forward_refs(dataset_id=dataset-id, table_names=['Tables'], credential=DefaultAzureCredential()),
llm=smart_llm
)
I have this error : NameError: name 'TokenCredential' is not defined
What am I doing wrong ? Do i have to specify things with Azure credentials first ?
Thanks for your help
Who can help?
No response
Information

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

Related Components

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

Reproduction
example here : https://python.langchain.com/en/latest/modules/agents/toolkits/examples/powerbi.html
I just modified powerbi=PowerBIDataset() to powerbi=PowerBIDataset.update_forward_refs() because of an error i had.
Expected behavior
Connect the agent to powerbi rest API

I am facing the similar issue, even after importing TokenCredential it is still not working

I forgot to precise but i tried to import TokenCredential too already, and i got the same error

TokenCredentials is defined in the azure-core package, that is a dependency of azure-identity used to get DefaultAzureCredential(). Since azure-core 1.23.0, TokenCredentials is available to be imported (before it was typed only). You would get error like this if azure-core is therefore less than 1.23.0.
Upgrading to at least 1.23.0 would solve the problem. I'm not familiar enough with langchain to be sure where this should be done though.
(I work in the Azure Python team at MS, responsible for azure-core)

I am still facing this issue


Update building-and-testing-nodejs examples

Why: The docs recommend using extremely deprecated versions of node. Updated to newer stable versions instead.
Closes: https://github.com/github/docs/issues/25313

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

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

Thanks for updating this! I just have one question @Rylab : You mention that a workflow failed with Node version 14 (#25313 (comment)). Should these examples exclude version 14?

16 is the minimum node version most common frameworks recommend, so yeah going a step further and removing 14 from the examples is probably a good idea, too.


Change moonstone-extra's source as polar site

Enyo-DCO-1.1-Signed-off-by: SoonGil Choi<EMAIL_ADDRESS>

I don't think this makes sense specifically for enyo-dev. A projects bower.json can be altered, and the world will not be pointing at polar. If moonstone-extra stays private, it should be removed as a default from enyo-dev all together.


Add TOC entry for iff()

The page already exists and is linked to from iif():
https://github.com/MicrosoftDocs/dataexplorer-docs/blob/b9ef74aeca35c78e37335beb98907643301934b5/data-explorer/kusto/query/iiffunction.md#L40

Thanks for pointing that out. We'll actually probably need to delete the alias page since we don't need two exact same pages.
@slavikn84 FYI

Fixed in this PR: https://github.com/MicrosoftDocs/dataexplorer-docs-pr/pull/2332
Thanks @viclin-msft for noticing that and helping us to improve the docs.
#please-close

#please-open

Turns out for IntelliSense we have to keep both pages.
Approved by ADX content and dev team.
#sign-off

@YaelSchuster: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Particles2D node causes screen flickering and artifacts on macOS

Godot version:
v3.0.6.stable.official.8314054
OS/device including version:
macOS High Sierra 10.13.6 (17G65)
MacBook Pro (13-inch, 2017)
2,3 GHz Intel Core i5
8 GB 2133 MHz LPDDR3
Intel Iris Plus Graphics 640 1536 MB
Issue description:
The whole screen starts flickering and artifacts start appearing when there is a Particle2D node active and visible in the project. This affects the Godot IDE window, macOS menu bar and dock, context menus in IDE and macOS, sometimes icons on the desktop or even portions of the desktop itself, other windows like Firefox,...
Current workaround: Turning the particle node's visibility off (works, but it's really clumsy).
Video showing the bug
Steps to reproduce:
Open the "Dodge the Creeps" demo project from the official docs, or add a Particle2D node to an otherwise empty scene. Then continue using Godot normally or switch between open windows.
Minimal reproduction project:
flickertest.zip

This looks like a shader issue (and probably driver related).
Can you open the editor from a terminal window to see if there are some engine errors in the output?

Sure thing!

Audio Driver CoreAudio average latency: 11ms (frame=512)
Audio Driver CoreAudio average latency: 11ms (frame=512)
Audio Driver CoreAudio average latency: 11ms (frame=512)
EditorSettings Save OK!

Issue can also be found by using my repository for a simple FPS camera here:
Video example
Project repository

Working in OSX High Sierra
Video link

Is this still reproducible in the latest 3.2 build?

Tested in Godot 3.2 with the same Mojave as above, it's now working for me

Awesome, thanks!


feat: included InheritedComponent

STATUS: In Development
Description
Changes:

Creates InheritedComponent abstract class
Adds public dependOnInheritedComponentOfExactType method.

Aim:
Aims to include the concept of InheritedWidgets into Flame. Looking for O(1) performance for packages such as flame_bloc.
Integrating this concept into the framework will facilitate resolving common issues such as theming. In addition, mixins such as HasGameRef might be made redundant.
Example:
final component = Component();
  _InheritedComponent(
    children: [
      Component(
         children: [
           component,
         ],
      ),
   ],
;

// Retrieves closest _InheritedComponent in O(1).
component.read<_InheritedComponent>();

Checklist

[X] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[X] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[X] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

Breaking Change

[ ] Yes, this is a breaking change.
[X] No, this is not a breaking change.

Related Issues

Additional Context

https://api.flutter.dev/flutter/widgets/InheritedWidget-class.html
https://api.flutter.dev/flutter/widgets/BuildContext/dependOnInheritedWidgetOfExactType.html

(cc: @renancaraujo @felangel @erickzanardo)

I'm still not quite sure how this is different from findParent<T>()?
Perhaps it would make sense to clarify the overall purpose? Currently the stated goal is to "mirror the concept of InheritedWidget from Flutter". However, the primary purpose of an InheritedWidget in Flutter is to allow downstream widgets to mark themselves as "dependent" so that they will be automatically rebuilt when the InheritedWidget's state changes. I don't see how this functionality can be mirrored in Flame, since there's no notion of "rebuilding", neither it is clear what the "state" of an InheritedComponent will be.

@st-pasha the purpose of the above is to guarantee O(1) search with a Flutter like API.
I believe, findParent<T> fails to do so, since it relies on ancestors. Which can be a very expensive operation in very deep trees.
Do you know of another way of retrieving an ancestor component in O(1) already in Flame? Is there a way of doing so by composition?

https://github.com/flame-engine/flame/pull/1799#pullrequestreview-1041056284

Thanks @erickzanardo for joining.
I agree some renaming needs to occur. I've renamed the method to .read<T> I think it is less verbose and descriptive.

About bundling that map on the component class, I also agree that it isn't optimal, we thrive to keep that component smaller as possible to keep performance good. I wonder if we couldn't move that to the flame game instance though, and the ProviderComponent would be a HasGameRef by default

I agree, I would like to have the Component be untouched by these changes. I'm trying to think of a solution that keeps the Component class untouched but still guarantees O(1) reads.
What do you think of the following API? (cc: @erickzanardo)
class ProviderComponent<V> extends Component {
  ProviderComponent({
    required this.value,
    super.children,
    super.priority,
  });

  final V value;

  static T? of<T>(Component component) {
    // Magic.
  }
}

extension ProviderRead on Component {
  T? read<T>() {
    return ProviderComponent.of<T>(this);
  }
}

Hummm, you need to pass a value to the provider component right? Otherwise it isn't providing anything 😅
Other than that, API looks good to me

Thanks @erickzanardo!
Haha, funny enough I edited and copied the wrong sample. I will update as soon as I get back to the office.
Thanks for the feedback once again.

I'm going on vacation so this PR will have limited activity from me up to around the 10th of August.

Closing for now since I do not plan to continue the work on this until the majority of the team is onboard.
Will probably move the discussion to an issue.


Upgrade Board Validation Scripts

This PR splits most of the functionality from validateAllBoards.py into separate files in the validation subdirectory, and adds several new checks along the way:

Added Max Paths check to ensure the value is not too high
Added parameter for disabling the Max Paths check, as it is CPU intensive.
Added check to ensure each board state has a corresponding screenshot
Added a check to ensure boards with a Max Dice Roll of 9 do not have squares of type OneWayAlleyDoorA, B, C, or D.
Added checks to ensure the requisite squares are present if venture cards 45 or 125 are enabled
Added checks to ensure map files are not being accidentally placed in the root of the repo

The Board Validation "failed" but it's actually a successful execution of the script. The "fail" is because three boards actually do enable Venture Card 45 without having both an Arcade square and a Take-A-Break square. I just didn't feel it was within scope for this PR to fix them.

awesome


How to segregate admin and non-admin users and have a different URL for both of them.

Hi All,
Can anyone please brief me about how to create new non admin users and have a seperate URL other than /admin.
Any help is highly appreciated. TIA

Hi @LeoColomb ,
Can you please help me with this..?

@CloudDevOps-Engineer
It's up to you to add a new PHP page with exactly what you want.
You may take a look at the examplepage.php to get started.


use_signals = False brings error when decorating class method

from wrapt_timeout_decorator import *

class Foo(object):
    def __init__(self,x):
        self.x=x

    @timeout('instance.x', use_signals=False, dec_allow_eval=True)
    def foo2(self):
        print('swallow')

if __name__ == '__main__':
    my_foo = Foo(3)
    my_foo.foo2()

Above code gives this execution error:
Traceback (most recent call last):
  File "timeout_test.py", line 13, in <module>
    my_foo.foo2()
  File "/usr/local/python37/lib/python3.7/site-packages/wrapt_timeout_decorator/wrapt_timeout_decorator.py", line 123, in wrapper
    if (not b_signals) and (not dill.pickles(wrapped)):
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 1419, in pickles
    pik = copy(obj, **kwds)
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 240, in copy
    return loads(dumps(obj, *args, **kwds))
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 294, in dumps
    dump(obj, file, protocol, byref, fmode, recurse)#, strictio)
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 287, in dump
    pik.dump(obj)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 437, in dump
    self.save(obj)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 504, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 1078, in save_instancemethod0
    pickler.save_reduce(MethodType, (obj.__func__, obj.__self__), obj=obj)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 638, in save_reduce
    save(args)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 504, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/local/python37/lib/python3.7/pickle.py", line 771, in save_tuple
    save(element)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 549, in save
    self.save_reduce(obj=obj, *rv)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 633, in save_reduce
    save(cls)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 504, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 1315, in save_type
    obj.__bases__, _dict), obj=obj)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 638, in save_reduce
    save(args)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 504, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/local/python37/lib/python3.7/pickle.py", line 786, in save_tuple
    save(element)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 504, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/local/python37/lib/python3.7/site-packages/dill/_dill.py", line 902, in save_module_dict
    StockPickler.save_dict(pickler, obj)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 856, in save_dict
    self._batch_setitems(obj.items())
  File "/usr/local/python37/lib/python3.7/pickle.py", line 882, in _batch_setitems
    save(v)
  File "/usr/local/python37/lib/python3.7/pickle.py", line 524, in save
    rv = reduce(self.proto)
NotImplementedError: object proxy must define __reduce_ex__()

This fork from timeout-decorator really supports decorating classes methods?

Yes I am sure that it works with classes. Let me check the Error You have got.
You do this on Linux or on Windows ?
Which Python Version ?
Please let me know, in order to check.

CentOS 6, 3.7.0

let me check - I changed the implementation of signals = False  from Queue to Pipe recently - maybe there is some edge case I havebt tested ...  I will let You know.
Robert

Nice. Also, take a look on the issue I opened in the parent fork of yours:
https://github.com/pnpnpn/timeout-decorator/issues/56

I will check - since I handle the signals=False differently I need to check it.

But now I need to take down the x-mas tree and have another coffee ...

ok, fixed - some issue with the newest version of dill.
It should not have memory leaks - but please ceck yourself, and provide a small sample if You run into problems.

check it out - i did some more fixing for use_signals = False
should work now


[Bug]: language-cpp has no effect

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When using key language-cpp in *.cproject.yml file, there is no matching compiler flag being generated for the specified value.
Expected Behavior
For example, it is expected that specifying this in *.cproject.yml
language-CPP: c++20
... will produce:
-std=c+=20
... on the compiler command line. Yet this is not the case.
Workaround:
The only way I found to specify a c++ standard so far is using:  target-types/misc/CPP/-std=c++20
Steps To Reproduce
No response
Affected tools

[ ] cbuild
[ ] cbuild-gen
[ ] cpackget
[X] csolution
[ ] packchk
[ ] svdconv

Affected operating systems

[ ] Windows amd64
[ ] Windows arm64
[X] Linux amd64
[ ] Linux arm64
[ ] MacOS amd64
[ ] MacOS arm64

Environment

Ubuntu 22.04LTS

@smartinou Which toolchain are you using? Can you please provide a reproducer?
With the attached GCC solution, where the CPP language is set as this:
  language-CPP: c++20

When calling cbuild in debug mode:
cbuild language.csolution.yml -d

I see the following compiler command line:
Run Build Command(s): [...]
[1/2] [...] -std=c++20 [...] main.cpp

Hi @brondani
I tried the attached GCC solution in my env. GCC version is 12.3.1. Yet I can't manage to have it output the C++ standard at the compiler command line.
I've attached the generated .cprj file: it clearly shows the languageCPP option.
I've also attached the vs code task execution for building the project.
Let me know if I can be of any other help.
project_and_output.zip

@smartinou Thanks for the attachments.
From the output it seems you are using the tools via vcpkg but you have also set the environment variable CMSIS_COMPILER_ROOT to a local installation which is maybe an older one:
debug cbuild: CMSIS_COMPILER_ROOT: /home/martin/opt/ctools/etc

Could you please unset CMSIS_COMPILER_ROOT and check whether it solves the issue?

SOLVED: set env variables properly to use with vcpkg and Visual Studio Code extension

Removed CMSIS_COMPILER_ROOT from .bashrc
Started new shell. Confirmed env var not set.
Started vscode at workspace location within this new shell.
Activated vcpkg environment in the project.

Terminal output now shows default value for CMSIS_COMPILER_ROOT:
debug cbuild: CMSIS_COMPILER_ROOT: /home/martin/.vcpkg/artifacts/fd3d78d7/tools.open.cmsis.pack.cmsis.toolbox/2.1.0/etc
... and now I get to see c++20 as expected.
Please feel free to mark as INVALID, and thanks for all the help!


CLOSES #196: Upgraded FactoryGirl to FactoryBot

This closes #196.
Changed the gem from factory_girl_rails to factory_bot_rails and all references to it. Tests are all passing.

Awesome, thanks so much for this! Sorry the review took a bit!


WDG 16 bit

@burrbull

Thanks

For what it's worth, what little I understand of this makes sense


CGPROD-2459 Add source to pause level select btn

Adds param to stat for the level select button on pause screen which
contains level ID.
https://jira.dev.bbc.co.uk/browse/CGPROD-2459

mahalo


fix(behavior_velocity_planner): fix blind spot over-detection

Description
To prevent over-detection of blind_spot, I added yaw difference threshold between ego and target objects as detection conditions.

Related links

Tests performed
On the planning-simulator, I checked blind_spot behavior by setting pedestrian objects around a intersection
Before:

After:

(Note that even if this PR is merged the over-detection will not fully fix. )

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[X] The PR follows the pull request guidelines.
[X] The PR has been properly tested.
[X] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[X] There are no open discussions or they are tracked via tickets.
[X] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@shmpwk can you just approve this ?

@purewater0901
Could you approve this?


Dutch translation

Hello, i am willing to contribute in adding Dutch translation.
Thanks

That would be so great, you can get started by translating the src/i18n/locales/en.json file or you could go to https://crowdin.com/project/reactive-resume to translate each string :) Please do let me know if you have any more questions.


Fix Switcheroo not removing statbar item note when no item received

Example on turn 7

Ok, now it includes the source of the -enditem. I added that to Trick as well, while I was at it.

Thanks!


matching ipa words are not correctly converted into words

If you use this as an input
The age of Earth is about 4.54 billion years. Evidence suggests that life on Earth has existed for at least 3.5 billion years, with the oldest physical traces of life dating back 3.7 billion years; however, some hypotheses, such as Late Heavy Bombardment, suggest that life on Earth may have started even earlier, as early as 4.1–4.4 billion years ago, and the chemistry leading to life may have begun shortly after the Big Bang, 13.8 billion years ago, during an epoch when the universe was only 10–17 million years old. Time estimates from molecular clocks, as summarized in TimeTree, generally place the origin of life around 4.0 billion years ago or earlier. More than 99% of all species of life forms, amounting to over five billion species, that ever lived on Earth are estimated to be extinct. Although the number of Earth's catalogued species of lifeforms is between 1.2 million and 2 million, the total number of species in the planet is uncertain. Estimates range from 8 million to 100 million, with a more narrow range between 10 and 14 million, but it may be as high as 1 trillion (with only one-thousandth of one per cent of the species described) according to studies realised in May 2016. The total number of related DNA base pairs on Earth is estimated at 5.0 x 1037 and weighs 50 billion tonnes. In comparison, the total mass of the biosphere has been estimated to be as much as 4 TtC (trillion tons of carbon). In July 2016, scientists reported identifying a set of 355 genes from the Last Universal Common Ancestor (LUCA) of all organisms living on Earth. All known life forms share fundamental molecular mechanisms, reflecting their common descent; based on these observations, hypotheses on the origin of life attempt to find a mechanism explaining the formation of a universal common ancestor, from simple organic molecules via pre-cellular life to protocells and metabolism. Models have been divided into "genes-first" and "metabolism-first" categories, but a recent trend is the emergence of hybrid models that combine both categories. There is no current scientific consensus as to how life originated. However, most accepted scientific models build on the Miller–Urey experiment and the work of Sidney Fox, which show that conditions on the primitive Earth favoured chemical reactions that synthesize amino acids and other organic compounds from inorganic precursors, and phospholipids spontaneously form lipid bilayers, the basic structure of a cell membrane. Living organisms synthesize proteins, which are polymers of amino acids using instructions encoded by deoxyribonucleic acid (DNA). Protein synthesis entails intermediary ribonucleic acid (RNA) polymers. One possibility for how life began is that genes originated first, followed by proteins; the alternative being that proteins came first and then genes. However, because genes and proteins are both required to produce the other, the problem of considering which came first is like that of the chicken or the egg. Most scientists have adopted the hypothesis that because of this, it is unlikely that genes and proteins arose independently. Therefore, a possibility, first suggested by Francis Crick, is that the first life was based on RNA, which has the DNA-like properties of information storage and the catalytic properties of some proteins. This is called the RNA world hypothesis, and it is supported by the observation that many of the most critical components of cells (those that evolve the slowest) are composed mostly or entirely of RNA. Also, many critical cofactors (ATP, Acetyl-CoA, NADH, etc.) are either nucleotides or substances clearly related to them. The catalytic properties of RNA had not yet been demonstrated when the hypothesis was first proposed, but they were confirmed by Thomas Cech in 1986. One issue with the RNA world hypothesis is that synthesis of RNA from simple inorganic precursors is more difficult than for other organic molecules. One reason for this is that RNA precursors are very stable and react with each other very slowly under ambient conditions, and it has also been proposed that living organisms consisted of other molecules before RNA. However, the successful synthesis of certain RNA molecules under the conditions that existed prior to life on Earth has been achieved by adding alternative precursors in a specified order with the precursor phosphate present throughout the reaction. This study makes the RNA world hypothesis more plausible. Geological findings in 2013 showed that reactive phosphorus species (like phosphite) were in abundance in the ocean before 3.5 Ga, and that Schreibersite easily reacts with aqueous glycerol to generate phosphite and glycerol 3-phosphate. It is hypothesized that Schreibersite-containing meteorites from the Late Heavy Bombardment could have provided early reduced phosphorus, which could react with prebiotic organic molecules to form phosphorylated biomolecules, like RNA. In 2009, experiments demonstrated Darwinian evolution of a two-component system of RNA enzymes (ribozymes) in vitro. The work was performed in the laboratory of Gerald Joyce, who stated "This is the first example, outside of biology, of evolutionary adaptation in a molecular genetic system." Prebiotic compounds may have originated extraterrestrially. NASA findings in 2011, based on studies with meteorites found on Earth, suggest DNA and RNA components (adenine, guanine and related organic molecules) may be formed in outer space. In March 2015, NASA scientists reported that, for the first time, complex DNA and RNA organic compounds of life, including uracil, cytosine and thymine, have been formed in the laboratory under outer space conditions, using starting chemicals, such as pyrimidine, found in meteorites. Pyrimidine, like polycyclic aromatic hydrocarbons (PAHs), the most carbon-rich chemical found in the universe, may have been formed in red giants or in interstellar dust and gas clouds, according to the scientists. According to the panspermia hypothesis, microscopic life—distributed by meteoroids, asteroids and other small Solar System bodies—may exist throughout the universe.

The output would be this
The age of Earth is about 4.54 billion years. Evidence suggests that life on Earth has existed 4 at least 3.5 billion years, with the oldest physical traces of life d8ɪŋ back 3.7 billion years; however, some hypotheses, such as Late Heavy Bombardment, suggest that life on Earth may have started even earlier, as early as 4.1–4.4 billion years ago, and the chemistry leading 2 life may have begun shortly after the Big Bang, 13.8 billion years ago, during an epoch when the universe was only 10–17 million years old. Time ɛstəˌm8s from molecular clocks, as summarized in TimeTree, generally place the origin of life around 4.0 billion years ago or earlier. More than 99% of all species of life forms, amounting 2 over 5 billion species, that ever lived on Earth are ɛstəˌm8əd 2 be extinct. Although the number of Earth's catalogued species of lifeforms is between 1.2 million and 2 million, the total number of species in the planet is uncertain. Estimates range from 8 million 2 100 million, with a more narrow range between 10 and 14 million, but it may be as high as 1 trillion (with only one-thousandth of 1 per cent of the species described) according 2 studies realised in May 2016. The total number of /ˌɹiˈɫ8ɪd/ DNA base pairs on Earth is ɛstəˌm8əd at 5.0 x 1037 and weighs 50 billion tonnes. In comparison, the total mass of the biosphere has been ɛstəˌm8əd 2 be as much as 4 TtC (trillion tons of carbon). In July 2016, scientists reported identifying a set of 355 genes from the Last Universal Common Ancestor (LUCA) of all organisms living on Earth. All known life 4mz share fundamental molecular mechanisms, reflecting their common descent; based on these observations, hypotheses on the origin of life attempt 2 find a mechanism explaining the /4ˈmeɪʃən/ of a universal common ancestor, from simple organic molecules via pre-cellular life 2 protocells and metabolism. Models have been divided ɪn2 "genes-first" and "metabolism-first" categories, but a recent trend is the emergence of hybrid models that combine both categories. There is no current scientific consensus as 2 how life originated. However, most accepted scientific models build on the Miller–Urey experiment and the work of Sidney Fox, which show that conditions on the primitive Earth favoured chemical reactions that synthesize amino acids and other organic compounds from inorganic precursors, and phospholipids spontaneously 4m lipid bilayers, the basic structure of a cell membrane. Living organisms synthesize proteins, which are polymers of amino acids using instructions encoded by deoxyribonucleic acid (DNA). Protein synthesis entails intermediary ribonucleic acid (RNA) polymers. One possibility 4 how life began is that genes /ɝˈɪdʒəˌn8əd/ first, followed by proteins; the alternative being that proteins came first and then genes. However, because genes and proteins are both required 2 produce the other, the problem of considering which came first is like that of the chicken or the egg. Most scientists have adopted the hypothesis that because of this, it is unlikely that genes and proteins arose independently. Therefore, a possibility, first suggested by Francis Crick, is that the first life was based on RNA, which has the DNA-like properties of information storage and the catalytic properties of some proteins. This is called the RNA world hypothesis, and it is supported by the observation that many of the most critical components of cells (those that evolve the slowest) are composed mostly or entirely of RNA. Also, many critical cofactors (ATP, Acetyl-CoA, NADH, etc.) are either nucleotides or substances clearly /ˌɹiˈɫ8ɪd/ 2 them. The catalytic properties of RNA had not yet been dɛmənˌstɹ8ɪd when the hypothesis was first proposed, but they were confirmed by Thomas Cech in 1986. One issue with the RNA world hypothesis is that synthesis of RNA from simple inorganic precursors is more difficult than 4 other organic molecules. One reason 4 this is that RNA precursors are very stable and react with each other very slowly under ambient conditions, and it has also been proposed that living organisms consisted of other molecules /ˌbiˈ4/ RNA. However, the successful synthesis of certain RNA molecules under the conditions that existed prior 2 life on Earth has been achieved by adding alternative precursors in a specified order with the precursor fɑsf8 present throughout the reaction. This study makes the RNA world hypothesis more plausible. Geological findings in 2013 showed that reactive phosphorus species (like phosphite) were in abundance in the ocean /ˌbiˈ4/ 3.5 Ga, and that Schreibersite easily reacts with aqueous glycerol 2 dʒɛnɝˌ8 phosphite and glycerol 3-phosphate. It is hypothesized that Schreibersite-containing meteorites from the Late Heavy Bombardment could have provided early reduced phosphorus, which could react with prebiotic organic molecules 2 4m phosphorylated biomolecules, like RNA. In 2009, experiments dɛmənˌstɹ8ɪd Darwinian evolution of a two-component system of RNA enzymes (ribozymes) in vitro. The work was /pɝˈ4md/ in the laboratory of Gerald Joyce, who st8ɪd "This is the first example, outside of biology, of evolutionary adaptation in a molecular genetic system." Prebiotic compounds may have /ɝˈɪdʒəˌn8əd/ extraterrestrially. NASA findings in 2011, based on studies with meteorites found on Earth, suggest DNA and RNA components (adenine, guanine and /ˌɹiˈɫ8ɪd/ organic molecules) may be 4md in outer space. In March 2015, NASA scientists reported that, 4 the first time, complex DNA and RNA organic compounds of life, including uracil, cytosine and thymine, have been 4md in the laboratory under outer space conditions, using starting chemicals, such as pyrimidine, found in meteorites. Pyrimidine, like polycyclic aromatic hydrocarbons (PAHs), the most carbon-rich chemical found in the universe, may have been 4md in red giants or in interstellar dust and gas clouds, according 2 the scientists. According 2 the panspermia hypothesis, microscopic life—distributed by meteoroids, asteroids and other small Solar System bodies—may exist throughout the universe.

the output contains words like /ˌbiˈ4/ which should be converted into b4 and many more words like this.

It is working correctly for single letter changes like for to 4


rustup

Cc https://github.com/rust-lang/rust/issues/96773
@bors r+

:pushpin: Commit 9605ae807d4db775a63d2a1c8da2719d478c2906 has been approved by RalfJung

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 3b8b6aa8b689971d3b8776cefe3d809501e1b8ff to master...


operator codeflare-operator (0.2.2)

New release of codeflare operator

/merge possible

/merge possible


How to prevent space as a new tag

https://jsfiddle.net/gmsa/04jvjuv3/

" Press enter to select " appear when press space.
Thanks.

Fixed :) Should be live with the 2.0.4 release.


Help

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

This was solved via the FCC/Help chat (turns out there was a missing  tag. For future reference, please use the chat to assist you vs creating an issue.
Thanks and keep the code movin'!.

Thanks @techtolentino


Merge #15022 into develop

The changes from #15022 were already present in this branch, so this PR changes no files and just resolves the conflict.

!ci-build-me


Got blank image after running the script?

Hi, thanks for the great work! I tried to download the macOS binary and run the run.sh script. After that, I got blank RGB images and segmentation masks. Could you give me some hints to successfully run the code? Thanks!

I found the same situation also exists in the Linux platform, as referred to issue 3.

Hi @YongtaoGe can you please tell how you're running the binary, what command and config?


warehouse/migrations: add missing migrations for organizations

Was crufting up another migration.

Putting the 'blocked' label on this until we can review, probably don't want to merge this as-is.

Just for my own edification: these probably originate from https://github.com/pypa/warehouse/pull/11184, right?

Looks like there is some of #8324 in there as well. We probably need a CI check that ensures that no migrations would be autogenerated...

This is now just changes that resulted from the organization-related work.
@divbzero @sterbo could you take a look and make sure these are as intended? See also https://warehouse.pypa.io/development/database-migrations.html regarding autogenerating migrations when changing models.

This is now just changes that resulted from the organization-related work.
@divbzero @sterbo could you take a look and make sure these are as intended? See also https://warehouse.pypa.io/development/database-migrations.html regarding autogenerating migrations when changing models.

Ugh I was the last one to merge and test migrations for #11184.
Are these the right steps for testing migrations?

git checkout upstream/main
make initdb
git rebase -i @ foo-feature-branch or something similar to get feature branch up-to-date
docker-compose run web python -m warehouse db upgrade head

I thought I had done that but must have missed something.

Or was the error in this case caused by us using sa.sql.false()?
https://github.com/pypa/warehouse/blob/354f24d890c88a070973810905523050e8550cb3/warehouse/migrations/versions/614a7fcb40ed_create_organization_models.py#L54-L56

I think I see what happened. We manually added server_default=sa.sql.false() to the migration script to reflect the SQLAlchemy model:
https://github.com/pypa/warehouse/blob/354f24d890c88a070973810905523050e8550cb3/warehouse/organizations/models.py#L155
But Alembic doesn’t translate default=False to server_default=... when autogenerating so it’s flagging the is_active column as not-in-sync.
@sterbo I recall you mentioned something about this in a discussion. What’s the right move here? Could we give up on having BOOLEAN DEFAULT FALSE being enforced at the database level?

I think I see what happened. We manually added server_default=sa.sql.false() to the migration script to reflect the SQLAlchemy model:
https://github.com/pypa/warehouse/blob/354f24d890c88a070973810905523050e8550cb3/warehouse/organizations/models.py#L155
But Alembic doesn’t translate default=False to server_default=... when autogenerating so it’s flagging the is_active column as not-in-sync.
@sterbo I recall you mentioned something about this in a discussion. What’s the right move here? Could we give up on having BOOLEAN DEFAULT FALSE being enforced at the database level?

I'm fine with not enforcing this at the database level. Banners and sponsors are configured in a similar fashion.

Are these the right steps for testing migrations?

You probably also want to try to autogenerate a migration whenever models have been changed with docker-compose run web python -m warehouse db revision --autogenerate --message "text"

But Alembic doesn’t translate default=False to server_default=... when autogenerating so it’s flagging the is_active column as not-in-sync.

I think you probably want to set server_default=sql.false() instead of default=False on the is_active column for these models, which would make this migration a no-op.

I think you probably want to set server_default=sql.false() instead of default=False on the is_active column for these models, which would make this migration a no-op.

it looks like that'll do the trick. we'll give that a whirl. thanks @di


Order of listings

Hi there,
thanks a lot for the great book! Sometimes I use this repo to look at your code samples and the order of directories is a bit confusing.
I am not sure though about the solution, but what if directories in this repo could be renamed, for example, from 1.1 to 01.1. Will this solution sort the directories in the correct order?

You're welcome @Okundin, thanks for the suggestion! I've actually switched to using listing names rather than numbers in my recent books: for example, https://github.com/bitfield/tpg-tools2
This not only makes it easier for me to add, remove, and re-order things if necessary, but I think it also makes it easier for readers to find them. Let me know what you think! There will be an update to 'For the Love of Go' in due course, along with this repo.


Check mouse state

So, I put this into vedges (an SVGEdit -- svelte version)
It's a nice idea. But, I ran into problems in two different contexts.

I can drag rulers. Cool! But, you can always expect the mouse to get ahead of the element being dragged. So, if you do mouseUp when your dragging element goes past the boundary (which it does at time) the element will still be dragging. So, you need to check that the mouse is actually in the desired state for dragging.

I tried this for drag handles on an edit region and gave up. The thing went crazy. Not too long all the handles were all over the place being dragged while the mouse was up.  So, I had to put my own handle dragging code into can_edit (a submodule -- may make into an npm component at some point.

I am not sure of what to expect from your code passed in options. So, I am not putting time into figuring it out at the moment.
But, the main issue is that the mouse state needs to be checked. There should be some double checking on bounds as well.
Otherwise, I like the idea of this component (action). It would be good to make it robust.

As for the first one, the thing you can do is apply bounds in the options config, limit it to the left or right of the viewport or the container. bounds options will help there
Can you share a reproduction for the 2nd? a Svelte REPL would be good to see what's going wrong

The first thing, the parent has been used as the bounds element.
I have implemented drag more than a few times. And, I am usually having to do some trick with the bounds. It's easy to get the mouse ahead of the element. So, events will miss the target.
The second thing is related. But, it takes a complex of items all with a drag action (svelte drag). These are sibling components. And, the are all set to have absolute position.

So, after using it more, it seems that scrolling is related to the issue.
So, the parent element forms the bounds well. But, the parent element scrolls partly out of sight (intentionally). The drag target stays in place (also intentionally).
So, you can then drag the target element into the hidden area.
So, I will look at your docs again. But, I was not sure how to use the parent as the scroll bound and to limit scrolling to the first initial visible area (not scrolled yet). Of course, there is programming a whole new thing. But, really, it would be nice to avoid that.


Lerna / React Hooks isssue (unsure)

I am still experiencing this issue—has a solution been implemented yet?
I have a very simple Lerna monorepo with 2 packages: xrc and xrc-app
xrc is the package I'm publishing to NPM and xrc-app is the docs website/app for xrc
xrc-app is private and uses react-static
https://github.com/wagerfield/xrc
I have purposefully removed react and react-dom as dependencies from both xrc and xrc-app to be absolutely sure that the issue I'm experiencing isn't related to multiple versions of react being installed.
After running yarn from the root of the monorepo to install the dependencies, I then run yarn why react and get:
yarn why v1.16.0
[1/4] 🤔  Why do we have the module "react"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#xrc-app#react-static" depends on it
   - Hoisted from "_project_#xrc-app#react-static#react"
info Disk size without dependencies: "248KB"
info Disk size with unique dependencies: "564KB"
info Disk size with transitive dependencies: "648KB"
info Number of shared dependencies: 6

This clearly shows that I only have one version of react installed (16.8.6) which is the result of react-static listing it as a dependency.
Since the xrc-app lives inside the packages dir, it uses the local version of xrc rather than the one published to NPM. Therefore, before you can build the React Static site, you must run yarn bundle from the root of the monorepo. This will compile the TypeScript in the xrc package using Rollup into cjs and esm bundles in the xrc package that xrc-app can then import and use.
After running yarn bundle you can now run all of the app:* related scripts from the monorepo root.
When you run yarn app:start from the monorepo root, it will run the start script in the xrc-app package which in turn calls react-static start to start the development server. This works absolutely fine and you will be able to see the WIP site at localhost:5000
However, when you run yarn app:stage or yarn app:build from the monorepo root it will get as far as compiling all the JS bundles, but then it hangs and eventually fails when exporting the HTML.
I then get the error:
Invariant Violation: Failed exporting HTML Minified React error #321

https://reactjs.org/docs/error-decoder.html?invariant=321

You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app

See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
As mentioned above, running yarn why react and yarn why react-dom from the monorepo root will show that only one version of both react and react-dom are installed and that they are the same version of 16.8.6.
Therefore I would assume that I'm not falling foul of point 1 or 3. Furthermore, I'm not using hooks anywhere in my application code.
If it is an issue with React hooks, then perhaps it's coming from React Static?
The strange thing I have found is that if I copy and paste the xrc-app package onto my desktop so that it's completely removed from the Lerna monorepo and run yarn or npm install inside the package so react-static et al are installed and xrc is pulled from NPM rather than the local monorepo version, then the build and stage scripts work.
I've been battling with this one all day and could really use some help please :D
Thanks in advance!
Originally posted by @wagerfield in https://github.com/nozzle/react-static/issues/1021#issuecomment-499607184

Thanks for looking into this @sw-yx —really appreciate your time and help.
I continued my investigations last night and discovered some more oddities that might be of interest.
I discovered that if I comment out the react-static-plugin-source-filesystem plugin for the docs at the root of the monorepo and also remove the MDXProvider from the app.jsx render tree, the HTML will render without error.
However, as soon as I uncomment/include the react-static-plugin-source-filesystem plugin for the docs (even with the MDXProvider removed from the App render tree) I get the "Invariant Violation" error I posted above.
Looking at the stack trace of the error I can see that Object.useContext (a React hook) is third in line. I would therefore assume that the issue is related to hooks rather than mismatched versions or multiple versions of React.
After I discovered this, I added react, react-dom and react-hot-loader back as dependencies of xrc-app and rebuilt the app with the react-static-plugin-source-filesystem docs plugin commented out and MDXProvider removed from the render tree. The site builds without error, so I'm pretty sure the issue lies with MDX and React hooks somewhere.
I had a look at the MDX repo and can see that it doesn't list react as a dependency, so it'll be using whichever version is resolved when the MDX files get transpiled through the mdx-loader.
That's as far as I got, but I think the issue lies with MDX and React hooks.

i see. not gonna be a ton of help here as I mostly dont muck around with internals, i just help triage issues for now and it seems like you've done way more digging than i ever have. there could well be an issue with react-static-plugin-mdx, thats not something i've tested out recently.

I've been experiencing the same issues for the last few days myself. yarn why tells me that all dependencies resolve to the react / react-dom yet the moment I try to compile any app code that uses react hooks I get error invariant 321.
I am not using react-static-plugin-mdx or any other plugin, really. I've tried disabling all to no avail.
What I've noticed is if I override the webpack config and set react and react dom as external it generates the files successfully but then the FE is broken because it can't find react.

I came across this issue while debugging an unrelated problem. Maybe try hoisting the dependencies: lerna bootstrap —hoist

Thanks @ncphillips I'll give that a go

@wagerfield I am running into this exact issue right now while migrating to rush https://github.com/neo-one-suite/neo-one/tree/rush (still using yarn). Has there been any development on this?
Using<EMAIL_ADDRESS>our website starts perfectly fine with react-static start however when trying to build with react-static build --staging it fails with the above invariant error. I have checked our yarn.lock for react/react-dom duplications but we definitely only have one version installed.
This is especially strange since if it WAS an honest invariant error, why would it not come up in our current version of the website (uses yarn workspaces) that uses the same component libraries?
Any pointers in the right direction would be appreciated.

I think I'm also having this problem and it 100% relates to useContext. My only thinking is it also relates to https://github.com/facebook/react/issues/15077.
Exact error is
Error: Failed exporting HTML for URL faq (/***redacted***/page): Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

@eknowles check yarn.lock to see which packages are pulling in react. There should only be one resolved version in the end.

I came across this issue while debugging an unrelated problem. Maybe try hoisting the dependencies: lerna bootstrap —hoist

This comment right here led me on the path that let me bypass this issue. This issue seems to be due to react-static not working well with hoisted dependencies. In my case, we're using yarn workspaces + lerna to handle our monorepo. Because all of our workspace packages use the same version of react and react-dom, it hoists the dependency files to REPO_ROOT/node_modules. I noticed that when I upgraded react and react-dom in the package that uses react-static but left it alone in others, it began building correctly. When I upgraded everything, it stopped working again.
So the solution I found was to specify react and react-dom to not be hoisted for this specific package. For yarn workspaces, this is as simple as adding this configuration to the package.json of the workspace project that uses react-static:
  "workspaces": {
    "nohoist": ["react","react/**","react-dom","react-dom/**"]
  },

I don't know the correct way to do this if you aren't using yarn or yarn workspaces, but hopefully this helps someone.

@DBosley I'm facing the same issue using TurboRepo. Can you please explain your solution ? I'm not able to understand the following from your response:

I noticed that when I upgraded react and react-dom in the package that uses react-static but left it alone in others

I'm assuming that others here mean the apps that rely on the package?
upgraded react and react-dom in package: Did you change the version? For me everything is at 17.0.2
The workspaces no hoist flag was added to the app and not package?
Is it possible to post a stripped version of you code online ?
Did you make any changes to peerDependancies ?


Export the db/query using Postgres?

I've very experienced in SQL, much moreso than Python. It just takes me orders of magnitude longer to query relational databases with Python or whatever other scripting language's engine/API rather than SQL (not to mention SQL is hands down superior when it comes to relational databases). Is it possible to query nfldb only using postgreSQL and not having to deal with the python query class?

Yes.
On Oct 15, 2017 12:01 AM, "asubbarao"<EMAIL_ADDRESS>wrote:

I've very experienced in SQL, much moreso than Python. I just can't query
relational databases with Python or whatever other language. Is it possible
to query nfldb only using postgreSQL?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BurntSushi/nfldb/issues/275, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb34i8-xj52DJaYESPqcrigverX9O2Zks5ssYOEgaJpZM4P5nu1
.


Add codcov

Modified workflow-yaml to add codecov

@mig9206 This pull request should be against your fork of this repo. ;-)


Add a simple UI

I created a very basic web interface using plain HTML/JS. Started going down the React route, but felt like overkill. But, happy to revisit that if others want it. Feedback welcome!

This is great!
I am thinking ... perhaps we can just open the HTML page in the browser w/o even needing a Ngnix server? 😅

It was one thought I had, but it is quite often best practice to split frontend from backend. If we combine it, it does get a little more complicated if we ever decide to make the frontend a React app or anything else that requires more setup/config.


Are all the current functions supported in parse-server?

Just heard a good news said the Push Notification Service and Dashboard will be provided soon within months. But I'm still concerning on what I didn't know or what I didn't expect. A very simple example is the email verification. Apparently parse.com is using their smtp server to send html generated by the server. My question is if there is a place for us to config this kind of thing which we need not care when we use parse.com service.
Currently I'm in the middle of developing of an application in parse. My CMS, my mobile app are all relying on parse. To change to another backend server or write my own is very painful because 80% of works are done. The best solution I think by far is to continue to develop and maybe migrate to own host server with parse-server in half year. But I'm not very confident yet. I have some concerns like what I mentioned above.
In short, my question is actually are all the functions are supported in open-source parse-server? Or which are the functions are not supported? If I know this, I definitely can do some preparations first.

+1 especially what about: email verification, password reset, ect.

+1 I'm wondering about Class Level Permissions too.

+1

+1 Dashboard turn Open-Source too

Migrated class level permissions work, with the exception of 'pointer permissions' which was a recent new feature... None of the email/verification/reset stuff is implemented (have at it!) and we're doing our best to get the dashboard going soon.  I think these requests are covered in other issues, but please submit PRs if you would like to contribute.  Thanks.


Refresh cdevents.dev look and structure

The project website cdevents.dev has been created by me in a day or two, and it could benefit from an expert refresh, to ensure standard accessibility guidelines are followed, colour palettes are in order, relevant information (community, slack, spec) is easy to discover and finally, that the content is written in a good and clear style.

Notes from the TOC meeting:

we have a budget dedicated by the CDF TOC
we still need someone to work on it

Things that we need to do on the website:

user journey in the content

most of the content is at the end of the journey today
we need to provide more context in the beginning for the reader get the interest in learning more about CDEvents
we could use content from the whitepaper
expand the content on https://cdevents.dev/ homepage

polished content:

website introduction text (on https://cdevents.dev/ homepage)
primer
spec

diagram content

very wordy content today
diagram content could help
give the same information in multiple ways (text, diagram, code) help the reader to cross-check the content
gap analysis to identify where we need diagrams and code

how do the spec and website content related to each other

it can be hard to get complex content displayed on the website and on github

audience strategy: who is the customer for the content

today we have a whitepaper
need to split the content for different audiences

This has been implemented.


fix spacing on lesson 4 page

Summary
Closes #

Screenshots

You can link the ticket to the pull request by putt #x where x is the issue number, for example this one is #183. Also, you can add more commits and push to this branch and the pull request will update. For example, you probably want to commit a change to fix the lint.
Finally, regarding commit/branch naming, I think your commit message here is fine- a short description of the general change. For branch naming I typically like to put the (issue number)_(change), for example for implementing the slideshow, the branch I made was 30_slideshow.

I fixed the lint here.


GitLab Geo is not supported with this license.

Good time of day!
Unfortunately, this type of license does not support the ability of Gitlab Geo to work. Issues the following errors on the secondary site...
GitLab Geo is not supported with this license. Please contact the sales team: https://about.gitlab.com/sales.

AND
remote:
remote: ========================================================================
remote:
remote: Your current license does not have GitLab Geo add-on enabled.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Perhaps someone managed to make Geo work. If so, I will be glad to find out the correct activation method.
Peace to all!

Thank you for the answer, but unfortunately this method did not help me.
With an activated license (plan Ultimate), it does not allow you to clone or pull a project from the repository.
When cloning, it returns the following error:
remote: Your current license does not have GitLab Geo add-on enabled.

Tell me, please, on which version of gitlab do you have gitlab geo running with all the activated features?


Menu names do not align in footer

Taken from the TODO Group site. The blog menu name does not have any submenus listed under it to align with the other menu items. The blog page however does have blog posts. Perhaps link to 3-4 of the most recent blog posts to fix the alignment?

On the other real life example site Deep Causality it seems any menus with no submenus are grouped together on the right of the menu items with submenus.

I've been thinking about this, and I can't really see a better way to organise these links. We need to allow for mega menu headers and children, and likewise we need to allow for top level links. Top level links do not have a header, so aligning them at the top of this section looks strange to me as the styling of the text is different. Instead they are aligned with other children. I think it works in both the screenshots shown. Until I see a better option, I am going to leave this as is.
Suggestions/PRs welcome.


Unable to get the script working

Hi, I've seen and appreciated all of your effort trying to collect all the information to get the VTO working in home assistant as it should.
So I started to follow your suggestions until the script.
Whatever I try, when I add the echo to the go2rtc config I always get an error and no stream going on.
Here are some details:
Frigate: 0.14
Go2rtc 1.9.2
The config.yaml is exactly as your, so defined the 3 streams and putted the echo stuff pointing to the script (downloaded from your repo).
Testing the url by removing the echo stuff works as should.
Testing the script by calling it from the console I see something like this:
[0] 1230
[1] 1231
[2] 1232
Go2rtc logs:
2024-08-17 14:19:27.711328520  [INFO] Preparing new go2rtc config...
2024-08-17 14:19:28.433964804  [INFO] Starting go2rtc...
2024-08-17 14:19:28.649861388  14:19:28.646 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-08-17 14:19:28.649868320  14:19:28.646 INF config path=/dev/shm/go2rtc.yaml
2024-08-17 14:19:28.649870707  14:19:28.647 INF [rtsp] listen addr=:8554
2024-08-17 14:19:28.649872934  14:19:28.648 INF [webrtc] listen addr=:8555/tcp
2024-08-17 14:19:28.651391946  14:19:28.651 INF [api] listen addr=:1984
2024-08-17 14:19:37.700874778  [INFO] Starting go2rtc healthcheck service...
2024-08-17 14:19:41.178173757  14:19:41.178 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:56548-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello_sub
2024-08-17 14:19:41.199002695  14:19:41.198 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:56552-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello
2024-08-17 14:19:51.185556304  14:19:51.185 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:49744-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello_sub
2024-08-17 14:19:51.201033792  14:19:51.200 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:49748-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello
2024-08-17 14:20:01.188273566  14:20:01.187 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:54278-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello_sub
2024-08-17 14:20:01.203772965  14:20:01.203 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:54288-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello
2024-08-17 14:20:11.193039140  14:20:11.192 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:46698-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello_sub
2024-08-17 14:20:11.205829420  14:20:11.205 WRN [rtsp] error="streams: exit status 1, read tcp <IP_ADDRESS>:46710-><IP_ADDRESS>:8554: i/o timeout" stream=ext_cancello
Frigate logs:
2024-08-17 14:19:27.707704934  [INFO] Preparing Frigate...
2024-08-17 14:19:27.747613309  [INFO] Starting Frigate...
2024-08-17 14:19:30.393885868  [2024-08-17 14:19:30] frigate.app                    INFO    : Starting Frigate (0.14.0-da913d8)
2024-08-17 14:19:30.394380677  [2024-08-17 14:19:30] frigate.util.config            INFO    : Checking if frigate config needs migration...
2024-08-17 14:19:30.469259890  [2024-08-17 14:19:30] frigate.util.config            INFO    : frigate config does not need migration...
2024-08-17 14:19:30.553955692  [2024-08-17 14:19:30] frigate.util.services          WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2024-08-17 14:19:30.610602654  [2024-08-17 14:19:30] peewee_migrate.logs            INFO    : Starting migrations
2024-08-17 14:19:30.612061804  [2024-08-17 14:19:30] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-08-17 14:19:30.634302848  [2024-08-17 14:19:30] frigate.app                    INFO    : Recording process started: 338
2024-08-17 14:19:30.645960131  [2024-08-17 14:19:30] frigate.app                    INFO    : Recording process started: 347
2024-08-17 14:19:30.654008721  [2024-08-17 14:19:30] frigate.app                    INFO    : go2rtc process pid: 99
2024-08-17 14:19:30.708294401  [2024-08-17 14:19:30] frigate.app                    INFO    : Output process started: 368
2024-08-17 14:19:30.726328829  [2024-08-17 14:19:30] detector.coral                 INFO    : Starting detection process: 367
2024-08-17 14:19:30.792688382  [2024-08-17 14:19:30] frigate.app                    INFO    : Camera processor started for ext_giardino_1: 386
2024-08-17 14:19:30.826051630  [2024-08-17 14:19:30] frigate.app                    INFO    : Camera processor started for ext_ingresso: 389
2024-08-17 14:19:30.852458974  [2024-08-17 14:19:30] frigate.app                    INFO    : Camera processor started for ext_cancello: 392
2024-08-17 14:19:30.889743996  [2024-08-17 14:19:30] frigate.app                    INFO    : Camera processor started for int_sala: 399
2024-08-17 14:19:30.891483000  [2024-08-17 14:19:30] frigate.app                    INFO    : Capture process started for ext_giardino_1: 408
2024-08-17 14:19:30.915674931  [2024-08-17 14:19:30] frigate.app                    INFO    : Capture process started for ext_ingresso: 419
2024-08-17 14:19:30.935816723  [2024-08-17 14:19:30] frigate.app                    INFO    : Capture process started for ext_cancello: 424
2024-08-17 14:19:30.955289226  [2024-08-17 14:19:30] frigate.app                    INFO    : Capture process started for int_sala: 428
2024-08-17 14:19:33.411976312  [2024-08-17 14:19:30] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-08-17 14:19:33.418412101  [2024-08-17 14:19:33] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-08-17 14:19:34.328890492  [2024-08-17 14:19:34] frigate.comms.dispatcher       INFO    : Turning off detection for ext_cancello
2024-08-17 14:19:34.380157754  [2024-08-17 14:19:34] frigate.comms.dispatcher       INFO    : Turning off detection for ext_giardino_1
2024-08-17 14:19:34.381976206  [2024-08-17 14:19:34] frigate.comms.dispatcher       INFO    : Turning off detection for ext_ingresso
2024-08-17 14:19:34.381982526  [2024-08-17 14:19:34] frigate.comms.dispatcher       INFO    : Turning off detection for int_sala
2024-08-17 14:19:36.207786935  [2024-08-17 14:19:36] frigate.video                  ERROR   : ext_cancello: Unable to read frames from ffmpeg process.
2024-08-17 14:19:36.208343819  [2024-08-17 14:19:36] frigate.video                  ERROR   : ext_cancello: ffmpeg process is not running. exiting capture thread...
Have you any idea??

Just to iron out some possibilities, I suggest you check if your doorbell is upgraded to the latest firmware.
Then, to continue troubleshooting it, I suggest you take the curl commands from inside the script and try running them by yourself.
When they work, they should output "OK".

make sure you execute from the folder use ./fix_vto_codecs.sh "rtsp://user:pass@<IP_ADDRESS>/cam/realmonitor?channel=1&subtype=1" dont forget the "" on the address. use chatgpt to troubleshoot it worked for me

Just to iron out some possibilities, I suggest you check if your doorbell is upgraded to the latest firmware.
Then, to continue troubleshooting it, I suggest you take the curl commands from inside the script and try running them by yourself.
When they work, they should output "OK".

Running the command in the scripts by my own I get all OK.
The fw is not the latest one I'm a little bit scared about updating but I'll try.

make sure you execute from the folder use ./fix_vto_codecs.sh "rtsp://user:pass@<IP_ADDRESS>/cam/realmonitor?channel=1&subtype=1" dont forget the "" on the address. use chatgpt to troubleshoot it worked for me

Just tried with quotes, I get no output on the console.
Tried with and without quotes in the frigate config file without changes in the result

If you get OK when running curl on your own, no need to update the firmware.
Please run the script with:
bash -x path/to/script.sh rtsp://...
And paste the output, please. Make sure to redact the password.

@dinamitemic, any updates?


update comment that says xhr hack is for angular <1.2 since 1.3 is out & it isn't fixed yet

From https://github.com/danialfarid/ng-file-upload/blob/master/dist/ng-file-upload.js#L12
// fix for angular < 1.2.0

How about pointing to https://github.com/angular/angular.js/issues/1934 instead of showing the angular version?

The check for instanceof Function is for angular < 1.2.0. The xhr hack is for all angular versions.
But for the whole hack the comment could be added, you could submit a PR if you like


How to upload a photo to Instagram correctly?

My code:
`from instagram_private_api import Client, ClientCompatPatch
from urllib.request import *
image = urlopen("link")
photo_data = image.read()
sizes = (1080, 1080)
instagram = Client("user_name", "password")
instagram.post_photo(photo_data, sizes, 'This is #test')`
What's wrong ?

+1
I tried many methods too, still not working.
I red file, i passed a url, i entered size manually, i get sizes from image. Still not working, it always says 'instagram_private_api.errors.ClientError: Not Found'
Also when opener.open works, it returns an error like 'urllib.error.HTTPError: HTTP Error 404: Not Found'

+1
I tried many methods too, still not working.
I red file, i passed a url, i entered size manually, i get sizes from image. Still not working, it always says 'instagram_private_api.errors.ClientError: Not Found'
Also when opener.open works, it returns an error like 'urllib.error.HTTPError: HTTP Error 404: Not Found'

@enesmaliksayan Hi, I found a working library, you can try it instauto

Yeah, this codebase is dead.


Compiler: fix multidispatch with autocasting

Fixes #8217 (and consequently #8594)

I don't think this entirely fixes https://github.com/crystal-lang/crystal/issues/8217, since there's also the semantic (wrong type) issue there.

Ah, right, it does a multidispatch when it shouldn't....


Update readme and simplify interface

Updating the readme examples to reflect recent changes.
@digitalkaoz @bighappyface What do you guys think about the idea of moving checkmode back to constraint? It doesn't really seem to have anything to do with the optimizations, and it would make setting flags a little less awkward in the case that you don't want to otherwise inject any dependencies.

@shmax as its just a bitmask im ok with it, but we must avoid cloning/creating object at all costs

Sounds good, I'll submit a PR soon.

I went ahead and made the change in this PR. See what ya think...

Go for it

Already did! This PR is ready for review.

Doesn't this change the interface again? It seems like these changes aren't BC with 4.0.0 and would force 5.0.0.

Yes, I suppose it would.

@bighappyface Have you given any more thought to this PR? There are a few issues open right now that have to do with the documentation not matching the interface:
https://github.com/justinrainbow/json-schema/issues/321
https://github.com/justinrainbow/json-schema/issues/311

First, let's rename this PR to be more descriptive.
Second, I would like to get some additional community support for a move to 5.0.0 before I merge and go. I am not against it, but I am not a big fan of unilateral action for packages consumed by many people.

Sure, no argument there. However, the community has had 2 weeks to chime in on this, and not a peep, so far. What's the best way to encourage some comment?

Not as interested in this now that the flag for coercion has been removed.


#20364 Fixing Typo

https://github.com/MicrosoftDocs/azure-docs/issues/20364 Fixing typo

@Alberto-Vega-MSFT : Thanks for your contribution! The author, @PatAltimore, has been notified to review your proposed change.

Verified editorial fix.


Option for not checking ssl certificate

Adding option for not checking ssl certificates, useful for testing HVs with self-signed certificates

Any chance this or #184 will get merged? Having the option to connect to ESXi hosts and vCenters with self signed certs is very useful when developing for test environments where the ssl certificates are often times self signed.
I would suggest either that or have the solution shown by @merrist above be more publicized as a workaround for servers with self signed certificates.


New SeededAtomicDB: in-memory atomic, backed by read-only DB

What was wrong?
I wanted to load a LevelDB database from disk into an in-memory Chain DB, and guarantee that it could not be modified. It is relatively straightforward to implement, but I wanted to test that everything worked as expected, and make it available for re-use.
(This was inspired by working on an integration test for #1392 which includes ~1k blocks that should be loaded from disk, but not modified)
How was it fixed?
Added a SeededAtomicDB, which is a tiny deviation from AtomicDB: all changes go into a BatchDB which is never committed. So it looks as if all changes are made, but the underlying is never changed.
I'll include an example case in a new PR that updates the tests/trinity/core/p2p-proto/test_sync.py to use a prebuilt chain with the SeededAtomicDB (lightchain integration could use the same tool). This will shave a few seconds off of the sync tests (and make it feasible to use ~1k real headers with PoW seals in a header skeleton test).
Thoughts on a better name? Some alternatives, plus things I don't like about them:

PreloadedAtomicDB (close 2nd to Seeded, I could be convinced)
ReadThroughAtomicDB (wordy)
EphemeralDB (not clear from the name how it's different from MemoryDB)
DiskReadMemoryWriteDB (the DB doesn't actually enforce the read db is on disk)
LockedAtomicDB (locked implies you can't write, but you can)

Cute Animal Picture

See my comment in #1512 about questioning the necessity of this.

Closing in favor of #1523


Update Drop Simulator to v1.1

Fixed manually changing the number of trials to update properly
Fixed instances of individual item popup menu info lingering upon right click simulating more drops

Just want to mention: I think you wanted to updated the version in build.gradle to 1.1 but forgot


Place order below MIN_NOTIONAL filter value

Python 3.10.6
Config found at /home/ubuntu/.MartinBinance/config/ms_cfg.toml
Python 3.10.6
Config found at /home/ubuntu/.MartinBinance/config/exch_srv_cfg.toml
Init Strategy, ver: 1.2.7 + 1.2.13-6 + 1.2.13-4
main.account_name: OKXSub02
[2023-02-09 08:55:19,175: INFO] gRPC session started for client_id:<PHONE_NUMBER>34304
trade_id: 9c48625692024e53a76709bcce4da3a6
main.exchange: okx
main.client_id:<PHONE_NUMBER>34304
main.srv_version: 1.2.9-2
main.restore_state: True
PRICE_FILTER: {'minPrice': '0.001', 'maxPrice': '100000.00000000', 'tickSize': '0.001'}
PERCENT_PRICE: {'multiplierUp': '5', 'multiplierDown': '0.2', 'avgPriceMins': 5}
LOT_SIZE: {'minQty': '0.1', 'maxQty': '999999999999', 'stepSize': '0.000001'}
MIN_NOTIONAL: {'minNotional': '0.7778', 'applyToMarket': True}

09/02 08:36:59 set_trade_conditions: depo: 1190.029056, order_q: 823, amount_first_grid: 0.100000, amount_2: 0.11
5, q_max: 39, coarse overprice: 41.150939
09/02 08:36:59 calc_over_price: buy_side: True, depo: 1190.029056, base_price: 7.691, reverse_target_amount: 203.
149968, order_q: 39, amount_first_grid: 0.100000
09/02 08:36:59 over_price coarse: 23.834553, max_err: 0.000010
Solve return the best of the right value ;-)
...
09/02 08:36:59 For Reverse Buy cycle set 39 orders for 38.4748% over price
09/02 08:36:59 Total grid amount: first: 203.153730, second: 1190.029052145
09/02 08:36:59 Send order id:2964884 for BUY 0.100074 by 7.691 = 0.769669
09/02 08:36:59 Send order id:2964885 for BUY 0.11531 by 7.671 = 0.884543
09/02 08:36:59 Send order id:2964886 for BUY 0.132988 by 7.649 = 1.017225
09/02 08:36:59 Send order id:2964887 for BUY 0.153378 by 7.627 = 1.169814
09/02 08:36:59 Send order id:2964888 for BUY 0.176918 by 7.604 = 1.345284
09/02 08:36:59 Shift grid threshold: 7.6988

Order id:2964884 has incorrect value.

When calculating the volume of the first order, the commission is not taken into account, because of this, when it is executed, it is impossible to place a TP order.
09/02 08:36:59 Order<PHONE_NUMBER>06889986: Status.FILLED
09/02 08:36:59 trade id=48495775, first: 0.100074, price: 7.691
09/02 08:36:59 Executed amount: First: 0.100074, Second: 0.769669134, price: 7.691000
09/02 08:37:00 For grid order First - fee: 0.09999394
09/02 08:37:00 Sum_amount_first: 0.099993, Sum_amount_second: 0.769669134


CC Greenteam  @comius

Closing this issue as it is already fixed. Thanks!


Problem of HtmlNode.SelectNodes(string xpath) method

HtmlAgilityPack Version="1.11.18".
HtmlNode.SelectNodes(string xpath)  method start to search from document root node
instead of node, that it activated from.

Hello @Leonid1965 ,
Your issue currently look similar to this one: https://github.com/zzzprojects/html-agility-pack/issues/251#issuecomment-425730930
If that's not the case, please provide us a runnable example so we could check it.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello Jonathan,
If you call method from node of middle part of document it need to start from this point because this is new sub document search by definition.
Best Regard,
Leo


Add Fundamenta Token

.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement: https://medium.com/@CivitasFundamenta/civitas-fundamenta-and-the-fundamenta-token-d136010611ed
Project team background: The Fundamenta team has multiple years of experience in cryptocurrency from POW to POS coins, they've been involved in multiple capacities. They've now shifted their talents over to the DeFi space and we believe we can truly make a difference.
Project basic information: The Fundamenta Token (FMTA) and Civitas Fundamenta are a bold new take on Capital and start-up funding. Through Defi and Liquidity Pools Civitas Fundamenta wants to build a Community Governed Capital funding platform that will let YOU decide what is worthy of funding.
Your vote, your weight, and your voice matters. With the Fundamenta Token, anyone can help choose tomorrow's next big ideas.
Media publications: N/A
Tradeable exchanges: Uniswap
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60,000

欢迎在社区中推荐用户使用 imToken 2.0 ，imToken 支持比特币, 以太坊, Comos, EOS, 波场, Nervos, 比特币现金, 莱特币，波卡等资产管理；同时支持去中心化币币兑换功能 Tokenlon；转账页面支持 ETH, USDT, EOS, BTC OTC 功能；另外对于没有 ETH 矿工费的用户，也提供 ETH 手续费充值功能。


Custom CSS not working for some Atlas components

I remember when we talked about this, there was at least one or two specific components that had this issue. Can you comment on what those components were? Just so we can have something for reference