News for hackers. Stuff that matters.

oh_boy

Re:Using hamburger menus? Try sausage links (2019) on Thursday March 17, 2022 @01:40PM (#30713821)
This isn't less accessible than a hamburger menu. Even the opposite might be the case as defacto most hamburger menus are implemented without proper focus handing or correct aria attributes for announcing open/closed states.

With the sausage menu, at least as screenreader user, you will have less issues as you can tab through a list of links immediately without the need to open a broken menu . Also scroll position is adjusted by the browser automatically to the element in focus, so it isn't even a problem for keyboard users with eyesight.

My job is to build frontends on top of various client management systems and figured out, that I get more maintainable code and am more productive using the templating of the CMS itself instead if decoupling the frontend from the CMS entirely.

So since two years, I use the Hotwired stack on top of PHP (and now with Vite as bundler) and that is so far the best solution I found. I can like use the CMS integrated solution for handling forms, as an example, but can plug in Hotwired Turbo and some Stimulus controllers when I want things to happen async on the client. I now have my own set of generic stimulus controllers I reuse in every project. But at the end of the day, those websites work without JavaScript.

Sure you can use vscodium with the official marketplace. I use that for over a year now without issues.

https://github.com/VSCodium/vscodium/blob/master/DOCS.md#how...

Re:Live previews with Rails and Stimulus 2 on Tuesday March 23, 2021 @10:56AM (#26555785)
At least in the non-rails environment, Turbo and Stimulus are two separate libraries and have to be included individually.
I didn't try to convince anyone. I deleted it and people started to reach out on Signal, Telegram and Threema. A friend of mine did the same 4 years earlier and it worked out.

This probably doesn't just work for everyone, in every country. But look, people still use phones and these things actually have a phone feature. You might not be as cut off without Whatsapp as you think.

Re:Ask HN: How to Block Apple's Spyware on BigSur? on Tuesday November 17, 2020 @06:52PM (#25131475)
I only heard of Akira. Put I'm not sure it will hit production state at any point as it never reached its crowdfunding financing goals.

https://github.com/akiraux/Akira

Re:All ICUs in Switzerland are occupied as of now on Tuesday November 17, 2020 @06:47PM (#25131429)
The official numbers we get from the newspapers/state media point to 80% occupation.

https://icumonitoring.ch/

Re:Ask HN: How to Block Apple's Spyware on BigSur? on Saturday November 14, 2020 @10:33AM (#25092869)
UI design I do with Figma on Linux since 2 years. For video editing I recommemd looking into DsVinci Resolve.
Isn't that what Deno solves in this specific area?
Would be good if the website would feature a description and screenshots when accessing it on mobile.
Re:Ask HN: Where Can I Find a Dell XPS Developer Ed with 32GB RAM? on Wednesday September 02, 2020 @07:30PM (#24359394)
Serious question: is there any difference between the developer editions and the non-developer editions except for the preinstalled OS? I have a non-developer XPS 15 (version from 2017 or 2018) and run Linux on it. The Dell website lists the current generation XPS 15 with 32 GB RAM. I'm curious why you don't consider the ones available?
Playing video games with friends, online, after work. That worked pretty well for me for the last 3 months.
Re:Ask HN: Which tools do you use for wireframes? on Sunday April 05, 2020 @05:59AM (#22784807)
A whiteboard or a Everlast Rocket Book, erasable pen and OfficeLens app to digitalise it. Then I put it into Figma and can prototype with them and show it to my clients.

I'm too slow with any software solution as it allows for too many details.

Re:Switching from Sketch to Figma on Wednesday March 25, 2020 @12:50PM (#22686326)
Re:Switching from Sketch to Figma on Wednesday March 25, 2020 @12:47PM (#22686305)
You can use the Figma Linux wrapper to solve that issue. I have thrown my MacBook in a corner since them. I'm fully designing and developing on Pop_OS since 3 months.

https://github.com/Figma-Linux/figma-linux

In case you missed: Pidgin has many plugins including for Whatsapp.
Re:The /e/ Google-free, pro-privacy Android clone is now available on Thursday September 26, 2019 @11:58AM (#21082243)
I used the following site lately to choose a phone. I found it much easier to understand than the device list of LineageOS.

https://piotr-yuxuan.github.io/choose-a-new-phone/

Still, individual research still required e.g. to find out that the fancy 48 MP camera mode is not supported in LineageOS.

The one your referencing is related or the same issue. The very first mention of the problem I found with my initial search probably a year ago was the following issue from 2016, which is the one I'm watching:

https://gitlab.com/gitlab-org/gitlab-runner/issues/1151

Not sure what exact experience you made with the GitLab support but I can tell you our experience is different. It took over two months to resolve a license request we made to their support (or sales team) with multiple pushes from our side, every week. There are bugs with the CI system like an issue with the cache retrieval when multiple jobs run in different pipelines parallel to each other, that is actually blocking us from using the cache to it's meant extend and that was issued in 2016. You will find a dozens of those tickets.

Just some examples. Wouldn't say GitLab is the heaven on earth GitHub isn't. It just has it's own, different issues.

Re:Gitlab 11.10 Released on Friday April 26, 2019 @12:48PM (#19759426)
Why not? You might not be able to automatically hook it in via their UI, but can't you just do everything with the CLI in the GitLab CI? I mean I don't see a reason why this wouldn't work.
Re:Ask HN: Best way to test accessibility of a website? on Saturday March 30, 2019 @09:59AM (#19529411)
IE is mostly used here because it works best with the screenreaders, not because it's preinstalled or other common reasons. When I test with IE, and then with Firefox, I notice subtle things with big impact working better in IE e.g. I found that screenreaders are particular better with multilingual content on IE. I can't recall the exact screenreader/browser combo, but on IE, I got proper support for different voices for different languages when an element other than the HTML element had a lang attribute.
Re:Ask HN: Best way to test accessibility of a website? on Saturday March 30, 2019 @09:52AM (#19529390)
You're right. Had it wrong in my head.
Re:Ask HN: Best way to test accessibility of a website? on Sunday March 24, 2019 @08:16AM (#19475890)
Use aXe for automated tests and test everything manually with JAWS + Firefox (most popular screen reader Desktop combination) and iOS VoiceOver (most troubling mobile issues in my experience).

If you can afford in your project, use a external service that tests with people with different disabilities.

Re:How we do Vue: one year later (2017) on Wednesday March 20, 2019 @03:30PM (#19445929)
Tell me, what's the difference of simply importing a JavaScript file with your service code compared to injecting the service with DI in Angular? At the end of the day, Vue is just a UI library. From here you can build your application architecture the way you like. So the difference to Angular is, that Angular is a complete framework which tells you how to define services the Angular way. In React and Vue, you just do that how you would do it in vanilla JavaScript.
Re:Ask HN: FastMail vs. ProtonMail? on Tuesday March 12, 2019 @08:06PM (#19374373)
Never ever had that issue with Protonmail so I'm very curious where this happened for you.
Re:Ask HN: FastMail vs. ProtonMail? on Tuesday March 12, 2019 @08:05PM (#19374364)
The IMAP bridge is very slow and I guess, if you are someone that needs to retrieve emails every minute, that can get annoying. Otherwise in my experience, the bridge worked without big issues, using Linux (Manjaro and Arch) and macOS.
Re:Ask HN: FastMail vs. ProtonMail? on Tuesday March 12, 2019 @08:02PM (#19374332)
That's what you get for privacy. Honestly, the bridge works so flawlessy on my Mac and Linux machines, I don't mind that it is there.
Re:A JavaScript-Free Front End on Tuesday March 12, 2019 @06:50PM (#19373888)
Totally agree on your statement. It's not possible to build modern solutions that are accessible without using some JavaScript. It's always a matter of where you want to go. And it's easy to spare e.g. modals. The question is just if you can solve user experience issues with just HTML and CSS for all use cases.

On the other side, there are more solutions built into HTML and CSS one thinks. In your particular example, you can use the HTML dialog element and get built in keyboard and focus management (still requires a polyfill for many browsers).