7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions
https://twitter.com/dustingetz
comment 14y ago · link · parent
"Spotify – Large Scale, Low Latency, P2PMusic-on-Demand Streaming" [1]
TLDR: getting low latency, low stutter playback is a lot more complicated than bittorrent, but clearly possible, and already solved.
as dotBen points out, it doesn't prevent Spotify's business from getting re-negotiated into the ground every 3 years by the ip rights-holders.
i would like to see the technology sponsored by a business or industry who cares about freedom of information - like the press - otherwise it's just a few nerds working on a startup. I mean, app, I mean, toy project.
[1] (googlecache) http://webcache.googleusercontent.com/search?q=cache:http://...
comment 14y ago · link · parent
>>> words = [2520/i for i in range(1, 900)]
>>> len(words)
899
hmmm.. anyway: occs = [2520/(n+1) for n in range(900)]
assert 900 == len(occs)
assert [2520, 1260, 840, 630, 504] == occs[:5]
num_words = sum(occs)
for guess in range(100):
count = countWords(occs[:guess])
if count >= num_words/2: break
assert 21 == len(occs[:guess])comment 14y ago · link · parent
comment 14y ago · link · parent
responding to government information requests without due process. google isn't in the business of protecting civil liberties.
i wonder if they're filtering our email on a mass scale for suspicious activities, as defined by Dept Homeland Security? if they were, it would be classified, and none of us would know the difference.
heck, turns out one of my buddies used to be a drug dealer, i had no idea, and at the time he was all over my social graph. i wonder if it will come up next time I apply for a security clearance. I might never know - an old manager once told me how clearance applications have a way of getting lost in the system when things aren't perfect - once eyebrows are raised, you enter a whole new set of processes and red tape that nobody wants to deal with.
comment 14y ago · link · parent
comment 14y ago · link · parent
with that said, you can do "concatenative" programming in any language supporting a functional style (python, ruby, clojure, haskell, javascript), and some of these languages (clojure, haskell) encourage or force functional style. clojure and haskell have different opinions about how this should be done, but they are opinions, not gospel, and each has their use for different problem domains and personalities.
the author makes some assertions that a "concatenative" language, one that encourages a concatenative style, are better than functional languages. i don't think these opinions were adequately backed up at all - i'm not just skeptical, i sort of think he's wrong. both clojure and haskell strongly encourage composition over application. these languages already have concatenative opinions. i don't really see the fuss here, i don't see the need to introduce more metaphors into an ecosystem which is already unfriendly to noobs. what we need is a language as noob friendly as python which has functional opinions. ruby got noobs using lambdas without realizing it, but ruby also has some weird opinions about magic which the functional community frowns upon. there's a clear niche here.
[1] (edit for gruseom) but we can try to learn from those who are successful, especially those who failed a few times first. Martin Odersky has written all about his failures leading to Scala, and Rich Hickey talks about what he thinks made Clojure successful all the time.
comment 14y ago · link · parent
TLDR: if there was any weight to your thesis (which is, what, exactly?), you totally discredited yourself with your cynicism.
comment 14y ago · link · parent
just kidding.
or am I? http://news.ycombinator.com/item?id=3099372
haha.
comment 14y ago · link · parent
> The most devoted, upstanding employees are the least paid, and the most conniving, disinterested ones are paid the most.
disagree. the best employees are the ones are constantly being recruited, they know their value, they have the quitting credibility to leave and go get a job anywhere else if their value isn't met.
anyway, if the employee wants to stay, it shouldn't get to the point of a counter offer. they ask for the raise, they have implied quitting credibility that is obvious and doesn't need to be used as a threat, they get the raise. if you have to actually threaten to quit, somebody is doing something wrong.
> If an employee tells you they have a job offer, tell them that if they take it then you’ll wish them well, and stick to it.
clearly Mr Cohen isn't working with superstar engineers, the type that are a massive blow to the company if they leave. you do what you need to do to keep them at any cost, not whine on a blog.
comment 14y ago · link · parent
> factor into modules, one project per repo
where i work we have a project with clear module boundaries, but all in the same repo. we have an "app" and some dependencies including our platform/web framework. none of these are stable, they're all growing together. Commits on the app require changes in the platform, and in code review it is helpful to see things all together. Porting commits across different branches requires porting both the application change and the dependent platform changes. Often a client-specific branch will require severe one-off changes so the platform may diverge -- it is not practical for us (right now) to continually rebase client branches onto the latest platform.
this is just our experience, not facebook's, but lets face it: real life software isn't black and white, and discussion that doesn't acknowledge this isn't particularly helpful.
comment 14y ago · link · parent
this attitude is contributing to the problem; it takes continuous and disciplined investment in quality. the idea is that slowing everything down (forever) by a linear factor of two or three will cause exponential returns in productivity later.
comment 14y ago · link · parent
Rich Hickey: "Functional has been applied, you know, for a whole spectrum of things. I think there’s the haskell meaning of functional, which is sort of, the pure notion of function applied to absolutely everything in the language. And then there’s another notion of functional... lisps claimed to be functional early on, only for the simple reason that functions were first class objects or values that you can pass around. Those are the two ends. Somewhere in the middle, i think, is a style of programming that emphasizes programming with pure functions, in other words functions that are free of side effects, that operate only upon their arguments, which are values, and that only produce values as results. So that’s a pure function. Clojure emphasizes the style of programming using pure functions, where lisps, traditionally, have not. You could do it, but it was a choice. The key thing in forcing you to make that choice, is to have the core data structures be immutable, so they now can be treated as values, in a way that mutable things cannot. So Clojure emphasizes functional programming, by providing a set of immutable core data structures, including those ones that you use to represent code. They’re also persistent, which is a special characteristic we could talk about. Because of that, it encourages the functional style of programming, because you cannot change [the core data structures], so you have to write a function that produces a new value as a result. but there’s no enforcement. if you write a function and that does IO, well that’s not a pure function anymore, and I don’t preclude it, and there’s no type system to preclude it, its a dynamically typed language, which just respects the programmer’s right to do whatever they please." [1]
[1] https://docs.google.com/document/pub?id=1Vgbw3hGCye2rtmnZ6iS...
comment 14y ago · link · parent
Same thing for movies, and books, and music, and basically every big company business model ever.
3115.
What is design? design considerations for a business card(docs.google.com ↗)
1 points · by dustingetz · 14y ago · discuss
comment 14y ago · link · parent
many customers don't want correct programs, they want cheap programs. Some people in finance care about correctness, maybe you should check them out.