Fork me on GitHub
#off-topic
<
2021-05-06
>
Brett Rowberry03:05:18

I’m new to Clojure and just discovered https://practicalli.github.io/clojure/alternative-tools/clojure-tools/cognitect-rebl.html I’m looking for blog posts etc. showing how to use it to create diagrams, bar charts, that sort of thing.

Brett Rowberry03:05:18

I’d also be happy to use any REPL driven way to create charts - doesn’t have to use REBL

dpsutton03:05:17

i think reveal has some charting capacity

👍 3
Brett Rowberry04:05:29

This looks like a great fit!

Brett Rowberry04:05:58

Any good plotting/charting/graphing libraries in case I grow out of what Reveal offers?

Alex Miller (Clojure team)04:05:56

REBL does charting (uses JavaFX)

Alex Miller (Clojure team)04:05:41

in Java land, JFreeChart is the classic one to use (you have to pay for the dev guide which some people find annoying), but XChart has gained some traction too

👍 4
simongray06:05:46

For anyone doing HTML, this article is pretty nice: https://markodenic.com/html-tips/

3
nice 7
💯 10
👍 2
walterl19:05:43

Almost all of those were new to me 🤯

hindol10:05:47

Not sure where this fits, but Microsoft now has a build of OpenJDK with long term support. https://devblogs.microsoft.com/java/announcing-preview-of-microsoft-build-of-openjdk/

👀 2
vncz13:05:13

> The Microsoft Build of OpenJDK binaries for Java 11 are based on OpenJDK source code, following the same build scripts used by the Eclipse Adoptium project and tested against the Eclipse Adoptium Quality Assurance suite (including OpenJDK project tests). Stupid question: in such case, why should I even care? The Amazon one (Corretto) claims to have some differences and performance improvement to be ran on their infrastructure, so it might make some sense

Ben Sless13:05:28

A. LTS B. Responsibility, see the "mystery meat jdk build" with Debian

vncz13:05:10

What do you mean by LTS? Doesn’t AdoptOpenJdk provides the same?

Ben Sless13:05:51

Some providers could theoretically guarantee support past the end of official LTS

Ben Sless13:05:10

Backporting patches themselves, etc

vncz13:05:25

Ok understood. While I see the argument, I still find it kinda of a PR rather than something really useful

hindol13:05:26

It is not PR. Microsoft is using Java more and more internally so it makes sense for them to have a build they control. The general public benefits by having another alternative.

👍 4
borkdude13:05:40

I think it's good to see that Microsoft has interest in Java. It makes the platform stronger if it's not solely carried forward by a single vendor.

vncz13:05:50

It is surely not going to hurt anybody, that’s granted. My question was more like why shall I care about yet another build that is from the exact same sources

Ben Sless14:05:29

First, even being built nominally from the same sources is not a guarantee of the build's contents https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-May/009330.html

Ben Sless14:05:44

Second, Java 11 is planned for support until 2026. Some vendors will probably wish to extend it

Ben Sless14:05:16

Third, there are certainly PR elements and "embrace" in play

vncz14:05:25

I see I see

craftybones10:05:32

Please have a look at Vega and Oz!

Brett Rowberry12:05:57

Looks beautiful! Thanks!

gklijs12:05:47

For example see https://graphql.gklijs.tech/results/graphql-servers-feb/average-latency using Oz and Vega. Pretty easy API, and lots of options.

🆒 3
vncz13:05:13

> The Microsoft Build of OpenJDK binaries for Java 11 are based on OpenJDK source code, following the same build scripts used by the Eclipse Adoptium project and tested against the Eclipse Adoptium Quality Assurance suite (including OpenJDK project tests). Stupid question: in such case, why should I even care? The Amazon one (Corretto) claims to have some differences and performance improvement to be ran on their infrastructure, so it might make some sense

dpsutton14:05:28

anyone finding it harder to learn and/or work on projects after work? Got good suggestions to reset?

delaguardo15:05:26

Doing something monotonic works for me. Cooking or cleaning for example

delaguardo15:05:12

The only requirements - it must not be anything creative

dpsutton15:05:15

stop trying to spend creative energy all the time? fall back to some activity that is more rote but enjoyable?

Ben Sless15:05:05

Is it possible there have been circumstances changes in your life? Are you dealing with more stress for some reason?

dpsutton15:05:02

not really. just drudgery of pandemic, etc

Ben Sless15:05:36

First, it's okay to take a break. Nothing wrong with just taking it easy at the end of the day for a few weeks. Second, try some inspiring reading material which will make you want to tinker and experiment. A good talk, paper or book which makes you say "I want to try implementing that"

Jeff Evans15:05:05

I don’t really have a scientific explanation for it, but I find that to the extent I’m able to abstain from scrolling on social media (especially Twitter), I feel more energetic and less “sapped” in the evenings. TikTok is the exception because a little bit of that can be hilarious/invigorating.

☝️ 4
Ben Sless15:05:49

Social media is pretty much designed to make you miserable. We already know it's designed to capture attention. All research on consumer spending shows unhappy people tend to consume more. Draw your own conclusions on what they're incentivised to promote and foster

💯 4
seancorfield16:05:11

A big ol’ for avoiding “doom scrolling” on social media. I only check Twitter/Facebook at lunch time and dinner time and otherwise stay off it a lot more than I used to. As for learning and what my wife refers to as “play work” (as opposed to the “work work” I do during the day), I have definitely found it a bit harder to get motivated around some of that. I’ve taken to taking full days off work and I make myself relax/read/do chores (something mindless) in the morning and then sitting down after lunch and spending a couple of focused hours on whatever “play work” I want in the afternoon. That way I can sleep in if I need to but still treat the afternoon as “work” and then step away from it at dinner time.

seancorfield16:05:02

I’ve also started to set aside one afternoon each weekend for “play work” / learning. I don’t do it every weekend, but most weekends I’ll spend 2-3 focused hours either Saturday or Sunday after brunch, away from the TV, and away from social media. This past weekend I read Zach Tellman’s “Elements of Clojure” end-to-end again to try to soak more of it up.

seancorfield16:05:49

But, definitely, the unceasing drudgery of the pandemic is getting to even the most introverted of us at this point 😐

Stuart16:05:31

I find it more enjoyable to work on projects after work, its getting through the working day that is difficult!

Stuart16:05:12

But when I do want to get away from programming stuff, I like lego. Yes, I'm an adult... but still, building a bit lego thing is pretty great. It's almost mindless but still quite fun / interesting.

craftybones16:05:00

One other thing I’d recommend is to not get yourself down if you can only make very little progress. That steady progress, even a line of code is a lot better than just giving up on it. So if you can even add a comment, I’d recommend that.

craftybones16:05:02

After having played music for almost my entire life, I stopped practicing for a year and I don’t regret it

Jeff Evans16:05:04

I think that’s a great tip. Another one I heard a while back, which seems to work with me, is to deliberately leave some little “known” thing unfinished when you stop for the day or night. Like, you could easily just fix that bug and get the test passing before closing the laptop. But if you leave it for the next time, then when you pick it up again, you’ll immediately have something easy you can fix to build up momentum (since often times, just getting started is the hardtest part).

Stuart16:05:07

Yeah, I find that helps me. If I'm not motivated then break down what I want to achieve into small tasks, sometimes very very small tasks. • Create a git repo. • Create an empty project. • blah • Blah But make sure at least one of the tasks is something that I can achieve RIGHT NOW in a few minutes. If the a few of them are like that then great, it's a way to get started. I can tick them off my todo list, which I keep in emacs and I find that sort of motivates me to keep going

dpsutton16:05:10

I saw something on twitter the other day that i liked. How we turned the point of hobbies to be really good at them instead of enjoying doing them. I've been trying to run more often and just enjoy it. Kinda fits with the mindless thing as well

Ben Sless16:05:51

Running is excellent for putting your conscious worries on the back burner and endorphins

Jacques Leupin16:05:55

I’ve recently started intermittent fasting (simply skipping breakfast and eating a late lunch). It’s made working on projects/learning easier for because I have more energy throughout the day and am less sleepy after eating.

Jacques Leupin16:05:39

The early literature on intermittent fasting also suggests other health benefits:

Stanislav K.16:05:10

@U11BV7MTK I got a work laptop from my employer. I just close it and open my personal laptop immediately and crunch out 1 hour for my personal projects after my work hours are finished.

dpsutton16:05:30

i work on an open source project so i just use my single laptop. but i don't think that's the problem its just focusing on stuff at the moment seems more difficult. I have lots of things i want to do I just don't do them. couple compiler papers i want to read, study cassandra source code, figure out how to introduce a SAT solver into work project, etc

Stanislav K.16:05:47

with 1 hour a day for long period of time, I managed to bootstrap couple of projects that generate my some additional beer money.

Stanislav K.17:05:48

I, unfortunately, have issues focusing on one project. So for me -- juggling projects in parallel is easy.

walterl19:05:27

☝️ by CGP Grey

dominicm20:05:57

You might enjoy Cal Newport's work where he talks about deep leisure activities :). There's a great part in "How to live on 24 hours a day" (which also talks about leisure): > One of the chief things which my typical man has to learn is that the mental faculties are capable of a continuous hard activity; they do not tire like an arm or a leg. All they want is change—not rest, except in sleep. > The tired feeling hangs heavy over the mighty suburbs of London like a virtuous and melancholy cloud, particularly in winter. > But when you arrange to go to the theatre what happens? You rush to the suburbs; you spare no toil to make yourself glorious in fine raiment; you rush back to town in another train; you keep yourself on the stretch for four hours, if not five;; Essentially - your brain needs change. You have the energy, but the tired feeling will sit over you if you do not do something else. 24 hours a day also talks about training your brain to concentrate (which Cal Newport also talks about a lot). You need to spend time sitting, focusing. The brain is like a muscle in this way.

teodorlu08:05:31

Take long walks 🙂

Thomas Moerman10:05:29

A few thoughts: • listen to your body: if you are too tired for creative work, don't try to force it, prioritize getting rest or more hours of sleep first • hammock time is possible in many shapes and forms: personally I like riding my bicycle a few hours or do some gardening to vent the ole' brain. I guess activities like painting or building Lego models are also good for allowing the background brain to work while focusing the active brain on a simple task • exercise is paramount to clear your body of stress hormones, you may want to flush these out before doing creative work • spend time in sunlight or outdoors, personally i get brainfog from too much chair-time • optimize office/creative space for silence (if you're an introvert) and good air • radically prune your twitter/facebook feeds, don't consume content that gets under your skin • it's OK not to be super-productive all the time :thumbsup:

nice 2
delaguardo10:05:54

last point definitely should comes first )

😅 3
sova-soars-the-sora18:05:55

Anyone studying any foreign languages?

manutter5118:05:14

Does DuoLingo count?

manutter5118:05:12

I’m doing Portuguese, Swedish, and Japanese.

2
2
sova-soars-the-sora18:05:15

DuoLingo counts. ^.^ Do you find you are retaining what is being learned via the app?

yunior18:05:18

German in my case. If anyone wants to talk to practice I’m available.

hindol18:05:11

I tried learning French. Went quite far in Duolingo. But without practice, forgot most of it. Are there beginner level podcasts, youtube channels that I can listen to?

hindol18:05:37

Not looking for dual language podcasts where people are trying to teach. More like listening to news/stories etc. but in simple French.

andy.fingerhut18:05:56

Maybe recordings of reading children's stories in French?

hindol19:05:32

I tried reading children's stories but quickly lost interest. I found a nice app that had the story in French and the English translation side by side.

sova-soars-the-sora18:05:11

For French? I sometimes put on French news radio and try and pick out words here and there. I haven't explored the world of beginner podcasts but there are likely some good ones, maybe some great youtube channels, too.

hindol18:05:00

Yes, for French. A news channel will be a good fit, but is there one where they intentionally use simple language?

sova-soars-the-sora15:05:10

One thing in French a Day and Coffee Break French might be up your alley

hindol16:05:33

Looks like they are. Thanks for the links.

dpsutton18:05:30

Would be interested in those if you have a few recommendations

Alex Miller (Clojure team)18:05:46

I find all the app things are too unstructured for me. I want to actually be taught like the alphabet, numbers, how to conjugate, etc.

Alex Miller (Clojure team)18:05:06

but I think they are useful in combination

dpsutton18:05:35

i think i remember Justice Sotomayor learned english while at Yale or Princeton by reading children's books. I like that strategy

sova-soars-the-sora19:05:01

That's mind blowing

manutter5119:05:24

That’s what I’m finding. My retention isn’t too terrible for rote stuff, but I find myself wanting a more complete explanation of the why’s and wherefore’s of the grammar and usage and stuff.

Alex Miller (Clojure team)19:05:39

like it or not, intentional instruction works :) whole language/absorption works for some

manutter5119:05:07

Childrens books are great. I have a French edition of a Charlie Brown comic book somewhere

manutter5119:05:40

and there’s one weird comic in it. Linus and CB are looking up, and Linus says “Regarde, CB, c’est une avion”, and CB replies, “Non, c’est UN avion.” And Linus says, “Ah? À quoi tu voies ça?” Which in English is, “Look, an airplane (feminine),” “No, it’s an airplane (masculine)” “Really? How can you tell?” And it’s weird because all the other comics are translations of English comics, but English doesn’t use masculine and feminine for inanimate objects, so where the heck did the original joke come from for that?

Mno19:05:47

I've been told that duolingo Portuguese is more Brazilian portuguese than Portugal portguese, and there is a jump from one to the other

manutter5119:05:11

DuoLingo Portuguese is definitely Brazilian.

manutter5119:05:51

I’ve found some Brazilian videos on Netflix, and it’s fun, but the accent is VERY different.

manutter5119:05:16

But I think that’s formal vs informal, not Portuguese vs Brazilian.

Mno19:05:30

Ahh that makes sense

Mno19:05:00

I used to watch TV in portguese because directv broadcasted both versions in south america

walterl19:05:24

I learned the bit of German I know via: * Primarily audio lessons (helped a lot with pronunciation) * Reading German news (http://dw.de - pretty complicated for n00bs) * Forming hypotheses about what I hear/read and confirm them on other sources (like http://dict.leo.org) * Duolingo (for practice) I'm not convinced that that's a particularly efficient way to go.

walterl19:05:59

I've also heard that childrens books are a good way to learn, and makes perfect sense to me: my German is at (most at) a 5-yo's level 😅

Mno19:05:21

I've heard of a chrome extension which slowly starts replacing words in your web pages with the language you choose

Mno19:05:38

And so you gradually pick up Vocab

sova-soars-the-sora19:05:10

I find it interesting that very few programs / courses / online things are aimed at teaching adults a language ... we already have plenty of nouns and verbs in our mother tongues we could be leveraging to learn faster. It's kinda hard to find a spare 18 years to go from adolescent to high school grad in a new tongue. Plus, not enough mommies to carry me around while I ask "what's that called?"

Heather19:05:26

I’m doing Portuguese on Duolingo, too. My husband speaks Portuguese (Brazilian), so he’s around to fix my pronunciation.

sova-soars-the-sora19:05:43

That's awesome, real life teacher in the mix ^.^

manutter5119:05:50

One language trick I use is to check netflix etc for dubbed versions, English <-> target language, and flip between them, rewind, etc

manutter5119:05:28

I’m still averaging about 5-10% comprehension on the Brazilian, but it’s still fun to recognize bits and pieces.

jkxyz19:05:44

Movies with subtitles in your target language are a great way to passively pick up conversational phrases

danieroux19:05:54

https://languagelearningwithnetflix.com works very well. I specifically enjoy the keyboard shortcuts to replay just the previous phrase

sova-soars-the-sora19:05:17

That's cool, immersion is powerful

jkxyz19:05:22

I find the informal phrases are really important for communicating – just knowing how to delay a bit while you think of what you’re trying to say. Learning to just say “so”/“also” in German helped me a lot 🙂

seancorfield19:05:36

My wife was going to China regularly (to judge cat shows) before the pandemic and so she went to night school to learn Mandarin — but over the last year she’s been losing it slowly. Our local library just added Rosetta Stone online so she’s back to practicing a few days a week. It’s kinda strange to sit here working with my very white, mid-Western wife across the desk from me, headphones on, speaking Mandarin! She’s pretty good with languages. Fluent in French, used to speak some Arabic (she was a belly dancer and toured the Middle East as part of a US troupe several decades ago). She also picked up Spanish via a free adult day class before the pandemic (but she hasn’t had much chance to practice that).

Darin Douglass19:05:30

Wow. A mid-western, mandarin-speaking, belly-dancing cat judge. Now that’s what I call an eclectic skill set!

☝️ 2
seancorfield19:05:02

She is very unique 🙂 We’re just about to celebrate our 21st anniversary. Well, the 21st anniversary of our legal wedding. We’ve had five weddings (so far).

❤️ 5
dpsutton19:05:29

congratulations!

❤️ 2
seancorfield19:05:20

I don’t have the language aptitude. My high school French was never very good (and that’s all gone for lack of practice). My high school German did better because I used to go skiing in German-speaking parts of Europe for about a decade (but, again, it’s pretty much all gone now — I can still read some German but can’t speak it any more).

dpsutton19:05:14

that's a really cool paragraph. travelling regularly to china to judge cat shows is a heck of a sentence

gklijs19:05:55

My English speaking got a bit worse after speaking only Dutch for work for a year. Happy to return to a more international environment soon.

nate sire19:05:56

I became fluent in Spanish in three years. I'm conversational with anyone on the street. Motivation was the key. Need to have a #1 motivator. To do a little each day.

nate sire19:05:38

I also found... Introverts prefer to listen and read. Extroverts, like me, prefer to just start speaking it from day one. Different learning styles.

nate sire19:05:49

And grammar is a waste of time. For almost all.

simongray07:05:29

That depends strongly on what kind of language you’re learning and what your mother tongue is. If you speak a European language and learn another, then grammar is mostly superficial. If you’re learning a language from another language family, then grammar is essential.

simongray07:05:01

I can say from experience that learning e.g. Chinese or Korean without spending a lot of time on grammar will give you very little comprehension trying to parse language beyond the most basic sentences. Relatively speaking, Spanish and English grammar are basically the same (and they have many cognates) so you can pretty much rely on your implicit knowledge of English grammar when parsing a Spanish sentence. This is not so when you leave the comfort of Indo-European languages.

sova-soars-the-sora19:05:54

3 years and strong motivation sounds like the recipe. What are things that kept you motivated?

nate sire20:05:29

A couple things. Being in the area where Spanish is needed. And a girlfriend.

nate sire20:05:07

I started speaking a few words at a bank... Because it was needed. But changed career paths. So I found a couple non business motivations to keep going.

nate sire20:05:08

I think the biggest problem is false expectations. It takes us about six years as a child to grasp a language.... Expecting to learn a language in a year.... Not realistic. Languages are a long term commitment.

Stuart21:05:04

I love shadow-cljs and re-frame. Just had this: Had a bug in my app where I was forgetting to increment the eip after some refactoring when the interpreter hit a label / nop. So when I was running the app, it just stopped on a line label foo. I fix the line in the code to increment the eip, save and the app picks up where it left off automagically. (OK, it was a fluke because it was stuck on what was essentially a nop), but still. So neat! I wonder if gifs work...

3
🎉 9
👍 3
emilaasa21:05:13

Is there a decent trello CLI?