Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alco
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
alco
12y ago
Why is it not open source? I smell lock in.
32.
▲
by
alco
12y ago
No. The reason people use text based formats is so that they could be read by humans without additional tools. Compression reduces the size but it's not reasonable to claim it works better then a binary format designed for light footpr
33.
▲
by
alco
12y ago
Quicksilver is similar to Alfred in intent and quite featureful/customizable. It is open source. https://github.com/quicksilver/Quicksilver
34.
▲
by
alco
12y ago
I'm afraid that going in the direction of using single-language platforms only draws us further for having a standard way of managing them.
35.
▲
by
alco
12y ago
Python is good for scientific computing. But this is one person's experience. Users of other languages may sleep calm.
36.
▲
by
alco
12y ago
You mean a pseudo-shell? Because when you're running OCaml on top of a hypervisor, there is no OS and shell in the traditional meaning of those words. So nothing to connect to.
37.
▲
by
alco
12y ago
That is partly true. But if there is nothing to hack into, there will also be nothing to log in to for an admin or an ops person. In the case of Erlang, for instance, it provides a built-in remote shell which allows one to connect to a runn
38.
▲
by
alco
12y ago
Also http://corp.galois.com/halvm . Those three have in common the trait that they support single language runtime: Erlang for Erlang on Xen, OCaml for MirageOS, and Haskell for HaLVM.
39.
▲
by
alco
12y ago
Is that fifty-one or fifteen?
40.
▲
by
alco
12y ago
What I mean is that it's not possible in a dynamically typed language to enforce at compile time enumeration of all possible cases for a variable, the type of which will be known at run time.
41.
▲
by
alco
12y ago
There are no enums in Erlang and Elixir. If you have a case expression and there is no match with the given value, you'll get a run time error. This is deliberate and is part of the general approach to error handling in those languages
42.
▲
by
alco
12y ago
So I've been using this service since this post on HN and I got a lot of "Link not recognized" bookmarks. I don't really understand the point of this. http://raindrop.io/collection/51838
43.
▲
by
alco
12y ago
Sure. I just wanted to stress the point that macros are local in their scope. It's nothing like monkey-patching in Ruby where importing a module can change all divisions from floats to rational numbers.
44.
▲
by
alco
12y ago
Regarding your point about cleaning up other people's macros. In Elixir macros are imported into local scope only when the user explicitly asks for it. Most libraries provide a `__using___` macro that can modify current scope. For inst
45.
▲
by
alco
12y ago
There's also Racket[1] and Rust[2]. [1]: http://queue.acm.org/detail.cfm?id=2068896 [2]: http://static.rust-lang.org/doc/0.10/guide-macros.html
46.
▲
by
alco
12y ago
I agree with all of the above. I would just like to add that in Elixir meta-programming does not always have to deal with macros. For example, this program somelist = ... # any kind of data, # could be loaded from f
47.
▲
by
alco
13y ago
Is it so difficult for you to spend one day in a year away from the Internet to avoid the "lameness" that irritates you?
48.
▲
by
alco
13y ago
As the answer on stackoverflow mentions, there is -ffast-math option to gcc that tells the compiler to treat fp operations as associative. I've done some testing: $ clang -v clang version 3.3 (tags/RELEASE_33/final) T
49.
▲
by
alco
13y ago
OK, I've scrolled all the way down, seen some nice colors and heard some nice music. But where's the info about Google I/O? Seriously, I didn't even try to read the text on the page because its overall mood implies the t
50.
▲
by
alco
13y ago
Could you point out what is oppressive about Chrome? I don't see any G+ in here.
51.
▲
by
alco
13y ago
YAGPL (yet another general-purpose language). I think we've had enough of those in the past decade. Each one has something new to offer, but at the same time it disperses attention of the programmer crowd and so less effort is put into
52.
▲
by
alco
13y ago
Still, why? Why open 38 doors? I don't think this emphasizes the difference in probability, it just creates artificial bias. Let's analyze the classical problem. After you pick a door, one of the remaining two doors is opened. Wit
53.
▲
by
alco
13y ago
I can't see how your generalization of the problem to more doors is correct. In the classical problem with 3 doors, if you pick a door with a car, the host will only open 1 other door. In your demo, if I use 40 doors and pick one, the
54.
▲
by
alco
13y ago
>Q: How secure is Telegram? >Very secure. [...] It's just an advertisement like any other. I'm sure the people responsible for the content of the FAQ know their target audience, so they know the wording will work for those w
55.
▲
by
alco
13y ago
At first, I was confused too. So I asked on the ML. See [1] and continuation in [2]. You could also browse the docker-user list, there are a number of threads asking to clarify various concepts about Docker. [1]: https://groups.g
56.
▲
by
alco
13y ago
It pains me to see how he repeats the same action for each subtitle-block element, doing the same thing 3 times total. Imagine you had a scrollable area with 20 blocks. If it's a mockup editor, then it should be easy to customize from
57.
▲
by
alco
13y ago
Try hitting the Back button in your browser after drawing for a while.
58.
▲
by
alco
13y ago
Clang is destined to change that. http://clang.llvm.org/features.html#applications
59.
▲
by
alco
13y ago
You can panic inside Write() and recover at the top of the DumpBinary() function. This has been demonstrated by Rob Pike and Andrew Gerrand in a talk at Google IO. As long as you don't leak panics outside of your package, it's OK
60.
▲
by
alco
13y ago
Thanks!
More ›