Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wooby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
wooby
17y ago
How much they've made so far, with scala: scala> def income(n_users:Int) = (1 to n_users) map(i => (i-1)*.001) reduceLeft(_+_) income: (Int)Double scala> income(2901) res0: Double = 4206.45
302.
▲
by
wooby
17y ago
Hi, I've been there, and seen more than one up close. You're right - there are a number of triggering methods in use, to include IR, GPRS/"family band" radio, and cell. More sophisticated devices use a combination, like cell arming and IR/
303.
▲
by
wooby
17y ago
It would be cool to have HTTP proxy software that did this. So you set it as 'ie6' and it looks at your CSS and HTML and translates it into the "ie6 view" with problems annotated.
304.
▲
by
wooby
17y ago
Slackware is pretty BSD-like also; I know it's pretty straightforward to use NetBSD's pkgsrc (a fork of FreeBSD's ports mentioned in the link) on Slack. Like Arch, Slackware uses the BSD init system.
305.
▲
by
wooby
17y ago
Sometimes even when I define what done means before I start a project, I embarrass myself with my underestimates of complexity. Software is just plain fickle. Proof of concept on most any web app? Weekend. Something that satisfies anyon
306.
▲
by
wooby
17y ago
I agree 100%. Despite Scala's hype and functional influences, it's most exciting to me simply as another option for the JVM, and another "tool in the toolbox." Assuming you consider something JVM-based an eligible tool for a job, you have
307.
▲
by
wooby
17y ago
You can, sort of - create "mindmap", "django", and "project31" directories and in each of them put a symbolic link to your file. Tagging, the unix way. A script or GUI for doing that might be useful, maybe.
308.
▲
by
wooby
17y ago
Still very cool though, thanks for the link.
309.
▲
by
wooby
17y ago
The definition of "everyone" is even more difficult than "opposite," I think. If the definition of "everyone" is "most people on the planet," then developing Web apps is as close to the opposite of subsisting in a developing country I can
310.
▲
by
wooby
17y ago
Were you "pestering him with irrational questions" just to test his limits? If so, then the question in your post can probably be answered by people who know you.
311.
▲
by
wooby
17y ago
I ran into a paper called "The Next 700 Languages" while doing Scala research. The paper, written in 1966, is lengthy but awesome. Its conclusion reminded me a lot of PGs paper, which I hadn't read: The languages people use to communicate
312.
▲
by
wooby
17y ago
That's a really, really awesome idea. It's like combining the best of twitter with the best of social news.
313.
▲
by
wooby
17y ago
I enjoy the engineering tunnel vision that good days on HN provide me. On the bad days, HN, for me, is sort of only the culture and pieces of society that those who don't know much about either are interested in. To learn about people, pla
314.
▲
by
wooby
17y ago
Have you checked out http://prgmr.com/xen/ ? With their cheapest yearly plan and something like https://www.backblaze.com/ , you can get a VPS and off-site backups for about $10 a month. I'm not on prgmr yet but I've heard good things. A
315.
▲
by
wooby
17y ago
GitHub Firewall Install is a turnkey, local GitHub. I'm not into hosting commercial software in private repos on GitHub though. It's periodically down, and that stuff needs to work. And GitHub FI looks pricey. I think I'm better off with a
316.
▲
by
wooby
17y ago
There's a checkbox in the preferences to 'send updates to google.' Here's for hoping unchecking it works - this is pretty cool.
317.
▲
by
wooby
17y ago
It's not negative in that, people can program using whatever language they want using whatever language constructs they want. But for PHP, which is mostly for web development, I would think using exceptions is a much peer-friendlier way of
318.
▲
by
wooby
17y ago
In the example where he shows that the PayPal logo requires a bit of microcopy to explain you don't need a PayPal account to purchase, might it be cleaner to just feature the PayPal logo alongside the other credit card icons? The other exam
319.
▲
by
wooby
17y ago
The government should fund code development? How would individual programmers pitch their projects to the government? Not all code that's created, even if it's free, is ever useful to anybody. Figuring out how to "turn code into consumer
320.
▲
by
wooby
17y ago
lynx -dump http://www.google.com | figlet
321.
▲
by
wooby
17y ago
It's a C compiler that targets (generates code written in) higher level languages. Usually, C compilers target machine code for a particular processor architecture. gcc, for instance, can 'generate code written in' x86 machine code.
322.
▲
by
wooby
17y ago
epic shave
323.
▲
by
wooby
17y ago
I worked briefly on a C FastCGI that matched routes to function pointers, sort of like Sinatra. I think the "real" way to do it is with Apache Axis2/C, though.
324.
▲
by
wooby
17y ago
I wrote the upload and download handlers for droplink.me in C as FastCGIs, anticipating performance problems. I built it; but they never really came. It was a fun exercise, but if I wasn't interested in having fun with C, I would have writ
325.
▲
by
wooby
17y ago
For sure. I'm just using XML literals in the example because it looks cool. But I'm also using this for a client job, and it's producing JSON. It's not nearly as powerful as the real Sinatra, but it saves me the shenanigans of warbling Si
326.
▲
by
wooby
17y ago
I haven't used maven (the first version of this thing used ant+ivy), but it was pretty messy compared to what I have going now. I'd say if you have the luxury of working with a Scala-only project, sbt is definitely the way to go.
327.
▲
by
wooby
17y ago
Yeah it's pretty small. With Scala you basically get free HTML templating because of XML literal support. It's missing a lot of Sinatra stuff though: 'splat' and regex URI pattern matching, file uploads, sessions...
328.
▲
Sinatra clone in Scala
(github.com)
31 points
by
wooby
17y ago
|
12 comments
329.
▲
Ask HN: Do you write comments, and then not submit them?
61 points
by
wooby
17y ago
|
50 comments
330.
▲
by
wooby
17y ago
It's nice when traveling to have electronics that all runs from AAs. AAs can be found all over the world. And, if all your stuff runs the same battery, you can swap them between devices in a pinch. This computer looks awesome.
More ›