skysight-inc/HackerNews huggingface dataset:
Indeed that is true. Some of my lenses are much faster than others! A fast lens does let me use a fast shutter speed, and as Wikipedia describes, that's where the phrases "fast lens", "slow lens", and "lens speed" came from.

But "fast f/1.4 shutter speed" doesn't just not make perfect sense, it doesn't make any sense. That's why I chose it as an analogy. The phrase doesn't mention lenses at all, it's talking about the shutter. And shutter speeds are measured in seconds or fractions of a second, not f-stops.
Ah sweet!
I can't remember seeing "Patent Pending" proudly displayed on a marketplace startup's site. What's the patent for?
The author blogged some of the experience too.
- http://nwidger.github.io/blog/post/writing-an-nes-emulator-i...
- http://nwidger.github.io/blog/post/writing-an-nes-emulator-i...
- http://nwidger.github.io/blog/post/writing-an-nes-emulator-i...
One of the biggest complaints that I hear from literary figures is that people are not reading. E.g. Philip Roth saying that the number of serious readers in America is going to drop to almost zero. So I would imagine that readers being able to find whatever book they want wherever they are located and buy it instantly would remove some of the barriers to reading. I would also imagine that having cheaper books would encourage people to buy more. And I think that all of the other new ways of getting books to people (Audible for example) are also vehicles to get people reading.

I also think that ebooks open up a lot of possibilities for experimentation. For instance, in the past it may not have made a lot of financial sense to write a 60 page novella - you couldn't really put it on a shelf in a bookstore by itself, it would have to be packaged with other work. But with an ebook there's no reason you can't write a 60 page novella and charge $3 for it.

I think a good analogy is print journalism and commentary vs web journalism and commentary. There's a lot more crap on the web, and a lot of the traditional institutions are hurting, but there are also so many more opportunities for new voices and for innovation.
https://news.ycombinator.com/item?id=8843162
Is there a command to automatically escape a string for use in sed?

I got frusturated escaping for simple replacement: https://github.com/jakeogh/replace-text
oh god I just found this thread, sounds same as my situation.

https://forums.digitalpoint.com/threads/moved-servers-added-...
For me the hardest part was just getting started. I had been putting off going to the gym for years. Every few years I'd sign up for a membership and then never end up going. I'd be too busy, too tired, you name it. Then 6 months ago I just walked into the gym and hired a personal trainer on the spot. I've been working out 3-4 times a week since. Now it feels weird if I miss a day. So far I've lost 35 pounds, 6 inches from my waist, and my bodyfat % is down from 26% to 21%. The hardest part was just walking into the gym that first day.
https://news.ycombinator.com/item?id=7018240
> Most likely not.

Or, as about 3 seconds of searching would've told you, yes they do. (53% of drug deaths were prescription drug deaths in 2012[1])

> > there is definitely a problem with the way doctors prescribe drugs these days
> Why? Painkillers have a clear function and are useful in many scenarios.

Yes, they do, and they are. But unless you wish to argue that the level of pain that requires opioid pain killers has consistently been increasing and almost tripled since 1991[2], you'll have to face the idea that maybe doctors have gotten quite a bit more liberal with the rx pad. 207 million opioid prescriptions per year really seems a bit over the top, no?

[1] http://www.cdc.gov/homeandrecreationalsafety/overdose/facts....

[2] http://www.drugabuse.gov/about-nida/legislative-activities/t...
I really enjoy CppUTest. It was written by James Grenning who is one brilliant engineer if you ask me. He also wrote the fantastic book "Test Driven Development for Embedded C" which I would highly recommend to anyone, even non-embedded developers.

I used CppUTest on a c++ project to test algorithms for image and video manipulation. It worked fantastically, very easy to learn, and it helped test drive and optimize the algorithms. Highly recommended.

Edit: fixed typos, typing on phones is hard.
Debugging advanced compiled Closure in ClojureScript is actually pretty straightforward if you know which knobs to turn - :pseudo-names true, :pretty-print true build options are pretty much all you need.

I'm somewhat skeptical about a set! being eliminated unless you were setting a property of an object from a random JavaScript library you haven't provided an extern for. The above compiler settings would have showed this immediately.
Nice find. It doesn't load the css when you use https, so those links should be http.
“Before the startup” – lecture by Paul Graham
It's what The USA does best: spread our ideas. That doesn't mean they are all good or that there are good outcomes.

I have seen first hand that Coca-cola isn't just a soda and Friends is what a good portion of the near east thinks new yorkers are really like.
If any professional can sign up, how do clients feel confident that the professionals listed on the site are indeed the best?
I think you are missing a characteristic of lenses called the f-ratio, which is sometimes described as fast or slow. This is not specific to cameras; it is a general term used in optics. The f-ratio is the ratio of the aperture to the focal length. Even telescope lenses and mirrors are described similarly. For example, a telescope with an f/4 mirror can be described as a fast telescope.

Not only that, a lot of the terms have been misappropriated in camera lingo. The camera folks express aperture as an f-ratio, which is extremely confusing.
To be clear, I do pay when I can. Just today I bought a two-week pass.

When I get some steady work, I'm going to send a big fat check to the TriMet board, along with a letter of apology.
Data alignment: Why is it so important?
That second sentence (initially targeting...) is quite a sentence. Maybe consider breaking that up.
Ohhh hah i thought the author just didnt care. will edit the links. :)
Back before I went to university, I spent a lot of time taking programming and systems classes at the local junior college while in high school. That coupled with the tinkering I did on my own, as part of the local BBS seen, and helping others with computers taught me a lot more about the practical aspects around computers at the time -- assembly, TSRs, device drivers, different compilers, different operating systems, etc. -- than was taught at the school I went to.

If a course with this level of detail had been available to me, I would have taken it in a heart beat. Mmm...boot loaders.
Here's the 'bare' code:

http://morsecode.scphillips.com/cgi-bin/message.cgi?m=eJxjZB...
Why I Write Code in My Spare Time (Even Though I’m Not Passionate About It)
Another HTTPS Everywhere user, I see! What's nice is that this is still quite readable without the CSS anyway.
You get that user base by providing a simple to use product that quickly addresses a need for the largest number of people, rich, poor, white, black, etc...

Totally agree here.

A successful smart phone app based on these metrics is the one with the largest user base.

This is where we diverge. An app is only as successful as what it can make money from. Having a billion people use something and they don't generate revenue from it is worthless in the long run - bloated investments not withstanding.

A reliable proven to be profitable user base is what consistently makes money - the facebooks etc... are extreme outliers that got lucky with monetization after growing the userbase are not really cases to be emulated.
Maya – a DSL for math and numerical work
See my post below this one. The numbers don't lie my friend.
Why did you downvote this?

It really is the case that I can't get cash out of PayPal, but PayPal does permit me to use it for online payments. A few days ago I bought a pizza with a eGift card that I bought from Newegg.

What I'd really like to do is to buy coffee and food at cafes. Starbucks once did a promotion where one could buy a prepaid card with PayPal, that they don't do that anymore. I've never heard of anyone else doing that.

If I could use my PayPal to buy coffee, or find some other ways to spend it at brick-and-mortars, there are all kinds of ways I could earn money online, then get paid via PayPal.

I use PayPal to pay for my phone. That and the pizza are all that I've been able to find that I either want or need, that I can use PayPal for.

Using it to buy coffee would enable me to work more productively. I do a lot better working at a cafe, out among the public, than at home by myself. It's not coffee that makes me productive; I buy the coffee to pay for my cable, power socket and wifi.
LinkedIn login? I'm sure that'll guarantee you really get the best professionals, because they totally network on LinkedIn...
I'm older than you and I definitely don't want a one stop shop.

You might not want one but "our generation" has been building them for some time. It's even Peter Thiel's mantra.
There's a lot of unquantifiable knowledge and experience contained within these traditional institutions that are being ignorantly cast aside.

You can't just think about the consumption side of things. You have to think about the production side.
M.Zikiz: des sonneries mobiles de diverses chansons à télécharger
People are still complaining about section 8 - the remote kill switch? I remember only one instance of an app remotely killed, and that was malware.

Even apps that enabled tethering, emulating, or are otherwise against the rules but make it through review have been simply pulled for sale, never terminated using this capability. I think Apple has proved they're using this responsibly after 6 years.
I did not know about :pseudo-names, that looks to be quite helpful. Thanks.

This is the method I was dealing with: https://github.com/city41/bookends/blob/master/site/src/cljs...

In that let expression I'm digging my way down into a native JS object to monkey patch it. The equivalent (set! (.. knex -client -Runner -prototype -debug) ...) was being completely removed as far as I can tell. Same with an equivalent aset. That channel no longer got set up and my app stopped working. If I simply put that method back to set!, then it breaks again, very reproducible. When I added in a (.log js/console "hello") to the method, I could see that console log inlined where the method call was, but no other remnant of the method could be found.

I will play with :pretty-print and look into creating a small repro of what I'm seeing. But if I don't succeed with a smaller repro, then at the very least this app is already quite small.

EDIT: here is a little gist showing the difference I'm seeing if anyone is curious: https://gist.github.com/city41/12099b91e0fbb526b0dc
Start with a dedicated dog-centric CMS.

Now make a dedicated cat-centric one.

Surely they will have some common elements between them. Find a way to make a pet-centric CMS.

Eventually you will have a flexibly configurable CMS that you could sell to many local businesses.

But you are better off writing a couple of hardwired, dedicated CMSs, then to try writing that flexible one from the very start.

My very first shot at Warp Life for iOS, a Conway's Game of life implementation, had a frame rate of about two per second. Now it's about 8,000 per second.

Now that I've gotten it up to 8,000 per second, I'm getting some real insight as to how to optimize it.

There are other reasons one would want a Life App than because it's fast. MY Life App is for those who care about the speed; not everyone does.
Use Links to Quickly Ruin a Blog Post
What proportion of soldiers would have learned it?
Philistines, the lot of you!
Is Vance really doing his job? The article says "“It’s developed into a sort of high-stakes game,” Vance said. “They’ve eliminated accessibility in order to market the product. " this implies it is something the average consumer wants (there aren't enough criminals to make it marketable) again, this is something the consumers want. Vance should not be trying to prevent it from happening, just because it might save the children. Crimes were solved before, and they will continue to be solved. And people like Vance need to be fired for not doing there job.
"Writing Cross-Platform Software: Getting Started" is largely about alignment:

http://www.warplife.com/tips/code/portable/getting-started/

For years it was the top hit for "cross-platform software development". After a while it wasn't anymore. Eventually I looked into why; I found dozens of articles on the same topic, all with the term "getting started" in their titles.

Some people would be angry. I was very pleased. I don't really want credit for my work; what I want is for problems to go away.
I wouldn't have heard a thing, I had trouble picking it out when I knew exactly where it started.
I honestly believe that a better essay could have been written algorithmically by machine.
There are certainly plenty of folks in silicon valley who could care less about quality as long as it hits the numbers. It may or may not be the case that the new management at TNR are folks like that -- if it is, that's depressing to say the least.

But there are also plenty of folks in silicon valley creating and empowering new forms of content and thought. Even buzzfeed, everyone's favorite target, has produced some awesome longform work to complement their listicle crap. To say nothing of the Mediums of the world.

To argue, as Wieseltier does, that this first group is indicative of a silicon valley ethos, is where he goes off the rails. By what right does he get to make that claim? Because Google hired Ray Kurzweil?

The most generous interpretation is that he's simply unaware of the humanistic side of the internet.

What worries me is the more likely claim that this stems from a certain form of engineer essentialism -- that technologists are inherently unable to appreciate a work of art or cultural criticism. He himself writes this:

"The processing of information is not the highest aim to which the human spirit can aspire, and neither is competitiveness in a global economy. The character of our society cannot be determined by engineers."

Wieseltier seems to really believe that a bunch of pocket-protectored math geeks have taken over his beloved humanities and are trying to reduce it to a bunch of equations. To do so is, I still find, extremely shallow and deeply insulting.
It's difficult for you.

This means there are specific, identifiable factors in your life that make it harder for you to exercise. Maybe you live far from a gym, or you don't have time during the week, or you have back pain that prevents you from exercising.

My point is that you're not going to do any progress until you make concrete changes based on your own specific situation.

So I guess my answer would be that it's hard because most people think it's a matter of motivation and self-control, whereas small, practical changes to your environment (for example, buying a bike) are actually much more effective.
Ummm, there's hundred to thousands of similar stories out in the valley and throughout the nation.

Start-up success stories are a minority, so this story isn't that out of the ordinary.

THough 11 projects. That is a large number. I'm On my 2nd and half since 2008. My war wounds/stories run from being invited to demo our tech to a huge entity in the valley who baited us out there with promises to buy our tech (they squashed like a bug after spilling our secret) to seeing an original idea i created 6 years finally take off via a European start-up (they have $3 million in funding & millions of users).

I'm too old for this pain!
I don't know what special needs a startup has. I've used Catch and been happy with it. I haven't used CppUnit, so I can't compare.

https://github.com/philsquared/Catch

Previous HN discussion (with some other suggestions):

https://news.ycombinator.com/item?id=8220352

and a relevant StackOverflow thread:

https://stackoverflow.com/questions/87794/c-unit-testing-fra...
I actually have the opposite problem: the minimum volume on my iPod is too loud. In some contexts (late at night, listening to something while falling asleep) it's slightly too loud, but they don't give you any more gradations between "off" and "slightly too loud".

I find it especially bothersome because on older, non-digital radios, I was able to lightly tune the volume to somewhere just on the threshold of audible, which is the perfect level for falling asleep to.
I tried on 56 wearables today. Here’s a photo of every single one of them
It's not that data really _has_ to be aligned.

It's that computers are easier and cheaper to design and manufacture if they require data alignment.

Consider that it would be straightforward for today's 64-bit CPUs to permit 64-bit values to have one-byte alignment. There's all kinds of ways to implement that in hardware and software, but to do so requires extra circuitry, that would require larger silicon dies, there would be a greater failure rate at the fab and so on.
About 15% of the iOS revenue.

It's a younger product with strong growth and lots of room for refinement. I'm satisfied with how it is going so far.
Ah, those were actually a few backup slides. The last one was "Thanks! Questions?" :)
G+ is where you go to talk with people who work at Google, and people who know a lot of people who work at Google.

This actually makes it relevant for me, but sure, it's not relevant for most people.
That's awesome. Totally makes my day.
20 year old college student in the US here. He got a lot of things very right, but also from my experience some things very wrong:

Instagram: No one uses it. Maybe 10% of students have one and those that do spend little time on it.

Facebook: It's not as uncool as it sounds. If anything it's had a resurgence lately. Maybe people post less content to their profile these days, but post on each other's timelines and use the messaging system more than ever. As smartphones and connectivity continue to improve, there's less and less incentive to use texting over Facebook. Also, I don't know what he's talking about with groups. No one uses those.

Snapchat: I would say it is currently the biggest one. (People spend more time on Facebook but care more about Snapchat.) However it seems to be losing momentum at this point. Since introducing the story feature, there has been a constant and continuous shift away from the original, more personal uses and towards a more Twitter like document of daily occurrences through stories. Less back and forth dialogue, less creative art, etc. People are also fed up with ads and gimmicks like messaging and sending money (???).

GroupMe: Never heard of anyone using anything but Facebook for this purpose.

Venmo: Not sure if it really qualifies as a social network but it's trying to and it deserves mention. Everyone loves documenting their restaurant expenditures and there seems to be a strong culture of wittiness in generating the captions.
>I was about to question everything until I read this. Thanks AE. My understanding of MBC is more like a crossover (or mix of low, bandpass, and highpass filters) network followed by compression per band within each section of the frequency range.

This is exactly right. Basically, you separate the audio into arbitrary frequency bands, and then apply compression to each band to control its volume independent of what is going on in the rest of the spectrum.

I was incredibly frustrated by reading the article, since their explanation of multiband compression was incredibly misleading. I get what they're doing and why multiband is helpful (it sounds like they're basically bringing up the volume in the parts of the spectrum where the user's hearing is less sensitive than healthy hearing would be), but that was a poor explanation of how multiband compression works.
Man, you're sure assuming a lot about me, my life circumstances, and my level of empathy.

FWIW, I feel keenly for people who get the rug yanked out from under them, even in circumstances when they should have seen it coming, even (usually) when they come across as entitled and patronizing assholes, because fear can do that to you. I admit that my heart grows less tender when people shake their fists at the sky for the cruel turns the world has wrought unto them, without acknowledging the myriad ways they have benefited from the same forces that have given rise to their complaints.

Another mitigating factor, as a sibling on this thread remarked, is that I am unaware of this author's poignant appeal on behalf of milkmen, TV repairmen, and gas station attendants, although you are free to correct me on that account.
What about gtest? https://code.google.com/p/googletest/
I responded a while back in another thread about "small modules" in npm. Filesize is only one (rather small) facet of why some people prefer this approach to the "put everything under the same hood".

https://news.ycombinator.com/item?id=8830058
Really. That's your rebuttal to an argument that complains about the lack of intellectualism?

What irony!

Please, keep it going everyone, this is just amazing!
Wow, thanks for the amazingly kind words.
Can you give some more examples on productive environmental changes? In my personal experience, it really seems like what makes me stop working out after a few days or a month is simply lack of motivation.
The deeper point is that the conflict wasn't strictly about property allocation, as was suggested by the comment I responded to. Instead it was a power play between two sets of states, not simply a matter of compensating former slave-owners. Which wasn't itself the nominal matter under discussion at the beginning of the Civil War in any regard (though the matter of slavery was in the offing, largely as pertained new states joining the Union).

I'm also not arguing the that the Civil War was the best way of settling the dispute. I will note that in the case of the UK

The point remains, however, that the Confederacy was the first aggressor.
Ever been like, "Damn, I'm going through this bag of chips really quickly", made a mental effort to eat a little slower, and still continue to eat at the same rate? If so, it's probably because you held the bag of chips in your hands.

Now, if you were sitting at a table or something, and perhaps put the bag of chips under the table, you'd have to make a little more effort to get the chips (reach under the table, extend arms and so on) and you'd most likely eat a little slower.

My theory is that habit-space is hyperbolic (close is close, far is v. far, etc.). So perhaps if you had a fitness habit that was easy to keep up wherever you spend most of your time, it would become easier.

Am I out of mistaken in presuming that you don't have a way to achieve your habit from within your household? Maybe that could be a way to start.
> It's having an organized todo list that's been prioritized.

So... defragmentation? :)
> If they actually want to know then deliberately try to (carefully) create resistant bacteria by continuously giving them low levels of antibiotic and slowly increasing it.

That's precisely what they did while investigating teixobactin, and they didn't see any resistance develop:

https://news.ycombinator.com/item?id=8853232