Better HN
topnewbestaskshowjobs
Log inSign up

Hello71

1,909 karma · joined Sep 24, 2012 (14y ago) · 1,011 submissions

Submissions

comment 6y ago · link · parent

https://en.wikipedia.org/wiki/OpenSSL#Licensing

comment 6y ago · link · parent

while this is arguably true, it has nothing to do with the misappropriation of the original word. something can be terrible and yet not justify using words commonly agreed to mean different things. it reminds me of the recent trend to use "assault" when referring to all types of harassment, regardless of whether physical violence was carried out or even implied. you can argue that shadow banning is bad, but if you go say that it's "literally raping their identity" or something like that then you just sound like an idiot.

comment 6y ago · link · parent

gaslighting also doesn't mean lying, or cheating, or fraud. it involves some of these things, but that doesn't mean that all hiding and lying is gaslighting. to quote wiktionary:

To manipulate someone psychologically such that they question their own memory, perception and sanity, thereby evoking in them low self-esteem and cognitive dissonance. The verb sense derives from the 1938 stage play Gas Light, in which a husband attempts to convince his wife and others that she is insane by manipulating small elements of their environment.

in what way does hiding one's post cause them to "question their own memory, perception and sanity"?

comment 6y ago · link · parent

gaslighting doesn't mean hiding.

comment 6y ago · link · parent

> Physical print newspapers were subscription based but they weren't revocable-access: you received the newspaper on subscription, but once you received it, you owned it. This differs fundamentally from web-based subscriptions. With web-based subscriptions, if you let your subscription lapse, the site revokes your access to content which you previously had access to.

But with online subscriptions, you also gain access to historical content: if you sign up for a traditional newspaper, you don't immediately gain access to previously published papers, only those published subsequent to your subscription. Modern online subscriptions are more similar to traditional libraries, providing access to historical as well as future content. Presumably this is a major factor why Netflix and other services insist on calling their collections "libraries", despite being otherwise dissimilar. I think it's an interesting question though: would people pay for a Netflix subscription that provided irrevocable access, but only to current and future content? I would say probably not: a significant portion of the value proposition of Netflix is due to their historical content: "you can watch anything you want" (that we have), regardless of when it was published. Would you pay for this service?

comment 6y ago · link · parent

Really? The experience of AMD users has historically tended to be at odds with that statement.

comment 6y ago · link · parent

ffmpeg (and some other programs) has a different solution to this: options apply to the succeeding non-option argument: ffmpeg -f wav infile -f mp4 outfile means to convert the wav infile to an mp4 outfile. of course, nobody ever reads the manual, so they use it wrong.

comment 6y ago · link · parent

"expensive computers"

"> 4 gigs of memory"

https://www.ebay.com/sch/i.html?_fsrp=1&_nkw=computer&_sacat...

by my standards, $5 is not an "expensive computer".

and more to the point, the language has little to do with the compilation memory required. Firefox and Chrome require significantly more memory than that to compile nowadays; they passed the 4 GB mark that could be compiled on a 32-bit machine many years ago, and both Firefox and Chrome were written entirely in C++ at the time. furthermore, you can always enable swap. it'll be slow, but if you can't afford a $5 computer, you take what you can get.

comment 6y ago · link · parent

I mean, this isn't really a joke. this is basically the major target audience for programs like docker and vagrant.

comment 6y ago · link · parent

as I recall, PCs from the 90s also had extremely poor networking support.

comment 6y ago · link · parent

similar ideas have been around for ages. for the most part they are unpopular because they have a number of severe usability issues: SSO sometimes uses multiple domains, password rotation requires either changing all passwords or memorizing a per-site generation, multiple entries per site requires memorizing a per-site key...

comment 6y ago · link · parent

is there any benefit of that over the built-in html export function (which also works terribly)?

comment 6y ago · link · parent

Looks like there are no dependencies, so it should start pretty fast.

And sure enough, it's both easy and reasonably fast to run:

  $ time seq 1 10000 | awk '{a+=$0}END{print a}'
  50005000
  seq 1 10000  0.00s user 0.00s system 91% cpu 0.002 total
  awk '{a+=$0}END{print a}'  0.01s user 0.00s system 95% cpu 0.008 total
  $ time seq 1 10000 | python3 pyp.py 'sum(map(int, lines))'
  50005000
  seq 1 10000  0.00s user 0.00s system 80% cpu 0.002 total
  python3 pyp.py 'sum(map(int, lines))'  0.06s user 0.01s system 99% cpu 0.070 total
I wouldn't run it in a loop, but it's definitely a contender even in high-ish performance situations.

comment 6y ago · link · parent

I was going to ask "isn't this basically just awk" but the README quickly cleared that up! Excellent documentation.

One thing I'm wondering is how's the startup time/performance in general? awk is kinda slow overall, but Python starts a little too slow to be used in shell scripting.

comment 6y ago · link · parent

the problem with noncommercial licenses is that there is no commonly accepted definition of commercial. a simple definition of "you receive money for your work" excludes the vast majority of potential users. you get grant money? that's commercial. you post videos on YouTube? that's commercial. and even if it isn't, you may spend a significant amount of money defending a lawsuit. for this reason, any competent lawyer will tell you to stay far away from NC licensed material.

comment 6y ago · link · parent

I'm inclined to say that it will work on User Mode Linux, and it looks like QEMU does have record/replay functionality.

comment 6y ago · link · parent

based on the openwrt freeradius wiki article, it looks like it is fairly simple to configure:

https://openwrt.org/docs/guide-user/network/wifi/freeradius

the config file syntax looks funny, but it doesn't look particularly challenging.

comment 6y ago · link · parent

  Location: Toronto, Canada
  Remote: Yes
  Willing to relocate: Yes
  Technologies: C, Python, shell, Linux, networking; see resume
  Résumé/CV: https://alxu.ca/resume.pdf
  Email: see resume

comment 6y ago · link · parent

I was going to ask how you speed up pygments so much, but apparently the answer is "actually, some stuff is cached".

comment 6y ago · link · parent

my guess is that the prof wanted to plagiarize the work as their own.

comment 6y ago · link · parent

well, I definitely wouldn't use MS-DOS, because it doesn't support node or docker, but also because it's been obsolete since before Terminal.app existed.

comment 6y ago · link · parent

I started using FreeBSD a few months ago for a Tor relay, trying to promote OS diversity. I had read these types of articles about how FreeBSD is so much cleaner and well documented than Linux, and I wanted to try it out.

Honestly, I found it seriously lacking. It always seemed to me like most of those article writers had poor understanding of Linux, and now it seems to me like they have poor understanding of FreeBSD too.

For example, this article, like many, touts the high quality of FreeBSD documentation. I found it to be similar to Linux documentation: a few excellent pages, mostly good pages, some mediocre pages, and lots of undocumented stuff. People (including me) often complain about the quality of Linux networking documentation, which is unquestionably terrible, but I found that FreeBSD isn't really that much better overall. Better in some places, worse in others, often you have to give up and go find the source code.

Another thing often touted is the centralized development of FreeBSD making it more organized. This article betrays itself here by explaining that FreeBSD has three different firewalls, one originating locally, one forked from OpenBSD, and one forked from some dude. Now, to be fair, Linux is far from clean here: between ipchains, iptables, nftables, and bpfilter, Linux has gone through a lot of change. At least with Linux though there are at most two practical options at any given time, and there is a clear forward progression. With FreeBSD, I spent several hours trying to figure out the differences between each, which wasn't helped by the documentation problems: manual pages being fragmented and incomplete and the handbook being woefully out of date on this subject.

It also seems like a lot of the hyped FreeBSD features are actually far behind Linux features. As other commenters have mentioned, Linux has device-mapper, which is similar to GEOM, and is used for LVM and modern RAID setups. Jails came before containers, but Linux namespaces are now far more powerful than jails, which aren't that much more than chroots. bhyve is nice, but lags behind QEMU/KVM. Poudriere is fine but most Linux distros have chroot builders too now.

In conclusion, I don't find FreeBSD particularly attractive for any of the reasons that I hear often touted.

comment 6y ago · link · parent

this is being intentionally obtuse. Hire shutting down got 200 points 7 months ago: https://news.ycombinator.com/item?id=20815293, also see: Hangouts, Google+, Nest, Code Search, Site Search.....

it's not about "moving fast" at all. it's about google killing anything that doesn't make millions as opposed to just thousands (enough for basic maintenance). I never said anything about timeframe.

comment 6y ago · link · parent

my bet is that the bean counters have caught up with this product, and it'll be run into the ground with excessive pricing, because Google products have to make millions or otherwise they'll be killed. most notably, Reader.

comment 6y ago · link · parent

I mean, if you're not fixed on the output format, then date +%c.

comment 6y ago · link · parent

  date -d @$1 +%Y-%m-%d

comment 6y ago · link · parent

and yet according to the USDA, "11.1 percent of households were food insecure at least some time during the year, including 4.3 percent (5.6 million households) that had very low food security".

comment 6y ago · link · parent

doesn't work with firefox resistFingerprinting though...

comment 6y ago · link · parent

most modern firmwares ("go into the bios", ugh) provide a key to directly enter the boot option selection screen. this is one of the core functions of the firmware, and although I have pretty low expectations of AMI/Insyde/Phoenix, I'm pretty sure they can at least get that part right.

comment 6y ago · link · parent

  Location: Toronto, Canada
  Remote: Yes
  Willing to relocate: Yes
  Technologies: C, shell, Linux, networking
  Résumé/CV: https://alxu.ca/resume.pdf
  Email: see resume
1
101112
34