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

When your stock is traded like the stock of a company with a stranglehold on a huge market it can press seemingly at will, what can you do other than pressing?

Publicly traded companies are mercenaries bound to the highest bidder, nothing they can do about it.

comment 2y ago · link · parent

Still super weird, because the garbage collector tax that is avoided by the borrow checker that's decidedly not gone isn't all that big to begin with.

But perhaps it's a viable "training wheels" approach for getting used to borrow-checker friendly patterns? And I guess a scripting interpreter option that is fully rust-aware in terms of lifetimes could be truly golden for certain use cases, even if it turns out to be completely hostile to users not fully in tune with the underlying Rust. Sometimes "no recompile" is very important.

I wonder if the genesis story of the project might be hidden in "Dada has a required runtime": perhaps it started with the what-if of "how nice could we make Rust if we abandoned our strict "no runtime!" stance and went for making it runtime-heavy like e.g. Scala"? Then the runtime pulls in more and more responsibility until it's easier to consume a raw AST and from there it's not all that far to making types optional.

comment 2y ago · link · parent

For me it happened when my long-dormant messenger lighted up (for a perfectly valid reason, no surprise there) and made me go through those unbundling options presumably mandated by EU. Certainly a coincidence, but it does irrationally strengthen that satisfying feeling I get whenever I see the ad giant stumble.

comment 2y ago · link · parent

Absolutely, that's the roundabout scenario. Downsides do outweigh the advantages.

comment 2y ago · link · parent

Cars had it, because an ICE drive train is so cheap that in the price range you are talking about it's almost negligible. All the cost is in nice to have things like extra sensors for every tiny niche use case. Fast forward to BEV and suddenly the drive train eats such a large part of your cost budget that you are hard pressed to cut much of the fat of the ICE era.

Carmakers haven't stopped doing electric variants of ICE models because it's oh so difficult to put batteries where an engine, tank and gearbox used to be (it's not), they switched to dedicated BEV designs to have an opportunity to do a "cost reset" about their approach to all those little nice to have things they introduced in the late ICE era to maximise the price buyers were willing to pay for a given vehicle class. The BEV-specific base architecture certainly helps, but it's as much about the expectations reset. This certainly does not mean that they switch their rain sensor to the Tesla approach, they might actually end up cheaper cost-optimizing what they have and know, but BEV does mean looking at costs in a very different way than in the ICE era.

comment 2y ago · link · parent

Yeah, that might actually be an advantage of that new Tesla layout (never seen a Tesla from the inside): small fiddly sensor surfaces on the wheel are best operated while going straight, whereas the stalk keeps tempting the driver to leave operation to the hand movement that happens anyways when starting the turn. Guilty as charged, deeply sorry about that (I don't think it's a regular habit of mine, but we've all seen cars driven like that)

But, as a sibling comment already mentioned: roundabouts! One of the most important indicator engagements is made crazy awkward for people who keep "walking" their hands to neutral position while the wheel is turned instead of wrestling it like some animal.

Which does make me wonder: has any carmaker started engaging turn signals from navigation? I'd imagine that this could be an amazingly subtle user interface for following a route: just don't press the veto button when the car decides to engage indicators and steer as if the indicator decision had been your own. No more following robot voice orders. An established pattern I don't know about? Tried, but turned out to be terrible? Legal uncertainty (or legal negative certainty)?

comment 2y ago · link · parent

The duathlon version will be interesting: pwn2throw

comment 2y ago · link · parent

For emergencies in truly remote locations. In a natural disaster, you have everybody at once refreshing news and checking in on friends and family that even undamaged networks could struggle.

When the network has broken down you'd better be prepared to have teams fixing what is fixable, and the ability to deploy pop-up cells on the ground. If you have skimped on that preparation betting on satellite cells to save the day the contribution of Starlink to disaster preparedness might end up being a net negative.

That being said, pop-up cells on a startlink as their backhaul could become huge in disaster preparedness. Some contract scheme for standby basestations might actually become a big component of the Starlink business model. The good news is that all talk to regular phones can't overlap with regular starlink frequencies, so unless it blocks some other bottlenecks like SDR DSP capacity it won't compete with regular connections (certainly won't have a meaningful impact on orbital backbone load)

comment 2y ago · link · parent

There have been claims that in Putin's Dresden days, he happened to be assigned as the personal shadow of Scholz when young Olaf visited eastern Germany as a representative of the SPD youth organization. That would imply that Putin had been personally working on a file on him more than thirty years before Scholz became chancellor. This would certainly add some weight to any speculations about Putin having some form of leverage over Scholz. Being compromised does not eventually wear off over time, it compounds with every successful use.

https://twitter.com/Jay_Bibo_Mario/status/172166701009283103...

I don't know if that assignment has been confirmed by any other source, but we do know that the visits have happened. They are even documented in radio archives. According to present day public broadcasting journalists, those actually happen to be the oldest known public recordings of Scholz.

comment 2y ago · link · parent

Must have listened to that little GSM handshake melody that used to be everywhere where speakers are connected to an active amp.

comment 2y ago · link · parent

The only thing controversial is that I should not have made that post here on hn. Actually it's so clearly against the rules that even this is not controversial, sorry.

comment 2y ago · link · parent

Pass, not a Rust implementation /s

comment 2y ago · link · parent

Consumers don't touch any ts, outside the (technically optional) .d.ts

Thecwayvi understand it in theory, the typescript version a library uses could disappear forever the day after a library had been published to JSR and all would be fine.

Until someone wants to maintain the code of course, but then you'd have the exact same problem with the elusive typescript version if the repository only took compile output.

What JSR would break (or make a deliberately difficult path?) is using some private fork of typescript that isn't even available on the day of publication.

The benefit of JSR, as far as I understand it, is offering an easy path to publication that makes type parts not an extra that some might skip but a reliable default. It does make me wonder however, how long-term reliable the finding will be: JSR promises more service than registries before, while also being more tool agnostic. I'm not sure if it's true, but my impression was that in many cases, the registry was primarily bankrolled by however the tooling was funded, e.g. effectively becoming a marketing expense to selling tooling expertise. JSR appears particularly removed from any of that and it's bad enough when the repository fades away in terms of static hosting, it's worse if it also leaves your library without a build process.

comment 2y ago · link · parent

I'm pretty sure that on some days my toes can sense infrared. Spidey senses for the rest of us?

comment 2y ago · link · parent

Are fuel inlet sides consistent with the handedness of traffic in the home market of the brand? Perhaps with occasional exceptions in brands aiming for extra britishness to appear more "sports car"?

comment 2y ago · link · parent

Nice example of how adding a trickle charger port is trivial, but a fast charge port would not be. Chances are in this case the mechanical parts are more expensive than the extra wiring and electronics. Almost makes me wonder if we might one day see a reboot of the magic cupholder invasion but with conveniently located trickle charger ports instead.

comment 2y ago · link · parent

How wasteful would it be to build a car with charging ports on both sides?

Would use far more resources than most other conveniences you find in a car, but would also be a far more substantial quality of life improvement than the other stuff.

comment 2y ago · link · parent

Strategically held off automating away his job until he secured a new position

comment 2y ago · link · parent

Feels as if only a few generations later they got bored of all that predictability and introduced the weird algorithm of determining the date of Easter to spice things up again.

comment 2y ago · link · parent

Same. My vote would certainly go to /*** */, and dropping the leading * on the intermediate lines while you're at it. Or go with an alternative like /*# and # on intermediate lines, because the demand for whitespace clarity is certainly bigger in markdown.

I'm very used to consider line and block comments semantically different. To my mind block is javadoc (or for text addressed at the reader that is not meant for tools, in short for prose) whereas // is for killing source lines (and for killing block comments for tools). With the corollary that // would be absent from perfectly clean code, that removal of // is never wrong. In my own projects, I even add an exception mechanism for // that should be kept, they can be marked with ///*why*/, and why should better be good. "why" can be a key further explained in a regular block comment, the idea is that those lines can be cleanly enabled/disabled/removed with regex.

On a very abstract level, I could describe my position as "languages should have multiple forms of comments that have clearly defined semantic differences". I consider this a paradigm change similar to how modern languages have started to declare one style guide the blessed one, even if technically whitespace is just as insignificant as in the old days of "do what you think is best".

What I do miss, from the old doxygen days, is support for trailing comments for when you want to add a few short words to a field without begging for attention too much. Something like

   int count = 0; /** quuxes encountered */
And for inline javadoc in multiline argument lists, which I believe to become ever more common in the postOOP age. These could be implicit @param in the slurp javadoc, just like the markdown lists in the future work part of the JEP (where I to see a real benefit of magic headline/list pairs over repeated @param or @throws):

   void slurp(
      /** quuxes ready to be slurped */ 
     int todo,
      /** quuxes slurped before */ 
     int done
   ) {
(Of course I'm mostly looking at KDoc here, where they already have markdown but where multiline parameter lists are even more common than in current/future java)

comment 2y ago · link · parent

It absolutely is. Perhaps not so much as in carefully thought out to become the only usage instruction ever needed and manually uploaded to the intranet for your tiny in-house lib, but as in all java tooling knows javadoc, expects its existence and presents it at every opportunity. It's the way to attach some description to a method and doing it any other way is considered wrong. Build plugins (or is it default by now?) pick it up for packaging and distribution through the maven repository hierarchy and when a library ends up in your dependency tree without a javadoc jar you suddenly remember that this is actually possible.

What's dead in many environments is going fancy with the HTML. I think most codebases have nothing or very little in terms of formatting outside the @something keywords. Then the only trace of html is the pain of typing &lt; instead of <. For things like emphasis, chances are people already write it in markdown snytax instead of html even assuming that the markdown will never be read in a formatted way.

comment 2y ago · link · parent

But "basement ML" is a thing, the market of people who are interested in PC gaming but not to the point of being lifestyle gamers who throw every cent they can spare at that altar. The GPU they bought long before the pandemic is still running every game they throw at it, but they never completely stop eyeing the new stuff. Dipping their toes in ML, even if it's just getting through 80% of some stable diffusion setup tutorial, can be a very welcome excuse to upgrade their gaming. A card sold for gaming but with generously overprovisioned VRAM (ideally in the range of the lowest bin of the biggest or second-biggest chip I think) could match that market segment very well - and it would not only compete with other price points, it would actually increase the market by some buyers (those who would not upgrade without the "ML excuse").

comment 2y ago · link · parent

Losing power isn't really an issue as long as those who had it don't lose status. The defining property of situations like the Janissary one is that the group coming into power is exempt from status.

comment 2y ago · link · parent

And unlike armor, a musket is not made to fit. Even if you tried, you wouldn't have been able to stockpile quality armor for a time of need, outside a privileged warrior class (who did wear armor to battle)

comment 2y ago · link · parent

Armor is a one time expense, that's the thing. But more men is a no time expense unless you are at war. This is before the establishment of (modern) standing armies, and the occasional armored units victorious over larger unarmored ones were the closest thing to an exception.

The initial decline of the knight was perhaps less about firearms than about pikeman tactics (tercio and all that) with the various revivals of heavy cavalry mentioned, e.g. under Gustavus Adolphus, being merely reactions to shifts in the balance between pike and shot. When it's pike and shot vs pike and shot they will eventually try to outbid each other in focus on shot, until they become vulnerable again to the heavy cavalry charge that had been deemed obsoleted by pike.

comment 2y ago · link · parent

But transparency is not the reason they spend time and money on microLED. MicroLED solves real problems that aren't "this screen lacks transparency".

The transparency is just a cool show piece that happens when you don't package the panel with a frame and an opaque backdrop. What they did spend time and money on is giving some of their marketing people a presumably small budget to show that useless but cool thing r&d stumbled across to the public. It would be stupid not to.

comment 2y ago · link · parent

But it's refreshing to see them being open about it, instead of making up some fig leaf use case and claim that it will change the world forever.

What I do wonder, with microLED being as transparent as they are before you add a backdrop layer, is how much of its (daytime) energy consumption could be supplied by making the backdrop photovoltaic. If you only light up a tiny battery percentage number on a 17" screen, chances are it could run energy-positive forever, but if you do the same black-on-white the very battery consumption would likely be near-indistinguishable from a simple black backdrop. How many pixels at break-even? This could be a revolution for outdoor devices that still use transflective displays that are either low-resolution or low-contrast.

(I do suspect that resolution would be a limitation with microLED-on-photovoltaic as well, aiming that transparency is inversely proportional to resolution at a given manufacturing process)

comment 2y ago · link · parent

Wouldn't that make SQL a sequel to Sequel? Sorry, I feel like I'm annoying on purpose, I shouldn't do this.

Reading up on the history parts in the Wikipedia article, the German language version presents it as if SQL was the Oracle (Relational Software Inc) implementation of IBM's Sequel, the English page says the name was shortened due to trademark issues, before mentioning any implementation outside IBM. That would make Sequel and SQL the same thing, just rebranded early on. It also lists a clever (b)acronym and two other reasons for why they called it sequel before shortening, so it seems like there's a decent amount of mystery around the name. Almost as if it happened before the invention of writing.

comment 2y ago · link · parent

Compensation not only in terms of getting more, but also in terms of keeping it from dropping off. Good luck fending off ageism if you don't shift into more managerial roles.
1
252627
196