Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scrapheap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
scrapheap
4y ago
I actually now track my reading using Kanban. Books I've decided to read go in to Pending. When I actively start reading one it moves into In Progress and when I complete it it moves into Done. I limit my actively being read books dow
212.
▲
by
scrapheap
4y ago
Your Ansible problem is hit when you're setting up a new machine and your live production code is still running on your old production machine. You fix your Ansible script to include the missing dependency, run it against the new serv
213.
▲
by
scrapheap
4y ago
> It stored data in CSV file and when someone entered "," in the message, it was broken and I needed to fix datafile manually. :-D So it was Enterprise Software then :)
214.
▲
by
scrapheap
4y ago
You can create an Ansible play that will make sure that only a fixed set of packages are installed. You can even make it pull that list of packages and their versions from another machine (actually very useful for making sure that your prod
215.
▲
by
scrapheap
4y ago
> The point is to only maintain the list of packages via this list. Except you'll find that if you have more than one person looking after the machine, someone will install a package directly and it'll get removed by the next p
216.
▲
by
scrapheap
4y ago
This looks to me like a script that will shoot you in the foot at some point by removing a package that you've forgotten to put in the configuration list. If you're going to the effort to define the list of packages you want insta
217.
▲
by
scrapheap
4y ago
I've used Graphviz for a long time and is still my first port of call where I need to produce the graph as a SVG or PNG. However, if I'm putting the graph into a project in GitHub/GitLab then I'll use Mermaid as it lets
218.
▲
by
scrapheap
4y ago
They do gain some data security as they've effectively sharded their database by user. So at the point of a power failure only the active users' data would be at risk of corruption at the file level. Of course there's always
219.
▲
by
scrapheap
4y ago
First of all don't beat yourself up over past choices, especially ones like this where you have no idea how things would have turned out if you'd acted differently (I know it's easy to say and hard to do). Should you seek pro
220.
▲
by
scrapheap
4y ago
I read Damian's Perl Best Practices book for insights into ways to improve my Perl coding, but since then I've found that the principles I picked up from it have significant improved my code in most other languages as well.
221.
▲
by
scrapheap
4y ago
I'm pretty certain that the systems of today have the same foundations as those of yesterday, we've just abstracted them away so we don't directly see it as often.
222.
▲
by
scrapheap
4y ago
Code can be written in all programming languages that is hard for other programmers to understand (including the original programmer a few weeks later). I find that Test Driven Development helps to tackle that issue as you get a set of test
223.
▲
by
scrapheap
4y ago
If you have a small set of really important data to protect that doesn't change regularly then you can always make it EMP proof by printing it out.
224.
▲
by
scrapheap
4y ago
A Faraday Cage should give some protection from an EMP - you could probably build a good one for very little money. There would certainly be differences between HDD and SSD, which I'll be interested to hear about. Depending on the size
225.
▲
by
scrapheap
4y ago
Does anyone have any examples of where SELinux saved the day? I appreciate that some of the time you'd never know, but I am curious if anyone has any real life examples where it stopped an attacker.
226.
▲
by
scrapheap
4y ago
Sysadmin Rule #1 - Is it SELinux? Sysadmin Rule #2 - Is it systemd? Sysadmin Rule #3 - Have you checked the logs?
227.
▲
by
scrapheap
4y ago
In my experience creating and applying new policies with audit2allow is almost always the wrong thing to do. Most SELinux issues are either a SELinux boolean that needs enabling, or SELinux file type that needs changing. The few times wher
228.
▲
by
scrapheap
5y ago
I really enjoyed Stephenson's early works, but his later works I've read have all felt like they needed a bit more editing. Don't get me wrong, they're good, but would have really benefited from cutting some of the fille
229.
▲
by
scrapheap
5y ago
If you liked Neuromancer then you should read True Names by Vernor Vinge.
230.
▲
by
scrapheap
5y ago
My team currently has to all go into the office for one day per week - that day is now referred to as "Low Productivity Day".
231.
▲
by
scrapheap
5y ago
The ease of use of Subversion is down to it being a centralized version control, which is pretty easy to understand. Switching to a distributed version control like Git takes quite a bit of effort (which I believe is worth it for more comp
232.
▲
by
scrapheap
5y ago
You shouldn't as it is no longer maintained - https://blog.jquerymobile.com/2021/10/07/jquery-maintainers-...
233.
▲
by
scrapheap
5y ago
Secure Erase is a very good method of erasing drives. However, this article wasn't looking at how to erase the content of the drive, it was looking at how to fill a drive/partition with randomness in preparation for using an encry
234.
▲
by
scrapheap
5y ago
First bit of advice, you're so close to graduation make sure you stick with it and graduate - finishing your course shows that you can learn and that you see things through. Once you've graduated don't let the fact that your
235.
▲
by
scrapheap
5y ago
These things are all just tools in the programmer's tool box. Which one you use will come down to the one you think is most suitable at the time based on your knowledge and experience. Generators are very useful in more complex scenar
236.
▲
by
scrapheap
5y ago
One thing I don't like about using `SELECT *` in code is that it hides information from the your future self. When I come back to a piece of code in a couple of years time, knowing which columns I'm selecting helps provide contex
237.
▲
by
scrapheap
5y ago
If you want to know what the "that" was, I suggest you listen to the full song and you'll have your answer.