Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,497 submissions

Founder of revscope.co

Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.

And embersofvictory.com

Retro turn-based strategy game.

Submissions

comment 11y ago · link · parent

Understanding all the motivations for building a highway or how it is built may be beyond us currently, but we can still differentiate it from naturally occurring phenomena. All we're talking about here with the Fermi paradox is detecting evidence of intelligent life, not understanding their technology or motivations.

comment 11y ago · link · parent

Spot on. You can have whatever views you want on life long monogamy, but once you enter into a life long monogamous relationship with someone whose views may not match yours, you are morally committed to hold up your end of that deal or renegotiate it. Having affairs behind the back of your SO is just terribly selfish. Let's not pretend it's anything else.

comment 11y ago · link · parent

That's how you should do it, yes. But the OP was talking about increasing privs in the forked process, which would defeat the security.

comment 11y ago · link · parent

But then you can just fork() and run your exploit in the child process after it raises is permissions. I don't see how that could work.

comment 11y ago · link · parent

Speaking as someone who lives in a developing world tax haven, I'd almost rather live here than in SF, even if they cost the same. But it's not even close. I told the Google recruiter that they can't afford me, so please stop emailing me. They can't pay me enough to make up for the difference in cost of living.

comment 11y ago · link · parent

Canadian banks are in good shape though, they weathered the 2008 storm easily. Mortgages are limited to 25 years in Canada and you need some 20% down IIRC.

I do think there is a housing bubble, especially in Vancouver, but it's not clear to me how one could bet against it. And there always the chance that the prices are sustainable, they are positively mild compared to Zurich or Tokyo or San Francisco.

comment 11y ago · link · parent

You would have to use sync.Atomic for all reads and writes. If you just use normal reads and writes it's in violation of the Go language memory model. It might work for now or it might start a nuclear war. You never know.

comment 11y ago · link · parent

This is some serious bike-shedding.

Well there are some rare cases where you really need generic data structures, is not hugely annoying to use go generate and a template implementation. That being said, I'd still like to see generics in Go, providing the drawbacks are limited.

The other criticism about null pointers is just ridiculous. If null pointers make in into a list of your top ten pain points while developing software in a team, I'm going to call you out for not being honest to yourself. Null pointers have their benefits and drawbacks, but it's so far down the list of practical concerns that it shouldn't even feature in your decision on what language to use.

comment 11y ago · link · parent

I'd say you'd have better luck predicting the weather with a dartboard. But knowing a person's skin color or cultural heritage or gender etc would let you make better predictions, that's a fact.

For building diverse teams I think selecting people based on their skin color would be pretty dumb. Rather pay attention to their background. But you should be putting their skills first in either case.

comment 11y ago · link · parent

But if your project is still small, with a small team you likely don't need that yet. However, if your going to start with a monolith with the intent of going to microservices you had better have strong architectural discipline in the team. Otherwise, with no physical barrier to prevent it, developers are going to fall prey to the temptation of taking shortcuts and reaching across module boundaries, out making chatty APIs that can't be made distributed in a practical manner.

comment 11y ago · link · parent

The Avogadro trilogy of books explore this idea

comment 11y ago · link · parent

The article is saying 10nm is delayed indefinitely. The supporting evidence is not there. Intel is not commenting, and kaby lake likely just means that 10nm will take more time. After 14nm broadwell was delayed a year, this is not a big surprise to anyone.

The day will come when feature shrinkage will end for silicon based chips, but it is not this day. I hope!

comment 11y ago · link · parent

Python is my longest standing favorite language. But after working on a large python project I am cured for life of dynamic languages. I would not use them for anything over ten thousand lines of code ever again if I can help it. Go is now my favorite language.

comment 11y ago · link · parent

My experience is the exact opposite. Maybe we work on very different kinds of problems, or maybe it's just because we're different people.

comment 11y ago · link · parent

Experience. I still don't quite understand it fully, but I'm much more productive in Go than any other language I've used, and I have deep experience in about 8 popular languages and passing experience with another 12. I can list things that contribute to that, but a list of ingredients does not equate to a culinary masterpiece. Other people's experience may vary.

Being a "boring" simple language with limited options for implementation means more focus on the problem and less on the infinite number of ways to solve the problem "elegantly". But there are a lot of other factors too. Static typing helps once the code base gets above 5000 lines, for example. Fast iteration from making a change to running the tests again also helps.

comment 11y ago · link · parent

I'd argue the point is the opposite of learning new things. As the Go team themselves say, Go is an engineering project. It's about sticking to well understood, well defined ideas that allow large teams of typical skill to develop and maintain good software. Go is boring compared to some other languages that push the envelope and try new things. But that can be a good thing if you start thinking like the business owner instead of a code monkey.

comment 11y ago · link · parent

Or just a practical concurrent language with strong libraries that lets you be productive quickly. I'm aware of many of the theoretical benefits of Erlang and Haskell over Go. But Go is still a much better choice for getting things done.

comment 11y ago · link · parent

It's not bad behavior. It's expected one you understand what slices are, and it's a better set of tradeoffs than slices in e.g. python which copies the underlying array.

comment 11y ago · link · parent

The requests were pretty opaque, so I reversed the service object APIs instead. There was no documentation, but with some experimenting I figured out how to call them. Python inspect helped a lot.

comment 11y ago · link · parent

At the end I was probably close to 10% of market volume, by number of trades, in Jita. No way to hide that. There were also players speculating on the forums that I was a bot.

comment 11y ago · link · parent

I was planning to, I had a site setup for buying blackmarket isk and an untraceable distribution plan. I was still growing by 10% a day so even conservatively that could have been a six figure income, assuming sufficient market demand.

comment 11y ago · link · parent

I attached a small DLL at runtime which just called pyeval with a little bootstrap REPL running over a socket. Then I'd connect to it and use pythons introspection abilities to poke around the internal services and their methods. It took some tinkering, but I have no reversing or hacking experience, so it wasn't that hard.

comment 11y ago · link · parent

This has been my experience with python. When I was younger I wanted the fast out iteration times and speed of coding. Now that I work on a large python project I really miss having a compiler. Go offers a great tradeoff with fast iteration time and good speed of coding while scaling to large teams and codebases well. I actually find the iteration time faster than python because the tests run so much faster.

comment 11y ago · link · parent

I was on my way to being an eve trillionaire once. I hacked the game client to make a network of market arbitrage bots. They had human reflexes and took frequent breaks, ate, slept, even took vacations. I had a quarter trillion isk in assets and cash by the time I was detected and banned. OracleOfJita was my main account. Eve is a pretty crazy game with an insane learning curve. Thanks to being a python veneer over a bunch of network services, it's also very amenable to automation.

comment 11y ago · link · parent

We have years. They're passing whether we like it or not. In the meantime you can choose whichever implementation of the Unix tools that you want. In the future there may be more options that fit the bill, developed in a safe language without the kinds of buffer overflows and things that exist in C tools today.

comment 11y ago · link · parent

Missed the indent. I agree then.

comment 11y ago · link · parent

Agreed, but this is for go only, so it's replacing a mix of go and assembly with a mix of go and assembly. How does that make anything safer?

comment 11y ago · link · parent

Because assembly is safer than C? Did you read the article?

comment 11y ago · link · parent

Aeron from Martin Thompson of mechanical sympathy fame uses a custom, reliable protocol over UDP to achieve much lower latency than is possible with TCP solutions. There seems to be a growing awareness that one-size fits all protocols like TCP don't necessarily offer the best tradeoffs, even when you need reliability. https://github.com/real-logic/Aeron

comment 11y ago · link · parent

And because you and most people don't care, you're stuck with TCP instead.
1
174175176
184