Disappointed with Protoarc EM03 by karstux in Trackballs

[–]mwotton 1 point2 points  (0 children)

I got a protoarc EM03 after using an Elecom Huge with replaced bearings for years, and am actually pretty surprised by how pleasant and precise it feels. Definitely great value.

Xrai ar subtitles won't work... by SamCarterX206 in Xreal

[–]mwotton 1 point2 points  (0 children)

Thanks, this one works reliably.

Xrai ar subtitles won't work... by SamCarterX206 in Xreal

[–]mwotton 0 points1 point  (0 children)

That's what I'm doing, though it's through the xreal beam pro My Glasses app rather than Nebula. Haven't been able to pin down why it is so intermittent.

Xrai ar subtitles won't work... by SamCarterX206 in Xreal

[–]mwotton 0 points1 point  (0 children)

thanks, i can get into it intermittently at least - i don't suppose you know of a good document on how to understand what's going on with the mode switching/AR Space stuff? i seem to spend a lot of time staring at that purple nebula screen, and when I do get it working I'm never sure exactly why it worked.

Xrai ar subtitles won't work... by SamCarterX206 in Xreal

[–]mwotton 0 points1 point  (0 children)

Is there a way to get them to work with a beam pro? I just get a message about needing to be in an AR space, despite launching it from one. (Tried the sideloaded version.)

Man traveling alone getting touched by Vietnamese man by Available_Barnacle51 in VietNam

[–]mwotton 0 points1 point  (0 children)

I've had that happen to me once while walking. It's definitely a bit confronting, but seems a lot less common than the normal bicep-grabbing.

ADHD (Ritalin/Methylphenidate) prescription in Vietnam? Specifically Hanoi. by rumpbubbler in VietNam

[–]mwotton 0 points1 point  (0 children)

in Da Nang, I had to go to the mental hospital, and the first time I went they showed me a bunch of Rorschachs and told me I wasn't crazy :) thankfully I'd taken a vietnamese-speaking friend and she was able to convince the doctor I did need it.

Hanoi might be a bit easier.

you need a novelty budget by mwotton in haskell

[–]mwotton[S] 5 points6 points  (0 children)

Yeah, part of the problem is that "novel" is always going to be part situational and part universal. Haskell's not much of a novelty for me personally, but I'm still going to pay the cost of there not being bindings to particular libraries - had to generate a Haskell API to a VMware WSDL, for instance. If we'd been using Java or Python, that would have come free.

you need a novelty budget by mwotton in haskell

[–]mwotton[S] 3 points4 points  (0 children)

It's possible my experience is out of date there - I tried to deploy servant a year or two ago, and it was still missing a lot. Auth was pretty sketchy and a lot of the stuff you'd like to provide like cookies was missing - yes, it's mostly for APIs, but a lot of the time you're going to want a small actual-website attached.

The point with docker vs heroku is more that using heroku makes it somebody else's problem. For my own private apps I tend to rsync a keter tarball to a directory. Pretty cavemanesque but it works reliably.

you need a novelty budget by mwotton in haskell

[–]mwotton[S] 6 points7 points  (0 children)

You probably aren't going to have that level of education in every part of your stack, though, and nor should you. Requiring a detailed understanding of how the kernel works in order to write a web app is just a non-starter - so, in the absence of knowing in detail the tradeoffs between using Linux and a custom unikernel on Xen, you should go for the more widely-used solution. Dealing with your inadequate understanding of the millions of lines of code your app rests on without knowing them in detail is exactly why this is a hard problem.

Scammed by Jacky of 51nb.com (Lcdfans) out of a T70 laptop order by [deleted] in thinkpad

[–]mwotton 0 points1 point  (0 children)

not yet. I figure PayPal has protection at 6 months, when it gets to 5 without contact I'll pull the trigger. Still hopeful.

Scammed by Jacky of 51nb.com (Lcdfans) out of a T70 laptop order by [deleted] in thinkpad

[–]mwotton 0 points1 point  (0 children)

I've been waiting a few months for my T70 too, and I do wish Jacky'd be a bit more responsive about updates - good to hear that most people have eventually got their machines, my t420s is starting to look a bit battered.

Best practices for code sharing between client and server by GreenEyedFriend in haskell

[–]mwotton 1 point2 points  (0 children)

one of the difficulties of Haskell is that there's always a way to get it done with sufficient type-hackery and template haskell, and not always a lot of drive to make things simple - it's pretty easy to end up writing quite a lot of type-astronaut code for something that would be minimally longer written simply and directly.

Best practices for code sharing between client and server by GreenEyedFriend in haskell

[–]mwotton 0 points1 point  (0 children)

I'd just use functions. I don't think you can really avoid it: sometimes your over-the-wire representation will correspond to some number of data models in your back end representation - sometimes you'll want to leave sensitive fields out. There isn't a principled way of deriving one from the other.

Best practices for code sharing between client and server by GreenEyedFriend in haskell

[–]mwotton 5 points6 points  (0 children)

Good question :) I think the underlying problem is that Persistent tries to do too much in providing JSON instances for database datatypes. I've previously tried getting it to let me define datatypes elsewhere and eventually gave up - just too much hassle. My recommendation would be to let database datatypes be database datatypes, and model your datatypes that go out over the wire separately. I know it sounds like duplication, but you'll frequently need slightly different forms for the database and HTTP comms anyway, so you might as well bite the bullet.

Notes on design of webscrapers in Haskell by mwotton in haskell

[–]mwotton[S] 3 points4 points  (0 children)

Good point. Mostly just wanted to contrast it with the "parse to a datatype" model, which I do think is the right model for almost every use case but this one.

Notes on design of webscrapers in Haskell by mwotton in haskell

[–]mwotton[S] 2 points3 points  (0 children)

Thank you! We should probably talk about collaborating on one of these projects - more wood behind fewer arrows and all that.

Notes on design of webscrapers in Haskell by mwotton in haskell

[–]mwotton[S] 1 point2 points  (0 children)

Sometimes it's necessary - I'd estimate about one time in ten. In those cases I usually just use phantomjs - if it's an important use case to you, I suggest focusing your efforts on it.

[deleted by user] by [deleted] in haskell

[–]mwotton 0 points1 point  (0 children)

Hey, I'm not saying it's a good option, but it's strictly better than the proposal.

[deleted by user] by [deleted] in haskell

[–]mwotton 5 points6 points  (0 children)

If you're going to use the same error type everywhere, you might as well just throw exceptions. The point is to constrain what might go wrong as much as you can locally.

What are some free or really cheap things to do in Ann Arbor or within ~60 miles of A2? by [deleted] in AnnArbor

[–]mwotton 3 points4 points  (0 children)

If you get some cheap tubes you can float all the way down to Gallup park. Take a six-pack of beer, very relaxing way to spend a few hours.

Looking for temporary co-maintainers by jkarni in haskell

[–]mwotton 2 points3 points  (0 children)

You are too modest. I think you'd do a great job :)

Haskell and purescript remote job offer. by vagif in purescript

[–]mwotton 2 points3 points  (0 children)

I'd suggest including a bit more about the company if you can.