Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stdbrouw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
811.
▲
by
stdbrouw
12y ago
I think we're talking about professional blogs and niche content in particular, not news sites or Reddit. I've also noticed that Americans are generally more encouraging of new ideas, even if they're not fully thought out and
812.
▲
by
stdbrouw
12y ago
Exactly. As in any situation, to understand what someone is saying, you have to know who they are talking to. People who hate OO always refer to overly bloated systems that treat OO as a philosophical foundation, something to be religiously
813.
▲
by
stdbrouw
12y ago
Stating that object orientation doesn't help customers isn't the same as proving it, or even arguing it. How has imperative, or any other kind of programming, helped my customers?
814.
▲
by
stdbrouw
12y ago
~10 years ago I introduced Textile markup at our student newspaper and they're still using it. Nobody complains about it. Some people write in Word first and then add the tags, but most writers just use the tags right away. You're
815.
▲
by
stdbrouw
12y ago
Dedent is nice, but then you still have to deal with removing single newlines (e.g. for error messages) and removing leading and trailing spaces. Ultimately nothing more than `re.sub(r'[^\n]\n[^\n]', '', textwrap.dedent(
816.
▲
by
stdbrouw
12y ago
Are we reading the same article, though? It's certainly up for debate whether named tuples and enums, various kinds of metaprogramming and decorators might be making the language more complex for fairly little gain... but this article
817.
▲
by
stdbrouw
12y ago
Also, read "R language for programmers" http://www.johndcook.com/blog/r_language_for_programmers/ It explains a lot of the quirks.
818.
▲
by
stdbrouw
12y ago
I said more forgiving. It's certainly not a forgiving language or ecosystem in absolute terms, you're right on the mark there. But ultimately you have to pick your poison. Do you want to struggle with all of the various quirks of
819.
▲
by
stdbrouw
12y ago
R is in some ways more forgiving to newcomers. Sure, there's all sorts of weirdness around how vectors and matrices work, and don't get me started on the cryptic function naming, but (1) almost all batteries are included -- hardly
820.
▲
by
stdbrouw
12y ago
> Your compensation isn't determined by nobility or a sense of equity. The parent says that in Japan it is, to some extent. > When a market doesn't reflect that, it is horribly broken and will be horribly abused by the parti
821.
▲
by
stdbrouw
12y ago
I read the article. It gives one (one!) example of someone who thought a statement was condescending when in reality it was – wait for it – only semi-condescending. Unless you'd like to argue that "take some responsibility for you
822.
▲
by
stdbrouw
12y ago
So you're saying it's perfectly okay to behave poorly towards people with lesser understanding or education? I'm pretty sure people can tell the difference between those who are speaking at a level that is too difficult for t
823.
▲
by
stdbrouw
12y ago
Hmm, so the types are not actually a part of the JSON output, but they live in a separate schema. That being the case, I would've preferred if this were built on top of http://json-schema.org/ instead of something enti
824.
▲
by
stdbrouw
12y ago
Hmm, this looks more like parsing than munging to me, but then I guess "munging" is not exactly scientific terminology. My own take on easy data transformations, if you'll allow me the plug: https://github.com/
825.
▲
by
stdbrouw
12y ago
> But I am in total agreement with the writer that modern education does a grave disservice to young learners by discarding rote learning and repetition. I've come to appreciate the importance of rote learning over the past couple o
826.
▲
by
stdbrouw
12y ago
I can imagine static pages getting really annoying at this scale, and it also seems like a no-brainer to have your content in a database... but the nerd in me did think "page rendering can be trivially parallelized – why not throw some
827.
▲
by
stdbrouw
12y ago
AWS DynamoDB is actually quite nice for this. You set a composite (id, timestamp) index, and then you query on id and a timestamp range or "first match before or at timestamp x". As `zo1` mentions, though, this doesn't really
828.
▲
by
stdbrouw
12y ago
Unlike e.g. in Python, in Node people aren't so eager to use (partially) autogenerated docs that document functions and classes. Sometimes this is an advantage (because handwritten docs are usually better), sometimes not (when the docs
829.
▲
by
stdbrouw
12y ago
This is a little bit too hand-wavy to me. You mention only a single opportunity Twitter missed by not focusing on being a "true platform", and then you immediately hedge by saying that you're not sure people will actually use
830.
▲
by
stdbrouw
12y ago
> a majority of folks in Europe simply don't use credit cards Ehm? Europe's a very big place, and in many European countries credit cards are just as common and as commonly used as in the US.
831.
▲
by
stdbrouw
12y ago
http://calca.io/ doesn't have graphing, but it's pretty wonderful otherwise. (But FWIW, I'd rather see general-purpose programming become easier to use than calculators become more complex.)
832.
▲
by
stdbrouw
12y ago
I'm probably not as squeamish as some others when it comes to marketing disguised as news, as even news with a positive spin can still be informative, but it seems they still have a ways the go if they really want to publish something
833.
▲
by
stdbrouw
12y ago
> I'm proposing to learn the language properly: by exposing yourself to as much material as you can, for prolonged periods of time. ... which is what you need for mastery, I absolutely agree (it's what I do too!), but it's
834.
▲
by
stdbrouw
12y ago
And many people to add hints to their cards (e.g. to distinguish prevoir quelqu'un from prevoir quelque chose ) as well as add example sentences – or, as you suggested, have sentence decks in addition to word decks. But even regardl
835.
▲
by
stdbrouw
12y ago
My experience has been exactly the opposite. When speaking or reading Spanish, German or French, I never think "gee, if only I knew more grammar" but almost every day I think "well, it sure would be nice if I knew the word fo
836.
▲
by
stdbrouw
12y ago
You're talking about typing, not really about schemas. With JSON, you can know whether a value is a number as opposed to a string, but you can't know whether it's supposed to be a number.
837.
▲
by
stdbrouw
12y ago
You're thinking it has to be time invested on the x-axis and level of expertise on the y-axis. That's certainly possible, but I think most people interpret it with level of expertise on the x-axis and (cumulative) effort invested
838.
▲
by
stdbrouw
12y ago
Kind of besides the point though -- that line in particular had nothing to do with blocks/inline functions.
839.
▲
by
stdbrouw
12y ago
It's nice for chaining. E.g. in CoffeeScript: list .map (el) -> el * 2 .filter (el) -> el % 2 == 0 I suppose in this case a list comprehension would work too: list = [el * 2 for el in list if el % 2
840.
▲
by
stdbrouw
12y ago
I'm more often annoyed by projects named after mythological creatures, vegetables or puns. They're fun for a while, but when I import something into a project, it helps if it's at least a little bit self-documenting – `import
More ›