HNHacker News
TopNewBestAskShowJobs

maaaats

5,997 karma · joined February 5, 2013

  String name = "mats";
  String at = "@";
  String domain = "matsemann";
  String tld = ".com";
  String email = name + at + domain + tld;
Mostly known as Matsemann, live in Norway

Some projects:

https://github.com/Matsemann/

https://news.ycombinator.com/item?id=7654141

https://news.ycombinator.com/item?id=10410813

submissionscomments
maaaats··on What happens behind the scenes when we type www.google.com in a browser? (2015)
Yeah, if you don't understand how the browser has implemented lexical analysis, it surely means you only copy paste code /s
maaaats··on Making Tables Responsive with Minimal CSS
My pragmatic way is to make one design/markup for small screens and one for big screens, and toggle the visibility of those two with media queries.

Often we want a completely different layout for mobile, and to focus on different data. Shoehorning the same markup for both cases just makes it harder to work with.

maaaats··on Google AMP Issue: Links to visit the site currently not working
Google is serving a broken page for Firefox on Android (intentionally serving something along oldschool wap pages). I used an addon to fix that, but then the page suddenly was full of ads, videos, smart boxes and amp links.
maaaats··on I didn't get paid, so I open-sourced my client’s project
In Europe they solve it with laws. PSD2 forces banks to become open, and allow others to make services on top.
maaaats··on Twitter is rejecting posts containing JSFiddle URLs
Couldn't any link point to anything that runs arbitrary code? Does it matter if it's on jsfiddle or xyz.com?
maaaats··on A $999 monitor stand is everything wrong with Apple today
A lot of professionals not in those categories will probably also be interested in it. I think it's disingenuous to pretend it doesn't matter as only people buying $50k monitors are interested.

I could see a lot of designers buying this screen at this price point, that normally have $1-2k screens. Then that $1k stand is atrocious.

maaaats··on CSS Grid Level 2 – subgrid is coming to Firefox
float, with "faux columns" that I copied from a-list-apart for every new page I made.
maaaats··on CSS Grid Level 2 – subgrid is coming to Firefox
But then it's responsive to the page size, not the container size. That's a small, but important difference.

For instance, I recently made a component to be included on other pages at work. It had to look good no matter the size the page gave it. So they might put it into a 400px wide container, on a 1600px wide page. If I used vw or media queries to draw it based on page size, it would behave wrong.

maaaats··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
> The best time to plant a tree was 20 years ago. The second best time is now.
maaaats··on Roads with protected bike lanes make both cycling and driving safer: study
Yeah, the problem is just that when it's space, the zoom by in a high speed. Taking the lane and then yielding will force them to overtake at a reasonable speed, at least.
maaaats··on Roads with protected bike lanes make both cycling and driving safer: study
> Wearing a helmet increases your chance of death on a bike according to the statistics

I've heard that too. If it's true, could the causality be the other way? As in, people wear a helmet when the chance of accidents is bigger.

When I road bike on open roads it's both fast and higher chance of accidents, so I wear a helmet. Same with downhill cycling. But when using a city bike, I bike slow in the inner city, and don't have a helmet.

maaaats··on I turned my interview task for Google into a startup
I like the concept. I use Strava a lot for cycling, but it's not very good for non-cardio activities. Lots of people I follow also track their strength workouts on Strava, but I haven't done it myself as I find it hard to track progress when the system is not made for it.

Before I have used Fitocracy, I'd say this may be the biggest competitor to this, as it is (at least 5 years ago when I used it) more tailored for strength, where one can log specific exercises and track them over time.

maaaats··on European Court of Justice: EU employers must track working time in detail
Unlimited PTO is more an American thing in my experience. And is never really unlimited as you will be judged when using it. In Europe it's common with 5+ weeks of vacation, which is also often mandatory by law to take.
maaaats··on European Court of Justice: EU employers must track working time in detail
It's a common theme here on HN when it comes to worker's rights and unions. Being a one-percenter where companies bend over backwards to cater to you, it's easy to dismiss these things.
maaaats··on Senior Developers Are Getting Rejected for Jobs
But now you did the mistake of assuming a lot of stuff, with very little data. Why can you say that person 2 is better at working in a group? Maybe person 1 was just very nervous, or is a type that takes a few days to warm up to new people. Maybe person 1 just crack jokes all day and is actually detrimental to the productivity. Impossible to tell from this one que alone.
maaaats··on Internet Explorer Browser Collection
Can't get it to work. But http://matsemann.com works. I think the difference is that my domain works even without a "Host" header.

Edit: Not quite correct that it works. My domain responds with a different dummy-page in IE 1.5. I get the same dummy-page with curl

  curl http://matsemann.com -i --http1.0 -v -H 'Host:'
Difference being it's served as 200, while same command for example.com with no host gives 404.

I think the web is just broken without host headers, as too much is running on the same ips / through routers before touching the real underlying page.

maaaats··on Internet Explorer Browser Collection
Are the downloads the old, compiled code? The iexplore.exe in IE 1.5 says modified in 1996. And it runs on my Windows in 2019. That's a feat!

(Can't find any pages to open, though, guess it's too old http and possible tls stuff in the way?) Edit: Found some urls that worked

maaaats··on For Better Computing, Liberate CPUs from Garbage Collection
I only work in GCed languages, so I don't know how manual memory management works, except segfaults in some courses at university. Guess I should quit my job, as you say I apparently can't really code :/ Thanks for letting me and others here know!
maaaats··on Amazon S3 Path Deprecation Plan – The Rest of the Story
A book (on Libgdx) uses one of my repos as a starting point, telling the readers to clone my repo and do certain changes. I've left the repo alone, bugs and all, as I think it's cool that people uses my code. But the authors never reached out or anything, I only discovered it by chance. I could easily by accident have invalidated their whole chapter.
maaaats··on JSMpeg – Decode It Like It's 1999
Cool project, similar in spirit as to something I did a few years back as well ( https://github.com/Matsemann/oculus-fpv ). It's pretty trippy watching real stuff live, but your "head" is somewhere else. Cool that it's even possible to experiment with in the browser now.
maaaats··on How Many Type Parameters Can a Java Method Have?
Ah, reminds me of something I had to do only two years ago.

Business side would send an excel file with thousands of lines and some columns with some definitions. These we would export to csv and turn into a huge enum using some generator. One definition per line in the excel document, on the form Rule67_Oslo(245, 167, NO_TRANSFER). One day it failed, as the byte count was too big. Managed to strip down the definitions some, but a few weeks later it was impossible to add new rules again. No idea why someone would make that design in the first place, old legacy system. But it was hard to refactor as well, as those constants were littered everywhere in the code as well. I switched teams before it was solved, but I think the fix was mainly that business had to find one rule to remove every time they wanted to add a new one..

maaaats··on Audible and audiobooks, the fastest growing part of publishing
There are often abridged versions of audiobooks, where they skip stuff like that and shorten the book considerably. Maybe worth a try.
maaaats··on Audible and audiobooks, the fastest growing part of publishing
I got it as an option when I tried to cancel. Went forward with the cancellation anyway, as I found it deceptive.

Esepcially the part that canceling would lose all my credits. Didn't know what to spend them on either, so just bought random stuff to use them.

maaaats··on Android updates are getting slower and slower, despite Google's best efforts
My apps only update when I connect the charger during the evening. At least I have been under that impression. (Except for Facebook that updates itself outside the play store and then brags about it with an annoying notification..) Is it something that varies between models/makers?
maaaats··on Android updates are getting slower and slower, despite Google's best efforts
> Android devices aren’t kept up to date, leaving their users unable to benefit from advancements in the platform.

What advancements? Both iOS and Android have for a few years reached maturity, not much exciting with each new update. At least not without new hardware, as most updates are to support something physical (notch, fingerprints, face scan etc).

I used to hate my phone not being updated, so switched to a brand of Android that kept them up to date. But lately I don't really mind. Only reason I upgraded to Pie this weekend (after being bugged by the updater for months) was because of a few emojis I couldn't see properly when being sent to me. The update hasn't done anything big. Things are a bit rounder, the clock is now in the wrong corner. Some BLE issues as well, making me regret the update.

maaaats··on Vendors must start adding physical on/off switches to devices that can spy on us
My Lenovo P1 has a fn button to disable the mic and a light showing if it's enabled or not. Not as good as a switch, but makes me confident some random application isn't listening at least.
maaaats··on Show HN: Simple but Powerful IDE for Databases
Most people care about the features, there's a really small amount of people for which the tech stack matters. Negligible, I'd guess.

So no, you're not doing anyone any favours here, just spreading negativity.

maaaats··on Notre-Dame cathedral: Firefighters tackle blaze in Paris
Well, some of us hackers are fans of monolithic architectures..
maaaats··on Norway Is Walking Away from Billions of Barrels of Oil
I linked to it this weekend, and it ended up as a top-level post on HN yesterday: https://news.ycombinator.com/item?id=19594153
maaaats··on When to Use TypeScript – A Detailed Guide Through Common Scenarios
What I mainly liked about TS is that it's basically plain js with some typeinfo sprinkled on top. So no barrier of entry for existing js developers.

Now I work on a project with Elm for the frontend. It's not as easy to just jump into, so wouldn't use it for a project where lots of developers sometimes have to make additions. But once up to speed, Elm is great.

← PreviousPage 4 of 34Next →