News for hackers. Stuff that matters.

ta0967

Re:The War on Cash on Saturday August 20, 2016 @09:33AM (#12326504)
i like cooking my friends and my family.

syntax is important! ;)

Just Say No (to mass media fearmongers). give your tv set to somebody you really dislike.
rxvt-unicode, "urxvtd -f -o -q" in my ~/.xinitrc.
Re:Think before you Mongo on Tuesday August 16, 2016 @11:50AM (#12298221)
you ignored the silver bullet criticism

i don't think so, i simply refuse to have my arguments framed that way since i'm very well aware of the shortcomings present in what has so far passed for a "RDBMS". i consider velocitypsycho's argument ("Thinking RDBMS is a silver bullet is just as bad as thinking a document database is a silver bullet.") a non-sequitur: the former is a proper superset of the latter, that sentence simply "does not compute".

doubled down on SQL as the silver bullet

where does the post you replied to mention SQL? are you confusing SQL for the relational model?

Re:Think before you Mongo on Tuesday August 16, 2016 @11:43AM (#12298169)
Pimply-Faced Youth :)
Re:Think before you Mongo on Tuesday August 16, 2016 @10:52AM (#12297824)
but we're not talking about silver bullets: we're talking about models which let you derive most information from your data. mathematics says you will get the most bang for your buck from the relational model.

if you like hierarchical databases (data trees), consider that relational database gives you a forest: you can treat any datum as your tree root and bloom from there. with hierarchical, you're tied to a single pre-designated root.

both relational and hierarchical databases let you go from department to employee, only one lets you go from employee to their department without enumeration. what purpose does precluding the latter serve?

Re:Think before you Mongo on Tuesday August 16, 2016 @10:35AM (#12297707)
like the yesterday's submission of "Why you should never use MongoDB (2013)" (https://news.ycombinator.com/item?id=12290739), this is all just plain sad because totally unnecessary: the failure of hierarchical databases was obvious in 1960s and was the background of Edgar F. Codd's work on the relational model.

unfortunately, this industry is dominated by cocky PFYs (of any age) convinced they don't need to study history of their field and, as a result, don't even recognize they're repeating 50 years old mistakes. sure, SQL has fallen so short of the promise of the relational model it's not even funny, but don't conflate the model with the query language, folks!

Re:HTTPie 0.9.6 on Tuesday August 16, 2016 @04:03AM (#12296126)
the manpage is very explicit about that:

       Use the file name "-" (a single dash) to use stdin instead of a given file.
       Alternately, the file name "." (a single period) may be specified instead of
       "-" to use stdin in non-blocking mode to allow reading server output while
       stdin is being uploaded.
Re:The Solitary Vice: Victorian Views on Masturbation on Tuesday August 16, 2016 @04:00AM (#12296112)
explain the presence of homosexuality in a population when the theory of evolution predicts that any such trait (which leads to much lower genetic fitness) would have disappeared a long time ago

one's homosexuality may improve fitness of one's family: if we're brothers and i'm homosexual, we won't be splitting resources between your and my children, and i'll be an extra "parent" looking after your kids. genetically speaking, that is still a (qualified) success for me.

also, genes don't give a damn about individual's reproduction, and local optima are rampant.

edit: what siblings have said.

Re:HTTPie 0.9.6 on Sunday August 14, 2016 @04:37AM (#12284808)
do not use -X without having read the manual, it can break redirects and other things.

from the curl(1) manpage:

       -X, --request <command>

              (...)

              Normally you don't need this option. All sorts of GET, HEAD, POST and PUT requests  are  rather
              invoked by using dedicated command line options.

              This  option  only  changes the actual word used in the HTTP request, it does not alter the way
              curl behaves. So for example if you want to make a proper HEAD request, using -X HEAD will  not
              suffice. You need to use the -I, --head option.

              The  method  string you set with -X will be used for all requests, which if you for example use
              -L, --location may cause unintended  side-effects  when  curl  doesn't  change  request  method
              according to the HTTP 30x response codes - and similar.
PUT is indicated by using -T / --upload-file, POST by -d / --data or any --data-foo option (eg. --data-raw). DELETE is the only HTTP method in the parent list that needs -X to be used.
> normal conditionals are common in everyday life: "If they don't have a dark roast coffee, get me a medium roast."

"They had dark roast so I got you nothing as requested."

IOW, this program is either incomplete or wrong. Cf. "Get me the darkest roast they have." - ifless, concise, robust.

Re:Ask HN: Who is hiring? (July 2016) on Saturday July 02, 2016 @08:54AM (#12022297)
this post says "remote" but the recruiterbox page says "Work from our amazing office at Kerkstraat 61 in the center of Amsterdam.
Re:The Squirrel Programming Language on Sunday June 12, 2016 @02:25PM (#11889484)
it's its
Re:Common shell script mistakes (2008) on Saturday June 04, 2016 @06:11PM (#11838374)
today. the various BSD systems all come without bash in their default configurations (and it's never in /bin).

this should not be construed as an argument in support of /bin/sh.

403 - This request is blocked by Admin Tools. Please change this message in the component's options.

same when going to http://portlandtribune.com/

what's up?

Re:The Born Soldier on Friday June 03, 2016 @05:06AM (#11829155)
a mercenary is a professional soldier, the spin doctoring goes way back.
yes and no. https://en.wikipedia.org/wiki/History_of_patent_law

> By the 16th century, the English Crown would habitually grant letters patent for monopolies to favoured persons (or people who were prepared to pay for them).[14] [...]

> This power was used to raise money for the Crown, and was widely abused, as the Crown granted patents in respect of all sorts of common goods (salt, for example).

yeah, that was really close, wasn't it? just imagine we had all these mature IP protections in place two thousand years ago! so much stuff we could have had by now! imagine no one but the chinese government having access to silk production!? there'd be no nylon made without royalties!
> The patent system was designed to foster innovation.

No, the patent system was dedigned to elevate Queen's friends above their competition.

Re:Coding without Google on Thursday May 26, 2016 @12:54PM (#11779488)
they said "oh, React is one of the better documented frameworks out there"

well, consider the ruby language: it is implementation-defined(!).

i got a Rails job without knowing any of Ruby beforehand (and the other party was aware of this). i made myself comfortable in the office and asked: so where's the Ruby manual? they said, "ruby-doc.org". "that's just the API docs, where's the language reference?" i asked. "there's none. maybe you could use the Bison grammar from the MRI source..." "???"

anything from C. J. Date
give me a junior to flesh out my sketches, it'll be done in two weeks. ask me to go it all alone, see you in four months.
i've read you comment, and it looks to me like this is a fair rephrasing. can you offer better alternatives where i mischaracterize your position?

* you are allowed to drive under the influence of alcohol and endager other people's lives * you are allowed to kill another as long as they weren't 100% obviously harmless * stealing food is worse than threatening or terminating others' lives

Re:When Lobbying was Illegal on Saturday April 16, 2016 @09:28AM (#11510502)
have public tv "air this film"? of course, you need strong democratic institutions like said public tv.
Re:We only hire the trendiest on Monday March 21, 2016 @07:13AM (#11327299)
my impression has been that node.js reached the top of its hip curve a few years ago, same with golang. not that they're disused, they're just not obsessive-compulsive topics. this is mostly based on what i (don't) see and hear at work and here.

again, based on what i see on hn, github is actually falling out of favor (we'll see if they can reverse the trend [sic] with the newly released features; the search removal inspires little confidence).

twitter has been around for too long to be trending upwards, it's like facebook. the populace split into users and abstinents has ossified. it's even more pronounced with linkedin which has been around much longer.

i have no idea what's supposed to be trending in programming instead though. recently it's felt to me like a plateau of sorts.

free software is necessary but not sufficient.
1. i don't think that a "free pass" was necessarily implied 2. how would you put it? "i can't review windows source code because it's a trade secret. but since i can't review GNU/Linux or *BSD source code (because it's too much) either, meh."?
Re:Inheritance Is Terrible on Saturday March 19, 2016 @05:43PM (#11320609)
platypus. that is to say: the teaching is still bad.
Re:FreeBSD – a lesson in poor defaults on Saturday March 19, 2016 @02:47PM (#11319842)
i'm a FreeBSD user since 4.3 or 4.4, and to me it reads quite fine. sure, the frustration shines throught, but he's got a bunch of valid points there.
which particular ksh features do you miss in zsh?

Older »