danielhe4rt.php✓

@danielhe4rt

🇧🇷 senior developer | 27 y/o doing useless code since 2011 php and laravel is the way!! talking about: php + rust + postgres + open source @he4rtdevs

2.5K Following42.6K Followers41.8K Posts
  1. danielhe4rt.php✓@danielhe4rt
    fico incrédulo como tem uma galera nesse site que se acha muito não tendo conquistado porra nenhuma
    31492.4K
  2. danielhe4rt.php✓@danielhe4rt
    Seloco o mano foi completamente resenhado e eu ainda tomei uma santíssima aula de quebra Obrigado timeline do Twitter 🤝
    Mitchell Hashimoto @mitchellh
    I like to look at claims like this in case I can improve Ghostty. I grabbed your source and immediately spotted the issue: your read loop overwrites a 64 KiB ring. Everything older is discarded unparsed per tick. You're faster because you're not actually terminal emulating. It means the number isn't a throughput number. In a kitten benchmark run at the rate you're claiming, roughly 6.6 MB arrives per 60 Hz tick and 64 KiB of it gets parsed. You're read(2)-ing 100% of the data and parsing about 1% of it. There are other minor issues (a small fixed scrollback in a preallocated ring buffer, no grapheme clustering, throwing away data like OSC 8 URIs, etc.), but the major one is simply that you're discarding ~99% of the input. For plain text, e.g. your cat benchmark, the final screen ends up looking right, but the scrollback is missing 99% of the file and each retained chunk starts mid-line. As soon as there are escape sequences in the dropped spans, your emulator is fully out of sync and invalid: a cut inside a CSI prints the parameters as text, and any SGR, mode, title, or alt-screen change in the gap is just... gone. FYI, this is why I don't like when people point at refterm as a terminal benchmark. refterm implements a TINY subset of what a terminal emulator must support, it's closer to a fast file reader, not a terminal emulator. I also don't mean any shade by this. I like to look at technology objectively to try to learn something and improve my own craft and work. So I'm sharing what I found. I modified your code very slightly to parse on every full buffer (rather than per tick). And the results are attached. Both use main commit in each repo at the time of this post. Note the graph is in log scale, the discrepancy between performance for things like Kitty images is measured in GB/s.
    10252.1K
  3. Mitchell Hashimoto✓@mitchellh
    Posts @valvesxyz
    I like to look at claims like this in case I can improve Ghostty. I grabbed your source and immediately spotted the issue: your read loop overwrites a 64 KiB ring. Everything older is discarded unparsed per tick. You're faster because you're not actually terminal emulating. It means the number isn't a throughput number. In a kitten benchmark run at the rate you're claiming, roughly 6.6 MB arrives per 60 Hz tick and 64 KiB of it gets parsed. You're read(2)-ing 100% of the data and parsing about 1% of it. There are other minor issues (a small fixed scrollback in a preallocated ring buffer, no grapheme clustering, throwing away data like OSC 8 URIs, etc.), but the major one is simply that you're discarding ~99% of the input. For plain text, e.g. your cat benchmark, the final screen ends up looking right, but the scrollback is missing 99% of the file and each retained chunk starts mid-line. As soon as there are escape sequences in the dropped spans, your emulator is fully out of sync and invalid: a cut inside a CSI prints the parameters as text, and any SGR, mode, title, or alt-screen change in the gap is just... gone. FYI, this is why I don't like when people point at refterm as a terminal benchmark. refterm implements a TINY subset of what a terminal emulator must support, it's closer to a fast file reader, not a terminal emulator. I also don't mean any shade by this. I like to look at technology objectively to try to learn something and improve my own craft and work. So I'm sharing what I found. I modified your code very slightly to parse on every full buffer (rather than per tick). And the results are attached. Both use main commit in each repo at the time of this post. Note the graph is in log scale, the discrepancy between performance for things like Kitty images is measured in GB/s.
    Download
    1762388.3K818K
  4. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @MouBetter: Cooking a brand new "mouse and keyboard over LAN" for Omarchy 🍳 ferry: one mouse and one keyboard across your Hyprland machines. Lay the screens out like your desk and the pointer crosses where the edges touch. Rust daemon + a native omarchy-shell bar plugin.
    01059
  5. danielhe4rt.php✓@danielhe4rt
    InertiaJS + Laravel = Best way to ship.
    2081357.4K
  6. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @He4rtDevs: O He4rt Pub tá de volta para a 5ª edição! 🍻 Dia 31/10, às 18h, a galera se encontra na Cervejaria Rota 116, em Cachoeira Paulista, pra trocar ideia fora da tela. Marca quem vai com você 👇 De longe? Acompanhe ao vivo:
    02048
  7. danielhe4rt.php✓@danielhe4rt
    o discurso do Gold Roger foi fichinha perto disso aqui. meu candidato foi preso injustamente e ainda aceitou a sentença, o da direita fugiu pra mamar o laranjão se não tem crime, não tem pq fugir. Senado com a maioria no PL e o cara ainda assim meteu o pé, corrupto lixo fdp
    Aquino - Santos da Opressão @SantosOpressivo
    Enquanto uns fogem, esse foi o discurso do Lula no dia que ficou sabendo que seria preso
    252938011.2K
  8. danielhe4rt.php✓@danielhe4rt
    Alô molieres (de preferencia da @he4rtdevs pois ali eu boto minha mão no fogo por várias) dá um bisu aqui.
    Keit Ollé 🇧🇷 ➔ getsolu.ai @k8adev
    Falando nisso, acabou de chegar para mim uma oportunidade para Software Engineer (vaga afirmativa para mulheres), com conhecimentos em infraestrutura e segurança para apoiar o desenvolvimento de diferentes projetos. Requisitos: - Disponibilidade de pelo menos 2 a 3 dias por semana - Experiência com desenvolvimento de software com IA - Conhecimentos em infraestrutura e segurança Contrato de R$ 5.000,00/m + % sobre a venda dos projetos. Quem tiver interesse, pode me mandar uma DM com o perfil do LinkedIn 🙌🏻
    23171.5K
  9. Keit Ollé 🇧🇷 ➔ getsolu.ai✓@k8adev
    Falando nisso, acabou de chegar para mim uma oportunidade para Software Engineer (vaga afirmativa para mulheres), com conhecimentos em infraestrutura e segurança para apoiar o desenvolvimento de diferentes projetos. Requisitos: - Disponibilidade de pelo menos 2 a 3 dias por semana - Experiência com desenvolvimento de software com IA - Conhecimentos em infraestrutura e segurança Contrato de R$ 5.000,00/m + % sobre a venda dos projetos. Quem tiver interesse, pode me mandar uma DM com o perfil do LinkedIn 🙌🏻
    511527.1K
  10. danielhe4rt.php✓@danielhe4rt
    dev java é tudo maluco
    3171697.9K
  11. danielhe4rt.php✓@danielhe4rt
    bora pois a nossa comunidade (pode ser sua tbm) não para uma fucking semana!!! reunião semanal começando
    He4rt Developers @He4rtDevs
    Já se programa pra semana na He4rt 💜 Seg, 21h: Reunião Semanal Ter, 20h: English Meetup Sáb, 18h: 5ª edição do He4rt Pub 🍻 Qual desses você não perde? Nossa Twitch:
    0061.2K
  12. He4rt Developers@He4rtDevs
    Já se programa pra semana na He4rt 💜 Seg, 21h: Reunião Semanal Ter, 20h: English Meetup Sáb, 18h: 5ª edição do He4rt Pub 🍻 Qual desses você não perde? Nossa Twitch:
    Download
    0271.3K
  13. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @PatricioOnCode: Hey friends!! Are you by default running multiple AI coding agents in the same project? If not, you're missing out, and it will take you less than 10 min watching how to do so in your projects: Let me know if any questions!
    03062
  14. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @guidev115: @danielhe4rt Doido é quem achava que voce nao teria esse lado politico, e muito menos que nao iria se posicionar. Isso ai eh livramento primo.
    01059
  15. danielhe4rt.php✓@danielhe4rt
    me posicionei na rede ao lado e foi 1k de unfollow e isso foi mt bom papo reto nichar meu conteúdo pra quem realmente precisa é mt mais satisfatório
    Download
    1374325.4K
  16. danielhe4rt.php✓@danielhe4rt
    o motivo dos dev que tá trampando pra fora votar no flávio é pq eles sempre estiveram cagando pro brasil simplesmente um bando de fudido que prefere ver o próprio país pegando fogo pra eles faturarem mais as custas do sofrimento alheio espero mt q tu se foda foda país 🙏
    Download
    Gabriel Zim @ogabezim
    @danielhe4rt @sseraphini Olha a carinha dessa vagabunda falando nisso segurando o microfone, ah vai ti fude rapa, vira home fela da puta
    132439312.8K
  17. Gabriel Zim✓@ogabezim
    Posts @danielhe4rt
    @danielhe4rt @sseraphini Olha a carinha dessa vagabunda falando nisso segurando o microfone, ah vai ti fude rapa, vira home fela da puta
    20617.2K
  18. danielhe4rt.php✓@danielhe4rt
    ai @sseraphini namoral vai tomar no seu cu tbm deu merda ai pro teu time e tu quer intervenção de gringo? mais do que a meta já fez e os prefeitos já fizeram não deixando a turma ir votar? caraio hein tiozão
    Download
    Joey Mannarino @JoeyMannarino
    Lula isn’t even trying to hide that he blatantly stole the elections in Brazil. Straight out open theft. Isn’t this why we have an International Criminal Court?
    52601.1K27.1K
  19. Joey Mannarino✓@JoeyMannarino
    Lula isn’t even trying to hide that he blatantly stole the elections in Brazil. Straight out open theft. Isn’t this why we have an International Criminal Court?
    1.1K3.8K21.8K309K
  20. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @BernieSanders: Congratulations to Lula on his extraordinary reelection victory in the Brazilian presidential election. Lula has stood up for Brazilian workers & democracy — and will continue to do so in the next four years.
    029.8K053
  21. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @jonesmanoel_PE: Nikolas Ferreira, Lucas Pavanato, Flávio Bolsonaro, Pablo Marcal, Eduardo Bolsonaro, Donald Trump e toda quadrilha… VÁ SE FUDER PARA LÁ! AQUI NÃO, PORRA!!!!
    051.7K051
  22. danielhe4rt.php✓@danielhe4rt
    entrou foi outra coisa no teu rabo ô seu filha da puta sente a trolha ai arrombado do krl
    Nikolas Ferreira @nikolas_dm
    Esperando os votos do Sudeste entrar. Nada como um dia após o outro.
    3102374.3K
  23. Nikolas Ferreira✓@nikolas_dm
    Esperando os votos do Sudeste entrar. Nada como um dia após o outro.
    49.6K4.8K64.1K8.2M
  24. danielhe4rt.php✓@danielhe4rt
    danielhe4rt.php
    RT @yetz1: @tecnoshlol eu to incomodado com vc falando q não liga, pesquisando 5 minutos, falando q a melhor opção é um miliciano de merda sendo q vc sabe q sua vida é ridiculamente confortavel do minuto q vc saiu do saco e vc ainda fica metendo o loco vc pode falar oq quiser mas tem q ouvir tb
    0297055
  25. Show more posts