Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dxbydt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
137 ms
·
691.
▲
by
dxbydt
14y ago
Hey thanks! I fed the inverse fizzbuzz regex to Rex and it came up with an automaton with 81 states! http://www.jasq.org/uploads/1/0/5/6/10564637/6329774.png?694 My original automaton only has 8 states. ( http://www.jasq.org/uploads/1/0
692.
▲
by
dxbydt
14y ago
Second that. If you are going to go down this route, I wrote a simple tutorial with lots of visuals to construct a regular expression from a finite state automaton using JFLAP ( jflap.org ), for the "inverse fizzbuzz" problem - http://www
693.
▲
by
dxbydt
14y ago
I read through the whole article twice, and I think OP is using the term "state machine" very, very loosely. I have a very tough time believing that the vast army of MVC web developers out there know about Mealy machines and Moore machines
694.
▲
by
dxbydt
14y ago
While I wholly sympathize with your rather pragmatic pov, technology is not a staple industry like agriculture or the diary business or the furniture industry. It is more like the fashion industry. You have to be a bit of a visionary to suc
695.
▲
by
dxbydt
14y ago
>An awful lot of finance (that used to run in Excel) is just side-effect free, compute-centric transformations over data true dat. For example, in Excel, checkout PV ( Click on Formulas->Financial->PV ) Given a $1K@par 10Y bond
696.
▲
by
dxbydt
14y ago
I made a similar presentation a year ago to a bunch of fellow quants at the bank. I chose Scala, and my presentation was mostly code. Quant Finance tends to be one of those areas where Scala really excels. For example, a time series is just
697.
▲
by
dxbydt
14y ago
>My next personal project will be done in Ruby. Here's a better idea. Take a very simple problem - say user fubar enters his name, you say "Welcome, fubar!", populate a backend database with his name because he's a new user. Otherwise y
698.
▲
by
dxbydt
14y ago
imho the reason is the name. If news.ycombinator.com was called hackernews.com, it would be blocked in 15 seconds flat. That's corporate america for you.
699.
▲
by
dxbydt
14y ago
Vivek, Cannot access at the bank. Contacted friends at other banks. Same story :( So some 1 million plus corporate programmers don't have access to your website. Here's the message I get on Internet Explorer. --------- 403 Forbidden T
700.
▲
by
dxbydt
14y ago
>These three things turn out to be among the most important parts of a server-side language So the language does two of these three things by not doing them at all ? State: oh there's no state across requests. Concurrency: No shared r
701.
▲
by
dxbydt
14y ago
That's a well-reasoned but rather lazy response imo. Ppl who have strong opinions when it comes to language design have strong opinions when it comes to language design. Ppl who think languages are just a means to an end think languages are
702.
▲
Inverse Fizzbuzz = f|b|fb|f|(b|fb)f|f|(f|(b|fb)f)..
(jasq.org)
4 points
by
dxbydt
14y ago
|
0 comments
703.
▲
by
dxbydt
14y ago
I hear it all the time from friends in the valley. "Do a startup dude, its not risky at all, you'll learn a shitton of stuff, maybe become wealthy beyond your means if you get traction,...." So I say, "Ok. But tell you what. I will join you
704.
▲
by
dxbydt
14y ago
While I applaud his motivation, what he's suggesting is an intrinsically unsound way to go about it. A startup = a chemical reaction with extremely high activation energy. In such circumstances, the best thing you can do is get one or more
705.
▲
by
dxbydt
14y ago
The key phrase is "Play VC". Much like getting an etrade account lets you "Play Daytrader". To do some serious damage you need a little more firepower.
706.
▲
by
dxbydt
14y ago
>The goal of all of those entities I listed is to make money. No its not.You obviously know enough about this topic, yet you make this dubious claim. The goal is to be in the black to not go in the red. That's a very specific accounting
707.
▲
by
dxbydt
14y ago
>Apple + Microsoft in 2012 ($70b in profit) = Goldman + Bank of America + Citi + Wells Fargo + JP Morgan + PNC + BB&T + Morgan Stanley + Blackrock etc. Heh heh. You are conflating investment banks with commercial banks and mutual fu
708.
▲
by
dxbydt
14y ago
or in scala: val snake = Map("name"->"Sammy", "dist"->"5m","move"->" slithers ") val horse = Map("name"->"Tommy", "dist"->"45m","move"->" gallops ") def move(m: Map[String,String]) = println( m("name")
709.
▲
by
dxbydt
14y ago
Dude. Really ? You've just invented objects, but you'd rather not call it that. You have two attributes ( name & distance ) and you've made an attribute out of the method ( move_verb ?! heh heh ) as well, very clever. You are then calli
710.
▲
by
dxbydt
14y ago
> "you can write inefficient functional code that constantly manufactures and throws away closures ... just as easily as you can write inefficient object-oriented code that constantly manufactures and throws away objects." Very true, ex
711.
▲
by
dxbydt
14y ago
Frankly his main gripe is that JS = FP, CoffeeScript = OO. The 3 gripes you point out are mostly a consequence of Coffee choosing to do OO instead of FP & then needing hooks into JS's world to achieve this end. From the article - "Coffe
712.
▲
by
dxbydt
14y ago
For a certain definition of "large" and for certain domains ( especially finance ) his argument is very, very valid. 200 average developers working with GWT->JS are anyday going to be more productive than coding native JS to get the sam
713.
▲
by
dxbydt
14y ago
One of the more popular TV channels in India, especially during the exams, is Topper ( http://www.yupptv.com/topper_tv_live.html ) The channel has its share of teaching, but mostly its crude gameification. Very effective channel. In terms
714.
▲
by
dxbydt
14y ago
> there's a reason that the rules of algebra are what they are But which algebra, and which rules ? There are infinitely many algebras ( eg. Algebra over the field of reals, Banach Algebra, relational algebra, boolean algebra, sigma alg
715.
▲
by
dxbydt
14y ago
>but at the end of the day if you really want to precisely say what it is you're talking about, it's symbols Hear hear! I'd go one step further and say its ALL symbols. Any associated real-life meanings that help a human intuitively und
716.
▲
by
dxbydt
14y ago
>you can start with concrete problems and generalize from there You could. But that isn't the only way. You should really read up on the way math is( was ?) taught in gottingen & eastern europe & romania & russia. Speaking o
717.
▲
by
dxbydt
14y ago
>For the sake of the public good, abelian groups can wait. Amazing. I can't wait to put that on a plaque. "Abelian groups can wait for the sake of public good." Holy cow! Dude, Niels Abel was 17 when he invented most of the machinery th
718.
▲
by
dxbydt
14y ago
Finding some connection between trigonometry and angles of rubber-powered trebuchets is incidental and quite frankly, this approach isn't going to take you very far. One simply can't find real world mappings to atleast 99% of what is proper
719.
▲
by
dxbydt
14y ago
> guess if you're a company that targets discretionary spenders, you're doomed. other than food clothes & shelter, everything in the world is by definition discretionary spending.
720.
▲
by
dxbydt
14y ago
I see this attitude all the time in SV techies - lets just ignore the finance because its all chatter anyway. Frankly, this line of thinking is counter-productive and quite dangerous. Macro matters much more than slapping together some code
More ›