Better HN
topnewbestaskshowjobs
Log inSign up

antics

4,248 karma · joined Aug 13, 2010 (16y ago) · 545 submissions

clemmer.alexander@gmail.com alex@moment.dev
Submissions

comment 8y ago · link · parent

What a strange thing to see on HN. I am from Wasq'u tribe, and one of the very few people on the planet who has a dictionary for Kiksht Awawat, the dialect of upper Chinook from which the Chinook Wawa borrows many words.

There are perhaps 3 fluent or mostly-fluent speakers left.

I am also one of the only descendants actively attempting to learn the language. I travel 5 hours down to the Warm Springs reservation Sunday to work remotely and learn the language, and commute back up on Wednesdays.

There are many anthropologically interesting things about learning the language:

- Languages die like people. The speakers have forgotten useful things, like "brown".

- The language is well-tuned for a way of life that has been more or less obliterated. It is a river language, and the idioms/vocabulary/etc. are geared towards fishing. But the Dalles dam destroyed the fishing ground. The language will never be what it was.

- The Kiksht dictionary would be very useful to the speakers of Chinook Wawa on the Grande Ronde reservation, but because the tribes dispute land, the Confederated Tribes of Warm Springs won't give them the dictionary.

comment 8y ago · link · parent

Wow I thought this was dead! I wrote this please feel free to ask questions. :)

213.

Show HN: Kubespy, a CLI tool for observing Kubernetes resources in real time(github.com ↗)

99 points · by antics · 8y ago · 3 comments

comment 8y ago · link · parent

Ah, someone beat me to submitting it.

I wrote the `kubespy`, the OSS tool which this post is about. Happy to answer questions if people have them.

comment 8y ago · link · parent

Pulumi is meant to replace CloudFormation/ARM Templates/Kubernetes YAML. So if you write those things to provision infrastructure, this could be for you.

If you are writing (e.g.) Rails code that you `git push` to a PaaS like Heroku, then they're provisioning this infrastructure on your behalf. So this is a bit lower level than that.

comment 8y ago · link · parent

I was a part of the alpha testing and I liked it so much I added Kubernetes support in my free time.

A thing I notice about the space is that existing tooling tends to be very focused on a specific persona (e.g., ops), and when you want to do anything outside those use cases, it starts to feel like you're jamming a square peg into a round hole. So, e.g., Go templates/sed/awk work great if all you want to do is template a couple YAML files, but if your use cases is even slightly more demanding (sharing, dependencies, transforming), it gets painful quick.

Using a "real language" makes all of this much simpler. You can write tooling that captures the needs you actually have. If you have an ops team that wants a mostly-declarative or mostly-hermitic API, you can write that, and you don't have to map it to CloudFormation, ARM templates, Terraform, etc. Huge win. You can write JS/TS/Python libraries that provide secure defaults for your core infrastructure components. You can use standard dev tools to audit and refactor code you've written.

In Terraform, modules have proven to be very useful. For Pulumi, I'm interested to see what the tooling ecosystem will look like as the product becomes more mature.

comment 9y ago · link · parent

The original idea was to write little entries as we continued the Linux port, explaining why certain things are they way they are -- a sort of tour of a very serious production system. I still love the idea, but unfortunately, I think it is safe to say that this goal failed. :(

comment 9y ago · link · parent

I'm a co-author on the paper, and a couple of interesting quick notes:

* BitFunnel processes every query that comes into Bing, but (at least when I left MSFT) indexed "only" the superfresh tier.

* Dan and Mike spent a few months removing cruft and porting it to Linux before we open sourced it: https://github.com/BitFunnel/BitFunnel

* It did win best paper at SIGIR (probably the most prestigious IR conference) this year.

comment 9y ago · link · parent

I work at Microsoft (though not on the WSL team), and my opinion is that this article (and, in particular, this title) has undesirable and somewhat misleading implications.

It is important, I think, to view this as something closer to a _Linux-flavored development environment_ rather than a stand-in replacement for the Linux kernel, or the OS that sits around the Linux kernel. It is closer to being a much better version of Cygwin or a version of Docker that (e.g.) can access parts of the Windows filesystem than it is to being a stand-alone, full-featured version of Linux that can run Linux executables.

This might seem like a trivial distinction until you look at what WSL is not going to be good at. One example, at one extreme, is pretty much anything that depends on gritty systemsy programming, like a database. To understand why, consider how WSL is implemented vs a more traditional type of hardware virtualization that the hypervisor provides. At a high level, the goal of a hypervisor is provide an API that looks mostly like what guest OSs would use if they were interacting directly with the hardware, but in a virtualized setting, so that many guest OSs can run on the same box. The trade off is, a database gets to run on the actual implementation of Linux, which it is optimized for; the downside is, you basically have 2 OSs to go through: the guest OS, and the hypervisor it sits on.

WSL is different. Basically it ships the Linux API, which is largely the syscall table. One way to think about it is as a syscall table whose implementation is mapped to very low-level Windows kernel primitives; notably this is different than the Cygwin, which maps Linux syscalls to Windows syscalls. WSL actually starts with a process that has a completely blank memory space, and populates it with largely kernel ABI-compatible memory space, and maps syscalls like `fork` (which are incompatible with the Windows process model) to deep, non-public kernel APIs. Since Linux does not ship libc, this is actually reasonably tractable to do, because the API surface is quite small (comparably).

The trade-off of this is that the implementation of WSL's "Linux" is _different_. But systemsy code like databases are optimized for the Linux implementation of the Linux syscall table, which means they will be distinctly less performant on WSL than real Linux.

If you want to understand the gap in performance and capabilities, consider that Solaris largely did this with Linux-branded Zones. If you've ever tried to run server stuff on something like Joyent's container cloud, you'll notice that it's great for some things and awful for others. The key here is, Solaris is a POSIX, so the mapping is relatively easy. The Windows team, to their credit, have a problem that is several orders of magnitude harder, and so you should plan for the gap accordingly.

comment 10y ago · link · parent

Huh, is it really true that Reservoir Sampling is not well-known? It was part of the standard curriculum in my top-30-but-not-top-10 CS school, the University of Utah. I think that even a significant subset of my cohort could explain the correspondence between this and the Fisher-Yates shuffling algorithm.

221.

How bad is the Windows command line really?(blog.nullspace.io ↗)

8 points · by antics · 10y ago · discuss

comment 11y ago · link · parent

My favorite part about this is the introduction, where the authors relate functional programming to Haiku and Karate. Haiku and Karate are both intricate, beautiful, highly regimented arts. But only one is useful in a bar fight, and the people who are its victims don't know about the craft, or why it's effective.

So, the paper asks: which is functional programming? Haiku or Karate?

(EDIT: And, more personal note: Dan, thanks for posting. :) I assume since you posted this later, you got it from my Twitter, in which case you should also look at the Butler Lampson/Erik Meijer talk that I heard it from, and which I've been trying to get you to watch: https://channel9.msdn.com/Shows/Going+Deep/E2E-Erik-Meijer-a...)

comment 11y ago · link · parent

SUA was not half-baked, this is a very, very hard problem. There is a very serious difference in the way POSIX and Windows model a lot of really important OS primitives, from asynchronicity model in signals, to the semantics of syscalls like `fork`. Every process using these primitives on POSIX has specific behavior defined under those primitives, and if you don't choose _exactly_ the right behavior on the POSIX subsystem in Windows you will definitely break programs.

So, no. You can't "just" implement a POSIX subsystem correctly. These systems are just not compatible. It will always be half broken.

comment 11y ago · link · parent

You are of course free to consult your employer and draw your line however you like.

For me, I'm comfortable saying that I don't speak for the company and leaving the numbers within an order of magnitude. When it becomes my job to decide which numbers are and aren't fit to talk about publicly, I'm happy to update you.

comment 11y ago · link · parent

I doubt it is, and I don't think I'd get in trouble for sharing it.

But, it's not my job to decide whether or not that information should be shared, because it's not my job to speak for the company.

I'm having a hard time understanding why people think this is not a reasonable position.

comment 11y ago · link · parent

Not sure I understand your point. The source the article refers to claims Windows XP is ~45 million LOC, not me. I myself didn't give any specific numbers about the size of the codebase.

Now, I don't think anyone would come for my head if I did give you a number -- what harm could it do, after all? But, personally, the line I draw is that I don't get too specific about internal data beyond a general order of magnitude, because I'm not here to speak for the company.

comment 11y ago · link · parent

I can't say. I work here, but I don't speak for the company.

comment 11y ago · link · parent

Just because people are talking about it: I work at MSFT, and the numbers Wired quotes for the lines of code in Windows are not even close to being correct. Not even in the same order of magnitude.

Their source claims that Windows XP has ~45 million lines of code. But that was 14 years ago. The last time Windows was even in the same order of magnitude as 50 million LOC was in the Windows Vista timeframe.

EDIT: And, remember: that's for _one_ product, not multiple products. So an all-flavors build of Windows churns through a _lot_ of data to get something working.

(Parenthetical: the Windows build system is correspondingly complex, too. I'll save the story for another day, but to give you an idea of how intense it is, in a typical _day_, the amount of data that gets sent over the network in the Windows build system is a single-digit _multiple_ of the entire Netflix movie catalog. Hats off to those engineers, Windows is really hard work.)

229.

Mesosphere and Microsoft Bring Mesos to Windows Server(techcrunch.com ↗)

10 points · by antics · 11y ago · 2 comments

comment 11y ago · link · parent

It's worth noting that the Mesos project will actually be renaming "slave" to "agent." cf. https://issues.apache.org/jira/browse/MESOS-1478

comment 11y ago · link · parent

I am employed at MSFT. This post (currently the top post) is factually incorrect on basically every level, both on subjects that look good for the company, and on subjects that don't. I'm stepping in to correct this because it's better that people understand honestly where we are and aren't doing well, then it is to have ridiculous rumors spread by people who shouldn't talk about what they don't understand.

Bing is under Qi Lu, full stop. Lu is very senior VP who reports directly to Satya Nadella. Bing is NOT split among Qi and 4 of his VP peers. It IS true that Lu has split the responsibilities of managing Bing up among SOME of his direct reports, almost all of whom are themselves VPs. But the idea that there is no real "Bing org" anymore is just completely and totally wrong. They all answer to Lu, and they've split responsibilities along sensible boundaries, so that things like UX are under one VP and infrastructure is under another VP.

Second, Bing does not have 20% market share "plus" Yahoo's market share. Bing and MSFT properties like MSN have 20% market share. Yahoo has 12%. You can't just credit Bing with Yahoo's market share. That's a search experience they work hard on, and the fact that Bing powers Yahoo is largely immaterial to their consumers, who come to Yahoo for the Yahoo experience. They could switch to Google tomorrow and the vast majority of consumers would not notice or care. Truthfully, the biggest (and arguably only real) benefit for Bing is the increased ad revenue.

Third, Bing IS profitable. This is well-known and reported on.

Fourth, it is basically completely untrue that "nobody" buys Bing ads. Obviously it would not be profitable if that were true. Furthermore, the supposition that you should buy ads based on market share of the search engine is hilariously wrong. You should purchase ads on the platform where they will be more successful. A lot of times this is Google; sometimes this is Bing. The fact that the parent got this wrong basically indicates that they are not to be trusted on this subject, at all. If the poster doesn't know what they're talking about here, it's better to just stop talking then it is to provide information that is wrong or harmful to people listening in.

comment 11y ago · link · parent

Let's be clear that this is really terrible advice for every company except very, very small companies.

An HR department is not a "big company" thing that's there to get in your way. Its job is to do things like (e.g.) protect the company against liability in messy sexual harassment scenarios or (e.g.) hiring discrimination lawsuits.

The substitute for this functionality is not goodwill or "just doing the right thing" because this role necessarily involves a detailed understanding of employment law. If you disregard this department when building your company past, say, tens of employees, you are basically certain to be in for a bad time later. The book is written here by companies like GitHub, who have had major scandals that could have been prevented mostly or wholly by a competent HR department. If you look at their example and don't learn, then you are a fool.

comment 11y ago · link · parent

> But I hope that other conference organizers do not follow suit, and I hope that true technologists in turn shun StrangeLoop for conferences that care about technology first, and instead attend conferences that refuse to ban innovators who haven't violated the code of conduct.

This is precisely my point: other conferences already have followed suit, and they are not going to be shunned by the larger tech audience any time soon. A lot of important conferences would have done precisely the same thing. PyCon and xoxo to name two I know for certain.

In fact, to be honest, I'd go much further. If you polled the organizers of these conference, I think they would probably mostly say that if you are the sort of person who thinks that the moldbug affair is a great piece of injustice, you probably won't fit in at the conference they are trying to create. Fundamentally these measures are made to exclude people like you from the bunch, and shunning the conferences won't make that go away -- I actually think this is the goal.

comment 11y ago · link · parent

I recently helped organize a conference.

Since it is apparently not obvious to many people, I'd just like to point out that amongst conference organizers, it is an extremely common belief that your primary responsibility is to deliver a good conference experience to your conference-goers. This is not just a belief StrangeLoop holds -- it is a belief that many beloved tech conferences have (e.g., PyCon), and if you think this can't happen at your conference, you are likely in for a surprise when/if something rough happens to that venue.

In fact, this claim is stronger than you might think. This belief is prominently reflected in pretty much every decision every conference makes. People choose codes of conduct to deliberately exclude some people and certain behavior. They make you "apply" to go to their conferences so that they can hand-pick attendees to fit whatever criteria they have for their crowds (e.g., xoxo). People select talks and their speakers to fit profiles they want.

And so on.

I can name on my hand the number of people I've met who organize conferences, who believe their job is to provide a fair platform ideas. It's just not the way people seem to think.

comment 11y ago · link · parent

I work for Microsoft. As you can imagine, this is a problem we have devoted a considerable amount of energy to thinking about. A lot of this discussion has revolved around comparisons to previous solutions (particularly Cygwin and Interix/SUA), but I think it's worth backing up and thinking about what the fundamental limitations of implementing something approaching POSIX compliance in userspace. I will try to tell the story more or less as it is told internally by the people who built these things from scratch.

To be transparent, I am sort of worried that the authors have told us in this thread that they think the number of applications that "really need" `fork` is small, and that the discussions about POSIX subsystems on Windows are overindexed on discussions about `fork` without justification.

The truth of the matter is that the semantics of `fork` infect every API that creates process state. Every library, every syscall that creates process state will have a clear answer for what happens when a process that is using that bit of process state calls `fork`. This includes file and socket management, IPC stuff, threads, signals, and so on. To make `fork` work properly on Windows, you absolutely need to replicate what UNIX does here, or you will break a lot of apps, because make no mistake, a lot of apps depend on these semantics to work correctly. `fork` is not just a function that occasionally gets called and sometimes needs to be fast for people who are calling it. It is core to the semantics of the POSIX API, and if you don't treat it as such you are in for a bad time later.

Perhaps more worrying, though, is that there is a serious impedence mismatch between the UNIX and Windows models of asynchrony. Particularly in the case of sockets and signals, this difference is immense, and I am extremely skeptical we will find a good (or even close to production-worthy) solution in usermode. Maybe these good folks have found something I have missed; to me the approach just seems doomed.

And of course, this is all just the start of the problem. It is a much longer trudge to solve the "real" problem, which is immense. The original Interix POSIX subsystem in NT 3.5 (I'm told) had a `fork` that was just barely enough to pass the 1003.1-1990 validation suite, and fell over quickly if you pushed much harder. But they didn't have to mess with the `fork` implementation to turn that 67kloc into the more robust and conformant SFU 3.x; it was mostly a long tail of things extrernal to fork that just needed to be ironed out.

On top of that, to really have `fork` interop, you would likely need to redefine every Win32 API so it did the "right thing" under UNIXy things like signal delivery and fork, and that is a truly, terrifyingly tall order.

comment 11y ago · link · parent

One important thing to remember about MSFT is that more than half of the company is "the field" -- sales, evangelism, operations, and so on.

The stack ranking system is and was hugely popular with this org. It is popular nowhere else.

MSFT still likes to think of itself as an engineering company, but it is hard to have a tail that big and not sometimes accidentally wag the dog. Stack ranking is probably the best example of how true this is.

EDIT: To add some color to this tale, a Technical Fellow once told me that during the "rank and yank" period (when everyone was ranked and the bottom 10% were effectively fired) he was continually on the verge of quitting. If you are doing something like inventing the CLR, and you hired 5 of your favorite engineers, how are you supposed to react when someone tells you that it is imperative to fire one of them per year? What could the point of that possibly be? This is more or less a common sentiment among extremely senior engineers who ran important orgs at that time.

237.

FoundationDB proves the datastore is the worst place in your stack to take risks(blog.nullspace.io ↗)

7 points · by antics · 11y ago · 1 comment

comment 11y ago · link · parent

On the one hand we have lay people (including Altman and Musk) who are warning that AI is progressing too fast. On the other hand you have (essentially) the entire mainstream academic AI/ML community, who are mainly concerned that the hype is so intense it might lead to another AI winter[1].

The crux of the problem is that AI experts largely do not see meaningful progress on any axis that makes an AI doomsday scenario plausible, which causes staunch disbelief and ridicule of people who write things like this.

So realistically if we want to resolve this issue, the place to start is not public policy. That's actually part of the problem -- tech policy is bad largely because it is mostly legislated by people who don't understand the technology. We have to start with a discussion about how this progress towards doomsday AI should be measured, and then formulate policy to directly address those scenarios. As long as Altman et al are extrapolating on axes I (for one) don't understand, I honestly think this conversation is unlikely to be productive.

[1] Most notably, a similar hurrah happened when neural networks first became popular. There were some promising early results, which led to much enthusiasm, and then Papert and Minsky published "Perceptron", whose Group Invariance Theorem cast aspersions on whether simple neural networks were really doing what we thought they were. Eventually we found out that many early experiments just had a bad methodology, which very nearly stopped research interest in the field for almost a decade. Now we are in a period of AI hype again, and when you hear people like Andrew Ng get up in front of audiences and say things like "for the first time in my adult life I am hopeful about real AI", you might start to wonder whether there is a lesson here.

EDIT: Friends, I am confused by the downvotes. :) I am happy to have a discussion about this topic!

comment 11y ago · link · parent

The LINQ API is modeled after relational algebra (where `Select` acts as projection, and `Where` acts as selection, etc.), which is as good a basis for operations on collections as anything. It is not even clear that other popular names have precedent, let alone especially useful expressive power beyond what normal relational algebras afford.

Besides that, one of the early intents behind LINQ was to allow a language-integrated ORM, so LINQ's choices for names are actually extremely appropriate.

1
789
19