skysight-inc/HackerNews huggingface dataset:
Have services like Dokku, Empire(as nohaxplz pointed out) and now Kontena reached Heroku like convenience? I want to skip the dev ops but 500$ a month for an server with only 6 gigs of memory seems insane. If any dev here want to share there experience with any or all of them I would be happy to hear it.
Depends on what you need. You can buy olives at a supermarket olive bar for $9 a pound (wet weight), or you can buy 5 lbs for $4/lb dry weight (8 lbs wet/shipping weight, so $2.48 per lb measured equivalently) on Amazon and have them there in 2 days. There's also many goods you just can't buy in suburban/rural locations - my wife makes fabulous miso, but good luck finding 2 different kinds of seaweed and bonito flakes at your Walmart. If you don't have an Asian market in proximity Amazon is literally your only choice (and they're actually not cheap there). For pet supplies they drastically beat the selection of a Wal-Mart and drastically beat the prices of a real pet store (eg stuff like Feliway or Nature's Miracle).

Yes, for certain commonly-consumed heavy or bulky goods, i.e. anything that's either mostly air (like toilet paper) or mostly liquid (like detergent) they aren't your best choice. That's not all goods by any means.

Also you're comparing the mileage of a bus (the UPS truck) to a passenger vehicle. The UPS truck is delivering goods for a hundred other people on his run today, the gas spent transporting your package is an absolutely insignificant fraction of that. If you're really worried about ~my carbon emissions~ then you should really be thinking about ditching that car and getting yourself to work on one of those 5 mpg busses.
Young and Stupid: How I Made 2.5M
You lost me when you suggested cmake as a build tool. Its principal killer feature seems to be that it abstracts cross platform building. Unfortunately the price you pay for that is eventual insanity, an unreasoning desire to DESTROY EVERYTHING.

Stay away from cmake.
Warren Buffett: Thriftville vs. Squanderville (2003) [pdf]
Awesome!

Compare: http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html
Be yourself!
In reality it's like asking someone "what's your greatest weakness?" in a job interview. It's a test of how good of a bullshitter you are.
I will pray for your soul. :P
What is the actual background on this site and/or its creator?
I agree, it's uncluttered and refreshingly simple. It's the default Times font that looks bad to my eyes.
"expresso" yeah good point, I'm thinking Espresso but somehow that black granular in a tin comes out. Do you really think "Starbucks" is making a go of it in Melb? There are a lot of places open late in the city. When in SEA I do pop into Starbucks because they have a place I can sit while I cool down. Maybe you are onto something.
Are they moving any workers from existing sites into that building? Or will that new flagship building be fresh-hires-only?
I was there some years ago. I realized that the root cause of the problem was focusing on the wrong things (at least they were wrong for me).

Tools are just that - they are tools. Granted, there are many of them, new and shining, coming in all packages, but that gets tiresome after you've spent a substantial period of time with them. They are all essentially the same and sooner or later you lose interest in them.

What never gets boring is using tools to create things that affect people's lives. And I gather from your message that you've missed that joy.

My advice is simple. Think of some thing that would be helpful to (non-technical) end users. Come up with some kind of service that would solve even a small problem for them. Then see your eyes light up as people are adopting your offering and giving you their thanks.

In short, your work must have a meaning. You should know that somehow what you do improves the world we live in, even if in a small and seemingly insignificant way. For as long as you're just finishing tasks prepared by somebody else for somebody else's meaningless projects, you're not going to be happy. As with all creative professions, in programming too you have to take matter in your own hands.

You've just realized (subconsciously) that your work has been meaningless. You basically need to find your path. What you could do:

- Forget about the tools, just pick up something you're comfortable with and create something useful for people

- Change jobs until you find a project you can personally identify with and where you'll see you work affecting the outside world in a tangible way

- Change profession or role to the one where your need for meaning will be satisfied

That's hard I know. I wish it weren't but it's just the way things are in life.
Fair enough (wrt accountability).

What is the false sense of security created by sudo? You don't have to have a password on your account to use it. You can use NOPASSWD or you can use pam_ssh_agent_auth to verify ssh keys if you are very paranoid. (Users still should not log into the servers with passwords.)

sudo doesn't provide a dependable audit trail, but neither does anything else. If you are root, why not just fix the logs? To fix this, you must use snoopy to log commands to syslog, then syslog to a different computer. This makes both 'sudo' and root's ssh keys as accountable as one could ask for, I think. (As I could ask for, anyway.)

It protects you from yourself in the sense that you are meant to think about what you type if it begins with "sudo." If you are running as your own user, it's much harder for a stray 'rm' to bring down the system. You might clobber your own files, but then you just restore from your backup.
Semver explained – why there's a caret (^) in my package.json?
The thing I hate about CMake is that it can't generate relative directory structure projects. That's stupid and no other build system of significance has this limitation.
Crucial Sass Mixins/Placeholders for Responsive Web Design
> What about "teach black people not to murder"? Does that not sound incredibly racist to you? If it does, and I really hope it does, what is the effective difference? After all, there is ample data that the majority of murders are by blacks.

Phrased like that, yes, it does sound a little racist. However, your point is slightly facetious: I think you and I are both aware that the statistical link between murder and blackness is poverty (i.e. control for poverty/neighborhood and the link between murder and blackness goes away), which is exacerbated in the US by a lot of structural racism/etc. that black people face.

However, from a practical standpoint, I believe that I actually advocated for exactly that, and I stand by my arguments: my point about CBT-based crime prevention (teaching people to not X)? Perhaps obviously, those programs are most effective at reducing criminal behavior from those who are most likely to commit crimes in the future. In the US, the places where they've been shown to be effective are for youth from high crime, poor urban neighborhoods and current prison inmates... both of which are populations that are predominantly black. I'd totally advocate for the expansion of programs like the ones I mentioned if they continue to show statistically significant results RE: reducing criminal behavior, and I think most people would. Teaching people who are most likely to commit criminal acts to instead not commit criminal acts is a net benefit to society and to those people. I'm not, I hope obviously, claiming that being black makes you criminal (or more likely to be a criminal) or that black people alone should be targeted with programs like the ones I mentioned regardless of location, risk, etc. at the expense of similarly high risk white people, in the same way that I'm not claiming that being a man makes you inherently a rapist.

RE: "Don't be that guy" and the ends do not justify the means: It's possible to come up with all kinds of exaggerated scenarios to argue this. I would agree that, say, killing all men to prevent male on female rape would be both very effective and completely unjust.

So let's keep in mind the comparison you're making here: we are talking about, variously, (a) a public advertising campaign about how it's bad to rape people versus actual rape, (b) a course that lasts a few days at the start of college or a week in middle or high school on the importance of consent (tbh, I'd claim it'd be good for it to be aimed at men and women) versus actual rape or (c) a month or semester long course on self control and healthy behaviors in middle/high school/prison versus actual mugging/assault/murder. The "means" we're talking about are not exactly things with a particularly high human cost, especially when compared to the "ends".
Reading hn is probably not helping in this regard.
It's very convenient, comfortable, and you don't feel like part of the heard. I often got sick flying on an airline (ton of germs on those things) and would be off work for a couple days - I can make the cost of a flight in a couple days if I am not sick - so thats my justification. Beyond that, being driven onto the taxi way and walking onto a jet on my schedule is perfect. We don't wait in lines, walk through customs or anything like that, in fact, customs usually comes on the jet.

Proof/My business partner and I - http://imgur.com/NNT96Ap
I'd love to see a comparison of Coverity vs. Clang sanitizers.

I wish we could buy just a couple Coverity licenses, but they want to license the entire organization for something like $200,000.
I love it! Compare and contrast, man. He could have provided some ideas and suggestions for the OP though. I am sure he has great insight having done the same and it would be great karma to start off with that. Anyways, it's better doing it openly rather than astroturfing nonsense.
Nice work! I built something similar that keeps everything in Ruby. It was made to allow models built in Excel by a non-programmer to be executed on the back-end of a Rails app, but it's pretty generic: https://github.com/agworld/soroban

I had big plans for the project; the next step was to convert the models to JavsScript so they could be executed directly on the client. But, like most of my pet projects, this has remained a pipe dream.

Good luck with it!
Normally human gets bored when he does repetitive work,
and innovation come from chaos, when you make change in few parameters of the current system.
I feel you should try something new, you can start a startup in your favourite domain, go and visit new places and meet people.
1) Not very often.

2) In this case, probably none.

3) The real false sense of security in this case is the notion that the patch obscures the bug meaningfully more than the exploit code does.
I think the answer is yes and no. You can get clang to compile standard C/C++, but not any Windows code, as Microsoft has many compiler extensions and quirks they depend on.
It sounds like whatever you've been doing, wherever you've been doing it, has focused on software for itself, and on building so much of the useless and short lived things that come out of SV and similar places.

Software, computer science, can be your ticket into whatever industry you want, whatever interests you, because it all needs software.

So think about what's interesting to you in the world. Aircraft? Aerospace? Trains? Medicine? Medical devices? Business? Movie making? Publishing? Oppressive scheduling algorithms managing on call jobs in the legal slavery known as retail? Shipping logistics? Law enforcement? Surveillance? Human rights? Gambling?

Man, the world is infinite for all intents and purposes, and you get to participate in any part of it you want. Raise your head up from your tools a bit and look around.
Prince Rupert's Drop behaves similarly.

https://youtu.be/xe-f4gokRBs
> This may be a kind of blunt observation, but perhaps you see what you're looking for?

Saying I'm looking for an excuse to get offended in a conversation about feminism is a level of pot and kettle I haven't experienced before.

I can barely turn a corner anymore without being accused of objectifying women somehow. Every movie I want to watch, every video game I want to play, everything "objectifies" women somehow now, as long as it has any hint of sexuality and male demographic.

So you haven't come across and/or recognized that yet. Good for you, you're living in an ideal future and I someday hope to join you there.

> The thing is: is this a problem with feminism? I'd argue no. I think that you'd get a lot of pushback from more mainstream culture, and that push back would likely be very tied to patriarchal (as a hegemonic system) ideals about what men "should" be or do or how they "should" act.

"Patriarchy is not some claim that men are responsible for everything bad that happens."

"This isn't feminism, it's the patriarchy."

Sure, it's primarily feminists that fight those initiatives, but they're not acting in their capacity as a feminist. They took that hat off first.

> As a fictional character, Bayonetta has no will or desires beyond what her creators attribute to her. If we were talking about an actual woman here, I'd agree completely: but we're talking about a fictional character who uses magic. Critiquing characters and critiquing people are two very different things. As a counterpoint: I'd argue that characters like "He Man" (or many other male superheroes) or those in "Magic Mike" are a male equivalent and just as unrealistic.

Feminists say that fictional women (Barbie et. al) are representative of women as a whole, and should be treated as such.

If this is the case, then a fictional female character has the right to be represented as a complete character, sexuality and all.

If you're telling me it's otherwise, then why does a fictional female character's sexuality even merit discussion?

> I'm not aware of any feminist voices that have literally said "Male teachers who assault their students should go to jail for a longer period of time"

Well I'm aware of at least one: https://www.washingtonpost.com/posteverything/wp/2014/11/06/...

> What was the context for this getting brought up and "immediately shut down"?

http://metronews.ca/news/ottawa/1000093/protesters-shut-down...
On the other hand it's a working piece of software, it serves a purpose, there's demand for it, etc etc...

In my opinion you're being way too harsh on yourself. What you said basically amounts to "it's too simple, I used a library, I cannot guarantee it won't ever crash".

Congrats on the first of those three, and welcome to the club with regards to the last two.
In this case we're not even talking about a vendor not getting access to a bug found by a third party (though that does happen). We're talking about a series of vendors notified ahead of time who now expect to have a say in how the researcher notifies others.

The general response a lot of vuln researchers have to this kind of sniping is that it should be directed to the person who wrote code after, say, 1995 that directly edited /etc/passwd instead of rebuilding and linking it.
Interestingly...

Walmart Net Income: $15bn
Amazon Net Income: -$250mn

Despite that huge lead by Walmart in sales (5x), they're only left with about 3.2% of profit. Of course that's better than 0...but the interesting thing is how Amazon's value is predicated on what it can continue to build (as you've alluded).
I disagree with this assertion at least as pertains to RL.

Some brands (like Apple) invest considerably more in doing things "properly" as opposed to "just enough", and a fairly large and wealthy market exists that is both less price-sensitive, and more quality-sensitive than those who purchase the "just enough".

Especially with the higher quality from RL (e.g. Purple Label), I would say the buyers are more concerned about being certain that the product will be of a good enough quality, and less concerned about the price tag and RL's profit margin.

RL also sells "taste", that is, it is a "safe" choice if you are trying to dress conservatively. This is also monetized.

(I personally would rather go to a tailor at that price point, and I do. This has a fairly heavy knowledge and time cost though.)
I thought the purple label indicated much finer work. Hand stitched lapels, full canvass, etc. Sort of the last stage of off the rack, then it's all handmade from there.
> The Million Dollar Homepage is a website conceived in 2005 by Alex Tew, a student from Wiltshire, England, to raise money for his university education. The home page consists of a million pixels arranged in a 1000 × 1000 pixel grid; the image-based links on it were sold for US$1 per pixel in 10 × 10 blocks. The purchasers of these pixel blocks provided tiny images to be displayed on them, a URL to which the images were linked, and a slogan to be displayed when hovering a cursor over the link. The aim of the website was to sell all of the pixels in the image, thus generating a million dollars for the creator.

https://en.wikipedia.org/wiki/The_Million_Dollar_Homepage

The sheer "internet"-ness of the idea at the time was brilliant. It also seems like the kind of thing you can only really pull off once. And it was funny watching it slowly fill up, discovering what kind of businesses turned out to spend on something like this, what colours they attempted to choose to stand out, and how the result was a chaotic mess with everyone fighting for attention. Subtle commentary and somewhat prophetic of the current situation with ads...
I'm in a long distance relationship and have been working on a project to do just this! I've been thinking about open-sourcing it.

I have video chat, a synced shared web browser, and support for Netflix & Hulu.

If anyone is interested: https://www.distanceflix.com
So you've stopped drinking the Kool-Aide ?

I totally agree with you. Technology for the sake of playing with technology gets stale after a while.

The software industry loves re-inventing things and attaching new labels. You are absolutely correct that regardless of what language/paradigm/methodology you use eventually every program results in machine level instructions being executed. In some cases less efficiently than in other cases. It's not about the program, it's about the problem being solved.

Only you can decide, based upon the other comments and preferably after competent medical advice, whether your situation is a case or burn-out, depression, mid-life crisis, etc.

Assuming that it is none of the above, then you might want to consider finding a "real world problem" and using your knowledge and expertise to create a solution for it. If you can't find any worthwhile problems (yet) then go travelling! It will open your eyes to a massive, colourful, complex REAL world out there with its myriad problems. Sooner or later you'll find something you care about enough to want to solve.
You can use a C++ compiler to do "C with objects" fine. Lots of people successfully do that. There's specification for doing this in fact which is adhered to by embedded developers. It's better to use C++ more fully, of course.
Ask HN: Has anyone here programmed in Kotlin? What do you think about it?
I was looking at Kotlin and was curious. It looks very interesting feature wise but I worry about its long term viability given it's low presence on GitHub[1] and < 40 users on #kotlin on Freenode IRC. Is this worth writing a big project in?

[1] https://github.com/search?o=desc&q=language%3AKotlin&ref=searchresults&s=stars&type=Repositories&utf8=
Amen! You've said it far better than my attempt.
A lot of reasonable people would say that it is because driving is dangerous that we shouldn't be tolerant of people needlessly adding more danger to it.
"Maciej Ceglowski (idlewords) also calls for an "anti-free-software movement" in Don't Be A Free User: https://blog.pinboard.in/2011/12/don_t_be_a_free_user/"

His examples and his cause have nothing at all to do with free software. It's an almost comically clumsy misnomer.
I'd sooner build a boat and sail away.
I've seen those characters in package.json but I never really bothered to look up how they worked, but now I will use them. Great article. I wonder though why they didn't go with using asterisk instead? Like say you used 1.. in package.json, now you'll get all updates up until 2.0.0 comes out.
Disney benefitted from a rich public domain as a consequence of copyright policies of the preceeding 200 years or so (Statute of Anne, precoursor of US copyright law, 1710).

It proceded to destroy the public domain as a result of its support of both ever-longer copyright duration, and more broadly scoped holders' rights, over the 20th century:

https://upload.wikimedia.org/wikipedia/commons/2/2f/Copyrigh...

Under the 1909 act, in existence when "Steamboat Willy" was released in 1928, copyright's maximum term was 54 years (27 year initial, one renewal), and that required both registration and notice.

Today it's 95 years from creation.

Disney could not only use characters, but quote at will and length with no fear of infringement from any prior work which was not both registered and noticed, or any work whose initial 27 year term had lapsed, or, with no concerns at all, any work at all published prior to 1874.

Today's authors have none of these freedoms. Twenty-seven years ago was 1987. Fifty-four years ago was 1961. Neither of those are "free to use by" dates. Rather, any work published from 1923 onward may* be under copyright, and copyrights are routinely asserted on works first published long before then (most notoriously the song "Happy Birthday", whose first version was published in 1893). Its status is currently being litigated.

That is asymmetry of which I speak.

https://en.wikipedia.org/wiki/Copyright_law_of_the_United_St...
http://www.snopes.com/music/songs/birthday.asp
http://wfae.org/post/happy-birthday-hits-sour-notes-when-it-...
Ah yeah, we're having lots of issues with front end bugs causing crashes.
And if that happens, point to this as prior art!
This. What people don't reLize is that 1/4 to 1/2 of amazonz biz is delivery. Which is why they are so focused on replacing fedex/ups/etc. Amazon fresh is their Trojan horse.
Twitter detects the URL as dangerous. O_o
What you're describing sounds like too much focus on the What instead of the Why.

WHY are you building software? Start with answering that question. Then, do a bit of soul-searching; figure out what truly feels meaningful for you. That's something no one can answer but you. Then go and do it.

If you can't come up with an immediate answer, then start trying different things.

Building a bridge isn't enough. Connecting two communities over an otherwise impassable chasm is.
You almost say it yourself: do something else instead of programming. Maybe you'll want to come back later, maybe not, either way you come out ahead of where you are today.
Someone should make a cargo clone for building C/C++ code. I don't care if it makes everything statically linked, that is good for me. :)
I'll throw this out there because you might consider it relevant.

I recently learned that Abe HomeBase is pretty much the de facto standard book inventory software out there. It seems there's little motivation to search for other platforms because you have to use HomeBase to get listed in Abe (as I understand).

I learned all of this when a friend was showing me HomeBase at the bookshop he worked at... and in particular its mind-numbingly slow live search system.

Take Google autocomplete, make it blocking/non-asynchronous (it freezes while it gets your result), and slow it down so EACH KEYPRESS takes FIVE SECONDS to acknowledge. That's HomeBase search.

I have no idea how you would go about fixing this, but I thought I might mention it in case this direction sounds interesting. I'm not sure, but I get the impression this is one of those areas with no movement or competition, and it just needs someone with a bit of motivation to come along and turn it upside down.

If you like I can put you in touch with my friend; he's very technically minded, so you could very likely get a lot of in-depth info about how the program works and what needs to be done to replace it.