skysight-inc/HackerNews huggingface dataset:
I use it as a surveillance camera with a free Android app that streams the picture from the camera as an MJPEG using a built in HTTP server. It's pretty nice, I forwarded the ports on my modem and now I can see what's happening in my home from anywhere in the world :)
I didn't find it on their site, but it turns out that Amazon sells these bikes. Price there is $1400-$1500, with "list price" just under double that.

I also found a decent review at http://www.podiumcafe.com/2011/10/20/2502100/a-bike-with-str...
The problem you have is called procrastination. Everyone has it. Just in different doses.

I had a serious problem with this. but these articles by Tim Urban helped alot.

For a solid understanding on why you procastinate, read this http://waitbutwhy.com/2013/10/why-procrastinators-procrastin...

To know how to beat procrastination read this http://waitbutwhy.com/2013/11/how-to-beat-procrastination.ht...
If you can deal with arabic subtitles on top of the english ones, it's at https://vimeo.com/150492784 and https://vimeo.com/150597736
There's basically three options.

You spend an outrageous amount of money to expose your site to an outrageous amount of money (think a superbowl ad) so when they feel like sharing our browsing sad stories they'll think of your site.

You find out a way to specifically reach your target market by finding out what they like to do and show up there. This is (usually) less costly but more work since you'll have to find out where they are and what they're doing (i.e. google queries, visiting blogs, being in communities (forums), behaviour patterns for targetting by facebook or google, being in specific physical locations, etc.).

You think of something ridiculously witty that spreads through communities and exposes your name to many people by word of mouth.

I'd say if you're short on cash option 2 is the only affordable option. If you play it right the only significant cost can be time (i.e. visit all colleges in your area and hang up posters).

Note that your question is exactly the reason people apply to HN and try to get VC money. All three options are significantly more powerful with large amounts of money and in most cases make or break your startup.
The API allows blaming the right cog in the machinery. Now everyone gets a Get Out Of Jail Free card because they can blame the kernel, filesystem drivers, userspace libraries, application developers, disk controllers, and whatnot, and thus nothing forces a single direction in that cyclic graph of blame.
I argued below that "ownership of a view" is a dubious claim. Taken too far and it amounts to no one being allowed to build anything, anywhere. Which sadly has become the norm in most places, see NIMBYism.

I'd be willing to consider a compromise where developers compensate neighbors for whatever market value is lost from their construction. That seems fair. But even that assumes that the owners had a "right" to the view to begin with, or some kind of ownership over it. Which seems kind of absurd.

It also assumes that new development necessarily hurts property values, which isn't true either. Development usually increases the value.
I guess the automatic linking is nice, but I don't really see a need to switch vim configurations that often. What am I missing?
Honestly, I don't think there are [mentally healthy] people who are "unable", rather it is "not interested [enough]".
"I clearly said that "free and commercial software are a FALSE dichotomy" -- meaning that you can have commercial free software."

Oh, I apologize. I clearly misread that exact statement. I bet it's because free, commercial, and false in same sentence almost always are arguing against what you said. That the two can't be combined. Whereas, we're arguing in different ways that they can. I must have skimmed it with my brain jumping right past the actual words to its intuitive guess of what they meant. At least I see how I failed. :)

"Proprietary software is software that takes away your freedom to use, modify and distribute the software. You can pay for free software and you can pay for proprietary software"

What firms are bringing in billions licensing or selling free software? I need a list of successful companies longer than Red Hat that can compete in both investment and lawsuits with big, proprietary firms. You can sell truly free software but almost nobody will buy it w/ you being super-niche in revenue. Whereas, useful and proprietary software can bring in significant money from customers esp in enterprise or government scenes. The proprietary ones just tend to scheme on customers, disappear, and other stuff. The free ones often aren't developed much, maintained, and so on.

My concept is to give you all the freedoms except for free distribution for a given project. You can use, modify, whatever the software as long as you pay the non-profit that develops, maintains, and supports it. You can also re-distribute that to other paying customers of the project. If non-profit stop supporting or distributing it, it goes BSD or Apache immediately per terms of the license or charter.

What are you missing other than widespread, free distribution in this model? As in, the availability of freeloaders that rarely contribute crap back. Do note that the project can give free copies in exchange for testing/feedback to get many eyeballs effect. Can also give discounts or free copies to academics to get their improvements.

What's left? Seriously, as I'm trying to see how close proprietary, shared source can get to FOSS without loosing the "sustainable, cash flow" part.
Haskell, like Perl, is optimized towards writing code rather than reading code. I would like a language which is to Haskell what Python is to Perl.
UNIX has "a standard way to deal with the file durability problem." If you fsync the file, then fsync the containing directory, that should be durable on all properly behaved setups.

Of course this comes with a lot of footnotes. There was a bug on some older Linux kernels where they didn't tell the hard drive to flush the data after an fsync. This is why a lot of people still incorrectly believe that enabling hard disk write cache is unsafe. But this was a bug, and the bug was fixed. There are also reports of hard drives that don't honor flush requests. There's not much UNIX or any other OS can do about this-- if the hardware lies, you are in trouble.

You could also imagine a much richer durability API. Empirically, databases need such a richer API rather than simple fsync. The POSIX async I/O standard was supposed to standardize all this, but Linux's glibc just implements it as a thread pool making blocking system calls. If you want real async I/O on Linux, you need to use an OS-specific API.
> My main gripe with lazy evaluation is that it's implicit behavior. It's to evaluation what garbage collection is to memory

Are you saying you would like to return to the languages with explicit memory management? Or why is, generally speaking, GC considered good and LE considered bad?
Thank you for your response. Could you please provide some specific lessons from Facebook? Just so that we can prepare outself.

We are targeting high school players for our initial traction. The professional and scouts packages are very much dependent of data being available so we need to start building our user base.

We will start with reaching out to high schools from small towns rather than cities due to the availability of public parks.

We envision this to be the linkedin for athletes and other talented people where talents are connected with other talents as well as scouts and recruiters
>> I really don't see how any of this is relevant to the original point of having "log" files.
> Maybe you're not aware: every major database keeps a commit log, and writes it to a file called a log file (sometimes "write-ahead log file").

> You do realize that SQLite can't just corrupt your database because you ran two SQLites concurrently, right?

Sure, but, so? I don't know sqlite's WAL logging code in detail, but I do know PostgreSQL's fairly intimately. I don't see how such an interface[1] would be relevant for WAL logging. Such logs usually have checksums and pointers to previous records in their format. For those to be correct each writing process needs to know about previous records (or at least their starting point). Thus you need locking and coordination in userspace anyway - kernel level append mechanics aren't that interesting.

In addition to that, if you care about performance, you'll want to pre-allocate the WAL files and possibly re-use them after a checkpoint. For many filesystems overwriting files is a lot more efficient than allocating new blocks. It avoids the need for fs-internal metadata journaling, avoids fragmentation etc.. With pre-allocated files you then can use fdatasync() instead of fsync(), which can be considerable performance benefit in our experience.

There are things that'd make it easier and more efficient to write correct and efficient journaling, but imo not what you were talking about. Querying and actually getting guarantees about which size of writes are atomic, for example; otherwise you need to use rather expensive workarounds like WAL logging full page contents after checkpoints, or double-write buffers.

Proper asynchronous fsync(), fdatasync() would also be rather useful.

[1]
> I'm basically talking about compare and swap, except instead of compare and swap its compare and append
So, that's two votes for SICStus. What do you use Prolog for with what advantages?
They're doing it without high price rare earth magnets.
Wtf. When I open the link or search alibaba, all of these mini computers is listed at $1300+ :S
Most people writing Haskell code for real problems should never write their own instances of Monad. When you see someone implementing tons of instances of Monad, it's a sign of over-engineering and Haskell masturbation. Very, very few people are good enough to judiciously understand when and where to write their own instances.

In the majority of cases you should merely be using instances of Monad which solve extremely common problems, like Maybe, List, State, Reader, Writer, and sometimes "functions of a common argument" `((->) r)`. The function one is perhaps the trickiest to understand.

For these examples of Monad, it's really not much work to learn how to apply them. Even just reading LYAH gets you pretty far. You could almost just pretend it is a DSL for composing units of work in each of the classic problems that motivate them (e.g. passing stateful computing, doing non-deterministic computation on a list, etc.).

But I do agree this becomes a huge problem when you join a team and they've architected skyscrapers of customized Monads to do routine stuff. That's a very poor way to build systems in Haskell unless you can guarantee every person on the team is a Haskell expert (hint: you can't).

Your comment strikes me more as a downside of the oneupsmanship of the Haskell community than a problem with Haskell itself.
fsync works fine with on disk write caches (if the OS so chooses, ie not OS X). It's all specified in SATA and SCSI. Yes you can have bugs and lying devices, but reputable stuff is generally fine.
So, that's two votes for SICStus. What did you use Prolog for with what advantages?
Lisp is read from the middle. (+ 1 2) sort of comes first since it's evaluated first.

Though now that I type that out, I'm acutely aware of how strange it sounds. Interesting.

It's also not true in the case of macros, e.g. let. So, you're right. No wonder it seems so foreign.
Well, I can't say much other than that I encourage everyone to try Haskell for themselves and form their own opinion -- if they can find the time to get over the language's extremely steep learning curve.
Open source VS 2015 image visualizer
Could you please recommend accompanying parts if someone wanted to use that board with pfsense to end up with a home/office wireless router? I was looking for a packaged solution but the official pfsense two port appliance with the wireless option seemed fairly expensive.
I believe when I connect to netflix from there, they don't care about my nationality, they filter based on my IP address.
> only article ... whose author actually understands enough about the discussed subcultures

I was thinking that at first, too, until I noticed that the author completely missed the fact that calling someone a "beta" male is not a positive thing. I mean, she alludes to it, but then takes it all literally. Referring to one's self as beta is generally a self-deprecating statement or a mark of self-resignation. Betas just take whatever they're given. Calling someone "beta" is actually a common insult to many of the sub-cultures that she sweeps together. It's the recognition that someone else is in control.

You have to actually look at it from their perspective to get it. These are outcasts. They want to be at the top, but they don't want to be like the people who mistreat them because they despise them and their behavior. Instead, many of them idolize the sigma and omega types - the types who stand outside (or hide within) the hierarchy and still remain confident and powerful. The chans idolize the rebels and the masterminds, not the jocks and the bootlickers.

The fact that she can't catch the mockery in all the beta commentary speaks to the fact that she really doesn't understand this culture at all. She may have done some research, but apparently the black humor that pervades the dark corners of the internet escapes her.
Thanks for the support and that is exactly what we want to build. Linkedin for athletes (and other skills).

The data collected by each player will vary greatly based on the sport/event they are into. This also depends on what the scouts or recruiters want to see so yes, we would need to talk to a lot of them to provide the useful data.

We are targeting high school kids who are into team sports and also any local coaches who coach kids outside school. Managing a team and competing other teams will be our primary focus in building the user base.
I'd suggest you post questions on various forums sites asking for advice while also being sure to mention your site name and why it's better than the competition. Lots of people will see your ad, and you might even get some good advice if people respond.

I'm just teasing. :-) I'll give you the benefit of the doubt.

How do people find your competitor? Is it through Google searches, word of mouth, advertising? Are you planning to get the same users to go to your site instead? Or are you hoping to grow the market for this kind of product? Do you have a hypothesis about who your typical user is, and how they use your site? Are you planning to generate revenue from the site? If so, do you have an idea about what the lifetime value of your user might be? Answering those questions will give you a lot of clarify on what user acquisition strategies to purse.

Buying ads might be effective, but it can also get expensive quickly if it's not translating into enough revenue (or strategically valuable growth). Maybe SEO would be better. Or maybe tweaking the product to give it slightly more viral functionality would be best (I don't know how you would do that for the product you described).

If it's just a side project site, and you're not looking to put much work or money into it, well, good luck.
Lazy IO's an issue, but Lazy Evaluation? It's not that different from writing SQL, and the places where it is, it's a lot more consistent, predictable, and tuneable. It's usually just bad defaults like Lazy IO, or String instead of Text that get you, but there's some consensus to move away from that.

There are definitely some toxic assholes, as in any community, and it's really shitty if they're going to, e.g., /r/java and harassing people. I feel pretty strongly that the opposite is a more common problem, though, particularly on HN: the anti-intellectualism against functional programmers, and Haskell users in particular, is rampant and gets pretty offensive. Example off the top of my head - https://news.ycombinator.com/item?id=10527745 - article simply explaining a math concept gets, as what was the top comment at the time, a condescending comment calling it all "mental masturbation". I've stopped reading HN so much because it's pretty clear that people trying to learn abstract algebra and apply it to code aren't welcome here.
For me the most interesting bit was Scott's "10 second" hypothetical reply to the reporter/general audience on what quantum computing is (found in one of his comments):

"I say something about how a QC is a proposed device that
would solve certain specific problems much faster than we
know how to solve them today, by taking advantage of
quantum mechanics, which generalizes the laws of classical
probability.

Then I talk about how you’d never talk about a -20% chance of rain tomorrow, but quantum mechanics is based on numbers called amplitudes, which can be positive or negative or even complex numbers.

And how, if an event can happen one way with a positive amplitude and another way with a negative amplitude, the two possibilities can “interfere destructively” and cancel each other out, so that the event never happens at all. And how the state of a QC with (say) 1000 bits would have one amplitude for each of 21000 possible settings of the bits—an astronomical amount of information, if one wanted to write it down classically, for example in order to simulate what the QC was doing classically.

But about how, when you measure the QC’s state, you just see a single random output (with its probability determined by its amplitude), not the gargantuan list of possibilities. And about how the goal, in QC, is always to choreograph things so that the possible paths leading to each wrong answer interfere destructively and cancel each other out, (say) some having positive amplitudes and others negative, whereas the paths leading to right answer reinforce.

And how this is a very weird and specialized capability—it’s not nearly as simple as “trying all the answers in parallel” (if you did that, you’d simply observe a random answer), nor is it just a smaller or faster version of ordinary computing (a QC might even be “bigger” or “slower” than an ordinary one; all the hoped-for advantage comes from the QC’s ability to create interference patterns).

Finally I talk about how a QC is known to give huge advantages over any known classical algorithm for a few tasks of practical importance (quantum simulation, breaking almost all the crypto used today…), and it might also give some advantages for broader goals like optimization and machine learning, but that’s an active research topic, and if the advantages exist they’ll probably be more modest and/or specialized."
My reason is that there are eight different folding functions:

foldl, foldr, foldl1, foldr1, foldl', foldr', foldl1', and foldr1'.

There are twelve if you count:

scanl, scanr, scanl1, scanr1.

Also, the implementation of monad transformers is disgusting. It requires O(n^2) code generation where n is the number of monads.
Handling User Authentication with Angular and Flask (updated)
Scoring Justin Trudeau’s Explanation Quantum Computing
Has anyone had their submission automatically re-posted?

My most upvoted submission was posted on a weekday night - the timestamp changed in the morning then it got several hundred upvotes.
Recruiting and Retaining Giants [pdf]
I wish they'd open source Pages, Numbers and Keynote. They really are decent programs that deserve better than Apple abandoning them.

Of course, Word 5 is still the gold standard, as far as I'm concerned. :)
No, but it has compiler assisted resource management. Not the first idea that comes to mind when someone complaints about GC.

Besides even on Rust, using lock free algorithms without GC help is very tricky.
Wind generators and some aspects of solar cells use rare earth metals. The big advance of this particular company is not using rare earth magnets.
"The problem was always with setting them up on new machine and update it when I need to."
Is it? I thought re-submission is frowned upon.

I've also gotten "slow down, you're submitting too fast" when multiple days have passed. That might have been because I'd had a few comments get a bunch of downvotes? I comment a lot but almost never submit stories.
I've got an old Samsung 550 chromebook that I've done the same to. It's a highly under-rated dev machine in my opinion. I installed Gallium on mine.
The post is almost entirely true for non-games too. I have a successful app and these are the exact things Apple want.

Also, like he said, don't complain, just deal with it. Saying they do nothing for you isn't entirely true, or you wouldn't have an app on the App Store.
I agree as a fellow Canadian.
I started writing a table:

start_time, end_time, activity, project
08:00, 08:30, emails,
08:00, 08:35, facebook, procrastination
08:35: 09:00, work, project1
09:00: 09:30, hackernews, procrastination

It helped me tremendously to reduce the amount of wasted time. The key is to be absolutely, brutally honest in this table.
This seems like such terrible, terrible advice. And yet when I hear stories on HN and other places, I kinda wonder if this is a sarcastic take at the way things work in software.

I would love to know the context of this. Was this seriously a talk that was given somewhere? Do people actually accept this as actionable advice?

It's a little unnerving to me.
The first page of results* from your own recommended search will provide you an answer: ecosystems self-regulate. Animals starve. It's not quite the same thing as the wise and forward-looking animals of the forest that you appear to be arguing for.

*I realize that my first page might not be your first page - perhaps based on our differing search histories.
This is perfect and so easy to use. Thanks!
Well he wasn't a single guy, he had a partner that he gave $276,000 to. That was his expense, as it is a tax deduction and accounted for on his spread sheet.

Thats a huge tax deduction and I look forward to writing off my subcontractors from the tax I have to give to Uncle Sam.
Clearly this is evidence that their environmental report was created in their Irish subsidiary (of Double Irish fame), propagated to the U.S., and then modified for the rest of the world (here, Australia).
Instead of 10 V and 2 F, how about going for 2.5 V and 50 F? A capacitor with those specs is only 40 mm long and 18 mm diameter [1]. That shouldn't be too hard to fit in a typical server or desktop. That's under $4 in quantity.

[1] http://www.mouser.com/ds/2/257/Maxwell_HCSeries_DS_1013793-9...
With New High-Speed Wireless, Facebook Claims Another Corner of the Internet
> I once deleted a /lib directory due to a misspelled variable in a script!

Ah yes, the old "rm -rf $TEMPBASEEDIR/lib" bug. It is so easy to have that happen.

Or like I did, write a script that assumes a certain environment variable is set outside the script... and then forget to set the variable before running it!

To prevent these problems, use "set -u" at the top of your bash scripts. This will halt the script instead of silently inserting an empty string if you use an undefined variable.

"set -e" (halt on nonzero return code) and "set -o pipefail" (propagate error returns through a pipe) are also useful options, or combine them with:

set -euo pipefail

Here's a great article that describes these options and some tips for using them:

http://redsymbol.net/articles/unofficial-bash-strict-mode/
I like to use rcm[1] for this.

Works very well for keeping my configuration synced between multiple machines (via git).

[1] https://github.com/thoughtbot/rcm
Apparently you missed my second paragraph.

Only UNIX based OSes follow AT&T, for obvious reasons.
Guys, anyone got a response for late applications?
this is a good find, i sorely need this!
good to see a fellow seawolf