Haskell beginner here.
Working on a Haskell CLI tool for managing my contract working hours on a daily basis and keeping track of how many hours were worked for whom, etc, and doing so in plain text files, similar to https://github.com/ginatrapani/todo.txt-cli.
Here is the planned API, and I’ve only really gotten started on the ls feature:
https://github.com/rpearce/timetrack-cli
Any feedback on how to approach this is <3 and welcome.
You can turn these into optics like what the Haskell lens library supports. This provides a benefit of composition. An example is Optika.
While ramda does have some lens capabilities (see http://ramdajs.com/docs/#lens – should this have been included?), I didn’t know about Optika – very cool.
edit: I plan on doing a full writeup on using lenses to transform data, so I will at least cover them there.
[Comment from banned user removed]
This is a pretty standard thing to do once you’ve protected the master branch on a project, which is also a pretty standard thing to do.
[Comment from banned user removed]
[Comment from banned user removed]
Ease up, man. This form of “my method is better – period” does nothing but alienate the argument and vilify the author (you). Imagine how this makes people feel.
I doubt you’re here to stroke your ego, so if you want to get your point across effectively, consider using a different approach than this.
ON TOPIC: There is no right answer here, as whatever works best for teams/groups/individuals will vary wildly.
[Comment from banned user removed]
If you’re right, it’s enough to be right. Being rude to other people doesn’t make you more right.
Please take a look down your recent threads. The downvotes you’re getting are not incorrect. You’ve sometimes had good technical points to make, but your attitude and communication style has overwhelmed your ability to share your knowledge and be part of this community. If you care about participating effectively, you need to change the way you communicate. And if you don’t care, why bother posting?
[Comment from banned user removed]
Stop insulting people and assuming their opinions come from ignorance, incompetence, and malice. If you can’t treat others with common courtesy, let alone kindness, you should leave. If you can’t be at all polite or be quiet, I’ll ban you. This is normal for Lobsters and the vast majority of online and offline communities.
[Comment from banned user removed]
pushcx has my full confidence. I’ve been involved in running various online communities for something like fifteen years now, and he’s doing fine. If anything, he’s doing a better job of parsing out people’s concerns here than I am, lately.
I urge you to take the advice to examine your own recent words. I don’t think I have the ability to help, beyond giving that advice; this is really something you have to do yourself.
The Internet is probably way too far on the contempt side by default.
That said, is there a way to critique a community’s values (social, engineering, etc) without it being perceived as an attack?
I think focusing your critique on a specific point is what’s actually valuable.
For example, with the leftpad debacle:
npm is a garbage fire”: This is….. super useless! I get told this, what do I do with this? Reply “ummm OK then guess I like trash”? But this is what people were sayingUltimately people care about what community they’re in, and you can almost always reformulate things in a positive manner, and move forward.
Another example is Rick Hickley’s clojure conj 2017 opening (this thing). This is a pretty good example of how not to make critiques. He spends a bunch of time complaining about types so people like me (who has seen massive productivity gains from Typescript in particular) just gets completely turned off.
But if you listen, there’s kernels of truth and insight that everyone wants to hear. He’s not against any sort of static verification, more against overbroad/program-wide stuff. He’s in the same camp as many Typescript people, but alienates them immediately! Meanwhile he has interesting points (“Don’t mess with things”/“offer low coupling”/“a la carte static verification”) that are … even more interesting to people in the more typed domains. Interesting stuff to think about, all ignored because of the rant-y feel of the message.
Your thing could be better than someone else’s…. so offer why your thing is good! Don’t insist on why their thing is bad! Then they can try to take some stuff from there, instead of just getting pushed away
I tried to address this behavior from a team-oriented, “we-know-not-what-we-do” perspective earlier this year in a talk at New Zealand’s JavaScript conference in Wellington:
“Behaviour & Your Team” https://robertwpearce.com/blog/behaviour-and-your-team.html (VIDEO)
You can critique something without holding it in contempt, but it’s nearly impossible to write politely about something you are contemptuous of.
One way is to contribute to that community. Demonstrate that you’re critiquing it because you want to make it better, and that you are in the process of making it better.
Liu Cixin’s The Three-Body Problem. This is the first work of fiction that I haven’t been able to put down in a while. If you enjoyed Cryptonomicon, you’ll also enjoy this book.
It was long and uninteresting on all fronts: the characters weren’t interesting (I can barely remember any of them as people), the plot was structured as zero progress through most of the book and then a deus ex machina at the end, the historical stuff that takes up most of the book just isn’t interesting enough in its own right but isn’t connected to anything else either. The MMORPG conceit makes no sense on any level - why would the game exist? How does its technology work? Why would it have that invite system? Why do none of the supposedly smart players figure out what’s going on? (it’s only right there in the name). The process of inventing science can be done interestingly (I loved The Clockwork Rocket), but in Three-Body Problem it isn’t, because just as with the plot there’s no sense of progress: complete failure for most of the book and then sudden magical success at the end.
Would you recommend reading Cryptonomicon first? I’ve just purchased The Three-Body Problem, and it’s next on my list.
I enjoyed The Three-Body Problem but have really struggled with the second book in the series. I’m not sure exactly what to pin it up to, but I think some lack of cultural understanding is making it harder to keep my attention.
I’d always wondered if anyone had read the novel in Chinese. How is it? Perhaps it reads fantastically in the original publication.
Haskell Programming from First Principles (http://haskellbook.com)
My progression over the past year from Ramda.js + Redux ideas to Professor Frisbee’s videos to Elm and the more functional world have led me to this book after looking at a few others. I’m only ~200 pages in, but I like it so far, and the intro on lamda calculus was supremely helpful at understanding the why behind a number of things. It’s going to take a LOT of time to breach this world, but I’ve got some little projects lined up I want to try to make, so we’ll see what happens this week and next week and the following and…
I offered to work at a company (NOT a startup) for free until I contributed to the codebase. It took a month, then I worked for $8/hr for two months, then came on full-time after that.
That was 6.5 years ago and every job I’ve had since then has been through referrals. Any attempts I’ve made with recruiters or online freelancer sites have turned up nothing for me, so I don’t bother with them any more and instead lean on my contacts.
On the OSS-side of things, I’m working on a contribution to the Folktale JavaScript library to port a small Node library I wrote to convert node-style callbacks (“nodebacks”) to Tasks over to the Folktale ecosystem: https://github.com/origamitower/folktale/issues/96
Learning how things are done at my new job, continue attempting to fix my sleep schedule so I don’t fall asleep at the aforementioned new job, continue attempting to move from Bash to Zsh…
btw, I finished that mandolin strap I mentioned a few weeks ago: https://www.instagram.com/p/BgjgrF9g5vN/
Nice work on that strap. Super unique