730 karma · joined June 13, 2013
[ my public key: https://keybase.io/ytjohn; my proof: https://keybase.io/ytjohn/sigs/NbVxmFLTGl5RnWbxGpDTbDPW7lC6hXYkJD-9EcI7GEo ]
The downside to Pandora is that you can't choose your music. You can seed a station with a specific song, but that song might not be the first one played.
What I really liked with Pandora was that it was really good at producing endless playlists for me to listen to at work or car rides. I was a paid subscriber when I worked night shifts and drove a lot more. Spotify stations are really hit or miss. Sometimes the Spotify stations dive into foreign music and I can't find a way to specify which language of music I want to hear.
https://www.laurelvec.com/?pg=exams (All Laurel VE sessions are free and processed next business days)
http://www.arrl.org/find-an-amateur-radio-license-exam-sessi...
https://play.google.com/store/apps/details?id=net.andrewt.qu...
If you're only doing AWS or Google Cloud, Ansible can do that. Whether it does it better or worse than Terraform is all dependent on your use case.
If you're doing anything on premise, or outside of GCP/AWS, Ansible can do that as well. From the using OOB management (HP iLO/Dell iDRAC) to install the OS, to configuring vmware clusters to deploying k8s to declaring resources within k8s. Got network switches and firewalls at your office? You can manage that with Ansible. If you have a bunch of edge compute, Ansible can manage that as well.
What it comes down to is if you've got teams working with anything outside of AWS/GCP. They'll probably be using Ansible, and since you've already go Ansible knowledge across your organization, it would make sense to leverage that expertise and Ansible's cloud integrations.
All of that said - Terraform is much more popular when it comes to the major cloud platforms. If all you have is cloud, then you'll probably start with Terraform and stay there.
https://github.com/ansible-collections/community.kubernetes https://www.ansible.com/integrations/cloud/amazon-web-servic... https://www.ansible.com/integrations/cloud/google-cloud-plat... https://www.ansible.com/integrations/networks
It may not be the "best", but it's exceedingly versatile and has a low barrier to entry, which is a huge win for us.
I don't know how popular jsonlogic itself really is, but it definitely seems like a good fit for queries.
I've got some PC-based firewalls like the Protecli. Mini-ITX, atom-based, 8gb ram. I can often find these for <$50 on auction sites. If it's one I'll be the main "owner" of, I like to run VyOS for firewall and routing. This is the open-source fork of Vyatta, and Ubiquiti's EdgeOS is a commercial sibling (granted, EdgeOS has or at least had some advantages over IPv6 PD). VyOS is debian arm based, so lots of packages like ZeroTier VPN can be added easily. I like VyOS/EdgeOS because of the full CLI/scriptable config.
I recently setup 3 of these for a radio club. These will live in mountaintop tower locations and provide VPN+NAT. Since these might get modified by others, I went with OPNSense. OPNSense is a fork of PFSense with a nice Web UI and community support.
WSL2 would have the same advantages - a linux vm running under hyper-v. I see PyCharm 2021.1 has the same WSL connectivity as IntelliJ, so I will have to try this out. Would love if they added an ssh option.
Also, I'm not trying to knock the pinephone - I have one and fully support them. Their goal is to get more linux phones into the hands of more people, both devs and end-users. They're using open-source distributions and their approach will (in theory) lead to better software. The experience should get better over time.
There is the Librem 5 by Purism. They do target the free as in freedom crowd, and it starts off at $800. They also have the same phone made entirely in the USA for $3k. The PinePhone and Librem hardware have fairly similar specs. The Librem 5 does have a better camera and a slightly larger battery, but the real difference is going to be that they put a lot more polish into the system.
With config management, be it puppet, chef, salt, ansible, you start to approach that. Except these only manage the resources you define. If your config management manages apache resources, and someone wandered in and installed nginx that's out of scope. If you've got a list of machine-local usernames that you want to exist, you might not thinking about ensuring that other usernames are absent.
With kubernetes, it gets a bit closer. Let me preface that standing and running your own kubernetes cluster is a separate level of complexity, but once you have a k8s cluster, you can dump out a list of all resources (namespaces, pods, volumeclaims, ingress controllers, services...), modify that resulting file and apply it. Most people work in chunks, having a yaml file for each set of associated resources, or template those into a helm chart. With that, you can put all associated resources into a release, which you can delete and recreate as you desire.
There's still lots of gotchas, especially around persistence. It's not uncommon to find an orphaned volume claim that prevents your release upgrade from continuing until you dig in with 3 coworkers watching you as you try to remember if it's safe to delete that or not.
https://dev.to/lazerwalker/using-game-design-to-make-virtual...
"Linux gives you enough rope to shoot yourself in the foot. If you didn't think you could shoot yourself with a rope, you should read the man page first."
That said, as Linux has gotten more popular, it's put more safeguards in. For instance, you can no longer "rm -rf / file.txt".
I know someone that works for a (smaller) bank regularly processing loans in the mid six figure range. When I think about all the steps she has to go through around verification on each loan, It's just crazy to me how they're able to accidentally send an amount over 1000x times what she has to deal with.
I do like my laptop to be lightweight, thin, with some semblance of battery life. But for what I'm considering a portable utility computer, I now think in terms of a textbook. Self contained, usable, but also expandable.
In my case, I'm looking to dual-boot and run programs in the field. Most of those can run in Linux, but some will only work in Windows. This isn't to be like my primary laptop where I'm mostly concerned about battery life and writing code. It's a secondary device, dedicated to specific tasks. I almost purchased the GDP Micro PC for this, and may still depending on the kickstarter. What I liked about the Ready is that I can swap out the motherboard and pretty much every other component over time as needs change. The 3.5" - 4" single board computers keep advancing, getting more power and in some cases, getting cheaper. An Intel NUC with 4-8GB of ram today could be swapped out with a 32GB Ryzen w/GPU board in a few years.
It's a niche inside of a niche, so not everyone will see a need. But a stack of antiquated, mostly dead laptops and tablets motivates me to seek out something like this.
For real products, there is also the clockworkpi devterm. But the one I'm really interested in is the ready! 100. I think both have been on HN recently. The Ready is really just a case that you can put most any SBC into: from a raspberry pi to an Intel NUC. The screen hooks up via hdmi and the (mechanical) keyboard via usb. I'm planning to put a ryzen board (or maybe a nuc) into mine, along with an SDR. I also do some programming of '80s era commercial radios, which require an RS-232 and software running in DOS (known issues running under dosbox/vm, though freedos is fine). So I'd be making a triple-boot machine. I know one person mentioned planning to put two different SBCs inside the case, a low-power RPi4 and a higher powered ryzen board. Then they can switch between depending on their need.
DISCLAIMER: I am a backer of the ready100 (neo pledge) and I do hope it meets its funding goal. But I have no financial interest. In fact, if it doesn't reach its funding goal, I get my money back.
ready100: https://www.kickstarter.com/projects/jlafleur/ready-model-10...
It took me a bit of digging to make the distinction. I have both of them listed in my App Library, and both with the same name. At some point, I believe I went to install ZXing on a new phone and Android warned me that the app may be incompatible, so I went to the space team one. It makes sense that if people aren't looking directly in their app library that they can get these mixed up and leave the bad reviews.
However, since the space team version got infected, I did try the ZXing app - no pop-ups, and it works just fine (despite the age warning).
https://play.google.com/store/apps/details?id=com.qrcodescan...
The key here is that the author had a properly working, trusted, non-invasive application for years and then they pushed an updated version that was less so. Fortunately, it was an app with minimal permissions - it could only open web pages. In my case, running ublock, those pages came up blank. But for others not running an ad filter, they got pop-ups prompting them to install even more malware.
As for Google Play release process, I can't speak on that too much. They do scan for malicious code, but this code may not be malicious enough. If part of an application's purpose is to open web links, more code that opens links would not be as noticeable. Apple has a more intensive process to review new apps, and they spot-check app updates, but it's going to be somewhat similar. We hear about Apple pulling existing applications all the time for random reasons, but it's often after an update or report. Google pulled some of these apps after they were reported, but it was also after.
I'm not defending Google Play - they have a more relaxed review process than Apple, relying more on automation. But both have "legitimate" apps pulled for obscure reasons (and the only recourse seems to be getting attention on HN/Twitter/other), and both have let scam apps through. Apple seems to catch more of the "bad" apps, but also drops more legitimate apps that compete with Apple's business interest.
Around the end of December started seeing web page notifications after my phone had been locked for a while. I clear those and it goes away for a day or so. I originally attributed it to an open tab, or some site that I had inadvertently enabled notifications for. It took me a few days of seeing these and checking browsers to realize it was more, so I started checking apps recently installed. I even installed malwarebytes to do a scan, found nothing. There were three recently updated, including barcode scanner. I opened that and malwarebytes immediately flagged it. So the scanner seemed to know about it at that time, but couldn't detect it until you actually opened the application.
I used to have Theft Aware before it got bought by Avast, and I tried Lookout some years ago. But it was this incident that finally convinced me to install and keep anti-malware app on my phone. I've also disabled app updates from the play store.
EDIT: Mine was by "The Space Team", not the one listed in the article. Seems like a number of barcode scanner apps were targeted recently.
Creating the Response instance proved to be a better approach, because it makes it much easier to set content type, status codes, cookies, headers, etc.
Again - I might have done something wrong, but if you have an instance just doing 'return {"key": "value"}', check it with curl or browser dev tools to see what the Content-Type is.
End of last year, I switched jobs and have been forced onto a Windows laptop. I had been using VSCode, so after fighting with WSL1 and Docker on the work system for months, I installed a dedicated console only linux VM (under vmware workstation) within Windows and I use the VSCode's SSH remote option. It's pretty much seamless. The VM runs docker "natively" within it, the core part of vscode is running within the VM itself. There used to be a bit of confusion if you open a new vscode window, then you had to use that to open a second ssh-connected window. But last month, they changed that so you can connect the current window. When you open a folder or file, it's all like browsing the "remote" VM's filesystem. VSCode also now can auto-detect when you're starting a program on a localhost port and creates an ssh tunnel from your desktop to the remote system (you can also set these up manually if it fails to detect it). Sidebar: Now that WSL2 is available, I could see migrating from my Linux VM under VMWare to a WSL2 Linux VM under Hyper-V, but that's another level of effort for about the same end result.
Just prior to the pandemic, I had set myself up a linux desktop and made that my primary system (relegating my MBP to secondary/couch use). My work laptop was on a stand to the right and my MBP was on a stand to the left. I would use vscode to remote into either the VM on my work laptop or develop personal stuff locally. I also setup VSCode on the MBP to remote into the desktop. During the pandemic with kids home, I had to migrate from my detached garage/home office to inside the house. So I rarely touch my desktop directly and do my (personal) dev work remotely on it from the MBP.
In the future, should it come time to replace my MBP, I don't think I'll use another Apple. Since I can't BYOD it for my current job, and I don't need Outlook and PowerPoint for personal use, getting a hefty Linux laptop seems just fine for personal. If they would let BYOD MBP on the corp VPN, I'd consider it.
Once my job got back into more hands-on programming, I quickly lost interest in playing Factorio. I've been reading other programmers having the same feeling. You expend the same type of mental processing with both, so one makes you too tired to do the other.
That said, if I have a long weekend or a week off, I might find some time and enjoy playing it, and still feel refreshed when returning to work.
>Reason allows users to specify in advance the decision they want it to reach, and only then to input all the facts. The program's task was to construct a plausible series of logical-sounding steps to connect the premises with the conclusion. The only copy was sold to the US Government for an undisclosed fee.
https://www.bbc.co.uk/radio4/dirkgently/gordon_way.shtml
There was another software I forget the name of, but the guy had modeled his sofa and staircase on it to try and figure out how the sofa got impossibly stuck halfway up stairs, and it kept trying different angles in order to come up with a way to get it unstuck.