Better HN
topnewbestaskshowjobs
Log inSign up

hacknat

3,103 karma · joined Jan 5, 2013 (13y ago) · 999 submissions

Submissions

comment 10y ago · link · parent

>That's a very specialized thing, not something general

While polling for i/o may be common the next most common problem in computers is solving computationally complex tasks. Why is Intel making all these cores? I guess no one actually needs them, they just think they do.

comment 10y ago · link · parent

What if you need to do a compute intensive task on a large data structure? You know you might need to take advantage of more than one core and sharing memory between the threads will be difficult. Assuming you're talking about nodeJS, nodeJS serializes and deserializes objects in and out of C++ land in order to do compute intensive tasks. Hardly a catch all!

Are event loops good at some things? Of course! Are the good at everything. Are you high?

comment 10y ago · link · parent

What if you want multiple readers at once, and a writer thrown in once in a while?

Edit:

Okay, my point was that the sync primitives of most languages alone can't save you and you're using RWLock in your example, so clearly ownership by itself doesn't solve everything, right? That's the point I'm trying to make.

Edit2:

Hmm, I'll have to check that out. I don't know that I would call Rust's ownership model super easy to reason about, but it is nice that the compiler prevents you from doing so much stupid $#^&.

comment 10y ago · link · parent

Piggy backing off @catnaroek, go does have finalizers too though.

comment 10y ago · link · parent

I'm not saying Erlang isn't great, but if you need to pass a large datastructure around between Erlang processes then copy message passing starts to be a lot and you need to share memory. You can do it in Erlang, but I'd hardly call it great, and you're avoiding the sync primitive that Erlang offers.

comment 10y ago · link · parent

Should have been titled, "Interesting Cases Where Go Channels Fail"...

comment 10y ago · link · parent

I think I've just come to accept that sychronization is the pain point in any language. It's callbacks, promises, and the single event loop in nodejs. It's channels in golang.

No one can come up with a single abstraction for synchronization without it failing in some regard. I code in go quite a bit and I just try to avoid synchronization like the plague. Are there gripes I have with the language? Sure, CS theory states that a thread safe hash table can perform just about as well as a none-thread safe, so why don't we have one in go? However...

Coming up with a valid case where a language's synchronization primitive fails and then flaming it as an anti-pattern (for the clicks and the attention, I presume) is trolling and stupid.

comment 10y ago · link · parent

I think the title is fair, because it is meant as a literary or rhetorical reference, not as a sensational headline meant to draw you in to some ho hum news article.

comment 10y ago · link · parent

Let's compare median national wages to local home prices. Look at the story we can tell!

Looking at median wage data can be deceiving. For example, doctors salaries are bi modal. A lot of people making 40k/year then all of a sudden they jump up to 180k. I would make the argument that software engineering is probably logarithmic from 90k, with very few people making over 140k. Is the median salary for a "programmer" 92k? Yes. Is that fact useful in the prediction of home ownership for certain local markets? I doubt it.

Obviously it's hard for a median wage teacher to but a home by themselves in SF, but I question this methodology.

comment 10y ago · link · parent

Sure I'll do it...on a white board to solve a problem, or reviewing a spec.

Pair programming glorifies the task of programming as overly difficult. Solving problems can be difficult, programming them shouldn't be. Solving a tough problem in a code editor is not a good idea, IMO.

comment 10y ago · link · parent

I agree. I literally just did this and got free shipping, even though the items were spread out.

comment 10y ago · link · parent

I'm dealing with Azure at work right now you would not believe how much of their API is undocumented or unexplained.

My company is being courted by MS a bit, because they want us on Azure, so I was able to talk to some of their developers on the phone when I hit roadblocks. The amount of things they admitted to me were undocumented was enormous.

comment 10y ago · link · parent

I already have enough interesting problems that I need to solve without SO, because they're obscure enough or because I'm one of the first people doing "said thing".

If SO can help me solve some dumb CRUD problem more quickly or navigate a rather poorly written API (android, iOS, azure, and, well, most APIs actually), then I'll take that route. It never ceases to baffle me how many developers think esoteric language or library knowledge makes them good at their job. You're missing the forest for the trees guys and gals!

As another commenter said if I find that the SO answer provides a counter intuitive solition or gives me some hint that I'm thinking about something in the wrong way then I will of course chase down the "why" of what I'm doing.

comment 10y ago · link · parent

Eff?

comment 10y ago · link · parent

Linux, docker, emacs, GCC, golang, PostgreSQL. They are the best in class tools, making me much more productive and interested in software than any paid product ever could. They are free, as in beer.

comment 10y ago · link · parent

Not that I even care that much, but that's total crap. Compile-time generics, which is what most people seem to be referring to when they say they want generics in Go, are eminently doable. It would not be hard to implement. Runtime generics are probably possible as well.

What are you even basing your assertion on?

Edit:

What do you mean, "there will never be a 2.0"? Do you have a crystal ball?

comment 10y ago · link · parent

0. It does dynamic linking on most stdlibs (libc, etc)

1. What do you mean self-hosted runtime? Anyways, golang will likely never be a good candidate for kernel development, but in theory you could do it (go supports assembly)

2. Generics would be nice. Who knows, maybe they'll be in 2.0?

Go wasn't developed in llvm, because they wanted to build something very fast, and they were planning on writing the compiler in golang from the start (so that it could be part of the libs). Also having your own scheduler kind of breaks debugging, you can build go programs with gccgo, but gdb doesn't work because it has no concept of what a "go routine" is. Delve (https://github.com/derekparker/delve) will eventually fill the hole of the missing debugger, imo.

Edit:

Formatting

comment 10y ago · link · parent

Sure, why not. The word "leadership" doesn't really mean anything anymore. I have met very few good leaders in my day.

It definitely seems like most people leading companies are not any good at it. The best managers I've had haves simply gotten out of the way and defended us blindly. That's the best I've seen.

I'd love it if we adopted a culture of service, rather than "leadership". How can you be a good servant to others? It'll probably take you far, or it might not, but it has the virtue of being the least bullshit thing to do.

comment 10y ago · link · parent

The vast majority of mainstream AES implementations don't take advantage of the hardware (yet).

comment 10y ago · link · parent

A corollary to all of this is how self inflicted it all is.

I left my last job, because I was bored, we were on autopilot as a company, and I had completely mastered our architecture and system. Any assignment I received was trivial to complete. In most ancient societies accomplishing a feat like this would result in not having to do as much work and to supervise others doing it while I take it easy and explore my own interests. While I do think many employers would never do this, as I was exiting the company I discovered, through conversations with my CEO and CTO, that a version of this was more readily available for me than I realized, and I could have done more to take advantage of it.

When I reach such a position of trust and respect of my executives again I will definitely leverage it more than I did at my last job. I suspect a lot of professionals fail to do the same.

comment 10y ago · link · parent

And if it's the company they actually don't know the market any better than you.

comment 10y ago · link · parent

The "never give it out" camp always, to me, seems to be making the assumption that salary negotiation is exactly like a game of poker. No one could ever guess what's in your hand and you can't guess what's in theirs. You better bluff all the way to the end and if your hand is better then you win.

Most people can look at payscale or glassdoor though. If I'm putting out a Junior req for a front end position for a CRUD product, then I know pretty well what I'm looking for, and the salary range is pretty set. When someone comes in the game they're playing is "let me convince you why I'm worth the upper end of the range (or even a bit more)", and my game is "let me get you down to the lower end of the range by convincing you how awesome we are, etc." The underlying assumption is that our mental ranges overlap somewhat. If someone comes in and their range doesn't overlap with mine, even if they are supremely talented and worth it, it still won't work out, because I'm not looking for a Senior person, remember? People, most often, hire for best fit not let's get the best person possible. If someone comes in and their expectations are grossly out of sync with my own, it's better to just have it out. If I'm out of sync with reality then the market will correct me or I'll perish, either way it's no skin off the back of the candidates who said, "way too low, see ya later!"

comment 10y ago · link · parent

Because choosing Java will almost never be a mistake, even if it isn't the most ideal language. The JVM(s) are fast(ish). So much open source code to grab and get productive on. Almost any developer you hire can be effective with it immediately, even if they've never used it before. Also, Android.

I've got only ever done one project in my career with it, and I found myself feeling "meh" about it, but I never hated it.

comment 10y ago · link · parent

>> It would not be the first time that a hiring manager believes there's an open rec until they try to fill it.

I was hiring a team a few months ago, and I was under a lot of pressure to fill positions. We find a guy that I'm on the fence about, and I'm pressured to pull the trigger. My response, "I'll do it if I truly have one more open rec." So we hire him.

A few weeks later I'm still interviewing candidates and I find a women who is terrific, and who I wish I had found earlier, as she would have been a no-brainer hire. She's excited. I'm excited. I go to pull the trigger with my boss, only to be told, "we're reevaluating the rec, we'll probably hire someone, but just a few months down the road."

Hiring is one of the most political things an organization does. Having been on the hiring side of the equation for a while now, I would never take a company's disinterest in me to heart. A candidate's qualifications are important, but they are always the last thing on the checklist before hiring someone. You never know what item on the checklist above your qualifications didn't get ticked.

I was really mad about that episode. That and other things caused me to leave.

comment 10y ago · link · parent

Catalyze | Madison, WI | Fulltime, Onsite, Remote possible

Catalyze is a cloud provider, specializing in providing out-of-the-box hipaa compliance hosting. We are doing this using docker and some of our own custom networking technology.

We're looking for:

-Healthcare Integration Engineer:

We're hiring Integration Engineers who will work directly with our Chief Data Officer to support customers, build new solutions, and make data integration easier for healthcare developers and enterprises. The ideal candidate will be an EHR expert with some programming ability to boot. You are part EHR subject-matter expert, part programmer. You are going to help onboard new HL7 customers, configure our Redpoint Interface Engine to meet their needs and help Catalyze build out new data services.

-Healthcare Integration Account Manager

We're hiring Account Managers who will work directly with our Chief Data Officer to support customers and provide project and account management . The ideal candidate will be an EHR expert with customer-facing Project Management experience. You have the ability to take that expertise and use your skills to successfully push integration work across the finish line quickly.

Our site: https://catalyze.io/

Apply: https://catalyze.io/jobs

comment 10y ago · link · parent

I worked as a programmer, briefly, after college, it sucked, expectations were ridiculous, pay was crap. I would never work as a programmer again.

I really enjoy my career as a Software Engineer though. It's been, mostly, fun, and as I've learned and grown I've got the chance to work on more and more interesting things.

Currently I'm helping to build a cloud provider for a specialized sector of the economy that has eschewed the cloud (until now).

comment 10y ago · link · parent

If they run out of cash they will start to devalue their currency, that's the bet.

comment 10y ago · link · parent

Seriously, I'm grabbing as much VFINX as I can. It's priced at February 2014 levels right now. That's a silly price for two pretty good years of global economic growth.

comment 10y ago · link · parent

I invested a little in Dry Bulk right after the recession. The reason it's out for the count is a lot of players entered the market on expensive debt at the height of the Recession, taking the long bet that shipping would recover, which it did.

There was a brief glimmer of hope a few years ago when most of these companies refinanced their debt. The P/E ratios for most of these companies are incredibly low, but even still they are a bad investment. The structure of a lot of these companies is odd as well. They are often structured as shell companies wrapped around a private entity that actually employs everyone and does all the work. I'm guessing some companies have some pretty nice, debt financed, salaries for upper management.

Given the glut of shipping supply, and our current, modest recovery, I find BDI's tulmult to be less surprising than the sun rise this morning.

comment 10y ago · link · parent

If you read what I wrote you'll see that I said this.
1
212223
34