Readit News logoReadit News
umlaut commented on Digging into PlantStudio, a bit late   pketh.org/plantstudio.htm... · Posted by u/bentsai
umlaut · a year ago
One of the authors commented that the source is GPL'd and on GitHub... and here it is! https://github.com/pdfernhout/PlantStudio
umlaut commented on Ask HN: Can I see your scripts?    · Posted by u/fastily
sshine · 3 years ago
Thanks for the hint!

There seems to be at least these three advantages over my approach:

  - `git duet` has neat syntax for attributing more than two people.
  - `git duet` lets me enter a mode where it keeps attributing my co-authors.
  - `git duet` keeps the authors in a separata data file, not in the script.
I might consider switching for the next small project. :-)

umlaut · 3 years ago
It also can automatically rotate authors if you've got people eager for attribution. When I was just starting out pairing, it felt really good to join a project and immediately get commits on a new repo.
umlaut commented on Ask HN: Can I see your scripts?    · Posted by u/fastily
sshine · 3 years ago
I've pair-programmed a lot this year, and some of my colleagues tend to like the "Co-authored-by: ..." message because they like that due attribution is given regardless of who was in control of the keyboard.

I eventually got tired of writing that manually, so I wrote a small

  git co-commit --thor ...
that works just like 'git commit', except it adds another line to the commit message template.

Placing it in e.g. ~/bin/git-co-commit and having ~/bin in your $PATH will enable it as a git sub-command.

I've never had a use for this before, and I don't think I'll need it much beyond this team, but this was my first git sub-command that wasn't trivially solvable by existing command parameters (that I know of).

https://gist.github.com/sshine/d5a2986a6fc377b440bc8aa096037...

umlaut · 3 years ago
Have you checked out https://github.com/git-duet/git-duet/ ?

You configure a ~/.git-authors file with people with whom you regularly pair, and use `git duet [author-1] [author-2]` to set primary and secondary commit authors. Env variables set whether you want `Signed-off-by` or `Co-authored-by` trailers.

umlaut commented on Atlantropa   en.wikipedia.org/wiki/Atl... · Posted by u/tosh
dfox · 8 years ago
I cannot see how the dams would be able to generate electricity. The water has to flow somewhere and obviously there is no sea to dump it into which is under the sea level.
umlaut · 8 years ago
The dam would still allow some water into the Mediterranean, which is why it's "only" a drop of 100m-200m in mean sea level in the Mediterranean.
umlaut commented on NIST Random Beacon   nist.gov/programs-project... · Posted by u/relyio
URSpider94 · 8 years ago
There are two clear uses for this, and one anti-use.

First, in scientific coding, one of the big challenges is in reproducing the results of a program that uses random numbers. A classic solution is to use a deterministic pseudo-random number generator that can be seeded, such that if it's seeded with the same number on two different runs, it will always generate the same output. This could be a great replacement for that, since you could write a rand() routine that accepts a start point in the chain and traverses forward to output random values on demand.

Second, you could use this as a source of future randomness -- for example, I will award you $x if the next eight bits out of the random generator represent 0-127, and will award the $x to me if they represent 128 or greater. We can both check the value, and we don't have to trust each other.

The caveat with the last example is that we both have to trust that NIST has not been compromised ...

The anti-use would be in any sort of cryptographic implementation, since any "entropy" you'd be gaining by using this data as a source of randomness is completely counteracted by the fact that the source is known. Randomness becomes deterministic once the source of the randomness is disclosed and broadcast ...

umlaut · 8 years ago
Part of the idea behind this is that you can run your own randomness beacon in the same manner, and if you and another person want to make a bet like that, you can each use your own beacon and xor the values together to get a new, previously unknowable, random value.
umlaut commented on AI Is Getting Better at Detecting Handguns   vocativ.com/415937/ai-det... · Posted by u/mcspecter
codazoda · 9 years ago
There are also a lot of legal gun owners who have a gun but are not a threat.
umlaut · 9 years ago
That's true in the US, but not in many other places (the UK for example).
umlaut commented on Machine-generated husband chatter   medium.com/@sharanvkaur/v... · Posted by u/visakanv
donquichotte · 9 years ago
Strangely enough, I find the output of Markov Chain - type text generators much more readable and coherent than the output of those RNNs. A Marov Chain text generator is also easy to implement and understand.
umlaut · 9 years ago
The interesting properties of RNNs aren't in readability. RNNs can learn syntactical states, e.g. "this text is in quotes" that enable some really cool analysis tricks. OpenAI published an article about this recently, where they showed that an RNN, without being trained on it, learned the difference between positive and negative reviews. The fact that an RNN encodes sentiment is an incredibly useful feature.

source: https://blog.openai.com/unsupervised-sentiment-neuron/

umlaut commented on A customer reported an error in the map used by Flight Simulator   blogs.msdn.microsoft.com/... · Posted by u/Doubleguitars
draw_down · 9 years ago
It's interesting certainly, but should we be impressed here? In the end, the team's time was wasted and a nonsense issue was escalated to the CEO.
umlaut · 9 years ago
escalated to the richest person on Earth.
umlaut commented on Ask HN: What are good software architecture interview questions?    · Posted by u/SoulMan
cheez · 9 years ago
That might be true, but same question :)
umlaut · 9 years ago
By screwing up, owning it, and fixing it. It's impossible to get real operational knowledge without actually working on it. If you're in school, design competitions are awesome. If you're working in IT already, take responsibility for some processes.

u/umlaut

KarmaCake day34February 4, 2016
About
Distributed/cloud BS for VMware. Golang, Ruby, and so much yaml.
View Original