Better HN
topnewbestaskshowjobs
Log inSign up

usrusr

11,383 karma · joined Apr 22, 2013 (13y ago) · 5,854 submissions

Submissions

comment 3y ago · link · parent

> After all, the amount information in the weird code should still ultimately be approximately the same as the original source code, right?

Taking a very high level view of this: the compressor can't know about the rules that are the difference between a .weird file that is valid .js and a byte sequence that is not and neither can it know the difference between bytes that are valid .js and look like .weird and are part of the subset that are encodings of a .js file and those that are not.

The compressor builds a more or less accurate model of observed probabilities, but even the most optimal encoding would still have to keep escape hatches around for all other bit sequences. Those escape hatches are not free.

comment 3y ago · link · parent

Amazing amount of effort spent on preventing the occasional superfluous vehicle stop when the pedestrian is gone for some reason. Would be surprised if the sensors did not raise a lot of false negatives for pedestrian presence, forcing them to keep begging at the knob?

I wonder what drivers would have to say to lights that are always red unless they press some button and wait?

comment 3y ago · link · parent

If there was some backroom conspiracy on a mission to erode pollution standards, this is how they would do it: "What about natural disasters! Why are counties getting a free pass when nature strikes, but not when industry operates!"

I don't believe that the root cause of this article is anything like that (sibling comment points out an interesting subtlety, why are they allowed to hide the numbers, instead of granting a visible exception in terms of enforcement?), but it would look pretty much the same.

comment 3y ago · link · parent

I wonder if it might have been more than that: maybe the problem wasn't games journalism repeating, but games journalism listening? Every piece of entertainment that is a multi-person effort has a little more thought put into it than visible on the surface (the opposite seems to be true for most solo art). That's nothing special. But when journalists start digging for more, trying to outdo each other in deep questions at interviews, the interviewee will be flattered and try to deliver more of that. Perhaps he would have continued doing well executed simple ideas if he never got that "the big ideas guy!" spotlight pointed at him. Remember how the matrix sequels felt like force-fed intellectual posturing? Same effect I think, inability to resist the flattery of attention, and as a consequence all the subtlety of "there might be more beneath just the explosions" gone.

comment 3y ago · link · parent

From my continental European perspective, talking about the US-centric variation of the problem described in the article (the problem certainly exists everywhere, but it comes in surprisingly different shapes): I don't think it's possible, not without dismantling the ideological base of that "American dream" which claims that everybody can make it. That's super nice and positive on the bright side, but unfortunately it's impossible to separate from its implication "everybody who did not make it has nobody to blame but themselves".

On the other hand, even within that framework, I think that the American mindset could be better, ask more "whom did you trick to get that success", ask a little more how a fortune was made instead of blindly celebrating each and every success until proven guilty of breaking the law. But this has very little to do with what the article is about, perhaps a tiny connection could be constructed with the housing chapter but even that would be a rather weak link.

comment 3y ago · link · parent

The paragraph about keyboard cleaning is interesting. If keyboards are easy to swap/replace, I wonder how long until we see reports about how well (or not!) the framework keyboards hold up in a dishwasher?

comment 3y ago · link · parent

Sacrificing a chunk of that precious spectrum is huge though. Is LTE flexible enough to run some form of on-demand TDM between multiple base stations on top of it? Can it operate smaller cells on the same channels within the range of the larger cell, forcing the smaller cell to make do with other parts of the spectrum while the larger calls dibs?

Afaik older cellular protocols were relying on zero overlap between base stations serving the same frequencies, leading to a nice coloring problem that would seriously suffer if someone tried to fit in LEO cells.

comment 3y ago · link · parent

In my experience SOAP was near-universally used as an RPC encoding, where the schema was whatever types the exposed API defined and no-one gave the tiniest anything about the data representation on the wire. If you insisted on schema first SOAP, people looked at you as if you had fallen through a dimensional gate from an alternative history parallel universe full of Zeppelins and domesticated dinosaurs. JSON on the other hand came riding on that REST wave, where the data models on the wire were given more consideration than just an outcome of the serializion process best never looked at. Some people even considered idempotency more than just a funny sequence of letters. No, I'm not surprised at all the SOAP mindset disappeared. (But SoapUI was really a pleasure to use, spent an ungodly amount of hours staring at that thing, never in anger)

comment 3y ago · link · parent

Everybody getting burned by fold+forget exactly once would be my guess.

Perhaps new generation of editors ("post VSC") that experiments with non-uniform size could perhaps lead to some form of revival? Fold to "code minimap" excerpt instead of away. UI might want to consider cursor position in the leading whitespace for depth selection. In mouse terms, interact with the vertical line some editors display (not sure this could be helpful for keyboard knowitalls who'd select depth by repetition)

Or maybe this all exists but the shortcuts aren't sufficiently well known to reach my lowly knowledge levels, that's one of the more frustrating aspects of what-iffing editor UI.

comment 3y ago · link · parent

I'm surprised that code folding has never really become good/popular enough to make all these things non-issues.

Often it's only for named blocks like functions, and not for the really unhelpful bits like that conditional branch that is long, simple and deep, but really does not deserve spamming a namespace with an unhelpful identifier. And I've yet to see a deliberately short-lived folding to lessen the out of sight, out of mind tax that code folding of associated with. If there was deliberately short-lived folding, perhaps auto-reexpanding whenever the section has scrolled out of view, I'd use folding all the time, to navigate the nesting. The quasi-permanent until explicitly re-expanded cold folding? Yeah, I hardly ever use it, to many bad experiences with forgetting to re-expand.

comment 3y ago · link · parent

All those mythbuster sources seem to deliberately exaggerate a defensibility preference from a minor bias into a universal rule and then feel smug naming some counterexamples that would disprove a universal rule. But it was them who elevated a preference bias into a supposedly universal rule. Not even that supposedly first mention (beware! Universal claim, impossible to prove that it was never written before!) goes that far, at least not according to the retelling of the mythbusters.

comment 3y ago · link · parent

Much of the article just describes that fighting in a stairwell would be dangerous and inconvenient (what fighting is not?), completely ignoring the question wether one winding might be more or less so.

comment 3y ago · link · parent

That's the part where I was taking the claim of the article at face value, the claim that nobody would have ever considered the stairwell a possible site for violence to happen.

comment 3y ago · link · parent

I wonder what the etiquette for oncoming traffic was, those spiral staircases with a central spine aren't really walkable anywhere but at the outer wall.

Whoever has to step to the spine side would probably want a hand on the spine, palm making contact from the uphill side no matter wether facing up or down. So for someone uphill, the spine contact would be made with the outside hand (arm crossing in front), for someone downhill with the inside hand. On a clockwise staircase, this would leave the right hand comfortably idle for candle, tool or whatever the person deferring to (presumably higher ranking?) oncoming traffic on the wall side is carrying.

comment 3y ago · link · parent

That's what I find most fascinating about the claimed 70/30 distribution, I'd either expect something very close to even or far more lopsided.

Perhaps a closer look at the numbers would show a very clear default direction plus a strong priority for symmetry where applicable?

comment 3y ago · link · parent

Long article without even the tiniest hint of evidence to support the claim that the easier to defend theory wasn't the reason why apparently there is a considerable imbalance in staircase direction.

The reality is that most of the time most castles were not involved in violence at all (outside of rough methods of keeping order I guess). Even if staircase fighting never ever happened, the imagination of heroically fending off invaders who made it that far in person could have easily been a clever pose, a tool of the trade for architects to give the impression of really knowing all the tricks. Claiming better defensibility would have made an even bigger impression on the future inhabitant than on tourists hundreds of years later. Because, assuming that the article is not wrong in this, the customer has just as little experience fighting in a staircase as the tourist hordes.

Medieval snake-oil, claiming that it never happened should require better evidence than "you really would not want to ever let invaders get that far".

If it's a 30/70 distribution chances are that almost half of those 70 are just as random or motivated by more pressing concerns than the "wrong direction" 30, and of the remaining 40 that make up the imbalance, a certain amount will be habitual copies of conscious decisions for the snake-oil winding.

Yeah, whenever a tour guide brings up the defensive advantage story, chances are that this particular staircase wasn't really designed as defense-optimized but random/some other reason/habitual. But unless someone proposes a better explanation for the imbalance (I don't know, some pseudoreligious thing perhaps? Some echo from whatever way Romans preferred? Oncoming traffic etiquette, like climbing side steps toward the steep side, taking a break grabbing the stair's spine while the descending side slides past at the outer wall, and they'd both rather have their dominant hand wall-side?), it's a rather bold claim to call it a victorian era fabrication.

comment 3y ago · link · parent

What would be the alternative? An entirely new physical connector every time manufacturers feel the desire to make this year's model slightly more capable than last year's? Some form of "physical semver" where "not all new features are possible with all old cables" mandates a new plug shape?

If we were still limited to domain specific connectors (one for storage, one for networking, one for audio, one for video, one for each type of user input) we'd still run into the same (non)issues: unless every revision of, say, displayport came with it's own unique connector, without digging a little deeper (checking some version/capability symbols) you don't know wether a given cable supports the latest feature set or not. The universal in USB is not the problem.

comment 3y ago · link · parent

Making the part that is PCB on cheap USB sticks protrude a little from the metal rectangle? Would have required slightly deeper sockets, but I like the idea, would have saved some frustration.

comment 3y ago · link · parent

Not every cable. Not if you make the connector a closed standard that can't be used without ruinous licencing fees and keep a squad of patent attorneys on retainer. Thankfully USB is not one of those.

comment 3y ago · link · parent

(1) as in Video only, as in they won't work to top up the battery in random Bluetooth gadgets and the like? Amongst compliant cables, you might occasionally find some that are rated 40 Gbps but do not identify as high voltage capable. But I suspect that once manufacturers stomach the wire cost of those fat 40+ cables (display!), skimping out on PD capability just won't make enough of a difference to abandon efficiencies of scale. PD cables that are no/low bandwidth? Sure, those will be with us forever. But "display only" will be a rarity.

comment 3y ago · link · parent

One thing is brand onboarding: film students don't rent the big guns for everything and if they can do a quick "shot on phone" but with a blackmagic workflow, it will be hugely attractive for them. Think of it as cosplay if you like, but it can have powerful long term effect for the brand if new generations start out on their tools. Or in terms of computers, ca year 2000, think about it as leaning C++ instead of getting good at Excel VBA.

The other thing is consistency: if you do use the big ones, but have a shot where the big camera simply cannot be used, allowing an iPhone to stand in with processing defaults defaults set up to make the footage as consistent with the regular takes as possible can be worth a lot. Sony has created the RX0 line essentially for that, as a support gadget for their film cameras. Sales to consumers are merely opportunistic side income.

Same (super convenient to easily get consistent setting) for takes that are what in software development would be considered a bugfix, takes that happen when primary filming is over. All the rental equipment has been returned, the order of the day is getting least bad results with what you have. If blackmagic has tools for this contingency and competitors don't, blackmagic will be more attractive.

comment 3y ago · link · parent

Blackmagic isn't exactly a company that identifies with film grain...

comment 3y ago · link · parent

Just imagine the project landscape you'd need to be in to consider starting this worthwhile, given all uncertainty of success and so on. Or a very large middle finger to YAGNI, but I doubt it's that.

comment 3y ago · link · parent

Yeah, it was the vertically unbundled platform that made the decision. Relative technical qualities of x86 vs 68k had very little to do with the outcome I think.

comment 3y ago · link · parent

It's not always better, I give you that. If something does not work as expected you might even find me transforming code to conventional imperative style. But I feel like I have a much better shot at getting it right in the expression chain style, and in all styles if scopes are not polluted by dubious intermediaries and/or badly named one-callsite functions thanks to letisms. By the time the "let tax" grows too high, chances are that the block in question is big enough to make the "factored into a function tax" bearable.

comment 3y ago · link · parent

Infinitely chainable expressions, .let, .also and friends. You shouldn't overdo it (lengthwise) and it's almost hilariously superficial, but I miss it in every other language since.

Tying down a value to a name only if you have something meaningful to say in the name, and only when the value is actually finished instead of being a work in progress, that gives me great piece of mind and frees up mental resources for other things. I wish every language had a "kotlinized" sibling that simply added the scope functions on syntax level (or a subset of the scope functions, not sure you need a zoo that size)

comment 3y ago · link · parent

Second paragraph is gold, both parts. First unfortunately not true (the rest of your life part, not the numbers)

comment 3y ago · link · parent

> The other oddity in the code is that there is a mixture of US/UK spellings being used, which also suggests more than one person.

Not an oddity are all, it suggests a non-native speaker. US/UK spelling inconsistency is rather common unless you went to school in one of the two.

comment 3y ago · link · parent

Are people assuming? Or are they just not speculating about cardinality and sticking to the identifier they have? Would you expect people in the DC universe who don't know about Bruce Wayne refer to sightings as batmen? They can't know!

One thing that suggests a single author (but certainly no proof) is the continued secrecy: bigger group means higher probability of a leak (accidental as much as deliberate). In a way, the probability of an author group is sinking over time, because "unexposed for n years" and "unexposed for n+1 years" aren't the same observation.

comment 3y ago · link · parent

A part of me still feels like I could still jump right in, like it would be the most natural thing for me to quickly juggle around some config.sys and autoexec.bat lines to get that balancing act between conventional and extended right for a given game. Iirc for wing commander the amount of one or the other was even key to adjusting simulation speed relative to CPU, more memory allowing more debris particles, slowing down in-game time?

The other part of me is fully aware that I have forgotten just about everything, even the filename of config.sys was only resurfaced by other posts here.

1
353637
196