Knowing how to use the command line will not automatically elevate your command of computers in and of itself. Operating your machine at a lower level by way of the command line will over time help you to gain more computing knowledge more as a side effect. There will come times where you will get stuck trying to use a command or series of commands or scripting something for automation and you will hit a wall - this is where you will discover the secret of all power users; knowing how to solve a problem. (Almost) no one here is a great programmer because they memorized an entire language or framework or OS. We’re great programmers because we know how to find information about our issue and apply that knowledge to come up with a solution. You make a mistake or come across something you’ve never seen before, you research and figure it out, your new knowledge helps you to not make that same mistake again and this just keeps repeating. All of computing knowledge is additive; low-level concepts and tools are the foundations for all layers of abstraction above them. So learning how to use a computer at a lower level will give you a proper base for understanding higher concepts and you’ll learn useful meta information along the way. Certainly everyone learns differently, but I would recommend diving into the command line if you want to do any sort of programming or just be a power user.
Yeah it’s hard when you don’t know what you don’t know. Your best bet is to go one on one with someone who understands you’re starting from zero. Catching someone who understands that will make a huge difference. Tech in general is absolutely amazing at continually making assumptions in instructions and documentation and it irritates me to no end. A couple hours one on one with a good teacher will crack the case quickly.
Yeah, Jekyll and Hugo treat pages differently. It does depend on what your intended URL format is going to be when building out your layouts. I’m on mobile so I can’t get into detail now how they differ, but you can’t drop Jekyll templates into Hugo and get them to work like that. I would actually download and study some free Hugo templates to learn by example how they treat pages.
This tripped me up when I switched too, but for me it was worth it to move away from Jekyll.
[edit] I just want to add - pay attention to the content “type” in relation to creating a template and specifying the type in the frontmatter. https://gohugo.io/content-management/organization/#type may point you in the right direction. You can manifest your own type by creating a template in the correct layouts dir and then specifying that type in your frontmatter.
Context. I might try something like “Frontpage is to MS Paint as writing code is to Adobe Illustrator. I’m not trying to teach you a child’s toy so you need to stick it out long enough to gain some perspective on this.” I’ve had success convincing people that the terminal isn’t “for hackers” by showing them the command line is really where everything happens like double clicking an icon is the same as running `open ~/Applications/Adobe/Creative \Cloud/Photoshop.app` and other normal operations performed with commands. It also helps to differentiate between things we’re doing just to operate/navigate vs. steps taken in the actual writing of code/building something. You can tell how much they understand by how literal they follow directions. I usually start with a whole lesson on using the command line so when we get to the actual meat of building they’ve seen many of the common commands before. It also helps if they’re on the clock and getting paid to learn vs. trying to pick a new skill on nights and weekends.
I’ve taught several non-technical people how to use Hugo and many of them still use it to this day on their own. It’s totally achievable after you understand just a few key concepts and pick a well-formed template to start with. And yes, Hugo is your best bet to keep things easy.
I signed up on 9/30/2011 and the registration form was sparse and a little confusing to the point that I ended up emailing support to make sure my account was set up correctly. Got an email back from some dude named John Collison who helped me out. Of course I had no idea who he was at the time but instantly recognized the name several years later when I came across the email again - Gmail had automatically put him in my contacts and I kept thinking it must be a mistake bc there's no way I have John Collison as a personal contact. Stripe has been good to me as a developer over the years and I hope they continue to innovate well into the future.
> is vulnerable to what the US considers to be proper
This stirs up all sorts of questions about location and the prevailing standards in the jurisdiction you're in. Does the set of hashes used to scan change if you cross an international border? Is the set locked to whichever country you activate the phone in? This could be a travel nightmare.
MotionEye works very well. Read all the docs first before messing with the settings as they are not intuitive - trying to tweak the motion trigger settings is a bit of a pain (frames threshold, timeout, etc.) but can be done and there is a debug frame setting which is helpful. Works with the Raspberry Pi cameras but also with any USB cam as long as you choose the correct driver. I have an IR nightview USB cam that gives superior night shots and doesn't require additional power outside the USB connection. You can save all files locally or send them to any number of services - I have all my photos and videos dropped into Google Drive. I'm also using DuckDNS for external access to the IP cam port for a real-time view into my home whenever I am out and about. The network stream feature in VLC on mobile works really well for that. The only issue I've come across (and this was ~4 months ago) is that 8GB RAM Raspberry Pi 4's are more trouble than they're worth for this application - software support was very much lacking but the 4GB Pi's work very well.
I built a small voice communication portal I'm calling Rally Call [0] that will be submitted to the Digital Ocean/Dev hackathon tomorrow [1]. Rally Call is intended to be a backup group communication portal that can be used in emergencies and situations where use of cell phones is lost. It is essentially a group voicemail-box that runs on Twilio. If you and your group had the foresight to sign up for an account, you could use Rally Call to let others in your group know your status ("Hey everyone, I'm OK. I made it out and am staying at a friend's house") or to organize ("Let's all group up and meet at uncle John's house in two days."). You dial in from any touch tone phone and enter your Crew's Account PIN to access the account where you can listen to or record messages for the group. Only one Crew member needs to register for an account and can share the dial-in number and account PIN with anyone they want in their Crew.
While the project's intent is a backup comm system for emergencies, it could obviously be used for any number of purposes. I still have a couple things to button up before submitting, but it's mostly done and should be a solid MVP by this time tomorrow.
I built a service called Rotary Rider [0], which allowed you to order an Uber using just your voice. No need for a smartphone or the Uber app, you could call in using any touch-tone enabled voice line (that you had registered) and speak your current address and the address of your destination and we would present ride options and prices. Choose an option to book and then we would call you back when the driver was minutes away.
The idea was primarily about accessibility - removing the requirements of needing a smartphone and app opens rideshare up to everyone. It was also a great backup option for those times when you need a ride but your phone doesn't have a good data connection.
The system was finished and I was literally double-checking everything and preparing for a test ride (I even bought a Nokia feature phone to prove I wasn't using the Uber app) when Uber cut off access to their API (for everyone, not just me). I had always planned to integrate Lyft as well, but getting shut down on Uber really took the wind out my sails and the project died. I obviously still have all the code and if someone here works for Lyft and wants to see what ordering a ride without an app looks like, I could probably be persuaded to pick it back up.
In-game name collisions between Mojang and Microsoft accounts will be a problem. They say you still keep your Mojang name in-game, but you might have to change your MS account username if it is already taken. As soon as people realize this there will be a run on registering popular names to try and squat on them on the MS side. There will be problems.
Interesting. Are you using Related [0] content? I always suspected the long build was due to related content but the build profiler isn't specific enough to point that out.
IMO the easiest implementation would always break into an index and sitemap(s) as needed. 49,999 URLs? 1 index and 1 sitemap. 50K+ URLs? 1 index and sitemaps as needed.
This gives you the most consistent output and users who cross the 50K threshold over time will not need to update their sitemap in search tools to be compliant since pointing to the index will already deal with that.
There are so many options but it genuinely depends on how your content is being generated. If you have everything in a giant CSV or JSON file then there's not much work to do at all. Many shops I worked with were used to WordPress and after WP released the API functionality it became possible to completely decouple the editing & publish function from the front end display. You can still use a securely locked-down WP install for content creation and editing, then just use the (also locked-down) WP API endpoint as your data source that gets fed into your site generator. Hugo has an awesome feature where if you feed it a URL it will go fetch your content for you, so it doesn't even need to exist in the /content dir prior to build. Thanks to the free tiers for Gitlab CI/CD or Github Actions, your repo only contains theme code and with a 10-line CI/CD config file and a container image that has Hugo installed, you just need a trigger to run the build pipeline - then you're left with the static site that you can publish anywhere you like.
If you don't need the user roles and editor experience you get from WP then you can feed your generator the content from any source you like as long as the files have the correct frontmatter to turn them into pages/posts. You might need a little glue script here and there to chain systems together, but it's not super difficult to adapt to whatever pipeline you need after you understand where your content comes from.
You can take your slow dynamic site and throw some caching in front of it or you can just skip all the moving parts and make the whole thing static from the start and let nginx do what it does best and serve static files super fast. I've done a lot of work for media and news sites that previously ran on WordPress and it is not uncommon to see 10K posts or more. I would argue static site generators are considerably underused for many types of sites that genuinely don't need an active datastore connection.
I should have been more clear on the terminology - 50K URLs. Which doesn't always mean 50K posts or pages, but those plus all your taxonomy pages plus all your pagination pages. A 10K post or page site can give you 50K URLs pretty easily if it uses taxonomies and pagination.
My case might be unique where the site is being built at the end of a pipeline that sorts through millions of rows of data and gives you the content you want based on your filters, but it's honestly not difficult to get to 50K URLs for many sites that have some age on them.
I'm going to try this out at some point this week, but the one item that makes me pause: the sitemap. Hugo is fast, but it doesn't do incremental builds. Once you get to the point where you're publishing 10's of thousands of posts, Hugo starts to get real slow (like 20 minutes to build, even after enabling template caching), so an increase in speed during build time is welcome. But once you get to 50K posts you realize that Hugo doesn't follow Google's convention to break your sitemap into separate files with an index map[0]. Hugo doesn't have a handler for this and as of now I haven't figured out how to modify the sitemap compilation process to be compliant (not like I've tried too hard, I'm not native with Go and the code isn't clear to me where the sitemap is being built). If Blades would handle the sitemap issue for me without needing a plugin or modification, that would be huge for a lot of people on the Hugo community boards.
That's exactly the type of program I'm looking for but it only mentions LTE. The LTE coverage there is spotty and speeds aren't great, so really hoping for 5G. Plus the fine print in the terms talks about how some streaming services can't be used, but doesn't name them. If T-Mobile rolls out a program like this with their 5G network it would be amazing. I really can't imagine them trying to sell 5G phones to country folk, at least not until the price comes way down. What else would they use that 5G bandwidth for in the meantime?
In a rural area where the local telco was granted a legal monopoly, their "high speed" comes in a 5/0.5mbps on a good day. The area is now blanketed in T-Mobile 5G coverage, but questions asking T-Mobile about a 5G hotspot with a wired LAN port have gone unanswered. I'd love to use a 5G hotspot as the house's modem, but WiFi-only just won't work. Do any 5G devices with a SIM slot and a wired LAN port exist?
Not just that US income tax needs to be paid, but also that cash needs to be converted into USD, which poses a problem in relation to fluctuating rates on currency conversion. Currency conversion rates is a running theme in Apple's SEC filings and was also mentioned in yesterday's call. In fact, there is an entire paragraph in last year's annual report that discusses how they built a model to not just optimize conversion to USD, but also predict the total cost so that they could also hedge against it.
There's also a note which says their foreign tax obligations are still under review from 2016 forward, so they might be prevented from moving the money until that picture becomes more clear as to how much is owed.
AAPL's previous 7:1 split happened at $700, bringing the price back down to $100. This split fits in that same vein. It would seem that the board feels "accessible" is in the $100 range, if that's what you're trying to read into the situation.
Tim specifically addressed the wearables decline as a result of store closures during the pandemic. He pointed to the fact that potential new watch customers prefer to try on the watch and view the band options in person before purchasing, and closed stores means this is not possible.
Here's a nice big collection of programs that either don't require equipment or use minimal equipment you could improvise - https://darebee.com/programs.html
No account or login, no ads or affiliate sales, and all programs are PDFs you can download.
Routing through where? If you put your proxy in the cloud then it definitely won't work as most providers block known cloud host IPs like AWS, Digital Ocean, etc. I placed my Raspberry Pi inside my home network so that when I'm traveling my traffic still appears to be coming from my home, which is what Spectrum and others are looking for to determine whether to show you the entire channel listing or just a small slice of available channels. If you're not showing a residential IP in their network then it doesn't matter what setup you use, it still won't work.
This OpenVPN[0] setup works very well and uses certificates for auth. It's easy to use and you just need to set up port forwarding in your home network so you can dial in from remote.
These days all the cool kids are using WireGuard[1] though. I don't have a link to a handy installer and setup guide for that but they do exist.
Using a Pi 4 with gigabit ethernet makes a big difference over older Pi hardware.
You don't think announcing this rate hike on the morning of the last day of the Q2 is coincidence? Sounds like most people's accounts are scheduled to renew in August, which would be much more impactful if we all waited until then to cancel. The knee-jerk cancelations today are fully expected and accounted for.