6 ms·
Smjörið er brætt og hveitið smátt og smátt hrært út í það, þangað til það er gengið upp í smjörið.
Thanks to a fix by Patrick Collison, utf-8 now seems to work right.
- r7000 19y agoFreude, schöner Götterfunken! Tochter aus Elysium!
- hhm 19y agoBuenísimo!
- dzorz 19y agoИ цан’т белиеве ит!
- piranha 19y agoИ тоо!
- albertcardona 19y ago[that 'ts' should be a 'k']
- pchristensen 19y agoWhat language is that? I'm guessing Icelandic; it's a little too unicodey to be Danish or Norwegian, but the words look similar.
- pg 19y agoGood guess.
- vidar 19y agoAs an Icelander, I must surely ask what pushed you to use Icelandic as an example. :)
- pg 19y agoThat it would look foreign to the maximum number of people.
- brent 19y agoSuccess!!
- r7000 19y agoPeople love thorn. Anglos used to have it and now that it's gone, they miss it.
- willchang 19y agoI don't þink ðere's any reason we can't have ðem back -- þorn and eð, I mean.
- queensnake 19y agoDoes Icelandic have the 'th' sound? I've heard that English is the only European language with it, but if Icelandic has the written thorn, maybe you have that sound too?
- kmt 19y agoБраво!
- gojomo 19y ago♫♪♫ to my ears. I ♥ unicode! To ∞ and beyond, ☺
- tocomment 19y agoHow do I make the infinity? Actually where do I get all those symbols?
- eusman 19y agohttp://www.unicode.org/charts/ http://www.unicode.org/charts/ (characters) http://www.unicode.org/charts/symbols.html http://www.unicode.org/charts/symbols.html (geometrical shapes etc) As I understand only UTF-8 is supported, so forget characters for UTF-16 and UTF-32 (but you rarely need these anyway)
- docmach 19y agoUTF-8 can represent any Unicode character.
- deleted 19y ago[deleted]
- eusman 19y agoyeah i confused that with ISO 10646 (has the 3 levels which specify unicode, not all levels support the same characters) and UCS2, which UCS2 is essentially UTF-16, so i meant if he used any characters bytecoded in UTF-16 essentially he'd have a problem, although utf-8 doesnt support certain octets. UTF-8/16 were not yet part of the standard before UCS version 2.0. Been a while I guess since i got updated
- erydo 19y agoYou have to buy a unicode keyboard. They have over 95000 keys and take up about nine square meters. Hope you have a big desk. (Sorry, I couldn't resist)
- far33d 19y agoSo. A note to all the "unicode makes this unusable" people - Apparently, while you were complaining, someone else was solving.
- menloparkbum 19y agoThanks, grandma.
- microdan 19y agoI think the complaints were more about how pg was originally saying that he intended to never support Unicode. That said, people should realize that UTF-8 encoding/decoding is the zeroth step to internationalization with Unicode.
- curi 19y agopg didn't say that. people just made it up.
- olavk 19y agoHe did however say: "It's not for everyone. In fact, Arc embodies just about every form of political incorrectness possible in a programming language. It doesn't have strong typing, or even type declarations; it uses overlays on hash tables instead of conventional objects; its macros are unhygienic; it doesn't distinguish between falsity and the empty list, or between form and content in web pages; it doesn't have modules or any predefined form of encapsulation except closures; it doesn't support any character sets except ascii. Such things may have their uses, but there's also a place for a language that skips them, just as there is a place in architecture for markers as well as laser printers." (http://arclanguage.com/ http://arclanguage.com/) I certainly interpreted this as ASCII-only (along with presentational markup) was an explicit design decision, and I don't think this is a far-fetched interpretation. Luckily PG has clarified (http://news.ycombinator.com/item?id=111189 http://news.ycombinator.com/item?id=111189) that this is not really what he meant, and now everyone is happy and has regained trust in Arc!
- curi 19y ago
- olavk 19y agoRøv og nøgler! PG succumbs to the demands of political correctness! Will we soon see mandatory static type declarations and CSS in Arc?
- mixmax 19y agoÅåååh another Dane on the ropes :-)
- pg 19y agoWell, not quite. I gave Patrick an early version of the code, a couple weeks before Arc was released, and he immediately sent me this fix. I just didn't get around to incorporating it till now. There's a difference between things I don't care about, and things I'm actively against. I don't care about character sets and css, so those things will no doubt gradually get better. Classic static typing, however, I think is actually a bad idea in a general-purpose language. It makes languages weaker. So it's never likely to happen in Arc itself. However, one of the explicit goals of Arc is to be a good language for writing other languages on top of, and I can imagine plenty of languages for specific types of problems (e.g. circuit design) in which static typing would be a good idea.
- dfranke 19y agoIt's not true that static typing always makes languages weaker. It makes map more powerful, for example: the desired type of output sequence can be inferred rather than having to supply a first argument of the same type like in Arc. I used to agree with you, by the way -- static typing in most languages feels like a straight-jacket. ML wasn't enough to change my mind. It took Haskell.
- rams 19y agoஇது தமிழ
- joe24pack 19y agoTo je výborný !
- sabat 19y agoPaul Graham rocks.
- aquarin 19y agoПГ рулз.
- deleted 19y ago[deleted]
- deleted 19y ago[deleted]
- deleted 19y ago[deleted]
- deleted 19y ago[deleted]
- deleted 19y ago[deleted]
- mdemare 19y agoNâh, dâh zèn we maui klâh mei... (define Y (λ (m) ((λ (f) (m (λ (a) ((f f) a)))) (λ (f) (m (λ (a) ((f f) a)))))))
- olifante 19y agoWikipedia to the rescue: "The butter is melted and the flour stirred into it (slowly but surely), until it is has blended with the butter." (http://en.wikipedia.org/wiki/User_talk:S.Örvarr.S http://en.wikipedia.org/wiki/User_talk:S.Örvarr.S)
- timr 19y agoIt's an icelandic recipe for roux?
- jey 19y agoWhat needed to be changed? I am no character encoding guru but I thought that treating strings as opaque octet sequences was good enough to "support" UTF-8. i.e. Unless you actively break it, it should work by default.
- olavk 19y agoSee this thread: http://arclanguage.com/item?id=1563 http://arclanguage.com/item?id=1563
- olifante 19y ago普通话
- deleted 19y ago[deleted]
- staunch 19y ago日本
- shiro 19y agotesting some pitfalls... U+005c \ U+FF3C \ U+FFE5 ¥ U+007E ~ U+301C 〜 U+FF5E ~
- rokhayakebe 19y agogeeks. you guys forget about us sometimes. what is this?
- paulgb 19y agoHacker News now supports "utf-8", a way of storing text that supports characters from languages other than English. The excitement comes from the fact that Hacker News is programmed in Arc, and the change to Hacker News implies that Arc will soon support utf-8 too.
- rokhayakebe 19y agothank you sir
- jamiequint 19y ago农历新年 Happy (Chinese) New Year!
- mixmax 19y agoif you search for "Smjörið er brætt og hveitið smátt og smátt hrært út í það, þangað til það er gengið upp í smjörið." on Google this thread is the fourth result. Damn fast...
- prescod 19y agoDo I understand correctly that Arc strings are sequences of octets? If so: I really don't want to be a negativity guy but it seems like every language that has made an 8-bit string the default string type has regretted it later because it is so painful to change it without breaking code. Okay, Paul says that he won't mind breaking code. Maybe he means it, but it doesn't make any sense to me to knowingly and consciously repeat a design mistake that dozens of other people have made and regretted. It really just takes one day to get this right. You need to distinguish between the raw bytes read from a device and the true string type (which needs to be 21 bit or greater). You need a trivial converter from one to the other (which you can presumably steal from MZScheme) and back. That's it. You get this right at the beginning and you never have to backtrack or break code. My apologies in advance if this post is based on incorrect premises. I'm trying to help.
- olavk 19y agoArc snarfs the string implementation from MzScheme which support Unicode in The Right Way, as code points rather than octets.
- prescod 19y agoSo should I infer that the only reason UTF-8 is mentioned is that the reader APIs do not let you select the codec? Or is even that provided in which case it is accurate to say that Arc supports Unicode-in-general?
- olavk 19y agoArc uses MzSchemes reader (it modifies the readtable slightly to support []-syntax). AFAIK you cannot access the reader API from inside Arc. The reason Utf-8 is mentioned is that it is the default encoding when MzScheme reads or writes files or streams. I don't think anyone at this point would claim that Arc supports unicode-in-general.
- dzorz 19y agoCould you offer a better solution? What would your solution offer that octets do not? Random character access? No, because not a single unicode encoding offers easy random character access (because they are made of possibly several codepoints, which, in some encodings, are made of more than one basic "chars"). Gylph, word and sentence segmentation? I guess not.
- Create 19y agoÖt szép szűzlány őrült írót nyúz. Egy hűtlen vejét fülöncsípő, dühös mexikói úr Wesselényinél mázol Quitóban.
- axod 19y agoheh fantastic. I take back all that I said. Nice one ☺
- arundelo 19y agoBona novaĵo!
- patrickg-zill 19y agoBork bork bork!
- leoc 19y ago£!
- nickb 19y ago.(; sɹǝpuoʍ sǝop ǝɹnssǝɹd ɔı1qnd ɟo ʇıq ǝ1ʇʇı1 ɐ 'ǝǝs ¡ʍou ǝɯosǝʍɐ sı ɔɹɐ uı ʇɹoddns ǝpoɔıun ¡ɥɐɥ
- dcurtis 19y agoYes, because writing upside down is so incredibly useful! How did we ever live without it? /sarcasm
- nirs 19y agoנחמד.
- duke 19y agounicode and arc are ♫♪♫ to my ears too.. a fun way to play with arc and unicode might be at http://twext.cc/go/arc http://twext.cc/go/arc
- bootload 19y agoΗ ευχαρίστηση στην εργασία βάζει την τελειότητα στην εργασία ~ kudos to 'Patrick Collison'
- rob 19y agoåwesøme!
- kajecounterhack 19y agoHappy chinese new year. 白人看不懂
- tel 19y ago这个白人看得懂。
- _bq 19y agopg, you are my hero.
- nreece 19y agoकिसी वस्तु, व्यक्ति, स्थान, या भावना का नाम बताने वाले शब्द को संज्ञा कहते हैं। जैसे - गोविन्द, हिमालय, वाराणसी, त्याग आदि संज्ञा में तीन शब्द-रूप हो सकते हैं -- प्रत्यक्ष रूप, अप्रत्यक्ष रूप और संबोधन रूप ।
- DanielBMarkham 19y agobut ixnay on the igpay atinlay upportsay
- deleted 19y ago[deleted]
- ipeev 19y agoХубаво. Фонта само е някакъв преебан.
- tsuru 19y agopgの自分で書いた本は日本語に翻訳されているし、これからアークも日本で広げるかなぁ。日本ではリスプを使ってる人はまだいるかなぁ。
- nablaone 19y agołąś żółć - testing
- morbidkk 19y agosomeone from India --> संगणक प्रणाली - आर्क
- TMCMan 19y agoIf you are wondering: On Linux/X11, there's Ctrl+Shift+[unicde number in hexadecimal], gnome-character-map, umap or KCharMap (ت) And now for the less serious part: ሞሡሢ Am I the only one whom these Ethiopic characters remind of Tengwar? BTW, are there Unicode chars for Tengwar? I think there should be! (But not for Klingon, because it sucks.) I have fun wirting this on my ⌨, but ℐ∫ ᚾℍℹ⑀ not pointless? Who cares? Anyway, now we can use distinct characters for Roman numerals: Ⅰ,Ⅱ,Ⅲ,Ⅳ,Ⅴ,Ⅵ,Ⅶ,Ⅷ,Ⅹ,Ⅻ,Ⅽ,Ⅿ! Ye darn kids! Everythin we had was 7-bit ASCII, without parity, and we were damn greatful for it? You think you had it bad? I had to use Morse code for browsing porn, back in my days! And I had to etch my public key into the wall of a rotten ol' cave! We did not have this fancy-shmancy routed network, i had to remember the way from here to there all by myself! --- this post was presented to you by Too Much Coffee.
- mojuba 19y agoԼիսպը փայլուն է։
- DXL 19y agoMy name is Daniël. Not sure though if writing that wasn't possible before...
- deleted 19y ago[deleted]
- astrodust 19y ago☃
- jalammar 19y agoيعيش اليونيكود, شكراً بول.
- euccastro 19y agoþað er gaman að lesa. Takk fyrir!
- n3m6 19y agoމީމަގޭ މާދަރީ ބަސް. ދިވެހި ބަހަކީ ރީތިބަހެކެވެ. This is my language - Dhivehi. Written right to left.
- btbytes 19y agoನಮಸ್ಕಾರ. ಸವಿನುಡಿ ಕನ್ನಡ :)
- btbytes 19y agonamaskAra, savinudi kannaDa :)