Better HN
topnewbestaskshowjobs
Log inSign up

quicklime

2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions

Submissions

comment 5y ago · link · parent

Is being "closer to business problems" really the sole reason? Or even a big reason?

From the numbers I've seen, DevOps people are the best paid of all types of developers, but they aren't closer to business problems than React/Rails devs.

I think it has more to do with the fact that most embedded developers are working on niche platforms and niche problem domains, so they don't enjoy the same level of job mobility as React/rails devs, who in turn don't have as much mobility as a DevOps person.

Moving companies is by far the easiest way to get a pay rise. Job mobility gives you more negotiating power, and thus a higher salary.

comment 5y ago · link · parent

I tried giving it one of the prompts from copilot.github.com:

    def strip_suffix(filename):
        """
        Removes the suffix from a filename
        """
        return filename[:filename.rfind('.')]

    def test_strip_suffix():
It completed the test function like this:

        # test stripping of a suffix
        a = strip_suffix("I_am_file.txt")
        assert a == "I_am_file"
Compare this with GitHub Copilot, which gives:

        """
        Tests for the strip_suffix function
        """
        assert strip_suffix('notes.txt') == 'notes'
        assert strip_suffix('notes.txt.gz') == 'notes.txt'
GPT-J also gave a bunch of explanation on how to use the generated code:

    So this goes in a file called my_file.py and when you run python3.4 -m my_file.strip_suffix you should get the following output
    C:\Users\user\Desktop>python3.4 -m my_file.strip_suffix
    'strip_suffix'

    C:\Users\user\Desktop>

    So the strip_suffix function which strips the suffix from a filename is called as part of a larger code that uses some functions from the file. To tell Python what functions are available in a file you just need to put #-comment characters on the first line and then the functions that you want to use, and the first line will be taken as the function documentation:
    #-*- coding: utf-8 -*-
    #comment
    def func_one():
        '''
        Documentation for function one.
        '''
        print("This is the doc for func_one

comment 5y ago · link · parent

> Ohnishi started Jobs off with flounder sushi, then squid and shrimp...he served toro, the fatty part of tuna

Was Steve Jobs not a vegetarian?

comment 5y ago · link · parent

There was an incorrect example on the copilot.github.com landing page which I was surprised by. I'm guessing someone noticed it because it's been taken off the page.

It was in a file called "find_files.sh", and the command it generated was something like:

> find .... -exec ... {}\;

The problem is that there's no whitespace between the {} and \; and this is rejected by both GNU and BSD find.

It might've just been a mistake that someone made while putting the landing page together. But if it was generated, then how?? I can't imagine there are many (if any) instances of "{}\;" in the training data, since it's not a valid invocation of the find command...

comment 5y ago · link · parent

You're not alone. I find it crazy that you're supposed to write a callback handler, and then register the handler inside a for loop over each server. This feels more like programming inside a framework, than writing a config file.

For complex things, it's nice to be able to do this. But the benefit of having a built-in client is that it works out of the box. This looks like it requires more configuration than many of the existing (n)vim lsp clients, even for the most basic thing: setting up the keybindings.

comment 5y ago · link · parent

Everyone's complaining about ads. But just like on the web, ads aren't the problem, tracking is.

https://twitter.com/RunDaltonRun/status/1408578486046887939

This thing is for tracking what you look at, and is supposed to help the store figure out how to "optimize" their shelf.

comment 5y ago · link · parent

> Bored of boards? Switch to tables.

I love this. I don’t know why the “agile board” became a thing. To me it always seemed like a poor way to visualize what is a list of items.

My problem with agile boards is that they place tasks into separate columns to denote the task state, which often cuts off the task description (and can require a lot of horizontal scrolling). It also prevents using columns for other fields like the Assignee (as the table view in the new GitHub Issues does).

comment 5y ago · link · parent

Unions will never take root in the tech industry because the workers see themselves not as an exploited proletariat but as temporarily embarrassed top performers :)

Even Amazon FC workers, and SV employees who had their wages suppressed by illegal collusion, it seems.

comment 5y ago · link · parent

Agree. Some people have modeled this, and attributed emissions back to household consumption:

https://www.researchgate.net/publication/289373031_Environme...

comment 5y ago · link · parent

For me, it's reducing me down to a set of "$X years experience with the $Y language/framework/tool" dot points.

Followed closely by "how much are you currently earning?"

comment 5y ago · link · parent

> I don't know how much of the file is frameworks and how much is responsible for making editable code

I don't think very much. This is a contenteditable <textarea> element with a CSS transform to project it onto the screen in the photo.

From digging through the minified js, there's just a small amount of code that sets it up and puts some canned text in there (of which there are a few choices, but still not a huge amount).

comment 5y ago · link · parent

I agree with the point about non common top level domains. I was considering getting firstname@lastname.email at one point, but decided against it because I imagine I’d have to explain the concept of the .email tld to a lot of non technical people.

comment 5y ago · link · parent

You're not an outlier, many people (myself included) feel the same way.

> So I think it's awesome that some people want to do this work. I hope they do it full-time, and that lets me do my thing full-time.

If you're lucky and your company lets you pick whether you want to apply for a SWE role or an SRE role (like Google), then it will work out ok. But a lot of companies just used "DevOps" as an excuse to get rid of their ops teams and dump the work onto the dev teams.

Some places take it a step further and get quite toxic, and have a culture where there's a complete lack of sympathy for engineers who have a heavy oncall load. The idea is that their code is shit so they deserve to be woken up in the middle of the night, as some sort of punishment.

comment 5y ago · link · parent

Other than digital forms?

The printer at work, which is free and convenient if you work in an office.

Or the one at the local copy shop, which is 10c a page. I probably spend ~$1/year printing out forms, there aren’t that many left…

comment 5y ago · link · parent

> If you must use your phone, set it steady and level, in portrait orientation.

This may be good advice for Zoom, but is bad advice for Microsoft Teams.

When Teams displays your portrait-shaped video in on a computer, it crops the top and bottom to make it fit in the grid view, which has landscape rectangles. So what you're left with is a zoomed-in picture of your nose (or thereabouts).

> Video and audio quality need only be adequate...microphone in your laptop are sufficient

This one's questionable. I've got an external microphone and that the difference is huge. I would suggest people try to record themselves using a voice recorder app (there are websites that do this) and play it back just to test.

Good audio is probably more important than anything else IMO. Sure, some interviewers will have hangups about whether your home is tidy or whether you're dressed well, and these biases might unfairly change their assessment of your skills. But being unintelligible causes actual misunderstandings and slows communication.

comment 5y ago · link · parent

On the other hand, where I live the marginal cost of an extra bedroom (to put a home office in) for a city apartment is about $1000 a month. In some higher cost of living cities it will be more.

It’s be cheaper out in the suburbs, but even then it might be another few hundred a month.

I’m surprised that people are talking about things like electricity costs when real estate costs are so much higher.

comment 5y ago · link · parent

My favorite was:

> Facebook engineers rave about Phabricator, describing it with glowing terms like “okay” and “mandatory”

comment 5y ago · link · parent

If you're looking for an issue tracker to use with Gerrit, that's open source and developed by Google, you could try Monorail: https://chromium.googlesource.com/infra/infra/+/refs/heads/m...

comment 5y ago · link · parent

Your friends might have to form a union to stop you from exploiting them through this app.

comment 5y ago · link · parent

I had the impression that it was like a dynamic version of https://xkcd.com/891/

comment 5y ago · link · parent

I wish that code smells were a sign that this is about to become dead, but where I work that’s not the case :(

comment 5y ago · link · parent

Dupe of https://news.ycombinator.com/item?id=26908076

comment 5y ago · link · parent

This is a much better way to do it imo. The 5 minutes at the end is usually just a courtesy, and the interviewer isn't expecting to get grilled.

Some (not all) hiring managers even treat this as an additional way to assess you, to see if you're the type of person who has done their research on the company and asks intelligent questions.

Much better to set expectations upfront and ask for half hour chat with the hiring manager (or even other team members such a tech leads) separate to the interview.

comment 5y ago · link · parent

> Bitcoin is a way to convert cheap or excess energy anywhere in the world into money, much of it renewable or energy that would go to waste.

Is there somewhere where I can get good data on where the electricity for Bitcoin mining comes from? The article itself says this:

> And the electricity the Bitcoin miners use overwhelmingly comes from polluting sources.

comment 5y ago · link · parent

Wearing a cloth mask in a community setting is like leaving your pants on while dry humping someone. It will reduce the chance of pregnancy :)

comment 5y ago · link · parent

Yep, that's why I used the word "harder" instead of "impossible". At that point, the situation would be within my threshold of acceptable risk.

comment 5y ago · link · parent

For that particular situation, I'd stay silent. I agree there's a risk, and that this is a problem.

Longer term though, I'd make sure we hire female investors into my VC fund. I'd take them along the journey of investing with this startup, and if I felt a female CEO needed to be replaced with a man, I'd discuss this with my investment partners. Any harsh feedback, if given, would be coming from all of us, and a mixed panel would be harder to accuse of sexism.

1
567
19