June 2020

230 tweets

Replying to @borderless_dev

@borderless_dev Right now we shouldn't
leave Norway, so I'm very lucky to be in one of the most beautiful countries
during this lockdown. We might be able to travel to Germany in July, but cross
Europe travels are still far far away (for Norwegians probably til 1.1.2021).
Embedded Photo

I have a WebStorm License valid until Aug 30, 2020, which I don't use (switched
over to @VSCode), so if someone needs it, DM me.

Replying to @maaretp

@maaretp I'd recommend to go with @cypress_io, it
has by far the best developer / tester experience.

However, if you need to run tests on physical devices, and this is critical to
your product, Selenium will be the better choice, since Cypress only supports
Chrome browsers and Firefox.

Replying to @coderbyheart

I really liked to learn from participants in this session what worked well for
them and what makes them feel included in decisions and important work stuff.

Most mention: good written documentation! #humansconf

A friend who lives in the Stockholm region is living in a high-risk household,
and they can't get tested even though they have a suspected COVID19 infection.

The Swedish way of dealing with the pandemic is infuriating.

There is more in this report:

"the Air Force is building a militarized “internet of things (#IoT)” to connect
any sensor with any shooter—across all domains—with the required digital
infrastructure for data analytics and artificial intelligence to fight at
machine speeds." /status/1268108393954279424

Replying to @coderbyheart

"... will develop and deploy military IoT-type connectivity—things like cloud,
data management, and software-defined radios and networks—in hardware-software
slices designed for upgradeability, vice point performance."

Replying to @coderbyheart

The minimum price for an instance is $24/month, which is not awesome for a
prototyping and development project, but IMO quite acceptable given that it will
most likely exist in an Azure solution anyway.

@snyksec how long to do you think "snyk protect"
should run?

I find that it takes minutes in the "Querying database step" ... and think this
is not a good usability.

Snyk patches should be static and the process of applying them when installing
npm deps should take seconds.

Replying to @coderbyheart

@Lazer Despite it being often technically false and
alternatives are better, dudes will decide because of lazyness that this is the
hill they want to die on instead of taking it as a free lession about
microagressions.

Replying to @niondir

@niondir @github
You should do some research, and find out that people are offended, because they
are descendants of slaves. Just because you as a white European can't imagine
anyone needing offended is sad.

Second, there are terms which reflect the behaviour of systems better. It's a
win/win.

Master is a bad choice for the main branch in a repo: control flows in the
opposite way. Master conveys this idea of control over something, while it's
actually the branches where development happens and which control what ends up
in the main branch and what gets released.

Replying to @xor_freecity

@xor_freecity These terms are offensive IN
the context of computer science, because this science is not void of humans.

It makes our industry more inclusive, that matters.

I have also not heard a good explanation of why master/slave are good names for
version control.

Replying to @xor_freecity

@xor_freecity You are engaging in
whataboutism. We talk about the use of a specific term: master/slave. It's our
decision to rid the work we engage in of it in order to be more inclusive. There
are people who are hurt by its continued use, and I won't keep making them feel
that way.

Replying to @xor_freecity

@xor_freecity Software is not context free,
as I pointed out. A person created the git behaviour which made "master" the
default branch. It did not happen by itself.

Actually, how about you explain why the best choice for your mian branch is
"master".

Replying to @Niklas_L

@Niklas_L I have been using "saga" as the
primary branch for three years and the only thing I need to do, is tell
@SemanticRelease which branch to look for
changes, this is a config setting per repo.

Every other tool I use is fine with having a primary branch not named "master".

Replying to @coderbyheart

It does not accurately describe the relationship between named points in the
commit history (what branches are).

If you create a branch from master (let's keep this name for now), you create a
new pointer, it's now the slave branch.

You now make changes to the slave branch.

Replying to @coderbyheart

Not the master is telling the slave branch what to do, it's a human adding
changes. When committing the changes they let the slave branch point to their
latest commit (they change its tip).

Once done they let the master branch now point to the tip of the slave branch.

Replying to @coderbyheart

Master now has the changes from the slave branch and is equal to the slave
branch.

This shows that the mental model of master/slave makes no sense for version
control.

Master executes no control over or owns other branches.

Replying to @wilgaard

@wilgaard The master branch isn't doing
anything. It's we as software developers who try to shoehorn the wrong concept
onto something digitally.

git is about controlling changes to source code and what happens between
branches is not a master/slave relation but a way to introduce changes.

So, the great thing about $MSFT acquiring @github
is, that I can use it as the continuous deployment solution for the Azure
flavour of @bifravst without bad feelings (I had
them for the AWS flavour becuase I did not use CodePipeline)...

Replying to @DragonBe

@DragonBe saga: In the Nordic mythology, a
saga is a long continuous recollection of histories of stories about the
history of humans, legends and gods. This idea reflects very well what happens
in a Git repository.

Replying to @coderbyheart

@DragonBe Changes happen in branches (some teams
tie them to User Stories), which are sometimes directly, sometimes loosely
coupled to the main branch. Once they are finished the get added to the main
branch, or in case of a rebase directly appended.

Replying to @coderbyheart

I see good things happening in teams where traditional frontend and backend
developers are comfortable working with the other professions code, and even
start to cross boundaries more and more.

Replying to @boennemann

@boennemann I have the habit of using enums
with values, because I mostly use them to express a limited set of valid
strings:

enum direction { UP = 'up', DOWN = 'down', LEFT = 'left', RIGHT = 'right' }

But yeah it would be a good idea to have enum values be e.g. a Symbol().

Replying to @mxygem

@thatengjayson No, I am serious. The reality is probably much worse given that
in the hearings this week the US COVID19 response team said that they are not
nearly testing as much as they need.

I've realized that I the music I listen to is white as fuck (Trance, Metal), so
no surprise that I am not exposed much to the stories of migrants, minorities
and oppressed through this art form.

I started to look for those artists, and I am on the path to discover more!

Test results with @twilio Super SIM and NB #IoT
are: Super SIM connects and does TCP+UDP, but with NAT timeouts on the lower end
of what we have measured so far. The NB IoT SIM did not connect, which is
interesting because the @1NCE3 SIMs do work here. Regular SIM did not work.

Replying to @malk_zameth

@malk_zameth Yes, do agree that we should be
able to express affection without feeling bad about it.

I was wondering about the "super hot" though. For me there is no non-sexual
meaning of it (except if she is sick with a fever). So what is a good outcome in
your mind for her?

Replying to @clekis

@clekis
@NordicTweets
@OnboardNorway Arbeitssprache bei
@NordicTweets ist Englisch, das macht den Einstieg leicht. Und wenn Deutsch
deine Muttersprache ist, ist Norwegisch lernen recht einfach, da vieles sehr
ähnlich ist. Wir bezahlen auch Sprachkurse. Und die meisten Norweger sprechen
sehr gut Englisch...