skysight-inc/HackerNews huggingface dataset:
Show HN: Robitussin and Adrafinil (Modafinil) = procrastination killer?
DXM (Dextromethorphan-- aka-- Robitussin) :: 6.4mg per kilogram of bodyweight (every 2 weeks-- may leave you out of it for 5 hours, so it's good to take at a time when you can sit around not doing anything)

Memantine :: 10mg in the morning + 5-10mg at night (taper up 2.5mg every 3-4 days to avoid dissociation and other side effects)

Adrafinil :: 300 - 600mg (precursor to Modafinil-- literal Modafinil-- not something similar to it-- actual Modafinil-- can be hard on the liver-- takes 90 minutes to kick in-- but it's usually not relevant at this dosage and frequency)

Caffeine :: 200mg

PhenylPiracetam Hydrazide :: 100mg (2x / week)

N-Acetyl Semax Amidate :: 600mg

N-Acetyl Selank :: 200mg

300mg 5-HTP + 3000mg L-Tyrosine + 400mg EGCG (green tea extract, if you aren't one with the gene that will result in it destroying your liver)

Robitussin explicitly often has Acetaminophen mixed in, which can easily result in liver damage at the dosages mentioned here, so it's important to ensure you're getting pure DXM, rather than something mixed with other things. Also, Robitussin combined with MAOIs or SSRIs results in instant death. Therefore, it's important to research all of what's listed here (thoroughly) prior to attempting to administer them.

What effect will these things have? Many. They clear the static of your thoughts (OCD, etc), they result in a permanent stabilized intelligence increase (10 IQ points, or fluidity with what was already present), and they effectively eliminate one's inability to do things (procrastination). That's the key and corner stone of it all. It eliminates the procrastination problem!
Well, you need the second part of that comment to get the complete picture though:

> After submitting my college applications, I began making more connections. When I apply to other colleges as a junior, I will be getting likely 5+ recommendations from various chairs and professors at MIT, UC Berkeley, and UC Santa Cruz.
It's helpful all the time, since it allows stable orbits.

https://en.wikipedia.org/wiki/Bertrand%27s_theorem
How you handled CRT vs non-CRT screens?

I still use CRT screens, not because of latency, but because of better contrast and colour reproduction, and the capability to use whatever resolution I want.

I noticed that in new games, and using newer video-cards, there is some kinda weird lag there, like if they were geared on purpose for slow LCDs (there seemly even some variables that you can control on AMD cards, using Windows Registry, or tweaking the Linux driver, related to screen input lag, they are on the "PowerPlay" part of the drivers for some reason though, I couldn't figure yet what they do exactly).

EDIT: Also, I stopped playing music-games almost entirely, I found many of them completely unplayable on my setup, I just can't find the correct settings to make the timing work. The least aggravating one is "Necrodancer" that seemly is really good in calibrating.
We do have Cyclomatic Complexity (https://en.wikipedia.org/wiki/Cyclomatic_complexity). I see this often enough to understand how important it is.
Saved you a click: Gmail is grepping for the string "powershell" in a malicious macro. Splitting up the string evades detection.
Brian, I'm glad you took a minute to post on here. I'm launching a beta within the State of California for a grassroots advocacy startup that aims to help trade associations and advocacy groups with their work. If you happen to have interest in chatting with me about it feel free to email me hn(at)strapr(dot)com and we can find time to connect.
This is the smallest possible implementation in terms of TCP connections. Those connections are required for the nodes to communicate, and achieve consensus. The HTTP interface is technically optional, but you need some way to interact with the system as a user.

You could probably multiplex the use of the TCP connections to do everything, but that would require even more complexity.
Qt WebBrowser 1.0
I doubt yahoo properties will just disappear. Too many users, too many ad views. They will likely be bought and supported.

But it's a good idea to back up your email anyway.
That's nothing compared to all of 7-Eleven being Japanese owned. Also, Sapporo owns Canada's Okanagan Springs beer brewery. :)
Generic lambda cron CloudFormation substack
Mostly 9-5 or 10-6. I don't usually eat lunch.
Back in the Apple ][+ days there was a copy protection scheme that depended on the spindle speed/timing of the old Apple ][ disk drive. The original would be recorded slightly off the proper speed, but still readable (unless the timing was off the other way on your drive unit). Copies would record at normal and the software could detect that and refuse to run. An issue of the old Hardcore Computist magazine (core/apple pun intended) had instructions for adding a speed control knob to a disc ][ drive unit so you didn't have to take the cover off and use a jewelers screwdriver to adjust the potentiometer. In college I occasionally made a couple extra bucks teaching Apple software classes at computer stores. One customer had an issue with a drive unit that was spinning to fast being unable to read the software. A little bit of screwdriver work fixed it right up.

edit: Found some old digitized library of issues online. Not sure which issue it was: http://computist.textfiles.com/
Augmented reality becomes mainstream
Four Ways to Lift Yourself to a Higher Plane Today
Yeah, my 'factual errors' are 'extreme', and then you rebut pretending that books don't exist anymore. You're painting an overly rosy picture of the past, and you are wrong about medicine not improving in the past 45 years (mental health in particular). Not to mention that you seem to think that the civil rights movement was done and dusted by 1970. Union participation is not a measure in and of itself of life quality, and you conveniently ignore that jobs back then tended to be much more menial and boring - in the modern day we have the relative luxury of saying 'no' to those jobs (hence immigrants doing them).

And, frankly, saying the internet and mass interpersonal communication was 'played out' as of 2005 is utter horseshit. Besides, how seriously should we take a source which damns radio, television, the film cinema, the telephone, and the internet, over 150 years when humanity had none of these beforehand? Should we go back to pre-1870 times, when being illiterate was commonplace instead of being notably unusual? I'm not sure how info/comms was somehow better then. Picking out 1995-2005 as being 'the only good decade for comms' is ludicrous.

It's also possible for inequality to increase, yet have the lower bound also increase. Yes, income disparity has increased, but life quality is not measured only in dollars. Try being gay in the '70s for a clear example. And it's not like homeless people are a new thing this century - they were around back then as well.
> If ARM was based in France then people from Cambridge UK would still be able to work there, either by moving house or remotely. //

People may not be able to work in France after Britain leaves the EU so a company relying on moving those people would be on shaky ground at the moment.
Joy – Track and Improve your mental health
Once I get on your site I don't seem to be able to get off it using the back button.
>"Try not to be too bitter about this"

Try not to make uncharitable assumptions. I'm not trying to get into their program and I live in Asia. I've heard a few great things about RC and it looks like a strong learning environment.

Depending on the commenter, they might be able to get help attending it.
It might have something to do with the fact that the weaker the economy gets the more the rich get rich and people know it. Whether they recognize that it through inflating of the stock market, bonds and real estate with cheap credit or not.

Central bankers can't seem to get it into their thick heads that their 'wealth effect' is a 'poverty effect' for those who didn't get the chance to own those assets before they pumped them up out of reach.

The fact that the central banks of Japan and Switzerland own most of the companies that we are employed by and pay money to thanks to their ability to create money out of nothing should make people angry.
They're playing probabilities. I know they're are plenty of whites below the poverty line, but I think required reading in this case is this: http://thefeministbreeder.com/explaining-white-privilege-bro...

The linked essay unpacking the invisible knapsack is also really good. These are to help you understand why it's okay to specifically try to help black people (or other minorities). But I think they also help start a conversation.

(Both are great links suggested here: http://theteej.tumblr.com/post/122334039549/hi-white-friends...)
An Erlang story about if's and else's
Take a look at System 76 (https://system76.com/) machines which are sold as Linux (Ubuntu) machines.
I bought one to use as a work travel machine. It has been (and continues to be) a good machine.
I was thinking about the issue of nested code the other day -- isn't it (mostly) an editing environment problem? I mean, if my IDE can detect that a method is pure, couldn't it do a little magic (e.g. provide a different coloured background, some dotted boxes, etc.) and show me the inlined code right there? It doesn't seem wise to architect your codebase around the deficiencies in your tools, since one is (hopefully) going to long outlive the other.

Related:

[1]: https://dubroy.com/blog/method-length-are-short-methods-actu...
Prisma launches its beta app for Android
Cross-Site Scripting (XSS) – Visually Explained
Just found this: http://plaintextaccounting.org/
New cars and polished stations. but I don't see anything about improving the actual infrastructure with more tracks, better signaling, etc. I guess we hope that those sorts of improvements are happening but are not interesting enough to write about?
Many modern games buffer frames to render so the rendering is up to 3 frames behind the simulation (in the UE4 case anyway) . in a multiplayer game, you've got these 3 frames of rendering, plus network latencyt both ways, plus a frame of simulation time on the server, and then (depending on the engine) a possible extra frame of input latency when taking the input from the controller to processing it.
Scientists pave the way for large-scale storage at the atomic level
I don't know, I'd prefer:

config_filename = get_config_filename()

config = read_config(config_filename)

endpoint_url = config["endpoint_url"]

auth_data = get_auth_data(endpoint_url)

to just dumping all of that inline.
If someone reading this went to MIT and can contact admissions, they should link them to this story. Surely there are a few MIT alums on HN? Get this kid into his dream school!

Or maybe he mentions another school in the AMA?
Tony Tam has deployed v2.2.0 of swagger codegen to generator.swagger.io. Please give it a try.

For any issue/question, please log a ticket via https://github.com/swagger-api/swagger-codegen/issues/new
I use the full hour about once a week, but you are expected to be around 9 hours regardless.

Thanks, I am glad to hear that at least someone works the schedule I expected though.
Isn't cyclomatic complexity just about the number of paths through code? It seems like (statically resolved) nested calls, as long as they don't loop or branch themselves, shouldn't increase cyclomatic complexity.
> There exist numerous people on HN who have successful businesses doing the second model. Understand that the second model is far more akin to running a business than it is to writing books.

I've done this twice now (links in profile if anyone is interested). It is very much a business for me. The first book led to an ongoing consulting gig with a wonderful client, along with a smattering of additional clients over the last few years. The first book has also earned north of $50k since publication, of which I've been able to keep 97% minus minor costs like hosting.

I have not published with a traditional publisher. O'Reilly approached me about publishing something like MMP as a traditional book, but they weren't interested in conciseness nor were they willing to pay anything close to what I was making self-publishing so it never went anywhere.
Thanks. I do agree that hacking isn't always real work. Like I said, I have an account on one of the last public-access ITS systems in the world.

And I have to say, coloring books are pretty fun. Which is to say, I really like UNIX. The (almost) everything is a file model makes dealing with external devices remarkably simple, compared to other systems. And the predisposal towards textuality makes system configuration fairly simple, with little need for special tools. Pipes and sockets make program composition simple, so you can build several small programs instead of one big one, or compose together smaller programs instead of writing a new one. And shell, while not perfect, makes simple automation easy.

It's not a perfect system, but it usually works, and it's pretty damn elegant for a system built as what was effectively a weekend hack in the '70s.

Oh, and do you know if any assemblers other than GAS support AT&T syntax? I think it's much nicer.
OP is proposing you solve the problem if no one else has a solution. You are proposing to solve the problem by simplifying. I don't think these need to be mutually exclusive pieces of advice.
While I agree in some senses, i'm terrified of this idea in others.

A business-basic style language i work with (second time i've talked about it in a few days... it's weird) saves it's files in a strange not-compiled-but-not-plaintext format that only it can read. That means you can't use your VCS of choice, you can't use your favorite editor, you can't even grep through the codebase to find where a variable name is used.

Technically you could write something to get it working in a more "normal" editor, but that is a path I don't want to run down.

Ignoring encoding, text is about as accessible as it gets. You can always layer more tooling on top of it, but you can't take it away from a non-text representation easily.

Personally I like the way that the go team handles it. Source files are "plaintext" (again, ignoring encodings for the sake of discussion), but there is one (and only one) canonical format for the layout of the code, and a tool which will apply it.

Then like you said, you can have IDEs which can layer more visual representations on top of that if needed, and there is a chance that some people could program without actually seeing the "plaintext" source code.
Perhaps they only collect data from browsers hitting their web site?
Uber visualizing its data
Why I Started '10 Day E-Commerce'
ServiceWorker: A Basic Guide to BackgroundSync
Facebook’s mobile device lab
foreigners are much more likely to hire people with local influence!
Interesting. Hadn't considered the applications of atomic storage before
In an argument of tabs vs spaces. Someone always says both. You are that person.
The design of the web page is nicely done
Something that I haven't seen mentioned here is the benefit of budgeting for things that you want to spend money on but do irregularly enough that you might forget. I was never irresponsible with money, instead I just tended to save and save (and think I was saving a lot) and not really know what to do with it.

Now that I'm consistent with budgeting (YNAB), I'm confident I'm saving for the future AND for things like birthdays, xmas, charity, cycling, etc and spend more on those things. It's like a contract with myself.

I totally agree with a corollary you're implying to "you can't change what you don't track":

- "It's meaningless to track something that doesn't change"

I can see a future where I stop tracking incidental or recurring, automatic bills and just focus on those other things.
Lost Roots: The Failure of For-Profit Couchsurfing (2013)
How much would you be willing to pay for that?
Oh, i like this idea. Imagine your IDE just being able to substitute method calls that are just calling single line methods, for viewing only. Or even being able to refactor them in-line, but keep them in private methods?
Personally when facing decision between highways, local roads and other means of transportation I almost always have a specific destination in mind. Accidents per mile is the statistic I want.

Accidents per hour of driving would be more useful for public policymakers – given fixed average commute 1 hour per day, what's the tradeoffs of building highways (worker mobility, commerce, pollution, landscape, accidents).
Plenty of successful projects use some form of 'OO' C. The Linux kernel is probably one of the most successful.

I'm not saying all C programmers should use OO techniques, and I'm not saying all OO programmers should reach for C, but I don't think blanket statements like "OO C is a bad idea" and "stay away from [OO C]" are useful without context (and with context they are almost meaningless).
> "I've worked with people in their late 30s that are still intermediate level."

At what age did they start? I've worked with people who were just getting started in their late 30s after a career change or kids growing up enough to become more independent, etc.
I have nothing to add to this, other than... "OK this guy has clearly worked on the Quake source code..." :)
thank you! this discussion also helped me realize the importance of both memory--in which to store broad knowledge and associations--AND raw horsepower in the CPU.
Where do you imagine the saved money goes?

In a modern economy "savings" equals investment. Even using a bank deposit account transforms one persons savings into another's business loan or mortgage.

This seems to be a widely held misconception - that savings are economically inert - a bit like a squirrel's nut hoard.
> If you are under 30, don't even think of taking vacations

Terrible advice.
lol. That brings me back. I actually own a physical copy of "Don't Copy That Floppy" on VHS. Coincidentally we stole it from our computer teacher when I was a little kid.
Zika Data from the Lab, and Right to the Web
Ah, the times of getting a perfect setup for music games: the combination of a simple TV with low lag (introduced by picture scalers and other processing), and a simplest stereo connected with RCA cables.
Looking at it moving for more than 3 seconds made me quite nauseous if I zoomed in.
Is there some level of art in CS and processor design? Yes, because there is no one clearly "right" answer to larger problems. CM speaks eloquently, and presses a lot of my buttons (i.e. I agree with him) regarding what is "wrong" with how the industry approaches computing. But he then goes on to so strongly advocate for his own stuff that he makes it sound like a panacea for all computing ills. He comes across as an underdog with the solution to everything that the world is unjustly ignoring, which is a little weird IMO. He would make a great counter-culture guru.

I wanted to love Forth, but it's a cumbersome tiny language tied to a couple of stacks that you have to micro manage. DUP, DROP, SWAP, etc. are inefficient, much like copying a value from one register to another, which is why most modern processors are 3 operand (to include the copy/move in the operation). And running a stack-based language like Forth on a register-based processor is a poor fit and inefficient, but that isn't necessarily a reason to build custom hardware that fits the language (we don't really do that anymore). This Emperor has no clothes.

Cue the true believers.
GoKit does that (http://gokit.io) – I heard about it on the changeling podcast [1]. Really cool set of scripts. Haven't used it personally though. There's also a changelog episode about Caddy [2], although I'm sure some of that will be outdated starting today.

[1] https://changelog.com/163/

[2] https://changelog.com/179/
But Racket isn't making choices either. Python and Ruby say that procedural programming is the choice for small projects, and OO is what you should be using for larger projects. You can do other things, but that's the default. Racket's approach is to toss 50-odd paradigms at you, and say: "screw it, you figure it out." At least with the traditional scheme there was a default: a sort of procedural paradigm, with some functionalism mixed in. With Racket, there isn't even that. Give us contracts and OO, and all the other paradigms, but give us a reasonable default paradigm as well.
Thanks for the amazing post. I didn't mean to strike a painful nerve with mine, I wanted to try to point out that the happy white family isn't the norm, and that's what these programs are about (there are disproportionately more stories like yours in the black community than the white community).

I just linked this [1] from another post, and I know that your voice is valuable in the race / discrimination conversation. Your situation was not just, and I'm touched by your story. So thanks.

[1] http://theteej.tumblr.com/post/122334039549/hi-white-friends...
Do you agree with these 29 things every beginner developer should know?
Now it's been a bit since I last read about this a bit so forgive me if i'm off by a lot, but i'm pretty sure most javascript engines do this.

The reasoning is that they will parse the text slightly differently depending on if it is being inlined or not (potentially skipping steps if possible to speed the process up), so the heuristic needs to happen before the parsing step.

Yeah, you could add in some checking to do things like strip comments, whitespace, and other "simple" things, but is it really worth the extra cycles?

With minifiers and compilers in such large usage, a check like that would most likely just waste CPU time in the vast majority of cases, not to mention the extra developer time spent in the engine.

That being said, i'm pretty sure this exact instance is a bug.
From a purely outcome-based view, I'd say firing Jobs was the best thing for Apple's long-term success. NeXT software was critical to the turnaround, and Steve apparently learned quite a bit (even some humility) during his time in the wilderness.

So: yay Sculley?
From what I've read, dropping frames is enough to fail console certification. Console gaming may be one of the few (non-mission critical) software areas with actual high quality standards. Meanwhile, after an iOS update, I have to swipe up to 5 times to pick up a call on my iPhone 5s...
Join Nutanix at VTUG on July 21
Applied Science:
https://www.youtube.com/channel/UCivA7_KLKWo43tFcCkFvydw

Passionately home-cooked DIY science projects.
That's merely another reason why Brexit is such a bad idea.

My point is why is ARM a "UK national asset" when if it were located only about 200 miles away it could be a "French national asset", and really it would make hardly any difference to anyone. The ownership would be the same (pension funds etc). The people working for it would be the same. If it does make a difference at all, that's just because we (humans) make it difficult for ourselves, not for any real reason.

In fact ARM has several offices in France (http://www.arm.com/about/company-profile/locations-around-th...). It's only a "UK national asset" because the company is registered in the UK, for historical reasons. For all I know there are some employees in France who are so pivotal to ARM as a company that if they left the thing would collapse. If that hypothetical was true why wouldn't you call it a French national asset already?

The whole thing of nationalities and borders is based on very minor and arbitrary distinctions, so any argument that we try to derive based on those assumptions quickly descends into "ex falso quodlibet".