Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arendtio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
871.
▲
by
arendtio
6y ago
I wish the prosecution of breaking the GDPR would be quicker. There are so many sites out there that obviously do not comply with the spirit of the GDPR. The GDPR is very clear, that it should be the users choice if he wants to be tracked (
872.
▲
by
arendtio
7y ago
Since others were suggesting mawk too, I just installed it and it was indeed faster than GNU awk: The task took about 7 seconds. Interesting enough: LANG=C increased the performance of GNU awk a bit, but actually decreased the mawk performa
873.
▲
by
arendtio
7y ago
The tasks were different. AWK -> calculate the difference between every two lines: awk -F ',' 'NR!=1{printf "%.0f\n", $1-ll}NR==1{print ""}{ll=$1}' R -> Calculate the min, median, mean, a
874.
▲
by
arendtio
7y ago
Arch Linux $ awk --version GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)
875.
▲
by
arendtio
7y ago
Very nice conclusion of the language. However, keep in mind that awk is not the fastest language around. A pro awk thread might not be the best place to tell this story but it is fresh and true: Last weekend I was playing around with some d
876.
▲
by
arendtio
7y ago
I just read the text a 2nd time and I disagree with you. The point of the text is, that you have to define where to put the complexity: If you are lucky, it lives in well-defined places. Otherwise, it will be everywhere (obviously ba
877.
▲
by
arendtio
7y ago
It is not about simplicity versus complexity. It is about creating simple abstractions that successfully hide the contained complexity. When I want to search for a string within some data, I don't want to have to think about the algori
878.
▲
by
arendtio
7y ago
Today, was actually the first time that I used the vim time travel feature. I noticed that I had deleted a line by accident somewhen during the last few minutes. So I typed :earlier 5m and copied the line. Afterward, I typed :lat
879.
▲
by
arendtio
7y ago
Reminds me of that access control system in the movie Gattaca, where you had to give a blood sample ;-) https://i.pinimg.com/736x/ac/aa/b0/acaab01e6647159309f680844...
880.
▲
by
arendtio
7y ago
It started with minor annoyances like the touchpad looking greasy at the center after a few days (cleaning didn't make a difference). After a few months, the touch screen didn't work anymore. I tried different OS and after a while
881.
▲
by
arendtio
7y ago
Sounds great. From the major hardware vendors, I heard only of Dell, to offer laptops with Linux preinstalled. Sadly my personal experience with an Dell XPS was so bad (hardware, quality-wise) that I do not want to buy their hardware again.
882.
▲
by
arendtio
7y ago
As someone who is not familiar with Buildpacks, I find that page particularly hard to understand. I see promising headlines like "What are Paketo Buildpacks?" just to be greeted by more unknown terms (e.g. 'Buildpacks').
883.
▲
by
arendtio
7y ago
The problem is, that they were never specific about their product. They just suggested that it would be far ahead of the competition which it wasn't. Nevertheless, I tend to agree that the product they were marketing did never material
884.
▲
by
arendtio
7y ago
https://cwe.mitre.org/data/definitions/117.html 'CWE-117: Improper Output Neutralization for Logs' That is something probably often forgotten when simply dumping some requests into a log, but at least it
885.
▲
by
arendtio
7y ago
Thank you :-) Interesting, especially the part about the LINE_MAX. Even though it kinda makes sense, I would never have thought that having a very long line makes a file a non-text file when all characters are 'normal' characters.
886.
▲
by
arendtio
7y ago
Does someone know if using grep on a binary file is somehow defined by POSIX? At a glance, I couldn't find a reference on the grep page: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/g...
887.
▲
by
arendtio
7y ago
Somehow it reads like a love letter to Go, but I bet he wouldn't like the Garbage Collector ;-)
888.
▲
by
arendtio
7y ago
Actually, I never considered log files untrusted input, but as this example shows, it would be wise to do so.
889.
▲
by
arendtio
7y ago
Cats do too, maybe not as frequently, but I think the important factor is, that the damage is not as severe in most cases. It probably is related to the size of the animals. If there would be more tiger-sized cats and more Chihuahua sized-d
890.
▲
by
arendtio
7y ago
I think RedHat does a lot more than just packaging open source in a nice manner. AFAIK, they actively shape the ecosystem and contribute to quite a few projects. Wasn't the whole systemd transition spearheaded by RedHat for example? Bu
891.
▲
by
arendtio
7y ago
Doesn't it depend on your locales? At least for source-based Linux distributions (Gentoo, Exherbo) I remember that you have to define the locales you want to use and which ones should be the default. And when I build a system without U
892.
▲
by
arendtio
7y ago
I think the learning curve is kinda steep in the beginning. It took me years of opening Inkscape, trying to build something and closing it in frustration before I finally took the time to learn the basics properly. I love what you can do wi
893.
▲
by
arendtio
7y ago
Sometimes I wonder how Go would look like with a borrow checker...
894.
▲
by
arendtio
7y ago
Yes, sometimes it is simply a matter of scope. If you exclude or minimize some factors you will rightfully come to a different conclusion. So you most certainly have to agree on which factors are relevant and to which extent. Otherwise, eve
895.
▲
by
arendtio
7y ago
I watched this talk a few weeks ago and even though I didn't remember the name 'Mary Lou Retton' I remember the anecdote without having to view the video again.
896.
▲
by
arendtio
7y ago
:D Actually, I thought of Gentoo when reading the post. LFS is probably closer to the task at hand, but the stage 1 Gentoo installations aren't that far either.
897.
▲
by
arendtio
7y ago
How about some kind of newsletter (weekly/monthly)? Currently, I have no time to spend, but maybe in a few months or if a project comes along that fits 100% one of my own ideas.
898.
▲
by
arendtio
7y ago
You have to include multiple perspectives. Make a list of the top 5 features... - you think your customers need - your customers want (ask them!) - which offer the highest return on invest - your product needs when being compared with your
899.
▲
by
arendtio
7y ago
A few years ago those Pixel Qi displays had quite acceptable refresh rates (the Notion Ink Adam had one of those displays): https://youtu.be/193w4JLm5hE?t=286
900.
▲
by
arendtio
7y ago
Somehow the 'Hello World' example reminds me of $ printf 'Hello World' | awk '{print $2}' | tr '[A-Z]' '[a-z]' | wc -w | cat Just kidding ;-)
More ›