HNHacker News
TopNewBestAskShowJobs

antonkm

271 karma · joined December 29, 2017

Web dev based in Sweden.
submissionscomments
antonkm··on Sweden to shut bars and restaurants that ignore coronavirus restrictions
Yes, I'm not saying the opposite. What I'm saying is that Sweden's strategy is broad and long-term. We're isolating the old and fragile as of now.
antonkm··on Sweden to shut bars and restaurants that ignore coronavirus restrictions
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.

antonkm··on Stripe raises $600M at nearly $36B valuation
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.

antonkm··on Show HN: A front-end visual development tool for React applications
Why not: .center { display: flex; justify-content: center; align-items: center; } ?
antonkm··on Worker-Owned Apps Are Trying to Fix the Gig Economy
I'm sorry, I don't really follow your comment.

> It is never at someone else's loss but at the discretion of managers based on the value each gives to the organization

Can you expand on this?

antonkm··on Worker-Owned Apps Are Trying to Fix the Gig Economy
There's more to life then money. Being able to provide others with a fair and better platform would make me accept a paycut.
antonkm··on Ionic React
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.
antonkm··on Show HN: I made a CRM system to make sales fun
I mean Basecamp is $99/mo. And it has a bunch more features. I don't know about you but I'd say they run a sustainable business.

CRMs are usually ridiculously overpriced.

antonkm··on Every productivity thought I've ever had, as concisely as possible
> "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.

antonkm··on Show HN: Tailwind.run – An Online Playground for Tailwind CSS
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).

antonkm··on Show HN: Tailwind.run – An Online Playground for Tailwind CSS
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.

antonkm··on Entrepreneurs don’t have a gene for risk–they come from families with money
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.

antonkm··on When we work out rigorously, our bodies limit our ability to expend energy
I do. My personal feeling is that I use food for energy when not working out. When I work out I get energized and won't need to fill up with food as much to feel energized.
antonkm··on The decline of the family has unleashed an epidemic of loneliness
At least he/she would have lived and dared to love. What a shitty and cynical comment.
antonkm··on Angular v8.0
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.
antonkm··on Angular v8.0
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.)

antonkm··on Show HN: 30 Hour Jobs – a job board for shorter work weeks
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?

antonkm··on Show HN: 30 Hour Jobs – a job board for shorter work weeks
Abused how?
antonkm··on Show HN: CSSFX – Click-to-copy CSS effects
Why would you post this? You're not sorry - you're rude and have a shitty attitude.
antonkm··on Google terminated our startup's developer account – what do we do?
These are becoming quite common. If my account would be terminated my business would be dead. How is Google not handling this better?
antonkm··on Read color hex codes
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.
antonkm··on Read color hex codes
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.

antonkm··on JavaScript Fatigue: Realities of our industry (2017)
You're still mixing apples and pears. A single libs API is not JS fatigue. One could argue that it's actually the opposite; supporting three different APIs might make the transition from another lib easier.
antonkm··on JavaScript Fatigue: Realities of our industry (2017)
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.

antonkm··on Bootstrapping Calculator: Do you have enough savings to fund your business?
So what's the recipe?
antonkm··on An ex-YouTube whistleblower on their recommendation engine
Wow, HN is awesome. Activating now, thanks for letting me know.
antonkm··on How to Convert a Free User to a Premium User
> “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.

antonkm··on Business networking is overrated (2017)
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.

antonkm··on Business networking is overrated (2017)
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.

antonkm··on Show HN: HTML5 Video Player in TypeScript
I'd vote for this - toggling landscape manually is icky. If I press fullscreen the default for video should be landscape mode always.
Page 1 of 4Next →