Trolli Schmittlauch schmittlauch
  • Joined on 2017-06-16
schmittlauch opened issue schmittlauch/Hash2Pub#24 2020-05-26 11:59:18 +02:00
Caching layer for DHT node responsibility resolution
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-25 22:11:29 +02:00
e3bfa26ddb join request + large FediChord refactoring
schmittlauch commented on pull request schmittlauch/Hash2Pub#17 2020-05-23 17:57:59 +02:00
Linting integration

The helper script can be run in a CI action or a pre-commit git hook (very useful, I also use that for hlint).

If run as a pre-commit hook, wouldn't it always complain about a dirty working directory then as before a commit changes aren't commited yet?

schmittlauch deleted branch hlint-configuration from Hecate/Hash2Pub 2020-05-23 17:53:51 +02:00
schmittlauch commented on pull request schmittlauch/Hash2Pub#17 2020-05-23 17:53:29 +02:00
Linting integration

And finally, a stylish-haskell helper script that detects if code files are dirty. Can be useful for CI, although manually calling it can be nice if you would rather first implement then beautify.

@hecate I do not fully understand what's the best way of using stylish-haskell in my workflow:

On the one hand I'm too lazy for calling the tool itself for each single file of my project.
When using the helper script, I usually commit my changes first, then run the heloer script and --amend the formatting changes to the previous commit. This only works though when always committing all changes from the repo, not only those of a single file or even a chosen patch set.

Why does the helper script care about a dirty working directory?

schmittlauch opened issue schmittlauch/Hash2Pub#23 2020-05-22 22:53:24 +02:00
remove node from cache after it failed to respond a number of times
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-22 22:12:53 +02:00
d5841d13fd extract queryID message sending function so it can be used for first join
059cc5fcc9 extract queryID message sending function so it can be used for first join
Compare 2 commits »
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-22 22:02:55 +02:00
059cc5fcc9 extract queryID message sending function so it can be used for first join
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-22 00:06:32 +02:00
16769d1395 Merge branch 'refactorNodeState' into dhtNetworking
bbe7078369 adjust tests to work with new NodeState types
e8091b0a29 change all function definitions to new NodeState types
fe673dc255 make NodeState a typeclasse, define setters and getters on its representations
Compare 4 commits »
schmittlauch opened issue schmittlauch/Hash2Pub#22 2020-05-21 10:23:55 +02:00
Use only main domain name for NodeID generation
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-20 19:28:10 +02:00
99a2b0ba09 add instance deriving instructions
f6c252d314 sending a queryID request compiles (untested)
Compare 2 commits »
schmittlauch opened issue schmittlauch/Hash2Pub#21 2020-05-20 17:23:25 +02:00
Why the hell does FOUND use a Set?
schmittlauch opened issue schmittlauch/Hash2Pub#20 2020-05-20 14:30:52 +02:00
Refactor common accessor functions of internal and remote NodeState to a type class with 2 types
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-19 19:50:45 +02:00
beffab99a0 clarify counting of FediChordMessage parts
c31baa3635 run stylish
8d18f952cd implement send-receive-acknowledge-retry loop for requests
Compare 3 commits »
schmittlauch commented on issue schmittlauch/Hash2Pub#19 2020-05-19 19:40:18 +02:00
background job processing for delivering ActivityPub pushes

This one pulls in Postgres. I still have to decide on how to persist data, will probably ask around in the SocialHub thread quite soon.

Note to self for further reading: https://www.haskelltutorials.com/odd-jobs/haskell-job-queues-ultimate-guide.html

schmittlauch commented on issue schmittlauch/Hash2Pub#19 2020-05-19 19:28:24 +02:00
background job processing for delivering ActivityPub pushes

The DHT layer also needs to schedule regular maintenance jobs, but as those won't pile up such an asynchronous background processing worker queue isn't necessary.

schmittlauch commented on issue schmittlauch/Hash2Pub#18 2020-05-19 19:25:37 +02:00
Main.hs should not live in src/

I'll take care of this at the next larger feature branch merge.

Can you point to some examples for this convention? The Main.hs didn't always reside in src/, but I moved it there after looking at other packages (I guess pandoc was one of those).

schmittlauch opened issue schmittlauch/Hash2Pub#19 2020-05-19 19:22:50 +02:00
background job processing for delivering ActivityPub pushes
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-05-19 16:52:45 +02:00
0e6f126b3b Merge branch 'master' into dhtNetworking
b8eeb852da Merge pull request 'Linting integration' (#17) from Hecate/Hash2Pub:hlint-configuration into master
7fd369c8c5 add stylish as haskell linter
41e999ed99 Linting integration
d049b65f1e add readme
Compare 6 commits »
schmittlauch merged pull request schmittlauch/Hash2Pub#17 2020-05-19 16:36:00 +02:00
Linting integration