Posts by fasterthanlime@mstdn.io
(DIR) Post #1314810 by fasterthanlime@mstdn.io
2018-11-18T15:38:06Z
0 likes, 1 repeats
If you ever want to roleplay Joe Biden reading Garfield, https://weneedbees.itch.io/jbgrs has you covered.
(DIR) Post #1378857 by fasterthanlime@mstdn.io
2018-11-21T12:06:41Z
0 likes, 0 repeats
Folks say the hardest problem in computer science is caching, but I have to say my personal favorite has to be
(DIR) Post #1378858 by fasterthanlime@mstdn.io
2018-11-21T12:06:42Z
0 likes, 1 repeats
pagination
(DIR) Post #1384601 by fasterthanlime@mstdn.io
2018-11-21T21:52:58Z
2 likes, 2 repeats
A company's network was penetrated today â the attacker sprayed perfume into the ventilation system and waited for the system administrator to vacate the premises, thus gaining access to the server room.Experts say this may be the first "side-chanel" attack in recorded history.
(DIR) Post #1479100 by fasterthanlime@mstdn.io
2018-11-22T11:13:14Z
0 likes, 0 repeats
Just got started on mitch, a mock http://itch.io server which I'm going to use for itch app + butlerd integration testshttps://github.com/itchio/mitchServes /profile for now, more endpoints to come. Stole the idea from stripe-mock!
(DIR) Post #1479101 by fasterthanlime@mstdn.io
2018-11-22T11:13:15Z
0 likes, 0 repeats
this is not (yet) useful to the general public, but running integration tests faster is good, yes?
(DIR) Post #1479102 by fasterthanlime@mstdn.io
2018-11-22T17:21:34Z
0 likes, 0 repeats
Getting somewhere! for this test I'm creating a public game with only one upload: a .love bundle.Even though it's technically a .zip, it shouldn't get extracted. It's a tiny regression test, but nice to be able to express it succintly.
(DIR) Post #1479103 by fasterthanlime@mstdn.io
2018-11-22T17:26:09Z
0 likes, 0 repeats
For this test mitch has to serveGET /profileGET /games/:idGET /games/:id/uploadsPOST /games/:id/download-sessionsGET /uploads/:id/downloadGET /_cdn/*And it works quite well! Two example endpoints:
(DIR) Post #1479104 by fasterthanlime@mstdn.io
2018-11-22T17:26:12Z
0 likes, 0 repeats
Not going to lie though, I would *kill* for even a tiny bit of inference in Go (and some generics seasoning). I could get rid of so much boilerplate, see these calls for example:
(DIR) Post #1479105 by fasterthanlime@mstdn.io
2018-11-22T17:47:53Z
0 likes, 0 repeats
Woops, I forgot the mock cdn has to implement HTTP ranges
(DIR) Post #1479106 by fasterthanlime@mstdn.io
2018-11-22T17:58:36Z
0 likes, 0 repeats
There, that should do it - panics be damned!
(DIR) Post #1479107 by fasterthanlime@mstdn.io
2018-11-23T12:11:30Z
0 likes, 0 repeats
"web uploads" work great with mitch, next step is butler uploads. Luckily, the wharf API has everything we need:(that's just for signing, diffing is next)
(DIR) Post #1479108 by fasterthanlime@mstdn.io
2018-11-23T18:01:50Z
0 likes, 0 repeats
soI didn't want to use a real database, but I got tired of writing ListGameAdminsByGameID functions and simultaneously remembered that go reflection is a thing, so...
(DIR) Post #1479109 by fasterthanlime@mstdn.io
2018-11-23T18:01:57Z
0 likes, 0 repeats
Of course, you don't want to see what code backs this, unless you do, in which case here it is:(all of this is, obviously, very unsafe and very naughty)
(DIR) Post #1479110 by fasterthanlime@mstdn.io
2018-11-25T13:28:11Z
0 likes, 0 repeats
https://github.com/itchio/mitch (mock http://itch.io server) now serves all endpoints used by https://github.com/itchio/butler integration testsbenefits:- declarative scenarios- no need for internet connection- tests now run 5x faster on my slowest laptop
(DIR) Post #2639140 by fasterthanlime@mstdn.io
2019-01-04T16:59:17Z
4 likes, 14 repeats
â£
(DIR) Post #3158888 by fasterthanlime@mstdn.io
2019-01-19T21:33:41Z
1 likes, 0 repeats
introducing communist C++RAII = Resource Acquisition Is Immoral
(DIR) Post #3324722 by fasterthanlime@mstdn.io
2019-01-24T13:32:26Z
0 likes, 1 repeats
Since Google announced they're crippling adblockers in Chrome, I'm trying Firefox 64 as my main browser today, will post finding in this thread (which you should mute if you don't care about these things)
(DIR) Post #3561305 by fasterthanlime@mstdn.io
2019-01-30T20:37:54Z
0 likes, 1 repeats
french language stackexchange is lit
(DIR) Post #9ylEehUsg9Bfi3J2LA by fasterthanlime@mstdn.io
2020-09-02T21:13:40Z
1 likes, 0 repeats
It's time for a new adventure! âšI'm thrilled to announce that I'm joining Netlify as a staff platform engineer. I'll be focusing on Netlify Edge: https://www.netlify.com/products/edge/ - which enables fast, reliable and secure web applications.Can't wait to get started! ð