-
24 votes
-
Sanding UI
14 votes -
Emacs Writing Studio — A comprehensive guide for writers seeking to streamline their workflow using Emacs
8 votes -
References are like jumps
6 votes -
The vindication of bubble sort
14 votes -
System76's COSMIC desktop environment enters public alpha
45 votes -
[Home networking] Setting my Ruckus APs to DFS channels manually, any chance of running afoul of the FCC?
Hi everyone, I recently finally setup the Ruckus AP unleased system that came with my townhome. After spending a long night learning how to properly configure the system I finally set it up in a...
Hi everyone, I recently finally setup the Ruckus AP unleased system that came with my townhome. After spending a long night learning how to properly configure the system I finally set it up in a way that provided me the best speeds/range without interference.
This was achieved by setting my Ruckus APs to manually sit on the DFS channels (60-140) via the Ruckus configuration app (shown here)
This has been working great as I'm avoiding the 10~ other wifi networks in the area that are all set to the standard 36-48 and 149-160 channels (wifi analyzer screenshot here) but I'm concerned I may be inadvertently violating FCC guidelines. Note I do not live near any military installations, but I am about 13 miles away from a major airport. Will the Ruckus APs automatically change channels if they detect radar interference or am I causing trouble for someone?
11 votes -
Looking for portable keyboard recommendations: must have USB-C connectivity, not just bluetooth
TL;DR: recommendations for a small or folding keyboard that in addition to Bluetooth, also connects directly by USB C. Hello all. I'm a contractor who does a bunch of different stuff, and one of...
TL;DR: recommendations for a small or folding keyboard that in addition to Bluetooth, also connects directly by USB C.
Hello all. I'm a contractor who does a bunch of different stuff, and one of the areas I occasionally do is on-site IT work.
I'm always looking for better tools, and while I can and do keep a standard full-size USB keyboard in my van, I'd like something more space efficient that I can fit in a small toolbag. There are tons of mini and/or folding Bluetooth keyboards out there, and some of them have USB-C or mini-USB ports, but so many of them are either only for charging, or just don't tell you if you can connect to a computer by USB. Since most rack servers aren't going to have Bluetooth and I want an option that involves the least number of steps (trying to avoid a bluetooth keyboard and having to use a USB bluetooth adapter), I'd really like a mini or folding keyboard that, while it can do Bluetooth, also can connect to a computer by standard USB. I specifically want a USB C port since I'm trying to standardize my gear on that.
Thank you everyone!
23 votes -
Property-based testing against a model of a web application
7 votes -
The monospace web
41 votes -
Zig and emulators
14 votes -
Day 22: Sand Slabs
Today's problem description: https://adventofcode.com/2023/day/22 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2023/day/22
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
python
with any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>
6 votes -
Why not just do simple C++ RAII in C?
10 votes -
OpenBSD has reached OpenBSD of Theseus
22 votes -
What is a software you wish existed?
I've been feeling pretty bored for a while and my job isn't really giving something fulfilling to do, So I want to make something. However, I don't want to make something useless. unfortunately, I...
I've been feeling pretty bored for a while and my job isn't really giving something fulfilling to do, So I want to make something.
However, I don't want to make something useless. unfortunately, I can't think of any software I'm in a particular need for. I would love to make something that solves a real problem for a real human.
So, please tell me, what's something that you wish existed because it would reduce suffering in your life that little (or big) bit?
Edit: Wow wow and wow, I didn't expect this thread that I made on a whim to blow up so much. So many idead!
69 votes -
Forgejo is now copyleft, just like Git
20 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
13 votes -
FauxRPC: Easily turn protobufs into fake gRPC, gRPC-Web, Connect, and REST services
5 votes -
10 years of Dear ImGui
15 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
6 votes -
Zig: The small language (2022)
17 votes -
.Com prices go up at the end of the month
33 votes -
HTTP/1.0 From Scratch
4 votes -
User-defined Order in SQL
23 votes -
Magit 4.0 released
15 votes -
Crafting a 13KB Game: The Story of Space Huggers
29 votes -
Breaking my hand forced me to write all my code with AI for 2 months
14 votes -
KIO Thumbnailer Support
2 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
9 votes -
We need visual programming. No, not like that.
17 votes -
Plain Vanilla — An explainer for doing web development without tools or frameworks — just HTML, CSS, and JavaScript
35 votes -
Get roasted based on your Github username and public contributions
20 votes -
aconfmgr: A configuration manager for Arch Linux
11 votes -
Cables — interactive visuals, made from cable salad
11 votes -
First impressions of Gleam: lots of joys and some rough edges
9 votes -
Y’all are sleeping on HTTP/3
20 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
8 votes -
HTTP/0.9 From Scratch
11 votes -
Scaling One Million Checkboxes to 650,000,000 Checks
22 votes -
[SOLVED] Looking for help getting my VPN to work with Firefox privacy settings
I recently moved to a new place with a new ISP, and my Mullvad VPN isn't playing nicely with Firefox like it used to. Can any of you networking gurus please help me troubleshoot? When the VPN is...
I recently moved to a new place with a new ISP, and my Mullvad VPN isn't playing nicely with Firefox like it used to. Can any of you networking gurus please help me troubleshoot?
When the VPN is enabled, most requests from the browser fail immediately. If I pull up the dev tools Network tab, I can see that these requests fail with an
NS_ERROR_FAILURE
message before any data is transferred.I have Firefox configured to use "strict" Enhanced Tracking Protection. When I reduce it to "standard" my requests go through.
I'm also trying to use DNS over HTTPS with a custom provider (Mullvad, via
https://dns.mullvad.net/dns-query
). I'm configuring this in Firefox, using the "Increased Protection" DoH setting. When I do that, Firefox reports the DoH status as "Status: Not active (NS_ERROR_FAILURE)". This happens even when Enhanced Tracking Protection is set to "standard" — in other words, that reduced setting fixed theNS_ERROR_FAILURE
for HTTP requests, but not for DoH.So how do I fix this so Strict Enhanced Tracking Protection, DNS over HTTPS, and Mullvad all work together? I never had this problem with my old ISP, so I suspect something's being blocked at the WAN level that I need to circumvent.
- OS: macOS Sonoma 14.5
- VPN protocol: WireGuard
- ISP: AT&T Fiber
I'm just using the official Mullvad client app with mostly default settings. The fiber gateway modem/router came with some default packet filtering firewall rules but I disabled everything in the admin panel. Weirdly, rebooting my machine fixed this temporarily, but the next time I disconnected/reconnected the VPN it broke again. Other browsers (with default settings and no DoH) are working fine when the VPN is connected.
Edit: Solved! Solution here.
6 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
11 votes -
Anyone can access deleted and private repository data on GitHub
46 votes -
Generating sudokus for fun and no profit
26 votes -
Thinking of getting into emacs, any advice?
Recently I’ve been growing dissatisfied with my current workflow (Obsidian and iA) and looking to try something new, and someone recommended emacs, as long as I was up for the challenge. I figure...
Recently I’ve been growing dissatisfied with my current workflow (Obsidian and iA) and looking to try something new, and someone recommended emacs, as long as I was up for the challenge. I figure it can’t hurt to try, and if I don’t implement it, well, I’ll have learned something.
I’m fairly comfortable with CLIs, but will likely use a GUI, and will be using on a Mac.
Anyone have advice for a total novice?
17 votes -
Seeking advice on untangling the hornet's nest that is my business's website
I'm in a decade-long predicament related to the management of a somewhat complex website for my publishing business, and I'd appreciate your advice. For context: I joined the company as an...
I'm in a decade-long predicament related to the management of a somewhat complex website for my publishing business, and I'd appreciate your advice. For context:
- I joined the company as an original founder about 15 years ago. My initial roles mostly dealt with accounting, finance, sales, account management, etc. -- really, anything and everything I could help out with. I offered to take ownership of our website since I had a fair amount of web design and programming experience.
- The original version of our website was a patchwork of PHP scripts from back in the days before Composer. I was inexperienced and didn't know anything about frameworks, etc. so I just started adding code.
- Over the years, I built homebrew versions of user authentication, a backend (CMS, CRM, etc.), and our front-facing website (full-stack, from cloud hosting to CSS and everything in between). As the story goes, it became a spaghetti code mess that was only maintainable by me.
- Realizing that I'd created a mess, my next long-term project was to slowly start transitioning the entire backend over to the Symfony framework, including many/most of the homebuilt components such as auth. This probably took 5 years in earnest. This way, I could at least begin to have conversations about getting outside help.
- The other founder passed away unexpectedly, and I've found myself not having enough time to dedicate to the website. I can work on it here and there and patch it up when things break, but my fear is that we're going to become stale.
- I've had several conversations with individuals and web development companies in various capacities over the years. These conversations ranged from "sure, I can help out with front-end stuff" to "we would like to rebuild your website from scratch using (insert popular CMS) and then manage it for the low cost of (insert high cost)".
Right now, all of the coding goes through me because it's the cheapest option (plus all of the context above). I'd like to explore delegating or outsourcing it again, but I don't know where the happy medium is as far as what needs to stay in-house.
Just to give an idea of the complexity, as it goes well beyond what you would think a publisher needs, here are some of the features:
- User auth/database with tens of thousands of users
- Single sign-on that connects those users to several other platforms seamlessly
- Content authoring
- Several "microsite" type pages on the front end that require their own CSS/JS needs
- Some unique features that were built because we couldn't find suitable alternatives, such as a webinar player that automatically generates certificates and stores them for the user, watermarked PDF downloads to include user information (i.e. to prevent piracy), etc.
- CSS from the Bootstrap 3 era that has been modified and bolted onto over the years
- Jquery stuff from way back in the day
- and on, and on, and on
To do things right, I would think that I need a server admin, a Symfony/PHP expert, and a front-end expert. But we're talking about what - hundreds of thousands of dollars per year? We can't afford that.
In my mind, an ideal situation looks like this:
- I am still able to see, modify, and keep control of our codebase (Git)
- Hosting is managed. This is where my second biggest* fear lies, in that I know enough server admin to be dangerous, but I lose sleep knowing that an intrusion is inevitable and there are smarter people than me that can help prevent one.
- I can assign out projects (e.g. we want to upgrade to PHP ## and Symfony ##, we want to redesign a page/template/etc., we want to implement SAML and connect it to another platform, etc.)
*My biggest fear is that, since I hold the keys to everything related to this website, if I am unavailable (or get hit by a bus) then I leave the business in a REALLY bad place.
Can anyone offer any advice on navigating this hornet's nest?
11 votes -
The biggest-ever global outage: lessons for software engineers
13 votes -
PWA Notifications
Building my first Progressive Web App, it's new territory for me but I've made it installable already. I'm trying to cover a fairly simple use case, which is displaying a badge count based on the...
Building my first Progressive Web App, it's new territory for me but I've made it installable already.
I'm trying to cover a fairly simple use case, which is displaying a badge count based on the number of unread notifications. Intuition tells me that I'd just ping an endpoint on the server at a 5 minute interval, but I'm in new territory so I thought I'd open up the conversation to see if there's any gotchas to be aware of.
I'd like to see if there's anyone out there on Tildes who has experience in this domain - is the service-worker always on, or is it only active once the app has been open and then backgrounded? How do I know if the app is currently open? I would like the app to query for notifications more frequently when it's opened, and only intermittently when it's closed. Any tips?
8 votes -
Taking my diabetes treatment into my own hands
17 votes -
Software development is nonlinear system
8 votes -
Yarn, React, and Udemy. Help requested.
My apologies if this kind of content is not allowed here. Mod(s) please feel free to delete it if it is not without any butthurt on my part. I'm new to React Testing, so I am taking an Udemy...
My apologies if this kind of content is not allowed here. Mod(s) please feel free to delete it if it is not without any butthurt on my part.
I'm new to React Testing, so I am taking an Udemy course on it. The Udemy course uses yarn, so I would like to stick with that though I do know yarn isn't the top accepted tool in the React community.
I've posted this question elsewhere, I haven't gotten any responses, so I am posting it here ( costs nothing ).
I am getting this error when executing yarn build:
$ yarn build yarn run v1.22.22 $ react-scripts build Creating an optimized production build... Failed to compile. TS2305: Module '"web-vitals"' has no exported member 'ReportHandler'. > 1 | import { ReportHandler } from 'web-vitals'; | ^^^^^^^^^^^^^ 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { error Command failed with exit code 1.
I've tried installing web-vitals over what is already in the modules section, but that hasn't helped.
Any clues appreciated!
Update: the tip about ReportHandler being deprecated helped. I ran create react app in a new folder, did NOT run yarn update as the instructor called for,moved my work over, and now everything runs fine.
7 votes