Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shurcooL
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
511.
▲
by
shurcooL
12y ago
It seems relatively clear that he's quite new to both languages, with maybe a few weeks worth of familiarity if not less. From his rookie mistake of using path package instead of path/filepath to join system file paths [1], to non
512.
▲
by
shurcooL
12y ago
I really wish I could edit .txt files in the iOS Dropbox app instead. I wonder how much it will increase the app size.
513.
▲
by
shurcooL
12y ago
Or, what about dumb TVs, aka monitors, and computers that run normal operating systems.
514.
▲
by
shurcooL
12y ago
> These environments that can't use encoding/gob with unsafe, can't be that common They aren't, but I will provide one example that benefits from this change. As of 1.4, because of this change, it will be possible [1]
515.
▲
by
shurcooL
12y ago
One advantage would be that any improvements to the web IDE would directly benefit all its users. On the other hand, improvements you make to your personal local dev environment are local and not helpful to others. Consider the time it took
516.
▲
by
shurcooL
12y ago
> my unsaved files How would you feel if your unsaved files suddenly disappear? Would you blame apple for deleting files you explicitly chose to not save? You were relying on a feature in an unusual and unintended way. Sooner or later, t
517.
▲
by
shurcooL
12y ago
I'm so glad Markdown exists; it has replaced Word for me.
518.
▲
by
shurcooL
12y ago
Did the iPhone 6 get a barometer sensor too?
519.
▲
by
shurcooL
12y ago
I've written convenience http handlers that compile Go to js on demand (and report errors in the browser console & server stderr). I do something like this in the backend: http.Handle("/assets/script.go.js"
520.
▲
by
shurcooL
12y ago
Very nice finding!
521.
▲
by
shurcooL
12y ago
Yes, that's how the GopherJS Playground ( https://gopherjs.github.com/playground/ ) works. See my other comment.
522.
▲
by
shurcooL
12y ago
I'm curious about this too. I've heard good things about ReactJS. There are bindings for AngularJS for GopherJS, so you might want to look at that. I'm guessing it should be doable.
523.
▲
by
shurcooL
12y ago
The thing is that if you want to compile a single fmt.Println("Hello") line, that will produce a large output because of what's needed to support it, including dealing with Go/JS types like bytes, runes, slices, standard
524.
▲
by
shurcooL
12y ago
Not yet, but it's definitely possible in the future. Open issue https://github.com/gopherjs/gopherjs/issues/72 . FWIW, I've done some crazy things and so far I've seen that things work surprisin
525.
▲
by
shurcooL
12y ago
I don't have a complete solution yet, but I can share some links: https://github.com/azul3d/issues/issues/29 - Very relevant discussion with good resources/links/info. https://github
526.
▲
by
shurcooL
12y ago
Yes, pointers are completely supported. You can create a var buf bytes.Buffer and Write() to it and all that stuff without problems.
527.
▲
by
shurcooL
12y ago
Multiple things. - Making my Markdown Format package for Atom have zero external dependencies by compiling the Go code into JavaScript. That way there's no need to install and point to the markdownfmt binary, making install easier. ht
528.
▲
by
shurcooL
12y ago
I've been using it for some time and it's really hard to believe how it just works for so many things. https://gopherjs.github.com/playground/ - GopherJS Playground. (It compiles Go code to JavaScript in your
529.
▲
by
shurcooL
12y ago
I was referring to "development using C++", which encompasses the language, compilers, build tools, code editors, ecosystem, basically everything that is involved when you're doing work and distributing result binaries. There
530.
▲
by
shurcooL
12y ago
Because writing and compiling code/projects in it is very painful. Header files, custom makefiles, etc.
531.
▲
by
shurcooL
12y ago
That was informative... and it reinforced my perception of Rust as something to look into if I ever have to do something that absolutely necessitates the use of something low level like C++/Assembly. But for everything else that I can
532.
▲
by
shurcooL
12y ago
> We would generally not hesitate to drop support for older versions of OS X if it allows us to improve the user experience. That's an attitude I love to see. Especially since OS X updates are now free and afaik all hardware that su
533.
▲
by
shurcooL
12y ago
Good point, it is a problem. I'm aware of two options: - either you spend the time manually trying to going to all places where you use multi factor auth and perform "transfer device" process, which is hard and painful the mo
534.
▲
by
shurcooL
12y ago
Good point and article. I wish there was a de facto standard password manager/data format (open source, free, works everywhere). As it stands, there are many good ones, and it's hard to choose one , even though any choice is bett
535.
▲
by
shurcooL
12y ago
Every developer I know in SF uses Homebrew, never seen anyone use MacPorts.
536.
▲
by
shurcooL
12y ago
Yeah, I was very impressed that it just worked and worked really well on my iPad mini.
537.
▲
by
shurcooL
12y ago
Very neat. I was able to confirm and visualize my intuition on how sailboats work. It reminds me of a car parking simulator [1] I made a while ago. [1] https://dl.dropboxusercontent.com/u/8554242/dmitri/projec
538.
▲
by
shurcooL
12y ago
This is very interesting. I've come to rely on Sublime Text's Cmd+R "Go To Symbol..." [1] (and Cmd+Shift+R "Go To Symbol in Project...") extremely strongly for code navigation. Instead of scrolling up or down t
539.
▲
by
shurcooL
12y ago
For me it's Bret Victor and his Inventing on Principle talk, Learnable Programming article.
540.
▲
by
shurcooL
12y ago
Brad Fitzpatrick is working on a Go implementation of HTTP/2 at https://github.com/bradfitz/http2 .
More ›