News for hackers. Stuff that matters.

triztian

Re:My Favorite Vim Oneliners for Text Manipulation on Saturday August 05, 2023 @09:58PM (#37018235)
Thank you!
Re:My Favorite Vim Oneliners for Text Manipulation on Saturday August 05, 2023 @08:32PM (#37017698)
This is pretty cool! would you mind sharing the command to remove it too?
Re:Julia 1.6 Highlights on Thursday March 25, 2021 @05:34PM (#26585700)
I'd love to be able to contribute to this, somewhat new to Julia, but I'm sure I could help with something ...

Do you have any links to what has been currently done?

EDIT: Found this thread so far: https://discourse.julialang.org/t/statically-compiled-and-st...

Re:Julia 1.6 Highlights on Thursday March 25, 2021 @05:32PM (#26585680)
Thank you for your reply! PackageCompiler looks like the right way.

Do you happen have any links to the static binary procedure? Or links to the current state of efforts for this?

Re:Julia 1.6 Highlights on Thursday March 25, 2021 @12:56PM (#26582601)
I’ve also looked for this, does it mean that I have to install julia on the target machine and it’ll recompile when running?

Or are there steps to produce a binary (much like Go or C or Rust)??

Re:Fish Shell 3.2 on Monday March 01, 2021 @03:34PM (#26308024)
Same here, used it for about a year but ultimately had to switch to bash/zsh variants because of compat. Servers were always bash and I always had to translate my fish scripts to zsh/bash shell when collaborating with colleagues.

I wish it'd be more popular and preinstalled on servers and macOS.

Re:CS193p: Developing Apps for iOS on Wednesday February 10, 2021 @11:55AM (#26091666)
As an iOS engineer with native and flutter experience, not needing access to hardware and OS specific APIs is a BIG assumption, I used to not need access until I needed them and it was somewhat painful most of the time, either support was not there how we needed it or some APIs were awkward to use.

I'd also say that the write once support on all devices is definitely not a 100% thing. There is definitely a lot of tweaking for adding support to specific platforms and devices (think iPad vs iPhone vs Android Phone vs Android Tablet). I've also found it that its a lot easier (when compared to native development) to create code that needs to be heavily refactored out when adding support for additional devices while also making sure to not braking things on other platforms. This last point complicates development because then you are forced to be familiar on how to test and debug on each platform, making sure that changes or issues fixed on a specific one don't break the other ones; this for sure adds a ton of development and testing time, specially when you go beyond just android phones and iPhones.

Where flutter has shined for us though has been for internal tools that we deploy and for which the UI is not designer-driven or that don't have stringent design and performance requirements.

Now don't get me wrong; I'm well invested in flutter but it does not come without its compromises, specially on iOS being second in line support after Android. It definitely gets you quicker to market with an MVP on more platforms compared to pure native development.

Re:State of Rust Survey 2020 results on Thursday December 17, 2020 @04:51AM (#25454113)
Do you mind posting the presentation link? I'd really like to see it!
Re:What is expected of a engineering manager? on Friday October 16, 2020 @12:57PM (#24802673)
I agree with your points.

I think it's the wording like you mention, in Lat-Am countries it is common to say "darle seguimiento a las entregas" or "rastrear entrega" as a way to signal that the person is responsible of making sure that things workout well including handling or helping out with any technical or communication roadblocks for the team.

Re:Signposts for “when to hire more QA testers” on Monday September 21, 2020 @03:28PM (#24547432)
At the company I work for QA is part of the development team; alongside the Engineers and Product Manager, where our products are a set of mobile applications for iOS, Android and tvOS.

I think we have a good code-quality/speed-to-release ratio with well known tech debt that is actively being cleaned out, that is also tested after refactored out.

Having QA Tester be part of the team makes it really easy to adjust features, adjust the release if an update is needed and it is not passing quite yet quality wise. It also makes it really frictionless specifying what to expect from a ticket/feature and how to baseline test it, the tester also performs some tests of his/her own, the QA tester runs unit, automated UI and performs manual regression tests.

I've been part of teams that have QA testers outsourced as a dedicated independent team and it definitively impacted code quality and the release turnaround, mostly because of delayed communication and mis-alignment on what to test or the expectations of the test.

It was, 5 meetings including lunch. Each meeting had at least 2 interviewers and I had lunch with my prospective manager and another senior peer.

  1. 2 pms - collab and project management questions.
  2. Trivia Q&A with 2 devs and tech projects
  3. Lunch with Dir. Eng, and senior dev.
  4. Whiteboard leetcode with A researcher and a junior dev.
  5. Systems design with Dir. Eng and a senior devops
  6. Chat sessionr for questions with VP of Eng.
Needles to say I was burn out on the systems interview after having been in interviewing mode all day and the interviewers were definitely mentally drained, nitpicking on a lot of low leve elements on a systems design task.
Oh man I can relate, I once took a home project which took around 6hrs and then was subsequently invited for a full day of white-boarding with 10 different people throughout the day.

Didn't hit it off with the last interviewer so it was a no-go.

If a take-home is required I'd at least expect a code review over it and focus the rest of the interview process on soft skills rather than trivia questions that are answered essentially by the take-home exercise.

Re:Ask HN: Best Way to Mock APIs in 2020? on Sunday June 14, 2020 @05:10AM (#23516163)
I've found mitmproxy (https://mitmproxy.org) in reverse mode really useful. I'm a mobile dev and when the backend work is still pending I usually mock the backend requirements by selectively patching or adding endpoint support, it can be used like so:

    mitmproxy --mode reverse:https://my.privateapi.com -s ./path/to/mockscript.py

This allows me to implement most of the UI and server interactions w/o being blocked by server work.
Re:Hypermodern Python on Thursday May 28, 2020 @01:18PM (#23339882)
This is exactly what I needed as a somewhat on/off longtime user of Python.

It basically boils down to using pyenv, poetry and setting up the pyproject.toml and project src layout.

I read the comments before the article and was expecting a MUCH more complicated content and intricate bash, tool or config setups but it seems straightforward.

I feel everything else is part of getting started into professional software development (git, modern OS, env vars setup, bash or shell scripts, etc) which is it's own right complicated for newcomers.

I think deployment and packaging vary a lot depending on the target deploy env which is why I'm fine with it being left out of the article.

Re:The unintended consequences of working from home on Friday May 22, 2020 @01:49AM (#23269029)
Legal risk, unfamiliarity with the remote job market, cultural differences.

Some companies might no have the internal legal frameworks to hire remote in the US or far less outside the US, as an anecdote a company I used to work for was fully remote but only hired remote on some specific states, this because of tax laws that would vary in each state would complicate their operations. This was a smallish company, less than 40 people.

Re:Learn Go: Hand-crafted Go exercises and examples on Sunday May 17, 2020 @03:06AM (#23210213)
Hey there I found modules to be confusing coming from GOPATH too, but they're straight forward, super barebones example:

    #!/bin/bash

    cd $HOME

    # Create project directory
    mkdir hellogo

    cd hellogo

    # Init project modfile
    go mod init example.com/hellogo

    # Create the main source file
    # Uses bash's heredoc
    cat << EOF > ./main.go
    package main
    import "fmt"
    func main() {
        fmt.Print("Hello world")
    }
    EOF

    # Build it
    go build

    # Run it
    ./hellogo
What does "SOTA" mean in this context; all I could find is "Software Over the Air" but I'm unsure of what it means in a Speech to Text context
Re:Too much locality for stores to forward on Sunday February 02, 2020 @02:36PM (#22218864)
Seems like a good option would be to implement a second version that has the batch API but leave the line oriented one as is for use by the callers expect it to behave in a per-line oriented way.
Re:Management and false certainty on Sunday June 24, 2018 @05:03PM (#17388378)
What about peers?
Whats wrong with Makefiles?; they're quick and easy ways to describe how to build simple and _not super_ complicated systems.

I've found this to be a great resource, hope you find it useful:

* http://gromnitsky.users.sourceforge.net/articles/notes-for-n...

Re:Why Germans pay cash for almost everything on Tuesday August 08, 2017 @12:37PM (#14959582)
I can add that in Mexico the culture is to also not carry that much cash - due to risk of robbery and losing the wallet or it getting washed in laundromats.
I've been trying to do the same; what type of personal projects have you been able to use Haskell?, any recommendations on getting started?
Cash is also accepted in Mexico ... TJ at least.
In Mexico it's more the case of not being able to afford living alone if you're not a college educated professional; also roommates are not a common thing in Mx as there is always a general lack of trust towards strangers
Re:“Eat, sleep, code, repeat” is such bullshit on Saturday May 21, 2016 @11:59AM (#11745103)
I also feel that way; in the sense that to me at least in this point of my life coding doesn't really feel like work but rather something that is a hobby, a game and a way to create value for others and myself. I do have to make time to work out again though.
Hows is this hacker news?, I mean; seems like another Kim K story....
Re:Ifs and &&s and Plan 9's Source Code on Friday May 24, 2013 @03:35PM (#5764826)
How about using this alternative form:

  if((b != nil)
  &&(b->qid.type==a->qid.type)
  &&(b->qid.path==a->qid.path)
  &&(b->qid.vers==a->qid.vers)
  &&(b->dev==a->dev)
  &&(b->type==a->type)){
      fprint(2, "cp: %s and %s are the same file\n", an, bn);
      ret = 1;
    }
It keeps almost the same visual look and it uses the common convetion, except for the && at the beginning of each line.