HNHacker News
TopNewBestAskShowJobs

prima-facie

1,745 karma · joined December 26, 2009

radu at wooptoo.com
submissionscomments
prima-facie··on Zim – A Desktop Wiki
For me the killer feature of Zim is the native integration with Git. It's super easy to write and commit, write some more, commit again. You don't even have to leave the editor interface.

I've coupled this with git pre-commit and post-commit hooks which basically ensure that the changes are always pushed to GitHub.

I've found a similar application for Android called GitJournal. Unfortunately it doesn't do the wiki syntax which Zim recognizes. Only markdown and plain text. So I have a separate repo for my mobile notes. They're usually much shorter anyway, the type of notes you'd put on a sticky.

Hopefully one of these tools will learn the format of the other in the future. That would allow us to use both of them on the same repo.

prima-facie··on Pwnkit: Local Privilege Escalation in polkit's pkexec (CVE-2021-4034)
FYI this is now patched in Archlinux with polkit 0.120-4
prima-facie··on Google requiring all ‘G Suite legacy free edition’ users to start paying
You can use the SMTP relay from other providers. The free tier should be enough for a personal account or two. For example AWS SES, Mailgun, Sendgrid, etc.
prima-facie··on Last Windows 11 update changed all default browser settings to Edge
I've been running basically the same Arch install since 2009:

> zcat /var/log/pacman.log.1.gz-2018010214.backup | head

[2009-02-23 18:14] installed filesystem (2009.01-1)

You can hedge against any distro breaking by using a volume manager which allows snapshots of the root volume, or even better, creates these snapshots automatically before a distro upgrade. Both LVM and Btrfs can do this. I use LVM because I love boring tech.

prima-facie··on I moved this blog from Medium, here
Github pages requires the repo to be public - which might not work for everyone. CF pages is pretty cool, thanks!
prima-facie··on Last Windows 11 update changed all default browser settings to Edge
> I can install Ubuntu in WSL2

Funny how the best thing to have happened to Windows in the last 10-ish years is gaining the ability to install Linux on top ;)

Also making Python and Angular first class citizens in their dev stacks. Both of which are prominent open-source projects.

prima-facie··on I moved this blog from Medium, here
If you don't mind getting your hands dirty you can publish a static blog using Github Actions + AWS S3 + Cloudflare for cheap - the only cost being the price of the domain per year.

https://wooptoo.com/blog/github-actions/

prima-facie··on UK government plans publicity blitz against encrypted communications
Good thing this government has solved the rampant knife crime in London and the rest of England. Now they can move on to more pedestrian things like banning WhatsApp.
prima-facie··on Ask HN: Career change for elderly UK ex-convict?
> As long as you're based in the UK your precise location is also unimportant

Is this a legal requirement or is it company policy?

prima-facie··on Computers as I used to love them
This is why I love open-source and put up with oddities in Linux / BSD / CLI tools / whatever. They're liberating to use. They don't try to sell you stuff. You're in control & it does what it says on the tin.
prima-facie··on Ask HN: My boss doesn't think I'm doing good work, how to proceed?
What a can of worms promotions are. The politics involved stink to high hell most of the times. It's significantly easier to sell yourself as a lead in another company than to scale up the ranks in the current one.
prima-facie··on Ask HN: My boss doesn't think I'm doing good work, how to proceed?
Since this comment became somewhat popular I'll post the entire guide here. I wrote this a while ago for someone else. It summarises some of my own struggles after being let go from a company I cared for deeply.

Not all companies and bosses are the same, but even well intentioned people can have some of these traits depending on the situation. The end goal is to have a good work/life balance and not work yourself to death.

* Put yourself first no matter what. No job is worth your mental and physical health. If you will work for your own company some day maybe then it's worth putting in the extra effort. Maybe not even then.

* Respect yourself and make sure they respect you.

* Do not allow to be bullied in the future. Bullying can come in many forms. Sometimes it's an inappropriate comment from a colleague or boss. Make sure you say it out loud when it happens but do it respectfully, in a serious tone: "I'm very surprised of your comment <name>", "This is a professional setting <name>". "We are at work here <name>".

* Do not allow them to overwork you. Most of the time you won't get paid for working late and no one will appreciate it. Finish your work at 5PM. If your contract states 9 to 5 then that's exactly what you are doing. Stand up from your desk and leave. Ignore snarky comments from colleagues or bosses. There's absolutely nothing they can do legally to make you work more than you have specified in your contract. They will whine and moan about stuff that needs to get done ASAP. Stuff will get done regardless of you leaving now or an hour later.

* Do not be intimidated into thinking you did your work poorly. I've seen this happen many times with employees being guilt tripped, especially the younger more junior employees. You are a professional and the work you do is important for the company, you do it with pride and to the best of your ability.

* Beware of gaslighting. Some bosses can be incredibly manipulative and will resort to all sort of tactics to get more from you. They can have you attend more meetings than necessary because there's a deadline coming up for them. They might want to shift the blame to you when something hasn't been done in their department, even when it wasn't your job in the first place. When this happens clearly state that it is not your responsibility and that you do your job well and on time.

* Stop caring too much about company problems, and focus on your own work. You should not care if the manager does his job poorly or if the company is not doing so well. It not your fault. They are running the business poorly.

* Raise issues early and in writing. A quick email to HR or your boss depending on the situation can work well. Exercise diplomacy and keep a copy - print to PDF works.

* When you are sick take sick leave, do not allow to be bullied into coming in to work or working from home instead.

* Do not divulge too much about your personal life at work. This can sometimes be used as leverage against you. Loose lips sink ships.

* Leave work problems at work. This is easier said than done but at the end of the day you shouldn't care about what happens there after you have left for the day. Enjoy time with family and friends.

I have been manipulated, bullied, devalued and treated poorly at work by Machiavellian bosses. I would never allow these things to happen again.

I've had recruiters trying to low-ball me from the very first call with a smaller salary figure than the one they had advertised (or with completely different terms than advertised), by suggesting that my skills were somehow not up to scratch. I respectfully told them that my skills are exactly the ones stated on the CV and hang up.

Good luck and try to stay positive. Focus on yourself and what benefit you get out of work.

prima-facie··on Ask HN: My boss doesn't think I'm doing good work, how to proceed?
Your boss is gaslighting & intimidating you.

- Do not be intimidated into thinking you did your work poorly. I've seen this happen many times with employees being guilt tripped, especially the younger more junior employees. You are a professional and the work you do is important for the company, you do it with pride and to the best of your ability.

- Beware of gaslighting. Some bosses can be incredibly manipulative and will resort to all sort of tactics to get more from you. They can have you attend more meetings than necessary because there's a deadline coming up for them. They might want to shift the blame to you when something hasn't been done in their department, even when it wasn't your job in the first place. When this happens clearly state that it is not your responsibility and that you do your job well and on time.

- Stop caring too much about company problems, and focus on your own work. You should not care if the manager does his job poorly or if the company is not doing so well. It not your fault. They are running the business poorly.

prima-facie··on Amazon EC2 M1 Mac Instances
To be honest I'm more impressed by the Polly TTS widget at the top. The neural version is incredibly good.
prima-facie··on Microsoft pushes ahead with controversial ‘buy now, pay later’ feature for Edge
Today's Google is a saint compared to the nineties Microsoft.
prima-facie··on People mistake the internet’s knowledge for their own
I found that having an offline-first mentality helps with slowing down and actually acquiring a deeper understanding of the topic you're dealing with.

I'm keeping offline docs for most of the tools I use. For example the Postgres manual is easy to browse offline, and offers a lot of insight into how the db engine works, much more than searching for random bits on SO.

These docs are stored locally on my machine as html files. I have an nginx running just to browse them more easily at http://localhost/doc/

Also writing down things as you learn helps tremendously. I use Zim which is a local wiki application. It's easy to use and I have separate notebooks for different things (like work, programming, etc).

This pattern pretty much mirrors what you would do in school.

prima-facie··on Consumption of coffee and tea and risk of developing stroke and dementia
Peruvian coffee seems to consistently taste better than other sorts of coffee for me. I really liked the Peruvian organic made by Coffee masters.
prima-facie··on How to build a second brain as a software developer
> But why save pdfs instead of downloading the webpages?

Ages ago we had this wonderful format called MHTML which allowed you to save an entire webpage (with images and all) as a single file. This was amazing for archiving and I remember saving lots of tutorials in this format.

But the format seems to have fallen out of grace over the years to the point where it became difficult to find a browser that allows opening those old files.

PDF now seems to be the best method of archiving content. Standards like PDF/A implement a subset of the PDF standard which ensures the content will be available for the years to come.

prima-facie··on ProctorU is dystopian spyware
This looks like something the UK Gov could use for SELT exams, visa & immigration tests or other similar secure tests approved by the government.

At the moment these are taken in person in secure buildings where you are identified at the entrance, your belongings are stored in a locker, and the exam itself is taken in a secure room on computers with no/limited internet connection, etc. You are timed and monitored.

prima-facie··on Intel Core i5 12600K / Core i9 12900K “Alder Lake” Linux Performance
Somehow this heterogeneous architecture makes little sense to me since the i9 as a whole consumes lots of power - about 250W - significantly more than previous generation of Intel processors. This also introduces an irking complication with the thread scheduler. I thought the whole idea behind adding E cores was to save power and deliver good-enough performance. Why even bother when you could just have fewer symmetrical cores like P10.
prima-facie··on Firefox 94
To answer my own question: it doesn't, at least not on my system.

I can see the Firefox child process count maxing at around 10 processes with the default fission.autostart set to false:

> ps aux | grep "firefox.*childID" | wc -l

> 10

Also the about:processes page shows some processes containing 'Shared tabs'.

As soon as I flip fission.autostart to true it creates proper separate processes for each tab with the above ps aux command increasing the count as I open up tabs.

prima-facie··on Firefox 94
Does this release actually enable Fission (process separation) by default? [1] I see it's still turned off in about:config

[1]: https://hacks.mozilla.org/2021/05/introducing-firefox-new-si...

prima-facie··on UK national extradited to US for film/TV piracy
The extradition treaty is a disgrace for the UK, completely imbalanced in favour of the US.

- https://blog.6kbw.com/posts/this-lopsided-treaty-is-the-us-u...

- https://en.wikipedia.org/wiki/UK%E2%80%93US_extradition_trea...

prima-facie··on Tech-savvy audiences block Google Analytics
* at the DNS level.
prima-facie··on I switched from macOS to Linux after 15 years of Apple
> On the desktop 90% of the projects are second rate clones of commercial software with a weird GUI, poorer features, and added user hostility.

A lot of free/open-source software is created by a single developer in their spare time, because they want an open & functional version of their favourite commercial app.

The weird GUI is what you get when you can't devote unlimited man-hours and millions of $ to the project.

A lot of good has come from the Linux and open-source movement, let's not pretend otherwise.

prima-facie··on Children of the night: the strange and epic tale of modern Romania
This piece of writing is libellous, superficial and short-sighted. I struggled to make sense of the sensationalistic writing style or the facts presented. This should not be on the HN front page.

Romania as it is today only formed in 1918 but its three major provinces Transylvania, Wallachia and Moldavia managed to stay distinctively Romanian through out their history.

Before WWI the nation found itself positioned at the crossroads between three major empires and during its tumultuous history suffered from their repeated attempts to dismember the country.

It did not benefit from the favourable geographical position such as Britain had, nor from managing to expand and conquer new territories, which always meant bringing back riches and slaves for the colonising country.

This is a nation which has endured a lot and deserves some respect when its history is brought up.

prima-facie··on MinIO: A Bare Metal Drop-In for AWS S3
Tbh I wasn't aware of Syncthing. In this use case it would work just as well I suppose.

One of the advantages of MinIO would be the wide compatibility with other S3 storage services. If my NAS had downtime while on holiday I could spin up a new bucket on S3/Backblaze/Wasabi and backup everything in a few minutes.

prima-facie··on MinIO: A Bare Metal Drop-In for AWS S3
MinIO is great. I use MinIO together with FolderSync (Android only) to automatically backup the photos from my phone to my local NAS. It runs a scheduled job every night and they're saved in the original HEIC format.

I've also used MinIO to mock an S3 service for integration tests, complete with auth and whatnot.

prima-facie··on A commemoration of Edsger Dijkstra [pdf]
D.J. Bernstein maybe?
prima-facie··on Show HN: Print a WiFi Login Card
The format is:

WIFI:S:<SSID>;T:<WPA|WPA3|WEP>;P:<password>;;

And can be generated with any qrencode program.

← PreviousPage 4 of 12Next →