Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pacala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
811.
▲
by
pacala
12y ago
TL,DR: Complex logic depends on data objects declared in your module. Instead of Logic => Dependency, refactor as Logic => Data + Data => Dependency. The code is organized as: // What kind of Data Logic processes.
812.
▲
by
pacala
12y ago
Don't forget to leave it open for mega-business to track whatever the f*ck they want. Government is evil, but Google and Facebook are saints of commerce that do no evil :/
813.
▲
by
pacala
12y ago
Why stop at license plates? Partner with Facebook and do face recognition already.
814.
▲
by
pacala
12y ago
Not so good companies have a mess of broken systems. You end up spending more time reverse engineering random bugs in the systems than actually doing any forward progress. Knowing the bugs of a specific framework thus becomes a precious ski
815.
▲
by
pacala
12y ago
Breadfruit range doesn't seem particularly suited for "the lower 48". According to this map, it's growing range is hugging the Equator. http://www.esri.com/news/arcnews/summer12articles/wil
816.
▲
by
pacala
12y ago
An example of project that impresses me to no end: The Monte Carlo Revolution in Go, http://remi.coulom.free.fr/JFFoS/JFFoS.pdf , http://en.wikipedia.org/wiki/Monte_Carlo_tree_search . Took a simple
817.
▲
by
pacala
12y ago
I'd be much more impressed by one small, interesting project than a bunch of large, overengineered ones. ;)
818.
▲
by
pacala
12y ago
Thanks for the tips. I'm super-hyped that blaze was open sourced, it is one of the best systems I've ever had the pleasure to work with. A couple more questions :) * Any pointers for adding Scala (sbt?) support? I'd start her
819.
▲
by
pacala
12y ago
A couple of questions: * If I have a Maven-based project with heavy reliance on pre-built jars from Maven Central, what's the recipe to port it to Bazel? * Related, if I have multiple github repos, say a couple open source libraries an
820.
▲
by
pacala
12y ago
The next time I hear "crunch" from a PM type, I'll publicly invite him/her to lead by example and deliver a bunch of features over his weekend.
821.
▲
by
pacala
12y ago
On top of my head: * Tell me more about the problem are you trying to solve. * There are well tested and tuned libraries for search trees, like the JVM TreeMap. What requirement prevents us from using it? * The JVM TreeMap uses RedBlack tre
822.
▲
by
pacala
12y ago
> Imagine a Warsaw Ghetto uprising. We've learned a lot during WWII and in the decades after, in matters of mass destruction. A modern Warsaw Ghetto would share the fate of Grozny: razed to the ground by artillery and air bombings.
823.
▲
by
pacala
12y ago
Great point. A subroutine is essentially assigning a signature (name, args, returns) to a block of code and never having to look into the details of the block of code again. A bad subroutine is a subroutine that hides nothing: all the inter
824.
▲
by
pacala
12y ago
The signs of the post information revolution world. Most work is automated, even the work of automators. There are simply no more good honest jobs. The competition for honest jobs is so fierce, the market has driven the price of these jobs
825.
▲
by
pacala
12y ago
There is no stable sandboxed browser protecting against kernel vulnerabilities on any platform that I know of prior to Chrome. That's the very definition of pioneering. Do you have an example of prior art? There may be sandboxing mecha
826.
▲
by
pacala
12y ago
Thanks. Would be really nice to have this message on the front page, before one goes and types the zip code for a letdown. I expect more from Google branded services.
827.
▲
by
pacala
12y ago
"Sorry, we don't cover your state The service isn't currently available in your state, but we'll be expanding to more locations soon. Stay tuned!" Consider publishing the list of states where this service is availab
828.
▲
by
pacala
12y ago
+1. I'd been looking for a while for a production quality RPC solution, especially one with Scala bindings. Regarding the gRPC release, I've looked at the examples in the repo and only found this: https://github.com
829.
▲
by
pacala
12y ago
The jury is out on whether, for large time frames and for large communities, having a centralized type system is better than having a decentralized set of independent tools. I'm not very excited by GHC's model of language extensio
830.
▲
by
pacala
12y ago
Hi there, comrade. Perhaps Americans are using the same coping mechanism we were using to deal with the exuberant and completely inane "party line". As outsiders, and engineers on top of it, we just don't pick up the inanity
831.
▲
by
pacala
12y ago
As a Xoogler with some exposure to Go, let me second: * Go is an excellent tool for getting things done. * Go is great for reading large amounts of other people's code. * Go team is truly impressive. I expect Go to only get better.
832.
▲
by
pacala
12y ago
There multiple persons under the same roof, sleeping at night. The alarm in the basement sounds. You go in there. There is a thick smoke. You disable the alarm. You inhale too much smoke and fall down. The house burns down and everyone dies
833.
▲
by
pacala
12y ago
If I'm reading the blog code correctly, the error is trusting user input: // Rust let len = buffer[0] as usize; // C size_t len = buffer[0]; I'm no Rust hacker, but can I expect the Rust ty
834.
▲
by
pacala
12y ago
Just keep going business as usual. Given that we have plenty of trilobite fossils from the Cambrian, might even expect future paleontologists to find some fossilized skulls. http://www.fossilmuseum.net/Paleobiology/Camb
835.
▲
by
pacala
12y ago
I would look into https://spark.apache.org/ then. You can get quite good performance out of it, but you need to spend more effort in babysitting your data.
836.
▲
by
pacala
12y ago
> They expect seconds to minutes scale queries on hundreds of GB of data. Use BigQuery from Google.
837.
▲
by
pacala
12y ago
> I never got the whole hype behind OOP. It's really not much to it. Get value records right. Get method records right. Sadly, none of C, x86 or Haskell does this.
838.
▲
by
pacala
12y ago
I fully agree with all the operational / restart / features comments. However, I've often been surprised on how a little thought / research can build all these requirements on top of off-the-shelf components. I also agre
839.
▲
by
pacala
12y ago
I'm working hard to keep a professional, factual approach. There is more under the surface: A. (Appeal to authority) Until very recently, I've worked for years at a huge and very successful distributed systems company. There wasn&
840.
▲
by
pacala
12y ago
TL;DR This is all the concrete code from the article: 1 awaitPing andThen sendPong I'd find more valuable blog posts explaining how to solve a concrete problem with concrete code using the Actor model than mishmashes of quote
More ›