Better HN
topnewbestaskshowjobs
Log inSign up

devrandomguy

959 karma · joined Apr 28, 2017 (9y ago) · 421 submissions

Why hello! If you are trying to contact me, I'm on protonmail.com with the same username.
Submissions

comment 9y ago · link · parent

Webpack handles sourcemaps, and one of us, gajus, has already integrated it. Prepack should be just another stage in the build pipeline.

Having said that, there appears to be a sourceMaps flag in the Prepack source: https://github.com/facebook/prepack/blob/57cc59c07d164e4827c...

I will be attempting to use this as a simple black box, relying on Webpack for features that are only tangentially related to this new optimization stage in my build stack.

comment 9y ago · link · parent

Shoutout from Canada! There are 32M of us, 88% of whom have internet. Our banks are archaic and expensive, and as a people, we have a low tolerance for that. My current bank actually believes that the telephony system is secure, compared to email :/

Our banking laws are favorable to startups; I could start my own bank, if I wanted to, for little more than the cost of a business license. Many merchants run their own little micro-banks, partly because of the aforementioned problem. Please help :)

comment 9y ago · link · parent

Parent is right, a mix of platforms is inevitable. Might as well take advantage of the opportunities, instead of trying to preserve a monoculture. The school board could quite reasonably insist that all digital school work must be submitted in open file formats. They could acquire a wide range of hardware, continuously, and allocate higher or lower spec machines depending on the actual needs of each class or grade year.

What the school loses in simplicity, they gain in budget flexibility. What the student loses in familiarity, they gain in resiliency. Change and diversity cannot be stopped or squashed. Open source does take a bit of work, but it pays for itself, partly in lowered risk, especially for large non-profit or low-budget organizations.

comment 9y ago · link · parent

If you can predict a cosmic ray strike with great precision, then you might be able to get that bit flipped for free.

comment 9y ago · link · parent

This was common back when I was in high school. A bunch of us kids convinced ourselves that we were straight outta Compton. It was so wack, but we had lots fun of breakdancing and threatening to bust a cap in each other. This was before Columbine, and in Canada. The accent was hard for us to get right.

So, now it's called transracial, and we're no longer allowed to dis it? Sure, ok, whatever.

comment 9y ago · link · parent

There should be a category for analogy based languages. Rail or the Billiard Ball Machine, which looks like Feynman diagrams on a pool table, are examples of this.

https://esolangs.org/wiki/Rail https://esolangs.org/wiki/Billiard_ball_machine

comment 9y ago · link · parent

Did anyone else play with the BEAM robotics circuits back in the early 2000s? They were an excellent introduction to both the basics of artificial neurons, and to the analog side of digital circuits.

Neurons were constructed by passing an inverter's input through an RC high-pass filter. A ring of these would slowly feed a single pulse, or a pattern of pulses, around the network by something equivalent to phase-shifting an incoming pulse. Sensors, and current or voltage feedback from a straining motor, could adjust the timing or even alter the pattern of the pulses. The pulse train would directly power the movements of the robot.

http://solarbotics.net/bftgu/starting_nvnet.html

comment 9y ago · link · parent

The paper: http://theorangeduck.com/media/uploads/other_stuff/phasefunc...

comment 9y ago · link · parent

Perhaps this whole thing was just a very subtle PSA, designed to raise awareness of the dangers of using your real face as an avatar? If so, it seems to be effective, in this format.

comment 9y ago · link · parent

I know you didn't intend that as legal advice, but I sure hope that you are correct nonetheless. From the article:

> It’s also worth noting that in agreeing to the company’s T&Cs Tinder users grant it a “worldwide, transferable, sub-licensable, royalty-free, right and license to host, store, use, copy, display, reproduce, adapt, edit, publish, modify and distribute” their content — though it’s less clear whether that would apply in this case where a third-party developer is scraping Tinder data and releasing it under a public domain license.

comment 9y ago · link · parent

I do not believe that it would be possible to prevent this sort of behavior by force. Any script kiddie could pull this off, and there are more born every day. Some of them barely even understand Western values, let alone have an incentive to value them.

Rather than (edit: in addition to) relying on protection, we should rely on personal safety practices. Using our own portraits as avatars may have been a mistake, in hindsight. I will recommend to my friends, that they teach their children to use a photo of their favorite toy or something, instead of their own face.

comment 9y ago · link · parent

I guess, I just have very little faith in my ability to get personal justice versus a foreign corporation. The value of the dataset, when applied to an unethical but lucrative purpose, could easily outgrow the cost of getting caught. Especially if the operation is well isolated from the parent company.

It is not the possibility that I might appear in an ad that concerns me, but rather, that the set of photos that contain me in them, could be used correlate way more information than I would ever consent to releasing voluntarily. I would not even notice that happening.

comment 9y ago · link · parent

Does this apply internationally? Also, how would you know if your photo is being used commercially? What if the EULA of every major social network and photo sharing service, grants that service ownership and commercial usage of all of the content that you create with them?

comment 9y ago · link · parent

This is absolutely correct. Companies are bought and sold along with their data, and the new owners are not necessarily bound by the agreements or motives of their predecessor. Us users generally have no say in the matter. EULA's that appear to promise a bit of privacy, are usually riddled with loopholes.

Identity is a liability, and a favor that we offer to our peers in order to simplify communication. It does not benefit the person being identified, so much. If I cannot have the identities of the people and projects who consume my data, then I will operate as a fresh, expendable identity.

comment 9y ago · link · parent

The GP's submission history shows no signs of point-whoring. This was his first submission in nearly a year.

comment 9y ago · link · parent

How much of a military presence do we really need, in order to enforce regulations over shipping traffic though? Surveillance by spotter planes / drones, combined with the threat of legal action against the ship's owners, ought to deter all but the most hardcore bastards.

For them, in theory, a rare single cruise missile from Norad ought to suffice. Even then, you could start with a warning shot, and bill the ship's owner for the missile.

For more complicated missions, we could fly out a small inspection or police team in a flying boat. Instead of relying on arrays of 20cm cannons for protection, they would depend on the above mentioned system (which is similar to the Norad system already in service).

comment 9y ago · link · parent

> ls $home

No network connection.

> sudo ifup eth0 && ls $home

AWS coreutils: unable to connect to target filesystem host. Please open port 22 and ensure that the aws-guest user has full access to the filesystem.

> find -name aws -exec rm -rf {} +

> sudo apt-get install coreutils -y

comment 9y ago · link · parent

Found the story: https://arstechnica.com/security/2016/08/microsoft-secure-bo...

It's things like this that make me want to try using an FPGA dev kit as my next motherboard. Not because the FPGA is relevant to this, but because it demands a lot of the high speed components (CPU cores, RAM controller) that a desktop computer would have.

Mind you, having an FPGA running the show would be the ultimate in extensibility.

comment 9y ago · link · parent

I support your plan, and present a proposal for phase two: control and efficiency improvements.

The density of the plasma determines the rate of fusion, and is itself determined partly by temperature. If we were to reflect a significant fraction of the emitted radiation back, then the plasma and its surrounding gas should expand, reducing pressure on the fusing core. That should in turn reduce the rate of fusion, lowering fuel consumption.

In theory, we could even diffuse the entire hydrogen supply into a warm cloud that is not dense enough to fuse at all, and store this until we need more heat. As the system cools, it will contract, eventually reigniting itself.

Even if we fail and die, it will still reignite itself, which clearly demonstrates the inherent safety of my proposal.

comment 9y ago · link · parent

"Who: Engineering Ph.D. dropout ..."

In other words, an ordinary professional engineer, who considered extending his formal education? Bit of a gaffe, there.

comment 9y ago · link · parent

https://en.wikipedia.org/wiki/Beowulf_cluster

Wow, looks like the definition got cleaned up a bit over the decades. Back when I was a kid, it was just every computing device the group could get their hands on, networked. Running simple delayed-echo servers, in our case.

comment 9y ago · link · parent

It is all as it was foretold. The mighty Beowulf cluster reawakens, summoned by its true calling. Servants of the Dark File, bring forth your abandoned and dying devices, that they may be blessed with an IP in this new Mecca of logic and crystal.

comment 9y ago · link · parent

When Neo disconnected, the machines just dumped him for recycling. That is consistent with the machines eliminating humans who develop connection problems (mental disconnect with the Matrix), but it still doesn't account for the humans' bodies being grown and maintained in a nearly functional state.

What really bugged me about their scheme, was the suggestion that a human might make a decent power source. Perhaps that was all misdirection, and the humans are actually the computing substrate of the entire system? Maybe the machines were never able to compute at the power efficiency of a human brain? Maybe they suck at nanotech altogether, and can't even design a decent microchip without human assistance? All their stuff is big and bulky.

(5 minutes later) Lol, I can't believe I guessed it. Thanks to deegles for the background info.

comment 9y ago · link · parent

For those who are being pushed off their land by the rent-seekers, I offer a ray of light to brighten your day: https://www.youtube.com/watch?v=z9WWzbzevTA

The most desirable, and most physically constrained cities, are mostly coastal. Could something like this work in a place like Vancouver, Seattle, or SF? There is always the threat of bureaucracy or regulations getting in the way, but the incredible pressure of the housing crisis might be enough to encourage open-mindedness on the part of the relevant local leaders.

For the endangered artist community, I could see this working better than it does for someone who works in a specific building. Certainly not a small undertaking, though.

For those who don't like YT links, this is a short professional documentary/interview about a couple who built their home from scratch, on the ocean. Most materials are salvaged, and everything was built by hand. It is beautiful. For a Canadian bureaucrat, the whole thing probably doesn't even compute.

comment 9y ago · link · parent

No need to let them run free. Those humans could work remotely, from a small pod of amniotic fluid, mounted to the side of a huge tower. They could live their lives in MMOs, which would seem absolutely realistic, if that was the only thing they ever experienced. I don't think it is realistic to use them as an energy source though, heat would be a waste product in an environment like that.

comment 9y ago · link · parent

Very cool, I have been keeping an eye on PG's multi-master developments since last summer.

It looks like this implementation prioritizes the Consistency side of CAP, presumably to the detriment of it's ability to handle network partitions. This is a great option to have alongside the classic multi-master data store, which prioritized partitionability and availability, CouchDB and friends. There are applications where going slow, or even failing, is less bad than showing an inconsistent state, and that is where this would shine.

I am curious though, could something like this be used like PouchDB, where each one of millions of clients runs a DB master that has a replica of a subset of the "canonical" state? Is that sort of capability a long-term goal, perhaps by means of a modified SQLite? Or, does this inevitably give any one client the power to DoS other clients just by playing dumb and clumsy with incoming data, when consistency is guaranteed?

For the record, my experience with CouchDB is minimal; I have not scaled CouchDB beyond experiments with a handful of containerized masters.

comment 9y ago · link · parent

Anyone who serves metal to bears should be put in a container.
1
1112131415