skysight-inc/HackerNews huggingface dataset:
I don't get your point. I use zsh+oh-my-zsh, and I don't know what Plan 9 is, don't code in D, never used LuaTeX (esp. not in Emacs), and I don't happen to wear a monocle.

In fact I find zsh much easier for beginners and people who don't master the arcane intricacies of *nix.
A quick word of warning for anyone following this guide. You should never sudo npm install. That's giving root privileges to anyone that care's to upload code to the npm package registry. npm should work fine without sudo.
OK. I'll have a basic version of the API available later today (Saturday). It will provide the word lists and sources. I need to sleep now.
You'll need to wait a while longer, then, I think. GIF really should have died a long time ago. It's technologically inferior and lives in only the smallest image niche of the web, animation.

And GIF's reprieve got extended thanks to Tumblr images of Tom Hiddleston mouthing words, of all things.
Show HN: Channel Totals
>The real world is loosy and mutable, at least from an agent's perspective.

No, it's not. You cannot mutate any fact! You will never be able to change the fact that Hitler existed, for example. Facts never change.

This is the purpose of Datomic: to store facts. Mutable databases only seem to be interested in maintaining the most recent fact about any particular piece of information.
bash does this.
I -think- the (albiet, overly exaggerated) point is that if you only know zsh, you could potentially be at a disadvantage if you need to use someone else's terminal. Especially a remote server.
Fair enough, I don't have the printed version around. It's wrong on that point and I can see that it can be misleading. To their credit, here's the current formulation from the online version:

> Members of Show can be presented as strings. All types covered so far except for functions are a part of Show. The most used function that deals with the Show typeclass is show. It takes a value whose type is a member of Show and presents it to us as a string.

This is correct. Whether it qualifies as a proper discussion might be debatable, but since the particular typeclass is simple enough, and seeing that this appears very early in the book, it seems reasonable.

> You've already matched your list to x earlier in the program so x:xs doesn't get a chance to run. You're not showing x and then falling through to pass xs to the function again and chopping the first element off of that to show - and so on.

This is incorrect. Definitions are not really "executed" (or run) in Haskell; you simply replace the left-hand side of the definition with the right-hand side. You use the first definition (in file order) with a matching LHS. So in your example, the third definition for rsoat would be used for all lists with more than one element. So the "falling-through" as meant here is not what you get with, say, a switch statement in C.
Having spent the last two years trying to make MongoDB work at large scale and only succeeding because I have a ton of resources (200+ db hosts), I can say it's more than just the spotlight.

It is a fundamentally broken product.
Whatever you say, I actually learned vim with this game and also had moderate fun for only 10$ or so. It's clearly a win for me.

The big payoff with this game is that it forced me to practice. Within two hours of game play I had the 'hjkl' fixed for good.

I'll take a look at vimtutor to see if it can complement what I already learned.
Last night I launched this little "weekend project" and already I've got some big YouTube channels using this dashboard.

It's crazy simple, it's just your total & average number of views, comments, likes and upload time, but other than total views these stats are difficult for users to pull up.

So far 51 different people have checked their stats and I couldn't be happier.

This is my first launch since leaving my company of 7 years this month, it feels good to finish and launch something (as simple as this project is).
Exactly. I can't help feeling some people are conflating the few people saying "everyone must code" with the larger number of those saying "anyone CAN code" here. Everyone should know a bit about coding, just as everyone should know a bit about design and a bit about how to write well.

There's nothing wrong with encouraging people to give it a go, and there's nothing wrong with learning the basics of coding regardless of what role you're in.

Just be prepared to let the pros do their jobs and don't assume your small amount of knowledge is equal (or superior).
Only half his argument is a strawman. He's still correct that zsh is not omnipresent in the way that bash is, and therefore being proficient in bash is still very useful, regardless of the increase in productivity that putting the time into learning zsh would bring.
Ask HN: Does nobody offer domain registration with customisable DNS presets?
I've had a very frustrating morning wading through different "domain reseller" options from pretty much all of the major hosts. None of them seem to offer DNS templates.

I run a hosted CMS which my customers can link a domain to. At the moment I have to hold their hands through editing their DNS records and pointing to my servers. This is probably the biggest weight on customer service. I don't want to have to code a whole DNS management interface and I don't really care about making money on the domains. All I want is for them to be able to buy a domain and have the A and CNAME records already set up.

I haven't found anybody who does this. Surely I'm not alone in this? Does anybody have any quick-win solutions?

Maybe this is a start-up idea for somebody.

Thanks in advance
In Croatia we have national tv and radio. If you own a TV set or radio you are obliged by law to pay a monthly fee. This in theory means that they should be objective and impartial. However, the top heads there are appointed through political connections. So they're mostly a propaganda machine for the political parties in power. Since the politicians here are only puppets in the service of big money and foreign power, their agenda is mostly to serve their interests. Except for some small independent web sites (such as advance.hr), all other private newspapers and sites sell cheap infotainment, often poorly translated articles from english and american yellow-press.
> I teach my kids that they can learn anything they are interested in.

I'm sure you have some caveats to that - like learning to read, and doing basic arithmetic. And that's the issue here. It's the 'curse of knowledge' again.

For anybody that doesn't already know how, "learning to program" mostly means learning a bit more about how computers work. And universal computer literacy would be a great thing, much as universal literacy has been.

I'm guessing that some people thought "if everybody can read and write, then we'll all become educated and be able to write great novels". Unsurprisingly, that didn't happen, but other huge benefits were accrued. People could go to the library and check whether that thing they were told was actually true. They had a cheap and simple means of permanently storing and retrieving information. Health, legal, and financial advice can be distributed much more widely.

So I totally agree with you that "everybody should learn to program" sounds very similar to "everybody can write a novel". It's wrong. But "everybody should be computer literate" is a very worthwhile cause.

What's included in basic computer literacy? Things that help people make better decisions every day of their lives. I know people that waste money, or put themselves into very difficult situations, through not understanding some of the following:

* An understanding of what happens when you turn a computer on or off. What's the difference between Office and Windows, and between OSX and Windows? Between iOS and an iPhone? I know people that have upgraded their 1-year-old computer, because they wanted the latest version of Windows.

* Basic security. Why is leaving a list of plain text passwords on your desktop (or even worse, on a Facebook note) a bad idea? Why should you avoid installing that funny game that comes with a cute emoticon toolbar?

* Difference between a markup language, a programming language, and a database. How do these systems communicate with each other? You've probably heard of people hiring a £1,000 per day IT consultant to make something bold on their homepage. Similar point about email, internet, web, and browsers. You could probably throw in the difference between being able to install Wordpress, and code a CMS from scratch here too, so that people don't pay £2K for a vanilla install.

It's fine to say "ask somebody who does know" but when you're totally clueless, it's difficult to know what questions to ask which person.
I read it as, "[Practically speaking,] [f]or anything to change...Congress must act."

You are right that Congress is not the only branch of government that is constitutionally permitted to opine on the scope and subject matter of patents. But, as you note, the Supreme Court has punted on this, which indicates that they prefer to let change come from the electorally responsive branch. Which makes it likely that this decision will be reversed or remanded.
PrivCo Tech Co. M&A Report: 100 Most Active Acquirers, Acq-Hires Spike
Anyone else on here been offered an "acq-hire" (ditch your startup, tech team heads off to the buyer in exchange for signing bonuses and equity?) Did you take it?
The End of Words - The End of Worlds
Keeping Choices Donation Neutral
The ways of Silicon Valley
Bitcoin Lucky 7 Slot Machine on NodeJS
The AirBnB model is tricky. I've had friends wire $7,000 for New Year's Eve house last weekend, then "owner" disappeared. Apparently did it to 10 other renters for same non-existent house. AirBnB refused to honor any guarantee (some technical terms of use). But I know I'd rather book a hotel. Caveat that I know other friends who love it. But seems too risky for me.
Turn on bash autocompletition and bash does this perfectly.
Bitcoin Casino War on NodeJS and BackboneJS
Most of the weirdness in the case of Readability came from charging their users before they had established the relationships to pass the funds along. Collecting funds for authors sort of advertises that you are paying them, doing it while not being able to pay them is pretty shady.

I guess a better way to bootstrap such a thing would be as part of some sort of time tracker, show the user where they spent their time at the end of the month and wire it up to a tip jar system.
I use bash as my everyday shell since 1996. I keep on reading the "how great zsh is" articles. And I always try zsh. But after a few minutes/hours, I go back to bash. It's really hard to change.
What's more, should any power try to correct this, it's in the hand of the media to demonize this power in the public eye. We are currently living such a situation in Argentina, where the greatest agglutinant of the opposition to the current government is Clarin, the greatest media group of the country.
"In the next few days detailed Terms and Conditions will be added to the site. Anyone using this site will be bound by these terms and conditions."

This makes your terms and conditions (almost certainly) irrelevant. Judges don't look favorably on asking people to sign a contract that they can't read.
DNS made easy has both public presets for common platforms (Heroku, Blogger, etc) and private presets you can define. Also, when adding a new domain you can copy the records from another domain in your account

check this:
http://help.dnsmadeeasy.com/templates/assign-a-pre-defined-t...

Disclaimer: No commercial interest. I am only a DNS made easy customer.
JavaScript strings are UCS-2 or UTF-16.
Yes. It's as basic as that the license on your device is explicitly limited to usage for non-commercial stuff.

Uploading to YouTube (which serves ads to earn profits) is not non-commercial.

Don't trust me. Read the license agreement which came with your device.
"our good people keep retiring or moving to other large technology companies, and there are few new people achieving the level of technical virtuosity needed to replace the people who leave."

in the post PC era Kernels are not as hot as they were in 2000
'The IT Crowd' to return for finale special
Nicely articulated. I feel exactly the same way. Now I question everything I read, and will reference a variety of sources on important issues.
> Also we're hiring.

Bah... my friends keep referring me, but recruiters never seem to like it... ;-)
Yeah sure - but where do you stop? Where do you draw the line and say "this bit doesn't need to be space-rated"?

Reductio ad absurdum says the table it sits on is "part of the test", and the power supply it runs off is "part of the test", and the engineers car that he uses to get to work to run the test is "part of the test"...

I'd _strongly_ advise that a screw that hold together the enclosure of a load-simulating-test-jig is _not_ "part of the test" in the way that requires ISO9000 compliance (or space-rating).
Wow, so many comments missed the entire point of both articles.

McDonald, in the WSJ, said that if you don't at least try to understand some of the tech behind the scenes, you are basically a tool and won't get hired by him and other modern CEOs for any of his business roles. He didn't say that you have to BECOME a programmer, or even try; he just said to walk a mile in developer shoes to recognize some of what it's like.

TypicalProg says that there is more to programming than just hacking on python for a weekend...

Both are true, and both are different points.

So many comments on HN about "clueless bosses", yet here's a guy who says, in the WSJ for all to hear, that he wants to eliminate that. He doesn't say he wants to replace real devs with weekend-warriors. He says that if you want to work in the real world, you need to understand some of the tech behind the scenes.

How is this different from bankers learning finance, or doctors learning about medicine? B/c, as it turns out, EVERY job touches tech, and his point is that if you don't suck it up and learn some tech, no matter what job you do, you won't do as well as you could in it. He's not expecting everyone to code, he's expecting everyone to have some appreciation of _what it takes to code_.

I'm kind of astonished at the defensive comments, actually. I too require that anyone working for me learn about the tech behind the magic. Why? Because it creates RESPECT for the developers. Every negative comment about clueless bosses reflects a time when a developer has been subject to a lack of _respect_ and _appreciation_ for what it takes to make production-level digital experiences.

McDonald appear to recognizes that flaw, and is trying to fix it. He admits he's not a dev, and so he tries to understand enough to do no evil. Isn't that the level of respect we would want from any boss, esp a CEO outside of the "tech" or "engineering" group in a company?

I don't know him, but I agree with him. I'm surprised to see some of the vitriol. We should be encouraging more folks to try programming to learn that it's harder than it looks in some cases, easier in others, and overall, deserves some more respect as both a technical but also creative art. And that it's rapidly becoming a necessary knowledge for working in the modern age.
The concept of "premature optimization" also has another connotation in product development: Don't waste too much time making that product or feature optimized until you are convinced you can actually sell it. It's not that optimization is bad, but optimization before market trial (premature) can result in you spending precious time working hard on the wrong thing.

Optimizing the right thing is good, but figure out what that thing is first.
Now you meet two.
As I clicked forward in the slideshow, I kept expecting to find something to disagree with but it never happened. Mostly I nodded to myself.

I have a huge investment in MongoDB at this point, both financially and in equipment - over 200 machines dedicated in various separate clusters - and a pivot to another datastore at this point would be a significant re-engineering effort.

All the people talking about changing databases after the MVP have clearly never had to deal with a typical hockey stick growth profile and having to allocate engineering resources based on need - either making the product better, or wasting time changing your database and losing traction.

Anyway, I'm hoping posts like this can dissuade people from choosing MongoDB for anything destined for high throughput Enterprise-level production environments.

I just wish there was something I could easily put in to replace MongoDB, but none of the available options quite fit the same document store model, but make better use of available resources and provide much better performance.
which just makes it even more wrong...
I believe Rust supports inline asm -

https://mail.mozilla.org/pipermail/rust-dev/2013-April/00342...

There also seems to be some work on SIMD extensions -

https://github.com/mozilla/rust/pull/6214
APNG is a viable replacement for animation. APNG animations have long been supported in the release versions of firefox and opera, and there is an extension to enable them for chrome. Browser that do not support it will still render the first frame as a static image.
I love using zsh (in combination with oh-my-zsh) on OSX but the only thing I've noticed after using it a year is that it's becoming very very slow. As in, it usually takes me 5-10 seconds to login to a new session (locally) and be able to see the prompt and type something.

Tab auto completion takes a second or two (even for files).

Combined with the git plugin I have enabled (which does "git status" on every prompt in a git folder) it's almost unbearable to work with.

I've looked into it a couple of times, there are some people with the same issues on oh-my-zsh's github, but I could never really solve it.

Would any pro zsh user know what my issue could be? I'm seriously considering going back to bash, I use it at work and it reminds me how fast the terminal can be.
thanks! that looks great - similar to zerigo which is also a great service (that I use on other projects).
Unfortunately they don't seem to offer registration. Ideally I'd just love to give my customers a link which they can follow, buy a domain and automatically have it set up to direct to my servers.
Can Facebook lead to psychosis? One study says so
Writes have to go through the transactor. Reads don't. So Datomic is a bit of a hybrid; writes are single point, reads are distributed.

The storage layer is distributed automatically because it's decoupled from both the transactor and the peer. It's actually pluggable, too... you can use DynamoDB, Riak, Couchbase, Infinispan, Postgres, etc. which all have different performance and availability characteristics.
You're right, that does need to be fixed. I've been looking for some simple, elegant solutions to that. I've added a very slight text shadow that helps it stand out a bit better (but I'm still not quite happy about it).
I think it`s terrible and it`s also bad I can`t choose anymore the old style.
This trend has a significant impact on Wikipedia, which relies on press coverage to determine what articles are suitable for inclusion, and what "facts" can be used for Wikipedia articles.

Press coverage tends toward the sensational, visual, beautiful, controversial, current, language-specific, and easily explained. If a topic doesn't meet those criteria, it probably won't be covered by the press -- unless the topic in question has some well-connected PR firm or publicist pushing for it.
These days there's also less time to verify facts.
> ...WinRT has evolved into something very efficient (e.g. by using ref counting rather than GC).

Ah you mean by causing cache stalls when doing increments/decrements after each assignment and allowing for cyclic references?
The New Blogger Blog HTML Editor | Onenaija Blog
I can imagine they would (eventually) provide a mechanism to be notified when the article is updated. As for the scrolling, it looks like the most recent portion is placed at the top - "But when more news breaks, you go back to the article, insert an update at the top, and change..."
Alot of the people exhorting people to program are prospective employers like the one quoted at the beginning of the article who don't program themselves but need labor, or cheaper labor. Always look at the incentives behind the speaker.
I understand the advantages of using these tools but isn't it too much ? Node, Npm,Yeoman, Grunt, Bower just to bootstrap some font-end code, if you don't use node.js for back-end you have to use other tools in back-end development too ( composer, phpunit, gem, rake etc... you name it... ). Sometimes i feel like we use tools just to use them.

edit: Just to clarify : I'm not saying don't use any of them and don't organize/automate tasks and code like monkey...
Pandemics are overhyped. In the recent years we had 2 "pandemic" strains of flu, both of which as it turned out, were greatly exaggerated for the benefit of the pharma companies. The truth is, thousands more people die of know diseases every year (even from seasonal flu) than from any other unknown "pandemic" viruses. But this is not "exciting" at all.
You could put "echo" marks all over your .zshrc file to figure out which parts are taking the longest to execute.
The resources were minimal, but the final product has a non-trivial value. You are saying that being proud of throwing away hundreds of dollars is not an affront to all those who could use that money? I am not using Poe's law here.
> These junior developers also have a tendency to make improvements to the system by implementing brand-new features instead of improving old ones.

That's exactly the problem that's plaguing Google Chrome right now, although probably for a different reason, as many senior developers still seem to be on board. Google keeps adding new features at high pace and doesn't care what brakes in the process. The amount of unfixed (albeit mostly minor) bugs is huge.
There are a number of very large bottlenecks in MongoDB, and one of the worst is the mongos process.

I can't run more than 100 processes on a server talking to a mongos process, because any more than that, mongos uses 70% of the CPU power on a 32-core box. 70% of all CPU for database transaction overhead! After that, it simply stops working.

The next one is the insane 20K connection limit per mongod process that is hardcoded into the binary. When asked about it, 10gen says they just decided years ago that that was the limit because no one would ever have more than 20GB in a server. So, I can't just run more mongos processes on other boxes - it hits the 20K limit.

I could go on but the point is, MongoDB is really badly designed.
Speaking of 'lists of things to go back to read', I really need to go and read every essay he's written. Every time somebody links one on HN, I'm blown away.