Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nousermane
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
nousermane
3y ago
Yep. If you go and register a new gmail account today, there will likely be no option to enable IMAP access for that account, altogether.
2.
▲
by
nousermane
3y ago
> glue together some massively bloated thing that they have absolutely no understanding of Relevant: https://xkcd.com/1988/
3.
▲
by
nousermane
3y ago
> writing "return condition" instead of "if condition then return true else return false end" > using the conditional-value ("ternary") operator in any capacity Looks like author of some code I had to com
4.
▲
by
nousermane
3y ago
With newer android versions, you might want to check the "disable adb authorization timeout" option too. Otherwise, phone will "forget" your computer's adb key after a week.
5.
▲
by
nousermane
3y ago
That is quite nifty implementation of reverse HTML escaping. But in python that could be done with much less work: import html print(html.unescape(foo)) And the best part - you don't need to debug/update the (g)sub list e
6.
▲
by
nousermane
4y ago
Hug of death from HN visitors. For fellow website admins, this is your regular reminder to use static site generators, where possible, and server-side cache where not.
7.
▲
by
nousermane
4y ago
Yep: $ cat foo.tsv name foo bar Alice 10 8888 Bob 20 9999 $ cat foo.tsv | sqlite3 -batch \ -cmd ".mode tabs" \ -cmd ".import /dev/stdin x" \ -cmd "select fo
8.
▲
by
nousermane
4y ago
Talking about tricks to make python faster, there is an interesting one that is essentially exact polar opposite of what Nuitka does: Micripython's "viper" just-in-time compiler. It can only be applied to one function at a ti
9.
▲
by
nousermane
4y ago
> tried qemu, and spent many days trying to figure out the correct set of parameters It's really not that hard, once you get used to it. Or, if you rather not spend that precious time, there is a GUI tool that would configure those
10.
▲
by
nousermane
4y ago
To search very long texts by the "text shape". Same idea as some popular editors show on the right, next to the scrollbar: https://www.ultraedit.com/wp-content/uploads/2023/01/ue-img-...
11.
▲
by
nousermane
4y ago
Unlike RAM, where you always get exact power-of-2 number of bits per chip, modern flash storage normally ships with defects, plus error-correction codes to deal with those. Number of defects vary. Chips coming from the same factory, even sa
12.
▲
by
nousermane
4y ago
Same kind of basic programming that was "threatened" by no-code/low-code solutions before that.
13.
▲
by
nousermane
4y ago
> given the right prompts and constraints Yep, that seems to be the key, and some realized that already: https://news.ycombinator.com/item?id=34463061
14.
▲
by
nousermane
4y ago
You'd probably want to first check that /etc/resolv.conf is a real file, first. SystemD has a nasty habit of replacing it with a symlink. That prevents "chattr" trick from working.
15.
▲
by
nousermane
4y ago
> Linux kernel is written in C Not exclusively in C, not anymore: https://docs.kernel.org/rust/index.html It might take another decade for a C-free build to be possible, though.
16.
▲
by
nousermane
4y ago
In addition to tax-dodging, or selling off-the-books, there is one other, small legitimate reason for a vendor, to avoid card payments: Most banks/payment processors would charge a fixed amount per small transaction. Amount varies a fa
17.
▲
by
nousermane
4y ago
You're right, but I'd argue this problem is already here. Thanks to glaciers melting, earth rotation is (temporarily) accelerating. Because of that, positive leap seconds, regular before, didn't happen since 2017 - so there c
18.
▲
by
nousermane
4y ago
TAI - atomic clock, ignores earth rotation. UT1 - based on Earth's rotation only, strictly 86400 seconds per day; length of each second varies; takes a heck of a lot of effort (and time) to measure accurately. UTC - has same length of
19.
▲
by
nousermane
4y ago
...but UTC is still offset from TAI by 37 seconds. Any plans to do anything about that, I wonder?
20.
▲
by
nousermane
4y ago
Ah, yes. The infamous 1024-week (19.5 years) GPS epoch. I take back my "two decades" claim.
21.
▲
by
nousermane
4y ago
Very misleading article indeed. I have to add that GPS messages include TAI-UTC offset. That means that user of even old, non-internet-connected GPS receiver that didn't have any software updates in a decade, will still read out exact
22.
▲
by
nousermane
4y ago
Also, typical lead-free solders oxidize in air at their soldering temperature much more readily than near-eutectic Pb-Sn at its respective soldering temp. That oxide film tends to interfere pretty badly with wetting of surfaces being solder
23.
▲
by
nousermane
4y ago
Perl has some weird quirks - dollar-variables vs. percent-variables vs. at-variables (and sometimes you can "cast" one into other), round-brackets where most others have squiggly (and vice-versa)... But once you get over that, it&
24.
▲
by
nousermane
4y ago
Ah, yes. The classic "all our customers are morons" approach, with no opt-out for those 0.1% who, in fact, are not. Very typical among ISPs/Telcos. Where I am, we used to have a different, "nerdy" ISP [0], where cus
25.
▲
by
nousermane
4y ago
Is it actually in stock at this price? Where I am, local price tracker, tweakers.net, also shows some listings for ~100 euro, but if you click through to the seller's website, it says there "not in stock, delivery date unknown&quo
26.
▲
by
nousermane
4y ago
[OTR] would probably be a goto for encrypting instant messages. But both that & PGP require a 3rd-party client (pidgin/adium/etc...), if user wants to retain at least some usability. And nowadays, every popular IM network want
27.
▲
by
nousermane
4y ago
> plenty of people run a modern Bash out of their home Ah, got it. Another failure mode. There is a /bin/bash, but it's an ancient, crummy thing, that is difficult to upgrade. MacOSX does this, so users paper this over b
28.
▲
by
nousermane
4y ago
About that "#!/usr/bin/env bash" business - are there any systems out there that have "/usr/bin/env", but do not have "/bin/bash"?
29.
▲
by
nousermane
4y ago
Driver in question is cfg80211. Majority of popular wireless cards use it. DoS is the only publicly known exploit, right now. There is understanding that RCE is possible with additional specialist work. Local packet injection is an implemen
30.
▲
by
nousermane
4y ago
I'm not a fan of rust either, not by a long mile. But current kernel approach to memory safety is a complete, utter, demonstrated failure. Look at last week's CVE-2022-41674: https://seclists.org/oss-sec/2022&
More ›