r/mit6824clojure • u/TheLastSock • Jun 25 '20
r/mit6824clojure Lounge
A place for members of r/mit6824clojure to chat with each other
3
2
u/TheLastSock Jun 28 '20
1 lecture a week puts us at 42 weeks as where 2 lectures per week is 10 weeks. For me, a long slow class is much better as i have other responsibilities. I feel like this type of class should be aimed at people who have primary responsibilities beyond the class. However it's hard to imagine anyone sticking around for 42 weeks.
2
u/TheLastSock Sep 03 '20
Does moving on to lecture 9 seem reasonable? I think we stayed on lecture 8 for 2 weeks (because of the lab). It's perfectly fine to slow down a bit to allow for more digestion of a lab/concept. I'm going to give raft another 2-3 hours of time over the next couple days and hopefully i understand enough of it to move on. As i don't have an immediate need to write such an algorithm myself, i'm not to hung up on the finer details.
1
1
u/TheLastSock Jun 26 '20
the timing depends on when we get enough to launch. we need enough so that we can have a least two sessions at two different time slots with about 5 people.
the drop out rate is usually fairly steep. but we can aim for next week/weekend to start.
1
1
u/TheLastSock Jun 26 '20
u/zackteo go ahead and post something. I think it should be sufficient to just invite people to the subreddit and tell them to keep watch (notifications or what ever).
1
1
u/TheLastSock Jun 30 '20
Are there any questions about the class?
I was hoping there was a way to make the google calendar in such a way as people could sign up to the event as well as sync the calendar to there own set of calendars. the later is likely working correctly, but i don't see an option to make it an event people can sign up for.
1
u/TheLastSock Jul 01 '20
I setup a calendar with lecture review meetings people can join. the idea is to watch the lecture before that. I considered doing a group watch, but I think it's likely that the majority would rather just watch it in there own time
1
u/TheLastSock Jul 02 '20
a bit. I'm working on just reading the code. I might end up remodeling the lab itself. just to make the code not afraid of me then I am off it.
1
1
u/TheLastSock Jul 02 '20
u/m_woodworth if you run the emacs command cider-jack-in it will automatically inject those deps via clj. which has the same end result as what you did likely.
1
1
u/TheLastSock Jul 02 '20
my deps makes no mention of nrepl and I can run that command to start a repl sever. consult the docs for it for a better description.
1
u/TheLastSock Jul 02 '20
https://docs.cider.mx/cider/basics/up_and_running.html#auto-injecting-dependencies
you should be able to start it from any child directory.
1
1
u/TheLastSock Jul 03 '20
I'm not sure what your question is. those sound similar to the instructions, though I haven't completed the lab.
it's due in quite some time.
1
u/TheLastSock Jul 03 '20
I'm not sure, after glancing over the labs I was thinking I might re write them. I feel confident I know what they're going for and I to didn't find the expectations clear.
i was going to move it to be one jvm and then mock the distributed part in core async. then just plain clojure tests that highlight the important parts of what the lab is going for.
1
u/TheLastSock Jul 03 '20
to clarify, I find re writing code to be a good way for me to learn. often times the author has good reasons for what they did.
1
u/TheLastSock Jul 03 '20
the test being wrong on the official lab is highly unlikely. I'm guessing something is going on in bash we don't understand.
1
1
u/TheLastSock Jul 04 '20
the first lecture review is tomorrow. I'll be doing the morning one but not the afternoon one.
1
u/TheLastSock Jul 04 '20
It looks like i have to pay for Gsuit in order to host "google video meetings" where users can join without the host (me) admitting them manually. I'm going to try zoom. Can someone try joining this zoom meeting to see if it lets you in?
https://us04web.zoom.us/j/76462212139?pwd=UzVLaTBKdFZVb2pJSUNQV3lLMHgrQT09
1
u/TheLastSock Jul 04 '20
i'm 90% sure that will let people join without me. Which is ideal. Let me know if it doesn't work. I might jump into the next meeting tonight but not for long.
1
u/TheLastSock Jul 04 '20
I sketched out a solution to lab one, if anyone feels confident we can review it together sometime next weekend so we can help TA others. I need to add network failure conditions. But we can layer that in to make the feedback more exciting.
1
1
1
1
u/TheLastSock Jul 08 '20
I'm watching the second lecture, there is a lot of go specific stuff so far. for those that aren't familiar, clojures core async is based on csp, which is the same foundation for concurrency that go uses.
1
u/TheLastSock Jul 08 '20
it's a big topic and you definitely want to check it out Rich's talk on it.
1
u/TheLastSock Jul 08 '20
go is slightly more of a systems language then clojure, so the prof is using locks, I'm not sure that's particularly relevant to the end goal of building a web scraper though... it seems like a slight mismatch.
1
u/TheLastSock Jul 08 '20
do you think it's safe to say it's mostly irreverent to our goals here? Im considering making a post that points to core async material.
1
u/TheLastSock Jul 11 '20
I'll open the meeting at 7:56ish. Its a zoom meeting so its limited to 45 minutes. I'll see how this goes and we might switch back to google which has no limit.
1
1
1
1
1
u/TheLastSock Jul 12 '20
i posted my solution to the webcrawler. Take a look if you can't get something going in more then an hour or two of work. I spent about that long and i'm hoping other can build off that.
1
u/TheLastSock Jul 12 '20
I forgot about the second meeting time. hopefully no one tried to join... I'm likely going to just remove that spot tomorrow.
1
u/TheLastSock Jul 16 '20
how's it going? if you haven't messed with the map reduce lab you should probably start, it's due next week but it pays to try things early so you can ask questions.
1
u/TheLastSock Jul 16 '20
I'm removing the second spot in the afternoon. please message me if that's an issue.
1
u/TheLastSock Jul 17 '20
on the GFS lecture I'm not sure I understand the purpose of the version that the master keeps. but this likely related to the reading which I haven't done yet. :)
1
u/TheLastSock Jul 18 '20
interesting question posed here: https://youtu.be/EpIgvowZr00 around 50 minutes. I assume the easiest thing to do is just record the both sides. that you requested, and that it was acked.
1
u/TheLastSock Jul 18 '20
but if it can't be that, then it should write after it gets the ack from the primary, if it does anything else it would seem problematic.
1
u/TheLastSock Jul 18 '20
I recommend always using the morning paper to see if a paper has been covered: https://blog.acolyer.org/2014/10/30/the-google-file-system/.
Or if your a bad student like me and didn't find time to read the pre-lecture reading.
1
u/TheLastSock Jul 18 '20
u/rhishikeshj I think these are interesting questions. Some of them, at a glance, should be straight forward IF we have correctly modeled the current state. I think the issue is often that it's hard to do that academically and almost impossible to be sure of the properties in a real system.
Put another way, a acaandemic paper can build a proof because it can create the model. To answer the question on a real system i think you have to build a case by inference through testing.
1
u/TheLastSock Jul 18 '20
I opened the meeting. Do we want to switch back to google meet? I think i'm going to change the remainder to google meet bc it doesn't have the time limit
1
u/TheLastSock Jul 18 '20
meeting link: https://us04web.zoom.us/j/71549819558?pwd=OEpWNE1MUWJuakVFS3FtZGk2Wnc3dz09
In case the calander isnt working.
1
u/TheLastSock Jul 24 '20
heads up, I might not make tomorrow. someone else drop a link if I'm not there.
1
1
1
u/TheLastSock Jul 25 '20
i can't host today, but starting a meeting is easy enough. I'll be on for tomorrow's
1
1
u/TheLastSock Jul 26 '20
I might not make Sundays session either. someone else start a meeting if im not on
1
1
u/TheLastSock Jul 26 '20
is anyone jumping on? i opened the google meet, i switched it to google bc it said the zoom meeting id was invalid (no idea why)
1
u/TheLastSock Jul 26 '20
i removed the lab B review. We can recreate it for today if thats what people were interested in.
1
u/TheLastSock Jul 28 '20
we should schedule the part of next class for the lab. I don't think anyone got together last weekend. sat or Sunday.
1
1
1
1
u/TheLastSock Aug 01 '20
someone should build a sequence diagram drawer that has a transformation from a graph model via eav to the diagram
1
1
u/TheLastSock Aug 01 '20
it should support visual expansions, so that you can hide a set of relationships within one simpler visual que.
1
1
1
u/TheLastSock Aug 01 '20
k. i started the google meet, is someone wants to drop a jitsu meeting invite id be happy to try it.
1
1
u/TheLastSock Aug 01 '20
good discussions today. hopefully we can get more people involved next week.
1
1
u/TheLastSock Aug 08 '20
I might not be on tomorrow. we can move it to Sunday this week if people want?
1
u/TheLastSock Aug 08 '20
u/ErnestoGarciaGarcia ^ msg you sense you were the only one to show last week.
1
u/TheLastSock Aug 08 '20
just start a video meeting if people are ready to go today. I'll update the calendar to have one tomorrow.
→ More replies (1)
1
1
u/TheLastSock Aug 08 '20
u/macnamaralcazar my comment wasn't directed at you personally. maybe i accidently made it a reply.
I have been very upfront about needing help with organizing this from the start. check the chat and posts I made. will switch over to a video service where I don't have to be present for ever meeting.
1
1
1
u/TheLastSock Aug 09 '20
sure. i'm in the lab & lecture review meeting right now. I haven't had time to start the lab however.
→ More replies (1)
1
1
1
1
1
1
u/TheLastSock Aug 15 '20
I don't have a preference on times on Sunday it would have to be later though, not earlier
1
1
u/TheLastSock Aug 21 '20
my dog is having issues so I'm not sure I can join this week. hopefully things go well, but I'm finding it hard to do anything at the moment.
→ More replies (3)
1
u/TheLastSock Aug 29 '20 edited Aug 29 '20
I need to play catch up so raft and zookeeper will be the most I can get to.
1
u/TheLastSock Aug 29 '20
The more time i get to spend thinking on the idea's around consensus the more i realize the modeling has far more to do with human psychology then some grand universal truth.
Any number of other models could be used depending on a persons goals. A model that assumes every write succeeds is no less interesting. That we draw special attention to this notion of "linearizable" says more about how are brains work then it does about the the system. We like the idea of direct actualization (giving everything a soul) and so we like thinking of these things as "this read causes this write".
e.g i know my team won at 6pm.
vs
"given my team was up 10 to 0 with 1 minute left their is a very low likely hood that they will lose"
The later is stressful despite the fact that its inconceivable that your the opposing team scored 10 goals in 1 minute.
So we strive for assigning "finality" to everything despite that being an illusion. That however, doesn't mean it's something I have to do.
1
u/TheLastSock Aug 29 '20
I wonder if they draw time related diagrams going right to left in japan such that things start at the far right.
1
u/TheLastSock Aug 29 '20
i'm in the meeting, if anyone wants to chat. I'm still working on the raft lab.
1
u/TheLastSock Sep 02 '20
illl update the calendar today. hopefully we all find time to get through the raft lab this week so we can move on.
1
1
1
u/TheLastSock Sep 08 '20
PM your github username so i can invite you to be a collaborator on a repo, so we can share code easily. We organize it later (private v public) submodules whatever.
1
1
u/TheLastSock Sep 12 '20
I'm be on. I'll have about half an hour. I'm finishing watching lecture 9 right now.
1
1
1
u/TheLastSock Sep 12 '20
I wonder if it wouldn't be better in a lot of cases to go with weak constancy models and then have the user application have logic to translate to a more constant view.
→ More replies (2)
1
u/TheLastSock Sep 12 '20
Like, have a function to just pick an interpretation. e.g given the time and rate of change here is the likely current value.
1
u/TheLastSock Sep 12 '20
yes. exactly that. I'm just brainstorming how its reasonable to keep the information as abstract (probabilistic) as possible right up until the moment it needs to be interpenetrated for some use case.
There is no reason to do this until another system or person has to view it.
1
1
u/TheLastSock Sep 19 '20
no worries, u/ErnestoGarciaGarcia want to do tomorrow? anytime later is fine by me.
1
u/TheLastSock Sep 19 '20
let's do tomorrow so we get the full crew :) unless that messes up your plans u/ErnestoGarciaGarcia
1
1
u/TheLastSock Sep 19 '20
u/ErnestoGarciaGarcia around 45mins he talks about how their can be multiple writers in a quorum, but he doesn't say what configuration auzore uses. It's possible this is a setting in user land. This is how kafka works for instance.
I would guess its a settings option, but verifying that would probably take several hours.
1
u/TheLastSock Sep 20 '20
u/vh-6824 looks like will pick up next week? Unless your on now? I just signed on. Hope things are well in your neck of the world.
→ More replies (1)
1
u/TheLastSock Oct 02 '20
isolated, serializable and atomic all mean the same thing. Oh sure, he uses different words. But but one implies the other as surely as subtraction implies addition.
semi related... Many would be surprised to hear that postgres default functionality isn't serializable.> Read Committed is the default isolation level in PostgreSQL
https://www.postgresql.org/docs/9.5/transaction-iso.html#MVCC-ISOLEVEL-TABLE
Most senior programmers would be upset if you even mentioned this, underscoring that confidence and reality are rarely in sync. Also that it's probably far better to pick some goal and get it wrong and adjust then try to perfectly model something at the start.
→ More replies (1)
1
u/TheLastSock Oct 06 '20
u/vh-6824 yea. we can make it public though. it's not a big deal. Which do you want?
→ More replies (1)
1
u/TheLastSock Oct 10 '20
I might not be on, not feeling well. I'll pick up next week.
→ More replies (1)
1
u/TheLastSock Oct 24 '20
u/ErnestoGarciaGarcia Feel free to ping me with clojurescript questions on clojure slack or pm on reddit. There are so many ways to do the same thing that you will need to quickly become authoritative/opinionated in order to stay productive.
Another warning is that no one (but yourself) is going to actively transtion you from front end to backend. People never run out of front end issues so the better you get at them the more you will get.
1
1
1
u/TheLastSock Nov 07 '20
u/ErnestoGarciaGarcia There was some confusion around when the meeting was so we jumped on an hour early. Looks like will catch up next week.
1
1
u/TheLastSock Nov 14 '20
otherwise, lets cover cops next week? That might be for the best. i'm in no hurry :)
1
1
u/TheLastSock Nov 21 '20
datomic is an abstraction so your going to get some different models depending on which you choose.
1
1
1
1
1
u/TheLastSock Dec 12 '20
what are we up to tomorrow?
the one after bit coin? I think there is only 1 more. what a journey.
1
1
u/TheLastSock Dec 19 '20
not feeling stellar but I'll be on. want a billion dollar problem? fix bluetooth. it's so broken
1
u/TheLastSock Dec 19 '20
and again, sorry for today. im not sleeping well, I had like 3 cups of coffee so I could make it through that.
it's something that I have an issue right with for couple weeks every year. normally I have the sense to be quiet.
→ More replies (1)
1
u/macnamaralcazar Jun 28 '20
Do we still have to fill this forum https://docs.google.com/forms/d/e/1FAIpQLSdiSVAGQzF9VyLwqpzJ-R0N3PVeF8uQtsThF-wR-X4PUsyMAg/viewform to attend?
1
u/TheLastSock Jun 28 '20 edited Jun 28 '20
@mac
no, the subreddit and calendar servers the same purpose.
1
u/BodhAnveshek Jun 28 '20
Thank you u/TheLastSock for taking the initiative. As a working professional, I would also appreciate 1 lecture per week pace.
1
1
u/zackteo Jul 01 '20
Makes sense u/TheLastSock Do we also need do the "assigned" for the prep?
1
u/TheLastSock Jul 01 '20
no. Thats indicating when the class assigned the work. It will correspond to a "DUE" event. On lab review meeting will get together and talk about what we did and learned etc.
1
1
1
u/macnamaralcazar Aug 08 '20
so no session today?
1
u/TheLastSock Aug 08 '20
someone please link to a solution where I don't have to start the video meeting.
I can't afford to be anything other then a participant in this class.
→ More replies (1)
1
u/macnamaralcazar Aug 08 '20
If jitsi didn't work, I will check if I can create recurring zoom meeting without me being there so everyone can join
1
1
u/macnamaralcazar Aug 08 '20 edited Aug 08 '20
I created this test meeting
Meeting ID: 950 9656 7243
Passcode: 961767
can somebody try it? and let me know if you were able to join without me being there. It is from 11 AM to 11:30 AM EDT
1
u/TheLastSock Aug 08 '20
if you don't have a paid for account then you won't have the option to create host free meetings
1
u/vh-6824 Sep 26 '20
Who all are attending today? I’ll send a zoom link (instead of the jitsi invite in the calendar)
1
1
1
u/vh-6824 Oct 24 '20
^ u/ErnestoGarciaGarcia u/TheLastSock we're on. Join when you can
→ More replies (1)1
1
u/vh-6824 Nov 07 '20
Will send the zoom link as usual
1
u/TheLastSock Nov 07 '20 edited Nov 07 '20
Isn't it in an hour? Oh no the time change. Lol
→ More replies (1)
1
u/vh-6824 Nov 14 '20
I won’t be able to join this week’s meeting because of the Diwali festival. See you all next week!
1
1
1
u/vh-6824 Nov 20 '20
Folks, I won't be able to join this Saturday's class either due to other commitments. Does the same time on Sunday work for everyone? If not, please go ahead with the class as scheduled. Sorry! :(
2
u/TheLastSock Nov 20 '20
No worries. I'm fine waiting, but we need a majority vote other wise we default to going on.
→ More replies (1)
1
1
2
1
1
u/zackteo Jun 26 '20
Btw before we make a post on clojure about the community - should we settle on the timings and all?
1
u/zackteo Jun 26 '20
There's a Clojure telegram chat. Alright if I post there to ask if anyone is interested?
Also, I think can make the reddit post on r/Clojure will draft something out
1
u/zackteo Jun 27 '20 edited Jun 27 '20
u/TheLastSock Should we have an introduction post? Actually this works for now I guess
1
u/agumonkey Jun 27 '20
hoi
thanks for the initiative, how much experience in clojure do you think would be required ?
1
1
u/afhammad Jun 27 '20
Count me in, i’ve already watched a couple of the lectures and enjoying it so far.
1
u/petemak Jun 27 '20
Hello to the organisers. I'd be very intersted. Please let me know when this gets starred.
1
1
1
u/macnamaralcazar Jun 27 '20
hello everyone, I am interested in both distributed systems and Clojure but I am a Java developer with no Clojure experience, do I qualify? Anyway, great idea and thanks for the organizer
2
u/afhammad Jun 27 '20
Having Java XP puts you ahead of most that are new to Clojure as you WILL need to understand Java error messages and stack traces and libraries to do any serious projects.
1
1
1
u/noorAF Jun 28 '20
Have been doing Clojure Development since past 6 months. I would love to be part of this.
1
u/macnamaralcazar Jun 28 '20
I also like once a week, I don't think I will be able to cope with 2 lectures, later we can adjust the pace
1
1
1
1
u/m_woodworth Jul 02 '20
Recreating the go libraries and all the relevant tests is more than I'm comfortable with so I'm definitely sticking with what Siclait created
1
u/m_woodworth Jul 02 '20
I did have to spend some time figuring out how to set up my repl with deps.edn as I've only used lein before... it was actually fairly time consuming (at least for me)
1
1
u/m_woodworth Jul 02 '20
i did get it working but it involved hours of reading/fiddling - had to update CIDER, modify the deps.edn to include an alias for nrepl, etc.
1
1
1
u/m_woodworth Jul 02 '20
lein was working fine but using deps I was getting errors about nrepl being out of sync with cider, so had to upgrade then got it working
1
u/m_woodworth Jul 02 '20
one thing I did notice though is that now I have to start the repl from the project root, whereas previously using lein I could start the repl from any child directory inside the project, and it would work fine
1
u/m_woodworth Jul 03 '20
i spent quite some time reading the docs - i'll have a look again but honestly once I upgraded and got it working, i stopped researching
1
1
u/m_woodworth Jul 03 '20
related to the lab 1... I'm a bit confused on the instructions. My understanding is we should produce "n" output files, where "n" is the number of workers
1
u/m_woodworth Jul 03 '20
and those files, when sorted and combined, should match that of the sequential run
3
u/TheLastSock Jun 27 '20
I just updated the class calendar (see resources on right) to reflect what i imagine is a reasonable schedule.
per week: 1 live lecture view, 1 lab due, 1 live lab review. Note the calendar just links to the schedule in the notes. We an fill it in if we like, but it should also be obvious from when it starts which lab were on.
I would appreciate some feedback on the calendar, both in terms of the pace, time and how easy it is to integrate in with how ever you keep track of events. Will never be able to find a time slot that works for everyone, but we could potentially duplicate the live events to sat evening as well so people had their pick of two identical slots.
I think we can have the first meeting next week sat given the current number of people on the subreddit.