HNHacker News
TopNewBestAskShowJobs

boogies

2,140 karma · joined May 28, 2020

root@ganoonotunix # shuf -n 1 /usr/share/dict/words | figlet -f mini

   |_  _  _  _ o _  _
   |_)(_)(_)(_||(/__>
             _|
root@ganoonotunix # cat os

       .= .-_-. =.
      ((_/)o o(\_))
       `-'(. .)`-' 
        /| \_/ |\  
       ( | GNU | ) 
       /"\_____/"\ 
       \__)   (__/
root@ganoonotunix # boxes -d parchment < propaganda

     ___________________________________________________________________________
    /\                                                                          \
    \_| “This community that we have, that we're building, that does so much,   |
      | has to grow. We can't compete with Apple, we can't compete with Google, |
      | directly, in the field of resources. What we can eventually do is head  |
      | count and heart count. We can compete on the ground of ideology because |
      | ours is better.”                                                        |
      |      — Edward Snowden, NSA whistleblower, speaking at LibrePlanet 2016. |
      |   ______________________________________________________________________|_
       \_/________________________________________________________________________/
submissionscomments
boogies··on The Framework is the most exciting laptop I've used
> Three-finger-drag a window to the top of the screen and it's instantly maximized.

Sounds like a lot of work compared to any good tiling window manager. Windows should be automatically maximized on opening, unless there are others on the desktop, in which case just hitting a two finger key chord should do it without requiring contorting a wrist or moving an entire forearm away from the home row.

boogies··on The Framework is the most exciting laptop I've used
Chromebooks don't have Fn keys.
boogies··on While posting to Tumblr, E and W keys just stopped working
In vim gU makes the selection/motion uppercase, gu makes it lowercase and ~ toggles each of its characters' cases.
boogies··on Please stop closing forums and moving people to Discord
> Few open source projects start nowadays with a mailing list based development process. I can't even cite one.

Most of the projects on https://sr.ht/ (basically all that aren't only mirrored there from somewhere else) do (as it did itself).

boogies··on Three near-identical Boris Vishnevskys on St Petersburg election ballot
Same, maybe it's µblock Origin that fixes it? I'm using mostly stock LibreWolf with its preinstalled µBO on a MSW 10 library computer (though btw AdNauseum is a better µBO fork).
boogies··on El Salvador adopts Bitcoin as official currency, first country to do so
Unlike current USD, but like USD before Nixon abolished the gold standard, right?
boogies··on Show HN: Web browser to help programmers think clearly
Lynx¹ and NetSurf both display history in a tree, good to see browsers with "modern" engines catching up! (I think Firefox's Tree Style Tab extension was the closest alternative available before this)

¹requires configuration (under "Special Files and Screens", set "Visited Pages" to "As Visit Tree")

boogies··on Awk: The Power and Promise of a 40-Year-Old Language
> CSV is a complicated format

Surprisingly and unnecessarily so:

> ["DSV"] is to Unix what CSV (comma-separated value) format is under Microsoft Windows and elsewhere outside the Unix world. CSV (fields separated by commas, double quotes used to escape commas, no continuation lines) is rarely found under Unix.

> In fact, the Microsoft version of CSV is a textbook example of how not to design a textual file format. Its problems begin with the case in which the separator character (in this case, a comma) is found inside a field. The Unix way would be to simply escape the separator with a backslash, and have a double escape represent a literal backslash. This design gives us a single special case (the escape character) to check for when parsing the file, and only a single action when the escape is found (treat the following character as a literal). The latter conveniently not only handles the separator character, but gives us a way to handle the escape character and newlines for free. CSV, on the other hand, encloses the entire field in double quotes if it contains the separator. If the field contains double quotes, it must also be enclosed in double quotes, and the individual double quotes in the field must themselves be repeated twice to indicate that they don't end the field.

> The bad results of proliferating special cases are twofold. First, the complexity of the parser (and its vulnerability to bugs) is increased. Second, because the format rules are complex and underspecified, different implementations diverge in their handling of edge cases. Sometimes continuation lines are supported, by starting the last field of the line with an unterminated double quote — but only in some products! Microsoft has incompatible versions of CSV files between its own applications, and in some cases between different versions of the same application (Excel being the obvious example here).

— The Art of Unix Programming http://www.catb.org/~esr/writings/taoup/html/ch05s02.html

boogies··on Awk: The Power and Promise of a 40-Year-Old Language
> A perl script can't pledge() or unveil()

It doesn't seem to support all of OpenBSD's privilege separation, but there are OpenBSD::Unveil(3p), OpenBSD::Pledge(3p), and https://github.com/rfarr/Unix-Pledge

https://bronevichok.ru/posts/pledge.html

boogies··on Leaked phone number of Mark Zuckerberg reveals he is on Signal
Why not cover your camera? Some MacBooks are so delicate that Apple itself warns stickers can break them IIRC¹, but to me that’s just one more great reason never to buy a MacBook. For other cameras, if someone can look into my windows, they can also watch a lock-picking video on YouTube and IIRC learn that something like ≥70% of American homes have locks from the same 1–2 brands, and break in easily, but I still close curtains, because why not?

¹(Edit) You can't make this stuff up: https://support.apple.com/en-us/HT211148

boogies··on IPython as a System Shell
I think you mean luajit shell?

  $ lua5.3
  Lua 5.3.3  Copyright (C) 1994-2016 Lua.org, PUC-Rio
  > 2*3
  6

  $ rlwrap luajit
  LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2017 Mike Pall. http://luajit.org/
  JIT: ON SSE2 SSE3 SSE4.1 AMD fold cse dce fwd dse narrow loop abc sink fuse
  > 2*3
  stdin:1: unexpected symbol near '2'
  > =2*3
  6
boogies··on Wuffs’ PNG image decoder
I think it’s right: https://uploads.peterme.net/nimsafe.html
boogies··on Leaked phone number of Mark Zuckerberg reveals he is on Signal
> Alas, microphones are not as easy to deactivate.

That’s why eg. all Purism products with them have hardware kill switches (to physically disconnect them).

boogies··on Kallithea – Self-hosted alternative to GitHub
(Offtopic) You can simplify [2]–[5] to just ¹.

¹https://repology.org/project/pagure/versions

boogies··on Fed up with the Mac, I spent six months with a Linux laptop
> Preview is probably the most underrated app of all time

I’ve lost count of the times I’ve seen macOS users saying they can’t leave it in part because of Preview. But IDK if any have listed any features not present in both GNOME’s Evince and KDE’s Okular (not that I’ve ever needed or used any of the three).

boogies··on Fed up with the Mac, I spent six months with a Linux laptop
> Tearing? Fundamental Xorg problem. Fixed in Wayland.

TFA:

> Screen tearing with the intel driver. Come on. This was solved on xorg and now with Wayland it's back.

boogies··on Windows 95 – How Does It Look Today?
Come to the Free side! We have Free card games!

OpenBSD has canfield (solitaire), cribbage, [go]fish, mille [bornes], and even monop[oly] and bcd (format input as punch cards) out of the box (and way more! this is just a fraction of intro(6): http://man.openbsd.org/man6/intro.6). Unfortunately I’m not aware of any GNU distros that do, but you can get them with a simple `sudo apt install bsdgames` on Debian (also emacs has tons of games of course https://www.emacswiki.org/emacs/CategoryGames).

boogies··on IRS guidance for thieves, drug dealers, and corrupt officials
> the rules are so oddly specific that upon reading them I find myself smiling trying to think of the situation that caused a specific law to be made

I don’t think this is unique to taxes at all, I don’t have a Twitter account or really use it but there’s one account I check regularly: https://nitter.cc/crimeaday (random example https://nitter.cc/CrimeADay/status/1091488611269332993#m).

boogies··on Show HN: Box2D fluid simulation in WebGL and WASM
Does this work for most people? I’d assume it was just my slightly out of date version of the weird browser Palemoon that makes it throw “SyntaxError: missing declaration after 'import' keyword” and stay blank white (https://ibb.co/Bj2HHxH) for me, but a dead comment just claimed it’s broken on both macOS and iOS Safari, and Chrome.
boogies··on I bought ISO 8601-1:2019 and 8601-2:2019
even more betterer https://teddit.net/r/ISO8601/comments/mikuj1/i_bought_iso_86...
boogies··on A lot of free software is free as in piano
Not mutually exclusive, “corpos” are a major force behind the anti-rms drama.
boogies··on A lot of free software is free as in piano
> issue involving it and a ruby gem used by Rails

I hadn’t heard of this, I assume you mean https://news.ycombinator.com/item?id=26566925?

boogies··on Tmux lets you select and copy text with your keyboard
If you `set-option mouse on`, tmux will let you use copy-mode just by clicking and dragging (intelligently within panes, negating the need to resize-pane -Z). But TBH I often do almost the same thing (but Xorg does its part of the copy-pasta without forcing any Emacs-esque three-finger keyboard chording, thank goodness), selecting text is the only thing I ever use the mouse for in the terminal (except rare scrolling, especially overflowed weechat bars), so I keep tmux’s mouse support off.
boogies··on Frink
That almost works verbatim in GNU units (TNT must be made lowercase, and natural_gas’ underscore must be removed, not including “Advanced Farting” which IIUC would require editing a definition file): http://ix.io/2UMx

So for basic conversions like that, Fink isn’t worth reaching outside of my package manager (and I don’t want to use a web interface, I want a light, portable CLI tool). What I do find interesting is the date/time math (https://futureboy.us/frinkdocs/#DateTimeHandling, that and maybe the text translation https://futureboy.us/frinkdocs/#TextTranslation). I can use GNU date for some basic stuff, eg.…

  # 2001-08-12 04:00 UTC #
can become

  date -d'2001-08-12 04:00 UTC'
…but IIUC date is too dumb to take something like `# 6:00 PM Bosnia #` and assume today, or do math like `#2002-12-25# - now[] -> days`. I’ve previously ended up resorting to fairly ugly shell like `units -t $(( $(date +%s) - $(date -d '2002-12-25' +%s) ))seconds days`. I feel like I’m missing some useful units or date feature … or maybe I should use qalculate or python or something? (IDK, I need to sleep now, sorry if this sleepy comment is dumb)
boogies··on Zero click vulnerability in Apple’s macOS Mail
> Apple puts rather extreme security effort into preventing iOS jailbreaks.

Yes, IMO their business model is more accurately described as “gilded cages/jails” than just general “gilded/good-appearing stuff”. They deeply care about the strength of their DRM — including at the expense of end-user security, eg. you can’t access the internet through the Tor browser installed the normal macOS way without macOS broadcasting that you used Tor Project products to Apple’s DRM servers.¹

> They are pretty serious about trying to prevent data exfiltration from locked iOS devices as well.

They definitely care about the appearance of trying to prevent that exfiltrating (they don’t publicly appear to help the FBI do it), but they don’t try hard enough to actually prevent it (including in situations were preventing exfiltration seems to have been proven possible, see nearby comment https://news.ycombinator.com/item?id=26667141).

¹Edit: ocsp.apple.com, enabling targeting of the people who need or want security the most.

To the people downvoting: I’m trying to make an evidence based refutation of the less supported speculation/assertions in the parent post. If you have counter-evidence or any reason to downvote other than fanboyism, please explain it so we or I can learn.

boogies··on Tracing Paper (2020)
TFA seems to:

> Maybe she thought physical paper would be safer from digital surveillance than an email. So she printed the documents at her office [my emphasis] and then mailed them

boogies··on Tracing Paper (2020)
> The DEDA toolkit allows anyone to anonymize documents by removing the tracking dots at the software level

Sounds like the tracking tech is implemented in the proprietary drivers. If only the free software movement had filled its original purpose (freeing printer drivers¹) for more models…

¹https://www.fsf.org/blogs/community/201cthe-printer-story201...

Edit: looks like it may be in the firmware on the printer itself, not drivers on computers, as h-node warns of tracking even on printers with full compatibility with blobless, FSF-endorsed distros eg. Trisquel GNU/Linux-libre: https://h-node.org/printers/view/en/2215/HP-DeskJet-2700-ser...

boogies··on I tracked down my impostor
(and second, third, and almost exact fourth)

https://news.ycombinator.com/item?id=26605151

https://news.ycombinator.com/item?id=26606165

https://news.ycombinator.com/item?id=26605093

boogies··on Ask HN: Cheapest/easiest way to host a static site?
> legitimate criticism isn't racist and no one says it is

Free speech means freedom to express “illegitimate” views, “the fullest liberty of professing and discussing, as a matter of ethical conviction, any doctrine, however immoral it may be considered”. No one has reached a universal agreement on what “legitimate” criticism is. Of course there are often prevailing societal opinions, but those change with the society. Eg. the Federalist Papers were largely written by someone who was literally labeled “illegitimate” by society at his time (and were full of slurs, stereotypes, etc.¹). Someone who got killed in a duel — the meaning of civility changes with the civilization. IMO ours is at a fairly high point at the moment (in part because of the value placed on tolerance for differing values), but it’s only a matter of time before it inevitably collapses much like the Greek and Roman ones before it (likely in part because of intolerance for free expression).

¹Eg. stereotyping the Republics of Greece and Italy as “petty” and slurring opponents as “advocates of despotism”. https://en.wikisource.org/wiki/The_Federalist_(Dawson)/9

boogies··on In Stockholm there's currently an IT battle underway
> When talking about Ronald Reagan, I have to be personal. We in Poland took him so personally. Why? Because we owe him our liberty. This can’t be said often enough by people who lived under oppression for half a century, until communism fell in 1989. ~ Lech Walesa (https://en.wikiquote.org/wiki/Ronald_Reagan#/media/File:Lech...)
← PreviousPage 5 of 27Next →