Fork me on GitHub
#off-topic
<
2020-10-29
>
Zaymon00:10:20

Does anyone use par-infer anymore?

souenzzo00:10:28

I use parinfer all day inside #cursive

seancorfield00:10:33

I use Parinfer all day, every day inside Atom

Zaymon00:10:26

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

seancorfield00:10:30

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.

3
seancorfield00:10:05

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).

Zaymon01:10:45

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

sogaiu01:10:10

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

👍 3
Zaymon01:10:21

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

zilti12:10:17

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

schmee16:10:32

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

mpenet11:10:58

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

borkdude11:10:03

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.

borkdude11:10:49

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.

borkdude11:10:30

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.

mpenet11:10:54

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

borkdude11:10:23

@mpenet Can you return the model?

borkdude11:10:31

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

mpenet11:10:55

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

borkdude11:10:46

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

mpenet11:10:16

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

borkdude11:10:52

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

mpenet11:10:19

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

borkdude11:10:32

there's always complaints online about everything

mpenet11:10:40

She doesn't need linux :)

borkdude11:10:46

especially popular products

borkdude11:10:02

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

mpenet11:10:11

People are more vocal when things break

mpenet11:10:37

I barely understand what she does :)

zilti12:10:06

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

Ben Sless12:10:51

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)

zilti12:10:44

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

Ben Sless12:10:28

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 Sless12:10:03

It sucks, because I like the distro

lilactown15:10:27

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

lilactown15:10:52

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

lilactown15:10:13

3 work ones, 2 personal

lilactown15:10:02

Many different year models, too. All through basic usage

lilactown15:10:17

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

mpenet15:10:29

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

Faris15:10:32

This makes me dread the day my 2012 Pro fails me

borkdude15:10:22

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.

borkdude15:10:19

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

🎉 6
mpenet15:10:27

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

borkdude15:10:32

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

borkdude15:10:00

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

mpenet15:10:22

surely, otherwise it would be all over the news

valtteri16:10:19

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

hiredman18:10:26

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

hiredman18:10:44

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.

mpenet19:10:52

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

dpsutton19:10:13

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

seancorfield19:10:02

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.

borkdude19:10:17

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

zilti19:10:11

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

borkdude19:10:26

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

borkdude19:10:00

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

cdpjenkins19:10:18

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.

borkdude19:10:16

@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.

cdpjenkins19:10:15

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).

borkdude20:10:42

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

cdpjenkins20:10:10

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

Michael W22:10:54

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 W22:10:00

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

😺 3
zilti19:10:39

@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

dharrigan19:10:35

I use a Thinkpad X1 Extreme. Love it.

borkdude19:10:25

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

seancorfield20:10:05

In general I'd agree that MBP has the best trackpad but Microsoft's Surface devices are the best I've found aside from Mac.

dharrigan19:10:29

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

zilti20:10:39

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

walterl20:10:44

Quite happy with my Dell Latitude 7490 (32GB)

seancorfield20:10:05

In general I'd agree that MBP has the best trackpad but Microsoft's Surface devices are the best I've found aside from Mac.

phronmophobic21:10:47

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?

noisesmith22:10:54

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

phronmophobic22:10:58

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.

phronmophobic22:10:21

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.

phronmophobic22:10:45

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

simongray08:10:10

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

phronmophobic08:10:18

> 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

simongray08:10:18

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.

phronmophobic08:10:30

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

simongray08:10:04

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.

phronmophobic08:10:14

> 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

phronmophobic08:10:52

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

Vincent Cantin12:10:36

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)

phronmophobic17:10:16

@U8MJBRSR5 , 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?

respatialized17:10:18

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.

phronmophobic19:10:50

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

Vincent Cantin01:10:01

@U7RJTCH6J 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.

phronmophobic01:10:35

do you have a plan for how reactive will work?

phronmophobic02:10:21

or an example?

Vincent Cantin03:10:31

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.

phronmophobic03:10:41

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

phronmophobic03:10:24

or would that be specified somewhere outside of the template?

Vincent Cantin03:10:34

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

Vincent Cantin03:10:12

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

phronmophobic03:10:33

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

Vincent Cantin03:10:28

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

👍 3
phronmophobic03:10:14

do you have pseudo code?

Vincent Cantin03:10:52

You are welcome to join #vrac

phronmophobic03:10:28

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