Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
T-R
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
1.
▲
by
T-R
5d ago
But who is this solution for? Unless you change the pronunciation of the language, it would be adding markers around whole syllables to disambiguate - syllables that represent the kanji they came from (many of which already have phoentic co
2.
▲
by
T-R
5d ago
A lot of material for younger readers uses similar spacing to Korean, like the Pokemon games. It works well enough when you know the vocabulary being used is limited, but even there it gets frustrating. When you're reading, you're
3.
▲
by
T-R
5d ago
Spoken Japanese uses pitch accent to distinguish homophones
4.
▲
by
T-R
1mo ago
To add something a little more practical than "it's fun" or "it's philisophical" - For someone packaging things with Nix, it's tempting to think of derivations as just a builder - you write your scripts, a
5.
▲
by
T-R
5mo ago
No, the issue is if the first binding is on the same line as the `let`, you are required to write, e.g.: someValue = let f = 9 fo = 10 foo = 123 in f+fo+foo rather than: someValue
6.
▲
by
T-R
5mo ago
> inner expressions must be indented more Not to support the parent comment, which I disagree with, but If you use multi-line let-bindings, those require that you indent not just more than the previous line, but as much as the first toke
7.
▲
by
T-R
8mo ago
I'm a huge fan of it - I was never able to get one while they were officially available, I only managed to rent one from Blockbuster a few times. I eventually picked one up on eBay in the early 2000's for $60, before they became c
8.
▲
by
T-R
8mo ago
The article seems to assume readers are already familiar with the context, or maybe that they'll stop to read the original paper. For those who aren't familiar, Selective Applicative Functors were presented as part of the developm
9.
▲
by
T-R
1y ago
Abstract Algebra, looked at through the lens of Programming, is kind of "the study of good library interface design", because it describes different ways things can be "composable", like composing functions `A -> B` a
10.
▲
by
T-R
1y ago
Optics let you concisely describe the location, but defer the dereferencing, so you could definitely approximate optics, not by passing around pointers you compute with `offsetof`, but passing around functions that use `offsetof` to return
11.
▲
by
T-R
1y ago
I definitely agree for traversals, but Lenses need some sort of primitive support - even in Haskell they're mostly generated with TemplateHaskell, and the language developers have spent a long time trying to make the `record.field` acc
12.
▲
by
T-R
1y ago
> should I implement the Monad, Applicative or Functor type class? I struggled with this when I first learned Haskell. The answer is "yes, if you can". If you have a type, and you can think of a sane way to implement `pure`, `f
13.
▲
by
T-R
1y ago
Thinking too concretely about monads as boxes might make the behavior of the ListT monad transformer seem a bit surprising... unless you were already imagining your box as containing Schrodinger's cat. I can definitely understand the a
14.
▲
by
T-R
2y ago
A good place to start is with the original Game Boy - you can probably gather from the article that, to build a GBA emulator, you need to support some aspects of the Game Boy anyway (notably the sound chip). That would give you a simpler pl
15.
▲
by
T-R
3y ago
Shinjuku station has also changed dramatically from all the construction over the last 10 or so years. I lived in Shinjuku (the ward; I was actually a few stations north on the Oedo line) in 2009/2010; was back there a few weeks ago an
16.
▲
by
T-R
4y ago
Alexis also just posted a video on the GHC optimization pipeline: https://www.youtube.com/watch?v=fdyh3YQ-ZWI
17.
▲
by
T-R
5y ago
I think, coming from other languages, it takes a while to really absorb how much you can rely on types to tell you what a function is doing - to the degree that for some functions you can infer the implementation from them[1]. That said, Ha
18.
▲
by
T-R
5y ago
Doing things in an IO monad, you don't distinguish much between types of effect, everything's just in IO, and you just execute the action when you run into it, which means that you don't have, e.g., lookahead to see if you ca
19.
▲
by
T-R
5y ago
This is what I was trying to get at - using column vectors gives good cache locality and lets you use SIMD for "multiply all of these by this scalar" for each column, and then for "sum all of these" for the resulting row
20.
▲
by
T-R
5y ago
Data science does a lot of SQL-like and linear-algebra-like transformations over a lot of data, and needs it to be reasonably performant. This means you want to do things like minimize overhead of indexing into data, and use things like SIM
21.
▲
by
T-R
6y ago
Facebook's spam filtering: https://engineering.fb.com/2015/06/26/security/fighting-spam...
22.
▲
by
T-R
6y ago
I don't have a problem getting my fingers down everywhere but the corners of the handle, so just pushing a paper towel down there works fine; I wouldn't be surprised if people with bigger hands than mine have more trouble, though.
23.
▲
by
T-R
6y ago
I have one of these; the complaint about the fan being inaccessible is legitimate, but it's otherwise clean, and easy to clean - the tank and the base can be scrubbed by hand or just thrown in the dishwasher, unlike any vaporizing humi
24.
▲
by
T-R
6y ago
> Comparing floats for equality is not a good idea This is very true, but the mention of data science is really significant here. If you're trying to productionize a neural network or something similar, you ideally want to be able t
25.
▲
by
T-R
6y ago
It's for defining types for existing formats, with the goal of generating types for a lot of different languages. A lot of formats are just defined with very simple types; the machine-readable descriptions don't capture informatio
26.
▲
by
T-R
6y ago
I don't think it's a bad thing. Like them or not, they have a somewhat controversial history; a lot of people worried that their projects would fork the ecosystem, or give them too much control of it - I wouldn't be surprised
27.
▲
by
T-R
6y ago
Kanji are composed from a much smaller set of radicals, so you look it up by the radicals that compose it. Some dictionaries also divide characters up by stroke count. For the past 15+ years, electronic dictionaries with handwriting recogni
28.
▲
by
T-R
6y ago
While I don't think Japan should be judged solely on its fax machines (they're ahead in some places and behind in others), there is a difference with fax machine usage in Japan vs the US - they're a trailing indicator of anot
29.
▲
by
T-R
6y ago
My understanding is that the current implementation is only groundwork for possible future performance benefits, since there are no changes to the runtime system or garbage collector, and that their current intended use is mostly for allowi
30.
▲
by
T-R
6y ago
> is Rust the motivating factor behind linear types cropping up lately? Philip Wadler wrote "Linear Types Can Change the World!" while he was working on Haskell back in 1990. I vaguely remember there were some mentions of poss
More ›