News for hackers. Stuff that matters.

theOnliest

Re:The JSON Meta Application Protocol (JMAP) on Friday July 19, 2019 @09:33PM (#20483686)
(I also work at Fastmail, on the server side.)

It does describe APIs in general, and that is one of the reasons I like it so much. All of our internal APIs are JMAP: when you need to do something with a user, you call User/set; with a rule, call Rule/set, and so on.

JMAP makes it super easy to build new APIs because you can reuse most of the code; the only things you need to define are the data types (and any custom implementation for access controls, etc.).

Although Fastmail itself has much more legacy code (we’ve been around a while!), new things can start with a framework called Ix, which is available at https://github.com/fastmail/Ix. Ix is the basis for Topicbox (www.topicbox.com), which is built ground-up on top of JMAP.

Re:Wringing on Friday July 05, 2019 @08:57PM (#20367052)
It’s less the risk of them getting stuck together than it is the fact that they sound better if you don’t create that partial vacuum.
Yep; this was in Pennsylvania, which is apparently one of the more onerous states.

The stated purpose is so that you can't change your name in order to (for example) escape debt. So the way to do this is to pay to put an announcement in a legal periodical. She had to do it in two separate places: one was mandated (The Legal Intelligencer, which sounds like something out of Harry Potter), and she had the choice of a few others, of which she picked the cheapest one.

The ads themselves didn't cost $1000, but the whole process (including changing the name on her passport, etc.) came close to that.

Depending on where you live, changing your name can be much more of a hassle than this. My wife did it recently, and the whole process took several months and cost nearly $1000 all told. It involved filling out a bunch of paperwork, taking ads out in two legal newspapers, and a court date.
Re:Advocating for privacy in Australia on Friday December 21, 2018 @10:23AM (#18733816)
Hey, thanks! We've updated that to link to both the relevant blog posts.
Re:Proposal: Go 2 transition on Saturday October 27, 2018 @08:14AM (#18315396)
We (FastMail) use it in production, and all backend development is in Perl for all the products. Booking.com, cPanel, Craigslist, and ZipRecruiter all have sizable Perl codebases, as do many others.
Re:C for All on Saturday March 24, 2018 @08:26AM (#16666274)
Perl has logical xor, which is occasionally useful. I usually reach for it when argument checking, where it makes sense to have either this param or that but not both.
Re:Perl 6 Optimism on Tuesday January 23, 2018 @05:40PM (#16218561)
All of FastMail is in Perl5 (minus the Cyrus parts, which are in C).
But this doesn't really need to be responsibly disclosed: it's not something someone can use to get into your machine, but rather a way you could accidentally broadcast your credentials somewhere unexpected.

Announcing on Twitter seems more like "hey be careful, make sure your password field is focused."

Re:MathML is a failed web standard (2016) on Saturday September 23, 2017 @11:04PM (#15323079)
AucTeX in Emacs can do this, and it’s really nice.
Re:A lingering farewell to the username on Friday September 15, 2017 @06:53AM (#15256069)
They also removed your username/display name from your default highlight strings. We often just use names with no @, and this week we noticed that other people were no longer getting pinged for those. Now you have to go to your preferences and explicitly add your display name to the list of strings you want to be notified about.
Re:Show HN: Send a slack msg with AWS IoT button on Sunday July 30, 2017 @09:34AM (#14885867)
You could use https://metacpan.org/pod/Amazon::Dash::Button, and write your own handler in Perl using an ordinary Dash button.
Re:Reasons YouTubers keep imploding, from a YouTuber on Monday March 27, 2017 @02:52PM (#13970560)
I've recently started watching woodworking videos on YouTube. I read somewhere that Matthias was one of the early employees of RIM (Blackberry) and as it turns out, he has a bunch of those patents in his name: https://www.google.com/search?tbo=p&tbm=pts&hl=en&q=ininvent....
Re:Anthony Bourdain on not having debt on Thursday March 16, 2017 @09:20AM (#13884745)
My local taxes (county) do this. Whenever you pay property (house, car) taxes, it tells you $x goes to the county schools, $y to roads, and so on. (Usually including something like $0.67 to the county library!) It's really nice...sure, paying tax on my car every year isn't great, but I'm happy to give $150 (or whatever it is) to the public schools.
Re:“I have toyota corola” on Monday November 14, 2016 @09:21AM (#12949926)
I have a very uncommon name (3 of us in the country, as far as I can tell), and this happened to me for the first time this weekend. Someone bought a stereo at Best Buy 500 miles from me and gave them my email (<firstname><lastname>@gmail.com) for the Geek Squad protection plan. I thought someone had stolen my credit card until I realized what happened.
Re:Music theory for nerds on Tuesday September 20, 2016 @09:37AM (#12539373)
I was being a bit hyperbolic; certainly it's not impossible to look at, and I quite like a lot of it. My experiences showing it to students is that people often find it foreboding on first glance, and part of that has to do with all of the accidentals used. It doesn't look like music they're familiar with, even though, as you point out, it comes from the same tradition.

> The idea that their music is not in a key is widespread, but incorrect. Inferential distance (https://wiki.lesswrong.com/wiki/Inferential_distance) precludes me from being able to explain this concisely in a non-misleading way, unfortunately.

I'd be interested to hear your thoughts on this. (I have a PhD in music theory, so the distance may not be as great as you'd imagined.)

Re:Music theory for nerds on Monday September 19, 2016 @11:04AM (#12531946)
Fair enough. It's still pretty common...it's hard to pin down any numbers exactly, but I'd guess it's probably half and half for solfege vs. other systems. We teach solfege at my school (although I prefer numbers myself). And you're right that it's used mostly in sight-singing/aural-skills classes; I mention solfege much less often in my written theory classes.
Re:Music theory for nerds on Monday September 19, 2016 @09:45AM (#12531379)
> Why does notation allow for seven pitches, not 12? Because music is at most built out of 7-note scales, not 12.

This answer is good, but I wanted to pick one tiny nit, which is that not all music is built out of 7-note scales. A lot of music is, but music that isn't doesn't often lie well on the staff. That's true, incidentally, whether there are more than 7 notes in the scale (12-tone music, lots of octatonic music from people like Stravinsky, Scriabin, etc.) or fewer (whole-tone music comes to mind, as does the slightly more esoteric hexatonic scale). Pentatonic music fits well on the staff because the pentatonic scale is a subset of the ordinary diatonic.

Re:Music theory for nerds on Monday September 19, 2016 @09:40AM (#12531335)
This is (sometimes) a legitimate gripe about the standard notation system, which is that it's optimized for music in a key.

Sometimes there is a difference between E-F and C-C#. In the key of F major, E-F is the leading tone moving to tonic, which is a diatonic interval (a diatonic half-step). C-C#, on the other hand, is a chromatic half-step: in F major, it represents an alteration of scale degree 5 (sol). If you see C# in F major, there's a good chance it's going towards D, as a temporary leading tone. This is a useful distinction! The E-F half-step in F major (or C major, or A or D minor) is completely typical and not at all remarkable, while the C-C# half-step is much rarer.

In musics where there isn't a key, you're right that it doesn't make any sense to draw a distinction between the two. This is one reason that the music of the 2nd Viennese School (Schoenberg, Webern, Berg) is so impossible to look at: the structure of the music is obfuscated by the structure of the notation. Schoenberg was trying to come up with a 12-tone notation system for a while, but ultimately abandoned it.

Re:Music theory for nerds on Monday September 19, 2016 @09:31AM (#12531268)
Nearly all aural skills classes (learning to hear/sing music) for music majors use solfege or something like it. Some people use scale degree numbers instead (so a IV chord in a major key is "4-6-1" rather than "fa-la-do"), but the concept is still very useful.
Re:Jessica Livingston: How to Build the Future on Tuesday August 30, 2016 @05:58PM (#12394285)
I have a desktop and a laptop that I use regularly, plus a work laptop. And I teach in a classroom that has a PC in it, so I regularly access Dropbox from 4 separate machines, not counting mobile devices.
If you're actually marking up text, JSON doesn't really work. XML works alright for its intended use as a language. (That doesn't mean I hate it any less.)
Re:Fresh work on the mathematics of bicycles in motion on Wednesday July 20, 2016 @06:09PM (#12132909)
And Ilnur Zakarin (also from today's stage) showing how others aren't as good! Starting at about 2:00 in: http://www.dailymotion.com/video/x4l18sa_flamme-rouge-etape-...
Re:Chrome removes Backspace to go back on Thursday May 19, 2016 @05:38PM (#11734079)
Ditto...this (along with the fact that the width of tabs expands to fill the entire bar) is one of the main reasons I stopped using Safari and went back to Firefox.
Re:Velocipedia on Wednesday April 13, 2016 @08:07AM (#11487441)
This is definitely the case in photos. When I draw a bike it's always pointing to the right, because that's how most pictures I see/take are.
Re:Introducing GIF search on Twitter on Wednesday February 17, 2016 @02:15PM (#11120388)
Re:Composer’s Sketchpad – Rethinking Musical Notation on Thursday February 11, 2016 @07:56AM (#11079814)
This looks pretty cool, and would be really useful as a kind of scratchpad to get ideas down without having to deal with the hassle of opening a Finale file or finding some scratch paper around.

Is there (or are there plans for) an export to traditional notation? I'm sympathetic to the benefits of a modified piano-roll notation, but if you want to have your little ditty for saxophone, English horn, and piano performed by human beings, they're not going to be able to do so without a lot of practice.

Traditional notation (although perhaps "antiquated" for some uses) is remarkably efficient from the perspective of information density, and musicians could easily sight read the two bars of music there without thinking about it at all. It's also widely known by most musicians, and able to deal with lots of things you'd need if you wanted to hear your music performed. (For example: presumably your composition is written in sounding pitch; your wind players would need to transpose from concert pitch or have transposed scores somehow.)

Re:Announcing the Twitter Trust and Safety Council on Tuesday February 09, 2016 @12:51PM (#11067163)
> Their inaugural members go so far as to include Feminist Frequency.

Why is this going "so far"? Anita Sarkeesian has been the source of a bunch of online (and offline) harassment, and has been outspoken against it, especially on Twitter.

Re:Apple fans are coming to hate Apple software on Monday February 08, 2016 @05:50PM (#11061529)
Swinsian (http://swinsian.com) is good...it's like what iTunes used to be (when it was actually usable).
Re:Apple’s declining software quality on Thursday February 04, 2016 @12:32PM (#11035551)
I don't think it's just Apple's fault. Every time I try to use the Youtube app on my iPhone, I can never find the things I'm looking for, because they seem to ignore all of Apple's interaction guidelines and implement the Android UI instead.

The other day I was trying to send a link to a friend: instead of clicking the standard share icon, you have to click the arrow (that looks like an email forward?), which pops up a non-standard share UI instead of the standard sheet. Never mind the fact that to dismiss a video you have to first swipe it down (minimizing it into some bizarre picture-in-picture frame), then slide it off from there, instead of using a "Back" button/gesture like every other app in iOS.

Older »