Better HN
topnewbestaskshowjobs
Log inSign up

ArchieMaclean

282 karma · joined Jan 21, 2020 (6y ago) · 75 submissions

Submissions

comment 5y ago · link · parent

Programmer: I'm going out for a walk.

Programmer's partner: While you're out, could you buy some milk?

And the programmer never returned.

comment 5y ago · link · parent

I'm a bit worried about performance with QML since already the UI is a bit slow (not much, but noticeable) and switching to JavaScript might negatively impact that. We'll see.

comment 5y ago · link · parent

[1] should be https://musescore.org/en/MuseScore4

comment 5y ago · link · parent

Thanks :) There's a very heavy focus on gracenotes in piping - that's probably the main difference. There are a lot of different embellishments (probably more than 200) used very frequently with 3 to 10 individual gracenotes in them. Most general music notation apps are not so good with dealing with this - MuseScore, for example, has a massive list of all possible embellishments which you have to scroll through to try and find the one you want. PipeScore tries to take advantage of the patterns in gracenotes to reduce the number of options by categorising them (e.g. the 'doubling' class has 27 different embellishments in it, but they are all dependent on the notes immediately before and after the embellishment, so instead of manually choosing the correct doubling you just choose 'doubling' and it automatically gives the right one)

There are other dedicated bagpipe apps but none of them are as frictionless as I'd like.

comment 5y ago · link · parent

https://github.com/macarc/PipeScore music notation for bagpipes.

I started this a year and a half ago and I keep throwing it away and restarting, but I'm hopeful for this iteration.

I haven't got around to making a README yet unfortunately.

comment 5y ago · link · parent

e.g. say you're writing some code that does something like this:

account = queryDatabase(email)

updatedUser = update(account)

ping(account)

queryDatabase returns a dictionary. Later on, someone decides that a single username can have multiple accounts, so someone changes queryDatabase to return a list of dictionaries instead of a single dictionary. Now the above code is broken, since update expects a single dictionary. Of course, you could grep through the whole codebase to try and find all the problems, but it would be easier and less prone to human error to rely on the type system to fail, especially if the change was something less contrived, and if changes like this were happening all the time.

The effect of this could be limited by other means (e.g. naming the function better) but type systems are just another way of adding robustness to a program.

comment 5y ago · link · parent

...unless it's bullet

68.

Stockfish 12 on Lichess(lichess.org ↗)

3 points · by ArchieMaclean · 5y ago · discuss

69.

Internet Archive Is Down(archive.org ↗)

1 points · by ArchieMaclean · 6y ago · discuss

comment 6y ago · link · parent

Julia[1] It has Python-like syntax, macros, and is general purpose while being designed for maths/science.It runs on LLVM so performance is great [2]. It supports easily writable matrices and Unicode maths symbols.

You may be interested in a free online MIT course about 'computational thinking' that's being run right now using Julia. [3]

In not affiliated with Julia or anything, just think it's a really good language.

[1] https://julialang.org/

[2] https://benchmarksgame-team.pages.debian.net/benchmarksgame/... (graph at bottom of page)

[3] https://computationalthinking.mit.edu/Fall20/

71.

Egypt tells Elon Musk its pyramids were not built by aliens(bbc.co.uk ↗)

3 points · by ArchieMaclean · 6y ago · 2 comments

72.

Chess Podcast removed from YouTube for being “Harmful or Dangerous” [video](youtube.com ↗)

7 points · by ArchieMaclean · 6y ago · 2 comments

comment 6y ago · link · parent

The code is at https://repl.it/@EdwardCunningh2/Random-Roads

comment 6y ago · link · parent

https://areweguiyet.com/

TL;DR it has some support; however most libraries are just C bindings, or else they are very domain-specific.

You can, but it is not as smooth as using other languages.

75.

Chess World Champion playing on lichess.org(lichess.org ↗)

2 points · by ArchieMaclean · 6y ago · discuss

123