HNHacker News
TopNewBestAskShowJobs

pikrzyszto

85 karma · joined June 1, 2020

submissionscomments
pikrzyszto··on Student teacher arrested for private Snapchat message
If you do not control the application that sends messages, the application can always do E2E, only to spy on the messages on the end devices and snitch if necessary... We need E2E + no "bonus features", and to ensure both hold you need to review the code.
pikrzyszto··on Cursing the government does not fix potholes. Spray-painting them does
It's interesting to see lack of tolerance towards potholes - the government has a lot of other issues to work on (healthcare, education, pollution) yet potholes, being a problem we are affected by daily seem more important to people than the "remote" problems caused by underfunding in other areas.

Even if this trick works, would it be ethical, knowing it draws money away from other areas? What would be the road SLO we would agree be acceptable?

pikrzyszto··on UK's hardware talent is being wasted
zoning is still necessary, you don't want a pig farm (or anything equally stinky) next to people's houses.
pikrzyszto··on How to Train Yourself to Go to Sleep Earlier
You may find it beneficial to workout some pelvic floor muscles. It's possible that your muscles got weaker and struggle with doing their job as well as they used to.
pikrzyszto··on Algorithms for Modern Hardware
And then you get hit by Universal Scaling Law (or Universal Law of Computational Scalability) - see the section on https://en.wikipedia.org/wiki/Neil_J._Gunther

You can't throw more compute at a problem ad infinitum.

pikrzyszto··on Flattr is closing down (2023)
I used Flattr for a while but struggled with:

- flattr support discovery: Instead of having a "Flattr" button on the webpage I visit I need to navigate to flattr website and search there... but I'm not going to do that. Maybe adblocker removed that button?

- ownership confirmations - I wanted to donate to person $PERSON and found them on flattr. But I had no idea whether this flattr account actually belongs to $PERSON. I reached to $PERSON about that and never heard back so I stopped donating.

pikrzyszto··on I'm sorry I bit you during my job interview (2011)
I'm curious - why? Can you send some resources about that? Do you know if there is an alternative law I could support my claims with in UK or EU?
pikrzyszto··on I'm sorry I bit you during my job interview (2011)
I think it was more about security/confidentiality - when you print and scan you exactly see what's that that you're sending. No hidden HTML elements, e-mail headers and stuff like that. And they blacked out some of the stuff I didn't need to see (again, with a permanent marker so hard to do it wrong).
pikrzyszto··on I'm sorry I bit you during my job interview (2011)
The effort was zero - I copy-pasted an e-mail template from the internet and volia.

Yes, this is in Europe.

I think I learned quite a lot, namely:

- why I failed the interview (I struggled to produce correct code, the code wasn't very robust and I said it's ok to put it into production)

- why I haven't failed the interview (ex. no mention of my English language skills) - which was more valuable for me than the "why I failed"

- a fairly good confidence that there's little details omitted - when they submit you a voluntary feedback they may give just the most obvious information. Ofc I didn't get the data about what was said on internal meetings.

- some insight into their internal structure, opinions of individual interviews about me etc.

I probably burned bridges with that company but after the interview neither party was interested in cooperation so I decided to give it a shot and see what happens.

I had to wait exactly 30 (or 14?) days (GDPR deadline) for the feedback to get to my mailbox.

pikrzyszto··on I'm sorry I bit you during my job interview (2011)
I once asked for a feedback, was told that they won't give any. Filed a GDPR request and got all of their e-mails and internal tickets about me and my application. Funnily, they printed this data, scanned to PDF and sent the PDF via e-mail.
pikrzyszto··on So you want to modify the text of a PDF by hand (2020)
Poppler ( https://poppler.freedesktop.org/ ) handles this for you with pdftotext utility. It also ships with bunch of other utilities to work with PDFs
pikrzyszto··on mCaptcha: Open-source proof-of-work captcha for websites
Other captchas also waste (your and captchas' provider) electricity. For example reCaptcha requires tons of resources to track your moves to ensuring you're "not a robot". Sure, the data is also used to serve you ads but resources are still wasted.
pikrzyszto··on Future ultra-precise timing links to geosynchronous satellites
See also White Rabbit Project, i.e. how to synchronize clocks over the internet with sub-ns accuracy https://en.wikipedia.org/wiki/White_Rabbit_Project
pikrzyszto··on UN Human Rights Chief Urges UK to Reverse ‘Deeply Troubling’ Public Order Bill
The monarch has a lot of power to vet many laws without the public even knowing it happened.

https://www.theguardian.com/uk-news/2021/feb/08/royals-vette...

pikrzyszto··on Lithium-ion batteries a growing fire hazard in NYC garbage trucks
In the UK every bigger grocery store has a bin for old batteries, disposing batteries is trivial.
pikrzyszto··on System D
From https://freedesktop.org/wiki/Software/systemd/ :

> Because it's a system daemon, and under Unix/Linux those are in lower case, and get suffixed with a lower case d. And since systemd manages the system, it's called systemd.

> Système D is not an acceptable spelling and something completely different (though kinda fitting).

Wikipedia says that it somehow relates to Systeme D, but they don't have any good references for it.

pikrzyszto··on Sometimes it actually is a kernel bug: bind() in Linux 6.0.16
See the following

https://kunit.dev/ - unit tests for kernel

https://docs.kernel.org/dev-tools/testing-overview.html - entire testing overview.

pikrzyszto··on Systemd.timer, an Alternative to Cron
Why would it care about stracing? It was never too slow for me. A "bad" performance might be caused by ex. consistency checking. Benchmarks like these don't tell much - you can't reduce software performance to one number.

> It's DB implementation is utter garbage. It doesn't even organize files by time or really anything useful.

That sounds interesting, can you please elaborate on the internal structure of journald files or link to further documentation? And why would I care if journald handles it for me?

pikrzyszto··on Systemd.timer, an Alternative to Cron
I'm happy we have special-purpose tools for dealing with logfiles. I don't want to craft one-liners for "give me logs around timestamp" or "give me logs about my service's first start after the boot" every other day.
pikrzyszto··on Systemd.timer, an Alternative to Cron
"tail /var/log/nginx.log" is now "journalctl -fu nginx" or "jouranlctl -eu nginx". Not that much of a difference, it really depends what you grow up with. We could argue "tail" is ugly because you never know if it's "tail /var/log/nginx.log" or "tail /var/log/nginx/nginx.log".

A nice feature is that journald gives you flags like "--boot" to see logs only emitted during a specific boot, or "--since '5m ago'" which is not that straightforward to do with the approach you favor. (if there is a way to do it easily, please let me know!)

pikrzyszto··on Ask HN: Software with biggest potential for positive impact in 5 years?
I'd recommend you to have a look at https://80000hours.org/ or at least their job boards: https://80000hours.org/job-board/

They focus on the very problem you're asking about.

pikrzyszto··on Ask HN: Single-person creations that have stood the test of time?
emacs, a lot of art including books, film, wheel, fire, some programming languages (C, Perl, Python)
pikrzyszto··on So you want to write a technical book
Do you happen to know where does the "So you want to" prefix originates from?
pikrzyszto··on The Mom Test – How to talk to customers
a lot of scientific books are like that, for example the art of computer programming.
pikrzyszto··on The Framework Laptop is now shipping
Are there any plans for ECC memory support?
pikrzyszto··on If I solve integer factorization, will I get killed for breaking cryptography?
Why not? It took over 350 years for people to crack Fermat's Last Theorem. Some Hilbert's problems also took very long to crack but were finally solved.
pikrzyszto··on Measuring memory usage in Python: it’s tricky
Remember that a lot of software not only relies on memory that the developer explicitly allocated but also on buffers and various caches, disk cache being an example. It goes a long way - kernel might refuse dropping disk cache when it considers it's too hot (ex. db machine.)

The question "how much free memory do I have" or "how much memory does this program use" is a very hard one, and you can't just read the "MemAvailable" column from /proc/meminfo or RSS/PSS/Virt from ps/pmap.

pikrzyszto··on DragonflyBSD 6.0
It's hard to reliably reproduce a cross-platform benchmark. They use different compilers, different compiler flags and do not show profiles. Also some compilers tend to be quite conservative in less-known environments.

http://www.brendangregg.com/ActiveBenchmarking/bonnie++.html provides an example how "the same benchmark" can measure a different thing on a different platform.

pikrzyszto··on DragonflyBSD 6.0
yes - one of the reasons behind Dragonfly conception was that it's hard to write high-performant code for all architectures at the same time. Ditching ARM64 and others means much cleaner codebase and less effort to maintain all of this.
pikrzyszto··on Ask HN: Considering colocated hosting over cloud, what should I know?
A good colo provider can hook your machine to a masterswitch, serial console and put a PXE server on the LAN (or just stick an ubuntu livecd into the drive) so you can solve many problems on your own without relying on IPMI or asking remote hands to help you.
Page 1 of 2Next →