Better HN
topnewbestaskshowjobs
Log inSign up

dustingetz

7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions

Founder Electric Clojure https://github.com/hyperfiddle/electric

https://twitter.com/dustingetz

Submissions

comment 14y ago · link · parent

the environments where this is a problem - frequent one-word hosts - are intranets where you want to use the intranet DNS.

comment 14y ago · link · parent

http://janestreet.com/minsky_weeks-jfp_18.pdf

comment 14y ago · link · parent

(iirc) all but one of the interviewees in Coders at Work said the GOF design patterns book is rubbish. The guy who liked it said it was helpful to establish common language.

comment 14y ago · link · parent

XML and Json are much more mature ideas for data sharing.

edit: google results for:

  "python xml" : 359,000
  "python json" : 48,600
  "python s-expression" : 5,440

comment 14y ago · link · parent

spotify does this at music-scale:

"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

why do people want to do this?

comment 14y ago · link · parent

> a text of 900 unique words

  >>> 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

forget information requests (let alone subpoenas), because neither google nor your webhost is going to resist being strong-armed on a targetted basis. lets look at mass-scale surveillance. lets suppose the DHS wanted 99.9% surveillance over email, and the more 9s you add the exponentially more budget it takes. i doubt your webhost made the cut.

comment 14y ago · link · parent

> what nefarious thing Google could do with my email that is in its interest and that would cause me harm

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

in a purely functional language, you don't need to think about the stack any more. your code expresses its dependencies via composition and the order in which things happen becomes the compiler's concern. you don't need or want to have an understanding of what's happening in an imperative sense. bam, a whole class of bugs made impossible. [edit: you're right though, if you actually do need to understand things in an imperative sense, e.g. for performance optimizations, things get complicated.]

comment 14y ago · link · parent

minimalistic syntax isn't necessarily the holy grail. We can't pinpoint exactly why Clojure is hockey-sticking but Common Lisp didn't[1]. But Clojure took a minimalistic language, then made a few very tactical departures from minimalism - common data-structures have native syntax encouraging people to use more than just lists, and the native data structures are immutable encouraging a functional style. from this we learn that minimalism is a great base, but the langage forms opinions about what code should look like via its syntactical choices, and these opinions shape its community, libraries and ultimately its success. language designers must take this into account.

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

check out the forums at gamedev.net, this topic gets covered all the time.

comment 14y ago · link · parent

wow dude, that's quite cynical, and subjective at best. Go look one of these "parasites" in the eye and tell him that you think he's a "psychopathic narcissists ... influence-peddling assholes" and that he's not "selfless, enlightened, pragmatic".

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

my gut reaction was "so what?" the article doesn't attempt to explain. why does this stat matter?

comment 14y ago · link · parent

like any self-respecting hacker, PG cares a lot more about having fancy expiring hashmaps of closures than having fast code ;) what do you think 'fnid' means in http://news.ycombinator.com/x?fnid=5DHNoqDkUn ?

just kidding.

or am I? http://news.ycombinator.com/item?id=3099372

haha.

comment 14y ago · link · parent

this may not even be a good idea.

HN has high content comments, not a lot of back-and-forth. I think that's worth preserving.

comment 14y ago · link · parent

TBA Global is a marketing agency.

comment 14y ago · link · parent

That raises an interesting question. If a business positions itself as a public service, SHOULD it retain the right to make up its terms?

comment 14y ago · link · parent

It sounds to me like a) you make as much as your boss does, and b) technology is not your company's core business.

comment 14y ago · link · parent

this isn't going to be very popular, for obvious reasons.

> 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

the obvious answer, repeatedly mentioned in comments:

> 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

> can we stop working on business projects for two weeks so we can fix problems with our infrastructure that will make us more efficient later on

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

> Can't get more functional than scheme :)

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

innovation is hard and high risk. Franchises sell predictably. blasting out Call Of Duty 17 is a matter of staffing a bunch of artists for less money than you will bring in.

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

Jon, you're looking for haskell. But there's a catch -- programming in haskell is HARD, and expert haskellers are the best of the best, thus EXPENSIVE.

many customers don't want correct programs, they want cheap programs. Some people in finance care about correctness, maybe you should check them out.

comment 14y ago · link · parent

Old create-account link requires you already have a non-gmail email address. You can't create a gmail account from scratch without the new form (with G+).

comment 14y ago · link · parent

big companies are good at executing established business models, and bad at discovering new ones. small companies, the opposite. it could never be any other way.
1
103104105
121