[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error)

<?php
use GeminiAPI\Client;
use GeminiAPI\Resources\Parts\TextPart;

$client = new Client(''); //i entered the api here
$chat = $client->geminiPro()->startChat();

$response = $chat->sendMessage(new TextPart('Hello World in PHP'));
print $response->text();

$response = $chat->sendMessage(new TextPart('in Go'));
print $response->text();
?>```

Did you get this error for a specific prompt or was it a one time issue? Unfortunately, Google Gemini responds with a 500 error from time to time. There is nothing I can do.


BFA LUA

I am using the latest Beta2 release you posted on lazymacros yesterday.....Receiving this error when I try and save a new macro. In the Sequence Viewer at the bottom once you hit save it does save it's saved however when closing it doesn't reopen auto like it usually does and typing /gs shows nothing saved. Did something change that I need to do that I am not aware of?
Message: Interface\AddOns\GSE\API\Storage.lua:207: attempt to index field '?' (a nil value)
Time: Sat Apr 28 10:20:11 2018
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:207: attempt to index field '?' (a nil value)
Interface\AddOns\GSE\API\Storage.lua:207: in function GetActiveSequenceVersion' Interface\AddOns\GSE\API\Events.lua:367: in function ?'
...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:53: in function <...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:48>
Locals: sequenceName = "Shammy"
classid = 0
vers = 1
(*temporary) =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:61
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
GSE =  {
ResetButtons =  defined @Interface\AddOns\GSE\API\Storage.lua:567
GUIShowDebugWindow =  defined @Interface\AddOns\GSE_GUI\DebugWindow.lua:17
GetClassIcon =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:41
StartOOCTimer =  defined @Interface\AddOns\GSE\API\Events.lua:343
ReportTargetProtection =  defined @Interface\AddOns\GSE\API\Options.lua:717
CloneSequence =  defined @Interface\AddOns\GSE\API\Storage.lua:14
SplitCastSequence =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:79
CancelTimer =  defined @Interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:145
GetCurrentTalents =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:86
UnregisterComm =  defined @Interface\AddOns\Dominos\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
StopOOCTimer =  defined @Interface\AddOns\GSE\API\Events.lua:348
OutputQueue =  {
}
MediaPath = "Interface\Addons\GSE\Media"
inArena = false
PerformOneOffEvents =  defined @Interface\AddOns\GSE\API\OneOffEvents.lua:6
GUIRecordFrame =  {
}
DebugDumpButton =  defined @Interface\AddOns\GSE\API\Storage.lua:688
GetSpecNames =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:72
GUIConfirmDeleteSequence =  defined @Interface\AddOns\GSE_GUI\GUIFunctions.lua:16
CurrentGCD = 0
GSSlash =  defined @Interface\AddOns\GSE\API\Events.lua:269
inDungeon = false
UsedSequences =  {
}
ScheduleTimer =  defined @Interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:92
ImportCompressedMacroCollection =  defined @Interface\AddOns\GSE\API\Storage.lua:194
UnsavedOptions =  {
}
UpdateIcon =  defined @Interface\AddOns\GSE\API\Storage.lua:1044
ADDON_LOADED =  defined @Interface\AddOns\GSE\API\Events.lua:102
RegisterMessage =  defined @Interface\AddOns\Dominos\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
UnregisterMessage =  defined @Interface\AddOns\Dominos\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
TranslateSpell =  defined @Interface\AddOns\GSE\API\Translator.lua:163
pairsByKeys =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:156
SendCommMessage =  defined @Interface\AddOns\GSE\Lib\AceComm-3.0\AceComm-3.0.lua:83
UpdateSequence =  defined @Interface\AddOns\GSE\API\Storage.lua:579
UnregisterAllComm =  defined @Interface\AddOns\Dominos\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
SetEnabledState =  defined @Interface\AddOns\Dominos\libs\AceAddon-3.0\AceAddon-3.0.lua:455
isSpecIDForCurrentClass =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:60
ZONE_CHANGED_NEW_AREA =  defined @Interface\AddOns\GSE\API\Events.lua:55
DebugOutput = ""
Static =  {
}
StandardAddInPacks =  {
}
GUI =  {
}
OOCTimer =  {
}
UnEscapeSequence =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:6
TranslatorAvailable = true
GUIEnableDebugView =  defined @Interface\AddOns\GSE_GUI\DebugWindow.lua:27
GUICompressFrame =  {
}
CloneMac

Hi Zen,
Did you wait for the queue to complete and reopen the viewer or did you type /gs and abort the save process?
If you don’t wait for the actions to complete it won’t save.  The first few macros will take longer to complete this.  You can monitor the progress of the queue by looking at the LDB plugin in a mod like ElvUI or TitanBar
This isn’t new - it’s the same behaviour in live.  Edit actions are placed on an Out of Combat queue that executed in the background.

Not sure what your asking as I just clicked new macro and typed in /cast Rockbiter in the cast sequence section then hit save to test it out.  Usually when I do that once I clock it auto reopens or at least that how it is on live for me.

Found this problem it was solved with #397


[BUG] expose plugin sends special workspaces to workspace 1

Pyprland version
Which version did you use? (copy & paste the string returned by pypr version)
2.4.0-8
Describe the bug
If you use special workspaces in expose, when closing the "expose" workspace, the special workspaces get sent to  workspace 1.
To Reproduce
Steps to reproduce the behavior:

Set "include_special" to true for the expose plugin.
Toggle expose to on when a special workspace is open (not focused).
Toggle off expose.

Expected behavior
The special workspaces should be sent to their original special workspace
Configuration (provide following files/samples when relevant):

pyprland.toml

[pyprland]
plugins = [
    "expose"
]

[expose]
include_special = true

All good in git ? :)

Fixed, check #120  for details


Various TopicMessageQuery fixes

Fixes #502
This class has zero unit tests and I don't have the bandwidth to add that test coverage at this time. It would be nice if the SDK team could look into adding some in the future. You can do something similar to what we do in the mirror node by using a stub for the mirror node gRPC API.
I would also recommend you allow the mirror node's grpc channel to support the in-process channel builder to reduce brittle timeout issues that can occur when using a real grpc channel in constrained CI environments.

Just noticed a major bug that my code did not resolve. On retry, the start time in the grpc request is not actually updated. There's a variable that's updated but it's never used. Putting back to draft to work on a fix.

@danielakhterov This is ready for review. I did manual testing myself for the scenarios listed in the related issue, but please test it out to make sure I didn't mess anything up.


Returning result objects with empty fields omitted

I'm writing a Go GraphQL server right now, and I'm running into the problem that the JSON tags on our structs cause the language to convert the result objects to JSON without any empty fields. For example, if I had the type here:
type MyType {
  id: String
  level: Int
}

The result (for a basic query) would look like:
{"data":{"things":[{"id":"id1"},{"id":"id2","level":3}]},"errors":[]}

As you can see the "empty" (undefined, null, 0, or "") fields were omitted. Apollo right now complains because it doesn't find those fields in the result (suggesting the returnPartialData option).
Would it be possible to get Apollo to treat omitted fields as just default values?

@paralin it seems that your server isn't compliant with the GraphQL spec, which requires those values to be there. Regardless of that, it sounds like your JSON serialization function isn't really working. null, 0 and "" are all semantically meaningful values, they can't just be ignored. I'll close this issue since this problem has to be fixed on the server end of things.


Bump version, releasing const_random optional change

This basically fixes issue https://github.com/tkaitchuck/aHash/issues/12
for our purposes, because we are supplying a seed drawn from RdRand.
It's really important to us to have bit-for-bit deterministic builds.
Please consider releasing this patch on crates.io. Thank you!

Sorry. I didn't realize I didn't push.


fix: developer nav

Summary of Changes
Fix access to the early developer screen so some advanced features can be turn on early during app initialization as needed.
Related Issues
n/a
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Closing. Duplicate of #1113.


fix(email): Data of email response is a []uint8 not an int

Fix SendTemplateEmail error :
err sib.SendEmail :  Could not decode response format: json: cannot unmarshal array into Go struct field EmailResponse.data of type sib.EmailData

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   14.97%   14.97%
=======================================
  Files           2        2
  Lines         394      394
=======================================
  Hits           59       59
  Misses        334      334
  Partials        1        1

Impacted Files
Coverage Δ

smtp.go
94.11% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


GPII-1647: Create headerSetter middleware...

See GPII-1647 for details.
This work feeds into the ongoing PR for gpii-json-schema, as a derived grade of this component will replace most of the existing "JSON Schema Handler".

Closed in favor of a later PR: https://github.com/GPII/gpii-express/pull/20


Available Classes

I see random references to mystical classes in examples
sp-field-severity–good,
sp-field-severity–low,
sp-field-severity–warning,
sp-field-severity–blocked
But Fabric UI classes seem unavailable and importing css is not supported. Is there a list of css we can utilize in List formatting or are we expected to write everything as inline styles?

Hi @XopherDesign.
You can some style guidelines here in the List Formatting docs:
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#style-guidelines

So there are only 10 classes available?

@XopherDesign  Did you read the documentation thoroughly?
Notice the section underneath that says...

In addition to the classes listed above, the classes (such as the theme color, typography, grid system, etc.) defined by the Office UI Fabric can be used. For details, see the Fabric website.

Fabric styles are already loaded on the page by default.

OK it looks like they do make the theme colors available in the following format
ms-fontColor-themePrimary
But I can't seem to get any of the other fabric.css classes to work like the following
https://developer.microsoft.com/en-us/fabric#/styles/web/elevation
Everything UI Fabric based seems to point you to SCSS for SPFX web parts, it's hard to get info for using OOTB stuff like formatting.

Everything UI Fabric based seems to point you to SCSS for SPFX web parts, it's hard to get info for using OOTB stuff like formatting.

I don't disagree. Also it's tough sometimes because the current version of Fabric on the website may not match the current version of UI Fabric being used in SharePoint. In terms of column formatting, sticking to classes available for Typography, Theme Colors, Icons. I believe elevation and motion are a part of the fluid framework, not quite available yet for use in SharePoint. -- So I completely understand the frustration.
For now, we'll need to mix and match some office ui styles when we can, and inline-styles when we have limitations.


Migrating: Skunk

Migration Checklist
Project Submission Issue: #94
For Organization Projects:

[x] Create a team for the repo with maintainer as team member
[x] After repo transfer, add repo with write permissions to the created team

For All Projects:

[x] Add project to the site by adding an entry to the projects.yml file

Announcements
These steps are optional but encouraged.

[ ] Write a blog post announcing the change
[x] Post to our social channels (Twitter, Mastodon)

Added to site in https://github.com/typelevel/typelevel.github.com/pull/443


Fixing the volume slider for mp3-streams

I just merged the last pr.
sliderVolume = UserDefaults.standard.value(forKey: volumeKey) as! Float

it crashed at the first running.
Suggest use the safer way to convert type, like
if let newValue = UserDefaults.standard.value(forKey: volumeKey) as? Float
{

}

You can add some protects, and make new pull request.

Besides, there is a new language localizable.string today, Turkish.

Sorry for the inconvenience.
I hope the changes fixes the problems!

Sorry for the inconvenience.
I hope the changes fixes the problems!

Never mind. I tested it. I can normally run. The feature will publish in the version 2.1. Thank you for the contribution.


Support dynamically sized matrices/vectors

Are dynamically sized matrices/vectors supported by this excellent work now?

Dear @cailei77, currently there is no support for dynamically sized matrices, which is why this ticket is still open. I can also not give an estimate when support will be officially included. However, I believe it should be possible with a small number of changes to support dynamic matrices.

Hi @mherb, thanks for this wonderful library. Could you provide what would be the 'small number of changes to support dynamic matrices'? Especially in my use-case, the state-vector is a constant size vector (6 DoF pose) whereas the size of the measurement vector changes.


Warn about assertion name collisions between 2 libs extending jest

🚀 Feature Proposal
Warn users when they have two matchers with colliding names. (and one is being overwritten silently)
Motivation
At the moment there is the case with jest-extended and testing-lib/dom.
Both libraries have an assertion called toBeEmpty.
In jest-extended, it checks for emptiness in data, in testing-lib/dom, it checks for emptiness in the DOM.
https://github.com/testing-library/jest-dom#tobeempty
https://github.com/jest-community/jest-extended#tobeempty
The situation is that as developers add both libraries in the project, one of the toBeEmpty will be silently overwritten, and when they start using them in their unit tests, and the test does not pass, regardless of being empty, they will not know what the problem is.
As there is no mechanism to decide which assertion names are already taken by libraries extending jest, an option to handle this, would be to warn users, as they install or run their tests, with 2 assertion names colliding, that the collision is happening, so that they can rename one of both in their projects
In my case I did by doing this as a very quick and dirty fix:
import {
  toBeEmpty as toBeEmptyNode,
} from '@testing-library/jest-dom/matchers';

expect.extend({ jestDomToBeEmpty });

Idea
I dont know the codebase in Jest to give more specific ideas, what I am thinking is, as they run their tests, to show a warning telling them that these 2 libs are using the same name for a matcher, and give them a link to find a solution to rename one in their configs.
For reference
I reported this in the author's libs, before deciding how to address this, would be helpful to read your thoughts on it.
https://github.com/testing-library/jest-dom/issues/216

Related to (or duplicate of) #6243

Yes, both issues are highly related, but one may handle them separately. While #6243 addresses possible solutions, this issue talks about adding a warning (which might still be a good idea even after #6243 is implemented).


Rotate Collision shape is wrong

I create CollsionObject from code and add CollisionShape to it, I rotate collision shape but it worng.
I made project for demonstrate about it there:
https://www.dropbox.com/s/d0pr1kd5ko1dfm2/testColShapeCode.zip?dl=0

The issue shown in the test project above is still valid in the current master branch.
To be more explicit about the issue, it appears that setting a rotation of (0, 80, 0) in the editor-defined CollisionShape works as expected (rotates counter-clockwise by +80° around the Y+ axis), but the equivalent code does not work as expected:
	#trans.basis = trans.basis.rotated(Vector3(0, 1, 0), deg2rad(80)) # It should be this
	trans.basis = trans.basis.rotated(Vector3(0, 1, 0), deg2rad(-80)) # But must negative angle...

rotation via properties in 3D is broken, will be rewritten in 3.0

Potentially a duplicate of #1479.


What shell script should I run to recreate the TLS cert/key files?

Had my TLS.cert and keys removed from the /.lnd/ folder and I need to recover it.
How can I do it without the need for a fresh install? Maybe I can run one of the scripts to help me do it?
Appreciate your help. Thanks

Ok, fixed this copying cert and keys from user bitcoin to the admin user. All fine now, sorry for posting this here. Closing it.


Documentation error for relative paths in config files

On this page: http://docs.nuget.org/consume/nuget-config-settings
It states:
Note
Relative path is only relative to the solution folder.
That's not accurate. It's actually relative to the the location of Nuget.config. I tested with both command line tool (2.7 and 3.3) and VSIX extensions (VS 2013 and 2015), by placing solution and config on different directories. The actual behavior is more desirable because it allows us to check in one config file at the root of our source tree and redirect local repository to a shared location. But could you update the doc? Thanks.

@skofman1  has a fix for this

@mark-zhou , thanks for the feedback. Fixed.

Wow. That was fast. Thanks!


storage_policies.py - no option to create storage policy at the top of global dedup policy

Can we add an option to create new storage policy at the top of existing global deduplication policy (storage pool) ?

Hi,
can you please open a support ticket for this enhancement. we will add the support.

Thanks Vinay
Thanks,
Sachin
Sent from my iPhone
On Oct 15, 2019, at 7:27 AM, Vairavaprakash <notifications<EMAIL_ADDRESS>wrote:
Closed #87https://github.com/CommvaultEngg/cvpysdk/issues/87.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/CommvaultEngg/cvpysdk/issues/87?email_source=notifications&email_token=AFZJMFMRZKEMYRUYAYCMU5LQOWSF5A5CNFSM4JATFS5KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUG7B7LI#event-2713591725, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFZJMFPPB37Y2KNXK4G42RTQOWSF5ANCNFSM4JATFS5A.

I'm Commvault employee ;) I can't create support tickets ;)

Please create an MR to me. I will reassign to correct person.


try to draw emoji image with windows seguiemj.ttf font failed

I am trying to extract high resolution windows color emoji image from seguiemj.ttf .
What I have already know:

the font stores emoji in svg format (layered vector drawings in COLR/CPAL)
the font also has a glyph table

My roadmap:
use fonttools load seguiemj.ttf --> use fonttools draw high resolution png image --> save to file
for example, I am trying to try 😀  with glyph name u1F600:
#! /usr/bin/env python
# -*- coding: utf-8 -*-

if __name__=="__main__":
    import sys
    from fontTools.ttLib import TTFont
    from reportlab.lib import colors
    from fontTools.pens.reportLabPen import ReportLabPen, Path

    glyphName = 'u1F600'
    imageFile = "%s.png" % glyphName

    font = TTFont('seguiemj.ttf')
    gs = font.getGlyphSet()
    pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5))
    g = gs[glyphName]
    g.draw(pen)

    w, h = g.width, 1000
    from reportlab.graphics import renderPM
    from reportlab.graphics.shapes import Group, Drawing, scale

    # Everything is wrapped in a group to allow transformations.
    g = Group(pen.path)
    g.translate(0, 200)
    g.scale(0.3, 0.3)

    d = Drawing(w, h)
    d.add(g)

    renderPM.drawToFile(d, imageFile, fmt="PNG")

I only get image with emji ontline filled with red color.
What I have missed? Or am I totally on the wrong direction?

I would start from reading the spec here:
https://www.microsoft.com/typography/otspec/colr.htm
https://www.microsoft.com/typography/otspec/cpal.htm
Also see this freetype issue tracking the development of CORL/CPAL support in FreeType:
http://savannah.nongnu.org/bugs/?44689

also have a look at this:
https://github.com/mozilla/emojione-colr

Besides the fact that the Segoe UI Emoji font does not use SVG (the COLR table references glyph IDs that are assumed to refer to glyphs in a glyf, CFF or CFF2 table)...
I have a suspicion that what you are trying to do may be in violation of the license agreement associated with that font.

It is nice to see you again 😄  @anthrotype
If I understand resources you provided correctly, it means I need to use COLR/CPAL table with glyph info to draw the emoji, which is really a hard work for me. Is there any functions that I can use to achieve this?

sorry, I'm no expert on color fonts I'm afraid. Maybe @RoelN would know more about the current state-of-the-art for making COLR/CPAL fonts.

@PeterCon Yep, you are right, it means COLR/CPAL table.
And for you curiosity, I am an emoji fan, I like collecting all kinds of versions of emoji resources.

@PeterCon sorry, I didn't realise he was talking about Segoe UI.. 😊

So Segoe UI is not allowed to be discussed here?

It's easy to do what you want, but you should access COLR and CPAL tables, then use the getGlyphSet() to render each layer with the correct color.

I don't think this is against the license of the font, if all you are doing is rendering the font.

I shall add that in case of Segoe UI Emoji (esp. the Windows 10 CU version), “extracting” a set the emoji glyph images is not a sensible way to perform the rendering, because that font doesn't really have a static set of emoji images.
The Microsoft Segoe UI Emoji font includes incredibly sophisticated contextual substitution tables which dynamically compose Unicode emoji character sequences into images, producing emojis of people with different skin colors and even groupings of people of different ages and genders.
It uses a lot of clever tricks exploring the COLR format to the fullest.
Real use of Segoe UI Emoji requires use of the font as it is, utilizing a text processor capable of processing OpenType Layout features and the COLR table.

@behdad I have read doc of fonttools carefully, but I did not figure out how to access COLR and CPAL tables.
It seems that function getGlyphSet  only takes glyf or CCF table.
Can you show me an example?

from fontTools import ttLib
font = ttLib.TTFont(myFontFilePath)
glyph_set = font.getGlyphSet()
cpal_table = font['CPAL']
colr_table = font['COLR']

May I ask how to use cpal_table  with glyph_set?

My RoboChrome plugin (for the RoboFont editor) contains code to read CPAL/COLR data from a font, maybe this code snippet can help you: https://github.com/jenskutilek/RoboChrome/blob/master/RoboChrome.roboFontExt/lib/colorfont/init.py#L198

Code from RoboChrome plugin helps a lot.
I know how to get color data and cpal data from tables now.
But I still can't figure out how to draw the color with reportlab pen  😂


Fixes settings editor scrolls slowly when workbench.list.smoothScrolling enabled

Updating this.scrollTop from within an scroll event will cancel smooth scrolling so we avoid doing that. Also it was the root cause of this issue #102339
This PR fixes #104144

Thanks! 🍻


Add support for DevAppServer1 local run

We need to support devappserver1 in all the Cloud Tooling.
Currently, only devappserver2 (.py) is supported, but for internal reasons, we need first to support devappserver1.

done


Update logo

Update launcher logo as well as splash logo - (with brand new design)

Fixed via 595e93a49468f42c3e0ebc4492dae23bb1be616d


refactor!: change binder API to modify OpenAPI schema in place

This paves the path for more OpenAPI generation (security models and such) without bloating the API, at the cost of shifting some responsibilies to each implementer instead of centralizing them in the OpenAPI generation infra

Codecov Report

Merging #94 (5c8821c) into main (b15dcc1) will increase coverage by 0.02%.
The diff coverage is 93.47%.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   98.35%   98.37%   +0.02%
==========================================
  Files         125      125
  Lines        4194     4192       -2
  Branches      599      594       -5
==========================================
- Hits         4125     4124       -1
  Misses         32       32
+ Partials       37       36       -1

Impacted Files
Coverage Δ

...st_docs/advanced/dependencies/test_tutorial_002.py
100.00% <ø> (ø)

tests/test_docs/advanced/test_root_path.py
100.00% <ø> (ø)

xpresso/binders/_binders/file_body.py
98.21% <75.00%> (-1.79%)
:arrow_down:

xpresso/binders/_binders/form_body.py
98.91% <81.81%> (-1.09%)
:arrow_down:

xpresso/binders/_binders/json_body.py
97.22% <81.81%> (-2.78%)
:arrow_down:

tests/test_docs/advanced/test_body_union.py
100.00% <100.00%> (ø)

xpresso/binders/_binders/param_openapi.py
100.00% <100.00%> (ø)

xpresso/binders/_binders/union.py
89.58% <100.00%> (+4.83%)
:arrow_up:

xpresso/binders/api.py
100.00% <100.00%> (ø)

xpresso/openapi/_builder.py
91.94% <100.00%> (+1.68%)
:arrow_up:

... and 1 more


Websocket support to the backend API

Is your feature request related to a problem? Please describe.
Individual HTTP requests can bog down a backend API under high traffic, causing performance issues and OOM errors for the API server.
Describe the solution you'd like
The API now supports websockets, which exhibit much better performance than individual HTTP requests. Implement websocket/socket.io support for connecting to backend API(s).

I'm not sure how exactly the Explorer could use websockets in this case, as nextjs is performing server-side requests to render arbitrary pages requested externally, so it doesn't know in advance what socket topics to listen to.
Something that would kinda help is disabling nextjs server-side rendering (at least the parts the perform API requests), so that our rate limiting on the API is applied to the clients requesting pages.
And of course reduce the amount of aggressive client-side polling by using websockets where possible.

@beguene is this issue closed by the move to CSR?

Yes the move to CSR fixes the problem stated.
We will eventually move later to websockets but for different reasons.


mobile view

Is there a way to make touch events on mobile move the cursor? if i go to mobile view, i cant see the price because i cant move the cursor, is there a way to make touch event move the cursor to a specific location?

Touch events move the cross hair and also show the x and y values on the axes, tooltip gets updated also.
What version are you using?

ye touch events work but only if i enable zooming / panning but if i disable them, touch wont work

This seems to be fixed now. Please let me know if you still have issues

Hi everyone,
Could u guys pls help me find where I could define the onTouchStart event ?


OpenID Connect: Add ability to queue post-authorization actions.

What's this PR do?
This pull request adds the ability to queue up "post-authorization" actions (like signing up for a campaign) when using the OpenID Connect auth flow. This allows us to keep the same behavior for the "Sign Up" button on the pitch page.
How should this be reviewed?
With yer eyes. 👀 This refactors a fair amount of login/register code so definitely worth giving a careful look to everything. I tried to test as many flows as possible, but always good to get a second set of eyes.
Any background context you want to provide?
I renamed the dosomething_user_get_login_modal_link_markup function because it's more about signup links than modal links (especially since signups don't necessarily make a modal now). I also removed a bunch of code that was used for theming anonymous confirmation pages because it didn't seem necessary...?
Relevant tickets
Fixes #7122.
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[x] Pinged a PM if this is a larger PR that would benefit from some additional testing love
[ ] Post a message in #phoenix if this includes something that causes a rebuild!

🎉


Wrong entity detection by mitie (entity from previous query showing up)

rasa NLU version (e.g. 0.7.3): 0.8.0a17
Used backend / pipeline (mitie, spacy_sklearn, ...): mitie_sklearn
Operating system (windows, osx, ...): redhat el7 x86_64
Issue:
The entity detection of mitie is detecting entities of previous query.
Suppose:
Query1: What is Xyz?  Response:  Intent: data_info, info_name: "Xyz"
Query2: Who is Abc? Response: Intent: data_bio, bio_name: "Abc", info_name: "Xyz"
This issue was not happening in previous versions like 0.8.0a13
The version of mitie installed is mitie==0.2.0
Content of configuration file (if used & relevant):
{
"pipeline": "mitie_sklearn",
"mitie_file": "./total_word_feature_extractor.dat",
"path" : "./models",
"data" : "./rawdata/dataset09052017_1303.json",
"server_model_dirs":"model_20170509-133521",
"response_log":"response_log",
"emulate":"wit"
}

duplicates #346 . this is fixed in latest master and the most recent version on pypi (0.8.2)


[FEATURE REQ] Add dataSecurityMode to AzureDatabricksLinkedService

Is your feature request related to a problem? Please describe.
At my company we're using ADF to generate AzureDatabricksLinkedServices to ingest data to UnityCatalog. To do that we need to change the Access Mode to SINGLE_USER in the Databricks Job and we can't seem to add that using the SDK. There's no method to add the this information to the LinkedService.
Describe the solution you'd like
Add a new method to the AzureDatabricksLinkedServices to define the AccessMode.
Describe alternatives you've considered
Tried adding the information with AdditionalParameters but it doesnt seem to do anything. Tried to change the AzureDatabricksLinkedServices to Json and adding the information manually and then turning it back to a AzureDatabricksLinkedServices but it didn't recognize the new field.
Additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Description Added
[X] Expected solution specified

Related: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java

@weidongxu-microsoft could you help route this com.azure.resourcemanager.datafactory ask from @Xanatos8?

question -> feature-request

They're a configuration from the Databricks jobs, with the adoption of unity catalog the type Access Mode needs to be changed to Single User, this parameter right now can't be defined/passed with the ADF API when creating a AzureDatabricksLinkedService:

https://docs.databricks.com/en/compute/access-mode-limitations.html

It even exists in the ADF Databricks Linked Service tab:

I am asking ADF dev to give us the proper property in Swagger
https://github.com/Azure/azure-rest-api-specs/issues/31908


[Feature] - allow configuration of WebSocketTransport

The WebSocketTransport class is currently protected, and creates a new org.java_websocket.client.WebSocketClient when constructed.
It would be great to have the ability to pass in a configuration consumer that allows for WebSocketTransport /WebSocketClient configuration. Here are a few use cases:

Adding authorization headers
Modifying the user agent for routing (ex 'playwright' user agent routed to separate endpoint vs 'selenium' user agent)
Expanding the size of the WebSocketTransport incoming queue (currently capped at 1k, which is easy to fill if you are stepping through the debugger. We currently use reflection to make it unbounded)

Perhaps a Consumer options could be added to ConnectOptions? (assuming WebSocketTransport  is made public)

Another use case:
Adding a proxy between the client and the playwright server

Adding authorization headers
Modifying the user agent for routing (ex 'playwright' user agent routed to separate endpoint vs 'selenium' user agent)

Providing a way to pass extra headers should be relatively easy. I'm not sure about the user agent, can you elaborate more on that? who routes it based on the user agent rather than a header?

Expanding the size of the WebSocketTransport incoming queue (currently capped at 1k, which is easy to fill if you are stepping through the debugger. We currently use reflection to make it unbounded)

We can lift this constraint, I've added it just to be extra cautious but there is no particular reason it cannot be bigger/unlimited.

@regbo, will #406 solve the queue capacity issue for you?

@regbo, will #406 solve the queue capacity issue for you?

Definitely. This is what we did with reflection. This probably is an edge case, but the capacity was only an issue if we were slowly debugging (and hacking together some things) while a lot of messages were coming from the server.

Adding authorization headers
Modifying the user agent for routing (ex 'playwright' user agent routed to separate endpoint vs 'selenium' user agent)

Providing a way to pass extra headers should be relatively easy. I'm not sure about the user agent, can you elaborate more on that? who routes it based on the user agent rather than a header?

The main use case for our purposes is routing webdriver/puppeteer/playwright requests intelligently over the same endpoint. We use caddy to manage SSL/auth in front of a browser, and we currently re-route webdriver requests based on a selenium user agent, and use Authorization headers to verify JWTs.
If it were up to me, I'd make the following classes public:

com.microsoft.playwright.impl.WebSocketTransport
com.microsoft.playwright.impl.WebSocketTransport$ClientConnection

That way, the "addHeader" method could be used to modify requests.
I would also add another method in BrowserType to accept the WebSocketTransport as an argument:
@Override
public Browser connect(WebSocketTransport webSocketTransport)
This would allow for deep customization, but I also understand that this would further deviate from the NodeJS implementation. A "deep customization" we currently use via reflection hacks is an idle timeout that is canceled every time a message is sent to or from a websocket server. This forces any stuck code to be killed if a browser isn't closed properly.
Again, these are all just ideas from our experiences, and I understand if you consider them to be edge cases.

The issue has been closed as we now support extra headers in connect and connectOverCDP and the socket incoming queue is now boundless. One remaining thing is idle detector that one could use to detect silence in the protocol. We've discussed this in a team meeting and decided to collect more feedback before adding anything in that area - the reason is oftentimes your test runner will anyway have a timeout per test and will interrupt hanging tests, so there doesn't seem to be much benefit in listening just for a timeout at the protocol level. With that said feel free to file a separate feature request (this one is quite loaded already) for such functionality and we can prioritize it higher if there is enough interest.

This is TT

The issue has been closed as we now support extra headers in connect and connectOverCDP and the socket incoming queue is now boundless. One remaining thing is idle detector that one could use to detect silence in the protocol. We've discussed this in a team meeting and decided to collect more feedback before adding anything in that area - the reason is oftentimes your test runner will anyway have a timeout per test and will interrupt hanging tests, so there doesn't seem to be much benefit in listening just for a timeout at the protocol level. With that said feel free to file a separate feature request (this one is quite loaded already) for such functionality and we can prioritize it higher if there is enough interest.

Thank you for the feedback, and changes, very helpful. I will check it out soon.


"CredentialStatusList2017" treated as invalid/unknown element in JSON-LD normalization.

Once we upgrade to new spec, custom option passed through proof verifier to exclude "CredentialStatusList2017" in invalid dataset list to be removed.

CredentialStatusList2017 should be treated as an example. Need to use an example context.

@troyronda added https://trustbloc.github.io/context/vc/examples-v1.jsonld

@kdimak yup .... I was curious if we can cache a context locally in the repo in case the above link goes down or disappears. (to make tests less fragile).

yes, this makes sense @troyronda
I created https://github.com/hyperledger/aries-framework-go/issues/1753.
I think we can close this issue as to close https://github.com/hyperledger/aries-framework-go/pull/1735 we added WithExternalJSONLDContext() WithJSONLDOnlyValidRDF() options.

@sudeshrshetty can this be closed?


Dynamic Bridge crashes with services

When I run the ros1 dynamic bridge and then run a ros1 node that has a service, the bridge crashes.
Steps to reproduce:
Terminal 1 -
source /opt/ros/kinetic/setup.bash
roscore
Terminal 2 -
source /opt/ros/kinetic/setup.bash
source ros2 bouncy
ros2 run ros1_bridge dynamic_bridge -- --bridge-all-2to1-topics
Terminal 3 -
source /opt/ros/kinetic/setup.bash
rosrun turtlesim turtlesim_node
Another option for terminal 3, which is the ros1 node that has a service, is to run rviz (this is how this bug was originally discovered.
The failure mode is for the terminal running the dynamic_bridge to output something as follows:
ros2 run ros1_bridge dynamic_bridge -- --bridge-all-2to1-topicsCreated 2 to 1 bridge for service /clear
Created 2 to 1 bridge for service /reset
Created 1 to 2 bridge for service /clea
Created 1 to 2 bridge for service /rese
Created 1 to 2 bridge for service /cle
Created 1 to 2 bridge for service /res
Created 1 to 2 bridge for service /cl
Created 1 to 2 bridge for service /re
Created 1 to 2 bridge for service /c
Created 1 to 2 bridge for service /r
terminate called after throwing an instance of 'rclcpp::exceptions::InvalidServiceNameError'
what():  Invalid service name: topic name must not end with a forward slash:
'/'
^
This is high priority, as we require the dynamic bridge for key functionality. Our only workaround currently is to not use coredx.

any update on this?


No kernel for grammar Matlab found

Hello
I installed octave on my MacOS 10.13.6. I want to use Atom 1.31.1 for using Octave.
When I'm to run a simple line in an .m file (e.g. : 1+1), I get the following error message:
No kernel for grammar Matlab. Check that the language for this file
is set in atom and that you have a jupyter kernel installed for it

I can however run octave code in with the nteract-jupyter application without problem and when running the line jupyter kernelspec list --json. I get the following output:
{
  "kernelspecs": {
    "python3": {
      "resource_dir": "/Users/mymac/Library/Jupyter/kernels/python3",
      "spec": {
        "argv": [
          "/anaconda3/bin/python",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Python 3",
        "language": "python",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "julia-0.6": {
      "resource_dir": "/Users/mymac/Library/Jupyter/kernels/julia-0.6",
      "spec": {
        "argv": [
          "/Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia",
          "-i",
          "--startup-file=yes",
          "--color=yes",
          "/Users/mymac/.julia/v0.6/IJulia/src/kernel.jl",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Julia 0.6.2",
        "language": "julia",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "octave": {
      "resource_dir": "/Library/Frameworks/Python.framework/Versions/3.6/share/jupyter/kernels/octave",
      "spec": {
        "argv": [
          "python",
          "-m",
          "octave_kernel",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Octave",
        "language": "octave",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    }
  }
}

I read this issue which looks close to mine. I couldn't however solve the problem
I see two potential origins of the problem:

either I didn't get how to use atom with a command line format as you are not supposed to run code inside the .m file directly
Otherwise has Atom trouble to make the difference between Matlab  and Octave?

Many thanks for your help!

You probably need to set your Language Mappings setting to something like:
{"octave": "matlab"}

@kylebarron Thank you very much for your quick answer. Could indicate were exactly I could find those settings?

It's in the same pane as where you likely installed Hydrogen. Go to Edit > Preferences > Packages > Hydrogen.

GREEAAAT!!!!!!!!!!!!!!!!!!! IT WORKED!!!!! MANY THANKS!!!!!! :n)

I have a similar issue with the kernel wolfram language 12. The following error message occurs
No kernel for grammar Mathematica found. I tried different language mapping settings,
{ "wolfram language 12": "Mathematica" }
{ "wolframlanguage12": "mathematica" }
{ "Wolfram Language 12": "Mathematica" }

None of them worked.
jupyter kernelspec list --json shows that the kernel is installed properly.
{
  "kernelspecs": {
    "wolframlanguage12": {
      "resource_dir": "/Users/Peezy/Library/Jupyter/kernels/wolframlanguage12",
      "spec": {
        "argv": [
          "/Applications/Mathematica.app/Contents/MacOS/WolframKernel",
          "-script",
          "/Users/Peezy/WolframLanguageForJupyter/WolframLanguageForJupyter/Resources/KernelForWolframLanguageForJupyter.wl",
          "{connection_file}",
          "ScriptInstall"
        ],
        "env": {},
        "display_name": "Wolfram Language 12",
        "language": "Wolfram Language",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "python3": {
      "resource_dir": "/Users/Peezy/Library/Jupyter/kernels/python3",
      "spec": {
        "argv": [
          "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Python 3",
        "language": "python",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "python2": {
      "resource_dir": "/Users/Peezy/Library/Jupyter/kernels/python2",
      "spec": {
        "argv": [
          "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Python 2",
        "language": "python",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "ir": {
      "resource_dir": "/Users/Peezy/Library/Jupyter/kernels/ir",
      "spec": {
        "argv": [
          "/Library/Frameworks/R.framework/Resources/bin/R",
          "--slave",
          "-e",
          "IRkernel::main()",
          "--args",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "R",
        "language": "R",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "julia-1.1": {
      "resource_dir": "/Users/Peezy/Library/Jupyter/kernels/julia-1.1",
      "spec": {
        "argv": [
          "/Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia",
          "-i",
          "--startup-file=yes",
          "--color=yes",
<EMAIL_ADDRESS>          "/Users/Peezy/.julia/packages/IJulia/gI2uA/src/kernel.jl",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Julia 1.1.1",
        "language": "julia",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    }
  }
}

It would be really appreciated if anyone could provide some advice.

Have you installed some grammar package for mathematica, or make language-mapping as @kylebarron said above ?
https://github.com/nteract/hydrogen/issues/1436#issuecomment-426404211

I installed the package language-mathematica and set the language mapping as { "wolfram language": "mathematica" }. Now the error disappeared, but the kernel didn't start.

I've never used mathematica on Atom before, but I suspect you need to have something like below in your config:
{"Wolfram Language": "GRAMMAR_NAME_FOR_MATHEMATICA_FILE"}

From a log you posted above, you need to correctly set "Wolfram Language" (maybe case sensitive).
Hope this solves your problem.

Set the language mapping to { "Wolfram Language": "mathematica"} leads to the error No kernel for grammar Mathematica found again.

Set the language mapping to { "Wolfram Language": "Mathematica"} also causes the error.

My Atom config file looks like this:
"*":
  Hydrogen:
    languageMappings: "{ \"wolfram language\": \"mathematica\" }"
.....

Seems valid setting to me.

Can you try
languageMappings: "{ \"Wolfram Language\": \"Mathematica\" }"

?

languageMappings: "{ \"Wolfram Language\": \"Mathematica\" }" returns No kernel for grammar Mathematica found again.

@aviatesk make an atom command using the atom global that returns the grammar name for him to run in console also you should use the kernel specs name rather than the display name of the kernel


Using Vue with Craft CMS - curly brackets.

Hi!
I'm just getting to grips with using vue. I have an issue in that the {{ curly brackets }} used with Craft cms twig templates are the same as vue. Is there a way to overcome this? I tried @{{ $data | json }} but Craft still throws an Internal Server Error Unexpected character "$".

Either with Twig or with Vue, you can change the delimiters as you please.
Twig: http://twig.sensiolabs.org/doc/recipes.html#customizing-the-syntax
Vue: http://vuejs.org/api/#delimiters
Scott

Oh, and better to use the forum or the gitter room for such questions. Issue on Github are only for bugs or suggestions.
https://gitter.im/vuejs/vue
http://forum.vuejs.org/
Scott

Thanks Scott :+1:

You can also just use the Twig {% verbatim %} tag wrapped around blocks you don't want Twig to interpret


Vulcan Book - UI Debug

I've added a small UI to visualize core components more easily on branch feature/vulcan-book. It is meant to help the development of additional UI libs (see  #2189, #2190, #2191).
I've defined a callback to register stories:
addCallback('stories.register', (stories) => (
 [
    ...stories, // other registered stories
    {
      group:'MyComponent',
      name:'My Component Without data',
      render: () => <MyComponent data={[]} />
    }
 ]
))

I have a few questions:

First, what do you think of this implementation ?
Is there a way to load/run code only in debug mode? If you want to register stories from another package, it's technically doable but the problem is that the stories will have to be part of the actual code (which is a reason why storybook has its own build system).
Do you think that creating an additional "registerStories" function is worth it ? It would be based on this stories.register callback, which I find a bit tedious to use. It would only make sense if we register stories from other packages though.

So far I've written only 2 stories to test the UI.
I've loaded a full Datatable, but it's not a very good idea because there are too many side effects (you need to be logged in to see action buttons for example). For the moment I think it should be limited to purely visual components (eg DatatableHeader, layout components, form inputs, etc.).

Is there a way to load/run code only in debug mode?

Two ways from what I know:

work in a debugOnly package
use dynamicLoading from a normal package:

if (Meteor.isDevelopment){
  import(./myStory);
}

With the second way, the stories will always be built, even for production builds, but they will never be loaded, either on the client or the server.

Very cool! But as a more general question, do you think it's better to invest time in this direction rather than work out how to use Storybook with Vulcan? Or do we just think it's impossible? Or is it worth it having our own component explorer anyway since we can do thing Storybook maybe can't? (show logged in/logged out versions, etc.?)

The problem with Storybook is that integrating to Meteor it seems very difficult. If no solution is found within a few weeks/months I may try to help on this, but I think that right now Storybook itself is undergoing some refactor so it may not be worth it. With Storybook however you should be able to implement any behavior you want, it's really powerful when combined to mocks and other testing tools, so I think it would not be useful to have our own solution.
In the short run I just wanted to be able to visually debug all the core components, before starting to merge Material UI. The version I pushed yesterday is already ok for this.
However since the API is quite simple and I already developed an UI, I thought maybe we could make this public, as a very limited but working palliative to Storybook. It can be quick to implement if we are smart about it. But the problem is that currently that means including the stories in the actual code :/
Using dynamic loading could be an interesting solution. I could detect all files named "stories" or "story" and load them automatically. The most difficult part is that Meteor behaves very weirdly with paths, I did not manage to get a correct __dirname value yesterday. Also it would make bundle bigger. So I am not sure if we should encourage this pattern.
Anyway I will focus in adding stories for all core components first, those are just ideas.
@SachaG what do you think about the use of callbacks? Sometimes I feel like we miss a middleman between registerSetting, which is very static and tied to settings.json, and callbacks, which are sometimes a bit tedious to use since they always must be functions that runs in chain. Maybe an API like registerArray('stories'); addArray('stories', [ /* your stories */]);?

That makes sense.

The problem with Storybook is that integrating to Meteor it seems very difficult.

But what if we focused on integrating it with Vulcan, not with Meteor? What I mean is that Vulcan components don't depend on any Meteor feature. So maybe it'd be possible to somehow tell Storybook how to understand meteor/vulcan:core even if it doesn't know what "meteor" is? Even if that means only supporting a subset of Vulcan core features within Storybook maybe?

@SachaG what do you think about the use of callbacks? Sometimes I feel like we miss a middleman between registerSetting, which is very static and tied to settings.json, and callbacks, which are sometimes a bit tedious to use since they always must be functions that runs in chain.

What I like about something like registerSetting is that it's very explicit, and also can have an API tailor-made for the use case. If you need something like registerArray I don't mind adding it, but personally I think for more common APIs it's good to have a dedicated function. Also makes searching through the codebase easier and understanding the code more manageable (for example I find the callback code pretty hard to understand since it has to do a lot of things).


Refactor EventTimer + Changes to commercial metrics

What does this change?
Refactor event-timer.ts with the following changes

Remove google analytics reporting as we don't use it any longer
Change the way that timers are stored (use a map rather than an array/object combo)
Remove the first timer, and measure specific slots instead (see below)
Introduce some measures/deltas to replace some of the timers/marks

Why?
First timer removal
Using the first for each event has led to some inconsistencies in the data, for roughly 21% of data points the timers are recorded in the wrong order, we believe could be caused by the first event of each type coming from different slots in some circumstances.
In most cases the first slot is simply top-above-nav anyway, and using pageviews where that isn't the case could be adding some undesirable noise/variables to the data.
We also have very little insight into what goes on on ad slots further down the page, we we will add reporting for inline1 (often a video ad) and inline2 (floated right on desktop).
Deltas & new measurements
Most of the timers we don't actually even use for analysis, only adOnPage generally. Changing most of them to deltas will give us more useful information more easily about specific pieces of code that we're interested in e.g. how long does prebid, defineSlot (which incorporates IAS), loadSlot (fetching the ad from GAM) take.
Hopefully deltas will be superior timestamps as they won't be subjected to variance from before the timer we're interested in has even started.
What we're doing in diagram form,  we are keep commercialStart and adOnPage (green) as timestamps, throwing away the rest (red) and adding delta's (in blue)

Summary of deltas
commercialBoot			-> time for commercial modules to load
googletagInit			-> Time for googletag to load
${slot}-defineSlot		-> Defining the slot (`window.googletag.defineSlot`) and running IAS
${slot}-prepareSlot		-> mostly Prebid.js, but includes our own code around it
${slot}-prebid			-> the time for prebid auction to happen
${slot}-fetchAd			-> the time for the ad to be fetched from GAM
${slot}-adRender		-> the time for the ad to render, from when it's in view to the ad appearing on the page (should be loadSlot + adRender)

Summary of timers
commercialStart         -> Pretty much the earliest point in the commercial code
commercialModulesLoaded -> All async modules in commercial.standalone.ts loaded
${slot}-adSlotReady		-> Ad slot defined and ready to render
${slot}-adRenderStart 	-> Ad (scrolled) in view and loading
${slot}-adOnPage    	-> The ad appeared on the page

Could you update the handbook when this is live?
https://docs.google.com/document/d/10Mxxta6ypxAduVXJFp19uRoWtALQmAubdKtBwq7AqZ0/edit#heading=h.w0c6dt3g4krt


add ebpf.go to Makefile

ebpf.go dependent on **.c
and automatically generate the latest ebpfProg
and git ignore ebpf.go

@StLeoX why are these changes needed? They make it harder to build the agent without Docker on the host.

I want to make sure that, each time you build coroot-node-agent, the ebpfProg is the latest. So I add this dependent relationship to Makefile, just like Protobuf generate.


Added Mobile responsive

Update:

Now filters are taking whole width
Added margin to filters
Changed Font-Size

Please look over it.

Thank you! 🙌


allow a global parameter to all settings in stash-config.properties.erb

Rather than hard-coding variables & the template for each of the system properties (i.e. jdbc, setup automation, etc.) would it be possible to make all of the config options able to be managed? You shouldn't have to define defaults for each of the variables as it sounds like they are already in stash and only need to be specified if you want to override the default stash value: https://confluence.atlassian.com/display/STASH/Stash+config+properties
Our devs are wanting to add this but I told them that custom properties weren't supported by the module yet and that I wasn't wanting to snowflake the server for it: https://confluence.atlassian.com/display/STASH/Stash+config+properties#Stashconfigproperties-Pullrequests

resolved

Awesome, when you get the version on forge updated I'll try to give it a try.
Thanks!


More popup rules

For OCaml repls and geiser buffers

Thanks for the review!

Looks good to me. Thanks again for your help!


Added extra fields received using hero7 black

When using media list command, + guess at some meanings

GoPro Camera(s): 7 black
Tested on: 7 black
Firmware version: 01.90

I have some of those meanings in my notes. Will push them tonight. thanks!


Enhance demo app to support Milestone 2 features of RPNG functional router

@mraross commented on Fri Sep 14 2018

@mraross commented on Fri Sep 28 2018
Done

Done


Click in an expanded exception in the Console should not collapse it

Description
If I click anywhere in an expanded exception, it minimizes the exception.
I feel like it should only expand/collapse if you click the caret on the left.
Steps to reproduce

Type any command resulting in an exception in the console, i.e. test
Click on the red collapsed exception text to expand it
Click anywhere in the expanded exception text

Expected results
The exception stays expanded.
Actual results
The exception gets collapsed.

@spasovski work on closing out this ticket. Discuss exact change with @dsmmcken

Also we should make sure that right-click doesn't cause the exception to collapse either.

I would make it so the whole line still acts as the toggle, not just the triangle. Also make sure the cursor and hover state is properly reflected for that line, and not the unfurled content.


chore(package): update gulp-typescript to version 4.0.1

Closes #126

did not greenkeeper picked this up?

@psmulovics The other PR provides a link to choose the newer version, upon clicking that it creates this PR on behalf of me.


Is it possible to change the music in the nightclub?

I'm not looking to replace or modify the game's built-in options for music, just looking to choose a different DJ's music

I know this is 2 years later, but were you able to figure this out?  Didn't find any relevant natives.

@alberttheprince I did not unfortunately


Make host:port configurable from command line

Coverage remained the same at 80.903% when pulling 425a82dcaf8061ec10506f8e13f5d6f30b927237 on example into 4277877db2f33599f300c903e9a954847804a626 on master.


Unable to view video feed from doorbell

Not able to view the video stream from T8200N0021050F39 doorbell camera.
Error in the HA system log:
Logger: custom_components.eufy_security.eufy_security_api
Source: custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py:107
Integration: Eufy Security (documentation, issues)
First occurred: 12:14:16 (6 occurrences)
Last logged: 12:27:30
Exception [Errno 104] Connection reset by peer - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py", line 103, in setup client_socket.sendall(bytearray(self.camera.video_queue.get())) ConnectionResetError: [Errno 104] Connection reset by peer
Exception [Errno 32] Broken pipe - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py", line 103, in setup client_socket.sendall(bytearray(self.camera.video_queue.get())) BrokenPipeError: [Errno 32] Broken pipe
To reproduce
I am using the recommended dashboard camera view from the readme file.
When the dashboard card is clicked nothing happens
Expected behavior
The video stream should start and be visible on the HA dashboard
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): Home Assistant OS
Home Assistant Core Version: 2023.11.1
Eufy Security Add-on Version: 1.7.1
Eufy Security Integration Version: 7.7.3

Hardware Information;

Camera Model: T8200N0021050F39

Live Streaming Protocol (RTSP/P2P):  P2P

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue:

2023-11-08 12:27:00.142 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:00.143 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:00.143 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:00.144 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:00.145 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:00.691 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:00.696 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:00.696 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:00.697 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:00.698 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:01.200 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:01.201 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:01.201 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:01.202 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:01.203 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:01.212 ERROR (Thread-107 (setup)) [custom_components.eufy_security.eufy_security_api] Exception [Errno 32] Broken pipe - traceback: Traceback (most recent call last):
File "/config/custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py", line 103, in setup
client_socket.sendall(bytearray(self.camera.video_queue.get()))
BrokenPipeError: [Errno 32] Broken pipe
2023-11-08 12:27:01.706 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:01.707 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:01.707 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:01.708 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:01.709 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:02.211 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:02.212 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:02.212 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:02.214 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:02.215 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:02.717 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:02.719 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:02.719 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:02.719 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
2023-11-08 12:27:02.720 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8554 closed (error: None)
2023-11-08 12:27:03.222 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtsp://<IP_ADDRESS>:8554/T8200N0021050F39
2023-11-08 12:27:03.223 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-11-08 12:27:03.224 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-11-08 12:27:03.225 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'RECORD', 'TEARDOWN', 'OPTIONS', 'DESCRIBE', 'ANNOUNCE', 'SETUP', 'PAUSE', 'PLAY'}
eufy_security debug.txt
Full debug log in the attached text file

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2023-11-08 12:24:12.555  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2023-11-08 12:24:15.202  INFO  Connected to station T8200N0021050F39 on host <IP_ADDRESS> and port 28095
2023-11-08 12:24:16.563  INFO  Push notification connection successfully established
2023-11-08 12:24:45.369  INFO  Client disconnected with ip: <IP_ADDRESS> port: 39500 code: 1000 reason: Normal Closure

Would you share your device with me in case further debugging required? (Yes/No): Yes

Additional context
Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

It is not working at all or you are having occasion issues

It's not working at all at the moment.  I have tried restarting the RSTP Server addon and the Eufy Security WS addon, then reloading the integration which has fixed problems in the past but not this time.

I believe you have signed for office hours for this Friday, if it is ok for you, can you share your device beforehand so i can take a look at it locally?

Just shared with you.

do you have any firewall or DNS configuration on your side blocking me to access your device remotely?
WARN Tried all hosts, no connection could be established to station T8200N0021050F39.
2023-11-09 08:49:01.984  INFO  Timeout connecting to station T8200N0021050F39

I have a firewall and the device is on a separate IoT VLAN.  I have no
problems accessing it remotely from my own phone and the device has access
to the internet from that VLAN.  Do you know how you are making the
connection?  I assumed that it would be proxied by the Eufy cloud service,
is that not the case?
On Thu, 9 Nov 2023 at 08:50, Fuat Akgün @.***> wrote:

do you have any firewall or DNS configuration on your side blocking me to
access your device remotely?
WARN Tried all hosts, no connection could be established to station T8200N0021050F39.
2023-11-09 08:49:01.984  INFO  Timeout connecting to station T8200N0021050F39
—
Reply to this email directly, view it on GitHub
https://github.com/fuatakgun/eufy_security/issues/988#issuecomment-1803393663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOLDW463P7YGFRGDPKE7PTYDSKMDAVCNFSM6AAAAAA7C2FUCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGM4TGNRWGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am using eufy security addon locally from my home network and it is failing to make a connection to your local device. I can also access from eufy app but add-on is failing to do so.
Please move them out of limited vlan and let me know. I want to eliminate network related things to understand if i should fix anything on integration side.

Please could you help me to understand here?  You are not going to be able
to directly access a device on my network unless I use port forwarding to
publish it to the outside world.  How can the addon access a device on my
local network directly from your network without either a VPN connection or
my device being exposed through my firewall?  Just moving the device from
one VLAN to the other won't fix this as it will still be protected by my
perimeter firewall.  I'm happy to reconfigure the device but I need to know
how it needs to be configured to give you access.
On Thu, 9 Nov 2023 at 09:55, Fuat Akgün @.***> wrote:

I am using eufy security addon locally from my home network and it is
failing to make a connection to your local device. I can also access from
eufy app but add-on is failing to do so.
Please move them out of limited vlan and let me know. I want to eliminate
network related things to understand if i should fix anything on
integration side.
—
Reply to this email directly, view it on GitHub
https://github.com/fuatakgun/eufy_security/issues/988#issuecomment-1803508800,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOLDW6Q6GIYBZRWDG33B33YDSSANAVCNFSM6AAAAAA7C2FUCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGUYDQOBQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have zero knowledge around VLANs and networks but I have accessed many remote devices around the world (USA, Austria, Europe) using add-on because add-on is trying cloud and local connections parallel to each other.
But, I cannot access your device and I do not want to spend any time and energy to find out what kind of network setup needed to access it.
Maybe even after moving it to unrestricted VLAN, I still cannot access it, I do not know.

anyway, let me know when you are interested to do so or else, I do not have a solution to fix the network issue or streaming issue.

I'm very happy to make changes to get this to work but I just don't know
what changes to make.  You will not be able to connect directly to anything
on my network and that would be the same for the majority of people as
their router/firewall will block the direct connection into the network and
you would need to know my public IP address to make that connection as
well.  My device is communicating properly with the Eufy cloud service as I
can access it using the Eufy app when I am not on my home network.  I can
move the device over to another VLAN but I don't think that will change
anything though.  I will try it when I get home from work this evening
and let you know.
On Thu, 9 Nov 2023 at 11:38, Fuat Akgün @.***> wrote:

anyway, let me know when you are interested to do so or else, I do not
have a solution to fix the network issue or streaming issue.
—
Reply to this email directly, view it on GitHub
https://github.com/fuatakgun/eufy_security/issues/988#issuecomment-1803668943,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOLDW3LLPVKX7RYDTFMLEDYDS6DLAVCNFSM6AAAAAA7C2FUCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGY3DQOJUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://github.com/bropat/eufy-security-ws/issues/60#issuecomment-1019336675
As i said, i just want to be sure that vlan is not a specific issue for us here. I want to focus on the integration itself.

Hi
I have same problem , can you tell me how to give you the needed access to my doorbell to analyse it ?


line-offset breaks joins

as you can see with line-offset the joins are not correct

Thanks for reporting this. I made a simple testcase based on this CartoCSS but did not manage to reproduce this. So my guess this is dependent on geometry also. Could you put together a small reproducible test program?

THanks for looking at this :D
So you can reproduce it with this code https://github.com/CartoDB/mobile-sdk/blob/07fe90c800a7998032884bd5e04632f7837912ef/scripts/android-dev/app/src/main/java/com/akylas/cartotest/ui/main/SecondFragment.java#L297
(you dont need the MultiTileDataSource just use routes.mbtiles
You can get routes.mbtiles and inner.zip from here http://gofile.me/4pKGL/sx3ZsbuEW
Once you ve started it zoom on any route to see it (you need sharp corners like here)
You will also see that it does not render well (line-offset) as you zoom in/out in those corner places. But it seems mapbox is facing the same issuse as seen here in a maptiler example


Newtonsoft.Json 12 support

I upgraded by Newtonsoft.json to 12.0 and Microsoft.IdentityModel.JsonWebtokens to 5.3.0, i get an error saying:  The type initializer for 'System.IdentityModel.Tokens.Jwt.JsonExtensions' threw an exception.
Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
However, the Nuget package for 5.3.0 says it will work with 10 or higher:

I'm having the same issues, with any package I install to the project (B). The only way it works is if i update the newtonsoft in my other project A. (project A calls project B from an api controller). The problem for me is updating newtonsoft in project A - it breaks other things. Seems like because im calling the class from project A, it always uses the package version from package A. I have tried "Copy assemblies to different folders and use to load them side-by-side (Requires strong names)" as outlined in https://michaelscodingspot.com/how-to-resolve-net-reference-and-nuget-package-version-conflicts/
But not working for me as dosent get triggered and seems like unnecessary workaraound.

@samragriff have you tried using BindingRedirects?


Make Chocolatey package trusted

By default, every version of a package on Chocolatey has to undergo a moderation process that can take even more than 1 month. Unmoderated packages cannot be installed without passing the version explicitly to choco install.
winfetch 2.1.0 was pushed on Chocolatey on June 19, 2021 and it is still not moderated.
There are also trusted packages on Chocolatey, that bypass human moderation checks. They are packages that either have a long and good history or come from official sources (developers). I guess since the Chocolatey installation method is on the wiki - it can be considered official.
If developers and maintainers @kiedtl, @rashil2000, @jcwillox agree, I will contact Chocolatey moderators about making winfetch package as a trusted with this issue as a proof.

That's a very good idea. We would definitely want this. I'm not at all familiar with chocolatey's processes so I still have a lot to learn. What stuff is required to convince them that we can be trusted?

Well, I don't have a trusted package, so I haven't actually gone through that process, and there is no recommended procedure.
But I think a package maintainer has to contact Chocolatey moderators requesting the conversion to a trusted package with some kind of proof that he/she is a trusted person.
The proof can IMO be just this issue (my GitHub account is connected with my Chocolatey account, so the OP can be verified). But I am just a package maintainer, neither an author nor contributor (at least yet), so I guess I need a "word of approval" by the actual developers or the least their acknowledgment of this here in this issue.

Well, in that case, @kiedtl would be the right person to ask...

I guess I need a "word of approval" by the actual developers or at least their acknowledgment of this here in this issue.

I think either @rashil2000 or @jcwillox can furnish that, being the de facto developers of this project. However, I, the official Winfetch maintainer in name only, can give that approval should the Chocolatey devs descend too deep into a well of unmitigated pedantry. :^)))

I have contacted Chocolatey moderators about converting winfetch package to a trusted one.
I will let you know when I receive a response.

Great, thanks for the awesome work @jakublevy !!!

Hi folks,
I'm a volunteer moderator for Chocolatey. Just to clarify that being marked 'trusted' usually takes roughly 3 versions of a package to be approved. It might depend a little on which moderator you get, but usually around by that point we've got enough confidence that the package is doing the right things and we don't think we'll need to manually approve future versions.
David

Hey @flcdrg!
Thanks for your input!
We already have 3 releases in pushed to Chocolatey, the latest being a month ago (and it was updated some days ago to address a bug #99). There haven't been many changes since, but if required I can make a new release incorporating #96 and #97. Would that be fine?

I've just added comments to your two pending versions. You're going to have to reconsider how the package installs. Unfortunately this wasn't picked up in the moderation of the first version you submitted.

I saw the comments.
If I remember correctly, we were using something similar to shimming that lead to #99. I'm not sure there's any other way than either creating a custom batch file or adding the ps1 scripts directly to choco's bin directory. We will lose the both the correct version reporting and the argument completion if we create shims. #99 has some more details regarding this.

So, the rewritten installer got rejected because it puts winfetch.ps1 directly into Chocolatey bin directory.
This correct way is to use Install-ChocolateyPowershellCommand which puts batch redirect in to Chocolatey bin.
The problem is that this is the Install-ChocolateyPowershellCommand is not really good as I explained in here.
This results in lost tab completion and execution always only by powershell.
I don't know what to do, the only thing I can do is to go back to the former winfetch installer which uses fancy Chocolatey functions, but this way, it simply is not that good as installation from PSGallery.

Well, I think there is one more way that could get through Chocolatey moderation.
I can put winfetch.ps1 into "$env:ChocolateyToolsLocation\winfetch" and add "$env:ChocolateyToolsLocation\winfetch" into PATH environment variable ($env:ChocolateyToolsLocation is generally "C:\tools").
This way I would not touch "$env:ChocolateyInstall\bin" which seems to be forbidden to do so without Chocolatey built-in functions (which just does not work in our case).

So I re-pushed version 2.1.0 and 2.2.0 as described in the previous comment.
If this fails, I will unfortunately have to go back to Install-ChocolateyPowershellCommand.
I will let you know after I get a response.

Just following up that it might be worth posting to either https://groups.google.com/g/chocolatey or https://gitter.im/chocolatey/choco to find out the best way to deal with the shimming.

So we've finally got winfetch 2.1.0 and 2.2.0 packages approved.
The package is not trusted yet, but future updates should be seamless, so we will probably get trusted status soon (possibly after few updates).

Hey @jakublevy :)
Thank you for the update!

Hey @jakublevy !
We just released a new version, is there anything pending on this thread? If not, I will close this along with #99
Thanks!

Hi, @rashil2000
honestly, from my experience of getting a few packages coincidentally trusted recently, there is really not much you can do about it. The best thing is to release versions more often and then the moderators will get sick of manually checking "the same" packages every time.
This issue is therefore pointless and can be closed.

Okay, thanks for the quick reply!


Setting bitmap smoothing to false still results in smoothed bitmaps

Observed on Html5

here's the code for my preloader: https://github.com/Geokureli/HaXe/blob/master/Gassy Rick Astley/source/astley/Preloader.hx#L241

I'm having this issue aswell on html5, I haven't tried other targets but the bitmap is smoothed no matter what on this one.


Remove the secure boot checker pod

This commit removes the pod that is created to validate if the node has
secure boot enable or not
Before this PR after every test running there are test pods in the sriov
operator namespace that does not get clean

/lgtm


[DRAFT] LUCENE-10122 Explore using NumericDocValue to store taxonomy parent array

Description
As mentioned in the issue, use NumericDocValues to store parent array instead of term positioning.
TODO

benchmark
address the backward compatibility issue

Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Lucene maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check. (Not yet, need to deal with backward compatibility issue)
[ ] I have added tests for my changes. (Old tests should be sufficient)

I'm going to close this PR given not seeing performance gain but a 5% inflated taxonomy index, details can be found in the JIRA issue.


web3 should not be initialized inside lib modules

If we want modules in lib/ to be reusable and composable, they can't each set their own web3 provider.
They should accept an initalized web3. Actually, we need a web3 wrapper which is lazily and intelligently initialized, acts as a mock, etc, uses promises, etc.

nevermind, I misread where you were setting web3


add bids download to master

This is a port of bids downloads to the master branch from aloha.
Minimal adaptation was done for standard downloads, but they essentially work as before.

closes #78

will work on this pull request to add a generic way of filtering downloads by type or tag.

Still need to address Gunnar's comment, apart from that the PR is ready to be reviewed.

addressed @gsfr comment

LGTM.
The branch is quite a bit behind master, so please rebase before the merge to make sure we don't get any unintended side-effects.


x/build: linux-amd64-race TryBot straggling

In the TryBot run for https://golang.org/cl/176580 at Patchset 4, most of the TryBots ran relatively quickly (less than 10m), but the linux-amd64-race builder took much longer (over 20m).
I'm not sure exactly why it was so slow, but it leads me to believe that there may be something wrong with the sharding for that builder.
(CC @bradfitz @dmitshur @andybons)

All the timing data is in BigQuery. That almost always reveals the mystery.

Looks like the @rsc's recent suffixarray changes made it slower?
https://console.cloud.google.com/bigquery?sq=872405196845:3b455f3831c54226ba07eda8cea81247
...
SELECT
    Builder, Event, APPROX_QUANTILES(Seconds, 100)[OFFSET(50)] as MedianSec, COUNT(*) as N
FROM
    builds.Spans
WHERE
    Error = ''
    AND Builder = 'linux-amd64-race'
    AND StartTime > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 24*7 HOUR)
    AND Repo = "go"
    And IsTry = true
GROUP BY 1, 2
ORDER BY 3 DESC

Row | Builder | Event | MedianSec | N |
-- | -- | -- | -- | -- | --
1 | linux-amd64-race | make_and_test |<PHONE_NUMBER>07 | 285 |
2 | linux-amd64-race | run_test:go_test_bench:index/suffixarray |<PHONE_NUMBER>03 | 278 |
3 | linux-amd64-race | make |<PHONE_NUMBER>47 | 276 |
4 | linux-amd64-race | run_test:go_test_bench:runtime |<PHONE_NUMBER>21 | 278 |
5 | linux-amd64-race | get_helper | 58.835877058 | 1381 |
6 | linux-amd64-race | get_buildlet | 57.736557395 | 285 |
7 | linux-amd64-race | run_test:go_test_bench:math/big | 48.183967875 | 278 |
8 | linux-amd64-race | create_gce_buildlet | 47.280073747 | 1666 |
9 | linux-amd64-race | run_test:go_test:runtime | 43.819345904 | 279 |
10 | linux-amd64-race | run_test:go_test_bench:net | 38.822814725 | 278 |
11 | linux-amd64-race | run_test:go_test_bench:text/tabwriter | 35.119872601 | 278 |
12 | linux-amd64-race | run_test:go_test:net | 33.723890843 | 281 |
13 | linux-amd64-race | run_test:go_test_bench:bytes | 30.623900061 | 278 |
14 | linux-amd64-race | run_test:go_test_bench:strings | 30.278805037 | 278 |
15 | linux-amd64-race | run_test:go_test_bench:compress/flate | 27.559467869 | 278 |
16 | linux-amd64-race | run_test:go_test:os/exec | 26.914272922 | 279 |
17 | linux-amd64-race | create_gce_instance | 25.102813238 | 1669 |
18 | linux-amd64-race | run_test:go_test_bench:crypto/tls | 24.369628886 | 278 |
19 | linux-amd64-race | run_test:go_test_bench:net/http | 21.715966586 | 278 |
20 | linux-amd64-race | wait_buildlet_start | 21.17260563 | 1666 |
21 | linux-amd64-race | run_test:go_test:os/signal | 20.97289739 | 279 |
22 | linux-amd64-race | run_test:go_test:go/internal/gcimporter | 19.999651301 | 281 |
23 | linux-amd64-race | run_test:go_test:runtime/race | 19.223213255 | 277 |
24 | linux-amd64-race | run_test:go_test_bench:sync | 17.451266096 | 277 |
25 | linux-amd64-race | run_test:go_test_bench:strconv | 17.317289797 | 277 |
26 | linux-amd64-race | run_test:go_test:net/http | 17.160193173 | 280 |
27 | linux-amd64-race | install_race_std | 16.297853892 | 276 |
28 | linux-amd64-race | run_test:go_test_bench:math | 15.798795113 | 277 |
29 | linux-amd64-race | run_test:go_test_bench:context | 12.820779637 | 277 |
30 | linux-amd64-race | run_test:go_test:os | 12.79174036 | 278 |
31 | linux-amd64-race | run_test:go_test:runtime/pprof | 12.656720241 | 274 |
32 | linux-amd64-race | run_test:go_test:go/types | 12.650777936 | 280 |
33 | linux-amd64-race | run_test:go_test:compress/flate | 12.288297681 | 281 |
34 | linux-amd64-race | run_test:go_test_bench:encoding/json | 11.248818408 | 273 |
35 | linux-amd64-race | run_test:go_test:internal/cpu | 10.493141873999999 | 280 |
36 | linux-amd64-race | run_test:go_test_bench:time | 10.472495406 | 272 |
37 | linux-amd64-race | run_test:go_test_bench:math/bits | 10.459982868 | 272 |
38 | linux-amd64-race | run_test:go_test:internal/trace | 10.349812287 | 279 |
39 | linux-amd64-race | run_test:go_test:crypto/tls | 10.322860367 | 281 |
40 | linux-amd64-race | run_test:go_test:compress/zlib | 10.282296089999999 | 281 |

But suffixarray seems fast on linux with -race locally, even before Russ's recent commit.


Сontext i18n is inaccessible in 'Telegraf/Stage' scene action

Hi! Please help me. I am used Telegraf/Stage (Simple scene-based control flow middleware). But when i'am in scene/Action have an error:

Cannot read property 't' of undefined

ctx.i18n also undefined. It should be noted that in 'scene/Enter' ctx.i18n.t is working.
If i make 'scene.use(i18n.middleware())' in scene file the problem will be solved.
How to fix this bug?
Thanks!

Hey @reg2005
You should register i18n middleware before stage one:
bot.use(stage.middleware())
bot.use(i18n.middleware())

@dotcypress Wow! Thanks!

yeaaaaaah!) Thanks!)


⚠ Bofrost.at has degraded performance

In f23f9f5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1410 ms

Resolved: Bofrost.at performance has improved in 8603718 after 8 minutes.


Allow Inputs component inside the Field component

Currently, the API does not allow to use the Inputs without explicitly mention the for property inside the Field component. Moreover, the for property is not mandatory so it results with a useless error when it is used like this:
<Form for={@changeset}>
  <Field name={:settings}>
    <Inputs>
      <TextInput field={:allow_javascript}>
    </Inputs>
  </Field>
</Form>

Error:

could not generate inputs for nil from MyAppWeb.MyEntity. Check the field exists and it is one of embeds_one, embeds_many, has_one, has_many, belongs_to or many_to_many

I believe it is counterintuitive to not allow the Inputs component to retrieve the field from the Field context, as we allow it for all the other types of input. This PR fixes it.
Alternative:

Make the for property mandatory with required: true as the phoenix helper does not allow the field argument to be nil

Drawback:
If the user forgets to define the field for an input inside the Inputs, the component will try to use the field from the Field context.
<Form for={:parent}>
  <Field name={:children}>
    <Inputs>
      <TextInput /> <-- It will use :children for the field property
    </Inputs>
  </Field>
</Form>

I am not sure how to solve this. I was thinking about "overriding" the field in the context to set it to nil inside the Inputs context but I am not sure it will work. @msaraiva @miguel-s do you have an idea?

Finally, I am wondering if we shouldn't warn at runtime/compile time if an Input is used without a field from the context or explicitly defined.

I do not understand why the test fail. Locally, I do not have these issues. I tested with OTP 23/25 and Elixir 1.11/1.12.

Finally, I am wondering if we shouldn't warn at runtime/compile time if an Input is used without a field from the context or explicitly defined.

Not sure I follow, could you elaborate on this?

Finally, I am wondering if we shouldn't warn at runtime/compile time if an Input is used without a field from the context or explicitly defined.

Not sure I follow, could you elaborate on this?

@miguel-s  Today, you can do this without a warning
<TextInput />

According to the underlying Phoenix helper, https://github.com/phoenixframework/phoenix_html/blob/v3.0.3/lib/phoenix_html/form.ex#L616, the user should pass a form and a field. In order to improve DX, we could emit a warning if form or field is equal to nil. In other words, for example, if we do not find the field in the context or as a prop, we could emit a warning. Am I clearer?
This could be done in another PR.

I checked the output of the failed test and it seems the cause is a missing newline
Why does this happen with the CI but not locally? I tried the different combination of elixir/erlang/otp with asdf and it works.


testing: high start up cost with high -count and no tests

What version of Go are you using (go version)?

$ go version
go version devel +b7a85e0003 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/usr/local/google/home/mpratt/.cache/go-build"
GOENV="/usr/local/google/home/mpratt/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/usr/local/google/home/mpratt/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/usr/local/google/home/mpratt/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/google-golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/google-golang/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel +b7a85e0003"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/usr/local/google/home/mpratt/src/scratch/go_bench/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1003331103=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Run a benchmark many, many times. (The intention here is to run benchmarks for hours)
https://play.golang.org/p/tKSzmTOK_-m
go test -bench=. -count=10000000
What did you expect to see?
Benchmarks start running immediately.
What did you see instead?
Nothing seems to happen for ~30s before the benchmarks start running. The issue appears to be that runTests runs its count loop 10000000 times, even though there are no tests to run.
One quick fix may be for runTests to exit immediately if len(tests) == 0, though I've distilled this issue down from my initial problem of a long time waiting for benchmarks to start in a package that has tests which I skip with -run=none. It would be nice to fix that case too. For that, perhaps the first pass through runTests records if it ran any tests. If not, the next iteration immediately breaks.

Note that my CL would break tests like https://play.golang.org/p/mGVn27Zl2lq when run like go test -v -count=2 -run=TestDouble/real_test.
I don't think that is a valid use of the testing package, but could certainly be convinced otherwise.


Support section

A section of the website where we can advertise current support for the standard, including (1) embeds of favorable Twitter coverage or articles, (2) commitments from partners such as Messari, DeepDAO, or Etherscan.

This can be easily worked on


How to change any control color?

Hello guys and thank you for your work.
Could anyone help me? I'm becoming crazy trying to change default color of datepicker. I have been reading #74 but I didn't get success.
I have installed md2 through npm. I have changed default blue everywhere in 'datepicker.css'. I have changed $primary in 'datepicker.scss' but nothing happends, still default blue. I have added an overwrite class in my scss parent component (.md2-datepicker-header{ background: #00bfa5 }), still default blue. I have added the same class in my main style.scss but, again, nothing change.
I hope someone could help and guide me on how to change default color.
Regards.

Hi All,
Same problem here (with other controls as well).
I tried following in my styles.scss:

Setting the theme:
@import '~md2/core/theming/prebuilt/pink-bluegrey.scss';

Importing datepicker.scss with variables override:
$primary: #f44336 !default; $warn: #f44336 !default; @import '~md2/datepicker/datepicker.scss';

All of the above gets overriden somehow by default colors in each md2 control.
Am I doing something wrong?

For theming you can use SCSS of it with important property so it will work

@dharmeshpipariya Could you please give a short example of how this is supposed to work? I'm running into the same problems as @kpolkowski

@dharmeshpipariya thank you for your workaround. it's working perfectly for me

How to do this @geelus  ? please show me the example.. :(

I've copied and pasted it in my them.scss file that I use to theme material design.

I have resorted to rules like this in my own scss files
$my-primary-color: #00ac8b;
/deep/ .md2-calendar-day {
  &.selected {
    background: $my-primary-color;
    &:hover {
      background: $my-primary-color;
    }
  }
}

Please tell me if there's a better way to do this by overriding the !default style, I can't figure out a way to override the $primary variable value within md2.


"Sprâncenata", "Bârseștii de Sus", "Frunzaru" and "Uria" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Sprâncenata".

Expected results
The location is listed in the drop-down menu as "Sat Sprâncenata OLT (Sprâncenata)".

Step 2
Write in the search bar "Bârseștii de Sus".

Expected results
The location is listed in the drop-down menu as "Sat Bârseștii de Sus OLT (Sprâncenata)".

Step 3
Write in the search bar "Frunzaru".

Expected results
The location is listed in the drop-down menu as "Sat Frunzaru OLT (Sprâncenata)".

Step 4
Write in the search bar "Uria".

Expected results
The location is listed in the drop-down menu as "Sat Uria OLT (Sprâncenata)".