HNHacker News
TopNewBestAskShowJobs

theseoafs

673 karma · joined June 27, 2013

submissionscomments
theseoafs··on New MacBook Pro Is Not a Laptop for Developers Anymore
No laptop will ever come along with "Hackintosh support" because that would be illegal.
theseoafs··on MacBook Pro
> Name one laptop (a laptop, not a battleship) that has 32gb. Dell and Lenovo have a couple monstrosities with trackpads from the 90s with that amount of RAM.

This seems pretty unfair. "Name a laptop with 32GB of RAM, except the ones I don't like don't count."

> C'mon, obviously the toolbar has it when running macvim or iTerm (or some other terminal) with vim.

I don't see how that's a foregone conclusion. Moreover I like using the terminal app that comes with the actual machine.

> still the best keyboard and trackpad BY FAR in the market

Trackpad maybe, but Apple's keyboards have gotten tremendously terrible.

theseoafs··on MacBook Pro
> True, but every time I've seen linear keys used, it was for "parody" accompaniment.

Then you can't have been paying much attention.

theseoafs··on Appropriate Uses for SQLite
For the record, the application already has SQLite, I just figured I would use it while it's there.
theseoafs··on Appropriate Uses for SQLite
I'm looking at a project right now where I'm planning to use SQLite as a high-level solution to file locking (i.e. create a record in the DB to "lock" a file, delete it when you're done, and don't create a record if a record for that file is already in the DB). Sound like an appropriate use of SQLite? Is there a better, more direct solution? (I understand there are platform-specific utilities but I would want something portable.)
theseoafs··on Ripgrep – A new command line search tool
If you think a project is bad then you should be allowed to say so. I'm sure you have used a software tool that you have complained about despite the fact that it was open-source.

It's a bridge to far to directly attack people just for working on an open-source project, but the creator of this project did not do that, obviously.

theseoafs··on Ripgrep – A new command line search tool
It seems to be faster than grep primarily by having fewer features (it doesn't even attempt to support all of POSIX regular expressions, for one).
theseoafs··on Ripgrep – A new command line search tool
The developer has already stated that they did not intentionally name the tool "RIP grep". Even if they did, who cares? Why do people making grep alternatives have to treat grep with an extreme, undue amount of respect?
theseoafs··on The MIT License, Line by Line
I.e. because you are not a lawyer and you don't know how to write an open source license.

One obvious example is that your one-liner doesn't specify that your code has no warranty so someone can sue you if it doesn't work as advertised.

theseoafs··on Music theory for nerds
I'm working on a blog post now which I hope will answer that question (at least, in very general terms).
theseoafs··on Music theory for nerds
A beginner can grasp musical notation; its rules are simple and consistent, and the conventions are well-documented and reasonably straightforward. This blog post should be evidence of that: the beginner who wrote it clearly has the basics of notation down, and there are no inaccuracies at least with regard to the notation.

A beginner can't grasp the motivations behind the design of musical notation, and I don't expect a beginner to grasp the motivations behind the design of any complex system. That does not make the system absurd.

theseoafs··on Music theory for nerds
Reading this over again, it seems like the author's not yet fully wrapped their mind around "big picture" stuff like keys, chords, basic compositional structure, etc. It's an... interesting choice to write a piece proclaiming that musical notation is absurd when you're only a beginner.
theseoafs··on Music theory for nerds
> It completely obscures the relationship between the pitches, though.

It doesn't actually obscure the relationship between the notes -- it makes them clearer. For example, I see the notes C, E, and G on some sheet music, maybe with some accidentals on some of those notes. I know that I'm therefore supposed to play a C triad. Now, there are multiple kinds of triads, but once I know I'm supposed to play a triad, it's easy to use context to pick out which one I need (major, minor, diminished, augmented -- usually one of the first two). If I were supposed to play a C# major triad, though, and the written notes were (C#-F-G#) as opposed to what they should be (C#-E#-G#) then that's confusing because it looks like I should be playing an arpeggiated sus4 of some kind. So the written nature of scales on the staff engenders an understanding of the relationship between the notes. Basically we write things the way we do so that the people reading the music can more efficiently pattern-match.

> C major is identical to A minor, and I don’t understand why we need both.

They're not identical. C major and A minor have the same notes in their respective scales. But we say that a piece is in the key of C major when it resolves to the a C major chord at the end, and we say a piece is in the key of A minor when it resolves to an A minor chord at the end -- an important concept for reasoning about how a piece is supposed to be performed.

> C minor: C D D# F G G# A# C

Eb, Ab, and Bb, not D#, G#, and A#.

> This has got to be some of the worst jargon and notation for anything, ever.

It's really not. Keep practicing. It makes sense, I promise.

I hear a lot of people -- usually people who have not been studying music for very long -- insist that the system would be more logical if there were no accidentals and there were 12 notes with distinct names and the staff had a bunch more lines on it. I've never bought it. The notation of music isn't arbitrary, it's informed by experience and it works.

theseoafs··on South Park's creators on how the series has evolved
I don't know how much of the last season you watched, but the show's writers certainly seem to be of the opinion that progressive ideas are preferable to Trumpism.
theseoafs··on The careless errors of credit reporting agencies
Not really, I got my first card just a couple years ago in college, and the process couldn't be easier, I just applied online with my bank.
theseoafs··on Command-line tools can be faster than a Hadoop cluster (2014)
I'm curious why you think SQLite is a database technology that somehow can't handle a million rows.
theseoafs··on Regular Expression That Checks If A Number Is Prime
If you can compile any string in the language to a DFA then it's equivalent in power to regular expressions.
theseoafs··on In Mathematics, Mistakes Aren’t What They Used to Be (2015)
"Very difficult to find a counter example" =/= "unprovable"
theseoafs··on Announcing Rust 1.11
Does the addition of MIR have any immediate positive impact on compile times or binary optimization?
theseoafs··on Go Packaging Proposal Process
That's certainly true -- unrelated to the discovery point I mentioned, but it is true. The different tradeoffs are well-understood at this point IMO.
theseoafs··on Go Packaging Proposal Process
Can you explain why the lack of a central package repository is an issue? All of the languages I use in my daily work have central package repositories, but I don't use them for discovery, I use google, GitHub, etc., because to feel comfortable using a package I need to answer some meta-questions about the package ("is this package used by a lot of people?", "is it updated frequently?", "are there are a lot of reported issues and do the owners respond to issues diligently?")

It seems to me that while I'm on the GitHub page anyway, it's reasonably convenient to just copy-paste the URL in a file so I can pull in the package and use it. I can't imagine just using a package repo for discovering new packages, that would be tantamount to just pulling whatever random code someone wrote that looks like it might solve my problem.

theseoafs··on Memory management in C programs (2014)
In the exceedingly rare event that you need to target Windows?
theseoafs··on Sandstorm – An open source operating system for personal and private clouds
Speaking of which, what is the status of Cap'n Proto? I was looking at using it for a side project recently, but it doesn't look great on the surface: there haven't been any updates on the site since March of last year, and that post was to address a security vulnerability.
theseoafs··on Show HN: Swiss Army Knife for Mac OS X
Just pipe the script to a file so you can read it without having to copy-paste. :)

curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install..... > install.sh

theseoafs··on Hammerspoon – Powerful automation of OS X with Lua
How are people using this? I haven't automated anything on my OS X machine, but I've also never spent any time thinking about what I might automate.
theseoafs··on On Being a Black Man
I disagree. These are incredibly complicated issues and no single HN comment could possibly do an incredibly broad and vague question like "why are some neighborhoods black neighborhoods?" or "why does hip-hop exist?" justice -- especially given that this community is not primarily made of qualified experts in the area. Telling the commenter they should really be looking for expert opinions on these topics is hardly dismissive and self-righteous.
theseoafs··on On Being a Black Man
Seriously?
theseoafs··on On Being a Black Man
> You can find neighborhoods that are almost entirely "black", next to "white" neighborhoods. What gives? I've never really understood why that is. Why is hip-hop associated with black people, but not rock?

I really don't think you want people on HN to try to explain de facto segregation and the history of race in American music to you -- you should really look for reading material by academics on these subjects.

theseoafs··on Squirrel Programming Language
Lua can't be multithreaded in any real sense (by "real", I mean "OS threads"). If Squirrel can that's a big advantage.
theseoafs··on Elixir 1.3.1 released
> An immutable tree is often about as fast as a mutable tree, it's just pointer manipulation in either case.

This might be true, depending on what type of processing you're doing, and if you have a good garbage collector.

Of course, if you're allowed to use mutable trees, then you should just use a hash table which will be faster both asymptotically and in practice.

← PreviousPage 2 of 11Next →