Better HN
topnewbestaskshowjobs
Log inSign up

coverup

296 karma · joined Nov 20, 2014 (12y ago) · 83 submissions

he/him
Submissions

comment 3y ago · link · parent

Where's the fallacy? She's saying the only systems that are beautiful are the ones that haven't been forced by massive spontaneous adoption to scale faster than the developer(s) can come up with and implement a beautiful design to meet the new requirements.

Maybe you think if the original system were _really_ beautiful and of high quality, it would have scaled with the adoption on its own, with no need for ugly patches... but in that case the original system would have had the capacity to do a lot more than what was originally required. It would have been overengineered, in other words, and it would have been more beautiful if it had met its original requirements more cheaply.

The notion that a sudden change in requirements that must be dealt with quickly results in an uglier system seems fairly straightforward to me, and certainly not offensive.

comment 4y ago · link · parent

Larkin is a poet who "comforts the disturbed and disturbs the comfortable." I often return to his poem Aubade [0], in particular the idea that "death is no different whined at than withstood," and that in the meantime, "work has to be done." Chop wood, carry water.

[0] https://www.poetryfoundation.org/poems/48422/aubade-56d229a6...

comment 4y ago · link · parent

I find these types of questions invaluable as an interviewer, at least for mid-level to senior roles. And you're right, I am looking for an actual story, not just the lessons learned.

The problem with just asking about lessons learned is that anyone can memorize and rattle off a set of best practices they found in a blog post somewhere. That doesn't tell me whether they have relevant experience or not. Asking to tell me about a time when X happened and how they dealt with it cuts right to the chase, and I'm afraid there's a big difference in a response that comes straight from memory and one that's fudged or invented. The initial story might be great, but most people visibly struggle to keep inventing answers to probing follow-up questions about what happened. ("Did you consider Y as a solution? Would it have worked in this case?")

I sympathize, though - it's not like our brains have all our work experience indexed and readily available. The interviewer's choice of X is crucial. If the prompt is too specific, most candidates genuinely won't have a good answer. Too general and it won't help select for this role in particular.

An incidental nice thing about this type of question for candidates is that it can give them a sense of what this role at this company is actually like without their having to ask. I often even phrase it as "One of the challenges we're facing as a team is X. Can you tell me about a time when you faced something similar?" The discussions that follow tend to tell me loud and clear whether the candidate is a fit for the role.

Now, although I'm claiming fake stories are easy to spot, I don't know what I don't know. It's possible someone has taken me for a ride and I ended up giving them the 'strong yes'. I don't think there's anything wrong with that. If you're able to craft a sufficiently detailed fake story and talk about it off the cuff for a while in depth, then you probably have enough relevant experience anyway!

comment 4y ago · link · parent

While it makes sense that the police would unionize for the same reason any other workers would, your second paragraph seems to contradict your first.

Your proposal to shift responsibility for "policing the police" up to elected officials means weakening police unions, does it not? Is there a political body out there that's even more fundamentally in support of police autonomy than police unions?

comment 4y ago · link · parent

¯\_(ツ)_/¯

comment 4y ago · link · parent

I like this. Here are a few more:

"We maintain a lot of BAZ we think no one needs anymore but we don't know for sure" is called a Yikes.

"You just have to know which alerts matter and which don't" is called an Uh-oh.

And of course "securing the QUUX wasn't an explicit requirement for launch so we haven't done it yet" is already called a vulnerability.

comment 5y ago · link · parent

Just to add some color to your comment as I think the idea that philosophy can be therapeutic is counterintuitive for a lot of people: consider the loneliness of depression, a big part of which (at least for me) is the seemingly insolvable problem of being trapped in my own head. "No one else could possibly understand how I feel" seems to be true not even just for me, but for the human condition. We're not mind-readers.

Nonsense, Wittgenstein seems to argue. If no one else could understand how you feel even in principle, then neither could you. If you can talk about it then people will understand, because we use the same words the same way. And when we don't, it's not because of some kind of epistemological solitary confinement - it's just a misunderstanding, and there are language games for resolving those too.

You don't have to read philosophy to know that "no one else could possibly understand how I feel" is actually a common sentiment, though. The truly therapeutic part for me was the idea that even though there may be problems that can't be solved, they can sometimes be dissolved. (i.e. seeing the problem statement itself as nonsense)

comment 5y ago · link · parent

It seems more likely to me that it's not a misspelling of "monjita" but rather just a naive application of the Spanish -ito/-ita diminutive suffix to "Mongo".

comment 6y ago · link · parent

This is great! I recently built a similar thing because I wanted to learn more about WebRTC. Fun to see someone else's take.

https://tmpch.at

comment 6y ago · link · parent

The US will suffer if its international students can't get an education here without being told by the government to pack up and head for their favorite Caribbean island because we don't value their desire to contribute to our society.

comment 6y ago · link · parent

> This mentality leads to systems that are a mess of callbacks, don't scale, and practically impossible to maintain.

Why would it? I can put the same types of abstractions into my application layer in the form of a common library. Only difference is they can be a lot fewer and simpler because they only need to meet my exact requirements.

I often do make the same argument about SQL databases in cases where RDBMSs are not an appropriate tool for the job. In the case I mentioned, where I'm using it as a shared datastore that supports ACID transactions with concurrent access, I find Postgres (and many others, including many NoSQL stores) to be suitably placed in the abstraction spectrum to be worth using rather than rolling my own solution.

comment 6y ago · link · parent

Sure! To start, just fundamentally—why assume workflows are DAG-shaped? Why no cycles? Lots of real-world processes contain unscheduled repetition that arises at "runtime."

Or what if I can only find out what the rest of the workflow looks like once I'm halfway through it? Why must workflow definitions be static? No "decision" elements as in a flowchart?

Someone might read these complaints and think I'm asking for a programming environment rather than a workflow tool, and that's kinda my point :P

The "unnecessary" side is typically project-specific, but I tend not to need a separate notion of `backfill`, or any of the `Executor` functionality for distributed execution. I suppose if I needed to run stuff on multiple nodes I would just schedule jobs on Kubernetes directly.

comment 6y ago · link · parent

I'm gonna go out on a limb and say any purported workflow tool that comes with a data model you have to memorize (i.e. "Before we start building a workflow, let’s learn a little about the components of an SWF") is too complex to be effective.

My problem with tools like these is that I already know the components of an "SWF" or whatever—these are the tasks I have that need to be run/managed. When a tool starts telling me what the architecture needs to look like, then it stops being a helpful tool and starts being a little know-it-all.

My favorite workflow tool is actually two pieces of software: cron and postgres. Cron schedules tasks and postgres handles shared state. It's easy enough to whip up an ACID-compliant task queue in SQL that has whatever bells and whistles you want, and all cron wants is a command to run and a schedule. No need to read a bunch of documentation about what a "task" is supposed to be vs. an "activity" vs. an "execution" or anything like that.

Of course, what my setup does not do is provide common functionality out of the box like "just gimme a way to kick off a series of FS-dependent tasks every day and record errors/halt if anything fails." I don't mind. It's not like Apache Airflow (just to give another example) has saved me from having to think about and express my system's dependencies and failure modes—it has only put a lot of unnecessary and unhelpful constraints on how I am able to express them.

comment 6y ago · link · parent

Dunno if it was you or someone else who clicked your link but it was nice chatting with a couple folks just now :)

comment 6y ago · link · parent

Source for the curious:

server https://github.com/nmyk/nmyk.io/blob/master/pkg/tmpchat.go

client https://github.com/nmyk/nmyk.io/blob/master/web/assets/tmpch...

16.

Show HN: Tmpchat – minimal text chat over WebRTC(tmpch.at ↗)

3 points · by coverup · 6y ago · 3 comments

comment 6y ago · link · parent

By "issues" I mean software defects.

comment 6y ago · link · parent

Fair enough. I would say if the way someone uses the Go "enum pattern" is causing them to have issues with type safety then their code could probably use a refactor, but the point does stand.

comment 6y ago · link · parent

FWIW, there's a slightly more concise way of expressing this in Go:

    type state int
    
    const (
        on state = iota
        off
    )

comment 6y ago · link · parent

A somewhat related idea: the discovery that light is an electromagnetic wave falls right out of Maxwell's equations in a vacuum. Simply rearranging terms yields two wave equations in 3D - one for the electric field, and one for magnetic. The term in both wave equations representing the speed of propagation (i.e. the speed of light) is a constant. It depends only on the physical properties of the vacuum, which never change as far as we know. That means an observer traveling at any constant velocity with respect to light will always measure the speed of light to be the same. Maxwell died in 1879 at the age of 48. It is not only plausible but likely that he would have come up with special relativity had he lived a bit longer, and also likely that it would have been years before Einstein published his 1905 paper on the subject.

So in addition to the Stigler's law [1] situation with Heaviside, the formulation of special relativity may have been more or less inevitable after all of Maxwell's laws were put in the same room together. Not that Einstein wasn't a once-in-a-generation talent, but the reality of how progress is made in science is often glossed over in favor of assigning glory to particular individuals.

Even Maxwell's laws taken individually are named after different people, but together they all belong to Maxwell. I get that this practice is intended to be a convenient way to put a label on an abstract concept rather than a way to write history, but I still think it has an effect on how we think and talk about the history of science.

https://en.wikipedia.org/wiki/Stigler%27s_law_of_eponymy

comment 6y ago · link · parent

Yeah this is where it would have helped if I had discussed what I meant by "new".

AlphaGo is a supervised learner that outputs optimal Go moves given opposing play. It yields new discoveries in the same sense that a model designed to predict mechanical failures from labeled sensor data would: I didn't know what the model was going to predict until it predicted it, and now I know.

But what the factory owners want is a machine that can take raw, unlabeled sensor data and predict mechanical failures from that. They want insights. "Why not just feed all our data into the model and just see what comes out?" they ask. "I don't see why we need to hire at all if we have this neural net."

The reason you need a human somewhere in the system if you want insights is because someone needed to program AlphaGo specifically to try to win at Go. At the factory, someone needs to tell the machine what a mechanical failure is, in terms of the data, before it can successfully predict them.

Then, neither "winning at Go" nor "mechanical failure" are states that the system hasn't already been programmed to recognize. That's what I mean when I say a supervised learner cannot generate "new" output.

comment 6y ago · link · parent

Yep, you and the user you're replying to are both right in different ways. One thing's for sure - machines don't generate "insights" on their own.

Let's define an "insight" as "new meaningful knowledge", just for fun. We could talk about what comprises "new" and "meaningful" but it would be beside the point I'm making.

In a supervised learning problem, the range of possible outputs is already known, meaning the model output will never be categorically different from what was in the training data. The knowledge obtained is meaningful as long as the training labels are meaningful, but it can never be new.

Unsupervised learning doesn't have a notion of "training data" but that means an unsupervised model's output requires additional interpretation in order to be meaningful. It is possible to uncover new structures and identify anomalies in new ways, but this knowledge isn't meaningful until someone comes in and interprets it.

Applied to the specific example where sensor data is used to try to generate insights about machine functionality: Either you can only predict the types of failures you've already seen, or you can identify states you've never seen but you wouldn't know whether they mean the system is likely to fail soon or not.

It's the Roth/401(k) tradeoff. For model output to be useful, someone must pay an interpretation tax. The only choice is whether it is paid upon insight deposit or withdrawal.

comment 6y ago · link · parent

Reminds me of a quote from Picasso: "When art critics get together they talk about Form and Structure and Meaning. When artists get together they talk about where you can buy cheap turpentine."

I can appreciate the type of conceptual art you're talking about as like a commentary on the very context it has ended up in, or as a way to question what makes us call an object "sculpture" vs. "garbage", or whatever. But I'm with you. I want to see folk art, outsider art, works-in-progress, beginner projects, and new experiments - both to connect with the community around me and so I can steal some of what I'm seeing to adapt for my own projects.

I like to do the critic thing too, but for me experiencing the products of art does not get me nearly as excited as experiencing the processes of it, whether I'm the artist or someone else is.

comment 6y ago · link · parent

Welcome to NeverPivot.mvp! We're thrilled you decided to take the next step in your career as a NeverPivoter. Your job is to add features to the product, period. More features, better job title. That's all we can afford to do for you for now! No one with any useful experience works here, so have fun and be scrappy :)

comment 6y ago · link · parent

This is what I like to do. In my case, even the CI/CD host is just a systemd service I wrote.

The service just runs a script that uses netcat to listen on a special port that I also configured GitHub to send webhooks to, and processes the hook/deploys if appropriate.

Then when it's done, systemd restarts the script (it is set to always restart) and we're locked and loaded again. It's about 15 lines of shell script in total.

comment 6y ago · link · parent

Wait a minute, I thought software was the one emulating grunt worker functionality this whole time!

comment 6y ago · link · parent

There are parts of SQL that are crufty by that definition. For example, COMMIT; and COMMIT WORK; are two different statements that do the exact same thing according to the SQL standard.

Perhaps trivial cruft but cruft nonetheless.

comment 6y ago · link · parent

Just saw this again - I listened to that track and really enjoyed it! I typically go for softer, more melodic stuff, but there is still a teenage metalhead in me that really digs this.
123