Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
textmode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
textmode
8y ago
"Turns out that Reddit [API] has a limit. It'll only show you 100 posts at a time." 100 sounds like a typical "max-requests" pipelining limit. He does not mention CURLMOPT_PIPELINING. Does this mean he makes 100 TCP
62.
▲
by
textmode
8y ago
In processing HTML, XML or JSON with sed I have often used tr (e.g., delete newlines, add non-printable delimiter, then replace delimiter with newline) to reformat into sed-friendly input. However, an easy alternative to using tr for this
63.
▲
by
textmode
8y ago
STDBUF=U is one of the benefits of using NetBSD libc. This solution is however limited to applications compiled with the libc C "standard" stdio.
64.
▲
by
textmode
8y ago
Naive question: Why does this url 302 redirect to medium.com and then medium.com forwards back to the same original url? Is there some commercial advantage? Why not just post the medium url https://medium.com/p/f1076d62
65.
▲
by
textmode
8y ago
"I would be interested in how you would do especially the tr part in sed..." There is more than one tr part. :) I tried to be careful to refer only to where the task is replacing characters. As for joining lines, I have used the
66.
▲
by
textmode
8y ago
"All you have is openssl, bash, dig, stdbuf and sed?" s/sed/GNU sed/ echoz.sh also uses cut, base64, stdbuf, tr, mkfifo, tee and sort. echoz.sh does not seem to have any "bashisms" so perhaps one does not
67.
▲
by
textmode
8y ago
Heres an MP3 of the Kara Swisher interview that is mentioned. https://content.production.cdn.art19.com/episodes/1454f1b6-4...
68.
▲
by
textmode
8y ago
Does it have rules such as "Bitcoin only"? If not, will it open up to other uses in the future?
69.
▲
by
textmode
8y ago
"[PDFs: ] They're quick and easy to create ... they can be easily created from popular applications that people are already using to author and share documents." This appears under the heading "Why do people use PDFs?&qu
70.
▲
by
textmode
8y ago
cat 1.txt http://example.net/?p= https://www.example.com/?page= ... For a given URL prefix in the file 1.txt, print URLs for pages 25-35. Desired URL prefix is on line 100 of the file.
71.
▲
Maruti Hard Real-Time OS (1996)
(web.archive.org)
45 points
by
textmode
8y ago
|
3 comments
72.
▲
by
textmode
8y ago
"The page teaches users to use su to lower privileges ..." In the example, he could have used his own utilities for dropping privileges (setuidgid, envuidgid from daemontools). If I am not mistaken, busybox includes their own copi
73.
▲
by
textmode
8y ago
https://twitter.com/hashbreaker/status/1016951373005455360
74.
▲
by
textmode
8y ago
The latest version of links does support SNI. I use several clients that do not support SNI and one workaround is to connect through a program that does support it, e.g. haproxy, socat, etc. Privacy/censorship conscious users may disli
75.
▲
by
textmode
8y ago
"As of writing in 2018, the average website requires downloading around 3MB and making over 100 individual HTTP requests. Browsh will turn this into around 15kb and 2 HTTP requests - 1 for the HTML/text and the other for the favi
76.
▲
by
textmode
8y ago
tl;dr The idea for grep, like sed, began in the mind of Lee McMahon. The program grep was implemented by Thompson. I recall reading that the program sed was first implemented by Ritchie, and later McMahon himself. Is this correct?
77.
▲
by
textmode
8y ago
No. You do not have to Javascript to read it either. The text of the article can be retrieved without any use of Javascript.
78.
▲
by
textmode
8y ago
"Past failures I used to use a Soekris net6501 as my home gateway, but its CPU maxes out NAT'ing about 300 Mbps , sadly, so I started looking at alternatives when I got Centurylink fiber. I used to use a UniFi Security Gateway
79.
▲
by
textmode
8y ago
How does canvas fingerprinting work when Javascript is disabled in the browser? What if the HTTP client used to fetch the page does not run third party Javascript?
80.
▲
by
textmode
8y ago
tl;dr Facebook tracking pixels placed on websites around the web are automatically loaded by popular browsers' default settings. These benefit Facebook and their customers (advertisers, data brokers) but have created privacy risks fo
81.
▲
Lile a small fast configurable line editing facility
7 points
by
textmode
8y ago
|
1 comments
82.
▲
by
textmode
8y ago
"There's no point in securing DNS because your ISP can see what IP addresses you connect to." Perhaps the ISP has fingerprinted the pages of every website on every shared IP address so they can easily determine which website
83.
▲
by
textmode
8y ago
"Another lesson is that privacy defenses don't need to be perfect. Many researchers and engineers think about privacy in all-or-nothing terms: a single mistake can be devastating, and if a defense won't be perfect, we shouldn
84.
▲
by
textmode
8y ago
Is there any technical (cf. practical) reason the client must obtain the certificate from the server it names, and contemporaneous with the client's HTTP command? Is there any technical reason the client cannot obtain the certificate f
85.
▲
by
textmode
8y ago
Title: Default, unchangeable1 browser settings and modern, unencrypted SNI 1 Ignoring the possibility of editing and recompiling the source code, if the browser is open source. Background SNI is only required for websites using TLS that are
86.
▲
by
textmode
8y ago
"Facebook has said repeatedly that its patent applications should not be taken as indications of future product plans. "Most of the technology outlined in these patents has not been included in any of our products, and never will
87.
▲
by
textmode
8y ago
I control the frequency of updates to the data. If something changes I see it. I decide whether I want to trust it. Usually in the case of a change I will do some research on the new IP address. "TTL" is a concept used for DNS
88.
▲
by
textmode
8y ago
As a matter of preference mainly for speed and reliablity, not as any sort of "security" measure, I do DNS lookups in advance and store the data, using various custom solutions. Thus I do not need to do any lookups while viewing a
89.
▲
by
textmode
8y ago
The table in the parent comment lacks versions. If I am not mistaken, NetBSD uses ChaCha20 since 2015. https://github.com/NetBSD/src/blob/trunk/lib/libc/gen/arc4ra...
90.
▲
by
textmode
8y ago
Is this comment suggesting it is slower than other languages for those operations? If so, which languages? How much slower? Recommended tests? Is it possible that mandating vectorised solutions and avoiding I/O were in fact design g
More ›