HN user

s-phi-nl

890 karma

http://news.ycombinator.com/user?id=s-phi-nl

  Saved comments: See favorites.
Posts29
Comments183
View on HN
strokeinput.com 2y ago

StrokeInput: Graffiti for iOS

s-phi-nl
1pts0
www.solipsys.co.uk 10y ago

Another Flipping Puzzle

s-phi-nl
4pts0
existentialtype.wordpress.com 11y ago

Structure and Efficiency of Computer Programs

s-phi-nl
2pts0
schott.blogs.nytimes.com 12y ago

Invented Human Languages (2010)

s-phi-nl
30pts12
www.ok-labs.com 12y ago

Microkernels vs. hypervisors (2008)

s-phi-nl
54pts9
objology.blogspot.com 13y ago

"Don't make objects that end with 'er'."

s-phi-nl
3pts0
www.abelprize.no 14y ago

Endre Szemerédi named Abel Prize winner for contributions to Computer Science

s-phi-nl
1pts0
www.thegeekstuff.com 14y ago

Examples To Master Bash Command Line History

s-phi-nl
2pts0
www.daemonology.net 15y ago

Security is Mathematics

s-phi-nl
71pts29
www.defmacro.org 15y ago

What is LaTeX and Why You Should Care

s-phi-nl
135pts77
www.joelonsoftware.com 16y ago

Finding Great Developers (2006)

s-phi-nl
1pts0
www.over-yonder.net 16y ago

BSD for Linux Users (2005)

s-phi-nl
43pts16
www.baekdal.com 16y ago

The Usability of Passwords

s-phi-nl
1pts0
www.daemonology.net 16y ago

Think before you code (2007)

s-phi-nl
20pts10
www.economist.com 16y ago

Car-sharing revs up

s-phi-nl
2pts0
www.joelonsoftware.com 16y ago

Advice for Computer Science College Students

s-phi-nl
28pts23
news.ycombinator.com 16y ago

Ask HN: Software slave interface?

s-phi-nl
2pts0
www.tkdocs.com 16y ago

Tk gui toolkit tutorial

s-phi-nl
2pts0
www.faqs.org 16y ago

Choosing names for your computers

s-phi-nl
77pts86
worrydream.com 16y ago

Graphical interface: BART train schedule redesign

s-phi-nl
1pts0
martinfowler.com 16y ago

Implementing an External DSL

s-phi-nl
1pts0
en.wikipedia.org 16y ago

Exact Cover problems

s-phi-nl
1pts0
www.clarityincode.com 16y ago

Code Readability

s-phi-nl
3pts0
www.jarober.com 16y ago

Paging the Past of Tinkering

s-phi-nl
1pts0
blog.fitzell.ca 16y ago

Easing Smalltalk compatibility with Grease

s-phi-nl
8pts0
www.washingtonpost.com 16y ago

Census uses partnerships to count hard-to-reach people

s-phi-nl
1pts0
brucefwebster.com 16y ago

HR 3200 (American health care bill) from a systems design perspective

s-phi-nl
1pts0
software-carpentry.org 16y ago

Software Carpentry: an introduction to basic software development

s-phi-nl
29pts2
www.hatfulofhollow.com 17y ago

Visualizing Sorting Algorithms Statically

s-phi-nl
1pts2
Krazam OS 2 years ago

If they did that, everyone would worry about registering all the domains with a Levenshtein distance of 1 from theirs, in case of typos.

A paragraph from the previous essay by the OP comes to mind:

Less sardonically, there is a lesson here: systems which intermediate between cultures are useful. Intermediating between cultures is a thing the world urgently needs and is extremely prepared to pay for.

https://www.bitsaboutmoney.com/archive/financial-systems-tak...

I don't think decentralized currency will actually solve the issues travelers have with this, at least without reproducing much of the infrastructure already in place for traditional currencies.

Bibi-binary 3 years ago

The Logic Alphabet (linked to above at http://www.logic-alphabet.net/images/flipstick_2347_2.jpg), which has a similar concept, seems to have better support: it can represent twelve of the symbols using Latin letters (o, p, b, q, d, c, u, s, z, n, h, and x, although z, u and n seem a bit forced) and the others seem to have decent Unicode equivalents (ɔ or ⊃ (superset), μ (Greek letter mu), ɥ or ч, and maybe ʎ).

A bit late to the party, but you have written excellent documentation at https://hubris.oxide.computer/reference/. It immediately answered the questions I had after reading 'Animats several comments on IPC. This is particularly impressive since "right now we are laser focused on shipping Oxide's product": I, at least, often don't prioritize documentation.

Anecdotally, the professor of my algorithms class had us all sort cards manually and asked us to describe the algorithm we used when we began studying sorting algorithms. Most of us used either selection sort or insertion sort.

That's true, but many users are still affected by that Python 2 remains the default. Any user can install a tool for Python 2 with pip install --user but the user might need root privileges to install a tool for Python 3 if the system administrator never intentionally installed it.

Your untrained eye took the # for comments, but I'm not sure that generalized to anyone's. Plenty of languages use # for other things: Smalltalk uses them for symbols, Clojure uses them for reader macros, OCaml uses them for method calls, Haskell can use them as an arbitrary operator, Lua uses them for length, C and C++ use them for compiler directives. See https://en.wikipedia.org/wiki/Number_sign#In_computing for a list.

Admittedly, Python, Bash, Perl, and Ruby use # for comments, so you do have a point, especially since Python is such a common teaching language.

Could you give an example of "problems you'd otherwise use AES passphrase-encrypted ZIP files to solve"? Do any of them involve sending the data anywhere (i.e., the sender and receiver are the same person)?

To add some data to this discussion, in 2015 FiveThirtyEight found that Delta flights typically took 4 minutes less compared to other airlines, whereas Southwest flights typically took 1 minute more. This takes delays and cancellations into account.

You can see the analysis at http://projects.fivethirtyeight.com/flights/. The explanation, linked to at the top of that page, is at http://fivethirtyeight.com/features/how-we-found-the-fastest....

There are some mathematical reasons.

In particular, the two most consonant (best-sounding) intervals are the octave and the fifth. The frequencies of the two pitches in an octave have a ratio of 2.0, and the frequencies of the two pitches in a pure fifth have a ratio of 1.5.

We would like the pitches we obtain from powers of these two ratios (stacking these intervals on top of each other) to be the same. However, since the integers are a unique factorization domain, they will never be (except for 2^0 = 1 = 1.5^0, of course). [1]

Thus, we pick powers of the two that are 'close enough' and call those the same pitch. The following Python (3) code subtracts the log-base-two of the powers of 1.5 from the integer they round to in order to find the closest ones:

  from math import log
  
  fifth = log(3/2, 2.0)
  
  print(0, 0.0)
  
  minDist = 0.08
  for i in range(1,100):
      pow = i* fifth;
      dist = abs(pow - round(pow)) 
      if dist < minDist:
          minDist = dist
          print(i, pow, dist)
This has output:
  0 0.0
  5 2.924812503605781 0.07518749639421918
  12 7.019550008653875 0.019550008653874684
  41 23.983462529567404 0.01653747043259557
  53 31.003012538221277 0.003012538221277339
From this, you can see that 12 is the closest that the powers of 2.0 and of 1.5 come being equal until 41. This is a primary reason why we use a chromatic scale with 12 notes.

(As an aside, a scale with 5 notes is also common around the world, called the pentatonic scale [2])

[1] For an explanation of this, see http://blogs.scientificamerican.com/roots-of-unity/the-sadde...

[2] https://en.wikipedia.org/wiki/Pentatonic_scale

For some reason, this reminds me of Richard Feynman's comments about science education in Brazil: http://v.cx/2010/04/feynman-brazil-education

"'I have discovered something else,' I continued. 'By flipping the pages at random, and putting my finger in and reading the sentences on that page, I can show you what’s the matter – how it’s not science, but memorizing, in every circumstance. Therefore I am brave enough to flip through the pages now, in front of this audience, to put my finger in, to read, and to show you.'"

Essentially, this defines a homomorphic pairing function[1] for the integers. A Gaussian integer can be seen as the pair (a, b) where a and b are integers. This assigns a unique natural number to each one.

One can use this to show that pairs of integers have the same cardinality as natural numbers.

Further, since one can sum the binary representations of two numbers and get the representation of the result, this is homomorphic under addition. I have never before seen a pairing function with that property (not that I have seen many).

[1] https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairin...