Better HN
topnewbestaskshowjobs
Log inSign up

Hello71

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

Submissions

comment 5y ago · link · parent

(AMD processors) AND (Intel processors with AVX-512)

comment 5y ago · link · parent

it was in fact created using state-of-the-art windows gui frameworks. in 1995. and then never updated. is it really an improvement to have a win10 settings app that is all unified... except for most of the advanced settings and half of the basic settings which are only available in the control panel?

comment 5y ago · link · parent

'The work which we describe as Studies in the Jewish Question, and which is variously described by antagonists as "the Jewish campaign," "the attack on the Jews," "the anti-Semitic pogrom," and so forth, needs no explanation to those who have followed it.' Henry Ford - http://www.gutenberg.org/cache/epub/7213/pg7213.txt

comment 5y ago · link · parent

My guess is that it's less that there are now better ways to do it, and more that bots are increasingly sophisticated and the value of this signal has decreased over time, while the business costs (explaining to customers why this is not a GDPR violation) have increased.

comment 5y ago · link · parent

I think a change of framing might be helpful here. Put in multiple bugs, and call it "training" instead. If you have multiple junior developers, have them all do it and compare results, reinforcing the idea of multiple reviews.

comment 6y ago · link · parent

imagine node_modules with dozens of layers deep nesting. each write would have 10x or 20x amplification to update the parents.

comment 6y ago · link · parent

writing to each parent directory would cause enormous write amplification and terrible io performance.

comment 6y ago · link · parent

or a really small bucket.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

better than modern web browsers for sure. qemu guest escapes are mostly in rarely-used peripheral devices, most recently the floppy driver. for less-trusted guests you can simply disable such devices though.

if you say "but what about the defaults", look at the number of new web interfaces though: web audio, webgpu, webusb, webgl, html5 audio/video, several media decoding interfaces... all of them with new and exciting vulnerabilities, most can be disabled but enabled by default.

comment 6y ago · link · parent

it's advertised as "small". how small is that? an Alpine minirootfs is ~2.5 MB tar.gz and ~6.0 MB on ext4 (4k overhead).

comment 6y ago · link · parent

it is sketchy windows freeware. https://en.wikipedia.org/wiki/JDownloader, https://support.jdownloader.org/Knowledgebase/Article/View/a...

comment 6y ago · link · parent

> $ time mksquashfs install perl-install.squashfs -comp zstd -Xcompression-level 22

> Parallel mksquashfs: Using 12 processors

comment 6y ago · link · parent

> You can pick either clang or g++, but at least recent clang versions will produce substantially faster code

have you investigated why this might be the case?

comment 6y ago · link · parent

that's a different project organization style though. it's like saying that bsd has so much more functionality than linux just because more stuff is bundled. maybe the bsd way makes better software, maybe not, but it would be insane to say that openbsd has "more web server functionality" than debian because openbsd comes with httpd but on debian you have to install one.

comment 6y ago · link · parent

gcc has more front ends? really? https://gcc.gnu.org/frontends.html lists seven bundled frontends and eight third-party frontends, some of which "are very much works in progress", and none of which I have ever heard of anyone using. https://en.wikipedia.org/wiki/LLVM lists about twenty-five, most of which I have heard of.

comment 6y ago · link · parent

seems like you could just log in directly at that rate

comment 6y ago · link · parent

> According to the article, it was one Canadian employee told by one Canadian supervisor that this was a no-go. There was no "Poppies is bad!" memo from Austin or Seattle. It was how a single Canadian manager chose to interpret the dress code.

This is egregious cherry-picking from the article. While one sentence says "An employee of the Whole Foods in Ottawa says", the previous paragraph says "U.S.-based Whole Foods Market says poppies aren't allowed [...] which affects employees at its 14 locations across Canada", and the one before that (the first in the article) says "a national grocery store chain has banned its employees from wearing the symbol of remembrance". Later, the article says "A poppy does not comply with that policy, the company confirmed", referring to Whole Foods, not any specific location. The sentence that you're quoting, read with any context whatsoever, is clearly anecdotal evidence provided to support the claim that Whole Foods both has a policy against wearing poppies, and is enforcing that policy in at least one store.

> Further along in the article it shows the problem is provincial law

I don't know what the hell you're going on about here. "would not be protected" is vastly different from "is not permitted". This sentence merely clarifies that Whole Foods' action is not explicitly illegal, not that it is required under any law.

comment 6y ago · link · parent

  Location: Toronto, Canada
  Remote: OK
  Willing to relocate: Within Canada, US, EU
  Technologies: Python, C, Linux, networking
  Résumé/CV: https://alxu.ca/resume/
  Email: see resume

comment 6y ago · link · parent

Even ignoring the fact that your plan as described falls within the specified range ($60/month/11 GB = $5.45/month/GB), I have never heard of plans or overage charges this cheap from any of the three major Canadian wireless providers. Last year, the three major providers simultaneously increased the price of the well-publicized $60/10 GB offer by at least $5/month. I'm not aware of any standard plans offering more for less, although you may be able to bargain for less. You may also be able to find slightly cheaper rates with a smaller provider, but despite offering nominally nation-wide coverage, the practical coverage usually ends up being substantially poorer.

Regarding overage charges, I would be genuinely shocked if anybody, including a minor provider, has overage under $10/GB, seeing as by your own admission, even your standard rate exceeds $5/GB. Rogers overages are $70/GB, Bell is $110-120/GB, Telus is a whopping $130/GB. If overage charges are under the normal rate, then that's not an overage, that's pay-as-you-go.

comment 6y ago · link · parent

IMO, the main problem with ffmpeg is that the official documentation is overly intimidating to newcomers. While the command syntax isn't great, it's not terrible either. Probably one of the contributing factors is overcomplicated poorly written internet tutorials copying out-of-date technical memes, like how people complain about tar -zxcvbnwhatever despite tar -xf file covering 99.9% of decompression cases.

comment 6y ago · link · parent

There are a number of issues with this program. First, there are a large number of bugs and general implementation issues. For example, "vdx --help" does not print help output, but instead raises "Need a glob pattern for input files". Invalid options are ignored, and debug output is non-existent: "vdx myfile.mp4 --asdf garbage" results in "error build/myfile.garbage" with no other explanation. It turns out that it is interpreted as "vdx myfile.mp4 -f garbage". The list goes on and on.

More fundamentally, however, FFmpeg supports both simple and complex operations. This program takes simple operations and does them wrong, and takes complex operations and throws them out. For example, the command to halve the audio volume of an mp4 file containing audio and video would be:

  ffmpeg -i infile.mp4 -c:v copy -af volume=.5 outfile.mp4
There are a number of problems with this command. Most importantly, it always encodes audio output with the built-in AAC encoder at 128 kbps. A better command would take into account the input quality and desired output quality and codec, then specify something like "-c:a libopus -b:a 80k" to select the desired result. vdx solves this complexity by simply ignoring it and using the FFmpeg default. A similar problem applies to its video codec settings, which always uses libx264 with the default settings. This is a poor choice. Almost always, either a slow setting (for better quality and smaller file size) or a fast setting (for worse quality and larger file size) is desired. Also, in my experience, either a lower CRF (for high-quality film content) or a higher CRF (for low-quality phone/ripped content) is desired. If you're going to punt on doing it properly and just use the defaults, you might as well just use ffmpeg directly.

The issues go far deeper than that, however. The entire design of the program is flawed. It appears to try to process the file twice: once for video, and once for audio. However, the author seems not to know that ffmpeg will re-encode video by default. Therefore, a simple command like "vdx myfile.mp4 --volume 0.5" unnecessarily re-encodes the entire video, twice. It applies operations in what seems to be undefined order, which is a problem when (for example) cropping and also resizing a video.

comment 6y ago · link · parent

mneh... these expenses include things like the disastrous https://en.wikipedia.org/wiki/Knowledge_Engine_(Wikimedia_Fo... and other similar projects which the existing community was not consulted on and have tenuous effects on actually attracting and retaining contributors.

comment 6y ago · link · parent

of which about $0 goes to actual content creators.

comment 6y ago · link · parent

> What happens when your preload of a byte that happens to be in a subsequent page trips a page fault?

spectre

comment 6y ago · link · parent

but do you have to pay Delaware or Nevada taxes?

comment 6y ago · link · parent

if it's so hard for you to consider opportunity costs when budgeting (a trait unfortunately shared by most humans), this seems like it could be easily fixed by putting the money you save into a discretionary spending account, to be used for renting hotel rooms for friends, or rideshares, or any such "unnecessary expenses". if your original assumption that buying a smaller house or whatever saves money, then this account should still increase in value every year, which can be rolled over into general savings. by keeping the money in a separate account, you can feel free to spend it on things that would otherwise be "free".

comment 6y ago · link · parent

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

comment 6y ago · link · parent

for what it's worth, I don't think they claimed that it originated in Chinese, merely that it was translated from Chinese at some point. it's possible that it originated not in Chinese, was translated to Chinese at some point, then translated back into English.

comment 6y ago · link · parent

sorry, I was on mobile and didn't check closely enough. it's worth noting that the maximum clawback is 100%, so in order to have any benefit to claw back at $220k, you would need to have at least four children under 18 years of age. if we assume that of the BC families receiving at least $1 in CCB, the probabilities of having four or more children and earning over $200k are uncorrelated (I would hazard a guess that the actual correlation is almost certainly negative), then the number of families paying 20.5% provincial income tax and 9.5% clawback is probably around 52.

in order to also be paying the 3% pharmacare deductible, you'd also need to be spending at least $7k per year on medical expenses, as well as making less than $316k before taxes. on the whole, I would say that paying that much medical expenses would make someone disinclined to have (more) children.

in conclusion, while I was wrong to say that it's impossible to pay all those taxes simultaneously and marginally, it seems highly unlikely and I doubt that anybody in BC actually pays that marginal rate.

https://www.canada.ca/en/revenue-agency/programs/about-canad...

1
789
34