skysight-inc/HackerNews huggingface dataset:
Hmmm, hate to admit this: Use a Mac for work rather than Linux. The unixness combined with availability of the likes of MS Office, together with the genuinely beautiful interface has really increased my throughput.

Secondly: Doing 1.5 hrs exercise daily.
Perhaps someone can sort this into the fallacy in which it belongs.

Experts make bad teachers -- Most people make bad teachers -- easily explained by teaching being a skill separate from other skills.

"Technical people make bad managers" is another one I see put into use all the time.
That's usually the case, but I was pleasantly surprised to read this book on my Kindle. The A5 format is quite readable, if you don't mind some of the tiny font size (I actually like it).
The chip card transition in the US has been a disaster
Why Police Cannot Be Trusted to Police Themselves
What do you sell now instead of your time?
The first 20 cold calls of the SaaS sales challenge
Here's why Asana's my tool of choice for IT task management
How do you find the main vs the forks of a package? What about useful metadata to help you make a decision? Compare godoc.org projects to https://crates.io/crates/bitflags or https://packagist.org/packages/masterminds/html5. Look at the metadata to help you make a decision.

Just the docs for the tip of master are far from what people expect.
I'd say yes, quite literally.
This is an excellent point. Can you give any more detail on what you are doing instead of selling your time? I don't want specifics per say, just general ideas about what you have switched to and how it has been lucrative. I find the idea quite interesting.
apparently netflix's offerings is not strong enough for ppl to stay on or attract new customers at an ever increasing pace.

My experience is obviously not anecdotal
An example / reference would be nice.
You want to change the system. I understand that.

We have many systems to go on over the last few hundred years of science. We have the pre-war system, primarily funded by private philanthropy. We have the communist system.

None of them seem to create the stream of highly replicable studies you want.

That may indicate something deep about how people work and how science is really done, and suggest that your admirable goals are not tenable.
Rephrasing that for people who have received a modern math education, did Burke perhaps mean:

"It is a sufficient condition for the triumph of evil that good men do nothing."
Not to start a flamewar, but have you looked at tmux for this kind of thing?

"Daemon mode" is the mode for tmux, and the whole stack is designed to be extremely scriptable. "tmux send-keys" does what you're referring to, here, but essentially anything you can do interactively, you can do via the command-line.

Not to say you shouldn't just keep doing what works for you! But figured I'd at least make mention of tmux as an alternative... I'm a fan. :)
Ask HN: Simple rules inspired by Rust ownership in C++?
Rust's ownership system is great.

Could we devise some simple rules and conventions inspired by Rust to have a safer resource/memory experience with C++ ?

Some pointers I gathered:

* A nice SO answer: http://stackoverflow.com/questions/30011603/how-to-enable-rust-ownership-paradigm-in-c/30062820#30062820
http://stackoverflow.com/a/30062820
* Stroustrup et al "Resource-Model" based on code static analysis: http://www.stroustrup.com/resource-model.pdf
* The idea of "Owner" hinting is nice, but requires tooling
It doesn't seem that bizarre. If I called my current wife my first wife I doubt I'd still be on wife one.
Same here. But I also wondered how they get the fiber projection from the side to show up all across the screen/glass nicely.

I'm always amazed at the super even result of LCD backlight diffusers (are they asymmetrical, when the light comes from just one side?), but they can work more messy than some pixel projection.

edit: probably it just doesn't work. Maybe they could add a simple one segment LCD for variable dimming.

They where very careful to show nothing black on white. The tip of the mountain touches the white thing on the table shortly here: https://youtu.be/GmdXJy_IdNw?t=63
> the free speech right only covers repercussions initiated by the government.

No, because freedom of speech and expression is a concept central to Western culture. The First Amendment is just one specific implementation of guaranteeing that freedom as it relates to the US government.
تردد بالای گردشگران کیش در جشنواره تابستانی
Teaching is a skill that is orthogonal to the subject being taught. Like patience (closely related) and emotional intelligence (tangentially related), you either have it or you don't.

Purely anecedata, but I don't know of anyone I'd consider a good teacher that was taught to be such. It seems innate to them.
How can a project manager contribute to the blockchain community?
I'd like to contribute to the development, growth and adoption of blockchain. What are some helpful ways to put my project management skills to use doing that?
Italian newspapers published emails from desperate Turkish academics stationed abroad, available to work for free on anything, just to avoid answering the call they got from national authorities to go back. People with PhD literally begging for a few months more, just so that they can find a job and make a new life out of Turkey. It's the sort of thing you read in German or Italian letters from the 1920s and 1930s, almost verbatim.

There is a lot to be said for people abusing words like "dictator" and "fascism" when this or that ruler does not agree with them, but when the situation gets to this level, you have to reach for those words in no uncertain terms. This is how a fragile democracy dies.

Anybody in a position to help these people today, should do that.
Switching from employee to freelancing had the biggest impact in my professional life. It's not for everyone but definitely for me.
GPL is about user freedom (you can access the code you execute), BSD/MIT is about developer freedom (you can copy paste the code).

This explain why developers tent to prefer BSD/MIT licences, they can use code without restriction and restrict their users to access it. It's just that GPL focus on protecting users, not developers.
Protocol Buffers v3.0.0 released
That's a great idea ! Haven't thought of that, the only obstacles would be to find the proper gestures for tap/double tap and things like that, hm.
Fending Off the Tyranny of Tools
amazing pictures, we should look at them more often to remember
I'm pretty sure we haven't lost that many libraries, and I have even seen new ones in recent years.
It doesn't really make sense to ask if the ghosts were predicted. They're mathematical artifacts of a particular computational formalism. There are other computational formalisms for QFT which don't feature ghosts, and which give the same answers for any observable quantities.
In "Random Guy from the Internet -vs- Professor on the Subject", you can't really blame anyone for giving the scientists the benefit of the doubt. The paper is open access, btw, maybe they addressed your question or provided a citation? You can read it at http://geology.gsapubs.org/content/early/2016/07/08/G37937.1...
>In any case, it's inadequate for the era that we live in.

>There's more to free speech and freedom of expression than avoiding "repercussions initiated by the government", especially these days where large private interests can be as large or larger than governments and equally powerful.

This recent trend of people from the left encouraging infringement on speech by corporations been very shocking to me.
Clojure (LISPs, more generally)
Well I have just the thing for you:

http://www.nasa.gov/mission_pages/hubble/science/milky-way-c...

Ever since I saw this I wish I can live and see how it happens.
No, git would have to be a package in the same package manager, as a build dependency. Think OS package manager, but limited to what developer needs, i.e. just software, no services, no superuser privileges, etc.
Stupid Patent of the Month: Solocron Education Trolls with Password Patent
Can you elaborate on why those are easier to sandbox than Python?
After 12 years of coding professionally, move from development into product management/ownership.

It's like playing an instrument versus playing the orchestra. It ain't for everyone, and I won't claim I'm particularly good at it, but it's a fascinating new kind of creativity.
Foursquare's Dennis Crowley: Why I'm not bitter that 'Pokémon Go' has taken off
When tenure never comes
Commuting by bicycle.

Fresh air and exercise, all packed into the same amount of time it would have taken me to drive and park, even enjoyed the thrill and mental challenge of forcing myself out in the rain and snow. Took some shortcuts and explored areas I've never been to before.
Agreed. This was a wonderful course: https://www.coursera.org/learn/learning-how-to-learn
For anyone interested in diving a little deeper into the workings of their imaging engine, here's a really well put together paper by Brian Schowengerdt et al:

http://wenku.baidu.com/view/c40a8242e45c3b3567ec8b68.html
The Show HN: https://news.ycombinator.com/item?id=12181519
Nope, I just wanted to see if I could make it. Biggest problem for this kind of stuff is the power source. I agree I can totally see an e-ink displayin my bathroom/hallway in the future.
Learning Python! I've been a C#/Windows developer for years. I then switched to Ruby, which for some reason inevitably means you switch to a shiny mac, and then your work paradigm changes revolving around the command line.

One day a quick task came up, and I decided to hack it out. The only library I could find was a python library, so that's what I used... and it was so quick to get something. 10 lines later my boring task was done. Impressed, I started looking for other things to put this new super power of mine to work, and it's been spiraling out of control. I still use the other languages I know for the majority of my work, but things I might have just never done because I wouldn't have had time are now getting done. It's so great to get things done.
I've always been amazed by how widely the Stanford Prison Experiment results are accepted when a) the experiment has not been repeated and b) the experiment didn't even get completed. It was stopped when the researchers had made up their minds about the results.
1) using git (or source control, more generally). One day, I figured all the devs (most better than me) around me were using source control. I asked a few why, and why I should use it. Now I realize I was treading a dangerous path before using git.

2) using the command line freely (ie : not being an expert, but being able to use it a bit and automate some tasks). At some point, I maintained several apps at once, and it became too much of a burden to do the builds myself and install it one people devices several times a day, every day, so I decided to use a CI tool (Jenkins). To do the builds, I had to learn how to do everything in command line, and that's how I got started (now I am able to handle my own server and do some simple sysadmin).

Since I have an IT degree, I blame my school for not teaching me both of them, which I picked up after graduating: not mandating source control is to my eyes a big failure, and while I had some Unix courses, they never taught me WHY I should take the time to learn the command-line (and thus, I didn't).
Ask HN: What is your favourite database viewer/Query tool?
I have been a lot working with SQLdeveloper for oracle DBs and datastax devcenter for cassandra. I was wondering why these companies have a desktop version but not a web version. With web, we can easily open multiple windows and share results across the team easily. Plus your results wont get overwritten with a new query everytime.

So, what is your favourite database viewer/query tool?
This has been going on for years under Tayyip unfortunately. Around the time of the Gezi protests, I had several renouned journalist friends with high-profile jobs (hurriyet etc) that were immediately axed: their publishers were given the 'choice' of purging or being shut-down.

The only silver-lining is that Tayyip is now under the international spotlight; even if he doesn't seem to care, at least more people are aware.
I went in a Barnes & Noble recently and found they had a surprising amount of vinyl. Decent stuff for a good price, too. Also DVDs. I have a bluray player and do get them when they are in $5 bins, but otherwise DVDs are fine for me and super cheap now. Can't complain.

I also recently ordered 12 books in a series from the Barnes and Noble website because they were about 5% cheaper overall than on Amazon.
Ctrl-B is the _worst_ shortcut ever devised (which is why it is used rarely... except on tmux). Just _thinking_ about it gives me the pain. My hand hurts.

And yet, this is a default shortcut for command mode in tmux. "But you can configure it!" — one might say. No, I won't be doing it on every system I manage, I have better things to do.
Chicagoan here, lots of drivers I've spoken with prefer Lyft. Most reference the great support they get from Lyft corporate.
A lot of businesses also run on MS Access. I think redis is in the great tradition of amateurism, and is about as good as you can get under that approach. It's a lot better than a number of other systems, and it's also somewhat limited.
Writing programs that people actually use.

I was a hobbyist programmer for a long time. Then my father passed away, and I went through his computer and saw all these projects that would never see the light of day. That gave me the motivation to choose one project and see it through until it was good enough to have actual users. Programming is much more satisfying and meaningful now.
I like this post, but perhaps it'd be more accurate to say that expertise is a necessary but not sufficient condition to teach a subject? I do find that the very best teachers have mastery of the material.

On a related note, when I posted this notebook about the sigmoid function to HN

http://karlrosaen.com/ml/notebooks/logistic-regression-why-s...

it was upvoted to the front page (presumably by non-experts like me) but derided in the comments by some experts, I think in part because it seemed so obvious to not bare explaining. So I think a challenge of having expertise is to remember what it's like to not understand something and take the beginner on the journey somehow, as the article gets at. And from this perspective a non-expert or aspiring expert can be in a sweet spot of just having learned the material him/her self. But it can be dangerous if you end up with the blind leading the blind.
Hyper-v kinda sucked with FreeBSD, mostly just overall poor performance. If you needed FreeBSD that would dictate what you ran it on, so hyper-v would be out. If you had to run hyper-v, FreeBSD would be out. Many enterprises find Windows to be mandatory, even if it's just running virtual machines, even if a better solution is out there. UNIX is often replaceable because "they're all the same."
I don't know who downvotes this because parent does have a point: there are extensive chemical transfers involved in the creation of minerals and crystals, it's not obvious at all that the atmospheric bubbles where chemically isolated from the encasing crystal afaict
Yeah. you're absolutely right, that clause will be the point of argument. This is where my lack of legal education fails me though, since it is not clear what it means when saying _material contributed by the author_ and what _preexisting material_ means.
The OP makes the false assumption that the goal of the teaching is to generate other experts. That may be true of some courses at some schools, but I would say that most teaching does not involve trying to turn a student into an expert.

For instance, I am a lawyer. I am an expert in certain areas of law. I teach/sell a lecture on intellectual property law, mostly to startups full of young people who don't know IP from IP addresses. I have no intention of turning them into IP experts let alone lawyers. That's not why they hire me. My job is to give them a taste of some basic rules, to give them enough knowledge so they can spot some red flags. And I'm there to answer specific questions, to address those red flags. That;s most teaching. You want the expert to relate a tiny piece of their knowledge, the focused bit you actually need, so that you don't have to spend years at law school. Half of the task is relating knowledge, the other half the selection of which knowledge to relate. The expert then goes away to continue learning in their field, returning as needed to keep you abreast of changes. The relationship remains asymmetrical.
When a local company saw a talk I did and offered to sponsor the continued development of the open-source project I'm building. If I had started doing talks a year earlier, I probably could have picked up such a deal a year earlier. I missed out on a lot of great opportunities to get my name out just because I erroneously thought not being anywhere near finished meant I wasn't ready to show anything.

It's a really, really hard decision to make, to sink your time into something, and I can't recommend for everyone by default. Most people start projects on nothing more than a whim and will give up on those projects when they hit the technical-debt weeds. I don't think of that time as a waste, I think it's incredibly important to the learning process and I encourage people to start as many projects as possible. You just need to be honest and understand about yourself whether or not you're in it to win or just having fun, before you jump into a project head-first. I've seen a lot of people do that, and I've done it more than a few times.

This time is really different because this time I really have spent 2 years on the project and forced myself through multiple come-to-Jesus moments on my code. Everyone will have those sorts of moments as it's impossible to have such design foresight to predict all the ways you will want to use your software in the future, or that you won't change your mind on how you want to use it. And I think I needed to go through it to prove to myself that this was something I was going to be able to continue to work on. But I really wish I had known sooner.
« Relatedly: answer common objections once, offline. Cache
the answers. Repeat back from the cache, not from "best
halfway decent thing you can remember to say in real time."»

Can you elaborate on that? I'm wondering to what situation you are referring to and what kind of objections you mean here?
Eh, fair enough. I just reconfigure it and move on, but I grant you that doesn't necessarily work for everyone. shrug
I see articles like this one every once in a while.

A chemistry professor once told my class that due to the rate of diffusion, that we had just learned, the test of the "old air" would be wrong.

I don't know chemistry well. My question is if the salt completely stopped all diffusion over the last billion years. Maybe somebody here can answer.
The 17 equations that changed the world
Lucky people who felt the joy of running immediately. I tried to start running many times. I got myself to 5k. But I hate it, it is boring, and just about any other physical activity feels better than running for me.
IMO an appeal to authority is a perfectly reasonable response to an assumption of incompetence.

It's tiresome to always see comments assuming that such-and-such science is flawed because a mainstream news article doesn't spell out every single detail.

If it were phrased more neutrally, like "I'm amazed that this stuff can be contained without any contamination for hundreds of millions of years, how do they know that it works that way?" I wouldn't have a problem with it. Start assuming that you've missed something, not the scientist who does this for a living. Maybe the scientist has missed something, they're certainly not perfect, but to me it's ridiculous and counterproductive to be "worried" about the results of years of professional work based on one popular article and five minutes of thought (if that).
As many already said: being an expert does not magically make you a good teacher.
But if you are an expert AND understang teaching you will be a great teacher.
A godamn hero if there ever was one.
as broad as that yes, but if you enhance the work during transmission (e.g. by including meta data about the work) you may be able to argue derivation. i think it's an area where clearly technology and the ability to reproduce like-for-like fails the reading of law as it stands today.
This problem, like many in modern day science, can in large part be traced back to unstable funding. On the Maslow's-style hierarchy of research lab needs, the need for funding is a lot lower on the scale than the aspiration for scientific purity, just as a human's need for food is lower on the scale than their desire for self-actualization.

If competition for research dollars ceases to be so cutthroat, it will go a long way towards solving this and many other seemingly entrenched cultural problems.
At this stage, both Lyft and and Uber are losers in my view. They haven't proved anything on the market yet.

They are money-churning machines - Investors put money in and a smaller amount of money comes out - Anyone can do that. These companies have been so well-funded since the beginning that they never operated in a 'real economic environment' - There is no way of telling what will happen when the investor money dries up.
THE BAKERY MODEL FOR BUILDING CONTAINER IMAGES AND MICROSERVICES
a fade up daylight alarm clock best £130 I've ever spent
Hello jonstewart,

That LRU is not that great, is the main argument of the blog post, this is why now Redis contains an eviction policy with LFU elements. Pseudo-LRU in Redis is a compromise between different goals: Redis has many use cases, so there are tensions between different features. The Pseudo-LRU/LFU, augmented with the pool of visited objects, as you can see reading the whole blog post, provide quite good results without forcing Redis to bind the eviction policy to the underlying data structure used to represent the key space, and especially, without using additional memory.

All we can do for now is to have 24 bits per object, which is different than a 24-bit overhead per object, as the 24 bits must be stored in the object itself.

With the new LFU policy I hope to provide a more quality eviction strategy to Redis compared to the previous one, however note that in practice the sampling LRU + the pool provided acceptable real world performances in many use cases.

What I think you don't get, is that providing real-world software that has many features is not like: let's read the Wikipedia page about caching algorithms plus 100 papers, select the best, and implement. System software that works in many use cases and environments is an exercise in compromises, not "pick the best". Otherwise whoever is able to read the latest paper on a topic and implement it would be the winner, which is not the case.
Talk about feature creep! It sounds like you want a package manager and ecosystem that can install half an OS, just so you don't have to fuss with installing git on your own...
Thanks for the insight on the cache algorithms. Just wondering, are your implementations of 2Q and LIRS open-sourced?

Also I agree that not having more expertise on caching is amateur-ish for maintainers of redis. But as long as they keep up this level of openness and learn from the community calling them out on it, they won't/can't stay amateurs for too long!
> The pseudo-LRU redis used to have is appropriate for very high-speed caches (it's essentially a 5-way associative cache), but is so very not appropriate when going out to disk, where the access latency is horrible.

Redis is an in-memory database, so what's the problem?

Also, keep in mind that it has to fit in 24 bits, so not all solutions are possible, even if they are theoretically better