skysight-inc/HackerNews huggingface dataset:
Escapism is a very dangerous practice, as it drives you to suppress the thoughts and decisions which hurt. What is ignored is that these exact things are the ones which actually "MATTER", and putting off dealing with these "devils" is a surefire way to drive you into further depression...

Drop that pot, and start dealing with your partner. Don't post stuff on HN and feel good about yourself.

TALK TO HIM. That is the only way the pain will ease.
Question: If it works, why not heal with a [active] placebo?
It's the same as Facebook Connect. Logging out of Facebook doesn't log you out of all the connected sites, but it does prevent you from logging in to others, which is what the GP was asking.
Writing software is always a good idea, at least for the experience, so don't be offended by the following comment.

In the case of this particular itch, there are many small statically linked editors, some of them quite powerful. I don't think a small emacs was ever spotted, but the original vi (not vim) is often statically linked and present in /bin in Linux installs (it's a rescue thing).
Erm.. isn't this actually called 'trial and error' fairly common method.. No?
How can a drug work LESS than a placebo? Like if the drug does nothing then it should at least be as effective as a placebo shouldn't it?
Search for the purple cow, not the grumpy cat
> The only thing I miss is a minimize button,

You can easily add a minimize button to gnome 3 — somewhere in the various configuration settings, there's a "title bar layout" parameter which lets you set specify which buttons to use, and where to put them (roughly).

[...rummages around...]

Ah, try the following in a shell to get the classic Apple Mac button layout; other variations should be obvious:

gsettings set org.gnome.shell.overrides button-layout close:minimize,maximize

[The equivalent GUI app is "dconf-editor"]
A bug in Assembla
Today, found a major flaw in ASSEMBLA tool.
Let me try to explain my not so good English,
First step: Signup for assembla tool.
second: Click on forgot password...
and what happens? You get email notification.
Cool, this link that you get in your email inbox doesn't expire.... IT won't. Nope. Even after using 100 times, it wont at all.
So, what?
if someone has this link, they can changed my password, why just change? Don't even change just clicking on the reset link will have you logged in to the account.
ASSEMBLA is such a big company and i didn't expect this to happen.
As a team, we are backing off from this tool, right from this moment.
It can have adverse effects worse than the nocebo effect (nocebo in Latin means "I will harm". It is the negative twin of the placebo effect).
I think Gomacs or Gemacs would've been better name. It looks so similar to emacs.
>Can you port say OpenGL 4+ games to asm.js and the browser, or will you be able to use only the WebGL/OpenGL ES 2.0 API for it? If so, then we will only see mobile/indie games on the web for now, at least until WebGL gets more advanced graphics API's.

Why, did you expect AAA games on the browser?

One step at a time people, one step at a time...

Mobile games of the kind you get on an iPad, with 60fps are a perfectly good target for the web browser.
Slashdot's current state really breaks my heart. Even with the occasional drive-by troll or the "apk" lunatic (what's his deal anyway?) things were tolerable, but lately it seems some of the older posters have lost interest and moved on (maybe to HN? Ha!) or have reverted to petty squabbling and deliberate obtuseness. I mostly go there to read comments from the veterans who've stuck around over the years and only recently bothered with creating an account. Thankfully there are still nuggets of gold among the threads.

There's a tricky Goldilocks zone when it comes to any forum and the biggest challenge is not treating it as a personal blog. You share ideas, yes, but the very platform demands you give up some control. Of how your ideas are perceived, what feedback you get and even weather those ideas are welcome in the first place. And all communities change... away from a Beowulf cluster of X and into the cloud, I suppose.

Trying too hard to hold new members to the light of older burning candles will cause them to flicker out or if you just let them burn willy-nilly, you risk starting a fire.

I'm hopeful we're not all doomed to walled gardens the likes of Twitter and Facebook just to avoid negativity raining on our parade (of course even they're not devoid of doom and gloom either, but "blocks" do give you an umbrella of sorts).
I totally agree with that, but you know how it goes with sensitive tools like editors. "Nya nya nya, but where is my feature X?"

Writing the right combination of what I want is a perfect way to solve this problem.
You know what? A year ago, I would have shared the exact same scepticism.

Now, I have an infant daughter who likes nothing more than being carried around, which has exponentially increased the number of activities I do with one hand, standing up.

Being able to have a soundless controller that you don't need to pick up or fiddle around with in a way that disturbs a tiny human sleeping on your other arm sounds like absolute perfection.
The first thought that popped into my head was Dirk Pitt.
On the Note of Node.js, i was wondering if there will ever be a Node.js based on IonMonkey + Baseline Compiler instead of V8.

The engineer in my says, cool idea and judging by libuv [0] The joyent / node.js team seems to be open to abstractions, if help is offered.

Assuming the technical task isn't too expensive in terms of leaky abstractions or ripple, one has to ask the next question, if V8 works...why, would it be worth it?

[0] https://github.com/joyent/libuv
I was semi-joking in reference to the comment, the Plan9 and suckless communities are famous for being very hard-headed about programming being the only way to customize their software. For example, I use dwm - http://dwm.suckless.org/ and like it a lot, though I wish they would change this aspect. I am not criticizing what you did in any way, in fact it looks very nice in comparison to great many similar projects, nice code and interesting design.
>Again... Good luck with parallel code.

Err, people have moved on from straight parallel code. It's all about message passing and isolation now, which is something Javascript can get perfectly easily (and sort of already has).
Sorry for spoiling your fun, but Plan 9 has a $tabstop environment variable: http://plan9.bell-labs.com/magic/man2html/1/0intro
Thank you for this very enlightening post.
If the drug makes the condition worse?
As I put in the first sentence, I might be missing a lot there. Could you please point me to the definition you are referring to? I probably did not express myself very well. And I already learned a bit by thinking about this differently. You (and everybody else, so you are right!) define lock free as dead lock free. Which can be done with a carefully chosen lock. I was always thinking of lock free as a pure performance optimization which admittedly is different to the algorithmic property. Am I on the right track? If yes, it should answer your question why I got involved in the discussion: to learn.
I thought the nocebo effect described that a placebo even worked when the patient knew he was getting a placebo.
Fork and rename, but don't call it pdfminer2 as that's trampling over the namespace of the original. Rename it to something new.
Will Emscripten/Asm.js kill Web-Development as we know it?
The real problem here of course, the unwritten and almost certainly valid assumption in the piece is that our regulatory bodies will almost certainly accept the fig leaf of these fudged trials as reason to grant license to drugs of questionable medical benefit in order to reward big pharma and its generous support of the political process through campaign contributions.
Would be really cool, if part of this money went for funding PyPy's NumPy effort (they still need $15K to be fully funded)
Hi! I think I got (I'm not a Go programmer, reading Go is slow and not very reliable for me) that buffers are represented as linked lists of lines.

If this is true, do you still find the performance satisfactory when editing large-ish files (tens of thousands of lines)?

It used to be that buffer representation for general-purpose editing was kind of a Real Problem, so it's interesting if a basic linked list of strings representing lines cuts it, these days.
Google is run by adolescents, says Evgeny Morozov
Not sure if this was recent, but preev.com has this character as its symbol now.
I know, I know. I don't take it that personally, just was clarifying why I wrote it and that it's not necessary how I write software.
There is an interesting metaphysical problem that arises as our lives become increasingly digitized -- things that are not present in unicode _won't_ be used, because they won't be _able_ to be used online...

I remember reading about exactly this problem recently in China:
http://www.dnaindia.com/world/report_chinese-villagers-force...
If you want to refute the point you can't arbitrarily restrict the comparison to processors with the same clock rate.
Congratulations, you just invented "alternative medicine"
so, you can indent 9 times in an 80 column display, and less then that usefully?

I'd much rather have tab size be set to get smaller based on the number of indentations/longest line.
How about evaluating both (asm.js and PNaCl)? Looks like we are stuck in the "monoculture" you said you dislike. And this IS the reason I never love web standards. I don't like monocultures too.

I feel you are biased to preserve JavaScript because you are the creator of JavaScript. IMO, asm.js might beat Flash but has a clear dead-end to beat native. We all are in a local optimum trap, I think.
I suspect the infamous Mossad Shark http://en.wikipedia.org/wiki/Israel-related_animal_conspirac...
>I doubt, that you will find it easy to beat well written numeric Python code with naive C, C++ or Fortran approach.

Huh? People do it all the time. Naive, but not memory-leaking or improper complexity using, C/C++ etc code, beats Python hands town -- and can be more than 10-20 times faster.

>Python is not inherently slower than C, C++ or Fortran. It is just a language after all.

An interpreted language, with a not-that-good interpreter and garbage collector, non primitive integers and other such things holding it back.

>If you have a fast implementation of computational engine, like Numpy, you can reach speeds of C++ in computational tasks.

That's because the "fast implementation" is NOT written in Python.
A Goroutine can catch any panic() via recover() and then signal bad health to the supervisor.
Introduction to Lock-free Programming
Creationist stakes $10,000 on contest between Bible and evolution
How Microsoft is losing the battle for indie developers
I mean, why not use placebos in real medicine? They obviously work, their rate of working is measurable and we have a list of specific diseases they work on and to what extent they work.
Ah, this site again. See https://news.ycombinator.com/item?id=5327200 for context.

The author's posts vary greatly in quality. Sometimes they're reasonable. Sometimes they're stuff like "antidepressants in tap water cause autism" (http://asserttrue.blogspot.com/2013/02/antidepressants-tap-w...) and "Do warnings on cigarette packs cause lung cancer?" (http://asserttrue.blogspot.com/2013/02/do-lung-cancer-warnin...). When an article makes it to the front page of HN, a domain expert usually comes along to tear it apart. See https://news.ycombinator.com/item?id=5140049 for a recent example.

Combined with the author's constant self-promotion (see https://news.ycombinator.com/submitted?id=techdog), I tend not to believe much written there. He's optimizing for page views, not scientific accuracy.
But it is simple - medicine has long demanded 95% confidence levels.

Keep them.

Do not budge. Do not allow drugs to come through that fail to meet those standards

Now offer really big X-prizes for malarial drugs

Now allow holistic treatment as part of the drug trial - drug plus recorded CBT, drug plus exercise regieme monitored
Companies are snowflakes
Why, is there ANY D3 integration with Python?
“In medicine, a nocebo is a harmless substance that creates harmful effects in a patient who takes it.”

http://en.wikipedia.org/wiki/Nocebo
It is unlikely to work less than the placebo, just for 20 people you happened to choose some just got better anyway - and we're in the wrong group

That's why it's important to publish all trials - if the 20 people who got better anyway were receiving the active drug do you think they would be saying our drug might not be that effective?
Because it (mostly) doesn't actually work.

It looks like it works because it exposes bias in both patients and researchers.

This is why it's more effective with subjective and self reported symptoms like pain, nausea, etc.

A great short article about placebo: http://www.sciencebasedmedicine.org/index.php/the-placebo-ef...
What about someone who has a bout of rebellious irrational behaviour when they were 18? Everyone does stupid stuff when they are 18 that they wouldn't dream of doing when they are older. Rather than assuming they are a right off from society and that everyone is better with out them, spend some of the 25+ years worth of prison money on educating them why what they did was stupid.
> since Go has support for neither immutable structures not unique pointers, the objects passed through the channel can be mutable and keep being used by the sender. Go will not help you avoid this.

Channels are pass-by-value. If you pass a struct, it's copied, and both sides can mutate their own copies as much as they want.

You can get still bugs if you make channels of pointers (or have pointers in your message structs etc).
AFAIK this is already done today. (Mostly in Hospitals.) If your doctor gives you a big red pill with some name like 'Ultracure2000 FORTE' it is most likely a placebo.
> ...minimized windows just disappear. You can only find them in the activities overview or the alt-tab list.

... which is actually really cool. They're still very easily accessible (a single mouse-flip or keyboard sequence away), but completely out of sight when I'm not using them.

The windows-style task-bar with 75 bazillion unreadable entries always seemed pretty annoying (and often unusable when any number of apps are open); Gnome 3 does things much more elegantly.

That's one of the things I really like about gnome 3 / gnome-shell: it mostly stays in the background out of my way, but is quickly available when I want it.
Spotlight interview with Steve Klabnik
Linear variation method in QM + an SCF cycle ;)
> It turns out to be easier and faster to iterate from an existing but wrong solution, than to deduce a correct solution from scratch.

Indeed, many things in real life follow this pattern.
How to Succeed in Reproducible Research Without Really Trying
What it means to do reproducible research in computational science and why openness is important!
Plenty of techniques that were once considered alternative medicine have found their way into Western medicine, so it's not all as cut and clear as you present it.
Some prostate cancer is very slow growing. The man will die with it, not of it.

Treatment is harsh and aggressive and carries risks and has unpleasant side effects.

In that case doing nothing is better than doing something.

A very good question to ask of a doctor is "What happens if I do nothing?"
I agree, punishments should be inversely proportional to the crime.
While I'm not against them, prizes are not enough to sustainbly drive research as they only reward the winners. It is the reality of research (as opposed to engineering) that outcomes are uncertain. Meanwhile researchers have to eat and typically have good (well-payed) alternatives.
These effects are recorded when patients know they are taking part in new medical research trial, and prime their minds accordingly. The placebo is unlikely to do the same thing when they are in a different context.
This is exactly the kind of thing the article is complaining about. You could say "that long load time is going to be bad for productivity", it's a valid criticism and deserves a response by whoever is explaining the tool. But you don't, you say "that editor sucks". It's aggressively negative language which doesn't even specify a problem.

Whoever is recommending this system is likely nervous, and very invested in what people think of it, so you saying "it sucks" will feel like a personal attack. It's completely unnecessary.
Godit is quite fast. I tested the godit on intel atom netbook, it keeps CPU usage fairly low.

In my opinion linked list of lines is perfect here. Because the only time you need to go through it in a linear fashion is the actual "goto line" operation. The rest is mostly O(1). Of course line insertion is much more common than "goto line" in editors.

The only problem in godit is that it still doesn't handle long lines very well, here most of the operations are O(N). In fact in godit every time you move a cursor or basically do anything it will do O(N) operation on a current line. I checked this kind of stuff on long enough line (10k), no problems here. I don't think there are that many docs with lines longer than 10k.

So, yes, it will work on very large files without any problems. I've just tested it by creating a 56M file with ~660k lines. Can't see any performance issues on my i5-3470, except for loading and saving, it feels like 0.5s for both or so.

Of course contiguous buffer is not an efficient way to do an editor, I guess "advanced" editors use rope data structure or something. Although most of the editors load large files slower than godit. In a perfect world on files bigger than say 50M you should do memory mapping or something. But most editors like to know the amount of lines in a file they're showing to you, so, no mmap here.

Anyways.. It works very well in practice.
I often imagine offloading everything to GPU is the realistic solution to workaround the mess of standards...
A couple of weeks ago I was searching for go programs in order to see examples of how I could organize a toy project I was starting. I found godit and after reading the source I think it is a good way to organize a small project. Eventually you can start moving functionality to packages once they grow big enough.

And the tooling helps. There is no Makefile and no instructions, so I tried `go build` and it just works.
It isn't screwed up. In broad strokes, we understand very well. Calories in - calories out = weight gain. This has been demonstrated in thousands of lab studies.

That's about 85%. Now we are just figuring out details and special cases.
Aha, okay, so it is an actual protocol. Thanks!
Good point! Though this one post does seem quite well reasoned its message is an easy one (big pharma is evil) and suspect to confirmation bias.

If only my browser gave me something to tag the site with your comment, so that next time it comes around I'll remember.
It's bad. Ubuntu is the corporate partner for companies that don't want to do Free Software.
Perhaps, but it's too late to change the name.
Should you be concerned about your job when tweeting?
People have been thinking this, that it's vastly better to design for concurrency upfront, for literally decades. And every single time there has been a big sea change in processor technology it's always been the next generation which will see things like VLIW or Erlang and so forth come to the fore while what I will call "iterative advancements" and "patched solutions" turn out to have too many weaknesses to be competitive. In reality the reverse has happened, and new specialized languages and instruction sets have been relegated to niches.

It'll be the same over the next 20 years as well.

I predict that we'll see a lot of technological leaps which will serve as much to maintain the ability to run "old code" in new and interesting ways as to enable a brave new world of purpose-built languages.

In the next few decades we'll see advances in micro-chip fabrication and design as well as memory and storage technology (such as memristors) which will result in even handheld battery powered devices having vastly more processing power than high-end workstations do today.

Is that an environment in which one seeks to trade programmer effort and training in order to squeeze out the maximum possible efficiency from hugely abundant resources? Seems unlikely to me, to be honest.

Indeed, it seems like the trend of relying on even bloatier languages (like Java) will continue. Do you think anyone is going to seriously consider rewriting the code for a self-service point-of-sale terminal in Erlang in order to improve performance? That's not the long pole, it never has been, and it's becoming a shorter and shorter pole over time.

In the future we'll be drowning in processor cycles. The most important factor will very much not be figuring out how to use them most efficiently, it'll be figuring out how to maximize the value of programmer time and figuring out how to use any amount of cycles to provide value to customers effectively.

(I think that advancements in core, fundamental language design and efficiency will happen and take hold in the industry, but mostly via back-door means and blue sky research, rather than being forced into it through some impending limitation due to architecture.)
Nintendo Web Framework for developing Wii U games with web standards
OMG! I am not going to lie, but you two made my day. Egyptian profanity jokes on HN. Haha.
Sign up here: https://gdc2013.nintendo.com/sign_up.php
I may integrate that into my Indoctrinator program (a program that uses the power of obsessiveness to achieve anything): http://indoctrinator.com
Wow, thanks for all this feedback. Once I get a chance to wade through these resources, I'll let ya'll know what I found the most useful. Thanks again.

Cheers,
-s
Plenty is a bit of a stretch.
Prophet says:

Now, some people will claim that having 8-character indentations makes
the code move too far to the right, and makes it hard to read on a
80-character terminal screen. The answer to that is that if you need
more than 3 levels of indentation, you're screwed anyway, and should fix
your program.

And I think I kinda agree with this.
Before people get too excited, remember, correlation isn't causality (aside: I never thought I'd get to be that guy on HN who says that).

It's just as possible that different microbial populations follow from obesity.

Actually, it seems more likely that this is the case, given that the populations change after band surgery.

And, as always, there is no biological mechanism so far discovered that transcends the conservation of energy and matter.

Given how hilariously silly any thread on diet becomes on HN (because for some reason saying "net caloric balance is the sole predictor of long term average body mass" drives people nuts), I believe I will sit this out to avoid getting a severe case of XKCD386.
It's more like this if you ask me:

https://www.youtube.com/watch?v=gb_qHP7VaZE

(I bet half of you knows what movie clip that is before clicking)
By definition, I begin
Alternative Medicine, I continue
Has either not been proved to work,
Or been proved not to work.
You know what they call alternative medicine
That's been proved to work?
Medicine.

- Tim Minchin
I'm going to ignore this until the protocol is reverse engineered and a Free Software driver is released.