Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ericmoritz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ericmoritz
8y ago
Java's verbosity made us all hate type systems in the early 2000s so many of us migrated to dynamic languages such as Python, Ruby in the mid 2000s that allowed us to work fast and loose and get things done. After about 10 years of cod
2.
▲
by
ericmoritz
9y ago
I've pretty much dumped Twitter for Mastodon. My mental health couldn't keep up with the air of constant outrage on Twitter.
3.
▲
by
ericmoritz
9y ago
Yup, that's exactly what they're doing: https://github.com/mozilla/send/blob/65c24990cd1646bc8c6e6c0...
4.
▲
by
ericmoritz
9y ago
I don't know for certain without digging into the code but they are probably using the WebCryptoAPI and doing everything client-side to encrypt the file. The URL that is shared contains the key for the file. You'll notice that the
5.
▲
by
ericmoritz
10y ago
I would get a Z-Wave daughter board and use Z-Wave devices for controlling the electronics. Z-wave devices aren't Internet connected so you only have to worry about locking down the Pi. Apparently there's already an open source p
6.
▲
by
ericmoritz
10y ago
We don't need another federated network. Administrators of those nodes are putting themselves into danger. What we need to develop is a purely decentralized p2p network that is resistant to censorship and eavesdropping.
7.
▲
by
ericmoritz
11y ago
Keep in mind that Erlang processes != System processes. Erlang processes are preemptively scheduled microthreads that are scheduled by the Erlang VM.
8.
▲
by
ericmoritz
11y ago
No, usually there's an accept process spawning working processes and passing the connection off to it. Erlang can have two versions of a module present in memory at a time. At the moment of a code upgrade, the processes working with e
9.
▲
Linking with Hydra and JSON-LD
(eric.themoritzfamily.com)
2 points
by
ericmoritz
11y ago
|
0 comments
10.
▲
Hydra Lite: A simple hypermedia format
(eric.themoritzfamily.com)
2 points
by
ericmoritz
11y ago
|
0 comments
11.
▲
How Linked Data made merging 3 data sources easy
(eric.themoritzfamily.com)
1 points
by
ericmoritz
12y ago
|
0 comments
12.
▲
Easy ETL with RDF and Python
(eric.themoritzfamily.com)
1 points
by
ericmoritz
12y ago
|
0 comments
13.
▲
by
ericmoritz
13y ago
The comments here describe doom and gloom of the web dying. I doubt the web is going anywhere. The future is going to hyperlink driven link data services that can power both native and web clients. I have started to architect such a solutio
14.
▲
by
ericmoritz
13y ago
Turner broadcasting uses Lua/openresty and riak: https://github.com/bakins/lua-resty-riak
15.
▲
by
ericmoritz
13y ago
Basically, open heroku
16.
▲
by
ericmoritz
13y ago
This is a fantasy of mine as well. A generic opensource PaaS would be awesome. Now if I just had the ambition... It is quite an undertaking.
17.
▲
by
ericmoritz
13y ago
this isn't any better than using a live server for testing. Build a good client library for your applications to use, mock the client library and don't worry about tests failing because of availability problems.
18.
▲
by
ericmoritz
13y ago
Works until you're forced to build a PHP site with GDBM as a backend because everyone but you thought it was a good idea.
19.
▲
by
ericmoritz
14y ago
Using generators in Python will get similar laziness in Python: from itertools import imap map(f, imap(g, imap(h, someList))) I think Python 3's map built-in is a generator so you no longer have to use the itertools module. Unf
20.
▲
by
ericmoritz
14y ago
If you really want power, use NumPy: from numpy import arange def squares_numpy(n): a = arange(n) return a * a $ python -m timeit -s "from squares import squares_append" "squares_append(1000)" 10000 loops
21.
▲
by
ericmoritz
14y ago
I can't tell you how many projects I've shelved for months and when I returned thought, "Damn it. How do I build this again? Oh look a Makefile. Thank you Past Eric." Even for projects that use more sophisticated build tools like rebar, le
22.
▲
by
ericmoritz
14y ago
Yeah, because of cowboy and Erlang's design it is going to out perform a single process evented server hands-down. 1. The evented servers are bound to one CPU, Erlang will use all CPUs 2. any bit of blocking code will stall the other
23.
▲
by
ericmoritz
14y ago
As far as I know, the one process per dyno is not a restriction that Heroku puts on the application, it is an architectural decision of the application. Spawn up worker pool if you want > 1 req at a time.
24.
▲
by
ericmoritz
14y ago
I'm missing something; how does LISP enable bug-free programs?
25.
▲
by
ericmoritz
14y ago
"OTP in Action" is an excellent book for learning OTP. The following reading will take you a long way with Erlang: Learn you some Erlang http://learnyousomeerlang.com/ OTP In Action http://www.amazon.com/Erlang-OTP-Action-Martin-Logan/
26.
▲
by
ericmoritz
14y ago
nice project. I usually avoid this by making my APIs accept a datetime objects and make the client code create the datetime object. Pure functions make tests simple.
27.
▲
by
ericmoritz
14y ago
The correct solution is to abstract away the database from the developer. An ORM forces a square peg into a round hole.
28.
▲
by
ericmoritz
14y ago
Or Erlang https://gist.github.com/bb01a85404e6b445dcb3#file_resolve_do... % -*- erlang -*- %%! -smp en
29.
▲
by
ericmoritz
14y ago
not as ridiculous as this. https://gist.github.com/969788
30.
▲
by
ericmoritz
14y ago
oh man, this one is and its "clear host cache" will come in handing in the future. chrome://net-internals/#dns
More ›