News for hackers. Stuff that matters.

roebk

Re:Where are all the UK red telephone kiosks? on Thursday May 21, 2026 @04:00PM (#48228180)
I love seeing the occasional phone box in a quaint village which has been converted into a super compact library. It reminds me that community spirit and trust are alive.
Re:Wishing Everyone a Happy Solsthelion on Monday December 30, 2024 @06:54AM (#42548514)
Happy Solsthelion!
window.$ = document.querySelectorAll.bind(document)
What story does that tell?

React's would say 2022 - https://github.com/facebook/react/releases

There's engineering effort happening behind the scenes on both projects, the releases have slowed, and big changes are coming to both Elm and React.

Re:SN Pro Typeface on Thursday February 22, 2024 @08:55AM (#39467092)
Just a small and polite heads up - that mobile menu isn't keyboard accessible. Regardless, it's a lovely design.
Re:OpenTF renames itself to OpenTofu on Wednesday September 20, 2023 @03:57AM (#37581606)
Care to explain why?
As a general overview, I enjoy Dr Greger's definition of processed food - 'Nothing bad added, nothing good taken away'.
Imagine the unfortunate child who's been fed peanut butter to only find out it wasn't really butter.
It's about time we put and end to peanut butter and coconut milk. These products have the causing consumer confusion for too damn long. /s
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.

So they're increasing the amount of whole plant-based food they're eating?
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

Re:TypeScript 5.0 on Thursday March 16, 2023 @05:56PM (#35189332)
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.
Re:TypeScript 5.0 on Thursday March 16, 2023 @05:53PM (#35189282)
there's not a day that goes by that I don't think about this
Re:Ask HN: What Happened to Elm? on Friday February 10, 2023 @05:45PM (#34747039)
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.

Re:New Mac Mini on Tuesday January 17, 2023 @09:56AM (#34413103)
And a whopping £200 to add an extra 8gb. Ouch.
Re:Lincoln Cathedral on Wednesday January 04, 2023 @06:18PM (#34253403)
Who knew there are so many people from Lincoln here :)
Re:Complete Rewrite of ESLint on Monday November 28, 2022 @09:44AM (#33774193)
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.

Re:Ask HN: How much does private health insurance cost you? on Monday September 05, 2022 @11:47AM (#32725649)
Just shy of 500 GBP a year for myself via Bupa. That includes a fairly compressive policy excluding dental. Family are all fallback to the NHS (sorry family).
Can this be circumvented by a very strict Content-Security-Policy?
Re:Understanding UI Components in Elm on Wednesday June 08, 2022 @06:08AM (#31665268)
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.

Re:Poll: How much time on average do you exercise in a week? on Sunday January 02, 2022 @11:57AM (#29770441)
- 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.

Re:Using GroupBy on an array of objects in JavaScript on Wednesday December 29, 2021 @12:31PM (#29727147)
I wonder if groupBy should have had some sort of into argument. Otherwise, we may end up with four groupBy methods. groupBy, groupByToMap, groupByToWeakMap and groupByToRecord (should records land).

Edit: this has already been discussed https://github.com/tc39/proposal-array-grouping/issues/3

Re:Elm at Rakuten on Wednesday August 18, 2021 @03:33PM (#28226055)
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.
Re:Mystery as 5k homing pigeons vanish on Tuesday June 29, 2021 @06:43AM (#27674067)
I believe one of these birds ended up at my fathers garden in North Lincolnshire. The bird spent the best part of a week in his garden, showing no signs of injury, nor any sign of wanting to fly off straight back off.

After a week of food and water, the pigeon finally took off again. Hopefully it got to whereever it needed to.

https://www.flickr.com/photos/roebuck06/51278515733/in/album...

Even the accessibility features of the Apple Watch are impressive. https://www.youtube.com/watch?v=yXX1bMqe_gU
Re:WinBox: Window manager in a web browser on Friday May 07, 2021 @05:55AM (#27074164)
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.

Re:Gleam 0.15 on Thursday May 06, 2021 @11:15AM (#27064478)
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.

Older »