text:
"nan" output when simulating "kuramoto_sivashinsky" data in "higher_dim_example.ipynb"

When simulating the "kuramoto_sivashinsky" data in the example "higher_dim_example.ipynb", the values in the resulting numpy array sim_data are diverging (nan) for timesteps larger than ~ 620.

Contents of environment .yml file in a .txt file, created via conda env export > dunc_env.yml (.yml files are not allowed here):
dunc_env.txt

Unable to reproduce the bug so far. Please open a python interpreter and post your numpy configuration here, i.e. the output of the following two commands:
import numpy
numpy.show_config()

Here the output of :
import numpy
numpy.show_config()

(with activated rc_env environment)
output:
blas_mkl_info:
    libraries = ['mkl_rt']
    library_dirs = ['C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\include', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\lib', 'C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\include']
blas_opt_info:
    libraries = ['mkl_rt']
    library_dirs = ['C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\include', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\lib', 'C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\include']
lapack_mkl_info:
    libraries = ['mkl_rt']
    library_dirs = ['C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\include', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\lib', 'C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\include']
lapack_opt_info:
    libraries = ['mkl_rt']
    library_dirs = ['C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\include', 'C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2019.0.117\\windows\\mkl\\lib', 'C:/Users/Dennis/anaconda3/envs/rc_env\\Library\\include']

The backend seems fine, so that's probably not it.
One possible solution could be that your python uses 32 instead of 64 bit floats for whatever reason. Please post the output of:
import sys
sys.float_info

Besides this, your numpy installation might just be bugged. Please run:
import numpy
numpy.test("full")

and post its output here.

The output of:
import sys
sys.float_info

yields:
sys.float_info(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2, rounds=1)

The output of:
import numpy
numpy.test("full", verbose = 2)

yields:

After installing the package pytest in the rc_env via conda install -c anaconda pytest the numpy test could be performed by running:
import numpy
numpy.test(label='full', verbose=2)

The result of the numpy test was:

Interestingly in the first line of the output it says platform win32 -- Python 3.7.5, pytest-6.1.1, py-1.9.0, pluggy-0.13.1, hinting to a 32 bit platform.

On the other hand, if I run the python code:
import sys
is_64bits = sys.maxsize > 2**32
print(is_64bits)

it prints True, hinting at a 64 bit environment.

Furthermore the output to conda info also shows a win-64 platform.

All the code was run within the active rc_env environment. It seems like numpy "thinks" the platform is 32 bit, eventhough it is 64bit ?

In the last snipped it says the python version is 3.8.8, even though the numpy test uses 3.7.5 as we want it to be? With the conda environment active, please run a simple
python --version

Also please save the first 1000 rows of the sim data you calculated here:

via numpy.save() and send them to me as well.

python --version yields the correct version:

Apperently the python version stated within the output of the conda info command is referring to the base python version, and thus is independent of the python version in the currently active environment. See: https://stackoverflow.com/questions/56848462/what-is-the-difference-between-the-python-version-stated-in-conda-info-and-that

authors: DuncDennis baurse

repo: GLSRC/rescomp


text:
Add ellipse

Ellipses are one of the most common shape and it's easy to draw in canvas.
However, I don't know how it should integrate in the current dependency tree.
Current tree:

Component

Arc

Circle

Possible solutions:

Split arcs and full ellipses

Component

EllipseArc

CircleArc

Ellipse

Circle

Add another branch

Component

EllipseArc

Ellipse

Arc

Circle

(1) IMO, arcs (ellipse or circle) should be treated by default as stroke (like lines and paths). Which mean that they could even inherit from Line.
(2) In the other hand, circle is just a specific arc (just as square is a specific rectangle) as much as a specific ellipse. Since double inheritance is impossible in JS, it's not an option.

Fixed by 57c6b4792b94412d440f21891c591b00b9969c91.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Set up & run Inversion DEMO

we want to modify kevins' example and apply this to NZ data
so that we have run an inversion on Hikurangi

FYI @thingbaijam I want to do this soon so we can give feedback to Kevin. Maybe we can run it together late tomorrow (NZ time)

FYI @thingbaijam I want to do this soon so we can give feedback to Kevin. Maybe we can run it together late tomorrow (NZ time)

fine with me! @chrisbc

authors: chrisbc thingbaijam

repo: GNS-Science/nshm-nz-opensha


text:
Optimization - More than 1 fence not needed for image acquire

Currently (after the latest update), Anvil allocates N fences for N swapchain images.
There is no need for multiple fences - Just a single fence that you pass to the vkAcquireNextImageKHR() function and wait on immediately after. As soon as the wait is over, the fence has served its purpose and is ready to be re-used for the next call to vkAcquireNextImageKHR().

Good catch!

Addressed internally. A fix will be pushed in the next week's update.

repo: GPUOpen-LibrariesAndSDKs/Anvil

license: mit

license_source: bigquery


text:
Use System libraries where possible

Please uses System librares where possible, because currently I get compile errors with your suplied boost libraries, because gcc-5.3 defaults to the CXX11 ABI and can't resolve all boost symbols, making it impossible to build with the supplied boost libraries

thanks a lot

repo: GPUOpen-Tools/CxlCommon


text:
Links to out-of-date documentation on readthedocs

https://gpflow.readthedocs.io/en/latest/notebooks/regression.html?highlight=densities gaussian

Thanks for highlighting this issue. We'll look into it. In the meantime, you can find the notebook here: https://github.com/GPflow/GPflow/blob/develop/doc/source/notebooks/basics/regression.ipynb
All the notebooks in general are included in /doc/source/notebooks.

@koneshgit the link you posted is outdated (note the red highlighting of the "v:latest" in the bottom left - we deprecated the latest tag on readthedocs; you should only use either master or develop). Could you please let us know where you found this link so we can fix it at the source ? Thanks!

@koneshgit if you can tell us where to find the link pointing to this out-of-date version of readthedocs, please let us know and reopen this issue!

authors: koneshgit markvdw st--

repo: GPflow/GPflow


text:
Не умею пользоваться НЕИ

Дописать в тултип графену, что нужно смотреть рецепт через фольгу

Это проблема игрока, не модпака

repo: GT-IMPACT/IMPACT-MODPACK


text:
blank screen

I am new to the whole polymer world, but I have an existing angular project that I was trying to incorporate your element into, but I must be doing something wrong, because I get a blank screen. i downloaded the code from the polymer website, added your .js file and included it into my app module. All my content is wiped out and I see a blank screen.
Can you provide any assistance?

Please try out version 0.3.0 which was just released. If you are not using Chrome or Opera, make sure you have the webcomponents-lite and object.observe polyfills. If you encounter a problem, please provide a running example.

authors: GabiAxel pjlasl

repo: GabiAxel/ng-polymer-elements


text:
FilePath -> Turtle.Text ?

I know there is toText :: FilePath -> Either Turtle.Text Turtle.Text

You can use format:
fp :: Format r (FilePath -> r)

format fp ("usr" </> "lib")

My bad, did not look at Turtle.Format

authors: PierreR xged


text:
Update sotu.md

Adds data science to the table of contents

Thank you for fixing that! :)

@rsoeldner: Fixed! :)

source: gharchive/pull-request


text:
Adicionado o Ano de ingresso no curso

fazendo a atividade 5 da oficina de GitHub do pet-si UFSM

4 horas seguidas é foda mesmo

authors: GabrielSaueressig PolarSpot

repo: GabrielSaueressig/oficina-git-pet-si


text:
Documentation needs updating

The documentation is extremely difficult to follow and has information that is incorrect. Please review and correct the documentation at https://support.gainsight.com/PX/Mobile/Mobile_Platforms/Install_Gainsight_PX_React-Native

There is no .tgz file at the provided github link.
The iOS steps appear to give different methods for performing the same process as separate steps.
The rest is just hard to follow.

It should be updated to have at least:
npm install @gainsight-px/react-native-gainsight-px --save

authors: bobonthenet hexadecy

repo: Gainsight/px-react-native-sdk


text:
feat(blip-16): display recently used contacts for quick send

Scenario 1: User types and list gets filtered accordingly

Light Theme
Dark Theme

Scenario 2: User makes a typo (armo instead of arno) and gets feedback

Light Theme
Dark Theme

Scenario 3: User selects from List and name then gets filled automatically in the search bar

Light Theme
Dark Theme

@nicolasburtey  wordMatchesContact & matchCheck are outside the component to allow for easy unit testing

Glad to have been able to contribute :)

repo: GaloyMoney/galoy-mobile


text:
Considerations for graphics, especially vector format over raster (SVG files over PNG)

@IJW-Wartrader Some thoughts that came up while I was editing the 'Shooting with war engines topic':
Nice fire arc icons -- and the images with these icons are more than serviceable for the moment. However, for the future I think we should consider such things as:

Best practice for graphics of this type is to use vector rather than raster format, so that they scale perfectly to any size. Thus SVG format would be better than PNG. Asciidoc does supports SVG, so we should favour this format in the publication.
We'll probably want a separate SVG file for each icon, sooner or later.
Best practice for labelling things in graphics is to use numbered callouts rather than text. Then create a small legend below and define each numbered item. This make life much easier when you want to change the label, allows you to combine further description into the definition (which also helps to simplify for reuse), and also makes things vastly easier in case of future translated versions of the publication (not a priority, but it doesn't hurt to account for it and I have already had an enquiry about this from a French fan).
We should think about how to make the source files and/or template files available to all project contributors, so that any contributor can easily edit existing images or develop new in the same style.
Speaking of contributors, it'll also be best to document some image-related best practices and instructions in the Contributor's Guide component. Again, not a priority, but something that we should keep in mind for some time after we've established the patterns.

They're vector drawings (in something roughly equivalent to Powerpoint), but I'll have to do some digging to see how easy it is to export/convert them to SVGs, or whether I have to recreate them in Inkscape which won't be fun. :-(
Effectively the same issue.
Yes. These are just the quick-and-dirty versions.
I don't know if Github has some standard way to do this, but we could create a top-level assets folder in the main repository?
Aye.

Yes — I've only used Inkscape for a few simple adjustments and it isn't exactly intuitive is it. PowerPoint definitely lets you export to SVG, but on a per slide basis rather than selection basis I think. So, one icon per slide should work. Then might need to edit the canvas in Inkscape to eliminate white space around each icon.
Yup, I agree that it makes sense to cut some corners at the moment, especially on the first go around while we're trying to get the basics done. This issue just gives us a placeholder so we don't lose track of this stuff.
I'm not sure either, will have to look into that. I remember that some special attention is required because a PowerPoint file is a binary large object (BLOB) rather than a text file.

They're done in Keynote (MacOS-specific app), not Powerpoint. I'll try exporting to Powerpoint format and seeing if my version of Powerpoint is new enough to export to SVG, but it's highly unlikely... ;-)
NA
Aye.
SVG would probably be more suitable as the source files, and they're just text so Github is likely to work very well with them.
NA

Bingo! Inkscape will read Keynote-generated PDFs and pull out the vector drawings as editable shapes.
As Inkscape is very scriptable (I've used it before for SVG to PNG conversions), that means a fair amount of the process can be converted, at least as far as generating SVGs is concerned.
Roughly speaking:

Draw icon in Keynote.
Copy icon into a square aspect ratio Keynote file and adjust the icon size depending on whether any white space is required.
Export to PDF and run script.

http://ijw.on-rev.com/remastered/img/180-left.svg

Ah, I read over your message too quickly and didn't see "roughly equivalent to PowerPoint" as opposed to 'actually' PowerPoint :-D

Bingo! Inkscape will read Keynote-generated PDFs and pull out the vector drawings as editable shapes.

Ah, that's good. That gets us the vector image without too much trouble then, score.
For the long term, I wonder if in due course we can build up a library or template of SVG objects that are reasonably easy for contributors to manipulate as 'source', so we don't need to start in Keynote/PowerPoint/whatever? Or if it'll always prove difficult for anyone who isn't a whiz with Inkscape or some other free multiplatform tool? Again, not a priority, just thinking ahead.

http://ijw.on-rev.com/remastered/img/180-left.svg

That looks great, vectors a-go-go. (FYI in case you haven't spotted it -- when you scale up you can see that the grey and black circles don't quite line up perfectly. Gets the job done, but if you do want to fix it then I figure it's better to know early rather than late in the process.)

For the long term, I wonder if in due course we can build up a library or template of SVG objects that are reasonably easy for contributors to manipulate as 'source', so we don't need to start in Keynote/PowerPoint/whatever? Or if it'll always prove difficult for anyone who isn't a whiz with Inkscape or some other free multiplatform tool? Again, not a priority, just thinking ahead.

I think it will definitely be a good idea to pull out all the 'components' like a blue Marine unit, yellow Marine unit, red Ork circle etc. and save them as a set of SVGs. But that will probably have to be in addition to Keynote/PP files. :-(

That looks great, vectors a-go-go. (FYI in case you haven't spotted it -- when you scale up you can see that the grey and black circles don't quite line up perfectly, and I don't think the crossover is centred on the arrow either. Gets the job done and is good enough as-is -- but if you do want to fix it then I figure it's better to know early rather than late in the process.)
Yeah, as soon as I opened it in a browser to double-check the URL was correct...

I'll go through them all at some point when generating SVG versions.

authors: IJW-Wartrader digi-brain

repo: GameBrains/er-core


text:
Feature: Creating a Frontend page for sign in and login

About Feature
Creating a Frontend page for sign in and login
Description
Creating a frontend page for sign in and login without the backend as nothing happends right now after clicking on the sign in option.
Kindly assign me this issue under SWOC.
Technologies Used
HTML , CSS , JAVASCRIPT
Screenshot
Connect Us On Social Media -

[x ]  Star the repositry
[ ]  GitHub
[ ]   LinkedIn
[ ]   YouTube
[ ]    Discord

Thank you for raising issue in GameSpher 3.0

@Rishav9911 you can start working


text:
Bot takes too long to upload video

So this took longer than 30 seconds and I had to wait 2 seconds for my video to complete, please fix this

...what?

I meant 2 minutes

authors: Jamieisbest pankofufu

repo: GanerCodes/videoEditBot

license: Unlicense


text:
Introduce QuickCheck

This PR is intended to serve as a place to argue for/again adding
a quickcheck dependency to collect-rs. If the final decision is for,
merge it. If against, close.
The primary argument for adding this is that collections tests are
pretty much the ideal use case for quickcheck. There's a lot of tests
that exist right now that just check one special case of a very general
property, and would be more clearly expressed (and with better coverage!)
with a property-based testing framework like quickcheck. This can
greatly improve quality, readability, and coverage of tests for "free".
One argument against is that this adds an unnecessary dependency.
Another is that it makes code and tests harder to pull into libcollections.
Thoughts?

@Gankro Removing elements in a random order sounds best to me, but I'm not sure if that's feasible.

@Gankro Removing elements in a random order sounds best to me, but I'm not sure if that's feasible.

Closing due to inactivity. I think the only outstanding problem was not relying on the plugins.

authors: Gankro cgaebel tbu-

repo: Gankro/collect-rs


text:
Variable Record

Challenge Info
Basic info for your new challenge
level: hard # warn | easy | medium | hard | hell
title: constant folding

Challenge Description
Variable Record
Implement a function record(root: SourceFile): number[]. This function should folding all node.
Root can promise

all variables name are unique
All variables have been initialized

Template
import {SourceFile} from 'typescript';
export function record(root: SourceFile): number[]{
    return [];
}

Judge
import { Node, ScriptTarget, SourceFile, createSourceFile, forEachChild, isVariableDeclaration } from "typescript";
import { describe, expect, test } from "vitest";
import { record } from "../template";

const datas = [
`
const a = 1;
`,
`
const a = '';
const b = 1;
const c = {};
const d = false;
const e = ()=>{};
const obj = {
    a,b,c,d,e
}
const arr = [obj]
`,
``,
`
function fn(){
    const a = 1;
    const b = 2;
    return a+b;
}
const c = fn()
`
]

const ans = [
    [9],
    [11,9,210,97,219,210,209],
    [],
    [9,9,213]
]

test('variable-record', ()=>{
    datas.forEach((data,idx) => {
        expect(record(createSourceFile('',data,ScriptTarget.ES2015))).toStrictEqual(ans[idx])
    })
})

Pull Request created.

Pull Request created.

Pull Request created.

Pull Request created.

Pull Request created.

#2 - Pull Request updated.

repo: GaoNeng-wWw/compiler-challenges


text:
Image can not update source when change source is ImageRequireSource

Description
Image can not update source when change source is ImageRequireSource
CodeSandbox/Snack link
https://snack.expo.dev/@giaptran/awkward-candies
Steps to reproduce

Click on the Image.
The "isChecked" state change but image source doesn't change.

NativeBase Version
3.4.28
Platform

[X] Android
[X] CRA
[X] Expo
[X] iOS
[X] Next

Other Platform
No response
Additional Information
No response

this on a react native bug, use <Image source={require(".../")}/>

authors: TVGSoft mrsants

repo: GeekyAnts/NativeBase


text:
Updated JavaScript modules for Godot 4.0 branch

The commits address various issues, such as non-existent files, editor targets, module usage, and compilation errors. The messages also show an effort to align the project's GitHub actions with the main Godot repository and tackle platform-specific problems. Some commits address challenges related to advanced Linux builds and temporarily disable the "-werror" flag due to issues with QuickJS.
Replaces https://github.com/Geequlim/ECMAScript/pull/149

@Geequlim

Thanks!

authors: Geequlim fire

repo: Geequlim/ECMAScript


text:
When writing projects, it would be useful to display the project's repositoryRoot ...

... as confirmation of the disk location where the package changes will be written:

Seemed easy enough to add in Jadeite for Rowan v3.0.

authors: dalehenrich ericwinger

repo: GemTalk/Jadeite


text:
chat component

[❌] - don't merge
Bug: don't render text message

#88

Is fixed now :-)

I chose to render String and Vector{String} arguments directly.
That means if you want to use a string field you have to reference it as a vector
@app begin
  @out textmsg1 = ["hey, how are you?"]
  @out textmsg2 = "I am good"
end

function ui()
  [
    Html.div(class="q-pa-md row justify-center",[
      Html.div(style="width: 100%; max-width: 400px",[
        chatmessage("This is static text", name="abhi", sent = true)
        chatmessage(:textmsg1, name="abhi", sent = true)
        chatmessage(Symbol("[textmsg2]"), name="adrian")
      ])
    ])
  ]
end

If you are ok with this syntax, let's merge. 🚀

A chat app would rather apply a Vector of Dict for a chat window, e.g. like this
using Random

using GenieFramework
@genietools

@app begin
  @in addpost = false
  @out chat = Dict{Symbol, Any}[]

  @onbutton addpost begin
    push!(chat, Dict(:text => [randstring(10) for i in 1:rand(1:3)], :name => randstring(5), :sent => Bool(rand(0:1))))
    notify(chat)
  end
end

function ui()
  [
    cell(class = "st-module q-ma-md q-pa-md", [
        btn("Add message", @click(:addpost), icon = "mail")
        chatmessage(R"d.text", name = R"d.name", sent = R"d.sent", "", @recur("d in chat"))
    ])
  ]
end

p = @page("/", ui)

Server.isrunning() || Server.up()

@hhaensel you thought of everything. I don't have anything to add to it. I didn't think of adding Dict case with loop. This is perfect. I'll merge

oh and just realized all our stippleui docs is now using deprecated syntax @reactive :(
maybe I need do entire dir look up with Regex
@reactive! mutable struct xxxxxxx <: xxxxx   # <--- find this pattern in all files
   # code
end

replace this with
@vars begin  # <---- replace with pattern
   # code
end

that would be easiest. Adding
@app begin
@out ___
@out ___
end

would require manual updating however :(

Ok no. Even the properties field have ugly R types
valone::R{Bool} = true. Will require manual updating :(

But @vars supports both gold Uhl Rtxpe syntax and a modernised one where you don't specify R. Instead you add NON_REACTIVE at the end if the Girls should be a simple field.
Since tue ovehaul of the Type these fields can also be readonly or private etc. But update needs to be done manually.

R_str ❤

authors: AbhimanyuAryan hhaensel


text:
Custom Assetic path

I like Assetic to dump files in a custom path (i.e. js/compiled/ - like in the Symfony docs) but I have a problem with the WebSocketBundle.  I am overriding your GosWebSocketBundle::client.html.twig with my own that includes the "output" option, like this:
{% javascripts
    '@GosWebSocketBundle/Resources/public/js/vendor/autobahn.min.js'
    '@GosWebSocketBundle/Resources/public/js/gos_web_socket_client.js'
    output='js/compiled/gos_websockets.js'
%}
    <script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}

However, now when I run assetic:dump the files are placed in TWO directories:
$ php app/console assetic:dump --env=prod --no-debug
Dumping all prod assets.
Debug mode is off.

14:18:06 [file+] /var/www/site/server/app/../web/js/6eb8fb0.js
14:18:06 [file+] /var/www/site/server/app/../web/js/compiled/gos_websockets.js

How do I stop your bundle from writing its javascript to my js/ folder?

I'll look into this problem this week-end
to allow that ;)
Le 30 juin 2015 23:19, Alex Gemmell notifications@github.com a écrit :I like Assetic to dump files in a custom path (i.e. js/compiled/ - like in the Symfony docs) but I have a problem with the WebSocketBundle.  I am overriding your GosWebSocketBundle::client.html.twig with my own that includes the "output" option, like this:
{% javascripts
'@GosWebSocketBundle/Resources/public/js/vendor/autobahn.min.js'
'@GosWebSocketBundle/Resources/public/js/gos_web_socket_client.js'
output='js/compiled/gos_websockets.js'
%}

{% endjavascripts %}
However, now when I run assetic:dump the files are placed in TWO directories:
$ php app/console assetic:dump --env=prod --no-debug
Dumping all prod assets.
Debug mode is off.
14:18:06 [file+] /var/www/site/server/app/../web/js/6eb8fb0.js
14:18:06 [file+] /var/www/site/server/app/../web/js/compiled/gos_websockets.js
How do I stop your bundle from writing its javascript to my js/ folder?
—Reply to this email directly or view it on GitHub.

Done ;) look at #32

Great!  Thank you!

repo: GeniusesOfSymfony/WebSocketBundle


text:
🛑 WWWW xyz is down

In fc53e16, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 502
Response time: 4302 ms

Resolved: WWWW xyz is back up in 0dd3b5e after 16 minutes.

repo: GentlemanHu/own-status


text:
🛑 AI flowise is down

In 87fbcdc, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 44f7052 after 11 minutes.


text:
🛑 AI flowise is down

In 71aa898, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 32ecf90 after 7 minutes.


text:
STContains/STWithin returning all results even if isn't inside

Hey I am not sure if I am doing something wrong or not. I am using GeoJson for states and am looking through my own data to add my data to it.
var data = await File.ReadAllTextAsync(Path.Combine(executingDirectory, StatesJson));
var collection = JsonConvert.DeserializeObject<FeatureCollection>(data);
foreach (var state in collection.Features)
{
    var geo = state.ToSqlGeography(options.Value.Srid).MakeValid();
    var records = myData.Where(i => SqlGeography.Point(i.Location.Y, i.Location.X, options.Value.Srid).MakeValid().STWithin(geo).Value);

    if(records != null && records.Count() > 0)
    {
        state.Properties.Add("stateCount", records.GetMyData());
    }
}

return collection;

The reason the Y goes in the latitude and X goes in the longitude is because of this. It works for 2 of the states (Washingotn and Utah which is where the data is expected) however it ends up filling up other states as well.

When I place a break point in the if statement it starts off with Washington with the expected results, and then Utah, but then it breaks on Arkansas.
The Washington geo data for the boundry of the state comes out to be

  | Name | Value | Type
-- | -- | -- | --
▶ | geo | {POLYGON ((-116.9980726794949 46.330169786151487, -117.02664974655227 47.72292715106596, -117.03142981653929 48.999309190458973, -120.00269628968556 49.000885321643864, -122.84 49.000000000000114, -122.49983068910967 48.180160223984387, -122.34002132224703 47.359951890647778, -122.58713802146673 47.095885321636388, -123.12 48.04, -124.56610107421875 48.379714965820426, -124.68721008300781 48.184432983398381, -124.39567 47.72017000000011, -124.079635 46.86475, -123.99867632678428 46.2830694871044, -123.77670365460955 46.282033189471633, -123.47137345441303 46.277253119484669, -123.22849422264113 46.186250922218562, -122.9379693202963 46.12909678810388, -122.75224422263926 45.93807485613678, -122.72578588930577 45.770333156917559, -122.65170772361546 45.63008331967734, -122.42045568910925 45.591997789078221, -122.17491512107449 45.595150051447945, -121.78809118715355 45.700983384781807, -121.56107662009549 45.732764390641307, -121.203889120094 45.689898790055224, -121.0467410894945 45.637498887711104, -120.83719315655094 45.672948920263423, -120.60963598695361 45.753900051448625, -120.15826818910023 45.740670884781935, -119.78730891989301 45.850767523779837, -119.59204952047821 45.932235419287906, -119.33699968145743 45.888336290055861, -118.97823605027111 45.992567653988658, -116.9150028145857 45.999983222022593, -116.90652787968992 46.177775987322832, -116.9980726794949 46.330169786151487))} | Microsoft.SqlServer.Types.SqlGeography

and here is the Arkansas

  | Name | Value | Type
-- | -- | -- | --
▶ | geo | {POLYGON ((-89.662919481143419 36.023072821591967, -89.673513149763252 35.94000295668279, -89.775109015649065 35.799236355119717, -89.950266282902376 35.701877956681827, -89.988894416040552 35.536229152970236, -90.147101813502132 35.404996853165017, -90.13493201369738 35.113955186497193, -90.249240281927 35.020834255507239, -90.268283047226561 34.941459255506913, -90.446618415065814 34.866838487277448, -90.4503132799747 34.7218602564826, -90.584206916042945 34.454098822562258, -90.6995487129184 34.397461452770358, -90.876307949572748 34.261474921194306, -90.9821412829065 34.0551050888367, -91.20068091506883 33.706392523731139, -91.223444383493415 33.469326890592171, -91.1080767484018 33.2068364527656, -91.156239183297828 33.010000922165858, -92.001303880566837 33.043874823533173, -93.094027879594648 33.010517686488768, -94.059757046265162 33.012119655889819, -94.002086147827441 33.57991445569678, -94.233338182333569 33.583609320605646, -94.427538214886425 33.570380153938927, -94.479912279014258 33.635983384733464, -94.451361050172991 34.510710354138, -94.430173712933311 35.483312486303348, -94.628611212934118 36.540586452778939, -93.412587246457889 36.52629791925024, -92.30717668330243 36.523662421203355, -91.251478848011743 36.52314565688043, -90.112194383488969 36.461754055317684, -90.029098680363632 36.337937323546356, -90.141804979192216 36.230502020811556, -90.253994513697862 36.122549953753833, -90.315386115260608 36.023072821591967, -89.662919481143419 36.023072821591967))} | Microsoft.SqlServer.Types.SqlGeography

The records variable inside the if statement for these states is filled with every result that is with in myData a total of 21 records. Like I mentioned both Utah and Washington (which actually has data) turn out fine but all the others East of Utah are for some reason getting all records even if their latitude/longitude don't fall with in the polygons.
I have tried both SqlGeography.Point( ... ).STWithin(geo) and geo.STContains(SqlGeography.Point( ... )) both return the same results.
Lastly here is one of the points that is showing up in a state that shouldn't have any data {POINT (47.2219 -122.4479)} yet some how the methods above are showing true even though the point shouldn't exist within that location.
Let me know if you need any more information, as I am really wanting to try to figure this out.

After a bit of manual playing around I was able to accomplish the task using the following.
            var geometryFactory = NtsGeometryServices.Instance.CreateGeometryFactory(srid: options.Value.Srid);
            foreach (var state in collection.Features)
            {
                IGeometry stateGeo = null;
                switch (state.Geometry.Type)
                {
                    case GeoJSON.Net.GeoJSONObjectType.Polygon:
                        var poly = state.Geometry as Polygon;
                        var coords = poly.Coordinates.SelectMany(i => i.Coordinates.Select(x => new GeoAPI.Geometries.Coordinate(x.Longitude, x.Latitude)));
                        stateGeo = geometryFactory.CreatePolygon(coords.ToArray());
                        break;
                    case GeoJSON.Net.GeoJSONObjectType.MultiPolygon:
                        // ...
                        break;
                }

                var records = myData
                    .Where(i => i.Location.Within(stateGeo));

                if(records != null && records.Count() > 0)
                {
                    state.Properties.Add("myGeoJsonData", records.Count());
                }
            }

I should of also added in the first post that I was using the new .net core/EF spatial data which seems to be different from the SqlGeography/SqlGeometry. Though I figured what I originally had should of still worked. For now I have found a work around. I am still needing to figure out MultiPolygon but shouldn't be too hard since I have a regular one done.

Hi @lzinga !
Thanks for reporting. Which Nuget were you using ?
Did you try with SqlGeometry rather than SqlGeography ?

Nuget Packages Used were the following with both being the latest version.
https://www.nuget.org/packages/GeoJSON.Net.Contrib.MsSqlSpatial/
https://www.nuget.org/packages/GeoJSON.Net/
I did indeed try with SqlGeometry instead of SqlGeography but then no data would should up on the map, I did play with the way the coordinates were entered too but didn't seem to change anything.

Lastly here is one of the points that is showing up in a state that shouldn't have any data {POINT (47.2219 -122.4479)} yet some how the methods above are showing true even though the point shouldn't exist within that location.

This point is perfectly inside Washington. (see https://www.google.com/maps/place/47°13'18.8"N+122°26'52.4"W/@47.3602567,-124.4208462,6z/data=!4m5!3m4!1s0x0:0x0!8m2!3d47.2219!4d-122.4479)
The code I used was :
var geo = state.ToSqlGeography(4326);
if (geo.STIsValid().IsFalse) geo = geo.MakeValid();

bool within = SqlGeography.Point(47.2219, -122.4479, 4326).STWithin(geo).Value;
bool intersects = SqlGeography.Point(47.2219, -122.4479, 4326).STIntersects(geo).Value;

// both are true for Washington

I am missing something here ?

So the point should exist within Washington state but it also shows for all the states highlighted east of Utah as shown on the map when it is trying to select records with this code:
var records = myData.Where(i => SqlGeography.Point(i.Location.Y, i.Location.X, options.Value.Srid).MakeValid().STWithin(geo).Value);

and the geo variable is the state boundry so I am unsure why it is selecting records that their location are not within the state boundary geojson. Sorry if I am not explaining this well.

@lzinga I found what's the problem. It's a classic one with geography types : the ring orientation of the geojson states does not follow the "left-hand-rule".
More on that here on this excellent blog by @alastaira (I had to mention you!), the king-of-sql-spatial-who-then-switched-to-independant-gaming.
So if you add the @alastaira's workaround :
var geo = state.ToSqlGeography(4326);
if (geo.STIsValid().IsFalse) geo = geo.MakeValid(); // Make valid if not (warning this can alter geometry)
if (geo.EnvelopeAngle() >= 90) geo = geo.ReorientObject(); // reorient if needed

This should work!
Let me know...

Awesome, thanks! Not exactly sure what changed from my code before when the code would run but didn't get the expected and now but now all I get is. Didn't change framework or anything
Unable to load DLL 'SqlServerSpatial140.dll' or one of its dependencies: The specified module could not be found.

I am sure your code will fix it, just need to solve this problem now that appeared out of no where lol.

Cool !
You have to add this bootstrap code at the very beginning of your program :
SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);
Please mark as resolved if it is ok for you.
Cheers

This is a .net core 2.2 application, I did the equivilent of the above and it alerts about msvcr120.dll not sure what is going on and why this could of possibly of worked before since it doesn't look like Microsoft.SqlServer.Types is .net core compatible...
Well either way I guess I can use the code I came up with to run it on .net core until I can figure out if it is something on my end.
Thanks!

authors: lzinga xfischer


text:
🛑 Панель управления OpenAI is down

In f6904a9, Панель управления OpenAI ($KEYS_MANAGER_URL) was down:

HTTP code: 502
Response time: 638 ms

Resolved: Панель управления OpenAI is back up in 30518a0 after 4 minutes.

repo: Georgsius/status


text:
🛑 Спецтранс ЖСК is down

In 87405da, Спецтранс ЖСК (http://s-z.spb.ru) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Спецтранс ЖСК is back up in 2ab1e52 after 13 minutes.


text:
Add the getting started notebooks from the DEA repo

Also fix some restructured text issues

See new structure and example output at https://damien-dea-docs.netlify.com

updated
Renamed all the directories so that they're in the right order in the Table of Contents.
Have also updated the preview.

repo: GeoscienceAustralia/dea-notebooks


text:
"Loading widget..." error when running Matplotlib widget on latest Sandbox image

Describe the bug
The Land Cover Pixel drill notebook here uses Matplotlib widgets to allow users to click on the map and return Land cover pixel drill data:
https://docs.dea.ga.gov.au/notebooks/Frequently_used_code/Land_cover_pixel_drill.html
However, this notebook as broken on the latest Sandbox image: when a user runs the cell to create the widget, they see a "Loading widget..." message but the widget does not load:

This works correctly on the current "default" Sandbox images.
To Reproduce
Run code on "Unstable" prod Sandbox server:
%matplotlib widget

import datacube
import matplotlib.pyplot as plt

dc = datacube.Datacube(app="Land_cover_pixel_drill")

def click_for_coords(event):
    """
    Define behaviour widget to enable extraction of x,y values for point
    manually selected with mouse click on interactive plot.
    For use with Matplotlib Imshow.
    The x and y returned are the coordinate positions of the pixel in
    the x and y axis, rather than latitude/longitude values of the point.
    The coordinate positions of the pixel this is what you need later
    to conduct a pixel drill.
    Returns: ix, iy = position of selected pixel in the x and y
    coordinates of the array.
    """
    global ix, iy
    ix, iy = event.xdata, event.ydata
    global coords
    coords.append((ix, iy))

    fig.canvas.mpl_disconnect(cid)
    return

# Load DEA Land Cover data from the datacube
all_data = dc.load(
    product="ga_ls_landcover_class_cyear_2",
    y=(-35.2064, -35.0064),
    x=(149.3248, 149.5248),
    time=("1988", "2020"),
    output_crs="EPSG:3577",
    measurements=["level3"],
    resolution=(-25, 25)
)

# Create interactive plot
fig, ax = plt.subplots(figsize=(6, 6))
ax = plt.imshow(
    all_data.level3.sel(time="2020", method="nearest").squeeze(),
    interpolation="nearest",
)
cid = fig.canvas.mpl_connect("button_press_event", click_for_coords)
plt.title("Interactive Plot")

Expected behavior
Users can successfully run Matplotlib widgets using latest Sandbox image

I think this is fixed now, thanks @emmaai!

repo: GeoscienceAustralia/dea-sandbox


text:
Added NEV

@all-contributors please add @drexample for content

@all-contributors please add @drexample for content


text:
Bug: Gramatical error in settings -> Privacy

It should say "third" instead

Consider it's done 👍

repo: Get-API-App/Issue-Tracker


text:
Fix refresh tokens

Trying to get an new token, with an 'expired' token results in an
signature error. The token is decoded with verification of 'exp' claim.
Only the orig_iat claim should be verified in this case.
Problem is the JWT_DECODE_HANDLER does not have an option to disable exp verification.
Changing the default handler would be an backwards incompatible change... not sure how you guys would want to handle that.
So in this pull it has it's own call to jwt.encode...
Fixes #249

+1 for this

any idea when this will be merged?

@jorrit-wehelp i've tried your repo with this pull request. but i am still getting Refresh has expired. error.
Following is my setting.
'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=7200),
'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(days=7),

👍

@kodeine This pull only avoids the 'Error decoding signature.' error.
With this pull request the 'Refresh has expired.' is only thrown when 'orig_iat' field (original issued at timestamp) is expired.
But do note that the 'orig_iat' field is not updated/changed when a new token is generated during refresh...
so orig_iat field functions as a kind of maximum reuse bound for the session...
Not what many people would expect from 'refresh tokens functionality', but it's another issue that I left out of this pull request.

Is there still a bug somewhere? I'm trying to refresh the token and still getting the error.
token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFiY0B4eXouY29tIiwidXNlclR5cGUiOjMsInVzZXJfaWQiOjN9.vaJ1Bvmq3rJ23DmTBRmAllz_80cbGIF8JAm3SESxJl0
secret:
7ll4i+q0bhjj4yfjncixjw-0%#xbdz%c+-ys%&2*27)*a+#osf
Can be checked at [(https://jwt.io/)], it shows as verified

This would solve issue #92

:+1:

https://github.com/GetBlimp/django-rest-framework-jwt/pull/348 is meant to update this.
Do you agree?

Yeah, agree. This pull is old and now has merge conflicts. Superseded by #348

authors: blueyed edelvalle jorrit-wehelp kodeine paw1 tvanhouten wlngwang

repo: GetBlimp/django-rest-framework-jwt


text:
Feature/test conductor worker

Description of the Change

Add basic conductor tests
Cleanup conductor worker code
Execute conductor main loop only if started as a standalone script
Allow overriding behaviour of spied on module functions via foobar._fn attribute

looks good to me, do you also think its ready @Nekuromento ?

authors: Nekuromento tschellenbach

repo: GetStream/Winds


text:
editing existing (or dropped) link - “OK“ is not clickable

on version 1.4.0 .NET 6.0

fixed in 1.4.1

repo: Geta/geta-optimizely-genericlinks


text:
make example  for Stakeholder Identification Viewpoint visible

SAF does have this viewpoint - make it visible.

Discussion in SAF Meeting:
The current VP Spec does mention the SOI, but in the operational domain should not know an SOI.
discussion needed :
move it ?
remove SOI ?
is Stakeholder an aspect ?
could they be in the common domain ?
there is also a comment about this in the model.
We have a concept of seperating stakeholders defining viewpoints by their concerns  and stakeholders relevant to system development. How relates this to the new ISO 42010 and this viewpoint ?

It is there. And it needs an example in the Sample model.
https://github.com/GfSE/SAF-Specification/blob/main/viewpoints/Stakeholder-Identification-Viewpoint.md

vp is released

repo: GfSE/SAF-Specification


text:
Radios can hear dead people

Handheld radios and transmitters can pickup the voices of players in spectator mode.

Fixed in v1.2.0

repo: Gibatron/analog


text:
Issue 35: refactored logging: replace zap with slog

Reference Issue: #35
What Changed?

created new logger using log/slog
replaced logger calls with associated calls
removed uber/zap library

Thank you very much for the PR. The general idea is good, but my thought was to actually ditch dependency injection of the logger, and create a singleton instead, that you could reach out from anywhere.

additionally, I don't see a way on how you manage the min log level to display in certain environments like we had with the zap logger.

closing in favour of https://github.com/Gigaxel/codesnap.sh/pull/39

authors: Gigaxel asfourco


text:
Added github workflow for multi arch docker images

Workflow creates docker images for the following os/arch:

linux/arm/v6
linux/arm/v7
linux/amd64
linux/arm64/v8

Workflow requires set repository secrets for docker hub credentials:

DOCKER_USERNAME
DOCKER_PASSWORD

The workflow creates and pushes an image with tag "latest" on every push to the main branch. Pushing a tag creates an image with the same tag.

I could only test the created images on amd64 so far. Will test on arm64, arm/v6 and arm/v7 tomorrow.

Hello, thank you for your contribution.
I am currently working on this branch (https://github.com/GioF71/squeezelite-docker/tree/feature/issue-12-build-all-versions-with-the-same-dockerfile) in order to eliminate all those release branches, then I will come back and integrate your work.
Do you think it will be possible to trigger the build ofd all my usual versions (buster, bullseye, sourceforge-bullseye, stable, latest etc along with those with the dates)?
Again, thank you, much appreciated!

Hi. Yes. We have to create a Dockerfile for every source (for every different "recipe"). The base image can be set with an argument.
ARG VARIANT=buster-20211220-slim
FROM debian:${VARIANT}

In the workflow we create a matrix to run a job for every variant and source combination:
jobs:
    release:
        name: Release Image
        runs-on: ubuntu-latest
        strategy:
            fail-fast: false
            matrix:
                variant: [ 'buster-20211220-slim', 'bullseye-20211220-slim' ]
                source: ['apt', 'sourceforge']

[...]

        -
            name: Set Release Tag
            run: |
                SOURCE="" \
                if [ "${{ matrix.source}}" = "sourceforge" ]; \
                then SOURCE="sourceforge-"; fi \
                if [ "${GITHUB_REF#refs/*/}" = "main" ]; \
                then echo "RELEASE_TAG=${SOURCE}latest"; \
                else echo "RELEASE_TAG=${SOURCE}${{ matrix.variant}}-${GITHUB_REF#refs/*/}"; fi \
                >> $GITHUB_ENV

[...]

        -
            name: Build and push image
            uses: docker/build-push-action@v2
            with:
                context: .
                file: Dockerfile.${{ matrix.source}}
                build-args: VARIANT=${{ matrix.variant}}
                platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
                push: true
                tags: ${{ secrets.DOCKER_USERNAME }}/squeezelite:${{ env.RELEASE_TAG }}

The stable version is still missing. The script shall create a stable image for the latest version tag? Maybe we need a second workflow here.

Hello, a few questions for you. I hope you can help :-)

do I need to create "Environment secrets" or "Repository secrets"?

About the build process I made some changes lately, and got rid of all the release branches.
I built the latest version using the scripts:

build-bullseye-sourceforge.sh
build-bullseye.sh
build-buster-sourceforge.sh
build-buster.sh
build-latest.sh
build-stable.sh
I had to change the build process for the sourceforge version because it occurred to me that sourceforge download just stopped working. I don't if it was due to some throttling, but I could not build anymore.
Currently for the "sourceforge" version, the Dockerfile expects the binaries to be in the correct places, which is not optimal.
I plan to build an intermediate image with all the binaries, unless I discover a way to selectively COPY the correct binary during the build phase, avoiding to copy all the binaries.

I would gladly support more platforms like you are suggesting. Can you suggest how to match the architectures with the sourceforge binaries? Here is the download page.
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/
I can match x86_64 with amd64, armhf with armv7l and maybe arm64 with aarch64 (hopefully correctly), but does "armel" correspond to linux/arm/v6?

Thank you!

Hi!

Repository Secrets. Now found under Settings -> Secrets -> Actions
Yes. The branches should only be used for different developement paths and not different versions.
The Downloads from Sourceforge should work. Maybe double check the download links? Again?
After installation you should delete the binary anyway, so you can copy them all and delete them all afterwards. Same for your install.sh.
To map the different arch names you can use an associative array https://lzone.de/cheat-sheet/Bash%20Associative%20Array

declare -A arch_arr
arch_arr["linux/amd64"]="x86_64"
... etc.

echo ${arch_arr[${arch}]}

Then you have to define another matrix for the workflow with the different archs arch: ['linux/amd64', 'linux/arm/v7', 'linux/arm64/v8'] and pass the arch as argument to your Dockerfile and set platforms: ${{ matrix.arch }} in the last step of the workflow. In your Dockerfile you can then pass the arch-argument to your install.sh and map it, as shown above, to the sourceforge-arch and download the corresponding release.
If I have some time this weekend I will try to update this PR accordingly.

About the multi-stage docker file... I was thinking of doing all the install in one instruction in the script, so that the image size would not become bigger than needed.
OTOH, I would like to minimize the downloads and avoid incurring in the same error with sourceforge (throttling or some error on their side, triggered by too many downloads in a certain amount of time).
I will need to experiment a little more.

Hello, I have simplified the build process. It's not multistage anymore, and no assets are required, we are back to downloads.
Hope this simplifies your work!

The new workflow creates the following tags:
https://hub.docker.com/r/derhenning/squeezelite/tags
"latest" is the same image as "bullseye-20220125-slim".
Does the result match your concept?
Had to add  --no-check-certificate to download from sourceforge on the focal arm image. Updating ca-certificates didn't work ...

Hello, thank you! Yes, "latest" should match debian-bullseye with sourceforge download.
From what I see in the yaml file, it's done ok.
The only thing I believe is missing is the "stable" version, which should be "debian-buster" with no sourceforge download, can you add this one also?
Amazing work, thank you for taking the time working on this!

Another thing, the dates I append to my images are related to the "release date" of the image, not of the base image.
Thanks!

Update:

Workflow not creates a tag only with [bullseye, buster, focal] and anotherone with the current date.
Added stable tag to buster image.
Excluded focal / sourceforge combination from workflow. -> removed --no-check-certificate

See created images on hub.docker.com


text:
Fixes some issues with running on the Teensy

Name space clashes with Teensy when using audio
File open/close when using Teensy SD card library

Did you see this comment. If you are experiencing any undefined behavior or crush due to this, it's definetely not an issue of the library but an issue with the way you implemented and used the NN under REDUCE_RAM_DELETE_OUTPUTS-optimization in your sketch.

Hi, strange, i'm not sure how the REDUCE_RAM_DELETE_OUTPUTS regression happened, please ignore that part of this pull request. Sorry perhaps it would be helpful if i had explained a bit more about this PR - i'm running a workshop this week and we're using this library - it's working really well, and we haven't experienced undefined behaviours.  We're running the workshop using Teensy 4.1 boards, and I'm sharing a few adjustments that I made to get the library to work on these boards - renaming A1-A3 because there's a clash, and some small changes to the way files are opened in load/save because teensy has a slightly different API for its own SD card library.  The adjustments should be backwards compatible i hope.

Hi, strange, i'm not sure how the REDUCE_RAM_DELETE_OUTPUTS regression happened, please ignore that part of this pull request

No wories, I think it has to do with the fact that this specific improvement wasn't included to the latest version.

i'm running a workshop this week and we're using this library - it's working really well, and we haven't experienced undefined behaviours.

Sounds pretty interesting! I'd like to know more about it - niceee. I've seen you entered our discord server, if you had any issue with the verification let me know and I will manually verify you once I see you again.

I'm sharing a few adjustments that I made to get the library to work on these boards

I was able to merge this change but unfortunately I had to refactor&drop this one before merging.

The adjustments should be backwards compatible i hope.

Thanks for your interest and contribution, now everythings should be fine. I'll push the new version in a few minutes and it should be available in arduino's library manager in a few hours (or the next day).

Done, Should be available in arduino's library manager in a few hours (or the next day):
https://github.com/GiorgosXou/NeuralNetworks/releases

authors: GiorgosXou chriskiefer

repo: GiorgosXou/NeuralNetworks


text:
Perf (implementation 2): in iac diff scan, allow file filter to operate without opening the files

This attempts to solve the same issue as #602.
This time, we provide two distinct acceptation functions as arguments to the tar_from_ref_and_filepaths function:

One filtering on filepath only (does not open the file)
One filtering on file content. The file is opened once. The filepath is also provided as an argument, because cross-validation on path and content might be needed in the future.

Pros:

When validating on path only, there is no longer an unused file_opener argument in the acceptation function
Cons:
However, the path argument in the second acceptation function might be unused.

Codecov Report

Merging #606 (8c13803) into pbes/IAC-95/iac-diff-only-read-file-if-needed (2f69199) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@                                Coverage Diff                                @@
##           pbes/IAC-95/iac-diff-only-read-file-if-needed     #606      +/-   ##
=================================================================================
- Coverage                                          93.82%   93.80%   -0.03%
=================================================================================
  Files                                                104      104
  Lines                                               4856     4856
=================================================================================
- Hits                                                4556     4555       -1
- Misses                                               300      301       +1

Flag
Coverage Δ

unittests
93.80% <100.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/cmd/iac/scan/iac_scan_utils.py
94.11% <100.00%> (ø)

ggshield/core/git_shell.py
92.20% <100.00%> (-0.65%)
:arrow_down:

authors: Paul-GitGuardian codecov-commenter

repo: GitGuardian/ggshield


text:
Open external links in Safari

Fixes #2517
Changes:
Added setting for external links opening in Safari
Notes:
I'm not sure that func presentSafari(url: URL) is a proper name for our method. And also I have some doubts about Defaults+ExternalLinks.swift implementation

@Huddie by default bool value in UserDefaults in false.

Return Value
The Boolean value associated with the specified key. If the specified key doesn‘t exist, this method returns false.

Details see here.

@ismetanin cool 😎!
Sent with GitHawk

@ismetanin you added a file but didn’t upload the project .pbxproj file.
Sent with GitHawk

@Huddie fixed

Love this. Has been requested multiple times!

authors: Huddie ismetanin rnystrom

repo: GitHawkApp/GitHawk


text:
DualCLIPLoader Error while deserializing header: HeaderTooLarge

I tried googling this error and found a solution from reddit https://www.reddit.com/r/comfyui/comments/1esv6wg/help/
Some people think it's because dtype of Diffusers is not in accord with clip. I want to know some details of the clip_l.safetensors here

(btw It should be clip_l not clip_I)
but this clip link guided me here

This is the page of model.fp16.safetensors

but this clip link guided me here

Because that's the clip model with a default name

ummmmm I guess I uploaded the wrong screenshot. I tried sd1.5 and sdxl, didn't work, then I tried flux as dtype.

This is sdxl as dtype. didn't found sd1.5 as dtype

This issue mostly because of the file is corrupted during download or wrong file.

clip_files (clip_l, clip_g): huggingface.co/Comfy-Org/stable-diffusion-3.5-fp8/tree/main/text_encoders

Thanks for the info, I didn't think of a corrupted file, it could be the cause

Diffusers provide a method to load modules from singlefile

I tried the Init unet only, but it doesn't work...

Code and error
unet = UNet2DConditionModel.from_single_file(
        pretrained_model_name_or_path=unet_path, # this leads to the safetensors unet, in a folder also with its unet config
        original_config=f"{comfy_path}/models/configs/sd_xl_base.yaml",
        torch_dtype=dtype,
)
        unet.to(device)
pipe = StableDiffusionXLFillPipelineTest(
        scheduler=scheduler,
)
rgb_latents = list(pipe(
       ...
       unet=unet,
       ...
)

The error is at line: unet = UNet2DConditionModel.from_single_file(.
The error: FromOriginalModelMixin is currently only compatible with StableCascadeUNet, UNet2DConditionModel, AutoencoderKL, ControlNetModel, SD3Transformer2DModel, MotionAdapter, SparseControlNetModel, FluxTransformer2DModel

authors: AnxietyVendor GiusTex

repo: GiusTex/ComfyUI-DiffusersImageOutpaint


text:
🛑 xxlhd is down

In 6c18265, xxlhd (xxlhd.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: xxlhd is back up in 8ecd97b after 1 hour, 47 minutes.


text:
🛑 orkut is down

In 4320b48, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in b5bddf5.


text:
🛑 lings is down

In 947de7d, lings (lings.com) was down:

HTTP code: 403
Response time: 474 ms

Resolved: lings is back up in 0f0b7f3.


text:
🛑 orkut is down

In 9b91352, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 831cd3f.


text:
🛑 orkut is down

In ab8c1a2, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 1893f61.


text:
🛑 orkut is down

In fc25686, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 252 ms

Resolved: orkut is back up in 867a72a.


text:
🛑 ojolink is down

In 854b201, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 752c48a.


text:
🛑 hcr is down

In 9ed8f39, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 708 ms

Resolved: hcr is back up in d7e63bb.


text:
🛑 fantasti is down

In 1c02f98, fantasti (fantasti.cc) was down:

HTTP code: 500
Response time: 616 ms

Resolved: fantasti is back up in 0589006.


text:
🛑 orkut is down

In cd3bd38, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 8044fd8.


text:
🛑 ojolink is down

In b27679c, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 5cf1689.


text:
🛑 hcr is down

In 89844e6, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 983 ms

Resolved: hcr is back up in a76da17.


text:
🛑 wvtaxsales is down

In af4e427, wvtaxsales (wvtaxsales.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: wvtaxsales is back up in 21d866b.


text:
🛑 orkut is down

In 3600a71, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 49811ad.


text:
🛑 feest-start is down

In 76bc698, feest-start (feest-start.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: feest-start is back up in acc98d5.


text:
🛑 orkut is down

In 7c2e1b4, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 0f336f3.


text:
🛑 orkut is down

In 1489d5b, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 1cec0cc.


text:
🛑 orkut is down

In 2d101f1, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 644 ms

Resolved: orkut is back up in 5f8e6f4.


text:
🛑 orkut is down

In bc9a631, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 635 ms

Resolved: orkut is back up in 2ba2e6c.


text:
🛑 orkut is down

In 1173300, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 809 ms

Resolved: orkut is back up in 3745a43.


text:
🛑 163 is down

In 9fb0dd9, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in d8ca2ba.


text:
🛑 ojolink is down

In 8b446ba, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 447 ms

Resolved: Ojolink is back up in ecc142f.


text:
🛑 orkut is down

In 111b162, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 0d9dbc8.


text:
🛑 ojolink is down

In e4849e2, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 513 ms

Resolved: Ojolink is back up in eb85095.


text:
🛑 orkut is down

In a24fc09, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 841 ms

Resolved: orkut is back up in d46c073.


text:
🛑 penisdicke is down

In 1b28016, penisdicke (penisdicke.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: penisdicke is back up in 95ab5f6.


text:
🛑 ojolink is down

In c1e1b41, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 504 ms

Resolved: Ojolink is back up in ea57ec4.


text:
🛑 ojolink is down

In 8531dfb, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 418 ms

Resolved: Ojolink is back up in 016640a.


text:
🛑 ojolink is down

In 8825d70, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 396 ms

Resolved: Ojolink is back up in 1540b21.


text:
🛑 ojolink is down

In fdf7660, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 371 ms

Resolved: Ojolink is back up in a46f396.


text:
🛑 orkut is down

In 6b363d4, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 616 ms

Resolved: orkut is back up in cc6bdfc.


text:
🛑 orkut is down

In e42d515, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 905 ms

Resolved: orkut is back up in 7b2582a.


text:
🛑 orkut is down

In 154ba60, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 779 ms

Resolved: orkut is back up in 72e8ef7.


text:
🛑 inkcityusa is down

In e0a4da5, inkcityusa (inkcityusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: inkcityusa is back up in 4e1a424.


text:
🛑 orkut is down

In 474c7f7, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 58f1317.


text:
🛑 ojolink is down

In ff6d408, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 0900bf2.


text:
🛑 ojolink is down

In 1bc70de, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in a49ccbb.


text:
🛑 ojolink is down

In a42ffe9, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 3df69fa.


text:
🛑 ojolink is down

In 4985980, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 4fc1cc3.


text:
🛑 ojolink is down

In a738e7e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in b08ada7.


text:
🛑 ojolink is down

In 0ed2871, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in bca5a5a.


text:
🛑 ojolink is down

In e3554f1, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 2c1f7dc.


text:
🛑 feest-start is down

In 9d85d36, feest-start (feest-start.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: feest-start is back up in 35c348a.


text:
🛑 ojolink is down

In d821cf7, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in bf3792e.


text:
🛑 orkut is down

In f957969, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 1cec51a.


text:
🛑 penisdicke is down

In 9092988, penisdicke (penisdicke.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: penisdicke is back up in 66ce0f3.


text:
🛑 nacaranta is down

In 214421c, nacaranta (nacaranta.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nacaranta is back up in fffa1c6 after 17 minutes.


text:
🛑 penisdicke is down

In 48a3670, penisdicke (penisdicke.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: penisdicke is back up in c8439b6 after 18 minutes.


text:
🛑 youjizz is down

In 7ea8a20, youjizz (youjizz.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: youjizz is back up in 2c255f0 after 18 minutes.


text:
🛑 carlinha is down

In 73cec8b, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in 0abed2e after 1 hour, 4 minutes.


text:
🛑 uzboys is down

In 87fee30, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in 5d46ebc after 17 minutes.


text:
🛑 ojolink is down

In d190db8, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in e8c2995 after 18 minutes.


text:
🛑 ojolink is down

In 8b14b62, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in fa43d9f after 17 minutes.


text:
🛑 ojolink is down

In 0b4760e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 8a57692 after 14 minutes.


text:
🛑 ojolink is down

In 9b9e313, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 560c94f after 9 minutes.


text:
🛑 ojolink is down

In af0b881, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 48cbdd5 after 21 minutes.


text:
🛑 ojolink is down

In 89c50e4, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in a365eb9 after 6 minutes.


text:
🛑 rapishare is down

In 0eb07ef, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 7dd1e70 after 18 minutes.


text:
🛑 ojolink is down

In 0877133, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in a4f30cb after 50 minutes.


text:
🛑 rapishare is down

In 644663f, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in c36646c after 3 hours, 32 minutes.


text:
🛑 ojolink is down

In 34b8801, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in c73e791 after 9 minutes.


text:
🛑 orkut is down

In dd8b7e5, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 2a3d197 after 9 minutes.


text:
🛑 orkut is down

In a321487, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 7a61bb9 after 16 minutes.


text:
Installation failed

Description
Installation failed.
Expected Results
Installation succeed.
Console information
npm WARN engine typescript-formatter@2.2.1: wanted: {"node":">= 4.2.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine glob-expand@0.2.0: wanted: {"node":">0.10 <=5"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN optional dep failed, continuing fsevents@1.0.13
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN deprecated minimatch@0.2.12: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN optional dep failed, continuing uglify-js@2.7.0
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/qn0361/.atom/.apm/.apmrc" "--userconfig" "/home/qn0361/.atom/.apmrc" "install" "/tmp/d-116615-8224-1s3inyq/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file /home/qn0361/.atom/.apm/core-util-is/1.0.2/package/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/qn0361/.atom/.apm/core-util-is/1.0.2/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! File: /home/qn0361/.atom/.apm/core-util-is/1.0.2/package/package.json
npm ERR! Failed to parse package.json data.

core-util-is is not an Atom-Beautify specific dependency. It may have been corrupted during installation. I recommend installing again with apm install atom-beautify. If you continue to have issues, there may be an issue with apm itself during installation. If so, then I recommend asking over at https://github.com/atom/apm


text:
Bug: enemy deployment

Enemies deployed are always a Nexu and three droids, no matter what mission is chosen.
This is using v1.0.21 on Android.

Addendum: This concerns the INITIAL groups. The RESERVED groups are also always the groups from "A New Threat", regardless of the selected mission. It probably has something to do with not loading the mission presets correctly.
Confirmed on Windows.

Ugh, yes I'm seeing it - working on it.

Nailed it, fixed.

authors: GlowPuff Noldorion philsuess

repo: GlowPuff/ImperialCommander


text:
Anime TV

Anime TV

Anime TV

repo: GnikDroy/AnimeTV


text:
Can't resolve 'vuejs-dialog/vuejs-dialog-mixin.min.js'

I got the message:
Module not found: Error: Can't resolve 'vuejs-dialog/vuejs-dialog-mixin.min.js' in ...
Trying to import mixins like:
import VuejsDialogMixin from 'vuejs-dialog/vuejs-dialog-mixin.min.js'
Although I can import VuejsDialog:
import VuejsDialog from 'vuejs-dialog'

Just realized that npm default location is 'dist'

repo: Godofbrowser/vuejs-dialog


text:
Cast argument from Variant to custom class

Hi everyone,
I'm confused about why the following doesn't compile.
The error message points out cast error from 'godot::Variant' to 'godot::Float128' :
class Float128 : public Object {
    GODOT_CLASS(Float128, Object)
    inline bool is_greater_than(Float128 value, bool or_equal = false) { /* Some logic here */ }
    /* some other member functions */
}

Note that function is_greater_than is properly registered with _register_methods()
Instead, is_greater_than does compile with Variant instead of Float128 in as an argument :
inline bool is_greater_than(Variant value, bool or_equal = false)
This implies an explicit cast from Variant to Float128 at some point in the function body. I tried several things including :
godot::Object::cast_to<Float128>( (Object*)(godot_object*)value );
and
godot::Object::cast_to<Float128>(godot::Object::___get_from_variant(value));
and also using the as<Float128> function
However in all case Godot crashes at project run.
I guess I've missed something about passing parameters from GDScript to NativeScript, related to Variant casting.
However I can't figure out what, and I find no clear information on internet.
Can someone help ?
Cheers,
Flarkk

Hi there,
I finally found out that my runtime crash problem was related to the nullptr bug #217.
PR #210 fixes it in branch 3.1, however I was using another branch in my project.
I rebuilt everything against godot-cpp 3.1 branch and everything is working like a charm now.
I close the issue.
Best
Flarkk

repo: GodotNativeTools/godot-cpp


text:
Add parsing of nested Dictionaries/Arrays

Add new array2fields function that formats Arrays for Firestore
correctly.
Change dict2fields function to use array2fields on Arrays.
Both array2fields and dict2fields recursively call one another to
parse the entire object.
Return new object from dict2fields instead of modifying object passed
in, so that calling it twice on the same object doesn't break it.

Hi @timjrobinson ,
Is there a specific reason you would like to implement the array2fields method?
Are you having issues creating a dictionary of fields? Or is it limiting your flow in any way?

Hi @timjrobinson ,
Is there a specific reason you would like to implement the array2fields method?
Are you having issues creating a dictionary of fields? Or is it limiting your flow in any way?

@fenix-hub Just updated with test item that wasn't saving to Firestore. The new code saves it out correctly.

@fenix-hub Just updated with test item that wasn't saving to Firestore. The new code saves it out correctly.

@timjrobinson Maybe old changes broke compatibilty with Arrays. Thank you very much for your PR. It will be merged together with a little update with the Authentication module, later today.
Always feel free to contribute, but please always mention what is the issue you are encountering that your PRs will resolve, so we will be able to test them too and merge them faster. Thank you! :)

@timjrobinson Maybe old changes broke compatibilty with Arrays. Thank you very much for your PR. It will be merged together with a little update with the Authentication module, later today.
Always feel free to contribute, but please always mention what is the issue you are encountering that your PRs will resolve, so we will be able to test them too and merge them faster. Thank you! :)

Sure will do, thanks!

Sure will do, thanks!

authors: fenix-hub timjrobinson

repo: GodotNuts/GodotFirebase


text:
[FEAT] 需要以LE启动游戏

需要以LE启动游戏

可以参考这co↑篇co↓文章来LE启动游戏：https://github.com/GoldenPotato137/PotatoVN/wiki/LocaleEmulator支持

可以参考这co↑篇co↓文章来LE启动游戏：https://github.com/GoldenPotato137/PotatoVN/wiki/LocaleEmulator支持

谢谢提示，但每个游戏都要这样有点繁琐，要是可以在软件里面设置le路径就好了


text:
Добавить возможность переключения между аккаунтами

Добавить возможность переключения между аккаунтами
по примеру google

Интересно было бы реализовать модель кошелька, как на rudex.org или bitshares.org. Добавить возможность хранения ключей в кошельке. Мне кажется вероятным будет юзкейс, когда пользователи будут иметь только один какой то ключ от другого аккаунта. К примеру постинг ключ, как вариант делегирования обязанностей. Или активный ключ от мультисиг-аккаунта.

authors: gropox jevgenika

repo: GolosChain/tolstoy


text:
Реализация компонента "Об авторе"

Реализовать карточку "об авторе"
Содержание карточки

[ ] Аватар пользователя (автора поста)
[ ] Имя пользователя
[ ] Username пользователя
[ ] Информация из раздела "о себе"
[ ] Кнопки "подписаться" и "отблагодарить"

Done


text:
(Chore) Bunch of small tasks ie change text or styles

Description
A bunch of tasks with text/styles changes:
820 - Make send/receive share link to be copied along with the specific text.
828 - make a background for market icon according to the design.
823 - update the text on the welcome screen.
824 - update title text for Phone screen in the registration flow.
825 - update magic link signup/signin explanation screens to match the updated design. Make the support link button redirect to the support page.
About #820 #828 #823 #824 #825
How Has This Been Tested?
820:
you should be logged in and have some G$ on your wallet.
try to send or request for specific amount of G$.
after you finish the send/receive process you will have a link copied to your buffer. The link should be with text.
828:
Set true for market property in config.js file.
You should be on Dashboard.
See the background for market icon.
823:
You should be logged out.
open the app.
see the welcome screen.
824:
You should be logged out.
Go to the signup page.
reach the phone screen.
see updated title text.
825:
You should be logged out.

signin explanation screen:
open the app.
Click on sign in button at the bottom
see the screen updated according to design.

signup explanation screen:
go to signup screen.
reach the explanation screen (after email).
see the updated screen according to design

Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[x] I have added screenshots related to my pull request ( for frontend tasks)
[x] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Screenshots:

820
828
823
824
825

https://www.screencast.com/t/0JDmNMEi

add maybe some images
and ask liav for review

done

repo: GoodDollar/GoodDAPP


text:
Disabled button fails the contrast ratio test - should it?

The default contrast ratio of disabled buttons (in Chrome and probably others) fails the low contrast tests.
I would argue that since the user does not / cannot interact with disabled elements they should be ignored for this (and perhaps other?) tests.
Another argument in favor of ignoring them is that if you style a disabled element to meet the contrast ratio audit then it will probably lose the disabled look and harm usability.

@alice This is sort of related to what you were saying about placeholder text recently. Might be a good question for the web-a11y slack channel if you haven't already asked!

"Text or images of text that are part of an inactive user interface component" are exempt from color contrast requirements.
http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html

Thanks @stevefaulkner!
@RickSBrown do you think it would work to just check for the disabled attribute in the audit rule? I'd be tempted to make this part of the relevantElementMatcher, even.

@stevefaulkner thanks
@alice Yep I think this will be pretty straightforward (I always think that before spending hours on one tiny little problem).
The complicating factors to consider would be:

aria-disabled Should we also ignore ARIA widgets that are aria-disabled (yes - I think Steve's answer applies to that too).
Disabled ancestor - aria-disabled is global and could be on anything - what effect would that have to descendent components?  Also fieldset can be disabled in HTML - what effect would that have.

Totally makes sense to ignore aria-disabled on the current element
Yep, need to walk up the tree in case aria-disabled is set higher up: "The state of being disabled applies to the current element and all focusable descendant elements of the element on which the aria-disabled attribute is applied." http://www.w3.org/TR/wai-aria/states_and_properties#aria-disabled
fieldset is a spanner in the works! Doesn't look like the disabled property (as opposed to attribute) is exposed on the elements which are disabled by being in a disabled fieldset. So we'll need to be somewhat subtle about that - if it's an <input> and one of its ancestors is a <fieldset disabled> then we ignore it. Ugh I hate having to recreate browser logic.

OK I'm happy to run with this (unless anyone else wants to).
@alice your temptation to put this in the relevantElementMatcher makes perfect sense - the result of the audit should be NA not PASS for disabled elements.

@RickSBrown works for me, go ahead and take it :)

authors: RickSBrown alice jdan stevefaulkner


text:
Improve app structure

Moving handlers to /controllers. This will make it easier to add
more handlers in the future and avoid breaking stuff in app.js.

LGTM

authors: andreban ithinkihaveacat

repo: GoogleChrome/gulliver


text:
Puppeteer spawns a runaway amount of Chromium instances

Over the last week I've encountered this problem twice. Once on an Ubuntu server and once on my local Macbook Pro. Running a dead simple Puppeteer scripts locks up my machine or a server. After a quick top it shows a huge amount of Chromium instances being started (see screenshot...).
The only way to stop this is a killall Chromium

Just for completeness, I've pasted the script that triggered it below, but it runs fine 9 out of 10 times and it probably not the cause of this.
// Get the title of a page and print it to the console.
const puppeteer = require('puppeteer')

(async () => {
  const browser = await puppeteer.launch()
  const page = await browser.newPage()
  await page.goto('https://www.google.com/')
  const title = await page.title()
  console.log(title)
  await browser.close()
})()

Steps to reproduce
Tell us about your environment:

Puppeteer version: 0.12.0 and 0.11.0.
Platform / OS version:

MacOS Sierra 10.12.6
Ubuntu 17.04 (GNU/Linux 4.10.0-35-generic x86_64)

What steps will reproduce the problem?
Regretfully, I can't reproduce it consistently
What is the expected result?
Run the Puppeteer script in a single Chromium instance. Then close the Chromium process when browser.close() is called.
What happens instead?
More and more Chromium instances are started, locking up the machine and forcing a killall chromium command.

Aha, this is related to https://github.com/GoogleChrome/puppeteer/issues/405 adding a semicolon to the require statement fixes this, i.e. require('puppeteer');. However, if you don't do this, you end up with a machine consumed by Chromium instances. We could close this but leave it for other people that run into the same problem.

Are you using a transpiler? Your code should just fail with Class constructor Puppeteer cannot be invoked without 'new' because you are trying to run puppeteer as a function.

IMO the behavior of duck typing in javascript should ignore the absence of ;
I am also facing this issue, with

I can't reproduce it consistently
require directly to lib\Puppeteer on v0.12.0 and v0.13.0 alpha

The script to reproduce the issue is not good choice, google will never that page throw an error, :smile:
I will inform here if i can reproduce it consistently. Suggesting label need investigation

@brutalcrozt  @JoelEinbinder my initial assumption was mistaken. I was wrapping the script in some other code (which moved the require statement) which threw me off. This behaviour of runaway instances still occurs, seemingly at random. Pretty nasty bug as I found my laptop with fans blazing at max. Had to do a hard restart to even get it to work again.

@tnolet did you also terminate puppeteer via CLI?  I just try to close puppeteer in cli via ctrl C, chromium instance are still running:

Experienced similar with windows 7 and puppeteer v 0.12.
Thought I was the only one.
Ended up using the workaround,
var kill  = require('tree-kill');
process.on('exit', (code) => {
  kill(child.pid, 'SIGTERM', function(err){
    kill(child.pid, 'SIGKILL', function(err){
      process.kill(-child.pid);
    });
  });
});

You can feel my frustration in the code :D

I'm also getting a similar result with trying to run lots of puppeteer tests in parallel. I believe you can reliably reproduce this by creating lots of copies of the same basic test that passes (and exits cleanly) on it's own, and then run tap ./*.test.js --jobs 999 to run them all in parallel. I get a proportional amount of "There is no running instance of the task" and stray Chromium processes left over.

@brutalcrozt No, I did not terminate with the CLI. My runs are started and stopped programmatically, basically in a cron job. I'm actually a bit scared running Puppeteer in this way now. I blew up access to EC2 instances that was not even responding to SSH anymore...
@pemrouz your use case is similar to mine. There is a chance in my scheduling that multiple of the same tests are running at the same time.

@pemrouz @tnolet @entrptaher do you guys use custom user data dir to launch puppeteer? I have a fix for this case.

I don't use user data dir.
And, I think taskkill failed to close child processes every time on a windows 7 script, I had to try the
fkill and process.kill(-child.pid) command to kill the spawned processes with childs. Notice the - there.
If the process creates it's own child processes, then somehow windows needs more instruction on killing the child.

I also don't use user data dir. I will inform here if still get this after applying that patch.

@brutalcrozt @entrptaher If you guys live inside docker, it might be related to #615. Check out it's proposed workaround to use dumb-init.

@aslushnikov No Docker, no Windows, no User Data Dir. Just plain install MacOS and Ubuntu.

my case , no docker, on Windows, no user data dir.

@aslushnikov just tried out your latest, same issue. Windows, no docker. Running 10 tests (the same basic test) in parallel and I get a bunch of the following error messages at the start:
ERROR: The process with PID 3208 (child process of PID 7704) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 29340 (child process of PID 24324) could not be terminated.
Reason: The operation attempted is not supported.
ERROR: The process with PID 27488 (child process of PID 22536) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 10664 (child process of PID 12712) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 19276 (child process of PID 30112) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 26540 (child process of PID 23380) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 18768 (child process of PID 15748) could not be terminated.
Reason: There is no running instance of the task.

At the end of each test where I do: page.close().then(d => browser.close()) it rejects with the following:
Command failed: taskkill /pid 27560 /T /F ERROR: The process with PID 16016 (child process of PID 27560) could not be terminated.  Reason: The operation attempted is not supported.

Does puppeteer attempt any reuse? i.e. try to connect to an existing Chromium instance if one exists? Or perhaps the Chromium instances are attempting to reuse behind the scenes? If so, is there a way to force complete isolation across runs, similar to going incognito?

@pemrouz can you please share your tests so that I can take a look (and maybe run them)?

Can we use some code from fkill or tree-kill package etc?

@entrptaher both fkill and tree-kill are doing the same thing as we do on windows: calling taskkill /pid /T /F.

I am talking about the child processes. You know that Chrome is actually creates a lot of child processes. If we kill the child processes, it might help killing the parent process too. Even though the general logic is that killing parent process will kill child processes.
We can see sometimes on windows/mac, on rare case, it just leaves child processes. Can we kill child processes instead and then kill parent?

I can't share the application tests unfortunately, but I've just checked in an example on a branch on the underlying framework here (rijs/fullstack#puppeteer). I've duplicated the basic test 10 times. Running the following command highlights the issue every time:
tap ./tests/basic.test* --jobs 999

I found something more about the problem. Let me share one case. Just one of the many that could be more helpful to debug.
I have an electron app (or a nodeJS app),
where I am spawning a child script,
from that child script, I'm calling puppeteer.
Now, when I am loading a website on puppeteer, I suddenly wanted to close the electron app or the child script. The main program exits, the child program exits, but the chrome remains,
If the website loaded properly, or there is no evaluation/command going on, then chrome also exits.
But if there is some command going on, then no matter what state nodeJS has (crash/close), the chrome does not exit.
It could be due to async/await, but there should be a check for this kind of thing.
Hope the case helps understanding the problem. I'll try to see if I can provide a sample code for this.

@pemrouz your issue should be fixed with #1402, given that you run under Mac or Linux. I'm not sure if this would help with windows though.

@pemrouz your issue should be fixed with #1402, given that you run under Mac or Linux. I'm not sure if this would help with windows though.

Thanks @aslushnikov. This should be useful for our CI at least. Do you know if it's possible this can be fixed on Windows too however? (that's where most dev happens)

I saw error again.
{
"name": "puppeteer",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest --detectOpenHandles"
},
"author": "",
"license": "ISC",
"devDependencies": {
"jest": "^23.4.2",
"jest-puppeteer": "^3.2.1",
"puppeteer": "^1.6.2"
}
}

I found something more about the problem. Let me share one case. Just one of the many that could be more helpful to debug.
I have an electron app (or a nodeJS app),
where I am spawning a child script,
from that child script, I'm calling puppeteer.
Now, when I am loading a website on puppeteer, I suddenly wanted to close the electron app or the child script. The main program exits, the child program exits, but the chrome remains,
If the website loaded properly, or there is no evaluation/command going on, then chrome also exits.
But if there is some command going on, then no matter what state nodeJS has (crash/close), the chrome does not exit.
It could be due to async/await, but there should be a check for this kind of thing.
Hope the case helps understanding the problem. I'll try to see if I can provide a sample code for this.
Edit: I've created a seperate issue for this.

Hi.
Was this resolved for you ever on windows? I still get the errors running windows 10.

I don't remember how I fixed it, but I fixed it Problem was not in puppeteer.

why is this issue closed?  I'm still seeing a runaway amount of Chromium helper instances when running puppeteer rendering this completely useless.

@zebralight can you please file a separate issue. While you might have the same symptom in this issue, it’s highly unlikely that you have the same root cause.

authors: JoelEinbinder aslushnikov brutalcrozt entrptaher ernestochaves gorshkov-leonid pemrouz tnolet zebralight

repo: GoogleChrome/puppeteer


text:
docs(README.md): Update docs to more clearly differentiate between Ch…

…romium and Chrome
This patch clarifies the documentation to more clearly note that Puppeteer works with both Chromium (by default)
and Chrome.
Fixes #1516

Made some changes as discussed, please take another look.


text:
PlatformBlinkIDLFileDAO

A filtered DAO that excludes Blink IDL files that are not considered a part of the web platform.

Towards #4

repo: GoogleChrome/webidl-diff


text:
Workbox in Electron App - Not able to set Cache Storage

I have been trying to get this to work for some time now to no avail. I am building a PWA inside electron using Workbox as a service worker.
The Workbox functions great when in Chrome Browser.
In Electron I cannot get it to work. I am able to register the service worker in Electron successfully and everything appears to work except no cache storage is created. Am I missing some fundamental incompatibility between Electron and Workbox? My assumption is that once service worker is registered is should work without any issue. There is no error message on startup to debug.
Any smackerel of knowledge would be greatly appreciated here.
Fixed... The issue was related to manifest.json not being in the correct directory bad the name of our app.html page not being index.html.

How did it work out? I had the same problem

repo: GoogleChrome/workbox


text:
Edit wording for concision in README.md

Change the Carlo functionality description from list to paragraph for better readability.

I don't think this improves the readability / adds value.

authors: Willexan pavelfeldman

repo: GoogleChromeLabs/carlo


text:
Add support for background tasks with React Native Hermes  engine

React Native Hermes engine does not have support for MessageChannel.
As result following check will always be true and all tasks will run with setTimeout.
However, React Native Hermes engine does have support for requestIdleCallback, as such background priorities should be able to properly handled.
I'd suggest change order of checks in https://github.com/GoogleChromeLabs/scheduler-polyfill/blob/main/src/host-callback.js#L190 to better handle edge case.
I can raise PR for this probably, if change is considered to be reasonable.

Yeah changing that so we independently check MessageChannel and requestIdleCallback() SGTM. It looks like the delay and MessageChannel conditions need to be decoupled. Happy to review a PR if you're interested, or I can draft a fix if not.

Push PR for this one.
On separate note
is there a plan/ option to set timeout for requestIdleCallback? or is it not in a spec?

On separate note is there a plan/ option to set timeout for requestIdleCallback? or is it not in a spec?

There isn't a timeout equivalent for postTask().

authors: dlebedynskyi shaseley

repo: GoogleChromeLabs/scheduler-polyfill


text:
WiKi FAQ need to be updated for CLI

Before you start
https://github.com/GoogleChromeLabs/squoosh/wiki/FAQ

Where is the CLI?:

Should be: https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli

Thanks. Forgot we had that. Fixed.

authors: surma tomByrer

repo: GoogleChromeLabs/squoosh


text:
percent_expand: unknown key %C

ssh appends the literal '%C' on Ubuntu 14 (possibly other OS) eg from pkb.log: ...ssh flags
 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /tmp/perfkitbenchmarker/runs/1160bba4/perfkitbenchmarker_keyfile -o ControlPath="/tmp/perfkitbenchmarker/runs/1160bba4/ssh/%C" -o ControlMaster=auto -o ControlPersist=10m hostname}  ReturnCode:255
STDOUT:
STDERR: percent_expand: unknown key %C

relevant commit (198: control_path = os.path.join(temp_dir.GetSshConnectionsDir(), '%C')): https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/commit/b15bf30494c8621929c1677914a125da905e36c5#diff-6c0dd34a0f7b6f2f2e0668bfbe15a263
tested on:
uname -a:
Linux i-2019021411-a5f6c2c1 4.4.0-142-generic #168~14.04.1-Ubuntu SMP Sat Jan 19 11:26:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

This means you've got an older version of openssh (https://unix.stackexchange.com/questions/218272/how-can-i-maintain-open-ssh-connection-and-use-it-from-shell-scripts indicates %C was introduced in v6.7). If you don't want to upgrade you can turn off the PKB feature by passing in the flag --reuse_ssh_connections=False

authors: ehankland mjz-smu

repo: GoogleCloudPlatform/PerfKitBenchmarker


text:
Clarify supported languages

The README has long lists of languages with options, such as https://github.com/GoogleCloudPlatform/buildpacks#language-idiomatic-configuration-options which includes PHP. This led me to think PHP was supported.
Expected: Languages supported are clearly listed, languages that are in progress are not prominently featured in the main user README.

PHP is supported in App Engine and Cloud Functions. If you use those builders with pack, you should be able to configure them as outlined in the section you linked.
For the general builder that's used in pack and Cloud Build, the supported languages are listed here: https://github.com/GoogleCloudPlatform/buildpacks#general-builder-and-buildpacks. Is that what you're looking for?

PHP is supported in App Engine and Cloud Functions. If you use those builders with pack, you should be able to configure them as outlined in the section you linked.
For the general builder that's used in pack and Cloud Build, the supported languages are listed here: https://github.com/GoogleCloudPlatform/buildpacks#general-builder-and-buildpacks. Is that what you're looking for?

You can now find a full list of supported language runtimes https://cloud.google.com/docs/buildpacks/overview

authors: grayside jama22 lukasberger

repo: GoogleCloudPlatform/buildpacks


text:
Project template sharedVPC permission issue

The latest version of the Project Factory template is using the compute-v1 API, compare to the older implementation which were using the compute-v1beta API.
https://cloud.google.com/vpc/docs/provisioning-shared-vpc#enable-shared-vpc-host
"If you have Shared VPC Admin role at the folder level, you need to use gcloud beta or the beta API."
This means gcp-types/compute-v1:compute.projects.enableXpnResource and gcp-types/compute-v1:compute.projects.enableXpnHost will only work if the Shared VPC Admin role is at the Organization level.
{
    "ResourceType": "gcp-types/compute-v1:compute.projects.enableXpnResource",
    "ResourceErrorCode": "403",
    "ResourceErrorMessage": {
        "code": 403,
        "errors": [
            {
                "domain": "global",
                "message": "Required 'compute.organizations.enableXpnResource' permission for 'projects/myproject1'",
                "reason": "forbidden"
            },
            {
                "domain": "global",
                "message": "Required 'compute.organizations.enableXpnResource' permission for 'projects/myproject2'",
                "reason": "forbidden"
            }
        ],
        "message": "Required 'compute.organizations.enableXpnResource' permission for 'projects/myproject1'",
        "statusMessage": "Forbidden",
        "requestPath": "https://compute.googleapis.com/compute/v1/projects/myproject1/enableXpnResource",
        "httpMethod": "POST",
        "suggestion": "Consider granting permissions to 1234567890@cloudservices.gserviceaccount.com"
    }
}

To support Shared VPC Admin role at the folder level, this 2 types should point to the beta API.
'type': 'gcp-types/compute-v1:compute.projects.enableXpnResource' >>> 'type': 'compute.beta.xpnResource'
'type': 'gcp-types/compute-v1:compute.projects.enableXpnHost' >>> 'type': 'compute.beta.xpnHost'

#404


text:
Nit: better promote router sample with README since checkin comment is unrelated.

Super minor: consider adding a README for this cloud router sample since the check-in comment references other unrelated code.

Thanks for pointing this out Mike. I've added a barebones README until we come through and clean this up.

authors: krwenholz miketruty