HN user

antonkm

271 karma

Web dev based in Sweden.

Posts2
Comments91
View on HN

Sweden's strategy isn't only about deaths by Covid-19. It's about preventing total number of deaths including deaths caused by the things we do to prevent the spread of the virus. The line is to keep things as open as possible. Quarantine is problematic if you take things such as suicide, alcohol and substance abuse, child and spouse abuse and depression into account. The list goes on.

And yeah, people are idiots for going to bars.

Swede here. Really baffling for me too. My kids have pretty much never even seen cash. I use the nationwide app Swish to send money to people using their phone number (almost every Swede is connected since it's pushed by all big banks) and only use contactless credit card.

How come Germany is so cash positive? Personally I think Sweden has gone a bit far, where some old people have been put in a weird spot where they can't pay because they're technologically illiterate.

Ionic React 7 years ago

You do realize that Ionic is mainly used for App Store and Google Play right? You're free to not use it. It's a correct decision for Ionic to go with iOS and Android standards, from my point of view, and the implementation is superb as always with Ionic components.

"provides me with 625 minutes of work, interspersed with 275 minutes of breaks (provided my workday is 15 hours)."

Why would you work for 15 hours? I aim for 6. No way that you can be productive for 15 hours.

And, do you really want to spend pretty much all your time working? I followed along and agreed with lots of the stuff, then a comment like this throws me off. I totally understand that you're having trouble focusing if that's a normal day.

I've found that since using Tailwind I've got a deeper understanding of CSS, got a greater understanding of UI design (Adam Wathan's tutorials are great) and produce and replicate designs quicker and easier.

It's a design system with constraints, which automatically gives me fewer and better options.

Using something like Bootstrap is probably easier and quicker if you're unfamiliar with writing CSS though.

All in all, quite far from styling with inline `style` (but it takes a bit of learning on the thought process behind it).

No, it does not. They're not exclusive. I've written large pages that pretty much only used component classes for pills and buttons, with Tailwind using @apply. All the other elements used utilities. Paired with purge-css you get small CSS bundles and really quick styling.

You'd often use something like a component based JS framework or a server rendered templating language, making it easy to contain all utilities with shared logic in one place.

I'd say this could probably give some people a way of looking at things, the environment they live in and that privilege is often there even though it's tabu / taken for granted.

At the same time, I find this to be true for a small type of entrepreneurship. My barber, the local store, my favorite restaurant is not really connected to privilege and everyone of them has gotten where they are anyways.

Angular v8.0 7 years ago

Forms: use HTML5 and expand on that. State: quick read, I'd say use context, hooks and effects if you're new. Styles: I despise style in JS, so I go with SCSS or CSS. The encapsulation problem is made up in 90% of all apps. Http: just use fetch. If you'd like, you can write a vanilla wrapper around it. Code separation to modules - don't get what you're going at really. Build functional components. Keep shared logic in services, a POJO wrapping functions and exporting it all.

Angular v8.0 7 years ago

I disagree. If you use create-react-app you get best practices out of the box.

React is also much less abstraction away from vanilla JS. Learning Angular is learning a new language with a whole bunch of restrictions. Learning React is like learning JS++.

(This is my personal experience based on three Angular projects and ten+ React projects.)

Officially my employee works 40 hours because of the benefits if he were to need support from the government (ie parental leave, sickness leading to not being able to work). Off the record he does 30 hour weeks as I believe he will stay happy and more productive that way. I also pay full for gym membership and other stuff he might need.

Might be the same case here?

Ah, agreed. But your comment didn't actually say that - you took something kinda small and leveraged it too far as it would define the web dev skills.

That is harsh and somewhat elitist. I'm guessing people could probably say pretty much anything to sound skilled by replacing X here: "What? If you're a web developer and don't know how to use X, then you're not a very good one."

I understand RGB, base-16 and HSL yet this isn't instinctive for me. I might be a below average dev (although my clients and colleagues seem to think otherwise), but I'd prefer a color picker any day before thinking about translation of color codes.

This is so much out of scope for the article - it has literally nothing to do with it. Your critique is about Chai choosing an API design you do not agree with.

Your critique isn't focused on JS fatigue but a single lib. JS fatigue is about having to choose between Chai, Mocha, Karma (dead nowadays?), Tape, Istanbul, testdouble, Qunit etc. And also: knowing what does what.

“Provide incentive for prospects to sign up for freemium but do not provide too much value so that free version of the product is enough.”

For me, Dropbox, Spotify and GitHub all do this - naming them as examples of companies that don't is plain wrong to me.

Dropbox: 2gb of storage is nothing (weird and a bit sickening, but still).

Spotify: The ads experience in Spotify is probably one of the worst user experiences I know - so no real value here.

GitHub: no private repos for free users (might have changed?) made me choose Bitbucket. No use without private.

All in all, I don't really agree with the article: I actually do believe that a not-amazing-but-still-great experience is the way to go. See: Asana. It's OK++ for free, but I pay because it's better when I pay.

No, Meetup is for meetups, to meet other nerds :)

I Google my way - City + business network.

I also ask people I meet in business about their preferred networks, but only people I would like as a client.

Work your way from there. The networks want to be found, they want your money after all.

Edit, about starting somewhere: Some people work to connect businesses. Depending on your location, these can be Chamber of Commerce, Science Parks, tech hubs etc. Start by asking there and get yourself connected with the formal connections first.

I also run a successful consultancy, and I wrote this in a similar comment before in 2017. This is how I do professional networking.

"For me to join a network the network has to match these criteria:

* It markets itself as exclusive

* It costs money (say $2k/y for small businesses and scaling prices depending on number of employees)

* Participants are owners or at C-level

The networks are often dinners where the participants get to know each other in friendly settings. I aim for networks with high middle age where I stick out as the younger (am mid-thirties) professional which connects tech with business needs (my niche).

While at a network, do not talk about yourself. Ask about others businesses and interests. These sells take between 6-12 months and are based on trust.

You also need to come prepared.

* Dress as expected.

* Have a web page with referrals so when leads get a bit nosy and Google you you're #1 in search and the page provides the lead with info about great work you've done. I have about 100 visits / mo to my page (my weird name helps for the #1 pos). 90% are primed leads.

* Know your oneliners. Prepare examples of things you can provide. Make them sound natural. Say it without selling in an informal way.

It's about being systematic and selecting only the networks where your dream leads go to. Hoping to get into invite only networks further on."

It's still going strong and we double our billing each year.