off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
Zaymon 2020-10-29T00:26:20.072800Z

Does anyone use par-infer anymore?

zilti 2020-10-29T12:19:17.095400Z

I stopped using it quickly, because it kept messing up my code. Basically makes me remember why I hate Python

schmee 2020-10-29T16:29:32.108800Z

use it all day every day in Vim via https://github.com/eraserhd/parinfer-rust, I will never go back to editing Clojure code any other way

souenzzo 2020-10-29T00:32:28.072900Z

I use parinfer all day inside #cursive

seancorfield 2020-10-29T00:36:33.073300Z

I use Parinfer all day, every day inside Atom

Zaymon 2020-10-29T00:44:26.073500Z

Sweet. Only just discovered it (new to clojure) and I couldn’t tell if it was still in favour since the repos for vs-code / atom / emacs haven’t been touched in years

seancorfield 2020-10-29T00:45:30.073700Z

Clojure has a lot of repos that are "done" and haven't been updated for ages because they tend to address small, focused problems that can actually have "complete" solutions.

✅ 1
seancorfield 2020-10-29T00:46:05.073900Z

You'll find there's a lot less churn in Clojure libraries than a lot of other tech (esp. JS, if you have any experience with that).

Zaymon 2020-10-29T01:03:45.074200Z

That’s interesting. I guess I was surprised since I thought some of the editors would break functionality more often.

2020-10-29T01:42:10.074700Z

if you want to know about the status of various parinfer things, #parinfer might not be a bad place to query at e.g., there was a query regarding vscode support there recently

👍 1
Zaymon 2020-10-29T01:46:21.074900Z

I was trying the extension and it seems a whole lot buggier than the demo on https://shaunlebron.github.io/parinfer/

mpenet 2020-10-29T11:08:58.082800Z

Dealing with my wife's brand new mb16 inch maxed (from work) , it's a total disaster so far: random ext screen disconnect, crashes, battery drain in like an hour from full, screen flickering... I guess that might be the year of linux on the desktop after all, but for the wrong reasons

borkdude 2020-10-29T11:11:03.083800Z

I bought the latest MBP before the 16" with the dreaded keyboard. I thought it would suck, but also didn't want to switch. It's held up fine for 1.5 year now.

borkdude 2020-10-29T11:11:49.084400Z

But I might switch when I need a new one. I'm preparing mentally to say goodbye to macOS, getting my photos out of http://Photos.app etc.

borkdude 2020-10-29T11:12:30.085900Z

I have a PC with Windows + WSL2 which I'm really satisfied with. I might switch to full Ubuntu or Win+WSL2 on a new laptop as well in the future.

mpenet 2020-10-29T11:12:54.086500Z

She didn't want to switch either, but she can't work with that. Will likely trade it for an x1 or one of the beefy dell laptops

borkdude 2020-10-29T11:13:23.086800Z

@mpenet Can you return the model?

borkdude 2020-10-29T11:13:31.087100Z

I mean, this is not a good product it sounds like

mpenet 2020-10-29T11:13:55.087800Z

Yes it's a work machine, IT will take it back

borkdude 2020-10-29T11:14:09.088Z

Congrats

borkdude 2020-10-29T11:14:46.088400Z

If she's not ready to switch to linux fully, I recommend WSL2, it's really good

mpenet 2020-10-29T11:16:16.090100Z

She'll likely go for windows, stuff she uses runs fine on it

borkdude 2020-10-29T11:16:52.090800Z

yeh, so you can install WSL2 on it and get some decent linux environment on it for scripting tasks

mpenet 2020-10-29T11:17:19.091600Z

I had seen some complaints on twitter about the 16inch, particularly the high end ones, thought it was bad luck

mpenet 2020-10-29T11:17:26.091900Z

Guess not

borkdude 2020-10-29T11:17:32.092200Z

there's always complaints online about everything

mpenet 2020-10-29T11:17:40.092500Z

She doesn't need linux :)

mpenet 2020-10-29T11:17:43.092800Z

True

borkdude 2020-10-29T11:17:46.092900Z

especially popular products

borkdude 2020-10-29T11:18:02.093500Z

But you will need linux if you need to help her out ;)

mpenet 2020-10-29T11:18:11.093800Z

People are more vocal when things break

mpenet 2020-10-29T11:20:37.094400Z

I barely understand what she does :)

borkdude 2020-10-29T11:22:31.095300Z

haha

zilti 2020-10-29T12:20:06.095900Z

I just ordered the KDE Slimbook that came out this summer and am going to put openSUSE Leap on it

Ben Sless 2020-10-30T12:16:51.145900Z

I have a lot of affection towards openSUSE but I have no idea where it's going. Its future is too murky, I wouldn't install it on a new machine (I do have it on a laptop)

zilti 2020-10-30T12:17:44.146100Z

openSUSE isn't going anywhere but forward. They have a corporate-backed base with SUSE Linux Enterprise, and the community is going strong.

Ben Sless 2020-10-30T12:18:28.146300Z

I know about their organizational structure. I even had a chance to use SLES, I just hear they're going through some organizational strife

Ben Sless 2020-10-30T12:20:03.146500Z

It sucks, because I like the distro

lilactown 2020-10-29T15:04:27.097200Z

There are definitely quality problems, but the newest keyboard is much better

lilactown 2020-10-29T15:04:52.098Z

That being said I’ve destroyed like, 5 or 6 MBPs in the last couple years

lilactown 2020-10-29T15:05:13.098500Z

3 work ones, 2 personal

lilactown 2020-10-29T15:06:02.099800Z

Many different year models, too. All through basic usage

lilactown 2020-10-29T15:08:17.102Z

My hope is that the Apple silicon ones will have better quality control; I haven’t found a laptop that can compare to a MacBook in terms of trackpad and physical profile

mpenet 2020-10-29T15:23:29.102900Z

for the price the quality issues are really bad... I think the machine in question is ~4k euros

Faris 2020-10-29T15:24:32.103800Z

This makes me dread the day my 2012 Pro fails me

borkdude 2020-10-29T15:25:22.104800Z

yep, although @mpenet, I compared machines with comparable specs (64GB, 1GB SSD, 8-core i9) from other brands and they aren't that far off, maybe 500 dollars which I don't consider a dealbreaker for a high-end laptop.

borkdude 2020-10-29T15:26:19.105500Z

There's a Clojure thread on Hacker news front-page now! 🎉

🎉 2
mpenet 2020-10-29T15:27:27.107Z

sure, I mean for a thing priced that high you would expect better quality, you're not buying a chromebook, then I didn't compare with the others, it's probably similar sure

borkdude 2020-10-29T15:27:32.107200Z

@hewrin Let's wait for the new ARM stuff, prices will likely drop more

borkdude 2020-10-29T15:28:00.107800Z

Probably just an unlucky batch. I also know people who bought the 16" and they're fine

mpenet 2020-10-29T15:28:22.108200Z

surely, otherwise it would be all over the news

valtteri 2020-10-29T16:37:19.110200Z

I’ve been happy with the new 16”MBP. Not maxed out though

2020-10-29T18:24:26.117200Z

I am on my second xps13 running linux (I think I had the first one lasted 3-4 years, had some battery issues in the end etc), prior to that I was getting whatever the latest model maxed out macbook pro from work and using osx. I was getting so fed up with osx, I didn't really want to touch the macbook outside of work, and I had a chromebook that I had rooted and installed fedora on, and I liked that a lot, so I thought I'd get the xps13 as a personal laptop to use outside of work. Then I lost that job, had to send the macbook back, and having been using the xps13 for everything(both on the xps13 and with the macbook pro I do most of my dev work ssh'ed into a vm anyway) ever since

2020-10-29T18:30:44.119400Z

I have a beater laptop with windows 10 on it because I used to need skype for business for work, and I was thinking I might give it to my parents. Just the process of trying to get it to a fresh state without all my work related junk on it made me want to throw it in the river.

mpenet 2020-10-29T19:22:52.121400Z

I am a very happy xps13/linux user as well, have one from work and one personal

dpsutton 2020-10-29T19:24:13.122200Z

ran fedora on a 3rd gen x1 carbon. fantastic machine. would get another one if i didn't end up on a mac this time around

seancorfield 2020-10-29T19:34:02.126700Z

I've been an Apple customer since the early '90s and I used to love their laptops but I haven't bought a Mac laptop since they introduced that silly touch bar -- I bought a Dell XPS12 several years ago so I could have a touchscreen laptop for traveling/casual use but it was underpowered for development. I recently bought a Surface Laptop 3 (16GB RAM, 256GB SSD) and I love that. Definitely fast enough for dev work and I have WSL2 installed with Ubuntu and VcXsrv (Xlaunch) for all development: I run Atom and Reveal (and sometimes a Chrome browser) on WSL2 via Xlaunch. My main dev machine has been a 27" iMac since 2012(!) provided by work but when it finally fails, I may just get a huge external display for the Surface Laptop and use it as my main dev machine.

borkdude 2020-10-29T19:36:17.127600Z

If anyone has recommendations for 64GB RAM laptops with new Ryzen processors, I'm always interested in that.

zilti 2020-10-29T19:46:11.128200Z

Well, the KDE Slimbook has that. Ryzen 4800H, and everything up to 64GB of RAM

borkdude 2020-10-29T19:48:26.128700Z

Nice, for 1500 euros a 64GB model with 1TB Samsung SSD and 4800H Ryzen processor... 1kg weight

borkdude 2020-10-29T19:52:00.131300Z

@zilti Do you have any experience with this brand? It's probably one of those Clevo-based brands like Tuxedo and System76?

2020-10-29T19:54:18.132900Z

I'm in the market for a new laptop this year to replace my 2012 MacBook Pro. I probably would've bought a new Mac this year if Apple hadn't announced the move to ARM. But I'm really nervous about doing so. I can't afford to spend that amount of money on something that isn't the best laptop that money can buy. Like a Mac used to be.

borkdude 2020-10-29T19:56:16.134400Z

@cdpjenkins You could build yourself a PC in the interim, while we're at home anyway and then wait for the ARM move. Lots cheaper to build your own machine.

zilti 2020-10-29T19:56:39.134900Z

@borkdude not directly, I just ordered mine recently, but there have been lots of positive reviews, like this one: https://pointieststick.com/2020/07/23/the-superfast-ryzen-powered-kde-slimbook/ the author there compares it with the HP Spectre x360 he had before in terms of quality. And yes, afaik it is one of these barebones. Schenker and Tuxedo also use it as a base for their laptops

2020-10-29T19:58:15.135500Z

That's one thing I didn't consider... Would work if I decided to go back to Linux (which I keep talking about doing every time a new Mac comes out that I don't want to buy).

dharrigan 2020-10-29T19:58:35.135900Z

I use a Thinkpad X1 Extreme. Love it.

borkdude 2020-10-29T19:59:25.136700Z

@zilti Even good battery life, nice. The trackpad: yes, once you're used to macbook, it's only downhill probably

dharrigan 2020-10-29T19:59:29.136800Z

(however, I am mostly on huge desktops 🙂 ) My X1 is my adhoc machine

zilti 2020-10-29T20:00:39.137200Z

@borkdude only downside is that it doesn't come with DisplayPort 😕

borkdude 2020-10-29T20:01:06.137400Z

@cdpjenkins I did this: https://blog.michielborkent.nl/2020/07/26/remote-wsl2-clojure/

borkdude 2020-10-29T20:01:42.138Z

tl;dr: buy yourself a good PC and you can work on it remotely from any cheap laptop with lower hardware specs

2020-10-29T20:04:10.138700Z

Nice... I had not considered that (and definitely hadn't considered WSL)...

walterl 2020-10-29T20:06:44.139500Z

Quite happy with my Dell Latitude 7490 (32GB)

phronmophobic 2020-10-29T21:24:47.141300Z

Most of the literature I can find on functional user interfaces focuses on FRP which emphasizes the "how" of ui programming. Does anyone know of any good resources focusing on the "what" (ie. the data) of functional ui programming?

simongray 2020-10-30T08:06:10.143200Z

A data model for user interfaces…? What about HTML+CSS? Seems like data to me :-)

phronmophobic 2020-10-30T08:08:18.143400Z

> User agents are not required to present HTML documents in any particular way. However, this section provides a set of suggestions for rendering HTML documents that, if followed, are likely to lead to a user experience that closely resembles the experience intended by the documents' authors. > - https://html.spec.whatwg.org/multipage/rendering.html#rendering it is a model, but personally, I think it's not a great model for user interfaces

simongray 2020-10-30T08:12:18.143700Z

Well, it’s declarative, pure data, pretty much universally available, and CSS makes presentation uniform across browsers. I am unsure what exactly it is you’re after…? You just don’t like HTML and want some other declarative UI language…? Well, pick any UI toolkit and it’s bound to have some declarative format, especially now that the reactive paradigm has become the norm.

phronmophobic 2020-10-30T08:14:30.144Z

one of my motivations is to escape the tyranny of the browser. I written some of my thoughts https://blog.phronemophobic.com/html-tax.html would love to know some of the non-html examples you're thinking of

simongray 2020-10-30T08:19:04.144600Z

Pretty much any popular UI toolkit that is less than 10-15 years old is declarative, e.g. Flutter, SwiftUI, React Native. You lose a lot of reach when you leave HTML, though.

phronmophobic 2020-10-30T08:22:14.144900Z

> You lose a lot of reach when you leave HTML, though. I'm not actually sure that's true. the most portable user interfaces are typically those founds in games, which natively run on a wider range of platforms

phronmophobic 2020-10-30T08:23:52.145200Z

I really like the direction of SwiftUI, but SwiftUI and React native are built on platform specific, concrete library classes

2020-10-30T12:24:36.146700Z

Coincidently, I am working on a project that specifically “focus on the what instead of the how”. https://app.pitch.com/app/presentation/a760be33-4a5b-4e73-bd25-07387cd197dc/d673c9f7-c98f-45eb-a6ff-668b42909f1c (page 18)

phronmophobic 2020-10-30T17:48:16.152500Z

@vincent.cantin , looks interesting! in the todo example, https://github.com/green-coder/vrac-samples/blob/master/src/main/sample3/core.cljs , how do the todo items get updated and how do new tod items get created?

respatialized 2020-10-30T17:51:18.152800Z

http://worrydream.com/MagicInk/ This is much more conceptual than technical, but I think Bret Victor makes a very compelling case that before diving into the "what" of reactive UI programming, you should also ask the "why" - as in, "do I need interactivity to solve this design problem at all?" Considering this perspective will improve whatever the "what" of your UI turns out to be.

phronmophobic 2020-10-30T19:01:50.157700Z

i’ve drawn heavy inspiration from bret victor’s work. my take away is that including interactivity in the model is very important. see https://youtu.be/ZfytHvgHybA

2020-10-31T01:34:01.170500Z

@smith.adriane Vrac is a wip. The sample code that you saw is not reactive, need to wait for the next milestone for something usable, will be full stack reactive.

phronmophobic 2020-10-31T01:44:35.171Z

do you have a plan for how reactive will work?

phronmophobic 2020-10-31T02:03:21.171400Z

or an example?

2020-10-31T03:01:31.171600Z

The Vrac templates are pure data which look similar to render functions. They are used as a base for deriving rendering and data management systems. How the reactivity will work is an implementation detail. One of the goals in Vrac is to avoid having the user know the implementation (and optimizations) specifics.

phronmophobic 2020-10-31T03:07:41.173400Z

is ‘clicking the “add todo” button should add a todo’ encoded anywhere within the template?

phronmophobic 2020-10-31T03:08:24.174300Z

or would that be specified somewhere outside of the template?

2020-10-31T03:08:34.174500Z

It should trigger an event, handled in a re-frame way, and if the data changes, the UI will update.

2020-10-31T03:09:12.174900Z

Yes, it would be specified outside of the template. Possibly in the same component, but outside of the template section.

phronmophobic 2020-10-31T03:09:33.175500Z

do you have an example of what that might look like?

phronmophobic 2020-10-31T03:09:40.175800Z

interesting

2020-10-31T03:10:28.176Z

You will have to wait for the next milestone for a working example.

👍 1
phronmophobic 2020-10-31T03:13:14.176700Z

do you have pseudo code?

2020-10-31T03:14:52.177200Z

You are welcome to join #vrac

phronmophobic 2020-10-31T03:17:28.178400Z

sweet. sorry for bombarding you with questions. it sounds really interesting!

Michael W 2020-10-29T22:02:54.141600Z

I use linux on my desktop and mac on my laptop and I was able to re-use about 95% of my stuff from linux on the new mac with homebrew. I share all my shell configs, git repos, etc between linux and mac. Just a couple tweaks checking for macos and setting a few settings and aliases differently. I share the same dotfiles on both OSes.

Michael W 2020-10-29T22:04:00.141800Z

The hardest part is substituting ctrl for command, I am constantly hitting ctrl-c instead of cmd-c.

😺 1
2020-10-29T22:04:54.142Z

can you go into more detail? what specifically would you expect to find?

phronmophobic 2020-10-29T22:25:58.142300Z

anything on building user interfaces based on data and pure functions that's not FRP would be great, but ideally, a data model for user interfaces. as an example, I used to think of databases based on a procedural interface, but datomic has provided a model focusing on the data model.

phronmophobic 2020-10-29T22:35:21.142800Z

another analogous example would be the associative and seq abstractions for the data structures that clojure uses. I've been working on trying to build UI abstraction for UI data and it seems pretty straightforward, but I'm having trouble finding other reference points and it's tough coming up with good names.

phronmophobic 2020-10-29T22:36:45.143Z

most of the resources I can find are either heavily entrenched in OO or are based on FRP