Better HN
topnewbestaskshowjobs
Log inSign up

konstantinua00

143 karma · joined Oct 5, 2023 (3y ago) · 93 submissions

Submissions

comment 1y ago · link · parent

...what are you talking about?

array-like storage with dynamic size has existed since forever - it's vector. over or undercommitting is a solved problem

VLA is the way to bring that into type system, so that it can be it's own variable or struct member, with compiler auto-magic-ing size reading to access members after it

comment 1y ago · link · parent

no, correct analogy would be

vendor: "we present 100% electric car"

we: "that's cool, I always wanted to decrease petrol use. But... can you provide an option for some petrol use? It's called hybrid, iirc?"

vendor: "no, our requirements only support 100% electric car. Hybrid cars use petrol and we can't allow that"

we: "suuure, I get that. But the price of electricity here still hasn't come down, everyone already has personal petrol reserves, and your cars are only provided with batteries from congonese child labor mines. Can we pleeease have the half-way option so that I can use less petrol for e.g. small distance travel, but still using petrol for country-sized movement?"

vendor: "no, we only support 100% electric car. Everything smaller is outside our requirements"

Real economics would've provided competition to fullfill demand - but currently Graphene is the only well-known vendor, so complaints will keep coming

comment 1y ago · link · parent

there are smaller security options

comment 1y ago · link · parent

one thing I never understood about VLAs - discussion about them always hits a "can't put it on stack safely" and gets halted, forever

why not to make it heap-only type? it seems such a useful addition to type system, why ignore it due to one usecase?

comment 1y ago · link · parent

> The other devices don't meet the criteria

you got it wrong way around

the CONSUMER criteria is "we want better independent security ON DEVICES WE ALREADY OWN"

complaints like in this thread are symptoms of unfullfilled demand - and they can't be solved by saying "oh gosh, what a stupid demand that doesn't agree with our supply"

comment 1y ago · link · parent

4-5 versions of the same phone in the gigantic sea of possible devices

comment 1y ago · link · parent

iirc, some kubernetes library under BSD

microsoft spent a lot of time asking questions to the author - and then rolled out Azure copy of the lib

author went public "how dare they use me like that" - but he did make it BSD himself, it's his problem

comment 1y ago · link · parent

aka that's what read-only is for write?

comment 1y ago · link · parent

I prefer to never use it

C and C++ are about types before names - and modifying that is simply a change for the sake of a change, needless and useless. There's a lot of education enertia behind it - and effort should be spent on fighting what matters (like smart pointers), not hip/non-hip declaration style

decltype(a*b) is the only good "escape hatch"-type excuse for it, but idk why everyone make such a big deal out of it - when was the last time return type was both unpredictable AND needed to be specified? by that point you're already too deep

comment 1y ago · link · parent

can't it be solved by negative traits?

isn't the problem that rw is still r, so passes checks for both?

can't you make one rw and the other r(-w)?

comment 1y ago · link · parent

using BSD/MIT licences is like betting against black swan event

sure, "contributing is cheaper than maintaining a fork" is true most of the time - but the moment new Microsoft comes in with "embrace, extend, extinguish" (or just copy and change), you're doomed

and heck, we had that exact thing happen last autumn, iirc - making big news on this website

comment 1y ago · link · parent

why would latency matter if the trading we're talking about isn't high-speed?

comment 1y ago · link · parent

how many times things evolved into sharks?

ichtiozaur, dolphin/orca

anything else?

comment 1y ago · link · parent

there is no true value, so it's not accuracy

it's precision

comment 1y ago · link · parent

that's the argument, yes

no net force, but net potential energy - thus gravitational dilation

comment 1y ago · link · parent

yeah, my first thought was "can we not bring bad omen with the word interloper into this?"

comment 1y ago · link · parent

this isn't UB, and any other language can do this optimization as well

even the one you cult over

comment 1y ago · link · parent

what does YC mean here? Y combinator?

comment 1y ago · link · parent

9/12

3 months have passed, 9 to go :)

comment 1y ago · link · parent

"common" has such a large spread because meaning behind it is sort of "at least one in each sample", where that sample can be anything (graspable)

if you're a teacher and one student per class does the same thing - it's common. Even though it's only 1/25 or 1/30 of all students

comment 1y ago · link · parent

can't zoom in on mobile :/

comment 1y ago · link · parent

so the website processes only comments older than 2023?

not very useful for more newer users like me :/

comment 1y ago · link · parent

Forbidden You don't have permission to access this resource.

thanks for being open ...I guess

comment 2y ago · link · parent

so if every star smokes a cigarette, there will be roughly 1 mol (6.02e23) of said particles?

comment 2y ago · link · parent

how is it different from the "sidewalk" algo in the article?

you'd get the same pitfall of torus topology with 2 perpendicular loops

comment 2y ago · link · parent

it is interested in both

comment 2y ago · link · parent

how does it work on DAG?

I always thought it's a linked list algo

comment 2y ago · link · parent

why was it kept secret?

comment 2y ago · link · parent

what does MID do?

comment 2y ago · link · parent

speaking of speaking past each other

> and then replace one of the subsequent 200 lbs/second inputs with 199.99999999 lbs/second

> replace one

indeed not the last one, but no, not "all"

1234