Hacker Newsnew | past | comments | ask | show | jobs | submit | chaz6's commentslogin

Without manual commits, is there any way to record the intention of each change?

Yes you can still commit as a logical delineation of changes. And every commit is automatically a PR, folding multiple commits is possible but not the common workflow, they prefer just reviewing and approving each commit.

There are manual commits, they're just called changelists.

I always ask the "dumb" questions, even when I already know the answer, because there are always people too intimidated to speak up, and it sometimes facilitates a deeper discussion.

It also gives you cover to ask questions that reveal politically inconvenient truths: you can pretend you had no idea that answer would pop out of it.

(Of course, in an organisation that contains many politically inconvenient truths, you can easily end up doing that too much and people will catch on to it and dislike what you're doing. Another drawback is you have to be willing to look stupid and trust that the stupid first impression goes away with time.)


It took me too long in my career to feel comfortable asking the dumb questions. I would have had a much easier time if I had just asked them. I eventually learned to ask dumb questions when I made a friend who was never afraid to ask then, and it was amazing how quickly he learned.

I always respected leaders who did this, preprogramming the dumb questions in a presentation for the benefit of the timid ones

I swapped my edgerouter lite (ERLite-3) to an Alta Labs Route10 recently after moving to an ISP that uses PPPoE. Unfortunately the Cavium silicon inside the ERL cannot do hardware offloading for ipv6+vlan+pppoe concurrently, so I had to find a new router. The Route10 is a nice piece of kit, but the software is still very immature, and absolutely requires a controller to manage. I really wish that I could run VyOS on it, but for now it does the job and will probably be absolutely fine for 99% of people.

Who needs a singleton when there is @lru_cache(maxsize=1) /s


The equivalent in Python is:-

  from typing import NewType
  
  UserId = NewType("UserId", int)


Actually, not really. In this case UserId is still an integer, which means any method that takes an integer can also take a UserId. Which means your co-workers are likely to just use integer out of habit.

Also, you can still do integer things with them, such as

> nonsense = UserId(1) + UserId(2)


It will not stop you doing this at runtime of course. It is only intended for type checking.


I use Fedora and have it enabled. Every time there is a kernel update I have to run a script to re-compile and sign the vmware drivers. I could probably figure out how to do it with dkms at some point. Every now and then, there's a kernel change big enough to make the vmware drivers stop working so I have to get a new patch.


I am British and the old scale (million, milliard, etc) makes more sense to me as it allows you to describe much larger numbers with fewer words.


I have 4 M.2 drives in RAID0 with HDD and cloud backup. So far so good! I'm sure I am about to regret saying that...


Is there a way to export a terminal-coded version of the output?


If you only need outbound connectivity then you can use a public NAT64 gateway. You can find a list at https://nat64.xyz/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: