Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/hackpad

The in-browser IDE for Go
https://github.com/hack-pad/hackpad

Remove 1 stat call from mkdirall

571be25a44172ecc4130a05936ffad3962b065b2 authored over 3 years ago by John Starich <[email protected]>
Make tarfs mkdir async, increase number of small buffers

85cc878888f5c7028328097351055ed9df569a70 authored over 3 years ago by John Starich <[email protected]>
Fix file access/change/modified time conversions

c60a1f247c2f721561ea4c6f3691fa062973ddb4 authored over 3 years ago by John Starich <[email protected]>
Cache transaction mode string conversions

50588c1e7b37b4e70254bdc87d1a1b74a46a5a67 authored over 3 years ago by John Starich <[email protected]>
Reduce OpenFile on create from 2 fetches to 1

8196f409da7d6cf01a4dd915e496ce702de53e11 authored over 3 years ago by John Starich <[email protected]>
Cache tarfs calls to MkdirAll

e3735de6316454f737251f84b38b7afa38c299df authored over 3 years ago by John Starich <[email protected]>
Use common statAll for MkdirAll and ReadDir

951883dd0001661dbf2516285debe6faddc4ccfe authored over 3 years ago by John Starich <[email protected]>
Store Parent path in file infos, use that to query dirnames

Dropped first boot time from 80s to 46s!

afb41cfda3928d30a67d92573912d6f383ac7e0a authored over 3 years ago by John Starich <[email protected]>
Run all IDB requests in parallel for batch transactions

c70bc04a6315edb0e11ba5ca793df1314ca64179 authored over 3 years ago by John Starich <[email protected]>
Add memory pools and enable some async tarfs

cd46891cc402682d58101c3c5d68a261e0ed3482 authored over 3 years ago by John Starich <[email protected]>
Fix panic in sh when history is empty

f4b1061952cebbfd3aa7c9b5e08c7db4e752bcb0 authored over 3 years ago by John Starich <[email protected]>
Reuse IDB object stores within transactions

e6195a8dd4a0aba064f260f0da95db8ee8abdfa6 authored over 3 years ago by John Starich <[email protected]>
Ensure more IDB callbacks are primarily async

9a1d4848c0aba50689a5a916206c07926d9ff1e8 authored over 3 years ago by John Starich <[email protected]>
tarfs: Assume directory does not exist, then chmod if it does

af184496b66bcd92d85d903ba8f3ad87dbf2dd20 authored over 3 years ago by John Starich <[email protected]>
Only push history if not the same as previous

bcec812dab85aa1069f6f7d4366fcc2b1a37ac77 authored over 3 years ago by John Starich <[email protected]>
Fix overlay progress when loading from IDB

726b7dcdac2730daa5db668a88b8133d2c42aa54 authored over 3 years ago by John Starich <[email protected]>
Fix goWasm.dump() on IDB

50a066b47305fa36d2ee71c240412838f4026d43 authored over 3 years ago by John Starich <[email protected]>
Calculate buffer sizes based on file size data from go.tar.gz

0a365711412fe7d62207d286d1d224e9ce6c91dc authored over 3 years ago by John Starich <[email protected]>
Fix new lines when going to stdout directly

5b0cb3803dcdcd6416c934f5012c20a6573a1b47 authored over 3 years ago by John Starich <[email protected]>
Support "time" shell builtin

e00a6a66e750510705c7ee5ca57d311f8f5d71f0 authored over 3 years ago by John Starich <[email protected]>
Add table formatter, use it in long "ls" output

a08fa9acf59faa7f77090532f02648fb3c709830 authored over 3 years ago by John Starich <[email protected]>
"touch" builtin now updates file modified time

50546f295ac281408d76d170061c2253fcb3180b authored over 3 years ago by John Starich <[email protected]>
Support batch reads on IDB, use in mkdirall

f123d7eaeb096d899a9012fccc5a32c075016736 authored over 3 years ago by John Starich <[email protected]>
Remove unused transaction event callbacks

7f1ba8deec65a2d8c795e5803afb7dd808a70416 authored over 3 years ago by John Starich <[email protected]>
Fix parallelism bug in storer.mkdirall

2fb7e65e4b5deef693360a824f8b04a8078cf771 authored over 3 years ago by John Starich <[email protected]>
Optimize IDB object store selection for file writes

cd5dc7a401a98fc248b6a0cc007e598042168f1c authored over 3 years ago by John Starich <[email protected]>
Use fewer IDB callbacks for fewer microtasks

489fa6bd1b8f50c1c4ce59465753ce26fd29f1ae authored over 3 years ago by John Starich <[email protected]>
Commit on more IDB operations

82991e111cc836e16f976d2a281bf9f14c82c77f authored over 3 years ago by John Starich <[email protected]>
Commit transactions immediately after last operation

462a0862da4c96f5927aad399d610dbdc32d837d authored over 3 years ago by John Starich <[email protected]>
Normalize paths more consistently in IDB

93ea970defc8a939ed97a8b3efb3467341d3585f authored over 3 years ago by John Starich <[email protected]>
Use cached js strings for file property accesses

27d74315bd91a785e3123bd71daa1efd564c16ee authored over 3 years ago by John Starich <[email protected]>
Require minimum read buffer size during tar extraction for significant speedup

6e50605d19589703f60e77ef31ba87a6999707ba authored over 3 years ago by John Starich <[email protected]>
Separate file info and contents, lazy load data, update with single txns, and support blob truncation

052cf70e82f44fd52bbd685ec915e7bf635eac41 authored over 3 years ago by John Starich <[email protected]>
Add IDB file path js.Value caching

cb87f80a147d8cd01fa1cc913c226d27b0ff91e4 authored over 3 years ago by John Starich <[email protected]>
Remove sleeps to reduce event loop churn

a491945d372cb7da66115766de46dae8ceee76dd authored over 3 years ago by John Starich <[email protected]>
Remove runtime.GC now that memory usage is lower, plus runtime.Gosched because it had no noticeable impact

21a97f1bc3a3286f92b777f80cf566cd03dbd342 authored over 3 years ago by John Starich <[email protected]>
Flesh out profiling, but disable CPU profiles until Go fixes them

d492b9649bc93746d8d361e53c8cbf10ac0811ba authored over 3 years ago by John Starich <[email protected]>
Fix read error handling crash in Safari

eee9eaefd74272dd62e46520779b4908f2099484 authored over 3 years ago by John Starich <[email protected]>
Add more debug info to unknown errors in failed syscalls

377146a5b3c8c1494249e2af137c1a5e748429df authored over 3 years ago by John Starich <[email protected]>
Use blob.Blob for all reads and writes to the filesystem

4c649a83ef4f7b7eddeb6c89f3c08c0025160201 authored over 3 years ago by John Starich <[email protected]>
Extract blob into its own package

76ba301d36f2697980ad1a92a501301473458123 authored over 3 years ago by John Starich <[email protected]>
Enable BlobFile-compatible files, for less memory copying

59bb29dd2c9ab22aa721d1377b54e9ce98c601c3 authored over 3 years ago by John Starich <[email protected]>
Enable persistent go.tar.gz mount directory

140a632d49b2f2cccaf3ee334bd66d2be2489628 authored over 3 years ago by John Starich <[email protected]>
Enable user home directory on IDB FS

6328e699b196e667daf6d55eed4869d63cc3724d authored over 3 years ago by John Starich <[email protected]>
Fix missing root dir on storer fs init

d3465c2ecddc8f86f0a3d1cfec70baf542184652 authored over 3 years ago by John Starich <[email protected]>
Fix executable prep not using current process environment for path lookup

6b7c9169610f3d25f4b28a66e7c0a6f4b300ca82 authored over 3 years ago by John Starich <[email protected]>
Only create new module and main.go if they do not exist

f3a732ecda59fff91409d52ad6b6a9de282151cd authored over 3 years ago by John Starich <[email protected]>
Access file system only after process is async

Unfortunately, this means we lose quick sanity checks.
On the other hand, this is the only way t...

323f32facca3e8fa806bc182ab0ff09bff869ad3 authored over 3 years ago by John Starich <[email protected]>
Enable single-file renames across mounts

f4d35c33444414e5b5ca3856983368fb0027722e authored over 3 years ago by John Starich <[email protected]>
Fix append-only mode for storer FS files

0407ce8d61314bd26df42ad244be442c77c39302 authored over 3 years ago by John Starich <[email protected]>
Use common Promise interface, to easily swap out JS or Go impl

792128c4cc32c7862338ba48e797a011734eaf70 authored over 3 years ago by John Starich <[email protected]>
Don't complain if shell history file doesn't exist

d8a464e376c674228feaaf0dc672e184382d937c authored over 3 years ago by John Starich <[email protected]>
Temporarily disable /home/me cache mount, since some renames across mounts are failing

33aed5e125157172ae2e4ebcc8583e4f362d1627 authored over 3 years ago by John Starich <[email protected]>
Swap out tarfs's custom internal fs for an embedded fs, like MemMapFs

41a26d18409aad0d481b58e970e12ac5660c43f7 authored over 3 years ago by John Starich <[email protected]>
Read and write shell history to file

0be4d4639d1bd8e6533850a83964104c96ab2971 authored over 3 years ago by John Starich <[email protected]>
Fix path for remove on mountfs

8751c6d34a4ebac253d9a48d8d1ecb15bacca410 authored over 3 years ago by John Starich <[email protected]>
Only obtain batch results after transaction completes

34f926d25977bc415615e9593e0d41d52880e0cb authored over 3 years ago by John Starich <[email protected]>
Add IDB FS for home directory

8e3f9b6f461f70e0cc8c0ae47322b64b916a12f8 authored over 3 years ago by John Starich <[email protected]>
Fix goroutines asleep issue in editor callback

71a0981b6f0e7609838b40e1fb76378fd32a40ee authored over 3 years ago by John Starich <[email protected]>
Remove unused var

054d4fa79ae5970435256a26cb87f8d6fa45ee34 authored over 3 years ago by John Starich <[email protected]>
Update working directory asynchronously to fix fs.Stat() crashes

1f186634955bd73dacb08ed10f573d9d45f55537 authored over 3 years ago by John Starich <[email protected]>
Integrate IDB FS for ~/.cache and move Go to non-root path /usr/local/go

d6912bdb50e2d0cceab01ab1dbff24b6ea714146 authored over 3 years ago by John Starich <[email protected]>
Support renames on IDB FS

23e19b64830659eaf53777719f43261e671dcff6 authored over 3 years ago by John Starich <[email protected]>
Add debug command for showing mount information

aa17baff23ba0c3403f90e56a36ae5a834df45b1 authored over 3 years ago by John Starich <[email protected]>
Clean up IDB logging

fe660c2afc938d90a5ff66b9819fd31c3366c5b6 authored over 3 years ago by John Starich <[email protected]>
Remove debug logs

ffe3538b0096a3caeaac0f2c396175aab5f8c950 authored over 3 years ago by John Starich <[email protected]>
Revert to 1.15 again until "go install" cache replacement is available

5a66b3cba35e104f03b90eb63157521040a9a3bb authored over 3 years ago by John Starich <[email protected]>
Update to Go 1.16beta1 for max memory fixes

Fixed in https://github.com/golang/go/commit/9848e93cb76f068b97e8ea342c33cc09b553790f
This may h...

d51046c49e977d7f84b239bb68ece04727eff9c7 authored over 3 years ago by John Starich <[email protected]>
Save file after updating times or permission bits

514f2e365cea2f036d0c4d54a0e24e1673d927ff authored over 3 years ago by John Starich <[email protected]>
Add note for async working directory

0ff71cb7d9c6712cbc1cef0828c892abc5be633b authored over 3 years ago by John Starich <[email protected]>
Remove now-unused transaction ptrs from IDBIndex and IDBObjectStore

35cfb2cdadb18f74d32b711447d1f5906af8e89d authored over 3 years ago by John Starich <[email protected]>
Remove debug logs

6f83b7851de30e382b0ab0b8ff729895234a1972 authored over 3 years ago by John Starich <[email protected]>
Fix non-js for IDBFS

60e919923d83f071c959f3015a44eebe5380aa83 authored over 3 years ago by John Starich <[email protected]>
Use indexeddb.Request abstraction primarily

b9d495a2d6c588be7d805fde3168a2753c139c96 authored over 3 years ago by John Starich <[email protected]>
Return requests from IDB operations, never Await or Commit automatically

dff24ab868dfa1a2d5e30c04b5c43225ae1dd9ce authored over 3 years ago by John Starich <[email protected]>
Fix TODO: add tarfs overlay complete marker

a0a5e9290ab591ada5e38846353d17adcd409e8d authored over 3 years ago by John Starich <[email protected]>
Add non-js fixes for tests

63530b37953e774bd13912cc27240d2be18430d7 authored over 3 years ago by John Starich <[email protected]>
Reduce cognitive complexity of tarfs file processor

914468b4f488efa35559a5ae06da538eaa71e921 authored over 3 years ago by John Starich <[email protected]>
Fix race conditions on mkdirall with updated afero

b669417aa7aeff08ba38b6a61a183e80c501e116 authored over 3 years ago by John Starich <[email protected]>
Fix ctx cancel lint error again

77ec54b9d3f336745f7914795121353c8df4d2a5 authored over 3 years ago by John Starich <[email protected]>
Fix js build tag issue

ac0241afcddcab6d56307cc1b7974838194060d5 authored over 3 years ago by John Starich <[email protected]>
Run garbage collection after every wasm instance finishes executing

There is not a great way to detect when the browser has run GC,
so this change runs Go's GC eage...

625a316e54b93cbf30f863b0dcc27a9444e5109f authored over 3 years ago by John Starich <[email protected]>
Fix lint

ce5ed7e4331d9e7669e2d9e8a12a36155f3f8f72 authored over 3 years ago by John Starich <[email protected]>
Upgrade to latest version of Go

ffb714f900912b3763c3e3600f18f06d8b07cc66 authored over 3 years ago by John Starich <[email protected]>
Cache compiled modules again with fixed cache path of /usr/local/go

Compile and instantiate in one pass with "instantiate".
Fixes compile-based crashes in Safari.

25e2519f029ad87a397e4449a75f7c090deeeffe authored over 3 years ago by John Starich <[email protected]>
Handle missing transaction.commit func in Safari

778d7feb5c12c2f9f623429eda8397a96229314c authored over 3 years ago by John Starich <[email protected]>
Move storer batch handling into separate file

53acc4f7d89c91f321ccd1698af3d39df2c4cf77 authored over 3 years ago by John Starich <[email protected]>
Tweak IDB queue wait multiplier

933b558037c002a97fef5f50402549ba6af84beb authored over 3 years ago by John Starich <[email protected]>
Add a transaction pooling "queue" for IDB storer

Significantly improves throughput.
Tradeoff is now any error can cause failures
for multiple oth...

869276672afa001847931f04b0d675db75c3e775 authored over 3 years ago by John Starich <[email protected]>
Switch to Queue for batching IDB transactions

836e4aa5c2062aaca9f65ca8b0fb92b2b69167e9 authored over 3 years ago by John Starich <[email protected]>
Use new IDB Request struct type instead of raw js.Value

07b64aaf880d876c10843b33b7311ec65723984d authored over 3 years ago by John Starich <[email protected]>
Cache .transaction() call on IDBDatabase

fce38da46509b32d5e89aaf90ae608ea680850ee authored over 3 years ago by John Starich <[email protected]>
Combine parent directory check into same file write transaction

f672ad8fac437a12fa6b9ef264680c9e75e0ae0d authored over 3 years ago by John Starich <[email protected]>
Simplify storer mkdir, deferring error handling to the storer

0b63c3f9233082f17f586b01806d441f0f0ad7ee authored over 3 years ago by John Starich <[email protected]>
Use separate string caches for paths and properties

af170d63ca097b1e5907ff0a1b3b3e263e116115 authored over 3 years ago by John Starich <[email protected]>
Don't keep gh-pages history, since binaries are rather large

c959ea93cb989a8915b7efc2ff7e0163f650b087 authored almost 4 years ago by John Starich <[email protected]>
Fix contributing guidelines link

a581752080d71c90f1382366f162a267c12e1916 authored almost 4 years ago by John Starich <[email protected]>
Add contributing guidelines

223f47bf6a184a1b04625929e094121b4f9fb835 authored almost 4 years ago by John Starich <[email protected]>
Add Travis CI checks for PRs (#2)

* Fix lint issues

* Add gitignore template

* Fix body closing too early

* Add make test...

4ece78d21179907ed978d3b1f7023b343aef0a01 authored almost 4 years ago by John Starich <[email protected]>
Set gh-pages hostname in Travis CI

e55082491c75007fe7707f9428c41c915852fa62 authored almost 4 years ago by John Starich <[email protected]>