Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bradrn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
811.
▲
by
bradrn
6y ago
> Don't forget to grab a programmer. I use a HiLetgo USBTiny programmer. Hmm… I’m pretty inexperienced with Arduino (or indeed any microcontroller), so I have no idea what you’re talking about here. What’s a ‘programmer’? > ardui
812.
▲
by
bradrn
6y ago
Thanks for the recommendation! I have an Arduino and just started playing with Forth yesterday, so I’ll have to try this.
813.
▲
by
bradrn
6y ago
I find I can make unordered lists quite effectively • like this • using characters like • U+2022 BULLET ‣ Or U+2023 TRIANGULAR BULLET Similarly, you can do superˢᶜʳⁱᵖᵗ using Unicode as well (though I would only recommend it for numbers; Uni
814.
▲
by
bradrn
6y ago
(Quick correction: PNG, not NZ.)
815.
▲
by
bradrn
6y ago
Are there? If so, I haven’t heard of them — I thought that consonant clusters were formed by regularly adding the conjunct form of the second consonant below the first consonant. (I do know that Devanāgarī and closely-related scripts repres
816.
▲
by
bradrn
6y ago
> Amiga called the left and right brackets 'bra' and 'ket' which I always thought was clever. Wouldn’t know about Amiga, but this is standard notation in quantum mechanics (though you may be aware of this already). &l
817.
▲
by
bradrn
6y ago
I’m not entirely sure, but I don’t think it would be particularly different — if I understand correctly, the only major difference between the two orthographies is that Sanskrit texts use some extra letters.
818.
▲
by
bradrn
6y ago
Why, thank you! I’m just glad you found it interesting.
819.
▲
by
bradrn
6y ago
This sounded an interesting challenge, so I decided to have a go at it. Here’s my best attempt: ꧁ꦗꦥ꦳ꦱ꧀ꦏꦿꦶꦥ꧀ꦠꦼ꧂ / or as an image: https://i.imgur.com/kRq6o88.png . An explanation, because it’s interesting: Javanese scrip
820.
▲
by
bradrn
6y ago
I don’t know too much about Javanese, but I’m pretty sure that generator is rubbish. e.g. for input ‘ja’, it gives ‘ꦗꦄ’, when it should be just ‘ꦗ’. It appears to be doing a simple letter-for-letter substitution, which is incorrect: for ins
821.
▲
by
bradrn
6y ago
Sure, that I can agree with.
822.
▲
by
bradrn
6y ago
Haskell allows this as well. ASCII symbols are the default, while you can use the -XUnicodeSyntax language extension to get Unicode symbols. (My understanding is that Unicode characters are always allowed in identifiers.)
823.
▲
by
bradrn
6y ago
Not a computational linguist (or a linguist at all), but this is an area I know a bit about. The question you ask is at the centre of the study of ‘glottochronology’ [0]: > The original method presumed that the core vocabulary of a langu
824.
▲
by
bradrn
6y ago
From Mark Rosenfelder ( https://www.zompist.com/spell.html ): > Many people expect … to predict the spelling from the pronunciations-- not realizing that few orthographies meet this goal. It's far from true of Spanish
825.
▲
by
bradrn
6y ago
The very same! He wrote a whole series of books about German — a history of German, a grammar of German, a dictionary of German, and, yes, a collection of old German stories.
826.
▲
by
bradrn
6y ago
Excellent explanation! I think this is far better than my post at explaining why optics are so useful. > With profunctor optics, you can even construct self-describing operations. For instance, imagine a JSON parser that can be directly
827.
▲
by
bradrn
6y ago
> From the looks of it, this is to access the first and second element specifically of a 2-tuple. Yes, this is correct. (I don’t know about other languages, but it’s worth noting that in Haskell, tuples are of fixed size — 2-tuples, 3-tu
828.
▲
by
bradrn
6y ago
Well, Haskell does have garbage collection, but why would lack of garbage collection make this problematic? (There seems to be a Rust crate for lenses: https://lib.rs/crates/lenses , though I can’t assess it as I’ve nev
829.
▲
by
bradrn
6y ago
> This exists (optics/lenses), but most programmers don't know about it. … I don't know of a simple, jargon-free explanation of the concepts. Let me have a go! I’d explain optics/lenses as giving field access as a da
830.
▲
by
bradrn
6y ago
> Natural language agglutination tends to have all kinds of nasty side effects … Oh, sure; morphophonological processes do tend to mess up everything. (This is why Valentine doesn’t give a morpheme-by-morpheme gloss of the example I incl
831.
▲
by
bradrn
6y ago
As someone with an interest in both linguistics and programming, I’ve often wondered what programming languages would be like if they had developed from an agglutinating language like Cree rather than the mostly isolating languages of weste
832.
▲
by
bradrn
6y ago
Specifically, the languages of West Papua, coloured by family. (It’s a really well-done map, actually; it very clearly outlines language families such as Lakes Plains, Trans–New Guinea, Tor–Kwerba, Austronesian, East Bird’s Head etc. The on
833.
▲
by
bradrn
6y ago
Hah, yes, I’ve had lots of problems with keyboard layouts. I have a hobby requiring lots of unusual characters (e.g. ɛɔþʔəɬɑʒ), and I haven’t yet found a keyboard layout which allowed me to type all these characters with absolutely no probl
834.
▲
by
bradrn
6y ago
> In mine, you have º and ª in that place... Out of curiosity, what keyboard layout do you use?
835.
▲
by
bradrn
6y ago
> Can anyone give ballpark effort costs for writing a parser with a context-free grammar parser generator vs. parser combinators vs. by hand? The few times I’ve attempted to use a parser generator, I could never figure them out. By contr
836.
▲
by
bradrn
6y ago
> My tip to OP would be to set up a home lab on hardware from eBay Not OP, but this sounds like an interesting thing to do. Which hardware would you recommend? (Also, for the uninitiated, what exactly is a ‘home lab’?)
837.
▲
by
bradrn
6y ago
To port my keyboard layout [0] to OSX, I used ‘osxkb’ [1], which outputs an OSX keyboard layout bundle given a simple textual specification file. It was originally created specifically to port Conkey to OSX, but should be entirely usable fo
838.
▲
by
bradrn
6y ago
I wrote myself a very similar keyboard layout a while ago: https://github.com/bradrn/Conkey . It differs in being primarily oriented towards linguistics rather than maths, but I’ve ended up being able to type almost a s
839.
▲
by
bradrn
6y ago
From https://www.eenews.net/stories/1062576963 : > Rising above the flat landscape of west-central Florida are towering ponds of acidic wastewater sitting atop mounds of a mildly radioactive material called phosphogy
840.
▲
by
bradrn
6y ago
This is not entirely true: Windows Powershell defaulted to a blue background. Though this is admittedly an edge case, as Windows Powershell is now deprecated in favour of Powershell Core (which has a black background) IIRC.
More ›