text:
feat: add account_exists to mempool client trait

This change is

Codecov Report
Attention: Patch coverage is 5.26316% with 18 lines in your changes missing coverage. Please review.

Project coverage is 82.72%. Comparing base (9852d18) to head (8c66e42).

Files
Patch %
Lines

crates/mempool_types/src/communication.rs
0.00%
11 Missing :warning:

crates/mempool/src/communication.rs
16.66%
3 Missing and 2 partials :warning:

crates/mempool/src/mempool.rs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #473      +/-   ##
==========================================
- Coverage   83.55%   82.72%   -0.84%
==========================================
  Files          37       37
  Lines        1770     1789      +19
  Branches     1770     1789      +19
==========================================
+ Hits         1479     1480       +1
- Misses        212      228      +16
- Partials       79       81       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

repo: starkware-libs/mempool


text:
feat(starknet_api): chain version to the gas prices

This change is

crates/starknet_api/src/block_hash/block_hash_calculator.rs line 34 at r1 (raw file):
Previously, yoavGrs wrote…
It allows us to update the gas prices without bumping the block hash version.
It's continuing the goal of separating the gas prices from the global block hash.

What Yoav said

source: gharchive/pull-request

authors: ShahakShama yoavGrs

repo: starkware-libs/sequencer

license_type: permissive

license_source: github-api


text:
feat(consensus): simulations with the test config will use the fake consensus sync

This change is

Merge activity

Aug 18, 6:20 AM EDT: @matan-starkware started a stack merge that includes this pull request via Graphite.


text:
feat(2890253029): display chain name on wallet button

Description of the Changes
Please add a detailed description of the change, whether it's an enhancement or a bugfix.
If the PR is related to an open issue please link to it.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.6.0-dev.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: starkware-libs/starkgate-frontend


text:
docs: fix typo

Fix typo for v1.51 docs.
PR Checklist

[x] Have you followed the guidelines in CONTRIBUTING.rst?
[x] Have you got 100% test coverage on new code?
[x] Have you updated the prose documentation?
[x] Have you updated the reference documentation?

@all-contributors add @mookrs doc

authors: mookrs provinzkraut

repo: starlite-api/starlite

license: MIT


text:
Windows 11 10.0.22621.2134 not supported.

Please add offsets for Windows 11 10.0.22621.2134
Thank you very much for your time.
Windows 11 version 22H2, all editions
Latest windows 11 update - August 8, 2023—KB5029263 (OS Build 22621.2134)
https://support.microsoft.com/en-us/topic/august-8-2023-kb5029263-os-build-22621-2134-f8d4d3de-47c1-40e1-a2e6-97c2770ee2e8

Please add offsets for Windows 11 10.0.22621.2134

RDPConf screenshot, please!

Duplicate of https://github.com/stascorp/rdpwrap/issues/2290

source: gharchive/issue

repo: stascorp/rdpwrap

license_source: bigquery


text:
KB4499167 causes multiple login fail

win10
anyone who has the same problem try uninstall the patch
work for me

No version, no rdpconf screenshot. It's not clear which version

authors: RaoTianlong sebaxakerhtc


text:
internal/cmd: cleanup TUI cmd

cc @mxsdev

LGTM, only thing is whether or not we want to provide a way for users to disable scrolling (show all entries). Originally this was done by providing a number <= 0 to --entries, but with this change that will revert to the default number of entries. I can definitely understand not wanting to allow that behavior though.

Ah, I see the point of using goMath.MaxInt32 now. I will revert that actually. It's indeed odd to disable scrolling, but on the other hand, why not allow it. entries will get a default value if not specified anyway.

authors: adambabik mxsdev

repo: stateful/runme


text:
[Typescript] When using schema, context is returning any

Hey folks, I'm using the new schema prop to generate better types but looks like it is typing the context with any.
Here is the Codesandbox: https://codesandbox.io/s/floral-snowflake-dqxti?file=/TakeExamForm.tsx

@BrunoQuaresma Great catch!

Added a failing test here:
https://github.com/statelyai/xstate/pull/2992

This got fixed by https://github.com/statelyai/xstate/pull/2992 and will go out in the very next release

Thanks!

authors: Andarist BrunoQuaresma mattpocock

repo: statelyai/xstate


text:
Update devcontainer.json

Issue-id
PR Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My code follows the code style of this project.
[ ] I ran lint checks locally prior to submission.
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Does this introduce a breaking change

[ ] YES
[ ] NO

Testing

Test

authors: mh-bmckee stationary-heartbeat


text:
getting a 'load_duration' and sometimes a 'context' error.

Error occurred when executing OllamaGenerateAdvance:

'context'

File "C:\V\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\custom_nodes\comfyui-ollama\CompfyuiOllama.py", line 255, in ollama_generate_advance
return (response['response'],response['context'],)
~~~~~~~~^^^^^^^^^^^

and
Error occurred when executing OllamaGenerate:

'load_duration'

File "C:\V\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\V\ComfyUI\ComfyUI\custom_nodes\comfyui-ollama\CompfyuiOllama.py", line 129, in ollama_generate
- load_duration: {response["load_duration"]}
~~~~~~~~^^^^^^^^^^^^^^^^^

Vision node seems to work but i get the above error with generate advanced & generate

1,  Today after the update OIlama and Comfyui, started getting this error:
Error occurred when executing OllamaGenerate:
'load_duration'

pushed a fixed to the print, it seems that the response from ollama is changed, API change?
seems also that context in advance is missing, checking this,

The API has not changed, it connects to the Ollama, but then an error immediately appears. Yesterday everything worked fine with the same circuit and settings.
From the console:
HTTP Request: POST http://127.0.0.1:11434/api/generate "HTTP/1.1 200 OK"
!!! Exception during processing!!! 'load_duration'
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-ollama\CompfyuiOllama.py", line 129, in ollama_generate
- load_duration: {response["load_duration"]}
KeyError: 'load_duration'

I solved the problem by completely reinstalling

It didn't help me. I also tried ComfyUI Ollama YN, same error there

It didn't help me. I also tried ComfyUI Ollama YN, same error there

Try change debug: disable in Ollama Generate

Also I uninstalled all python dependencies and reinstalled without cache.
The error persisted, the debug flag has no effect on the error :(

О! I got it! The problem is in the Advance node, there is no error in the normal node!

please update ollama to 0.2.4, it seems their api back to normal

The problem was observed just 0.2.4, and 0.2.5 fixes the problem. Thanks!

authors: Appolonius001 KorDum alexnikospb stavsap

repo: stavsap/comfyui-ollama


text:
Callback Hell

http://callbackhell.com/

https://github.com/howdyai/botkit/blob/master/docs/readme.md#control-conversation-flow

repo: steefmin/elsje

license: mit


text:
Use babel-cli-flow instead of babel-cli

It's my fork that saves the original sources as .flow in dist directory, so we no longer need the linker flow script

Removing the babel-core from motion required updates to the lock files, lockfiles are becoming a pain and they are not even that useful :\

repo: steelbrain/pundle


text:
Uncaught Error: Cannot find module 'crypto'

Uncaught Error: Cannot find module 'crypto'
    at require (modules-runtime.js?hash=0969a31…:133)
    at meteorInstall.node_modules.steem.lib.auth.index.js (modules.js?hash=2f1f987…:6398)
    at fileEvaluate (modules-runtime.js?hash=0969a31…:207)
    at require (modules-runtime.js?hash=0969a31…:130)
    at meteorInstall.node_modules.steem.index.js (modules.js?hash=2f1f987…:5267)
    at fileEvaluate (modules-runtime.js?hash=0969a31…:207)
    at Module.require (modules-runtime.js?hash=0969a31…:130)
    at Module.Mp.import (modules.js?hash=2f1f987…:374)
    at meteorInstall.imports.api.steem.js (steem.js:1)
    at fileEvaluate (modules-runtime.js?hash=0969a31…:207)
    at Module.require (modules-runtime.js?hash=0969a31…:130)
    at Module.Mp.import (modules.js?hash=2f1f987…:374)
    at meteorInstall.imports.api.collections.userSettings.js (userSettings.js:1)
    at fileEvaluate (modules-runtime.js?hash=0969a31…:207)
    at Module.require (modules-runtime.js?hash=0969a31…:130)
    at Module.Mp.import (modules.js?hash=2f1f987…:374)

Version:
    "steem": "^0.4.8",

Related Issue:
https://github.com/steemit/steem-js/issues/39

@Netherdrake can you check if the NPM version 0.4.9 is solving this issue?

0.4.9 seems to be working fine for me.

authors: Netherdrake adcpm

repo: steemit/steem-js


text:
Add-on does not hve the correct structure

I installed openelec 5.0 on linux, and now I can't install the pulsar add-on with zip files. The add-on (unpacked) as .zip are on my ftp server, but I keep getting "add-on does not hve the correct structure" can anyone help?

I run OpenELEC / Kodi in my new PRi2, and have the same issue. Only tried installing it from a USB-drive through the XBMC "Install from ZIP" option, and get this error every time. Any pointers?

Had this error, it's the permissions on your file system/directory where you store the .zip files

authors: dennisje182 mKeilow pbdeuchler


text:
Create New Job when Canary's Interval changes

Currently whenever the Canary analysis interval changes, flagger does
not reflect this into canary's job.
This change will make sure the canary analysis interval got updated whenever
the Canary object's interval changes

@stefanprodan

Codecov Report

Merging #91 into master will decrease coverage by 0.21%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage    54.8%   54.59%   -0.22%
==========================================
  Files          13       13
  Lines        1540     1546       +6
==========================================
  Hits          844      844
- Misses        556      562       +6
  Partials      140      140

Impacted Files
Coverage Δ

pkg/controller/scheduler.go
39% <0%> (-0.57%)
:arrow_down:

pkg/controller/job.go
0% <0%> (ø)
: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 fcd5207...6196f69. Read the comment docs.

Codecov Report

Merging #91 into master will decrease coverage by 0.21%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage    54.8%   54.59%   -0.22%
==========================================
  Files          13       13
  Lines        1540     1546       +6
==========================================
  Hits          844      844
- Misses        556      562       +6
  Partials      140      140

Impacted Files
Coverage Δ

pkg/controller/scheduler.go
39% <0%> (-0.57%)
:arrow_down:

pkg/controller/job.go
0% <0%> (ø)
: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 fcd5207...6196f69. Read the comment docs.

Fixes #86

authors: codecov-io huydinhle stefanprodan

repo: stefanprodan/flagger


text:
Error at dragging img on icon

If IS is not started they following error occurs at dragging images on the icon:

Fixed in 7a57205383d00266662bc3e3e6d39de43f120479

repo: stefansl/image-shrinker


text:
add NameserverInfoRequest struct

Add all possible input parameters for nameserver info request. This change is required before it can be used in lego as an acme provider.

In the meantime, I forked this project. Inwx is now supported on lego. See https://github.com/xenolf/lego/pull/687

Cool. I‘ll take a look :-)

@smueller18 - i'll try to contact @inwx  ( http://github.com/inwx ) how they think about adding goinwx to their namespace. What do you think?

I already though of contacting them but hesitated because of the following two points:

Goinwx does not support all API calls
Unit tests are missing

You can ask for adding the project as a fork. But adding those two points eventually takes a bit longer due to missing time.

repo: steigr/goinwx


text:
[ANCHOR-244-FIX]Use Sep24GetTransactionResponse as request body in ClientStatusCallback

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
This is to fix the request body used in client status callback is not a Sep24GetTransactionResponse
original pr: https://github.com/stellar/java-stellar-anchor-sdk/pull/988
Why
According to Sep24Controller, response from /trasaction is of Sep24GetTransactionResponse type, which should be the correct body format used in  callback

Reference Server Preview is available here:https://anchor-ref-pr1020.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1020.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr1020.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1020.previews.kube001.services.stellar-ops.com/

authors: JiahuiWho stellar-jenkins

repo: stellar/java-stellar-anchor-sdk


text:
build: update to same revs as soroban-examples

What
Update the SDK & environment rev hashes
Why
The SDK rev referenced by soroban-examples was updated in https://github.com/stellar/soroban-examples/pull/224. The branch adding CLI tests to the examples repo, https://github.com/stellar/soroban-examples/pull/216, not only depends on the SDK, but also on the CLI. When the SDK and CLI versions mismatch, the tests fail.
Known limitations
N/A

Seems like the windows build is running out of disk https://github.com/stellar/soroban-tools/actions/runs/4744084507/jobs/8424498674?pr=585

authors: chadoh paulbellamy

repo: stellar/soroban-tools


text:
protobuf_parse write out schema

I am using your parser to parse some .proto files, extracting options and modifying the build process for tonic_build. It works beautifully, many thanks for your excellent work.
One requirement I would have is to parse the schema files, modify some parts (adding the json_name option to every field) and then write them to files again in order to be processed by tonic_build. I have not found a way to do that. Do you know if I overlooked something?

Hey @wackazong — I am looking to do the exact same thing. My idea was to pull out the parser and give it the ability to do that.

Great. I have no immediate need anymore, therefore I did not go down that road. Would be great to keep your work within this package I guess, in order to avoid having to keep the packages in sync.

authors: wackazong xfbs

repo: stepancheg/rust-protobuf


text:
Vertical time elements not rendering from map function

 constructTimeLine = () =>{
        return(
            <VerticalTimeline>
                {this.progressArray.map((object,i)=>
                    <VerticalTimelineElement
                        key={i}
                        className="vertical-timeline-element--work"
                        style={{backgroundColor:object.color}}
                        iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
                        date="2011 - present"
                    >

                   {object.comments}

                    </VerticalTimelineElement>
                    )
                }
            </VerticalTimeline>
        )
    }
    render(){
       return(

                {this.constructTimeLine()}

       )
    }

I call constructTimeLine() which returns the Vertical Timeline with a map to render the elements. So the elements themselves will not render, it remains empty. If I add the style for the background color to the element it renders the div with the background color but no text will render. No icon, no date and no text in the timeline element.

Could you provide a full example please ?

import React from 'react';
import firebase from './Firebase';
import Cookies from 'universal-cookie';
import { VerticalTimeline, VerticalTimelineElement }  from 'react-vertical-timeline-component';
import 'react-vertical-timeline-component/style.min.css';

import Header from './Header';

export default class LoginPage extends React.Component {
    constructor(props){
        super(props);
        this.state = {
            userID: null,
            profileImgUrl: null,
            name: null,
            isDoneLoadingData: false
        }
        this.progressArray = [];
    }

    componentWillMount(){
        let that = this;
        firebase.auth().onAuthStateChanged(function(user) {
            if (user) {
                let userID = firebase.auth().currentUser.uid;
                console.log(userID);
                let cookies = new Cookies();
                let profileImgUrl = (cookies.get('profileImgUrl',{doNotParse:true}));
                let name = (cookies.get('name',{doNotParse:true}));
                that.setState({userID: userID, profileImgUrl: profileImgUrl, name: name},()=>{
                    console.log(this.state);
                    that.fetchProgressData();
                });
            } else {
              console.log('user not signed in');
              his.props.history.replace('/progress');
            }
        });
    }

    fetchProgressData = () => {
        let ref = firebase.database().ref('users/' + this.state.userID + '/progress')
        ref.on('value', (snapshot)=>{
            console.log(snapshot.val())
            snapshot.forEach((childSnapshot)=>{
                console.log(childSnapshot.val());
                this.progressArray.push(childSnapshot.val());
                this.setState({isDoneLoadingData: true});
            })
        });

    }

    constructTimeLine = () =>{
        return(
            this.progressArray.map((object,i) => {
                console.log('test')
                return (
                    <VerticalTimelineElement
                    key={i}
                    style={{visibility:'visible', height:'200px'}}
                    iconStyle={{ background: object.color, color: '#fff' }}
                    date={object.date}
                    position='right'
                    >

                                {object.imageUrls.map((url,i)=>{
                                    return(

                                    )
                                })
                                }

{object.comments}

                    </VerticalTimelineElement>
                );
            })
        )
    }

    render(){
       return(

                {this.state.isDoneLoadingData&&
                    <VerticalTimeline>
                        {this.constructTimeLine()}
                    </VerticalTimeline>
                }

       )
    }
}

This is the page that gets rendered using react-router. I have barebones styling as I'm building out functionality first, turns out the issue was with react-visibility, I have no clue why it was getting called and hidding all the VerticalTimeLineElements but I have commented it out in your ./dist-es6/VerticalTimeLineElement.js
  _createClass(VerticalTimelineElement, [{
    key: 'onVisibilitySensorChange',
    value: function onVisibilitySensorChange(isVisible) {
      //if (isVisible) {
        this.setState({ visible: true });
      //}
    }
  }, {

I'm working on this mapping the elements of timeline today. It doesn't populate the elements for me.
`getIconClass(val) {
var iconClass = '';
switch (val) {
case 'initialize':
iconClass = "fa fa-3x fa-hourglass-start"
break;
case 'progress':
iconClass = "fa fa-3x fa-caret-square-o-down"
break;
case 'email':
iconClass = "fa fa-3x fa-envelope"
break;
case 'end':
iconClass = "fa fa-3x fa-hourglass-end"
break;
default:
iconClass = "fa fa-3x fa-caret-square-o-down"
break;
    }
    return iconClass;
}
renderTimelineElements() {
    const { apiRes } = this.state;
    apiRes.StaticWorkflowRes.forEach((element, ind) => {
        if (element.reqType === this.props.reqTypeId) {
            element.steps.map((eleMap, ind) => {
                var iconClass = this.getIconClass(eleMap.stepType);
                return (
                <VerticalTimelineElement
                    key={ind}
                    className="vertical-timeline-element"
                    contentStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
                    contentArrowStyle={{ borderRight: '7px solid  rgb(33, 150, 243)' }}
                    date={`Step ${ind + 1}`}
                    iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
                    icon={}
                >

{eleMap.titleVal}

{eleMap.subtitleVal}

{eleMap.stepDesc}

                </VerticalTimelineElement>
                )
            })
        }
    });
}
render() {
    return (
        <React.Fragment>
            <VerticalTimeline animate={true}>
                {this.renderTimelineElements()}
            </VerticalTimeline>
        </React.Fragment>
    )
}`

while i'm using VerticalTimelineElement component .vertical-timeline--animate .vertical-timeline-element-icon.is-hidden { visibility: hidden } this class name is coming and making the section hidden

while i'm using VerticalTimelineElement component .vertical-timeline--animate .vertical-timeline-element-icon.is-hidden { visibility: hidden } this class name is coming and making the section hidden

I think this is the intended functionality, since the purpose is to animate the timeline when it is in view using, I supposse, Intersection Oberver which should change the element to adding visibility: visible, but it it's not changing it for me as well, so I guess the Intersection Observer is not kicking in to display my 's.
@madhusportIT Did you find a solution to this?

Hi @wilbertcaba use visible={true} props inside of the VerticalTimelineElement Element

Hi @wilbertcaba use visible={true} props inside of the VerticalTimelineElement Element

@madhusportIT Thanks for the tip. That effectively makes the <VerticalTimelineElement> visible, but then I loose the animation once the elements are in view. These animations are enabled by intersectionObserverProps={{ rootMargin: "0px 0px 40px 0px" }} when the <VerticalTimeline> enters the viewport, I guess only when visible={false}.
@stephane-monnot Any thoughts?

@wilbertcaba  but in my case the animation is working

@madhusportIT  do you have the timeline above the fold?
If the timeline is in the viewport (or above the fold) when the page is loaded, the animation works for me as well. If the timeline is not in the viewport, the animation works as well, but by the time I scroll down to the timeline the animation has already been executed so I don't get to see it.
Anyways, I was using Next.js 14.1.0 and I could do some magic tricks to make it work by creating a component for the <VerticalTimelineElement> and importing and using it within <VerticalTimeline>. But, I ended up downgrading to Next,js 13 (not my desired outcome) which also worked for me by using it as intended (as seen in the Docs) without having to use visible={true} props.

authors: Shubham-luv2code barbulescualex madhusportIT stephane-monnot wilbertcaba

repo: stephane-monnot/react-vertical-timeline


text:
How to generate a PDF file in landscape format?

I have to generate PDFs with relatively wide code blocks and tables, so landscape mode would fit this much better. Is this possible somehow?

You can set the Orientation in two ways

Use WithFpdf Option and set the Orientation accordingly
Use NewFpdf for greater control, and then pass that to the WithPDF option.

Thank you, works like a charm!

authors: TLINDEN stephenafamo

repo: stephenafamo/goldmark-pdf


text:
Inted by Gank

Overview
right now those who die by gank (2v1) dont get called for inting however this is not the case. A feature should be added to the API which records how many times you died to ganks. to do this I will provide the following definitions
definitions
Laning Phase the time in which both yours and your laners tower is standing
Gank any fight where you die to your enemy laner and the enemy jungler during the laning phase. This is designed to include dives by other laners as well.
Fallbacks
This stat may be incorrectly reported in the event you die to a team fight over drag or herald before the laning phase ends, this shouldnt be a big concern since a death is a death, it will just be incorrectly reported.

I think a better definition for laning phase would be either before the first tower falls or just 15 minutes (~1 minute after tower plates drop.) Maybe it should also take into account the location where you die on the map. With the definitions you listed you could have a drag teamfight at 20 minutes when both lane towers are still up and it could be counted as a gank if you die by only  2 people.


text:
Notion Ask to Login after tapping Back button

Notion asking to Login after Back button tapped.
I think this comes from Notion changing 'www.notion.so' to 'yoursite.notion.site'.
Anyone already have a solution to this problem? Thanks before.

+1
I have also started noticing this more recently within the last week on my own notion

+1
I'm having the same issue.

+1

+1

+1

+1

+1

Notably, when checking sites in the Fruition-users 'Showcase' https://stephenou.notion.site/92053970e5084019ac096d2df7e7f440?v=2bed11f9a95d41f59e8af11a7746c339, even if the page content is displaying, it's coming back as an HTTP 404 error (prompting some browsers to display an extra error-banner), and navigating forward to subpages works, but backing-up lands on the Notion sign-up page.

I resolved the issue!! Please try and see if this resolves it for you.
Chrome Dev Tools Console was displaying the following error messages:

[GSI_LOGGER]: The given origin is not allowed for the given client ID
"Uncaught TypeError: Cannot read properties of undefined (reading 'ThemeStore')”
A soft navigation has been detected: https://eeshabarua.me/

To Solve:
Modify the Cloudflare Worker worker.js code to handle the redirection and serving of Notion pages based on slugs. The worker should receive incoming requests and serve the appropriate content based on the slug-to-page mapping without relying on client-side JavaScript for redirection.)

Update domain name in the Worker file (as solved in #236 )
Update fetchAndApply() to correctly handle the soft navigation:

The new block detects if the user is trying to access a Notion page using a slug, and if so, it redirects the user to the corresponding Notion page instead of client-side JavaScript (which is a Notion endpoint and therefore would have needed reauthentication.

  if (request.method === 'OPTIONS') {
    return handleOptions(request);
  }
  let url = new URL(request.url);
  url.hostname = 'eeshabarua.notion.site';
  if (url.pathname === '/robots.txt') {
    return new Response('Sitemap: https://' + MY_DOMAIN + '/sitemap.xml');
  }
  if (url.pathname === '/sitemap.xml') {
    let response = new Response(generateSitemap());
    response.headers.set('content-type', 'application/xml');
    return response;
  }
  let response;
  if (url.pathname.startsWith('/app') && url.pathname.endsWith('js')) {
    response = await fetch(url.toString());
    let body = await response.text();
    response = new Response(body.replace(/eeshabarua.notion.site/g, MY_DOMAIN).replace(/notion.so/g, MY_DOMAIN), response);
    response.headers.set('Content-Type', 'application/x-javascript');
    return response;
  } else if ((url.pathname.startsWith('/api'))) {
    // Forward API
    response = await fetch(url.toString(), {
      body: url.pathname.startsWith('/api/v3/getPublicPageData') ? null : request.body,
      headers: {
        'content-type': 'application/json;charset=UTF-8',
        'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36'
      },
      method: 'POST',
    });
    response = new Response(response.body, response);
    response.headers.set('Access-Control-Allow-Origin', '*');
    return response;
  } else {
    const currentSlug = url.pathname.slice(1);
    const pageId = SLUG_TO_PAGE[currentSlug];

    if (pageId) {
      const notionUrl = `https://www.notion.so/${pageId.replace(/-/g, '')}`;
      return Response.redirect(notionUrl, 301);
    }

    response = await fetch(url.toString(), {
      body: request.body,
      headers: request.headers,
      method: request.method,
    });
    response = new Response(response.body, response);
    response.headers.delete('Content-Security-Policy');
    response.headers.delete('X-Content-Security-Policy');

    // Soft navigation handling
    if (slugs.indexOf(currentSlug) > -1) {
      const destinationPageId = SLUG_TO_PAGE[currentSlug];
      if (destinationPageId) {
        const notionUrl = `https://www.notion.so/${destinationPageId.replace(/-/g, '')}`;
        const { pathname, search, hash } = new URL(notionUrl);
        const redirectUrl = `${MY_DOMAIN}/${currentSlug}${search}${hash}`;
        response.headers.set('Content-Type', 'text/html');
        response.headers.set('Cache-Control', 'no-store');
        response.headers.set('Location', redirectUrl);
        response.status = 302;
        return response;
      }
    }

    return appendJavascript(response, SLUG_TO_PAGE);
  }
}```

hi @eeshabarua , do not get to work it. Replaced the part with yours and of course changed eeshabarua.... But not working.

@jruers Hmm... can you describe the behavior? Is the back button still prompting reauth?

Maybe I replace something wrong, but the notion site is not found after I adjusted the worker...

I apologize, the code block I provided still had notion.so URL instead of yoursite.notion.site. It is now edited to reflect those changes.
Here is my full worker.js if for debugging purposes.
// CONFIGURATION STARTS HERE

// Step 1: enter your domain name like fruitionsite.com
const MY_DOMAIN = 'eeshabarua.me';

/*
 * Step 2: enter your URL slug to page ID mapping
 * The key on the left is the slug (without the slash)
 * The value on the right is the Notion page ID
 */
const SLUG_TO_PAGE = {
  '': '506b6a6b6ac94378ba32764d4b09f27a',
};

// CONFIGURATION ENDS HERE

const PAGE_TO_SLUG = {};
const slugs = [];
const pages = [];
Object.keys(SLUG_TO_PAGE).forEach(slug => {
  const page = SLUG_TO_PAGE[slug];
  slugs.push(slug);
  pages.push(page);
  PAGE_TO_SLUG[page] = slug;
});

addEventListener('fetch', event => {
  event.respondWith(fetchAndApply(event.request));
});

function generateSitemap() {
  let sitemap = '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
  slugs.forEach(
    (slug) =>
    (sitemap +=
      '<url><loc>https://' + MY_DOMAIN + '/' + slug + '</loc></url>')
  );
  sitemap += '</urlset>';
  return sitemap;
}

const corsHeaders = {
  'Access-Control-Allow-Origin': '*',
  'Access-Control-Allow-Methods': 'GET, HEAD, POST, PUT, OPTIONS',
  'Access-Control-Allow-Headers': 'Content-Type',
};

function handleOptions(request) {
  if (request.headers.get('Origin') !== null &&
    request.headers.get('Access-Control-Request-Method') !== null &&
    request.headers.get('Access-Control-Request-Headers') !== null) {
    // Handle CORS pre-flight request.
    return new Response(null, {
      headers: corsHeaders
    });
  } else {
    // Handle standard OPTIONS request.
    return new Response(null, {
      headers: {
        'Allow': 'GET, HEAD, POST, PUT, OPTIONS',
      }
    });
  }
}

async function fetchAndApply(request) {
  if (request.method === 'OPTIONS') {
    return handleOptions(request);
  }
  let url = new URL(request.url);
  url.hostname = 'eeshabarua.notion.site';
  if (url.pathname === '/robots.txt') {
    return new Response('Sitemap: https://' + MY_DOMAIN + '/sitemap.xml');
  }
  if (url.pathname === '/sitemap.xml') {
    let response = new Response(generateSitemap());
    response.headers.set('content-type', 'application/xml');
    return response;
  }
  let response;
  if (url.pathname.startsWith('/app') && url.pathname.endsWith('js')) {
    response = await fetch(url.toString());
    let body = await response.text();
    response = new Response(body.replace(/eeshabarua.notion.site/g, MY_DOMAIN).replace(/notion.so/g, MY_DOMAIN), response);
    response.headers.set('Content-Type', 'application/x-javascript');
    return response;
  } else if ((url.pathname.startsWith('/api'))) {
    // Forward API
    response = await fetch(url.toString(), {
      body: url.pathname.startsWith('/api/v3/getPublicPageData') ? null : request.body,
      headers: {
        'content-type': 'application/json;charset=UTF-8',
        'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36'
      },
      method: 'POST',
    });
    response = new Response(response.body, response);
    response.headers.set('Access-Control-Allow-Origin', '*');
    return response;
  } else {
    const currentSlug = url.pathname.slice(1);
    const pageId = SLUG_TO_PAGE[currentSlug];

    if (pageId) {
      const notionUrl = `https://eeshabarua.notion.site/${pageId.replace(/-/g, '')}`;
      return Response.redirect(notionUrl, 301);
    }

    response = await fetch(url.toString(), {
      body: request.body,
      headers: request.headers,
      method: request.method,
    });
    response = new Response(response.body, response);
    response.headers.delete('Content-Security-Policy');
    response.headers.delete('X-Content-Security-Policy');

    // Soft navigation handling
    if (slugs.indexOf(currentSlug) > -1) {
      const destinationPageId = SLUG_TO_PAGE[currentSlug];
      if (destinationPageId) {
        const notionUrl = `https://eeshabarua.notion.site/${destinationPageId.replace(/-/g, '')}`;
        const { pathname, search, hash } = new URL(notionUrl);
        const redirectUrl = `${MY_DOMAIN}/${currentSlug}${search}${hash}`;
        response.headers.set('Content-Type', 'text/html');
        response.headers.set('Cache-Control', 'no-store');
        response.headers.set('Location', redirectUrl);
        response.status = 302;
        return response;
      }
    }

    return appendJavascript(response, SLUG_TO_PAGE);
  }
}

class MetaRewriter {
  element(element) {
    // Modify meta tags for SEO if needed
  }
}

class HeadRewriter {
  element(element) {
    // Modify head content if needed, e.g., adding custom styles, scripts, or fonts
  }
}

class BodyRewriter {
  constructor(SLUG_TO_PAGE) {
    this.SLUG_TO_PAGE = SLUG_TO_PAGE;
  }

  element(element) {
    // Modify body content if needed
  }
}

async function appendJavascript(res, SLUG_TO_PAGE) {
  return new HTMLRewriter()
    .on('title', new MetaRewriter())
    .on('meta', new MetaRewriter())
    .on('head', new HeadRewriter())
    .on('body', new BodyRewriter(SLUG_TO_PAGE))
    .transform(res);
}

@eeshabarua tried your worker... still prompting reauth

After implementing this fix for another issue for fruition, my issue here seems to also have resolved itself.

Worked for me, thanks Eesha!

Dark/light fix also worked for me. The earlier one forwarded to my actual notion URL instead of my vanity URL so no-go there.

Hey @eeshabarua, thanks for sharing your fix!
I no longer am prompted to login when I press 'back,' hooray! — but is it expected/normal for the fix to also make the pretty URLs their ****.notion.site versions instead?

I resolved the issue!! Please try and see if this resolves it for you.

Thanks for sharing your fix, @eeshabarua! It did sort out the problem for me, though it seems that when I change the code it also messes up my 'pretty' URLs, which start displaying as *****.notion.site

After implementing this fix for another issue for fruition, my issue here seems to also have resolved itself.

It's so lucky you tried this fix already, @JustSleightly, thanks for sharing! This dark/light mode code change actually somehow did fix the back-login problem for me too.
Appreciate this community!

@olimpa Any update on your update? :D The dark/light fix worked for me, but I don't like the reloading part.

@jruers Hmm... can you describe the behavior? Is the back button still prompting reauth?

It is still prompting me to reauth after applying your change.
  /* CONFIGURATION STARTS HERE */

  /* Step 1: enter your domain name like fruitionsite.com */
  const MY_DOMAIN = 'codinghelp.site';

  /*
   * Step 2: enter your URL slug to page ID mapping
   * The key on the left is the slug (without the slash)
   * The value on the right is the Notion page ID
   */
  const SLUG_TO_PAGE = {
    '': '4c97396d18034520bf450b7d7485a4c4',
  };

  /* Step 3: enter your page title and description for SEO purposes */
  const PAGE_TITLE = 'Coding Help';
  const PAGE_DESCRIPTION = 'Learn how to code!';

  /* Step 4: enter a Google Font name, you can choose from https://fonts.google.com */
  const GOOGLE_FONT = 'Roboto Mono';

  /* Step 5: enter any custom scripts you'd like */
  const CUSTOM_SCRIPT = ``;

  /* CONFIGURATION ENDS HERE */

  const PAGE_TO_SLUG = {};
  const slugs = [];
  const pages = [];
  Object.keys(SLUG_TO_PAGE).forEach(slug => {
    const page = SLUG_TO_PAGE[slug];
    slugs.push(slug);
    pages.push(page);
    PAGE_TO_SLUG[page] = slug;
  });

  addEventListener('fetch', event => {
    event.respondWith(fetchAndApply(event.request));
  });

  function generateSitemap() {
    let sitemap = '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
    slugs.forEach(
      (slug) =>
        (sitemap +=
          '<url><loc>https://' + MY_DOMAIN + '/' + slug + '</loc></url>')
    );
    sitemap += '</urlset>';
    return sitemap;
  }

  const corsHeaders = {
    'Access-Control-Allow-Origin': '*',
    'Access-Control-Allow-Methods': 'GET, HEAD, POST, PUT, OPTIONS',
    'Access-Control-Allow-Headers': 'Content-Type',
  };

  function handleOptions(request) {
    if (request.headers.get('Origin') !== null &&
      request.headers.get('Access-Control-Request-Method') !== null &&
      request.headers.get('Access-Control-Request-Headers') !== null) {
      // Handle CORS pre-flight request.
      return new Response(null, {
        headers: corsHeaders
      });
    } else {
      // Handle standard OPTIONS request.
      return new Response(null, {
        headers: {
          'Allow': 'GET, HEAD, POST, PUT, OPTIONS',
        }
      });
    }
  }

  async function fetchAndApply(request) {
    if (request.method === 'OPTIONS') {
      return handleOptions(request);
    }
    let url = new URL(request.url);
    url.hostname = 'dudethatserin.notion.site';
    if (url.pathname === '/robots.txt') {
      return new Response('Sitemap: https://' + MY_DOMAIN + '/sitemap.xml');
    }
    if (url.pathname === '/sitemap.xml') {
      let response = new Response(generateSitemap());
      response.headers.set('content-type', 'application/xml');
      return response;
    }
    let response;
    if (url.pathname.startsWith('/app') && url.pathname.endsWith('js')) {
      response = await fetch(url.toString());
      let body = await response.text();
      response = new Response(body.replace(/dudethatserin.notion.site/g, MY_DOMAIN).replace(/notion.so/g, MY_DOMAIN), response);
      response.headers.set('Content-Type', 'application/x-javascript');
      return response;
    } else if ((url.pathname.startsWith('/api'))) {
      // Forward API
      response = await fetch(url.toString(), {
        body: url.pathname.startsWith('/api/v3/getPublicPageData') ? null : request.body,
        headers: {
          'content-type': 'application/json;charset=UTF-8',
          'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36'
        },
        method: 'POST',
      });
      response = new Response(response.body, response);
      response.headers.set('Access-Control-Allow-Origin', '*');
      return response;
    } else {
      const currentSlug = url.pathname.slice(1);
      const pageId = SLUG_TO_PAGE[currentSlug];

      if (pageId) {
        const notionUrl = `https://dudethatserin.notion.site/${pageId.replace(/-/g, '')}`;
        return Response.redirect(notionUrl, 301);
      }

      response = await fetch(url.toString(), {
        body: request.body,
        headers: request.headers,
        method: request.method,
      });
      response = new Response(response.body, response);
      response.headers.delete('Content-Security-Policy');
      response.headers.delete('X-Content-Security-Policy');

      // Soft navigation handling
      if (slugs.indexOf(currentSlug) > -1) {
        const destinationPageId = SLUG_TO_PAGE[currentSlug];
        if (destinationPageId) {
          const notionUrl = `https://dudethatserin.notion.site/${destinationPageId.replace(/-/g, '')}`;
          const { pathname, search, hash } = new URL(notionUrl);
          const redirectUrl = `${MY_DOMAIN}/${currentSlug}${search}${hash}`;
          response.headers.set('Content-Type', 'text/html');
          response.headers.set('Cache-Control', 'no-store');
          response.headers.set('Location', redirectUrl);
          response.status = 302;
          return response;
        }
      }

      return appendJavascript(response, SLUG_TO_PAGE);
    }
  }

My website is imamhanafi.com , I have used the script above but it is not working. can anyone help why?

I seem to have resolved the issue of requesting login after clicking the back button.
You can go to my website (blankbro.site) to try it out.
My solution is to annotate the following code ↓↓↓
// const open = window.XMLHttpRequest.prototype.open;
// window.XMLHttpRequest.prototype.open = function() {
//   arguments[1] = arguments[1].replace('${MY_DOMAIN}', 'www.notion.so');
//   return open.apply(this, [].slice.call(arguments));
// };

good luck 🎉

Has anyone had any luck with this? I haven't figured out how to prevent the Notion login on using the back button.
I'm using https://github.com/velsa/notehost, so the login just flashes for a moment and then correctly redirects, but this behavior isn't ideal.

I tried @eeshabarua 's fix and @blankbro 's fix and the dark/light fix. None of them worked for me. I found a new fix:
replace this line
history.replaceState(history.state, 'bypass', '/' + page);
to
window.location.href = '/' + page; return;
(also mentioned at https://github.com/stephenou/fruitionsite/issues/264#issuecomment-2282834690)
also cc @DudeThatsErin I saw that your appseeker site is still has the issue, do you want to give it a try?

@knownissuewontfix - that worked for me.
@DudeThatsErin: I'm using notehost and I edited index.cjs to match this suggestion. I'm not very good with Github but I can submit a PR for notehost if you can provide some guidance.

@knownissuewontfix - that worked for me.
@DudeThatsErin: I'm using notehost and I edited index.cjs to match this suggestion. I'm not very good with Github but I can submit a PR for notehost if you can provide some guidance.

I'm not a maintainer so I can't approve it but this is how: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

authors: DudeThatsErin JackyGohSG JustSleightly adhinugrahasaputra angadsri bflack blankbro bryange3 colinroper eeshabarua gojomo jevanjovandy jruers knownissuewontfix mbochynski melihcelenk smugfox

repo: stephenou/fruitionsite


text:
Release 0.5

With all these changes, it's probably a good idea to get a release going.

0.5.0 is out!

authors: JustinBeckwith stephenplusplus

repo: stephenplusplus/gcp-metadata


text:
EmbeddedAssistant missing

The recently released EmbeddedAssistant proto file is missing.

Added in 0.11.1 👍

authors: FayneAldan stephenplusplus

repo: stephenplusplus/google-proto-files


text:
Online User tracker

My online user tracker

pull in this functionality manually

authors: jdaigneau stephenrjones

repo: stephenrjones/geoq


text:
code style: naming convention

@steve0511 - current code uses cameCasing for most of the variables and function names. Most of the openresty/lua projects are using snake_case.
If you are ok, I can submit PR to refactor code to use snake_case consistently.

Sure, please submit anytime you are free

thanks - will submit soon!


text:
Use ? instead of unwrap in examples

Relevant API guidelines
Replace uses of .unwrap in examples with ? so they're a bit more idiomatic. Have a look at the API guideline examples for some ideas on how to do this.

I'm interested in working on this

...or not, it seems.

Oh sorry about that @jansol! Are there any other issues here you'd be interested in taking on?

No problem. Nothing has caught my eye yet, but I haven't looked very thoroughly yet.

oh woops, just noticed that it's in progress at https://github.com/steveklabnik/semver/pull/144 Will look for something else :)

@anna-liao No problem! There are plenty of other issues here and in semver-parser too. If you can't find anything you like the look of also feel free to reach out on gitter.

#160 resolves this, correct?

authors: KodrAus anna-liao apopiak jansol

repo: steveklabnik/semver


text:
Laravel 10.x support

This PR adds Laravel 10.x support

@stijnvanouplines please could you merge this release for Laravel 10 support.

Checks are failing and I did not had time yet time to investigate.

@stijnvanouplines I believe tests are failing because of PHP version incompabilities. Those combinations should be excluded from tests.
Example: https://github.com/spatie/laravel-backup/blob/main/.github/workflows/run-tests.yml#L20-L22

authors: andrefilsantos howdu saulens22 stijnvanouplines

repo: stijnvanouplines/blade-country-flags


text:
dom_id is not consistent with Rails

First, TY for SR and CR! I'm new here, so pardon if this has been discussed at length already.
In short, I have noticed that CR's dom_id implementation deviates significantly from Rails. It adds the "#" prefix and downcases the identifier. The reason why this is important (IMO), is that I am using dom_id for a channel identifier and thus makes usage of dom_id in a reflex that sends a message to a channel via CR incompatible.
Here is an example:
class MyRoomChannel < ApplicationCable::Chanell
  def subscribed
    stream_from (dom_id(my_model) << "_messages")
  end
end

class MyMessageReflex < ApplicationReflex
  def update
    model_instance = element.signed[:secure]
    channel = dom_id(model_instance) << "_messages"
    cable_ready[channel].console_log(message: "reflex update message").broadcast
  end
end

This seems like it should work, but doesn't. It actually doesn't work in my case for 2 reasons:

A hash prefix is added to the dom_id
Also the dom_id is downcased which breaks for me because I'm using hashids which are mixed casing.

Hey @synth, thanks for opening this issue!
The CableReady dom_id is adding a # by design. The reason for this is because you are usually using the dom_id from ActionView in actual view files, whereas the CableReady one is primarily meant to be used in reflexes to generate a valid CSS selector for reflex morphs or for constructing the selector for a CableReady operation.
Because you don't need a # when using it in views for the id attribute on elements but need one for targeting such an elment in a Reflex we automatically add the # for you, so you don't have to interpolate it yourself all the time.
Now, while the # is added by default, I'm wondering if we should provide a keyword argument option to disable the addition of the #.
As for the downcasing, I'm not sure if that actually really makes sense as we have it right now and wondering if we should just remove the .downcase call in the method. I agree that this one is kinda unexpected.

Thanks for the explanation.  I'm realizing that if we want ActiveRecord's implementation, we can just call it :) So, we can go ahead and close this. Cheers!

Oh yeah right, that also works! But it might still be good to have the CableReady as close as possible to the Rails one.

Maybe an argument like selector: true? This way you don't break existing usages and also allows people to turn it off to get more AR like behavior? Just a thought.

authors: marcoroth synth


text:
codebase構築(バックエンド)

Overview
Completion Condition
Reviewer
Sub Task

[ ] Sub Task1
[ ] Sub Task2

細かいところは別issueに分けて作業することになったのでこちらはcloseします

repo: stlatica/stlatica


text:
Release soon?

There are a lot of unreleased changes and it has been over two years since the last release. Is there a plan to release new crate versions soon?
If there's anything blocking this I am happy to help out.

Only @adamgreig can answer the question.
Some time ago I've made another crate as temporary solution: https://crates.io/crates/stm32f4-staging

If there's anything blocking this I am happy to help out.

Usually Adam beautify CHANGELOG.md before release adding PR links and grouping by family.
What status of #951 ? Do you plan to revive it?

@burrbull I've given up on that PR because there were too many differences between the old and new svd files to reconcile easily and there isn't much to gain from it since the new svd still has a lot of errors in it.

The STM32G0 crate has not been updated in 3 years, but the SVD was updated to 1.5V in this repo 3 months ago (and since then ST released V1.6 of the stm32g0 svd file with even more bugfixes)
The 3 year old version of the STM32G0 crate is missing registers from my target MCU (that were added in the 1.5V SVD).

authors: burrbull kairoswater-jason liamkinne


text:
fixed version of Policy Progator Operator

After the policy operator has been added the propagator-webhook-validating-configuration validating webhook. The following issues arise with the governance-policy-propagator component setup:
  Warning  FailedMount  61s (x4 over 14m)    kubelet            Unable to attach or mount volumes: unmounted volumes=[cert], unattached volumes=[kube-api-access-bs2rm cert]: timed out waiting for the condition
  Warning  FailedMount  48s (x18 over 21m)   kubelet            MountVolume.SetUp failed for volume "cert" : secret "propagator-webhook-server-cert" not found

/retest

/lgtm

repo: stolostron/multicluster-global-hub


text:
🚀 Feature: GUI Adjustment Options

🔖 Feature description
I would like the ability to adjust the layout of the page the end-user sees when landing on the share page. A big one being... a BIG download button.
🎤 Pitch
I'm migrating off other third party download services and clients are use to BIG download buttons to get the file fast. I know this sounds strange, but some clients don't know what the little download icon is.

For user specific changes like changing the size of the button, you have to fork the project and edit the code by your own. You can learn more about setting up the project in the CONTRIBUTING.md and in the issue #366.


text:
Translating site

Needs #5 first. Get the json samples and translate.

This is now possible!

#16 is still open. Wait for PRs for more languages.

repo: storingbitcoin-info/website


text:
Failed to setup on a react native project

Describe the bug
Following the instructions ( https://github.com/storybooks/storybook/tree/next/app/react-native ) i could not setup storybook on a react native project.
To Reproduce
Steps to reproduce the behavior:

Create a new react native project
cd to the project
run npx -p @storybook/cli sb init
Replace the content of App.js with  export default from './storybook';
Execute npm run storybook ( i could not pass this step without installing core-js ).
Run the application on an android device: Execute react-native run-android

Expected behavior
The application should run without problems.
Screenshots

System:

OS: macOS Mojave 10.14.2
Device: MacBook Pro (13-inch, 2017)
Framework: React Native 0.57.8

cc @Gongreg

@shilman, IIRC this is because of core-js version mismatch. React Native uses v1 while storybook expects v2. Do you have any suggestions for it?

Then hopefully this will be fixed by #4942 -- adding it to the list

Thank you @gcaven, the workaround is working perfectly.

Ermahgerd!! I just released https://github.com/storybooks/storybook/releases/tag/v5.1.0-alpha.7 containing PR #4942 that references this issue. Upgrade today to try it out!
Because it's a pre-release you can find it on the @next NPM tag.
Closing this issue. Please re-open if you think there's still more to do.

authors: Chakroun-Anas Gongreg shilman

repo: storybooks/storybook


text:
Adding Meteor import statement support

Issue: When importing a component that has a Meteor import (e.g. 'import Random from 'meteor/meteor') inside itself or a child component, Storybook will give the error, 'Module not found: Error: Can't resolve 'meteor/meteor''.
It does this because Meteor does it's own packing independently of webpack and isn't a node module that can be easily imported. I've seen multiple possible suggestions for workarounds that might be worth trying.

Stubbing Meteor out
Exporting Meteor to global namespace
Exporting Meteor as node packages
Modifying Meteor to use webpack
(Desperate option) rewrite all components to no longer use Meteor imports.

I'm unsure if any of these methods would work or even make sense but perhaps someone with more experience than I will have more success with it.

you need to rebase your changes. your changes were made off some old code from a while back.

I don't have any changes though, I'm just trying to get help.

authors: DylanLyon danielduan


text:
Codestyle cleanup 2

Vars for stratis features, reordering usings in alphabetic order

Labelling with medium because of the large number of files.

repo: stratisproject/StratisBitcoinFullNode


text:
Bugfix/blockstore stuck issue 317

Introduction of 20 second flush time for DownloadStack together with increasing the size limit from 5 to 20 MB, together with reducing max stall count from 10k to 1.8k
Fix #317

tests are in progress as we speak


text:
[FS] Handle collateral checker not initialized

The collateral checker throws an error due to not being initialized. This happens when the mining loop causes the collateral checker to be called. The solution is to handle the error in the mining loop to prevent the loop from exiting.
See https://stratisplatformuk.visualstudio.com/StratisBitcoinFullNode/_workitems/edit/3782,

PSA: If you're looking at this it seems #3663 is an updated version

authors: codingupastorm quantumagi


text:
moved past supporters tab to be inline with others #212

Moved the Past Supporters tab to be inline with other tabs

This will create an issue for the layout on mobile as the row will exceed the viewWidth -- this can be resolved by adding a media query for display widths under 440px, then changing the font-size to the text-links to 0.85rem -- will create a separate issue and PR for this.

Hi @pavlenex - I've reduced the font-size in mobile layout to allow tabs to fit inside of the screen width.
I also noticed a discrepancy in capitalization formatting between the tabs, and standardized them to capitalize multi-worded tabs.

I included a small adjustment for increased padding in the config tabs on mobile view - to maximize the available real estate on the page without breaking the layout.

Let me know your thoughts on these.


text:
Add workflow to send tweet when release is published

I need to restore the release check fail, I've removed it from the
action to make it easier to reuse. I'll add a step to make the check
fail.
I also need to update our comment API to show the tweet text :)
Also: remove TWEET.md and RELEASE.md before merging :)
TODO: will add more text soon

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This is a test

Here's the preview release card for twitter:

repo: strawberry-graphql/strawberry


text:
allow passing a string to the ready configuration block in prometheus exporter

We have different "firehose block versions" of an app running at the same time. I would be great if the ready status in the prometheus exporter could say which version was running.
Eg
# HELP ready readiness of an app. 1 if ready, 0 otherwise
# TYPE ready gauge
ready{app="firehose", block-version="v3"} 0

Where this might be configured as common-reporting-block-version: v3.
This is just for reporting, firehose doesn't do anything with it otherwise.

Closing in favour of: https://github.com/streamingfast/firehose-core/issues/5

repo: streamingfast/firehose-ethereum


text:
🛑 Workspace Streamlined is down

In 57b16bf, Workspace Streamlined (https://workspace.streamlined-scs.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Workspace Streamlined is back up in 07b2129.

repo: streamlined-scs/upptime


text:
[BUG] poor performance with KOP

Describe the bug
When test KOP with kafka-producer-perf tool, performance is very poor:
$ bin/kafka-producer-perf-test.sh  --topic kop-test --producer.conf config/producer.properties  --throughput -1 --num-records 100000000 --record-size 1024
4036 records sent, 804.8 records/sec (0.79 MB/sec), 2349.0 ms avg latency, 4712.0 max latency.
3735 records sent, 745.2 records/sec (0.73 MB/sec), 7095.8 ms avg latency, 9678.0 max latency.
3600 records sent, 718.0 records/sec (0.70 MB/sec), 12010.2 ms avg latency, 14667.0 max latency.
3645 records sent, 726.7 records/sec (0.71 MB/sec), 17134.9 ms avg latency, 19659.0 max latency.

while test with pulsar-perf, performance much more higher
$ bin/pulsar-perf produce -threads 1 -u pulsar://100.76.43.216:6650 -o 10000 -n 4 -b 0 -bm 0 -s 4096 -r 3000000 public/default/kop-test
09:55:10.009 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - Throughput produced:  15882.3  msg/s ---    496.3 Mbit/s --- failure      0.0 msg/s --- Latency: mean: 337.086 ms - med: 236.380 - 95pct: 784.219 - 99pct: 861.987 - 99.9pct: 870.187 - 99.99pct: 870.439 - Max: 870.539
09:55:20.100 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - Throughput produced:  15703.9  msg/s ---    490.7 Mbit/s --- failure      0.0 msg/s --- Latency: mean: 1645.813 ms - med: 521.495 - 95pct: 10822.271 - 99pct: 10832.767 - 99.9pct: 10838.975 - 99.99pct: 10839.359 - Max: 10839.359
09:55:30.162 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - Throughput produced:  15777.3  msg/s ---    493.0 Mbit/s --- failure      0.0 msg/s --- Latency: mean: 1764.075 ms - med: 676.243 - 95pct: 10684.863 - 99pct: 10744.063 - 99.9pct: 10747.455 - 99.99pct: 10749.183 - Max: 10749.247

To Reproduce
just run kafka-producer-perf  on a KOP supported pulsar cluster
Expected behavior
For kafka client, KOP should provide performance same as or close to native pulsar-client

@PierreZ Seems you have a discussion. And in your env, it could get "1.8 millions of messages per second per partition". Is there a comparing in your env for pulsar and kop?

@jiazhai I was talking about the bench we did for our prod environment using Pulsar only. I did not deployed KoP yet, so I cannot make a comparaison.
I must say, I am surprised, but as they say: "If You Don’t Measure It, You Can’t Manage It".
We should dig into these, let me try to run a bench on my side.

@PierreZ Thanks for the feed back. Thanks @aloyszhang for rise up this issue.
Yes. there should be some place need to parallel.
May be we can first improve the single thread / single partition performance.  Then do multi-partition performance.
Just sync with @ltamber, For the multi-partition case, there is 1 place could get parallel:
in method "handleProducerRequestInternal",  each request is handled in sequence. If a request contains more than 1 partition, it will wait until all partitions write completed.

Seems we need to add some metrics to get more internal details, so we can do the analysis.

I also found the performance problems when using kafka-perf vs. pulsar-perf under one partition topic.

authors: PierreZ aloyszhang hangc0276 jiazhai

repo: streamnative/kop


text:
Script to automate the deployment and execution of the existing demo

The demo.sh script can deploy Apache Flink and dependant infrastructure using either Red Hat operators via subscription or upstream operators.
Its a bit rough round the edges yet, the waiting definitely needs work but its idempotent and reapplying works well.
I'm happy to clean up the git history if required.

Thanks, for working on this, it will definitely be great to have a script to easily deploy everything. I tried out your branch on both minikube and against an instance of OpenShift and in both cases the script failed with
failed calling webhook "validationwebhook.flink.apache.org": failed to call webhook: Post "https://flink-operator-webhook-service.flink.svc:443/validate?timeout=10s": no endpoints available for service "flink-operator-webhook-service"

I also noticed that the Strimzi operator is installed into the default namespace, rather than a named namespace and it fails to bring up a Kafka cluster. It looks like it failing due to permission errors:
User "system:serviceaccount:default:strimzi-cluster-operator" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "default".

More generally in terms of the content of the PR I have a few thoughts:

The README.md is empty apart from a TODO
The Kubernetes files for the recommendation app seem to be copied into kubernetes-samples/recommendations-demo/base. I think if possible it would be better if we only had a single instance of these files, to me the changes seem to be just around the names of the resources so I wonder if we could align the naming and reuse the existing files.
Similar to the previous point there is another instance of the productInventory.csv which if possible I think we shouldn't add.
A lot of the files added are either Kubernetes yaml files for a deployment, or in some cases the complete set of installation files. Is it possible to have the script without needing to check those in? In the demo today we are tied to a specific version for Flink and cert-manager, but not for Strimzi or Apicurio Registry. I'm worried that we are setting ourselves up to either have a demo that gets out of date very fast, or have lots of extra work to keep updating these dependencies.
If possible I think it would be useful to have a script for deleting everything

There has to be wait for cert manager ready, orherwise flink deployment operator fails on validation webhook.

Ans as Kate mentioned if strimzi CO  is running in different ns and has to operate in all namespaces there are missing cluster roles and cluster role bindings.

A lot of the files added are either Kubernetes yaml files for a deployment, or in some cases the complete set of installation files. Is it possible to have the script without needing to check those in? In the demo today we are tied to a specific version for Flink and cert-manager, but not for Strimzi or Apicurio Registry. I'm worried that we are setting ourselves up to either have a demo that gets out of date very fast, or have lots of extra work to keep updating these dependencies

I like the way to have specified just a versions of another projects used within the demo and then run script in CI. It should be then fairly easy to update to new versions and find issue in such cases? At least in Strimzi case. Guess it might be also better to use helm or olm to install all of the operators

Thanks all!
I agree its a bit all over the place :D

I tried out your branch on both minikube and against an instance of OpenShift and in both cases the script failed with

Yeah I think as @kornys says thats just a missing wait, but wasn't an issue I encountered (probably because I was using the Red Hat build which installed it via OLM).

The Kubernetes files for the recommendation app seem to be copied into kubernetes-samples/recommendations-demo/base. I think if possible it would be better if we only had a single instance of these files, to me the changes seem to be just around the names of the resources so I wonder if we could align the naming and reuse the existing files.
&
Similar to the previous point there is another instance of the productInventory.csv which if possible I think we shouldn't add.

I forked things so I can hack my demo together without affecting the existing script we should really pick a single source of truth. We should definitely avoid having two copies. The other thing I found was, the kustomize configMap generator was running but the pod wasn't finding the config map. I need to revisit that.

also noticed that the Strimzi operator is installed into the default namespace, rather than a named namespace and it fails to bring up a Kafka cluster. It looks like it failing due to permission errors:

I was only really testing the Red Hat builds branch. Maybe better to drop the upstream operators from this PR and pick them up again separately.

A lot of the files added are either Kubernetes yaml files for a deployment, or in some cases the complete set of installation files. Is it possible to have the script without needing to check those in? In the demo today we are tied to a specific version for Flink and cert-manager, but not for Strimzi or Apicurio Registry. I'm worried that we are setting ourselves up to either have a demo that gets out of date very fast, or have lots of extra work to keep updating these dependencies.

I think the versioning your concerned about is the upstream side of things and given that was me trying to be overly complete without testing it I'm tempted to split that into a separate PR and come back to it. In general I don't use floating tags/version ranges for any dependency I default to explicit versions so that I know what has been tested together. That said the maintenance of the demo definitely needs to be considered. We might be able to get dependabot to do the heavy lifting.

If possible I think it would be useful to have a script for deleting everything

It would be a short script: oc delete -k <dir> for each of the kustomize sets, but yes we should have one.

Ans as Kate mentioned if strimzi CO is running in different ns and has to operate in all namespaces there are missing cluster roles and cluster role bindings.

Oops! I should have tested the "upstream" option better.

I like the way to have specified just a versions of another projects used within the demo and then run script in CI. It should be then fairly easy to update to new versions and find issue in such cases? At least in Strimzi case. Guess it might be also better to use helm or olm to install all of the operators

Using olm for both Red Hat and upstream is probably a better option as it gives more consistency.

@SamBarker it would be nice if you create a kafkatopic for apicurio ksql as it is described in documentation, maybe also other topics for applications.

This will likely need an update since I've just updated main to point at a v0.0.1 tag of the SQL runner instead of latest.

authors: Frawless SamBarker katheris kornys robobario

repo: streamshub/flink-sql-examples


text:
[WIP]Remove unnecessary code

PR Details
Aim for removing unused or obsolete code
Description
Removing Blobstream.
The Methods were never used and EVEN IF they would be used it would not help as you cant Write to the BlobStream as the methods never got implemented
Blob is immutable so writing shouldnt work at all i assume.
But the blobstream didnt get used at all in the engine.
Im not sure if the Blob is used either at all. Blob is only used in the ObjectDatabase and nowwhere else, but these methods are also unused.So Blob could be also completely deleted.
it may be that users need it? then i would add it back in
Removing LoadStream
it was deprecated as it allocated memory, replaced in the 2 spots were it was used with normal stream methods
Removing MDM_MAIN
it was not used and obsolete
Related Issue
Motivation and Context
Small Code improvement
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

the blob is used if the define of STRIDE_PLATFORM_DESKTOP is set.. so its probably not "not used"

I'm not sure removing members from Blob and ObjectDatabase because they're unused is a good move - if a certain part of the system is not needed it may be removed, but here there may be use case for those. Let's make sure we understand the functionality those are supposed to provide and only remove them if that functionality is preserved through different means.

ehh i will let it be as is , as i dont know how to rewrite load image.. maybe someone else can make ;)


text:
Update sbt to 1.3.6

Updates org.scala-sbt:sbt from 1.3.4 to 1.3.6.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master      #57   +/-   ##
=======================================
  Coverage   82.58%   82.58%
=======================================
  Files          13       13
  Lines         379      379
  Branches       12       11    -1
=======================================
  Hits          313      313
  Misses         66       66

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 3db71c7...9ae2207. Read the comment docs.

authors: codecov-io scala-steward

repo: stripe/dagon


text:
Issue with cookie domain name using SAML login and custom domain.

Hi - I'm having a bit of trouble setting up Structurizr On-Prem behind a custom domain using an Azure Front Door reverse proxy. Structurizr itself is hosted on an appservice like
https://mystructurizrinstance.azurewebsites.net/
But the site is accessed via the Front Door at
https://structurizr.mydomain.com/
I've set the properties as so:
structurizr.authentication=saml
structurizr.url=https://structurizr.mydomain.com
structurizr.replyurl=https://structurizr.mydomain.com/saml/SSO
structurizr.saml.entityId=structurizr

And the site works, images load etc. But when I try to log in, the cookie is blocked because the domain name is still set to the azurewebsites.net rather than mydomain.com.
Therefore I just get

With dev tools showing:

I'm not sure how I can configure the domain of the SAML cookie, should it not come from the domain of the structurizr.url? Any help would be much appreciated!

I don't know much about Azure I'm afraid, so you might want to join the Slack group and ask on there. There may be some tips in #8 too.

Ok, thanks for the quick answer. I wasn't sure what was setting this Domain, whether it's Azure or Spring.

ARRAffinitySameSite looks like an Azure specific cookie related to session management, so I don't think it's a Spring cookie.

Hmm maybe that's not the reason for the 403 - thanks for confirming. I'll keep looking!

authors: simonbrowndotje thecodetinker

repo: structurizr/onpremises


text:
CI testing seems broken (yet again)

I seem to get an email every day that my fork has failing CI. I tried pushing updates from master to my fork then discovered that this seems to be persisting in Stryker. Here is what I have noticed so far:

a build error that should be fixed by PR #2066
Travis CI seems to have been broken for a while
Karma runner not stable, sometimes but not always succeeds in my workarea, broken in CI, not sure if it is #2049 or not

Is there anything we can do to help get CI testing working again?

Thanks for wanting to help, I appreciate it ❤
I merged this PR tonight: https://github.com/stryker-mutator/stryker/pull/2072
That should fix most issues. I missed your PR, sorry! I also changed the package.json so we no longer add versions of the dependencies that add new features because they may break our build (as we've now seen).
We're planning on moving away from Travis, but in the mean time it should be functional. Unfortunately Travis is pretty bad at sending emails. It usually only sends them to the last person that contributed :( I'll take a look at what's causing Travis to fail, unless if you want to take a look.
I believe @nicojs was working on the race condition, but I could be wrong.

All tests should be working again. I'm closing this issue for now.

authors: brodybits simondel

repo: stryker-mutator/stryker


text:
Amended IP address CLI arg

Amended IP address command line argument to also require the relevant protocol (HTTP/S).
Added GitHub Action to run unit tests when a pull request is raised.

Closes #23.

repo: stuartmccoll/gitlab-changelog-generator


text:
🛑 Beefs and Beers is down

In cad670a, Beefs and Beers (https://beefsandbeers.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beefs and Beers is back up in 1d2cfdb after 9 minutes.

repo: studiovlijmscherp/uptime


text:
🛑 Main Website is down

In f801ffe, Main Website (https://xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Status is back up in 47fa41a after .

repo: stxrlite/xoro-updates


text:
Element type is invalid after switching to beta version

I'm trying out the "material-ui": "^1.0.0-beta.35" right now but I'm encountering an error. I don't have these issues on v0.2.
Here's the screenshot of the error- https://imgur.com/a/VqoR5
import React from 'react';
import { MuiThemeProvider } from 'material-ui'
import {List, ListItem} from 'material-ui/List';
import PowerOnOff from 'material-ui-icons/PowerSettingsNew';
import Settings from 'material-ui-icons/Settings';
import DeviceHealth from 'material-ui-icons/BatteryAlert';
import DeviceOther from 'material-ui-icons/DevicesOther';
import Dashboard from 'material-ui-icons/LaptopWindows';
import MultilineChart from 'material-ui-icons/MultilineChart';
import DevBoard from 'material-ui-icons/DeveloperBoard';
// import Subheader from 'material-ui-icons/Subheader';
import styled from 'styled-components';
import theme from 'styled-theming';
import colors from 'helpers/themecolors';

/cc @oliviertassinari
This should really be over at the mui repo though.

Oops, I really thought I was in mui repo. It's not a styled-components issue. My bad Max.

@c0debreaker Please don't open an issue on Material-UI.
v1 is a complete rewrite of the libraries and comes with many breaking changes. Checkout the migration page and feel free to contribute the missing part.

Apology for posting it here since I wasn't wearing my reading glasses.

authors: c0debreaker mxstbr oliviertassinari

repo: styled-components/styled-components


text:
Is there a way to put the class in a CSS file instead of inserting the head

Is there a way to put the class in a CSS file instead of inserting the head
<!DOCTYPE html>
--
  | <html>
  | <head>
  | <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/merged-stylesheets.css?hash=36f4636f20b92f4f325f47bf4a3983ed41c611d3">
  | <meta charset="utf-8"/>
  | <meta content="yes" name="apple-mobile-web-app-capable"/>
  | <meta name="viewport"
  | content="width=device-width,height=device-height, initial-scale=1, shrink-to-fit=no, maximum-scale=1.0,user-scalable=no"/>
  | <meta name="theme-color" content="#000000"/>
  | <style data-styled="true" data-styled-version="5.2.1">.cvsgSR{min-width:320px;box-sizing:border-box;}/*!sc*/
  | .eZzSpU{border:1px solid #ebeff2;padding-left:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:#fff;box-sizing:border-box;}/*!sc*/
  | @media only screen and (max-width:991px){.eZzSpU{display:none;}}/*!sc*/
  | .eoGUOu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex:1;-ms-flex:1;flex:1;height:70px;box-sizing:border-box;}/*!sc*/
  | .kkPsHM{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;}/*!sc*/
  | .krHFhn{position:relative;width:38.3px;height:30px;background:#ebeff2;overflow:hidden;box-sizing:border-box;}/*!sc*/
  | .kOETsy{position:absolute;width:100%;left:0px;width:38.3px;height:30px;box-sizing:border-box;}/*!sc*/
  | .hMLhBi{padding-top:0px;padding-right:8px;padding-bottom:0px;padding-left:8px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:80px;height:30px;overflow:hidden;box-sizing:border-box;}/*!sc*/
  | .ePXLue{position:absolute;width:100%;color:#2c323f;font-size:14px;text-align:center;box-sizing:border-box;}/*!sc*/
  | .dfrjjm{padding-left:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex:1;-ms-flex:1;flex:1;box-sizing:border-box;}/*!sc*/
  | .gHWIlY{position:relative;box-sizing:border-box;}/*!sc*/
  | .iQjnQZ{padding-right:30px;padding-left:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#2c323f;font-size:16px;line-height:70px;min-width:70px;box-sizing:border-box;}/*!sc*/
  | .jrHmuC{position:absolute;width:100%;z-index:1;top:70px;left:0px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:#fff;box-shadow:2px 2px 5px rgba(0,0,0,0.1);box-sizing:border-box;}/*!sc*/
  | .jeGvUy{margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;}/*!sc*/
  | .eqHiUS{padding:5px;margin-top:2px;color:#666;font-size:14px;box-sizing:border-box;}/*!sc*/
  | .eqHiUS:hover{color:#180094;-webkit-transition:all 0.5s;transition:all 0.5s;}/*!sc*/
  | .fIoOHc{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;box-sizing:border-box;}/*!sc*/
  | .NnvuD{padding-left:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;color:#666;font-size:14px;box-sizing:border-box;}/*!sc*/
  | .bAUrnu{padding-right:15px;padding-left:22px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-align-items:center;-ms-align-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;color:#666;font-size:14px;box-sizing:border-box;}/*!sc*/

I use SSR, does that have anything to do with it

No, this is how server-side rendering basically works. So your question may relate to how SSG, generated static sites, generally work and how they handle CSS. In styled-components, SSR CSS is basically an output of critical CSS meaning that it relates to styles on the current page and no other page per se, unless some things are shared (which wouldn't be subject to SSR'd styles).
In other words, there are different CSS-in-JS approaches that generate static CSS, like vanilla-extract or linaria, but styled-components is a dynamic styling approach to CSS-in-JS instead.

authors: eugle kitten


text:
styled components & className

I would like to know how to apply styles when, for example, we use a component on a page and we need to set its indentation or positioning.
сode example:

How do I drop styles into a component like this? styled(componentName) doesn't work, thanks in advance
I use latest version of styled-components

You mean something like
const NewButton = styled(OldButton)`
`
?


text:
Duplicate label with Checkbox

http://codepen.io/exodusanto/pen/wJrvxE

Can you please add details what is wrong? If you mean default selected options then you should use prePopulate instead of selected;

Yes, sorry, i updated

Thanks for reporting.
I need to handle nested options like

<input value="Mo" name="Mo" type="checkbox">

  ...

But anyway it doesn't make sense to use nested tags, you can simply write:

    <input value="Mo" name="Mo" type="checkbox">
    ...

OR

    Monday
    <input id="Mo" type="checkbox" name="Mo" value="Mo">

authors: exodusanto styopdev

repo: styopdev/multiPicker


text:
Rename repository

Remove word bounty

Done.
Previously fulldecent/su-squares-bounty // now su-squares/ethereum-contract

repo: su-squares/ethereum-contract


text:
Not Work generateInstagramSession

I am launching the robot in Telegram https://telegram.dog/subinps_bot
But it gives an error and does not send INSTASESSION

Your robot is delayed, you have to wait after starting, I waited one day and tested today, it worked

repo: subinps/Instagram-Bot


text:
Add a discord chat

there are so-so many things possible from this,

one can build a truly decentralized social network !, that's actually peer to peer hosted
If one build a wasm/javascript blockchain, one could probably build entire e-commerce/video-sharing/practically possibly anything with this

I didn't know this was possible, I was initially quite frustrated by the nature of webtorrent to only provide static sites, but this is truly amazing !
I'd love to talk more about this, tbh this is like really freaking awesome

Yes, the possibilities are endless. We can use the WebTorrent tracker standard, and build more apps with it, making WebTorrent a good ecosystem for both torrent and apps !
The initial idea was to build a decentralized proxy for Wikipedia, it works, but the docs are not complete and we have a plan to build it better with wikivue.
I've started a discord server

Hello,
do you have a new Discord Link? The one above expired...
I got some familiar question to this topic: https://github.com/subins2000/p2pt/issues/49
Thanks a lot!


text:
🛑 Cubari (Imgur) is down

In c0c6480, Cubari (Imgur) (https://cubari.moe/read/imgur/ScqMQxz/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 1206 ms

Resolved: Cubari (Imgur) is back up in 0dd70a1 after 5 minutes.

repo: subject-f/cubari-status-page


text:
🛑 Cubari (Dynasty Scans) is down

In bee5257, Cubari (Dynasty Scans) (https://cubari.moe/read/dynasty/the_engagement_of_the_disgraced_witch_and_the_cross_dressing_princess/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 426 ms

Resolved: Cubari (Dynasty Scans) is back up in e174165 after 5 minutes.


text:
🛑 Cubari (Dynasty Scans) is down

In 76dc76b, Cubari (Dynasty Scans) (https://cubari.moe/read/dynasty/the_engagement_of_the_disgraced_witch_and_the_cross_dressing_princess/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 5217 ms

Resolved: Cubari (Dynasty Scans) is back up in da5423f after 15 minutes.


text:
Updating Rule: attachment_docusign_image_suspicious_links.yml

FTS fails when internal senders are spoofed, this should fix that.

/update-test-rules

authors: aidenmitchell morriscode

repo: sublime-security/sublime-rules


text:
Fresh install crash loop

Running into the following initialization error on fresh install (prompt says crash loop):
LSP-bash: internal/modules/cjs/loader.js:883
LSP-bash:   throw err;
LSP-bash:   ^
LSP-bash:
LSP-bash: Error: Cannot find module 'node:child_process'
LSP-bash: Require stack:
LSP-bash: - /Users/<my_username>/Library/Caches/Sublime Text/Package Storage/LSP-bash/14.16.0/language-server/node_modules/bash-language-server/out/server.js
LSP-bash: - /Users/<my_username>/Library/Caches/Sublime Text/Package Storage/LSP-bash/14.16.0/language-server/node_modules/bash-language-server/out/cli.js
LSP-bash:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
LSP-bash:     at Function.Module._load (internal/modules/cjs/loader.js:725:27)
LSP-bash:     at Module.require (internal/modules/cjs/loader.js:952:19)
LSP-bash:     at require (internal/modules/cjs/helpers.js:88:18)
LSP-bash:     at Object.<anonymous> (/Users/bli/Library/Caches/Sublime Text/Package Storage/LSP-bash/14.16.0/language-server/node_modules/bash-language-server/out/server.js:12:30)
LSP-bash:     at Module._compile (internal/modules/cjs/loader.js:1063:30)
LSP-bash:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
LSP-bash:     at Module.load (internal/modules/cjs/loader.js:928:32)
LSP-bash:     at Function.Module._load (internal/modules/cjs/loader.js:769:14)
LSP-bash:     at Module.require (internal/modules/cjs/loader.js:952:19) {
LSP-bash:   code: 'MODULE_NOT_FOUND',
LSP-bash:   requireStack: [
LSP-bash:     '/Users/<my_username>/Library/Caches/Sublime Text/Package Storage/LSP-bash/14.16.0/language-server/node_modules/bash-language-server/out/server.js',
LSP-bash:     '/Users/<my_username>/Library/Caches/Sublime Text/Package Storage/LSP-bash/14.16.0/language-server/node_modules/bash-language-server/out/cli.js'
LSP-bash:   ]
LSP-bash: }

LSP-bash: Error: Cannot find module 'node:child_process'

I would guess it requires Node.js v16 now.

BTW. You can access that setting file from the Command Palette using Preferences: LSP Utils Settings.

I see that you've bumped minimum required nice version so this should now give error message.

authors: bli00 jfcherng rchl

repo: sublimelsp/LSP-bash


text:
GlobalNet - exported service isn't reachable using desired port after service port edit

What happened:
This issue is similar to https://github.com/submariner-io/submariner/issues/1734

I followed the service export instructions from [A],
a. I created a service (default/nginx) on cluster2 and export it
b. I was able to access the service from cluster1.
I changed the frontend port# of  service default/nginx from 80 to 8080 using 'kubectl edit'
While I can successfully connect the service with port 8080  using the local DNS name from cluster2 [B] I can't connect to exported service from cluster1 with port 8080 [C]

I think that root cause is that the service created by GN controller to handle ingress traffic towards service pods not being updated with the desired port
[A]

https://submariner.io/getting-started/quickstart/kind/#verify-manually
[B]

bash-5.0# curl nginx.default.svc.cluster2.local:8080

Welcome to nginx!

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.
For online documentation and support please refer to
nginx.org.
Commercial support is available at
nginx.com.
Thank you for using nginx.

bash-5.0# curl nginx.default.svc.cluster2.local:80
curl: (28) Failed to connect to nginx.default.svc.cluster2.local port 80: Operation timed out
bash-5.0#
[C]

bash-5.0# curl   nginx.default.svc.clusterset.local:8080
curl: (28) Failed to connect to nginx.default.svc.clusterset.local port 8080: Operation timed out
bash-5.0# curl   nginx.default.svc.clusterset.local:80

Welcome to nginx!

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.
For online documentation and support please refer to
nginx.org.
Commercial support is available at
nginx.com.
Thank you for using nginx.

bash-5.0#

Currently Globlanet controller does not process Service creation/updation events and it only processes delete events. In order to handle this use-case we will have to enhance the code to process update events for Services.

CC @vthapar might take this up if/when he has time.
It was discussed if these are related:
https://github.com/submariner-io/lighthouse/pull/899
https://github.com/submariner-io/lighthouse/pull/879

authors: dfarrell07 sridhargaddam yboaron

repo: submariner-io/submariner


text:
Globalnet Healthcheck support

Currently, Globalnet only supports Pod to remoteService connectivity.
Submariner healthcheck uses ping/icmp to verify the tunnel status to
remoteClusters. In this PR, Globalnet is enhanced to support ping to
the globalIP allocated to the GatewayNodes, so that health-check can
be performed even for Globalnet deployments.
In a subsequent PR, endpoint info will be updated to use globalIPs as
health-check IPs.
Depends On: https://github.com/submariner-io/submariner-operator/pull/1015
Related to: https://github.com/submariner-io/submariner/issues/970
Signed-Off-by: Sridhar Gaddam sgaddam@redhat.com

Marked this PR as draft because it depends on the Operator/Submariner-Charts PRs to be merged.
https://github.com/submariner-io/submariner-operator/pull/1015
https://github.com/submariner-io/submariner-charts/pull/103
Otherwise, the PR is good for review. I manually applied the required changes in my local repo and verified this PR.

Just for info: All Globalnet jobs will fail until the dependent PRs are merged.

[cluster3] Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(DaemonSet.spec.template.spec.containers[0].env[3]): unknown field "fieldRef" in io.k8s.api.core.v1.EnvVar

means the chart PR was broken :-(.

means the chart PR was broken :-(.

This should fix it - https://github.com/submariner-io/submariner-charts/pull/104

@sridhargaddam can you please update the "known issues" docs: https://submariner.io/operations/known-issues/#globalnet

@sridhargaddam can you please update the "known issues" docs: https://submariner.io/operations/known-issues/#globalnet

@sridhargaddam can you please update the "known issues" docs: https://submariner.io/operations/known-issues/#globalnet

Sure @nyechiel. Once the PR https://github.com/submariner-io/submariner/pull/1069 gets merged, I'll update the website. Thanks.

@sridhargaddam can you please update the "known issues" docs: https://submariner.io/operations/known-issues/#globalnet

Sure @nyechiel. Once the PR https://github.com/submariner-io/submariner/pull/1069 gets merged, I'll update the website. Thanks.

authors: nyechiel skitt sridhargaddam


text:
Make middlewares wrap handlers rather than run before and after

Currently middlewares and afterwares are handled in the vk/middleware.go file augmentHandler method. The way this works is that it calls the middlewares first, one by one, and finishes with them, then calls the actual core handler function, and then calls a bunch of other afterwares, one by one.
An architecture diagram would look like this:
Request -> (mw1) -> (mw2) -> (core handler) -> (aw1) -> (aw2) -> Response

Instead middlewares should be wrapping the other handlers. That way we can construct a layered structure that simplifies code and is easier to reason about, plus it would remove distinction between a middleware (used here to mean running code that should happen before the core handler does anything with it), and afterware (used here to mean running code that should happen after the core handler is done with the request).
The target structure should look like this:
Request ->                                                                                -> Response
           ( mw1 ->                                                    -> mw1, but after code )
                    ( mw2 ->                  -> mw2, but after code )
                             ( core handler )

A 💎 : https://justinas.org/alice-painless-middleware-chaining-for-go

repo: suborbital/vektor


text:
Update Automated Notification Action

🚀 This PR improves our Automated Discord Notification Action
It now intelligently checks release notes' length to ensure they fit within API character limits.
If they exceed the limits, it gracefully provides a direct link to the release.
Additionally, this PR refines the message presentation by transitioning it into a sleek and organized embed format.

I'm seeing the number 1024 rather than 2000 in the commit. Am I missing something?

authors: ImmaZoni jim-counter

repo: subspace/subspace-docs