HNHacker News
TopNewBestAskShowJobs

examancer

502 karma · joined September 14, 2011

submissionscomments
examancer··on Who Americans spend their time with
These are some of the worst designed charts. I had to download the CSV to figure out that the x-axis is age.

Once I figured it out the bottom right chart was chilling.

examancer··on The Intel Skylake-X Review: Core i9-7900X, i7-7820X and i7-7800X Tested
The view that web apps can only be for simple things is a dated perspective, but also probably a symptom of the fact that it's not really possible to take full advantage of many CPU cores in a web application.

An in-browser photo editor or 3D modeling software would be expected to run much better and apply complex effects or render models much faster on high-end hardware. It sort of works this way with WebGL content, but even there you're limited to feeding the render pipeline with a single thread.

I want the web as a platform to succeed. It is the only truly universal runtime and with some care it could offer very few performance trade-offs. I sincerely hope tools like servo and others unlock this potential.

examancer··on Amazon to Acquire Whole Foods for $13.7B
This is not accurate. Companies hold back some stock during their IPO for various reasons. Amazon held back 23 million shares. It also has repurchased a fair number of shares it holds as "treasury stock" on its balance sheet that appears to have netted them a few billion in appreciation.

This of course pales in comparison to the 478 million outstanding shares, so, you are correct: their shares don't appreciate nearly enough from the $15 billion surge in market cap to pay for the $13.7 billion purchase. However, to say "whatever the stock does has no impact on the company" is also inaccurate.

examancer··on AMD EPYC 7000 CPUs: 32 cores, 64 threads, 8 memory channels, 128 PCIe lanes
Kind of curious: How much lower you want them to go on the power/heat metric? Your current CPU is an 84W TDP part. A Ryzen 7 1700 has twice the number of cores and draws 65W with stock settings. The 1700 can get hot, but really only if you overclock it.

Of course more performance per watt is always better and I too hope Zen 2 can be even better. But right now, in certain scenarios, Ryzen is already leading in both performance per watt and per dollar.

examancer··on AMD EPYC 7000 CPUs: 32 cores, 64 threads, 8 memory channels, 128 PCIe lanes
While the full root cause has not yet been found or resolved the limited issues have been pretty reliably resolved by disabling ASLR. Whatever the root cause it is likely the issue can be fixed through BIOS/microcode updates.

The number of people affected are low. My Ryzen machine has only ever run linux and compiles a lot and has never exhibited this behavior. Also, most new platforms have issues, even new server platforms. These will be worked through during substantial validation server OEMs will go through.

Lastly, look up the errata list for any Xeon CPUs. Intel releases microcode updates for them several times a year to fix bugs. Modern CPUs are complex and will pretty much always have bugs. Luckily some combination of BIOS or microcode updates will almost always resolve them.

examancer··on Show HN: Password-protect a static HTML page
Simple and useful. The perfect "Show HN".
examancer··on Show HN: Password-protect a static HTML page
If the tool always makes a large blob of noise to hide the HTML in, and accepts an arbitrary number of key/html pairs it seems like this could work in the browser. Would seem to just cost disk space to be viable.
examancer··on Show HN: Password-protect a static HTML page
Thank you. I hadn't heard of this concept before. I think it could be relevant here.

If the encryptor offers multiple inputs, one a dummy "sure, here is my password, officer" HTML and passphrase, the other the sensitive one this scheme could work. Hiding both in a single blob, plus some noise, could work in the browser too. Seems it might offer some degree of plausible deniability. Some investigation of the decrypted dummy HTML might reveal it isn't large enough to account for the size of the blob. This doesn't seem like an insurmountable obstacle though. If the tool hides an arbitrary number of inputs in blobs that are indistinguishable you'd seem to have a great deal of deniability.

examancer··on Users report parallel compiling is causing segfault on Ryzen Linux
Ryzen linux user. I haven't experienced these issues yet, but I have experienced a few growing pains with early BIOS revisions not being 100% stable for me, and RAM speed and timing challenges. Mostly resolved, though RAM speed is still slightly shy of XMP settings.

System is overclocked (1700@3.8) and has been up and 100% solid for weeks now. 3.85 actually worked and tried to stress it by compiling a bunch of stuff. Didn't have any segfaults or other issues. Worked great.

Only after using an artificial stress tool (stress-ng) did I finally decide 3.85 was not 100% stable at stock volts. Backed off to 3.8 to avoid voltage increase for now. Haven't rebooted since.

The issues being reported do seem legitimate, however. Not sure if it's the memory controller having trouble with certain DDR4, the motherboards, or errata within the Ryzen CPU itself. All seem plausible. Hopefully AMD finds a resolution. In the meantime I'm glad I'm not affected.

examancer··on Users report parallel compiling is causing segfault on Ryzen Linux
There are multiple examples of people who are not overclocking at all and have gone to great lengths to ensure everything in their BIOS was properly configured. There does seem to be a real issue here. My money is on memory controller and issues with certain DDR4 modules. Hopefully something AMD can sort out with BIOS updates.
examancer··on [dead]
This is a strange article. Not sure why it has so much traction on hacker news. Seems to just take Intel press releases and spit them out with some prose. It doesn't say much, doesn't add much, parrots Intel marketing and performance statements uncritically, doesn't mention any competition, and generally is less informative about Intel's road map, fab process, and cadence than an average in-depth review of Kaby Lake architecture found anywhere else many months ago. It relates that info to the server sphere which can be useful, but not when the body of knowledge seems limited to what Intel says and doesn't put this information into a larger perspective or compares it with anything.
examancer··on Wealth isn’t created at the top, it is merely devoured there
There is nothing "communist" about the article. It is a critique of the flaws of our existing crony capitalist economies and how the real "welfare" is provided mostly to the elite. It concludes not with some call to junk capitalism and have the state run everything, but instead with advice on modifications we could make to fix the flaws and allow capitalism to work a little more like we all believe it does.
examancer··on Wealth isn’t created at the top, it is merely devoured there
I'm not going to bother dissecting the logical fallacies and projection oozing from your post. Instead I'll point out the factual inaccuracy: The author does not provide a "one-idea panacea". He uses a single over-arching idea (rent) and shows the subtle ways in which it pervades our society and economy. He then concludes with a laundry list of possible solutions (the "panacea") and alludes to even more. The author is under no illusion that this is a simple problem to solve. The illusion appears to be your own.
examancer··on Onedrive is slow on Linux but fast with a “Windows” user-agent (2016)
Apparently someone took notice. A few minutes ago a reply was added by a Microsoft employee stating a fix has been deployed. Wish they would have provided more details, but glad they finally listened after. Only took 4 months.
examancer··on The Internet Is Saving Culture, Not Killing It
On the flip side, there has never before been a point in history where one could make a good living riding miniature motorcycles around Omaha (https://www.youtube.com/channel/UCUPr-L6BprRHBS0EIBxciCA), crushing things with a hydraulic press (https://www.youtube.com/channel/UCcMDMoNu66_1Hwi5-MeiQgw), making robots that don't work (https://www.youtube.com/channel/UC3KEoMzNz8eYnwBC34RaKCQ), or wrapping assorted proteins in bacon (https://www.youtube.com/channel/UCYjk_zY-iYR8YNfJmuzd70A). This probably just furthers your point somehow, as I'm not sure how any of this benefits culture, but there are lots of emerging "artists" who are making surprising incomes in this strange strange new world.
examancer··on Why Socialism for the Rich, Capitalism for the Poor?
"Have an idea! Don't come in here with half a thing and not be able to... after you've walked me to the brink. And say, 'We've gotta do this. It's important though I have no earthly idea how.'" - Toby Zielgler, The West Wing (https://youtu.be/YKSTkLWjuyo)

Robert Riech makes good points but provides zero ideas how to solve them. Relying on the goodness of CEO's hearts isn't going to cut it. That won't help enough people. How do we incentivize the behavior of employee ownership? Right now the incentives are aligned against that, as Reich seems to make clear. He seems to be advocating against more "radical" approaches advocated by Bernie Sanders because there is this glimmer of hope some CEOs will be nicer. It seems like this article makes the point that structural changes are necessary but the author falls short of that conclusion and instead gives glowing praise to a single CEO in hopes it will inspire a few others. It might, but that won't help much.

examancer··on Rails 5.1.0 Beta 1
CoffeeScript was never the "default". Since the asset pipeline was added new rails projects contained only a single 'application.js' which included any default JS libs. There has never been coffeescript in a default rails project. That makes the default plain-old JavaScript. CoffeeScript has just been there as a default gem so it was available to you by default, but you have never been forced or even strongly encouraged to use it.

That said, I love CoffeeScript and continue to use it to this day. It gets a lot of hate and I've been pushed to write a lot of ES6 these days, but CoffeeScript is still much more succinct.

examancer··on Rails 5.1.0 Beta 1
You are comparing release notes for a beta to an actual release. Based on previous rails releases, by the time 5.1 rolls out the releases notes will get much more detailed and resources like guides.rubyonrails.org will be updated to reflect the latest features.
examancer··on New AWS I3 Instances for Demanding, I/O Intensive Applications
If only they would have waited for Ryzen :-P
examancer··on The Need for a Digital Geneva Convention
My comment was meant to point out how frequently the Geneva Convention is ignored by nations today. Clearly we need a similar convention to protect our increasingly critical digital infrastructure. However, our inability to enforce the current convention does not bode well for enforcing this one. It's tough to see how we can compel nations to comply until international law as a whole is better respected by all nations.
examancer··on The Need for a Digital Geneva Convention
We need to get better at following the current Geneva Convention before we can hope to enforce a digital version.
examancer··on Pipfile for Python
There were clear fears/risks/concerns stated by witten directly above. I didn't invent the idea of fears being stated out of whole cloth.

> subject to all the abuse you can introduce

> might cause [...] problems

I've said a few things about the potential benefits, though I am not involved in the project. The actual authors offer the best list of benefits: https://github.com/pypa/pipfile#the-concept

They also point out this will eventually be built into pip, so it will have the benefits of all the existing workarounds like pip-tools without any setup. It does seem like a lot more than change for the sake of change, and along with it since there is so much change why not take the opportunity to adopt a flexible DSL built for future extension so there is less real change in the future.

examancer··on Pipfile for Python
I used to think PHP was amazing and build tools were weird and unnecessary when I built things mostly in PHP. It's hard to see the point of many tools if you aren't working with the all the time.

I think this is the product of people who got to know both Python and Ruby very well and found Python lacking here. There are lots of things Ruby developers were gifted from people who also know Python and found Ruby lacking. Python is generally something I force myself through so I'm not one of those people but so glad they exist.

BTW, Ruby has tools similar to virtualenv: chruby, rbenv, and rvm all do basically the same thing.

examancer··on Pipfile for Python
Interesting. I guess Pypa feels Python also needs a flexible DSL and dependency groups in addition to the pip-tools lock file solution.
examancer··on Pipfile for Python
You guys were really burned by this setup.py stuff, huh? I empathize.

I also find it a little odd since a destructive project author can still find ways to mess things up without any code executing during setup, right?

Since this is for project level dependencies it doesn't seem like the potential for abuse is too high since you'll likely have a single Pipfile per project and the project will control it.

I don't know that anything will prevent destructive developers from being destructive. I would hate to throw out all DSLs because of a few bad actors.

For what it's worth in Ruby even library dependencies are written using a ruby DSL that runs unprotected during install, as well as some post installation hook facilities. There have been minor abuses like annoyingly long post-install messages and other crap that has occurred, but through simple community pressure the offending libraries are eventually pushed back in line and it's not an issue Ruby developers regularly encounter. Communities are different but Python seems like a community that appreciates best practices and is maybe better at enforcing them than Ruby is, so I'm not sure preventing one minor way a terrible developer can bite you is worth hamstringing your build system.

Yes, an over-wrought DSL is not a prerequisite. You can do deterministic builds and even grouped dependencies without it. But complex platform specific dependencies, git based dependencies, and dependency edge cases we haven't yet envisioned are more easily captured in an extendible native DSL than a more static data format. The DSL also has the advantage of being "just Python" so it will be very easy to remember for Python developers.

Maybe the benefits aren't worth the trade-offs but don't be so quick to count potential or perceived trade-offs as actual ones until you try out the new build system and see how it impacts your workflow. I know you got burned but this isn't setup.py and potential for abuse isn't the same as abuse... yet.

examancer··on Pipfile for Python
The purpose of a lock file is to separate the concepts of "acceptable versions" from "the list of last exact versions I used and were working". These are very different things and requirements.txt doesn't do both without you getting really anal with your version requirements (and losing the benefits of less strict version requirements).
examancer··on Pipfile for Python
Age is a good indication if there were serious issues with this approach we would have found them.

There seem to be a lot of strange fears from python developers about this approach and my comment on age was an attempt to assuage those fears. Since ruby developers are quite happy with bundler (at least in comparison to other communities) and have been for some time it's a reasonable point and not the only one I made.

I'm not sure how pip plans to use the lock file for projects distributed via pip. They may very well have a solution planned for that.

However, for projects that are distributed by source (which are many) the lock file ensures deterministic builds, and requirements.txt generally doesn't without being pedantic with your versions.

examancer··on Pipfile for Python
It was an attempt to directly address the FUD about running python code during dependency resolution. You're doing this to run more python code from the project's author so this seemed odd and an irrational fear.

Maybe my tone came across condescending. That wasn't the intent. It was meant in jest in hopes the reader would second guess the fear.

KISS is great, but this project is here because it's not already working for everyone. There is benefit to a flexible dependency system that keeps the concepts of "acceptable versions" separate from "actual versions last used" while also adopting an extendible DSL ready for edge cases that haven't been thought of.

examancer··on Pipfile for Python
Yes, source control.

Installing the project would cause it to be built from the lock file (assuming the Pipefile hasn't changed). This will mean your users won't get "some version" of a library you depend on between verion 1.0 and 2.0 or whatever range you specified. They'll get the exact package you last successfully used and checked in yourself, right down to the git commit if applicable.

Once you modify the Pipfile then pip will resolve your dependencies and try to make the specified changes by adding/removing/upgrading packages. If Pypa continues following bundler conventions this will be done by making the fewest changes possible from your existing versions in your lock file. You'll also have an upgrade mode where pip will rebuild you project from the Pipfile looking for the most recent versions of all libraries or a specified library within your specified version ranges. When done and your app/tests are working, check in the new version and you can ensure all your users/environments will be able to upgrade cleanly.

examancer··on Pipfile for Python
Your lock file goes into version control. This ensures all your developers and environments are using the exact same version of every library. You generate a new lock file when upgrading/adding libraries.

Don't be so scared. Ruby developers have been doing this for over 7 years now. Trust us, this is much better. Your Python friends at Pypa are copying Ruby because dependencies are less painful there than just about anywhere. They are still painful, but this will help.

← PreviousPage 2 of 4Next →