Better HN
topnewbestaskshowjobs
Log inSign up

usrusr

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

Submissions

comment 2y ago · link · parent

Is it for sale or do you have to take the entire $2.9B monstrosity?

comment 2y ago · link · parent

You don't want friction on the default path to be too low because that would inevitably increase the occurrence of default path where it must not be used, e.g. cause sql injections.

Much easier to accidentally write something that boils down to

   "\{bobby}" 
where it should have been

   SQL."\{bobby}"
than

   STR."\{bobby}"
instead of

   SQL."\{bobby}"
(i admit that this argument would work better if STR was typographically more different from the name you'd inevitably use for an SQL statement processor)

comment 2y ago · link · parent

About time java introduced escape analysis /s

comment 2y ago · link · parent

The language spec is the only place able to introduce meaning to a source byte sequence starting with a backslash that has been invalid before (e.g. not double-backslash, or backslash-u). ${ on the other hand never been an invalid byte sequence inside a string literal, and was hence already used by many APIs. It's nothing but courteous by the language people to avoid avoidable collisions. Keep in mind that this new syntax is completely open to everybody else who might have a use case for strings-with-expressions, it's not like they are appropriating a previously blank spot for exclusive use.

comment 2y ago · link · parent

The languages don't have much surface area of features to search about. Far more google queries will be about API than about syntax. I wouldn't be surprised if the browser histories of kotlin developers, on average, contained far more occurrences of "google.+java" than of "google.+kotlin".

comment 2y ago · link · parent

Inability to reasonably operate an API that has that StringTemplate type somewhere in a method signature would be a dramatic change of direction for kotlin. I'd be surprised if they didn't already have something in the pipeline to support \{it} strings on the syntax level, it's not like they pretend java-side progress didn't exist.

The existing ${it} syntax is tied to string on the output, so it can't be repurposed. The java approach on the other hand keeps the output generic, so that it would also keep the door open for similar not-string compatibilities in off-JVM kotlin implementations. Whereas the ${it} the syntax kotlin already has couldn't do that. An approach like changing its semantics to define something that isn't a string when it exists at a StringTemplate.Processor call site would be terrible I think, php-grade terrible. At least as long as they don't also introduce that formatter-dot-template syntax which I'd consider a pointless redundancy with what kotlin already has: formatter{template} is already possible, expect for a way to write a template literal that resolves to something other than string.

What I certainly wouldn't expect is anything reminiscent of "automatically imported into every Java source file".

comment 2y ago · link · parent

I could easily imagine an email arriving at some public contact address "I'm in your wrenches, changing your torques, send 123 BTC to 45678 or else!" and some first level person just dismissing it incredulously, "yeah, right...", to the trash folder. Then when nice things do start to burn... not sure that I'd have the guts to remember if I was that first level person?

But when bit ignored that threat would be easy to deal with, just get some indicator beam type torque wrenches and occasionally check what the dial tells you about the point the trigger-type triggers.

comment 2y ago · link · parent

Ouch. Did Boeing shares already see an uptick? Because that's what it looks like when torque wrenches systematically misread...

comment 2y ago · link · parent

I've always assumed (never looked into it) that the protocol itself has little in common with SMTP. But the constraints of text-only messages (email before html formatting took hold), email address as user ID and client software that used the same UI for both (Netscape Navigator!) certainly made it feel like very much the same thing. Mailing lists, but more federated than irc.

One difference to mailing lists of more recent times, besides technological differences, is that there was more of a sense of shared culture across groups. Groups certainly differed (some topics might have even had parallel groups in regular and in alt.* hierarchies?), but not even remotely as much as mailing lists differ. Certainly more free for all babble (because it was) than the more moderated or even announcement-only end of the mailing list spectrum that is enabled by their centralised nature.

comment 2y ago · link · parent

One outcome of the experiment is already certain: the demonstrator will live on forever in "ugliest plane" collections. And as usual with the constituents of these lists, it's not entirely without appeal. You almost want to pet them for providing consolation.

comment 2y ago · link · parent

True. Perhaps it will end up not quite as bad as it could be for the lowly consumer, but for game developers who do put in the effort instead of focusing on store visibility tricks it will inevitably get even worse than it already is. Remember when the YouTube suggestion bar wasn't dominated by impossible photo edits, cleavage and/or that shocked face? Me neither.

comment 2y ago · link · parent

I can certainly feel what you mean, it's where those who will take on anything to get a bigger car congregate in these parts. But it's actually not that bad I think, deployments are not "the temp guy in an in-house team" but projects with a presumably not too difficult buyer: the customer-side person you are working with doesn't have too much skin in the game. Realistic expectations and all that. One of the more graspeable downsides I think (never worked that way, but went though the hiring process once) is that those state clients seem to never outsource a complete project, but insist on keeping projects neutral by staffing them from as many different consultancies as possible, which means that you'll only ever work with people who are nominally your competitors.

comment 2y ago · link · parent

That's what publicly traded companies are. They literally can't do "this is going well, let's continue going well", because in that case there'd inevitably be someone out there who thinks "but it could go even better". And with their optimistic projections, they are willing to pay more than even the happiest "yay, this is going well and will go well forever" considers the shares to be worth. Ownership by the biggest optimist is inevitable and when they discover that their hopes were unfounded and there's no even bigger optimist the take the bag, they'll rather burn the house for an imagined chance of still winning than accept the losses.

(VC funded is no different of course, that's just a shortcut to arrive at the optimism-race without ever going through "this is going well")

comment 2y ago · link · parent

Not everyone involved, think of those poor investors!

Spot on about the contractors. The city I live in contains some of the larger data processing hot-spots of the German government (not so much in terms of large number-crunching server farms, but in terms of ever changing complicated business logic running at high volume) and there's a crazy number of consultancies serving that market and nobody else. But ironically those are the safest jobs nonetheless, because that demand could only ever go away in total state collapse.

comment 2y ago · link · parent

But how is the input side sufficiently compatible with any state other than being alone? Voice surely does not qualify?

Even gesture control would be a tough sell, and even that only if it's not "AR, where you push buttons projected across your field of vision" but "AR, where you can do the equivalent of gamepad buttons with hand movement anywhere the device can see the hand". Voice output (earbuds) would be far too slow for that kind of interaction, because you can't skim a list. Compared to the strictly sequential nature of audio, screens are the equivalent of embarrassingly parallel.

By the way, that slowness of voice output vs screen is also what I consider the true motivation companies had for creating those essentially free voice assistants: searching for product/service on a screen, even if it's just a small handheld screen, makes you pick from a list. With voice in the other hand, going through the list is so slow and cumbersome that the chances for just picking the first, "I'm feeling lucky", are much, much bigger. The value of placement (bought directly or bought indirectly, "this must be very relevant because we know how much they can spend on our other ad services") is just so much bigger with voice. Chances are people are less likely to listen to the second hit on voice than to go to the second page on screen.

comment 2y ago · link · parent

Isn't it the exact opposite? Interfaces we use every day can be dead simple, all they need is that they don't change behind our back. The accelerator pedal does not come with a footover pop-up "keep pressed to make car go". Interfaces we use once in a leap year on the other hand, that's where we need all the hand-holding we can get.

comment 2y ago · link · parent

But how often did that computer voice-acted by her really do significantly more than "set timer to thirty minutes"? Outside of some broken plots on the original series ("we have insufficient data to know the truth, let's ask the computer who will tell us anyways!"), it really was mostly mundane voice assistant stuff.

(I'm deliberately excluding the "ten words to 'author' a holodeck scene" part, that had always been stretching my imagination a little too far, more "this can't work!" than space travel and transporter beams. Then stable diffusion happened)

comment 2y ago · link · parent

True, must have missed that, deep branches on higher rated sibling comments.

And at the time when I did skim the actual grandparent, I dismissed the part about piston because I don't believe that any of the suspected benefits of this pressed air disturbance control scheme could ever be meaningful in the realm of piston-engine drones. Control surfaces are cheap.

comment 2y ago · link · parent

I went through this idea in my head reading the sibling speculations about civilian use and discarded the idea: when you have the control surfaces, there's no cost in using them. In terms of aerodynamic inefficiency I'd expect it to be a tie at best, both are disturbances that make the flow worse to achieve an effect.

If they do discover a way to improve aerodynamic qualities with compressed air, chances are civilian aircraft would just switch it on whenever it helps and keep control going through conventional control surfaces just like before.

comment 2y ago · link · parent

Yes? For example that central jet engine that the plane already has?

Doesn't change anything about requiring additional moving parts to control where the compressed air goes and where it goes not. The goal of this entire exercise is not to expel some extra compressed air in places where previously regular outside flow happened, the goal is to control the plane by changing when and where that disturbance by extra air happens.

comment 2y ago · link · parent

The "natural" UI place for that kind of begging would not be a pop-up, but the head end of the URL bar, where the domain certificate validity is shown. Usually that's also the place where the UI for revoking permissions that are already granted is launched. Assuming the best I suspect that this is already the future plan of browser makers: on both browsers I usr (android chrome and FF on the desktop) hair the begging pop-up point there already, perhaps this is not only done as a hint to the place where the permission can be revoked, but also as training wheels for a less annoying future where the pop-up is replaced with some simple notification state in that place?

comment 2y ago · link · parent

Companies that already have two copies of their app front-end team will certainly not jump at the first hunch that they might perhaps be substituted by a third line. It's a slow process. But five years from the watershed moment of Apple ending their web push boycott (announced 22, executed 23), I expect a noticeable trend. For now, it's probably just orgs that would start from zero with an app questioning the need for a pair of native apps who might pick PWA over faux-native (electron/tauri wrapping a web UI). And perhaps some who already did faux-native, keep their app-store presence but also offer a third variant of the same running unwrapped in regular browsers.

comment 2y ago · link · parent

I went through four different use cases in the last two months or so, about 1.5 of them not the state. I'd say the chicken/egg phase is over. But it won't be an everyday tool anytime soon, but the same is true for the physical ID, its not like you need to show it around all too often.

comment 2y ago · link · parent

Second paragraph as an argument for why it would be a permanent plug installation instead of a hidden door. I see your point.

Do we know about permanent plug vs semi-permanent substitute door? According to some other posts both exist, both levels of permanency exist.

comment 2y ago · link · parent

“That particular Boeing 737 Max 9 rolled off the assembly line and received its certification two months ago“

Not a maintenance issue. Or if it is, that's a seriously shocking amount of maintenance demand.

comment 2y ago · link · parent

Something like that parody of printed manual check copy protection on the original Larry game might actually work? Years later I had a huge "oh, so that's the answer!" moment when I finally discovered the meaning of the words agent orange.

Jokes aside, what would be the failure mode if some metadata about audience minimum age was given legal blessing? Regular browsers would simply ignore it, browsers with enabled parental controls would reject the page or site. Vendors of parental controls could focus their efforts on suppressing those sites that lie and the numerous proxy services that would inevitably pop up (but that's a problem they already have I assume). What am I missing?

comment 2y ago · link · parent

Go appears to be made with radical focus on a niche that isn't particularly well specified outside the heads of its benevolent directorate for life. Opinionated to the point of "if you use Go outside that unnamed niche you got no-one to blame but yourself". Could almost be called a solution looking for a problem. But it also appears to be quite successful at finding problem-fit, no doubt helped by the clarity of that focus. They've been very open about what they consider Go no to be or ever become. Unlike practically every other language, they all seem to eventually fall into the trap of advertising themselves with what boils down to "in a pinch you could also use it for everything else".

It's quite plausible that before Go, its creators would have chosen C++ for problems they consider in "The Go Niche". That would be perfectly sufficient to declare it a C++ replacement in that niche. Just not a universal C++ replacement.

comment 2y ago · link · parent

My personal "founder fantasy" (not a founder type at all) for the last ten years or so has been a renderer/plugin for architecture visualisation that simulates weathering. For exactly the reasons you state. If you want a building to still look good after the honeymoon phase is over, you have to consider how it will look after a few years of realistic maintenance. If an architect talks about sustainability (and they all seem to do, these days), unless they can show evidence of having considered aesthetics after two decades of minimum maintenance it's all just babble.

comment 2y ago · link · parent

I've been preaching this myself for quite a while: the way the aesthetics of minimalistically clean surfaces work is by emphasizing new-ness while they are in fact new. That does look awesome, I'm guilty of enjoying that look myself, but when that new-ness disappears, the same design emphasizes its absence. Ornaments are the the key to graceful aging in architecture.

When you have a clean white wall, with three square windows decisively set in one part, yeah, it looks bold and fresh. But after a few years you get a wall with those rainwater "tear paths" that just look sad because there's nothing else to catch the eye. If instead there were some sills, ledges or maybe just some brick surface patterns, those same water traces would be patina that's perceived as part of the ornament.

1
303132
196