Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dm3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
dm3
9y ago
It's definitely not without issues. However, I've found it very simple to work with once you are aware of all the operational gotchas. Needless to say, it's especially powerful in a 100% Clojure stack. The features I like mos
92.
▲
by
dm3
9y ago
As time goes on you keep accumulating these details in your head. Then you just think about the low-level stuff the same way you think about the higher-level stuff, like algorithmic complexity, code structure, etc. It does get tedious if yo
93.
▲
by
dm3
9y ago
I think what you call viewpoints are called Bounded Contexts ( https://martinfowler.com/bliki/BoundedContext.html ) in DDD parlance.
94.
▲
by
dm3
9y ago
This actually looks pretty handy. Not sure why you'd think it's so terrible - how else would you capture a request in a variable to play with it in the REPL? I think a lot of the constraints can be relaxed during the development p
95.
▲
by
dm3
9y ago
I'm not a big fan - once you start encoding type information in names, you have to be extremely attentive when refactoring. It doesn't scale too well in a larger team. I prefer clojure.spec to guard significant (ns, api) boundar
96.
▲
by
dm3
9y ago
* Don’t use “use” - agree completely. * Use consistent, unique namespace aliases - agree. This helps tremendously when consistent across projects given the varying tooling capabilities. We even have a dictionary of namespace -> alias map
97.
▲
by
dm3
9y ago
Interesting. As a datapoint - I've never programmed in Python (mostly Java/Clojure) but had no trouble answering the questions.
98.
▲
by
dm3
9y ago
You don't have to use maven directly. Something like https://github.com/bodar/jcompilo would be much simpler and faster for a small project.
99.
▲
by
dm3
9y ago
Do you have any particular reasons to prefer Node (assuming Javascript) to Clojure/Groovy? Asking, because I do most of my development in Clojure and find it much nicer than Node both for POC and production. There's also self-host
100.
▲
by
dm3
10y ago
It's possible, but you have to be disciplined. I try to get up an hour or two early every day at least for a week per month to put some quality time into the studies/projects. Other times it's 10 minute chunks that you squeez
101.
▲
WireGuard: a modern VPN tunnel [PDF, slides]
(fosdem.org)
4 points
by
dm3
10y ago
|
1 comments
102.
▲
by
dm3
10y ago
Actually, the new G1 collector deals very well with latency-sensitive workflows. I'd say it's comparable to Go if you adjust your heap size to the working set. You can try running the benchmarks here - https://gitlab.co
103.
▲
by
dm3
10y ago
Having built a few RDBMS-based event stores - it's pretty easy to do. There are two parts that I can think of that are not completely trivial - appending events to the stream while respecting "expected version" modifiers with
104.
▲
by
dm3
10y ago
You don't need that `cemerick.pomegranate` import. Boot can already do that - the `deps` functions should look like this: (defn deps [the-deps] (merge-env! :dependencies the-deps))
105.
▲
by
dm3
11y ago
For those interested - there's a Clojure RETE implementation: https://github.com/rururu/rete4frames
106.
▲
by
dm3
11y ago
Very nice. This looks like a great complement to `jt` ( https://github.com/micha/json-table ) - a tool to turn JSON into plain text tables. Both seem to be super simple tools written in C with no heavy dependencies.
107.
▲
by
dm3
11y ago
We're using pallet. Even though it's not trivial to get started with and the docs are quite sparse, it provides a solid foundation for scripting the configuration management tasks. I much prefer it to Ansible/Chef/Puppet
108.
▲
by
dm3
11y ago
If you're ready to check out Clojurescript, I strongly recommend trying out Hoplon: https://github.com/hoplon/hoplon It requires a certain shift in thinking when coming from pretty much any other framework. Howeve
109.
▲
by
dm3
11y ago
You have to start with the problem. If your problem is solved by highly available and stateful services, then the Erlang VM on the host seems like a good idea. If the availability doesn't matter that much or the services can be made st
110.
▲
by
dm3
11y ago
As a counterpoint - I went back to VIM after a month of spacemacs. I've actually put in the effort to learn the keybindings for all the relevant tasks I needed and the way Emacs works internally, as much as it's possible in a mont
111.
▲
by
dm3
11y ago
What are the perceived advantages over the standard VIM? I understand that the core is simpler, the plugin API is better, but what would make one switch as a user?
112.
▲
by
dm3
11y ago
Specter also works with Clojurescript :)
113.
▲
by
dm3
11y ago
The other benefit of the JVM is the multiple languages that run on it - did you try Clojure or JRuby already? Or do you mean Java as in JVM and you don't want that in your stack for some reason?
114.
▲
by
dm3
11y ago
Could someone explain in simple terms how is the target set to the robot so that it can learn to accomplish the task? For example, what inputs are provided in order for it to understand that it needs to put the cap on the bottle?
115.
▲
by
dm3
11y ago
There's an argument for spoofing from earlier this year [1] which I would tend to agree with if the proportion of spoofers and HFT front-runners actually balanced out. Not sure how it really is in reality though. [1] http://
116.
▲
by
dm3
12y ago
There's a publication comparing plea bargaining system of US with the tortures commonly applied in medieval courts to get convictions: http://www.ibccrim.org.br/DPE2014/docs/flavio/torture.pdf In short,
117.
▲
by
dm3
12y ago
There's a good comment on this topic in the /r/science subreddit: http://www.reddit.com/r/science/comments/3012yj/global_warmi...
118.
▲
Google Closure module support in ClojureScript
(swannodette.github.io)
15 points
by
dm3
12y ago
|
1 comments
119.
▲
by
dm3
12y ago
Minor remark: one major selling point of (some) hedge funds is low correlation with other investments, not huge returns.
120.
▲
by
dm3
12y ago
It's neither obsolete, nor antiquated. People in this thread seem to conflate DDD and OOP which is understandable given that 90% of DDD resources target the typical enterprise Java/C# setting. The truth is, DDD consists of two par
More ›