Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
willtim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
willtim
7y ago
I was calling out the Java memory model and concurrent programming in Java as being very complex. It's inherent to the language itself and almost impossible to change. I was only calling it "hidden" complexity as most people
272.
▲
by
willtim
7y ago
> You think I'm done? Let's get to Lens. Lens is a library, not part of Haskell the language, it's also not particularly widely used. If you are going to conflate the ecosystem with the language, then we could equally talk
273.
▲
by
willtim
7y ago
I am not American, but if I was, much of the above would also upset me. But you are invoking a straw man, my point was that Apple should pay more tax (especially to Europe), not solve all the worlds problems. I get that you don't care.
274.
▲
by
willtim
7y ago
> How would you decide on any other number and justify overpayment to the shareholders? How do they justify a 245 billion dollar cash pile to the shareholders? To decide on a number, pick one that beats all competitors, then advertise on
275.
▲
by
willtim
7y ago
Apple already have the largest margins in the industry. They are sitting on a 245 billion dollar cash pile. They have so much cash they literally don't know what to do with it. Meanwhile, infrastructure and public services in both our
276.
▲
by
willtim
7y ago
The richest company in the world with the best lawyers will always find loopholes to exploit. I would argue it's the spirit of the law that counts. One way to tackle it is to rebut any claims of self-righteousness from said corporation
277.
▲
by
willtim
7y ago
This is true, even Haskell supports imperative programming and mutation (very well in fact) but languages do need defaults. Given that even OOP thought-leaders argue "favour immutability", I would argue that FP languages offer a b
278.
▲
by
willtim
7y ago
They also pay 0.005% tax in Europe, sure it's legal, but is it morally ok? They certainly benefit from all the European infrastructure and academic research that they are not contributing back to. Some put the figure owed at 14.5 billi
279.
▲
by
willtim
7y ago
I don't think modern Haskell is a single paradigm language. As I said above, it has good support for imperative programming and lots of imperative code has been written in Haskell. Even the GHC compiler is full of imperative code and u
280.
▲
by
willtim
7y ago
Depends on what you mean by "scalable". Given that Haskell can track the use of effects and mutable state in its type system, might suggest that it allows such techniques to scale beyond a language that does not. Haskell also has
281.
▲
by
willtim
7y ago
Haskell is perfectly capable of expressing imperative algorithms and mutable state. Such algorithms are still expressed using pure functions, pure functions that return IO actions.
282.
▲
by
willtim
7y ago
Monads let you redefine what a statement is. This is very powerful and makes Haskell my favourite language for imperative programming. There's no need to modify the compiler for e.g. Async/Await, it can be a library. A Monad insta
283.
▲
by
willtim
7y ago
There's an opportunity for someone to sell "reasonably" secure hardware at this price point. Especially since Intel certainly isn't selling anything that fits this description.
284.
▲
by
willtim
7y ago
I use it with the excellent USB Audio Player Pro. It uses its own driver for external DACs, I guess because the Android one is not fit for purpose.
285.
▲
by
willtim
7y ago
At home I use a dragonfly red DAC paired with some open back sennheisers. But even when I'm out and about I benefit from FLAC. I use some noise cancelling Sony headphones which use the lossy LDAC codec over Bluetooth. My FLACs sounded
286.
▲
by
willtim
7y ago
I use the dragonfly red, a fantastic dac and amp that was significant upgrade over the built in phone one.
287.
▲
by
willtim
7y ago
The question is, are they selling in large enough quantities to justify a market for software.
288.
▲
by
willtim
7y ago
Is there even an Android tablet market anymore? (Excluding Kindle Fire)
289.
▲
by
willtim
7y ago
Am thinking about picking one of these up for my daughter, 32GB seems a bit stingy though, will that be enough for apps and games?
290.
▲
by
willtim
7y ago
> Products built in haskell don't seem to have dramatically lower maintenance costs. They don't tend to have features that other products don't have. That is your anecdote, mine is the opposite. Using Haskell at my place o
291.
▲
by
willtim
7y ago
There is unfortunately a large learning curve for production Haskell. It's a very different language to most imperative object-oriented ones, that are all broadly very similar. However, the concepts that folks will learn (Monads, Monoi
292.
▲
by
willtim
7y ago
There was a hackernews post yesterday where the top voted comment asserted that computer science and maths is (in practice) only useful for data structures and algorithms; everything else needed either physics or social science. This is why
293.
▲
by
willtim
7y ago
Not true at all. We live in a world were marketing determines the standards used. The current trend is actually to give programmers less guidance on writing correct, composable code ("Dynamic" scripting languages).
294.
▲
by
willtim
7y ago
Computer science and math is useful beyond just algorithms and data structures. Understanding the mathematics behind program construction would allow more programmers to write composable code and more general, re-usable, less ad-hoc APIs; a
295.
▲
by
willtim
7y ago
The Emacs bindings were designed for ease of learning, not ergonomics. For example C-n and C-p for next/previous, stretches the hand and uses the weak pinky for the very commonly used cursor keys (Vim uses the home row). I do use these
296.
▲
by
willtim
7y ago
XML and especially XML schema are hugely complex and almost laughably difficult to bind to any mainstream programming language. It took Java over a decade to produce a binding that could (perhaps) handle an arbitrary schema. Types boil down
297.
▲
by
willtim
7y ago
I actually still use the (admittedly awful) Emacs bindings. I have both ctrl and alt available as thumb keys on both sides (using a Kinesis Advantage). I also activate these modifiers using an opposite hand to avoid "chording". Th
298.
▲
by
willtim
7y ago
The Kinesis Advantage completely cured my RSI. It's also much more pleasant to type on than any other keyboard I've tried. Worth every penny. I also use a Kensington Slimblade trackball for when I can't avoid moving a pointer
299.
▲
by
willtim
7y ago
With regard to the details sure, but the fundamentals should be studied and understood. That's why this blog is not attempting to recreate the entire of Microsoft Excel.
300.
▲
by
willtim
7y ago
To quote Feynman, "what I cannot create, I do not understand".
More ›