HNHacker News
TopNewBestAskShowJobs

BFay

93 karma · joined September 5, 2014

https://github.com/brianfay
submissionscomments
BFay··on Ask HN: Nicknames for Computer Science Books?
Database Management Systems, aka "The Cow Book"
BFay··on Musico: AI Generated Music
Wow, yeah it seems entirely plagiarized. It's still a very strange song, but I don't think the AI did anything noteworthy here. Thanks for looking into it!
BFay··on Musico: AI Generated Music
Oh, yes sorry I didn't realize I could actually link: https://www.musi-co.com/listen/track/test_energylevel
BFay··on Musico: AI Generated Music
I highly highly recommend listening to the track called "Test_energylevel", it is absolutely bonkers, and more interesting than any of the other tracks I clicked on here. (You have to click on "Explore" and then scroll down a bit to find it)

It starts with a choir of ambient vocals singing "it's a sunshine", there's some bird noises and traffic sounds, a snippet of organ synth flourishes.

Then it all gets started - guitar, sitar, horns, strings a vocal duet singing "Shine your sweet loving down on me"

There's actually a ton going on, every few bars it changes things up, there's clever little harpsichord.

Then a male singer starts proclaiming "It's a sunshine daaaayyy", backed up by a chorus of "yeah, yeah, yeah"s. Honestly it's kind of catchy

The last 30 seconds or so are truly cursed, there's a voice in the right speaker moaning "wide eyed retina. mostly logical", which gets delayed, bitcrushed, and pingponged between the speakers.

Wow! I wonder why this specific track has so much going on compared to the others.

BFay··on Asking for a date of birth (2013)
I also enter an absurdly old date, and usually I'll try setting an impossible day/month combo like February 31st... sometimes it actually works!
BFay··on Ask HN: I suck at math, where to start?
I really like Jeremy Kun's writing: https://jeremykun.com/ and recommend his book, A Programmer's Introduction to Mathematics: https://pimbook.org/.

So far I've only read the first few chapters of the book, and the exercises often feel too difficult to me. But I think he does a great job of easing into mathematical notation, pausing to reflect on what a seasoned mathematician might be thinking when they come across that notation. He also makes a lot of analogies to programming, and has example programs that are easy to follow. It's helpful to have that angle to understand things from.

BFay··on Why IntelliJ IDEA is hailed as the most friendly Java IDE (many screenshots)
This may seem silly, but one of my main reasons for using IntelliJ over Eclipse is because it has a nice looking dark theme. I've tried using the dark theme on Eclipse, and on both Windows and OS X it had very bright scroll bars that clash with the dark editor.

I think my favorite keyboard shortcut in IntelliJ is double-tapping shift to get a really smart search to pop up.

BFay··on Aerodynamic by Daft-Punk in 100 lines of code with Sonic Pi
I'll have to look into WavePot, but I'll say that SonicPi is built first and foremost for live-coding; making music in realtime while coding. There's some other languages that focus on this - Gibber in the browser, Tidal in Haskell. Those are probably the best languages to start playing with if you want to get something musical happening quickly.

SuperCollider is much more general - you have a server that can build and execute graphs of unit generators, and a language that has a ton of convenience features for interacting with the server, and abstractions for scheduling events. (sidenote, I'm starting to build an audio patching environment using SuperCollider. It doesn't do anything yet but I'm hoping to have something soon https://github.com/YottaSecond/Triggerfish)

SuperCollider also has a great community - questions on the mailing list are usually answered within a couple of hours, and there's a team of people furiously working on the upcoming 3.7 release.

I love Pure Data to death, it has an amazing community and is actively being developed, but I have some trouble recommending it because of the aging Tcl/Tk interface.

ChucK looks really interesting. In most environments you need to write unit generators in C/C++ to actually do low-level audio processing. ChucK uses a "strongly-timed" programming model, where you can actually use the same language to process sound sample-by-sample and schedule things at real musical intervals.

Extempore is also worth looking into if you aren't afraid of lisp.

So yeah, it depends largely on what you want to do. The live-coding languages like SonicPi are probably the best for getting music going quickly, but the others all have unique things to offer.

BFay··on Stop listening to music while you work
And maybe that enjoyment will make you a happier person in general, which will in turn make you more productive because you won't worry and second-guess yourself so much.
BFay··on Koel: A personal music streaming server
Check out The Echo Nest API for some inspiration - I'm pretty sure Spotify and some similar services use it for their recommendations. http://developer.echonest.com/docs/v4
BFay··on Why Rdio died
I've had the same issues - with some updates it gets better or worse, it's pretty annoying. Another thing that concerns me with the app is that the setting to only download/stream tracks on wifi doesn't seem to be honored; if I have autoplay on in my car, it will start streaming songs I've never downloaded over 4G.

Apart from that, I love the service, and I'm sad to see it go!

BFay··on Linux has matured into a robust desktop operating system
I'm using Arch and I really like it. However, it does take way more time and effort to install than the more mainstream distros like Ubuntu and Fedora, especially if you're like me and you're used to things like wifi "just working."

Antergos and Manjaro are both distros that try to streamline the process of Arch linux installation. I have yet to try either one, I wonder how well they work.

BFay··on Is Programming Poetry?
Linux Poetry is relevant: http://linuxpoetry.com/
BFay··on Nature ambient sounds
Just consider the laptop fan additional ambient sound!
BFay··on Microsoft Small Basic
It seems very difficult to come up with aath curriculum that works for everyone. I agree that a creative approach might not be as practical as I imagine it, I've definitely suffered from the "aha, monads are burritos, why hasn't anybody told me this" fallacy before.

I keep hearing (mostly negative) things about the Common Core program in the US, I wonder what it's really like. Creative new ways of teaching always sound good on paper, but I hear so many parents complain about the way their kids are being taught. I wonder if most of those complaints are warranted, or if the new style of questions just take getting used to.

BFay··on Microsoft Small Basic
Was it the "Yeah" that made the tone seem sarcastic? I didn't really mean it that way, I genuinely do think it would be interesting to see what happens. Sometimes I wish I had been taught math from a more theoretical perspective. When I was younger, math seemed really boring, just problems to solve; how much money is left after this series of transactions, what is the area of this shape, etc. When I did learn simple algebra, it only seemed useful for those kinds of problems.

I've only found mathematics really interesting within the past few years, realizing how useful it is for creative things, like making music and art, or understanding programming at a higher level. If I had learned about functions in a more interactive way, maybe being able to create art on a computer screen, or write up physics systems in games, I think I would have been fascinated, and maybe the concepts would have stuck.

BFay··on Microsoft Small Basic
Yeah, it would be interesting to learn about pure functions and referential transparency before basic algebra.
BFay··on Ask HN: Is it just me or did the Windows 10 rollout go really smooth?
My Windows 10 installation fscked up my linux partitions that were on the same drive, and I was unable to repair tem... probably my own fault for not being careful, but very aggravating. The OS itself seems fairly smooth, though.
BFay··on The Web Platform Is Too Low-Level
I think the gain that people are aiming for is "write once, run everywhere."

Especially if you're a lone developer - it's one thing to learn the intricacies of one platform (like web), but learning the ecosystems for Android, iOS (maybe you don't even own a mac to develop with), and native desktop apps... it's just too much work for one person. But if you could just write it once and have a good experience on each platform, wouldn't that be amazing? I guess that's what React Native is trying to solve, too.

BFay··on Vantage.js: A new take on interactive CLI for Node
I've been waiting for something like this, it looks great! I hope it can work with "babel-node" without any hiccups, so I can keep my server on ES6.
BFay··on Nintendo CEO Satoru Iwata has died [pdf]
There were occasionally minigames in Mario Party or similar games that required you to rotate the control stick as quickly as you could - the stick was not padded, so you could really hurt your thumb (or the palm of your hand, if you chose to use that).

I'd imagine the friction lawsuit had something to do with that.

BFay··on React Performance
Is the complexity actually quadratic, like amelius said?

The diffing operation is linear according to React documentation: https://facebook.github.io/react/docs/reconciliation.html

Is Array.prototype.concat linear, too? What about the ImmutableJS equivalent? I don't know a whole lot about algorithms, my intuition is that there would be a way to add an item to the end of the array without traversing the entire thing, but I guess it all depends on how the data structure is implemented.

BFay··on Introducing the Famous Framework
Don't worry, my new Flux implementation will take your mind off of that!
BFay··on Cryengine 3.8.1 Adds Support for Linux, OpenGL and Oculus Rift
Do you have any more info on how you set that up? I kinda want a gaming PC but I like my current laptop/monitor setup, maybe I could leave the PC sitting in the corner of the room running headless, and stream the content to my laptop?
BFay··on Ask HN: ReactJS – Do you use it? Do you like it?
How do you like koa? I really like the way it handles async stuff with coroutines.

I'm wondering if it will have lasting appeal, though, because ES7 should introduce async/await to javascript, which will probably replace the coroutine style.

BFay··on Just Wear Headphones
None of that comment seemed unreasonable to me - I've had large over-ear sets of headphones that require me to turn the volume up pretty high. It takes more to drive them, that's why some people own headphone amps.

Compare that to IEM's like the Sennheiser cx 300 - 5% of max volume at my computer might be too loud.

And it would surprise me if headphone usage at reasonable volumes is worse than going to loud concerts, even if you use headphones for long periods of time. If I'm at a concert or a loud bar for an hour or two, my ears feel really fatigued afterwards, everything seems quieter. I've never turned up headphones loud enough to experience that.

BFay··on Why Learn Basic Electronics? [video]
Thank you! That's the best advice I've heard on ordering. If I can get my feet unstuck from their current rabbit-holes, I'll dive into this one.
BFay··on Why Learn Basic Electronics? [video]
Alright, you've piqued my interest! I've had a couple of electronics projects in mind, mostly audio-related, like building MIDI controllers, experimenting with modular synthesizers, setting up a MIDI-controlled Gameboy synthesizer.

AoE looks pretty good. Some of then intro material I've looked at before doesn't go into much technical detail, and I feel like I'm missing the fundamentals.

But if I want to actually start experimenting with my own circuits, what should I buy? Should I order components one-by-one off of Digi-key when I think I need them? Or is there a nice starter kit of components that would get me started?

BFay··on UBlock Origin
If web ads were more like newspaper ads, I think I would find them more agreeable.

Newspaper ads don't animate and distract me from what I'm reading. When I flip to a different page in the paper I don't have to "wait ten seconds" to start reading. I've never had an ad spontaneously appear in front of the newspaper article I'm reading.

Newspaper ads don't track me, and no matter how sketchy the ad is, it doesn't put me a couple of clicks away from installing malware on my computer.

BFay··on Firefox download on SourceForge
Have you looked into hosting from universities? I recently read about plans to move Pure Data (flow-based audio programming environment) to Oregon State University's Open Source Labs. Maybe they would be open to hosting Octave-Forge.

http://osuosl.org/services/hosting

Page 1 of 3Next →