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

The real problem is that there is no way to reliably know just how far your connection goes, without pinging. You might be able to connect to URLs on a university WAN, but not to the rest of the internet, for example. In this situation, as far as uni websites are concerned, you are online, but for Youtube, you are effectively offline. The concept of "online" does not have a trivial boolean definition.

comment 9y ago · link · parent

I have all kinds of theories about what actually happened. All I really know for sure, is that a bunch of wild accusations were thrown around at the execs by a small clique of powerful investors, with new accusations being generated as old ones failed to stick. Then the execs were fired for unmentioned reasons and sworn to silence, with the threat that no employees would be paid if anyone broke silence or failed to follow the orders of the interim CEO (total stranger).

This all happened over a single weekend. Considering that we were in a monarchy, and some of investors were royalty, I took that as my cue to get the F out of Dodge before my passport got locked. It took me a while to recover from the stress and the trauma; not knowing what ever happened makes it hard to put it behind me.

Even now, I am afraid to share too much detail, because I am unsure of how that would affect the people who remained in the country. Always have an emergency exit ready to go; $5K in cash will get you across most borders, if you play your cards right.

comment 9y ago · link · parent

On a related note, does anyone know how to bury a dead corporate user account? The company that gave it to me doesn't even exist anymore, but Google keeps insisting that "account action is required". The company terminated my login shortly before imploding, and I lost the associated phone number when I fled the country, so there is no way that I can get back in to shut it down myself.

I suppose I will eventually just buy a new phone in a few years, but I'm not thrilled about all that private work / business data that is sitting in limbo.

comment 9y ago · link · parent

Presumably, a native Clojure would be able to tap into the C/C++ ecosystem through similar FFI mechanisms. Granted, that code would be no more portable than the intersection of the platforms supported by each library, but that's already the situation with classic native code.

comment 9y ago · link · parent

Clojure's macros can be made hygienic using `gensym`. Is this not enough? Is it desirable to Schemers for it to be impossible to generate user-accessible symbols within a macro?

What if symbols in macros were hygienic by default, but we had a `pubsym` escape hatch, allowing us to specify the exact symbol name. Would that allay safety concerns, or does that make something else difficult/impossible?

comment 9y ago · link · parent

Interesting, I'm liking the separation of concerns here. My favorite MLA is riding on the wrong party, but MMP would solve that conundrum nicely.

comment 9y ago · link · parent

I wonder, would it be better to have something like an LLVM frontend for Clojure, rather than another new Scheme? Or, would we still have a long startup time, regardless of the platform? I know Clojure's startup time isn't to be blamed on the JVM, but since Clojurescript does not suffer from that issue, I'm not really sure where the problem is.

Looks like that's actually a work in progress: https://github.com/drmeister/clasp

comment 9y ago · link · parent

This sounds a lot like the Single Transferable Vote system that some of us are pushing for in Canada. Same principle, you rank all of the parties that are acceptable to you, and your vote is applied to the first candidate who isn't eliminated.

This way, if I want the Green party, and am willing to settle for Liberals, but can't stand the thought of a Conservative win, then I can support my favorite party without risking a split vote that lets the hated party squeak in with ~38% of the vote. Naturally, those of us who vote for fringe parties are strongly in favor of STV, and those who benefit from split votes complain that it is too complex for the average voter to understand.

comment 9y ago · link · parent

See also, the infamous "collateral damage" video on LiveLeak. I will not link it here, because of how absolutely horrific it is. Do not seek it out if you value your faith in humanity. Having said that, I believe it is representative of modern warfare, and I do not think that that atrocity should ever be forgotten.

comment 9y ago · link · parent

It's just a result of ruthless optimization. Management is always pushing us devs to optimize the metrics that are easiest to measure, and there are plenty of online tools that will score a site based partly on the file sizes for JS, CSS and even HTML.

Right now, we're running the whole response through something like an optimizing compiler stack (Webpack, with lots of plugins and some custom modules). It renames everything to the shortest possible name, eliminates code that will never execute, inlines CSS into the <head> and <body> to reduce HTTP requests, splits the code into large bundles that can be cached forever and a small bundle that will be updated nearly every workday, stuff like that.

I'm afraid we're at the point now where a modern HTML response requires advanced tools in order to make it legible to a human. For that, I apologize, no sarc, we are aware of the loss of culture that is happening. There is some pushback happening, in the form a ruthless minimalism (plain HTML, no css, no JS), but good luck demonstrating the beauty of that to the UX team.

If it's any consolation, these advanced tools are built into FF and Chrome; just right click, inspect element, and look for associated JS handlers. The browser can clean up the code formatting for you, although the names will still be arbitrary. Set a breakpoint on an interesting statement, trigger (or manually fire) the action you followed to get there, and explore the values that are in scope at that point. Watching the values change will often tell you more than reading the code itself, when the names are meaningless.

As for the inconsistency mentioned by my sibling, that sounds a little broken. One of the things we do with the Webpack stack, is specialize the code for known browsers, by eliminating the browser-specific stuff that isn't needed for the current visitor; w3m and wget are not high priority targets :/

comment 9y ago · link · parent

Ah, so the problem is hot-button topics, not analogies. That is a bit more complex. It is hard to know where to draw the line between the listener being over-sensitive, and the speaker being a sophisticated troll. Dang and I actually butted heads over that one a few weeks ago.

I think it is just as important to take things at face value, instead of assuming malice, as it is to be sensitive to other people's issues (for lack of a better term). I've actually had decent results debating obvious trolls, just by postponing emotion, identifying and avoiding assumptions, and focusing on the actual meaning of their statements.

comment 9y ago · link · parent

I disagree, and I'm glad we can do that :)

IMO, analogies are fair game, and a useful tool for simplification. They can also work well for highlighting hypocrisy, when a supposedly universal rule is not being applied as widely as we thought it was.

comment 9y ago · link · parent

I have been in a situation like that, when I worked for a company that had me managing 12 to 30 clients directly. There is a standard solution to this problem: a ticket / issue system. If clients won't use that, and you need to keep them, then hire someone to transcribe their issues into the system, and increase your prices to cover it.

The clients might find that they prefer interacting with a more business/people oriented person, rather than a stressed out INTP. That person could also help you schedule and estimate work, without needing to have programming skills themselves; another source of stress mitigated. In theory, recovering your full productivity would lead to a net increase in the value of your services, despite the expense of this new person on staff.

comment 9y ago · link · parent

I'm glad they don't, and would rather that everyone else just stop. It is an affront to my sense of control over my browser. Middle click is just as easy as left click; let me decide how I want to arrange my input.

How could the site possibly know what exactly I am trying to do with the content? Maybe I want to move forward from their site to another, never to return. Maybe I am rapidly opening a handful of probably-useless links in parallel, with the intention of closing all other tabs as soon as I determine that one of them has what I am looking for. Maybe I am opening a second window for some back and forth copy-pasta. Don't infringe on my controls, dammit!

comment 9y ago · link · parent

Yeah, there does need to be some sort of inhibition against highly traumatizing content, it should certainly not be promoted to people who do not seek it out. But purging news videos of statues being destroyed and ancient buildings being demolished, is going too far.

comment 9y ago · link · parent

Based on your name, I assume that you are not ethnically Asian. Do you find racism / xenophobia to be a significant issue for you in either Shenzhen or Taiwan? As a very white Canadian, if I wanted to explore, work and travel for years on end, and was willing to live at the same financial level as the locals, would that be offensive to them?

comment 9y ago · link · parent

For many users, Youtube is the only video publishing site, and many people get their news through YT. Very few people are aware of the existence of LiveLeak; it is an ineffective platform for spreading awareness.

comment 9y ago · link · parent

Excessive automation considered harmful: even if you want something to happen 99% of the time, it should still be a manual operation. Otherwise, it will bite 100 of your 10,000 users at least once.

comment 9y ago · link · parent

I would call it a UX design lesson, primarily, although all undesirable changes are also backup lessons.

comment 9y ago · link · parent

Streisand effect is taking off: https://github.com/Microsoft/vscode/issues/32795

comment 9y ago · link · parent

I agree that this is important. Optimizing and integrating the tools is a fairly significant part of my work, when I am leading a small team. Webhooks and a plugin framework are decent compromises, but there are so many times when I just want to dive into the code to increment a constant, or subclass and extend a method that doesn't have an externally accessible hook.

comment 9y ago · link · parent

And even those could be just inflatable doughnut plugs with a pair of inwards opening flaps. You could even squeeze the air out of the lock, against the user's suit, to avoid the need for a vacuum pump!

comment 9y ago · link · parent

That would be lame. Maybe, try massive multiplayer soccer, with an average of 1 player per square decameter? Now the captain's most important quality is management skills, and they might need a handful of squad leaders. I guess this isn't soccer anymore, but whatevs.

comment 9y ago · link · parent

Perfect timing! Isaac Arthur just kicked off Outward Bound with an in depth look at colonizing Mars.

https://www.youtube.com/watch?v=kmFOBoy2MZ8

comment 9y ago · link · parent

Failing is not dying, it is just a painful phase of growth and change. At least, that's how I choose to view my own failures.

comment 9y ago · link · parent

Having specialized in the web stack, it really pains me to see this fail. However, it is unreasonable and counterproductive to expect end user devices to continually increase in computing power and memory.

The future, for most users, is in smaller, cheaper, more deeply integrated devices, not in faster stronger devices. Just look at the smart watches of today, the AR kits of tomorrow, the joule-thief powered IoT devices that don't require a power connection. This is where we are headed, not towards epic gaming rigs for everyone.

I can only hope that in time, we will develop more efficient native implementations of the DOM, even if that means a major breaking change. IMO, the web layer is well suited to bridging the divide between vastly dissimilar hardware platforms, especially as the number of unique platforms explodes into a lush jungle of diversity and ubiquity.

comment 9y ago · link · parent

Well, your constant mass means that you will still have the same inertia when playing sports. I would expect pairs of fractured skulls, pairs of broken shins in soccer players, etc.

Wow, soccer would be epic in low G!

12345
15