HN user

roebk

425 karma
Posts3
Comments58
View on HN
SN Pro Typeface 2 years ago

Just a small and polite heads up - that mobile menu isn't keyboard accessible. Regardless, it's a lovely design.

Hang on, I think you’re muddying the waters here. A vegan diet is purely done for animal compassion. A vegan diet, a plant-based diet and even whole food plant-based diet are different diets.

Veganism is a lifestyle based around the notion of reducing as much harm to animals a feasibly possible. No one claims that a vegan diet is centred around health. After all, you could be vegan and eat nothing but Oreo’s and Dorito’s.

B12, Omega 3 with both (DHA and EPA), and vitamin D during the winter months.

I had some blood work done after 2 years of being vegan, largely to ensure my dietary shift hadn't caused any problems. This tested everything from cholesterol (lipid profile), iron profile, testosterone, B9 & 12, liver function, CRP and more. All markers we're either in the optimal or normal ranges. I eat reasonably well (I'm not perfect) and I try to keep processed foods - including fake meats - down to a minimum

TypeScript 5.0 3 years ago

Pattern matching was recently added to C#. I can't say quite how well it's been embedded into the language. I always hear great things about F#, ADTs, pattern matching, nice type system and it integrates nicely into the rest of the .NET ecosystem.

Elm is perfectly stable and usable. It's a shame there's not a little more communication / a wider core team working on the the parts of Elm that could reduce the friction for the average web development task.

There's Gren https://gren-lang.org/ which is a fork of Elm. Gren has nodeJS and web storage a support, along with a package manager which can install from github (iirc). I'm eagerly watching the development of this project, hopefully it can provider value and grow into a strong alternative.

I loved working with Elm. It forced me to grow as a developer and appreciate all the benefits advantages that comes with a pure functional programming language. I truly hope Evan can start to win back the lost mindshare.

They are choosing TypeScript, they're opting into type checking with JSDoc and tsc. For a brand new code base, you could argue that it would make sense to jump in and write TypeScript, but JSDoc and tsc will get them most of the benefits. It's almost a non-issue.

This was the same situation for the UEFA Women’s Euros in England this year.

For those wondering, the app was simply for storing, transferring, and displaying your tickets. A ticket being a QR code for you to scan at the stadium turnstiles.

Was the app required? Absolutely not, there was nothing specific that the mobile app could do that a simple website couldn’t (apart from the screen brightness jumping to 100% when displaying the QR code). I’m sure even a printed QR code would of sufficed.

Both UEFA and FIFA should reconsider their approach to ticketing.

As a free resource then https://elmprogramming.com/ does a good job of going beyond the official Elm guide.

For far as books are concerned, Elm in Action by Richard Feldman and Programming Elm: Build Safe and Maintainable Front-End Applications by Jeremy Fairbank.

Best of luck on your journey!

What has been broken for months is viewing images. When I click the thumbnail to enlarge it, the image viewer appears but the image doesn’t load. Rinse and repeat 3/4 times and I can eventually see the image. Other members of my team experience the problem. I cannot fathom why MS has not prioritised that bug fix.

One colleague who’s on a modern desktop with an i7 and 32GB of ram waits the upwards of 20 seconds to load a conversation.

In the past couple of years Teams has sores in popularity and perhaps the dev work has been focused on scaling. It’s clear to me MS need to allocate some developer for getting the fundamentals right.

- I'll bike 15 minutes to and from the office.

- ~4 lunch breaks a week, I'll head to the Gym and workout for 35-40 minutes.

- Saturday is Parkrun day (a 5k run / race).

- Around 3 evenings a week (when it's not my turn to put the kiddos to bed), I'll fire up Apple Fitness and do 20/30 mins yoga.

That takes me over the 6 hour mark and it never feels like I'm going far out my way to squeeze all this in.

Elm at Rakuten 5 years ago

The pros and cons listed hear mirror my own views of Elm. Although, we’ve only got a handful of small Elm apps in production it’s a joy to work on them. I can rip into them with a fairly big refactor, fix the compiler errors and be confident that it’s all going to work. I do which there were a larger selection of Elm packages to take advantage of, but integrating Web Components into Elm hasn’t been bothersome.

I've just tried to use this example and it appears that there's been zero consideration to any form of accessible features here.

The show example "button" is a non-focusable div element

  <div class="button" onclick="window.examples['theme-modern']()">Show Example</div>
Once the window is open, the minimise, maximise, full-screen and close "buttons" are spans containing no useful text.
  <span class="wb-min"></span>
  <span class="wb-max"></span>
  <span class="wb-full"></span>
  <span class="wb-close"></span>
The list goes on...

Sure, sometimes accessibility can be hard to get right but it's quite something for it to have been completely disregarded.

Gleam 0.15 5 years ago

Elm has `Debug.todo`. If you were to use this, it allows your app to compile in development but the app would crash should it hit this code.

Elm's compiler will prevent you from creating a production application with a `Debug.todo` still in place.