Skip to content

Instantly share code, notes, and snippets.

-----> Building on the Heroku-22 stack
-----> Using buildpack: https://github.com/jakeg/heroku-buildpack-bun
-----> https://github.com/jakeg/heroku-buildpack-bun app detected
#=#=# bun was installed successfully to /tmp/build_c22ecfd0/.heroku/bin/bun
Manually add the directory to ~/.bash_profile (or similar):
export BUN_INSTALL="/tmp/build_c22ecfd0/.heroku"
export PATH=$BUN_INSTALL/bin:$PATH
To get started, run:
-----> Building on the Heroku-22 stack
-----> Using buildpacks:
1. heroku/nodejs
2. https://github.com/jakeg/heroku-buildpack-bun
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_OPTIONS=--max_old_space_size=2560
1199185.373 RequestServer(2446636:2446699): ConnectionFromClient(0x0000607c77ed6710) (id=369580597) had an error (IPC::transfer_message: Disconnected from peer), disconnecting.
VERIFICATION FAILED: m_lock_count == 0 at /home/andrew/ladybird-org/ladybird-browser/Userland/Libraries/LibThreading/Mutex.h:33
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/../lib/liblagom-ak.so.0(ak_verification_failed+0xef) [0x7def4549204f]
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/RequestServer(+0x26a83) [0x607c76180a83]
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/RequestServer(+0x26a99) [0x607c76180a99]
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/RequestServer(+0x3ba8f) [0x607c76195a8f]
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/RequestServer(+0x2304f) [0x607c7617d04f]
/home/andrew/ladybird-org/ladybird-browser/Build/ladybird/libexec/RequestServer(+0x26b73) [0x607c76180b73]
/home/andrew/ladybird-org/ladybird-browser/Build
andrew@fedora:~/Source/testing$ which gn
~/Source/gn/out/gn
andrew@fedora:~/Source/testing$ gn --version
2175 (b2afae122eeb)
andrew@fedora:~/Source/testing$ VCPKG_ROOT=/home/andrew/Source/ladybird/Toolchain/Tarballs/vcpkg ../ladybird/Toolchain/Local/vcpkg/bin/vcpkg install skia
Computing installation plan...
The following packages will be built and installed:
* brotli:arm64-linux@1.1.0#1
* bzip2[core,tool]:arm64-linux@1.0.8#5
* dirent:arm64-linux@1.24
1790157.487 RequestServer(63027): I will start a connection (0x0000000140b044f0) for URL https://twitter.com/awesomekling
1790157.487 RequestServer(63027): Connecting to twitter.com:443 with WolfTLS
1790157.730 RequestServer(63027): ConnectionCache: Hits: 0, Misses: 1
1790157.731 RequestServer(63027): Immediately start request for url https://twitter.com/awesomekling in 0x0000000140b044f0 - 0x0000600000948000
1790157.792 RequestServer(63027): Request for https://twitter.com/awesomekling finished
1790157.792 RequestServer(63027): JobData for https://twitter.com/awesomekling timings:
1790157.792 RequestServer(63027): - Waiting in queue: 1ms
1790157.792 RequestServer(63027): - Starting connection: 245ms
1790157.792 RequestServer(63027): - Performing request: 62ms
1790157.832 RequestServer(63027): I will start a connection (0x0000000120004080) for URL https://x.com/awesomekling
@ADKaster
ADKaster / shell-commands.sh
Last active April 24, 2024 21:31
Update clang on ubuntu
# use convienence script
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
#(or)
sudo wget -O /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg.key] http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" | sudo tee -a /etc/apt/sources.list.d/llvm.list
sudo apt update
sudo apt install llvm-18 lld-18 lldb-18 clang-18 clang-format-18 clangd-18 clang-tidy-18 clang-tools-18 llvm-18-dev
@ADKaster
ADKaster / youtube.log
Created April 19, 2024 22:43
Backtrace for github.com
Program received signal SIGILL, Illegal instruction.
ak_verification_failed (message=0x74a6872f3d7b "!_temporary_result.is_error() at /home/andrew/serenity/Userland/Libraries/LibWeb/DOM/Node.cpp:829") at /home/andrew/serenity/AK/Assertions.cpp:108
108 __builtin_trap();
(gdb) bt
#0 ak_verification_failed (message=0x74a6872f3d7b "!_temporary_result.is_error() at /home/andrew/serenity/Userland/Libraries/LibWeb/DOM/Node.cpp:829")
at /home/andrew/serenity/AK/Assertions.cpp:108
#1 0x000074a687702bf9 in Web::DOM::Node::clone_node(Web::DOM::Document*, bool)::$_0::operator()<AK::FlyString const, AK::String const>(AK::FlyString const&, AK::String const&) const (this=<optimized out>, name=..., value=...) at /home/andrew/serenity/Userland/Libraries/LibWeb/DOM/Node.cpp:829
#2 AK::Function<void (AK::FlyString const&, AK::String const&)>::CallableWrapper<Web::DOM::Node::clone_node(Web::DOM::Document*, bool)::$_0>::call(AK::FlyString const&, AK::String const&) (this=<optimized out>, in=..., in=...) at /home/andrew
[gcc/build] In file included from /Users/andrew/Source/serenity/Toolchain/Tarballs/gcc-13.2.0/gcc/cp/mapper-resolver.cc:29:
[gcc/build] In file included from /Users/andrew/Source/serenity/Toolchain/Tarballs/gcc-13.2.0/gcc/system.h:227:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/map:2529:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:526:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:321:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_bool.h:20:
[gcc/build] In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_integral.h:32:
[gcc/build] In f
/*
* Copyright (c) 2024, Andrew Kaster <akaster@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
@ADKaster
ADKaster / fulllog.log
Last active March 5, 2024 09:32
fetch logs
727041.846 WebContent(3329717): Fetch: Running 'non-standard HTTP-network fetch' with: fetch_params @ 0x00007f18e8d81098
727041.846 WebContent(3329717): Fetch: Invoking ResourceLoader
727041.846 WebContent(3329717): Fetch: Invoking ResourceLoader
727041.846 WebContent(3329717): > GET http://localhost:8000/test.html HTTP/1.1
727041.846 WebContent(3329717): > User-Agent: Mozilla/5.0 (Linux; x86_64) Ladybird/1.0
727041.846 WebContent(3329717): > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
727041.846 WebContent(3329717): > Accept-Language: *
727041.846 WebContent(3329717): >
727041.846 WebContent(3329717): ResourceLoader: Starting load of: "http://localhost:8000/test.html"
727041.846 WebContent(3329717): Start protocol request for: http://localhost:8000/test.html