Hacker Newsnew | past | comments | ask | show | jobs | submit | puzz's commentslogin

Or git-old-branches/git-recent from git-plus

https://github.com/tkrajina/git-plus

Disclaimer, I'm the author ^^


Look at any piece of Java code and try to guess the cyclomatic complexity of it. It's not simple. Because every line, and every function call can fail. And that failure is one more place where the execution tree of your code branches. You can't see it unless you check every method call in your code.

In Go -- every error is obvious, and you get a sense of a cyclomatic complexity of any piece of code by just going through it quickly.

So, that's it for me. The complexity of the code is visible.


That's a cool idea. I once made a similar site but for a completely different purpose -- language learning. Unfortunately I never finished it but it's still in my TODO list.

The workflow was:

- you read the sentence

- the sentence disappears

- then you type from memory

- every time you mistype something -- the next couple of words appears for a few seconds and you keep typing

That way you not only learn to type that foreign language. But you also memorise the sentence in your short-time memory and you get a feel for sentences are created (order of words, phrases, etc.).

PS. Didn't finish the site, but I did made a simplified version as an Android app: https://github.com/tkrajina/10000sentences


The schtick of the Pimsleur Method was to train by starting with a chunk at the end of a sentence, and prepending until one had recall of the entire sentence. That way, once you get over the hump of the newer material, still fresh in mind, it's all downhill revising the older.


this is an amazing idea. I wonder if you could do it with an auditory fashion, I think that would be very useful too!


I wrote a similar tool (along with some other git helpers) a while ago: https://github.com/tkrajina/git-plus. Note that there is another (more popular) git-plus repository used in Atom. My own has nothing to do with it (but it's older).


Right, spaced repetition isn't good at memorising things quickly. Where it shines is that it lets you decide the things you want to keep in your long term memory.


I have never been in the US, but I always thought it's the personnel in embassies who are educated/qualified to check and (in)validate my visa documentation. Once on a border, they will only check that I'm not carrying anything illegal, and that's it.

But the idea that my education/knowledge/experience will be checked again, that's weird to me.


Tax reasons or not, people are actually moving there. A lot of my former colleagues moved to Ireland (from Croatia).

Now Ireland has both: human capital and tax reasons.


again ireland>croatia does not equate ireland>london or whatever amazing place you're already living in.


Hm, I tried now with:

l.Infof("version=%s", runtime.Version())

...and it gives me:

version=go1.6 (appengine-1.9.36)


Water 1m below the sea surface is drawn like 4m deep. Land 1m above the seal level is drawn like it is 2m high.


ok thanks for the explanation =)

but why? I guess to improve the "readability" of the map to the human eye?

[edit] Never mind: https://en.wikipedia.org/wiki/Vertical_exaggeration


This is a small side-project I'm working in my free time, for the last 2 months. The idea is that users will (hopefully:) share/exchange short voice recordings in their native language (and use existing recordings to practice language comprehension with other languages). Recordings are uploaded with text, translation and they are "synchronised" with the audio.

Here's an example: https://lisn2.me/exercise/1458307740540341002 . You can listen to the recording in various speeds (normal/slow), with/without text/translation.

Then, you can also practice listening and writing: https://lisn2.me/exercise/1458307740540341002/quizes/dictate (listen to a couple of words and then you need to write them down, if it's correct it's shown in green, otherwise it's red, Type ? for help).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: