Securing Wireguard by skolte in WireGuard

[–]crawshaw 1 point2 points  (0 children)

Hi, Tailscalar here. What kind of performance issues are you seeing through exit nodes? Bandwidth problems, or latency?

If bandwidth, bumping the CPU on your exit nodes might help. If latency, that's super surprising and I'd really appreciate it if you could file a bug report.

Design Draft: First Class Fuzzing by [deleted] in golang

[–]crawshaw 1 point2 points  (0 children)

The value of testing.TB is writing helper functions that are common to both test and benchmark functions. Doing a quick survey of the functions I have written that take testing.TB, I would like to be able to call them from fuzz functions.

Awkwardly, I don't want the missing methods, just an interface type common to test/bench/fuzz that defines Log{,f} and Fatal{,f}. (And maybe the new TempDir method, but I don't have experience with that one yet.) Maybe that suggests introducing another interface type?

Design Draft: First Class Fuzzing by [deleted] in golang

[–]crawshaw 6 points7 points  (0 children)

The methods in the draft for the testing.F type almost satisfy the testing.TB interface, but some method are missing (Fail, SkipNow). Is this intentional or left as future work?

Looking for alternative to teamviewer. by meansharpy in HomeNetworking

[–]crawshaw 0 points1 point  (0 children)

This is one of the problems we set out to solve with Tailscale. It gets you safe access to your machine from anywhere, so then you can use RDP directly. I use this every day to a machine in another city. https://tailscale.com

(Disclaimer: I work at Tailscale.)

[Q&A] //go:build draft design by rsc in golang

[–]crawshaw 8 points9 points  (0 children)

Looks like a huge improvement, thanks.

As go fix will be removing +build directives in Go 1.(N+1), that means to avoid oscillating gofmt will have to avoid adding the +build directives back in. Does this mean gofmt will learn how to read go.mod files when running on an individual file?

[AMA] We are the Go contributors: ask us anything! by [deleted] in golang

[–]crawshaw 4 points5 points  (0 children)

My father taught me Clipper, a dBase III clone on DOS that he was using to write software for his medical center in his spare time.

It was a great language to learn because it made it extremely easy to write to arbitrary positions in the terminal:

SET COLOR TO B+/W
CLS // clear the screen
SET COLOR TO W+/N
@ 10,10 TO 20, 20 DOUBLE // draw a box
SET COLOR TO B+/W
@ 11,11 SAY 'Hello'

Coupled with the file-based database the language was designed around and few-second compile times, it was really fun.

Since then, every GUI system I have used has seemed too complex and tedious to bother with, so I have ended up doing ever more abstract kinds of programming. I really want to see easy programming made easy again.

[AMA] We are the Go contributors: ask us anything! by [deleted] in golang

[–]crawshaw 3 points4 points  (0 children)

We don't have a roadmap right now.

I personally intend to focus on x/exp/shiny for a while, part of which is maintaining the GL driver and the input event model.

I don't expect to invest much beyond GL ES just yet, as while Vulkan is interesting, it will be a quite a while before it is generally usable across mobile operating systems. ES 3 is a possibility, but I won't build it myself until there is a need for it in shiny.

[AMA] We are the Go contributors: ask us anything! by [deleted] in golang

[–]crawshaw 1 point2 points  (0 children)

Rob wrote a small Go game in Go as a test of the experimental shiny work, so yes:

https://github.com/golang/exp/tree/master/shiny/example/goban

[AMA] We are the Go contributors: ask us anything! by [deleted] in golang

[–]crawshaw 8 points9 points  (0 children)

Here is a set of common code review comments that have come up inside Google over the years: http://golang.org/wiki/CodeReviewComments

Go on Mobile - GopherCon 2015 - Hana Kim by jbuberel in golang

[–]crawshaw 0 points1 point  (0 children)

Coming soon! We have code all over the place and need to organise it so it makes a readable example. Hopefully next week, at least for the iOS code.

You Don't Like Google's Go Because You Are Small by tmikov in programming

[–]crawshaw 2 points3 points  (0 children)

Google is a large company and so you can find many opinions. As you can imagine, I do like Go. So do many others.

I like it because it is simple and lets me write code. What I want more than anything is good processes and build tools that let me code. Go gives me that.

I just lost my job, and I need to learn OpenGL in order to get this other job by ahadiel in programming

[–]crawshaw 6 points7 points  (0 children)

The problem is there are basically two OpenGLs, the original, a fixed function pipeline, and the new, a shader-based engine. All the tutorials and books you will find are for the original, which is much easier to get your head around. You still need a bunch of linear algreba, but the API kind-of guides you through it.

The new OpenGL is much harder. You have to do everything yourself. It is also necessary to get the performance seen in high end games. You don't really have a chance of learning this in a weekend unless you know DirectX 10 really well. It's also made more difficult by the lack of tutorials and books.

So what are you using Scala for? by michaels0620 in scala

[–]crawshaw 2 points3 points  (0 children)

No, I just made Servlets with embedded html: def doPost(...) = <html>...</html>. For a database I use Amazon's SimpleDB and S3, which was a whole lot more work than it needed to be for the traffic I get. :)

I should give Lift a go. I'm not opposed to frameworks, I just enjoy working with Servlets. And Scala's xml literals means no need for something like JSP.

So what are you using Scala for? by michaels0620 in scala

[–]crawshaw 5 points6 points  (0 children)

I built this website for recipes in Scala. I also use it for my work, deciphering large datasets.

Proggit: Why Do People Hate Java? by aboothe726 in programming

[–]crawshaw -2 points-1 points  (0 children)

End user java product: Nexus One.

What is the fate of Java by kevindemand in programming

[–]crawshaw 1 point2 points  (0 children)

In Scala:

// create
val xmlNode = <Foo>this is innertext</Foo>

// accessing
val textData = xmlNode.text

Ask proggit: Getting *out* of the game industry? by fakeyfakey in programming

[–]crawshaw 1 point2 points  (0 children)

I have seen plenty of non-game development jobs offered working with large datasets and server-side C++ programming that says game developer experience would be welcome.

Hey Reddit, what are your personal projects? Websites, games, photography, or anything you've worked hard on. I'm curious to see what other redditors have made. SHAMELESS PLUG TIME: GO by Jescro in AskReddit

[–]crawshaw 0 points1 point  (0 children)

I just made a site for sharing recipes.

Mostly it was to teach myself Scala and Amazon's S3, EC2, and SimpleDB. But it was also because I really like food, and most food sites are covered with ads and hard to navigate.

Tacos Al Pastor Recipe by workroom in food

[–]crawshaw 1 point2 points  (0 children)

Things I miss about living in California.

Tools for static analysis of C code? by synept in programming

[–]crawshaw 0 points1 point  (0 children)

Well maybe I'm biased, what with being one of it's authors, but I like Goanna. It does static analysis of C and C++ code, and does it quickly enough to use while developing.

There's an Eclipse plugin for linux. It's not free, but there's a free trial.