skysight-inc/HackerNews huggingface dataset:
OP makes some reasonable arguments about the practical uses of Golang, but anecdotally and seriously evaluating it for a complex backend service, I felt that I had to write a non-trivial amount of "simple" code that felt like a mix of copy & paste procedural code with some very shallow object oriented programming.

I attempted to write the same service in Kotlin (http://kotlinlang.org), which felt mature and easy to understand. JetBrains did a great job also making it "boring." It felt like it was a boring attempt at making Java programming enjoyable. Along with 100% interoperable with Java libraries, alongside incredible tooling, made writing reasonably boring but functioning code very enjoyable.

To each their own, but I'm having a hard time justifying why I'd use something like Go over something like Kotlin. Maybe I'm missing something?
Is it just me or has this same article or title come up like 2-3 other times? The only thing remotely interesting in this particular article is the graph with productivity vs code-base size...mostly because when you give it some thought, is actually wrong. An expert programmer will be as efficient as any other expert programmer. The code-base will still grow and they will still remain productive. This guy is talking about what happens in this era, how that's our "average". If we up the average so everyone is proficient with language X, we wouldn't see this issue.
The most convenient approach to create AttributedString
This being good advice depends on the audience and desired outcome of the presentation.

Say you are working with a technical crowd, who may well be taking the presentation back with them for further study. In this case, having some depth in the slides might make a lot of sense, as would adding notes and links to information they will need or want. For that scenario, some careful use of bold, color, size will provide talking points useful for interactive discussion. No need to just read the slide.

(I hate it when people just read the slides)

Other times, it might make sense to have very brief bits of info. Often sales presentations go this route, but technical ones can too. People may take the presentation for reference later, but they came for the dialog and or what you are presenting more than they did attend to get all the info in text form.

IMHO, my experience so far has been to know your audience long before you build anything. It's very helpful to get a review from a peer too. If it's important, it's also worth a half hour to talk through with somebody who can provide some insight.

I've also found there is a very significant difference between selling ideas, things and people, and more detailed education type tasks. It's extremely efficient to pack presentations full of info for classroom settings. Depending on what one is teaching, and if it needs some interactive exercises or not, one document may make optimal sense. The people teaching for a living may well be demonstrating a strong bias here, well intended, that just might not be appropriate in a business setting.
Shared libraries? I thought "no DLLs" was one of the major design philosophies of Go.
Seems to be an overflow buffer attack that predominantly effects 5s users.

via u/MrBnF http://www.reddit.com/r/explainlikeimfive/comments/37edde/el...
It depends on your definition of "craft" but I ride the piss out of motorcycles, and as a consequence, rebuild them as well. And when I say rebuild, I mean ripping the engine out, tearing it down to every nut and bolt, and rebuilding it from the crankshaft up. The skills I've learned while working on my bikes (patience comes to mind) help me in other parts of my life as well, including programming.
great product
I've been following the emulation scene since the late 90s and have really come to appreciate how important a cultural preservation emulation is providing. It's more than just nostalgia, these machines were literally the focal point around which entire cultural milieus were constructed.

If you didn't grow up when arcades were healthy, there's literally nothing similar to them today. The local Dave and Busters has the games, but the mood and setting is all wrong. Stepping through the entrance at your local mall arcade was like walking out the backside of a magic wardrobe. The lights and sounds instantly drove parental units away and a curious kid could wander around with pocket change and try a few games and take control of skilled fighters, jet planes, space ships, skateboarders and on and on forever.

Forging skill, he could become a minor celebrity in this world, if he could top the high score, or compete harder than all challengers, a crowd would literally gather and start cheering the player on..and soon you had this https://youtu.be/07Upyd9EVog?t=84

With so many people in one place, all doing the same things, with competition and champions, losers and cheaters, how could a culture not spontaneously emerge?

I can't really think of any similar phenomenon today and work like this, and a few scattered preservationist barcades and personal collections might be the only thing that comes close.

I'm just sad I never made it to Luna City before it closed http://www.washingtonpost.com/wp-dyn/content/article/2008/02...
Thank you for your reply!

Can you give me some advice on moving to Europe? Which country is easier to immigrate to? What are the conditions that I have to fulfill?

My situation:

I'm 24 year old single male, my English is not perfect but I have no problem speaking and understanding people. I don't have relatives anywhere outside of my home country. I have a bachelor's degree in a field that has nothing to do with CS or entrepreneurship(I'm mostly self-taught). I'm not sure what else is relevant.
I was surprised too given the Plan 9 culture's rejection of dynamic linking.

However, this will probably deprecate or diminish the RPC and code generation techniques for implementing plugin architectures.
Two dozen US states, including California, ban lead bullets, and the US military has announced plans to phase out lead bullets by 2018.

Source: http://www.foxnews.com/us/2013/12/21/end-line-for-lead-bulle...
Ask HN: Going to SF, interested in letting me be a fly on your office's wall?
Ask HN: Going on a road trip to NYC & SF, interested in letting me be a fly on your wall?

Hey, I'm a web developer/photographer who’s creating stories for wayswework.io. The founder Amandah and I are taking a trip to the SF area from June 17-23 and want to connect with teams who are interested in letting us document how they work. The site is a fun side project for us to hopefully create something helpful and connect with other awesome people in the industry. If you're interested let me know!
This was quite fun to write in racket:

#lang racket

(define (ten digits)
(apply (compose string->number string-append)
(map number->string digits)))

(define (solve)
(for* ([s (range 1 10)]
[e (remove s (range 0 10))]
[n (remove* (list s e) (range 0 10))]
[d (remove* (list s e n) (range 0 10))]
[m (remove* (list 0 s e n d) (range 0 10))]
[o (remove* (list s e n d m) (range 0 10))]
[r (remove* (list s e n d m o) (range 0 10))]
[y (remove* (list s e n d m o r) (range 0 10))]
#:when (= (+ (ten (list s e n d))
(ten (list m o r e)))
(ten (list m o n e y))))
(displayln
(format
" S E N D ~a ~a ~a ~a~n + M O R E + ~a ~a ~a ~a~n------------ ------------~n M O N E Y ~a ~a ~a ~a ~a"
s e n d m o r e m o n e y))))

Excuse the ugly format line :)

sendmore.rkt﻿> (time (solve))
S E N D 9 5 6 7
+ M O R E + 1 0 8 5
------------ ------------
M O N E Y 1 0 6 5 2
cpu time: 7124 real time: 7120 gc time: 80
Pretty neat, go is now written in go
"Go 1.5 has no C code in the tool chain or runtime.",
go shared libraries interoperable with c.

I'm really a go tinkerer, but I like the langauge.

I didn't realize Garbage Collection was so expensive that the goal is to only have it run 20% of the time. But its a good goal.

"Run Go application code for at least 40ms out of every 50ms."
Yep, and there's an even more precise term for this political ideology: National Socialism
Google, Yahoo Have Had Talks to Buy Flipboard
Pandas Cookbook – Recipes for using Python's pandas library
The Toto Washlet S300e comes with an air dry feature.
"Go 1.5 provides support for Android and experimental support for iOS."

Tell me more ...
"But the Patriot Act was originally Bush's law."

The Patriot Act received broad bi-partisan support in the wake of 9/11. It passed in the House 357 to 66 and in the Senate 98 to 1,[1] which means that a very large majority of Democrat legislators voted for it (including then-Senator Hillary Clinton).

[1] https://en.wikipedia.org/wiki/Patriot_Act#Details
The sins of expertness and a proposal for redemption
This is why Wikipedia is great unlike stuffy and backward encyclopaedias.

What's the point of reading about a bridge in the middle of nowhere. Absolutely nothing. Except it's a great story.

Which is why derivative stories are also interesting.

Was the Pinky and The Brain story boring. Yes.

Was the Falling Down story interesting. Yes. It was about a hidden Easter egg referencing the bridge and the location it’s in.

As someone else points out who cares about lists of Olympians from 30 years ago, no one. Some random name ran around a track. Who cares about fictional ducks. Most people. Donald Duck alone must get a lot of the population, he has had a real (good/bad) but remembered impact to most people’s lives.

You're taking about a quality issue. Not a nerdy issue.
I logged in and got a "Browser not supported" message on my up-to-date version of Safari. What happened to the open web?
They are emulating the hardware, not pirating the software.

I don't think DOSBox needs to get permission from id Software because it can run Commander Keen.

If the game publishers want to sell their ROMs, they are free to. In fact, because MAME exists, they actually might find some customers to sell to!
Mr. Rogers introduces kids to Electric Cars (1981)
I love that feature actually.

Sometimes, a quick presentation is in order. When that happens, I setup a very minimal, easy to view style, then blast the material in. Usually, this is for familiar audiences and it's a mix of technical and sales type material. People will be referring to it later, and it needs to be talked through.

So use one document, put it out there, do the review, and right there, add, edit, delete, until it's all sorted. Distribute, or take the end result into some other format.
While I find PowerPoint cumbersome to use and strongly dislike the idea of wasting time aligning and realigning elements arbitrarily, I think the larger problem isn't due to the software itself but that it's overused and often the wrong tool for the job at hand.

Presentations are not substitutes for documents.

At a workshop on presenting information, Edward Tufte introduced the idea of beginning meetings with a high-resolution transfer in the form of a printed document. In short, you prepare a document in advance, print a copy for each attendee, share it at the beginning of the meeting, and give people plenty of time to read and digest the information.

The benefits:
-each person can read and learn according to their cognitive style and at their rate of consumption.
-time spent taking notes is converted to time spent thinking and analyzing
-information can be communicated much, much more quickly than it would be through oration and a deck
Still no generics, nor real type inference.
Dating is a massive business. A major part of our economy thrives around dating. People who don't believe you can charge for it are not creative. It's true that we don't like to pay for membership, but the service can charge for activity tickets such as events, movies, dinners etc.
>So the best you can do is estimate the costs of doing the necessary work in each scenario (do it now but don't need it later, do it now and do need it later, do it later when known to need it), the likelihood that it will in fact be required at some point, and therefore the expected benefit of doing it now vs. later.

So you do these to estimations and sometimes you are wrong. When you are wrong it costs you. It costs you opportunity cost, cost of carry, cost of delay, cost of building, cost of repair.

With YAGNI, we build feature A then possibly feature B. Let assume that YAGNI and TDD offer no benefit, and the cost of doing A then B is twice the cost of doing A and B together, but sometimes we only do A, or we do A, and then later do B and in between A makes two months of revenue.

The question is, on average, that is to say, over a large number of features, which method costs less?

If you estimates and predictions are accurate, then clearly your solution is the lowest cost over the whole project.

If however, your estimates and predictions are poor then in fact you cause waste and increase costs. There is a point at which YAGNI offers the lower cost over the whole project.

It is my experience, and, it appears, that of Martin Fowler, that in fact we are very bad at making estimations, and very poor at predicting the future.

So this is obviously counter intuitive and not something you want to believe: on average, your "best choice given the information available at the time" will cost more money on average than just implementing feature A now and worrying about B later.

You have to do a risk assessment and cost/benefit analysis of your risk assessment and cost/benefit analysis. It turns out that your risk assessment is highly risky and your cost/benefit analysis is too costly for the supposed benefits. Its cheaper to YAGNI.
I 100% agree with you - but navigation is way harder on a phone browser than with a mouse. Also mobile having way less memory capabilities slows down browsers a tonne when web developers make content decisions based on what will cache quickly and easily on their 2000 dollar iMac.
Unbelievable that the IRS would have this "Get Transcript" feature readily available via the web without any password, or better two-factor authentication. It's already been taken offline, but was up for a long time.

Will there be punitive lawsuits against the IRS as there were for Target and likely will be for Anthem?
I'M SO SICK OF BEING HACKED & MONEY STOLEN FROM ME AND THEN EXERTING A TON OF EFFORT (WEEKS) TO GET IT BACK. Something drastic needs to be done. It's been two times in the last five years and that's too many times for me!!!

Recently, a phantom Uber account of mine was hacked; phantom because I signed up years ago and must have connected my PayPal account & never used it. Needless to say, I was shocked that some worthless piece of shit/thief hacked into my Uber account and supposedly took a $800 ride in London on my bank(im in NYC).

What's even worse is Uber doesn't give one rats ass about it's customers/users (try to delete your Uber account yourself.. try to deactivate your Uber payment method - HA good luck). This hack has been going on for many months and those smug, greedy pigs at Uber haven't done a damn thing besides blame it's users/customers for choosing similar usernames/passwords used on other sites. Check out all the poor souls being hacked per this twitter search https://twitter.com/search?q=%40uber_support%20london&src=ty....

Hackers unite, let's please come up with better tools to secure ourselves from all this stress and insanity!!!
One Weird Trick to Winning EVE–Bittervets Hate Him
I've done the exact same thing for the exact same reasons. Hurray for social validation.
So I'm actually looking around for a similar product; what's the difference with Atomic and Invision? It kinda looks like Atomic is Invision Lite but then again Invision has probably been around a lot longer so maybe it's not a fair comparison.

It would be pretty cool if I could immediately jump in and try it out without setting up an account. I understand most places don't do that but it's kinda nice being able to try something before giving away your email address. In my opinion anyway.
Right. Because they are still making and selling classic arcade machines... oh right. But some folks refuse to just let all that code go extinct in dead arcade machines in barns and sheds around the world.
> Dynamic typing allows you to quickly build and iterate but lacks the static-analysis tooling needed for larger codebases

Large codebases, ewww. Instead separate things into smaller projects, each easily maintainable on it's own.
Let Oracle own API's, Justice Dept tells top court in surprise filing
One of the major design philosophies was ease of deployment, DLLs generally complicate that process, but for many purposes, they're a necessary tool.

Interop with existing libraries is certainly a worthy enough feature to add to the Go toolchain, and it's an optional feature, so ease of deployment is still a primary concern, but if you need DLLs, this is available.
50 Singapore Startups You Should to Get to Know
This feature may be prepared for building shared libraries for C. After all, Using shared libraries is popular in C world.
That's still a large codebase, now you need to jump back and forth between API docs to be sure you're giving it the correct type.
Ask HN: How do I decide what area in my field (CS) to enter?
TLDR: Incoming junior with two years of university left, so limited time for projects/research/grad school applications, but endless forks in the road: web development, network and systems, machine learning, software development, etc. Where to go?

---

If you were once halfway through university, had a variety of interests and only an introductory knowledge of your field, how did you decide which option to pursue for the rest of your life?

For example, Economics grads, how did you end up in labor economics? History grads, how did you decide on 7th century Middle East? CS majors, how did you know you wanted to study Complexity Theory in grad school?

Reasons for asking:
1. With two summers left before I apply to grad school or for jobs, I want to focus on 1-2 things I can pour all my effort into.
2. It's really uncanny listening to classmates who know exactly what they want to do. Makes me feel like I don't have a plan.

From all the courses I've taken so far (the usual discrete math, algorithms/data structures, a programming in C++ course) have told me little about what I enjoy. I read a few posts on Machine Learning and while they were for a lay audience, I really enjoyed them. The trouble is that a. I don't know enough about all these emerging fields to pick 1-2, and b. I have interests outside CS as well (history, writing) and I'm not sure how to reconcile these.

I know I shouldn't be looking for an "AHA!" moment. But going into junior year with no real idea is scary.

Any advice - anecdotal or not - is welcome. Thanks for reading!
Here is why I use it (personal opinion):

- Its simple. Stupid simple. I can focus on writing code that is simple to grasp while following conventions.

- Its fast. Sure, its not the fastest language out there, but its hard to argue with its performance.

- Its feels like a lower level Python. Sometimes I think that's the main goal of the project.

- It comes from a respectable source. This means that it will probably exist in the next ten years.

- Setting it up is simple. No need to deal with runtimes like Java.

- Others who write Go seems to stick to the conventions. I rarely find the kind of surprises that you would find in C++ code. Since Go is simple to understand, people can write code that feels more "common". C++, well, its not fully understood by many (including me).

One point is that I don't use it to serve HTML or anything like that. Only to do systems programming. Servers talking to each other and/or responding to RPC or rest calls. Don't really serve anything other than files/json/xml.
I don't understand "low resolution"

Frankly, PPT has as much resolution as you need. The question really is, "what resolution makes the best sense?" Up-thread, somebody mentioned paper handouts being distributed just before the talk. That's a great idea, and it can mitigate some of the resolution perception issues, and or help when using higher fidelity isn't so appropriate.

But not all PPT presentations actually are delivered as presentations in the classic sense. One really great use case is reviews between peers, or maybe a smaller group, with one person managing the PPT, edits being made, etc... One can pack considerable detail into a PPT, rich with media, or just dense with text / illustrations.

Maybe there is just a lot of pressure or expectations of low-fi, but it's not seemingly an artifact of the software to me.
Hacking the nervous system
This article is incorrect. Certain states have banned the use of lead bullets in hunting certain animals (waterfowl for example can only be hunted with steel shot), they may still be used at ranges.
iPhone message security vulnerability crashes iOS
I'm all about Watermelon Man.

Kids are still learning jazz and other music history in schools that have good music programs.
I came into the comments to say that I very much dislike this change. I much prefer the extra syntax to not really knowing what '{29.935523, 52.891566}' actually means.
It's called counterfactual reasoning actually. And of course you can make an argument for any event. But I doubt you can make a convincing one.

You are literally suggesting that it's impossible to learn from history.

Even further, if we can't speculate about the past, with everything we know now, then we can't possibly change the future. That is, you can't possibly predict if any decision will lead to a good outcome or not.

E.g we can't know if starting a war will be good. Or that you should prevent global warming.

As someone above mentioned, you can't even say that genocide is bad.
CEI 118: Software Startup with Mailbird’s Andrea Loubier
If "lot's of money" means "$1 million or more" you can look into US investor visa (http://www.nolo.com/legal-encyclopedia/eb-5-investor-who-qua..., http://www.h1base.com/visa/work/compare%20work%20visas/ref/1...).

But if you want to explore that further, better contact an immigration attorney (which I'm sure you can find on-line) for more specific advice.

That being said, US is not all roses (I live here) and most other countries have much more sensible immigration policy e.g. Canada, Australia, New Zealand all have easier and more rational paths for getting citizenship.

Also most countries won't kick you out so as long as you can easily get a traveller's visa to a given country, you can live there pretty much indefinitely by renewing the visa (which usually lasts for at least 3 months) when it expires.

The biggest question is where are you from - the exact details on visas depend on country you're from and some unlucky countries have it much worse than others.

Also some asian countries (Thailand, Singapore) are welcoming to (rich) people.
That goal is referring to latency spikes. GC is usually much less than 20% of the time on average, but it may take, say, 200ms in one go and then run for 2 seconds without another collection. It seems their goal is to ensure there's no large pauses like that, so the 200ms would be spread across the 2 seconds as smaller time slices instead.
It's in the declaration of the map. Rewriting it over and over is redundant encoding
There are clones for most popular template rendering systems, and would be surprised if there wasn't similar as a whole application framework.

Do a search of https://npmjs.com/ for a framework you want a synonym to, and you will probably find it.

For me, some tools simple ring better in the JS way than others... if it's too cobbled, and relies on strange markup behaviors I like it less. If it's really class centric I tend to like it less, though ES7 classes and React isn't too bad. It just depends on your likes.

I really don't like seeing certain patterns in JS (factories and di/ioc) as they simply aren't needed and only add complexity.