Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
ane
11y ago
That's... actually simple stuff. Have you had a look at Scalaz? Or Shapeless? The whole point of Cats is to solve the overkill of Scalaz, where you sometimes do need algebra, by making abstractions simpler and safer to use. Remember,
62.
▲
by
ane
11y ago
Scala is a highly versatile hybrid language that can be used in a way that doesn't promote needless complexity. Just like you need not use the most advanced OOP features, you need not use advanced FP features, nor do you have to use ma
63.
▲
by
ane
11y ago
+1
64.
▲
by
ane
11y ago
HashiCorp is working on something like this: https://github.com/hashicorp/go-plugin
65.
▲
by
ane
11y ago
The actual northernmost French (the Republic) community is in Saint-Pierre-et-Miquelon, which is funnily enough just next to Quebec! it's an overseas territory and they use the Euro as their currency. https://en.wikipedia.
66.
▲
by
ane
11y ago
Soros has insightful opinions regarding Orbán and the internal political struggle arising within the EU, but caveat lector: Soros has a large, literally vested interest in seeing the Euro collapse. That is to say, he has bet a huge amount o
67.
▲
by
ane
11y ago
It does indeed. The interactive shell is called IEx: http://elixir-lang.org/docs/master/iex/IEx.html
68.
▲
by
ane
11y ago
Is the ad hoc distinction between compilation and "transpilation" really worth it? Can't we just call them compilers? I get that the difference between compilation and transpilation is that the target language of the latter i
69.
▲
by
ane
11y ago
I think he means that employee is telling the manager that the employee is tracking his own time, thus, when the manager requests work to be done, the manager will take a resource-oriented approach to the employee's time and focus. I
70.
▲
by
ane
11y ago
The MVC pattern is honestly so simple it or something like it usually emerges from most UI architectures. I would argue that even the increasingly common backend vs. frontend separation is a form of MVC. Of course, MVC isn't synonymo
71.
▲
by
ane
11y ago
What made you switch? I mean, if you are already familiar with Emacs, I don't see any reason to switch. CIDER and clj-refactor offer a lot more functionality, and the debugger is fantastic.
72.
▲
by
ane
11y ago
Your Python example is functional programming! You're doing exactly the same thing as in Clojure, just not in a Lisp syntax. Therefore, in your question, you could substitute Clojure with functional programming, and the examples in w
73.
▲
by
ane
11y ago
Elixir isn't that old and it'll be interesting to see if it caches on. It's basically Erlang with a nicer syntax and some new ideas.
74.
▲
by
ane
11y ago
Lisp isn't just a concept, it's also a family of implementations. The two significant branches are Scheme and Common Lisp. The only thing they have in common is using parentheses - they're about as different from each other a
75.
▲
by
ane
11y ago
None exist. So far the best solution is to use Emacs with [2] * merlin-mode, for autocompletion * ocp-indent, for external code formating... think running gofmt on every enter press (surprisingly, it's fast enough unless your file is 2
76.
▲
by
ane
11y ago
With the addition of virtual desktops to Windows 10 you can keep the full-screen Virtualbox in another desktop. Switching between OSs just by pressing Ctrl+Super-Right/Left is fun.
77.
▲
by
ane
11y ago
Even if it's not official the IntelliJ Go plugin is quite good. It recently added support for a debugger, and it has a lot of static analysis capabilities and refactoring. I would say it is on par with other environments for most ser
78.
▲
by
ane
11y ago
It's just going to keep getting more features from ES6 and ES7. Some of the features in ES6/7 were taken from TypeScript, I reckon. https://github.com/Microsoft/TypeScript/wiki/Roadmap
79.
▲
by
ane
11y ago
The benefit of CIDER (the Clojure Emacs development environment) is that it now has a s-expr based debugger, whereas Cursive's debugger is still call stack based. So you can traverse the AST like in any other Lisp debugger and evaluate
80.
▲
by
ane
11y ago
OCaml!
81.
▲
by
ane
11y ago
The food is rather nice.
82.
▲
by
ane
11y ago
You will regret not going later. If you have the interest, computer science can offer staggering amounts of enlightenment.
83.
▲
by
ane
11y ago
Same here. I drink it for just the taste and smell. I can go off it for days and I don't get any adverse effects, nor do I feel any different lest I consume it excessively (about a litre).
84.
▲
by
ane
11y ago
The JVM type system uses type erasure (which means that any generic type Blah<T> becomes Blah at runtime), so you can't instantiate types based on generics at runtime. In C# it is valid to do "T foo = new T();" and beca
85.
▲
by
ane
11y ago
Well, if somebody breaks the kernel so that printing doesn't work, it will most likely return something strange, in the case of Clojure, an exception. A pure function always returns the same result because it only depends on its input
86.
▲
by
ane
11y ago
There's also evil-lisp-state (which is essentially a modal interface to smartparens), https://github.com/syl20bnr/evil-lisp-state , and evil-smartparens ( https://github.com/expez/evil-smartpar
87.
▲
by
ane
11y ago
I think in Estonia any invested money is exempt from taxation, that is to say, if you invest your profits, you will not be taxed.
88.
▲
by
ane
11y ago
Java generics aren't the best example of how to implement generics. C# or Rust are better in this regard, which both have reified generics. Generics do solve a practical problem identified decades ago, ad-hoc code generation or void*
89.
▲
by
ane
11y ago
The lighting is indirect and not as strong as in a backlit display. That could affect the amount of melanin suppression going on. That is to say, it could very well be considerably weaker than in backlit displays.
90.
▲
by
ane
11y ago
Yes, you're right. Perhaps my original statement was a bit too extreme in that sense. I'd wager, though, that having the screen not be back lit at least reduces sleep disruption, that is, it fares better than backlit screens in th
More ›