skysight-inc/HackerNews huggingface dataset:
Can't decide: Web development or iOS development
I've worked in AV for 7 years professionally,I decided to learn little programming in my free time. Last january I started learning Python and it sort of became my new hobby.
Right now I understand programming principles and I can code but I still lack a lot of general knowledge. Also I've never done anything professionally nor had my code reviewed. But I found out I really enjoy doing this and I'd like to turn it into a career.
Right now my motivations aren't financial (at least not as much). I value more to have some kind of job stability instead of earning more. I finally decided that I really want to do something that I like. Also, in my previous job, the industry has shifted and my occupation became de-valued and employment is not a sure thing anymore.

Ironhack offers both web development and iOS courses. I can't decide which one to take. Here are my thoughts:

1. Web dev

+ it is something I am already familiar with (web design)

+ I can already build sites with HTML, CSS and various tools (WP, static website generators etc.)

+ from previous job I have lot of graphic experience

+ I can already do some web development stuff with Python - managed to do little Flask app

- I'm afraid that there are way too much full-stack devs out there and it's gonna bring the market down (I don't wanna end up in situation where I'm at now)

- I'm still not quite sure what web developer does 100%, aren't you some sort of jack-of-all-trades kind of dev? Maybe it's too "unspecialized"

2. iOS

+ I'm quite interested to program on hardware device + fan of iOS generally

+ seems like iOS devs are scarce

+ I've heard it offers much higher salaries for junior devs than web devs (although it's not a deal-breaker see above)

+ I already own Apple stuff so I can try it out on real HW

- it seems WAY harder than web-based stuff for me, I find Cocoa framework very complicated

- the job is tied to one platform = if Apple goes down so do I
> and apps that work on Windows 7 and earlier can't be put on the app store.

They announced that win32 based apps will have the possibility to be on the store - in one of the videos from build they even used Photoshop as an example.
Surely there must exist a host nation willing to offer up a few thousand acres to do the same type of thing?
I believe when you upload your code it will throw an error that your source and destination bucket are the same, which will prevent this type of looping.
Digital Art: Questions of Conservation
Show HN: Estimate Uber Fares
This is surprisingly straight-forward: http://eagain.net/articles/git-for-computer-scientists/
Convert FLV to Blu-ray
Editing's going to be a nightmare...
Didn't Tim Ferriss edit one of his books through a wiki?
The Power of Bugs (2007)
I think we broke him.
This is quite an interesting hack, and I enjoy seeing novel solutions to the async problem (especially on the browser side, where ES6 is not universally available yet). But still, I would probably never use this in production, given that I can just transpile ES7 async/await with babel.
There's a platform for pretty much just this thing https://www.gitbook.com/
I think we see so much churn in JavaScript because we've forced the weight of the entire client side web onto the back of a single language. JavaScript must satiate the technical needs of all organizations across every consumer facing device and operating system. Like all languages, JavaScript has its weaknesses, so its not surprising that we find JavaScript to be a less than optimal solution for certain types of problems, but since JavaScript is generally the only option available for scripting logic in the browser, it's pretty natural that we see an explosion of libraries and frameworks to compensate for the fact that the JavaScript hammer is the only tool that exists in the client web universe.
On a non-serious note, this sounds like something the Bluth Company would build.
Well, yes. I'd guess that most investors want the people they're funding to have prior experience in whatever industry, before starting a business in that industry.

The way the parent poster makes their situation sound, it'd be like saying "I'm starting an internet startup. I don't have anyone on my team who knows anything about computers or the tech industry, but....."
Yes but 60 minutes put on Mark Owen/Matt Bissonette and his story cleared their fact check in which is quite rigorous. He talks openly about others killed in the compound, chopper crash etc. He has been quite vocal in criticizing some accounts that differ from his in minute ways. He did not clear his first book with the military and is still being investigated. Yes, I know the CIA gets paid to lie but nothing in the mainstream (vetted) media supports the LRB story.
Investigation and Analysis of Anomalous Electromagnetic Propulsion Devices
Defining an "enemy of the Republic" really is just a rhetorical technique to assert what the goals and values of the Republic are. Sometimes it is one that the residents of the republic broadly agree with because they share those values and goals either explicitly ("I want myself and my kin to avoid getting killed in a building collapse") or implicitly ("I'm totally fine with a credit-based economy, though I wish it worked out better for my group.")

Occasionally it is a rhetorical technique with powder and steel behind it.
Edyn (YC W14) is looking for Node.js engineers to build smart gardening sensors
The biggest glaring fallacy with the CIA story I see is that the Pakistani's did not know about the presence of OBL in the country. The article mentions that the house was 2 miles from the military academy. Abbotabad is a garrison city, which means that there is quite literally armed forces present everywhere. I have been to Abbotabad, and there is no way that the Pakistanis would not have known about it. It is akin to saying that OBL was found a couple of miles from West Point and the Americans did not know.
Just a kind reminder to USfg employees and their contractors -- if you have CM on your personal computer, regardless of the source, you're liable as if you stole it.
I don't care. I'm just pointing out the hypocrisy where any remotely sexual imagery[0], comment[1] or performance[2] in tech results in controversy, firings and apologies, and yet events like this are ok because they wear progressive politics on their sleeve.

[0] http://www.theguardian.com/science/2014/nov/14/rosetta-comet...

[1] http://www.wired.com/2013/03/richards-affair-and-misogyny-in...

[2] http://www.zdnet.com/article/microsoft-apologizes-for-cringe...
Learn to control your own emotions. This may take many years of practice. Meditation, martial arts, or many kinds of sports and skills can be good for this. You will think better if you keep calm.

Listen very carefully to others. Maybe you will learn something, maybe they just confirm your initial impression. Often people speak to express their mood, not to convey information. Also, when people talk very passionately about their opinions of other people, they are often speaking indirectly about their feelings towards themselves.

Never interrupt. Never contradict, Never insult. These are low-value tactics in a verbal conflict. By not using them, you make it much harder for other people to use on you. If other people interrupt, contradict, or insult you, ignore it. By 'contradict' I mean don't say 'No, that's wrong...' Just say the correct thing and stop. So if someone says 'wheels are square, everybody knows that,' just say 'wheels are round,' and stop talking.

In general, it's a good idea to say as little as possible until the other person runs out of things to say, especially if they're angry.

Repeat what other people have told you. Ask simple questions, ideally with yes/no or very definite answers. It will be much easier to tell if the other person is lying. Also, ask questions that you already know the answer to, in order to get the other person to follow the direction you want in conversation. this is a technique trial lawyers use a lot.

When you use these techniques in an argument, it's like you step out of the way if someone tries to hit you. The other person swings his fist - you move aside. You can lead the person where you want to go by the way you move. They waste their energy expressing anger or saying foolish things. When you speak, you are very careful to say only things you are sure about.

Avoid trying to jump ahead of the conversation to guess what someone really means or what their secret motivation is or anything like that. Often such guesses are wrong, and in any case it often doesn't matter.

Smart people are never afraid to say 'I don't know' or 'I don't understand, please explain' or 'I'm confused about ______.' If you make a habit to be honest about this instead of pretending to understand something you don't, you'll find it's hard to for other people to lie to you.
Obligatory link via google. Somebody ought to write a bot for this.

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
A better parallel would be not being able to replace the tires on your Audi. After a few years the Audi's function would be significantly degraded...I mean sure technically you could just drive on the rims just as technically you can use a laptop with a dead battery at the coffee shop given a little luck and packing your own extension cord.

That's not to say that the MBP's profile of compromises and benefits doesn't work for some people. But whether a glued in battery is a signifier of high or low quality is a matter of subjective opinion not soundly deduced objective fact.
Correct, but I didn't mean to refer to the green button. I was simply talking about double-clicking the Chrome title bar.

By default, this expands Chrome to the "appropriate" size for whichever website you have loaded in the current tab that moment. To get the normal maximize effect that one would expect from double-clicking a title bar in Windows or any Linux desktop environment, you have to hold down the "Shift" key while double-clicking.

Actually, I'm not sure if it's Google or Apple who is responsible for this specific issue, but it's inconsistent either way. Chrome doesn't work like this on any other platform, and none of the other Mac applications I commonly use (e.g. IntelliJ, Atom, Terminal, Spotify) behave this way on OS X.
The author explicitly invoked a stereotype, as you requested. I'm not sure why you didn't read it that way.
Since the Lambda functions are written in Node.js, you can probably take advantage of the way exceptions are handled and give your code a default timeout:

setTimeout(function() { throw new Error('timeout'); }, 1000)
"I have an issue with reasoning about what system you're gonna use to be productive based on ideology-based values."

I have had literally years of experience trying to standardise OSX across a range of pairing workstations, and the experience was sufficiently bad to:

a) put me off OSX entirely as a 'serious' OS

b) motivate me to develop a Vagrant-based dev system that could be shared across OSX hosts, and used via SSH w/ X forwarding

I demonstrated the solution to a local Ruby on Rails meetup, where it was fairly well received despite the vast majority of the audience being Apple users and, in many cases, advocates.

I wasn't trying to make an ideological argument there. Leaving the ideology aside: been there, done that, never again.

"So yeah, I know there are some good arguments to use Linux vs OS X but ideology is not one I'm really fond of."

In terms of ideology, look at say kernel extensions. These days, you have to have permission from Apple to sign kernel extensions such that you can install them on your own machine. Not only does this mean that OSX is broken as a machine for serious work (i.e. stuff beyond running your latest Rails project), it's a clear example of how important ideology actually is.

Ideology is important. Sooner or later, it makes or breaks your project in ways you'd never expect. (The same is true of teams, companies and entire countries).
Inheritance is rarely necessary
Anti-Patterns Every Programmer Should Be Aware Of
Or build a micropayment system that takes off, so we can collectively pay for good reporting....
Stereotypes such as?
Huge drawback... I wanted to use AWS lambda for some long running task and run into that limitation.
>These professors will knock on a dorm room door if one of their students has missed several classes and is in jeopardy of being on academic probation (this may or may not have been someone who looked remarkably like me). These professors are on the hospital floor for 8-hour clinicals with a cohort of 19-year-old Nursing majors. They help find translators for a Bosnian student’s parents (who don’t speak English) to open up a bank account in town. They sit through interminable afternoon meetings and then teach a three-hour Social Work seminar two nights a week. These professors go to their student’s graduation parties, they get thank-you cards from grateful students (and relieved parents*), they go to former students’ weddings, they are invited to law school commencements for former advisees.

It's good that, you, the author do that. It sounds like you're the sort of professor that the article wants to see. But let's not pretend the majority do this, especially at R1/R2 universities, or the article was specifically saying you were failing your students.
You're a soon to be recent college grad. Don't stop learning and growing. If you don't trust the judgement of people with more experience at your workplace find someplace where you do.

If you do trust it then trust it and learn.

Hood luck.
It's a good thing when people are put out of work because of "efficiency"
This really depends on what you are interested in. Some thoughts about each:

Web design:

- There are a few different parts to this. You can specialize in front-end or back-end (although you should have at least some knowledge of both).
- This isn't really much easier than iOS development over the long term, but the barrier to entry is much lower.
- Things in this field change really, really fast. Expect to re-learn basically everything you know every 3-4 years.
- The core languages (javascript, html, css) are versatile and can be used in many places: the web browser, the server (nosema or similar), or a native app (node-webkit).

iOS development:
- You're tied down to a specific platform, which can be a problem if apple changes it's rules or releases an update with bugs.
- The barrier to entry is higher, but over the long run it isn't much harder.

(Not that I'm a front-end developer, so this is completely biased)

Really, you should do what you enjoy most. Start learning the basics of each, and see how much you enjoy it. Also, study the codebases of some existing well-documented projects - it's a good way to learn more about the language.
I've tried BTSync, Syncthing, Dropbox, and rsync -avuz. The only thing which works consistently and doesn't take up 100% CPU for hours when working with many small files is rsync. Hopefully Syncthing will get there, but I wasn't impressed initially.
There are definitely a lot of drivers, but the numbers that led to that claim are a little misleading [1].

http://www.marketwatch.com/story/no-truck-driver-isnt-the-mo...
Whats the rationale?
Because their petty greed translates into endless years of incompatible mess. We are lucky e-mail works today. If such stupidity as what's happening with IM persisted with e-mail too, we'd be still mostly using snail mail. Thinking of it, we are lucky Internet itself wasn't designed by one of those backwards thinking "platform owners".

Communication protocols should not be an "owned platform", they should be communication tools.
Actually I grew up in my part of the country saying jive not jibe, never heard of the spelling with a "b" until recently. So yes for a lot of the US it's jive. Jive is a dance that pins on synchronicity, hence, I believe, the common (even if technically incorrect) application to comparison.
Yeah, I don't doubt it. I can only speak from my experience.
GOOD HUMOR
> "low end"

No commentary here, but I was interested what it cost, so:

Behringer A500: $200

Sony DVP-NS355: ~$50

ATC SCM 12: $1,500-$2,500
No, the upgrade to 8.1 needs to be explicitly kicked off through the Store: http://windows.microsoft.com/en-US/windows-8/update-from-win...
Also, once you start getting good at whatever you choose, start contributing to some open-source projects. Code review is a great way to get better, and you can contribute to tools you use, which helps you as well.
Was in same shoes as yourself. Their reason was that IT wanted to deal with macs only.

If you are on the command line most of the time, you won't miss Linux that much anyways. The rest you get used to pretty fast. I do like the trackpad on the mac better than anything I've used ever.
Ask HN: Digital Ocean vs. AWS
We have been using AWS for the past 3 years, but looking at Digital Ocean simply because we could save some money if we moved over. So what are the plus/minuses of running node.js with mongo and RabbitMQ on DO compared to AWS? I am looking hopefully for people that have done this type of switch, either way, so I can learn from their mistakes. I am most concerned with uptime and reliability of the infrastructure.

For services we use, we mostly use EC2, Route53 and ELB's. I would think we would leave our Route53 as is, but move the EC2 instances and ELB workload. Is there an equivalent service at DO to ELB's or do I need to spin up instances and run our own load balancers? Don't care either way, just want to make sure we don't miss something and are comparing apples to apples.
Al Qaeda confirmed his death, his daughter witnessed the attack and his death, photos of his corpse were shown to various members of Congress, etc. Assuming this was all a hoax would require a conspiracy of moon-landing proportions.
"Their reason was that IT wanted to deal with macs only."

That's what I mean when I suggest fleeing. My personal experience is that companies that force developers to use any one particular OS are not the companies I enjoyed working for. It's not so much about which OS, just that having that sort of decision enforced from on high speaks volumes about the culture, & whether I'd enjoy it.

YMMV though.
Much cheaper in absolute terms as well. You can get very good headphones in the $100-200 range (even some under $100), while speaker systems in that range tend to be mediocre.
Consider that those fictional characters have professional writers doing all their lines. It helps a lot.
I have been thinking about developing a platform for such a thing. What are your thoughts on how it should look like? What would be useful as an MVP?
Mr Hersh is still stuck in Vietnam. This is foxnews quality reporting. Brutal.
Then why do they do it if they can afford to quit their jobs?
DigitalOcean is just servers. While I use it for personal projects I would have a hard time moving a production workload that requires anything beyond a couple servers there.

While I love their service and recommend it often they would do well to add at least a few basic services (load balancers, S3-like storage, etc) on top of their current offering.
Some clarification from one of the authors of this piece on their twitter stream [1]:

@mikejcasey are they using Bitcoin-inspired blockchain technology or "the" blockchain?

@jerrybrito THE blockchain. It's a colored coin implementation. That got lost on cutting room floor.

@mikejcasey Any more details? That is a little vague.

@brantonbits They're using the Open Assets Protocol, a colored coins implementation on top of bitcoin. That clearer?

[1] https://twitter.com/mikejcasey/status/597530065035988995
But set! doesn't take three arguments either. I mean, it's fine if you're just trying to show syntax, but if you say some code is Racket code, it should be able to be pasted into a Racket repl. If you're using real code, you should leverage our current understanding: "oh, we're setting a variable here, so I expect it to work this way", and not confuse us: "why are we dividing strings?" Otherwise, you should just use the function `foo`, and call it with arguments `bar`, `(baz bif)`, and `, 3`.

I think the comma operator is horribly explained, and I don't currently understand it. It "turns the expression it belongs into several words(or expressions)." Apparently (, 3) is the same as 3. Is it the same as identity, because each new line is a function call? But the identity function doesn't return several values (what are "words" in this context?), but only one.

Also also, the section beginning "However, Cirru does contain tricky parts in representing strings in Cirru", beyond being awkwardly worded, is confusing too. The only explanation is it "behaves like a Bash", and says two expressions "are totally different". What behaving like Bash does is never explained, and because you show inputs but no outputs, I can't tell how it differs.

Your example of, I think, escaping double quotes in a string is compared to a print of these five variables. When you say the two prints are "totally different", is it because one print expression is called with three strings, and the other with five variables? Do you expect that to be a point of confusion for the reader? It seems as though the two print statements are totally unrelated, but by joining them with "these are totally different", it makes the reader try to see where the confusion would be. And I'm confused why anyone who's familiar with programming enough to read this introduction would think they're the same.

You say that "Quotes are required when a token contains whitespace", but what token contains whitespace? You seem to rely on unset variables (the second `print` has variables `data`, `a`, `b`, `c`, and `d`, which are defined nowhere).
I'm amazed at the quality of older speakers when it comes to value for money. I'm using a pair of Chadwick executive 12 cabinets in my living room and they're simply the best sounding speakers I've owned and they cost next to nothing. The only expense so far is cleaning and light refurb to remove rot.
Cool! Do you happen to have links to good "how to get started" guides for nix+haskell? Right now it looks like it's a battle between halcyon, stackage-cli and this. I don't quite know yet what fits our use-cases better.
(EDIT: https://news.ycombinator.com/item?id=9521076 answers this, sort of.)

Thanks for writing.

What was the CPU issue, and how did you solve it? I'm referring to the "Strength in numbers" section (https://github.com/commercialhaskell/commercialhaskell/blob/...).
sounds interesting, but will probably be fundamentally closed, so i'm curious to see how the concept of "consensus" plays a role.
Such as trying to apply popular technologies to everything (in the best case, because of shortsightedness and in the worst case because you have a financial interest in the popular technology and its adoption for everything) instead of realizing that, in many cases, while you are holding a hammer, not everything is a nail.

Not making any comment about the submitted link, but I understand where that feeling comes from.
But I'm sure it'll do wonders for their cloud service user engagement metrics. look how many people are using Bing / OneDrive / whatever
Top Free Microsoft Word Alternatives
With technologies like Freight Farm [1], solar panels, and Tesla's Power Wall [2], cruise ships could –relatively– easily be reconfigured to be much more sustainable.

[1] http://www.freightfarms.com/
[2] http://teslapowerwall.com/
Caution Do Not Mistake Encryption for Authentication
Seconded. They also allow you to connect the gitbook account to GitHub, and version the book on your own repositories.