profile
viewpoint

push eventDonHaul/MscThesis

João Ramiro

commit sha 48befa3944ecf58a36f9dcf4242422539fce2f86

Update README.md

view details

push time in a month

push eventDonHaul/MscThesis

João Ramiro

commit sha 37ce0b2a618024395781ccf117e255385b933f8a

Update README.md

view details

push time in a month

push eventDonHaul/MscThesis

João Ramiro

commit sha db52ce2326374f2f132531fce94b447859503c06

Update README.md

view details

push time in a month

push eventDonHaul/MscThesis

João Ramiro

commit sha 630802b1f916526612abcb0b91e8efbab05a59e4

MscTHesis

view details

push time in a month

push eventDonHaul/wordstats

João Ramiro

commit sha f1bd143948808a1bde80d02d74f67f4a3109539f

Update README.md

view details

push time in a month

push eventDonHaul/wordstats

João Ramiro

commit sha 874f49b0b2414e545a6c654c427b58b4ca2e2efc

Update README.md

view details

push time in a month

push eventDonHaul/wordstats

DonHaul

commit sha f0cb09eec19978ea9d6a0d989544652942eedccb

commented

view details

push time in a month

push eventDonHaul/wordstats

DonHaul

commit sha 4862e8e238ffc7124c72cb41b75d84acc5ae92ad

amazing

view details

push time in a month

create barnchDonHaul/wordstats

branch : master

created branch time in a month

created repositoryDonHaul/wordstats

created time in a month

startedmiguelpinho/thesis-scripts

started time in 2 months

push eventDonHaul/HistoriasDaMinhaTerra

DonHaul

commit sha f87413b5b9a57b585a29efbb659d3dc09f08d043

fixin premio arquivo

view details

push time in 2 months

push eventDonHaul/HistoriasDaMinhaTerra

DonHaul

commit sha deef2cbc95e6dc9ce2bfe853f823fa6277158c0f

reading for developmente

view details

push time in 2 months

push eventDonHaul/HistoriasDaMinhaTerra

DonHaul

commit sha 2506fe93ee5ce0ec0cfbf4ccdeefe661ee42be70

other pages added

view details

DonHaul

commit sha ce870ec5e89e4e517925f1c5fa36e9e726291b8a

Merge branch 'master' of https://github.com/DonHaul/PremioArquivo2020

view details

DonHaul

commit sha a5429f91be12138546a96c9ab2bf4f1b0a21e810

prepped interface for no dependencies

view details

push time in 2 months

PublicEvent

push eventDonHaul/HistoriasDaMinhaTerra

João Ramiro

commit sha 006d7eee7d0987c49a6b5cd3f204dd4c86db8679

Update README.md

view details

push time in 2 months

issue commentfacebook/react

Bug: Fetch API not working correctly when using ReadableStream

After some further testings, it seems it is related to the fact that the client and the flask servers where on the same host, and not related to react at all, thank you all

DonHaul

comment created time in 2 months

issue closedfacebook/react

Bug: Fetch API not working correctly when using ReadableStream

While building a react app, where the front-end must constantly receive streaming data, I noticed that each stream chunk, is only technically received, after the whole stream data is transmitted, although I can chrome network tab that is being received in several chunks. This issue occurs during development, but after building the app for production it no longer occurs.

React version: 16.13.1

Steps To Reproduce

  1. Create a component that receives a stream of data (for this test a flask stream was used although the bug occurs with other sources )

Code example:

import React, { useEffect } from 'react';

function Page_api() {

    useEffect(() => {

        const url = '/api/stream'

        const consume = responseReader => {
            return responseReader.read().then(result => {
                if (result.done) { return; }

                // do something with the current chunk
                const chunk = result.value;
                console.log("Received Chunk");

                return consume(responseReader);
            });
        }
  
        fetch(url).then(response => {
            return consume(response.body.getReader());
        })
            .catch(console.log.bind(console));

    })
    return (
        <div>
            <p>API Testing Page</p></div>)
}


export default Page_api

Same code in codesandbox: https://codesandbox.io/s/5vtqo , a stream source is also provided as a flask server on the api.py file.

The current behavior

Upon Receiving stream, react can only process each chunk of it on the end of the stream while on development (i.e. using react-scripts start)

dev

The expected behavior

Upon Receiving stream, react can process each chunk as soon as it arrives (i.e. using react-scripts start) - just as it occurs in the built application

working

closed time in 2 months

DonHaul

issue commentfacebook/react

Bug: Fetch API not working correctly when using ReadableStream

@vkurchatkin Why do you say that?

DonHaul

comment created time in 2 months

issue openedfacebook/react

Bug: Fetch API not working correctly when using ReadableStream

While building a react app, where the front-end must constantly receive streaming data, I noticed the each stream chunk, is only counted as received, after the whole stream data is transmitted. This issue occurs during development, but after building the app for production it no longer occurs.

React version: 16.13.1

Steps To Reproduce

Receive data from a stream, here is an example component

Add this component to a react application and render it:

Steps to reproduce

  1. Create a component that receives a stream of data (for this test a flask stream was used although the bug occurs with other sources )

Code example:

import React, { useEffect } from 'react';

function Page_api() {

    useEffect(() => {

        const url = '/api/stream'

        const consume = responseReader => {
            return responseReader.read().then(result => {
                if (result.done) { return; }

                // do something with the current chunk
                const chunk = result.value;
                console.log("Received Chunk");

                return consume(responseReader);
            });
        }
  
        fetch(url).then(response => {
            return consume(response.body.getReader());
        })
            .catch(console.log.bind(console));

    })
    return (
        <div>
            <p>API Testing Page</p></div>)
}


export default Page_api

Same code in codesandbox: https://codesandbox.io/s/5vtqo , a stream source is also provided as a flask server on the api.py file.

The current behavior

Upon Receiving stream, react can only process each chunk of it on the end of the stream while on development (i.e. using react-scripts start)

dev

The expected behavior

Upon Receiving stream, react can only process each chunk as soon as it arrives (i.e. using react-scripts start) - just in occurs in the built application

working

created time in 2 months

push eventDonHaul/TemporalSummarizationFramework

DonHaul

commit sha 8f3909f6a422045a1ea86c79f396b28011cf47e4

minor changes

view details

push time in 2 months

startedvasturiano/timelines-chart

started time in 3 months

push eventDonHaul/MonitorWork

DonHaul

commit sha 1ebd942369c4b3e67a47d35b5f3f2815b3d61762

now detects big intervals as time where you were offline and doesnt count them towards the statistics

view details

push time in 3 months

push eventDonHaul/MonitorWork

DonHaul

commit sha fa4062d489449ac918a5d5d5f20d9e7b250a4284

now it can detect the period where the computer/monitorer is offline it can also detect when opening if csv is open somewhere else if some title contains a ; it converts it to a space more robust overall

view details

push time in 3 months

push eventDonHaul/MonitorWork

DonHaul

commit sha 34f2cef7201da85d4243bb85776d2fe5f505c2cc

switching to csv

view details

DonHaul

commit sha 2d363f4b209ca0c47a06eb828b005c935f1b3b9b

fully working with csv, very little chance to break

view details

push time in 3 months

push eventDonHaul/MonitorWork

DonHaul

commit sha d87c3439c3783abf02f7dedde2d231457563e665

robust to invalid pids

view details

DonHaul

commit sha bd3a2f3a9e353b21ae3aababe168069ff1cc7b97

display stats is now correct

view details

push time in 3 months

created tagDonHaul/LD46

tagld46

created time in 3 months

push eventDonHaul/LD46

DonHaul

commit sha 56edaf7b4e85e00153d29b2442743f561bf7c9b5

submitted version

view details

push time in 3 months

push eventDonHaul/LD46

DonHaul

commit sha 144437bec0864a37078e235e4c9b12a1acf8955a

security backup

view details

push time in 3 months

create barnchDonHaul/LD46

branch : master

created branch time in 3 months

created repositoryDonHaul/LD46

created time in 3 months

more