Hacker Newsnew | past | comments | ask | show | jobs | submit | more dpatterbee's commentslogin

Zig has no type info at runtime so this is and always will be guaranteed to be a comptime check.


Hence the paranoia :-D

But I do think adding explicit `comptime` in places like this is reasonable for the sake of conveying intent to other programmers.


Honestly, I don't think this is a big deal. I use helix as my primary editor, but when I'm on another machine and it only has vi or whatever I just use that and I can mentally switch to using the vim keybinds with little issue. Like sometimes I'll mistakenly `m-i-w-c` instead of `c-i-w` or `d` instead of `x`, but then I just hit `u` and continue.


I know right


You're definitely wrong because I learned lots in school but university was completely useless.


What was taught in school over an entire semester usually was a single lecture in university. At least for the mathematics courses, where actually similar things were taught, just from drastically different perspectives.


If you're capable of university level mathematics then you're probably not the audience that school mathematics classes are most concerned about. It's unfortunate, but schools are trying to raise their average grades and your grades were likely to be good regardless.

Surely you had peers at school that found mathematics to be challenging, or even struggled?


This sounds like a personal issue you have with your own mother that you are desperately trying to extrapolate onto the rest of society. Taking one selfish woman and using it to demonise all women and even the concept of feminism is quite silly.

> Much of backlash towards feminism is self-inflicted.

Self-inflicted by non-feminists?

> We don't need hateful men to tell us what to think about female priviledge.

But you're going to do it anyway.


The sad thing is there are actual issues and there is a kernel of truth to the feeling that men are discriminated against in some cases (as of course are women - and let’s not go anywhere near transgender people) and life isn’t blind to gender - especially when it comes to custody decisions, but also in areas like justice and crime (are jail populations 50:50?), educational outcomes (boys do worse than girls), mental health (check suicide figures)

Sadly posters like this do so much damage to equality discourse that it’s unlikely to ever equalise until this vitriol is lost in the past like the prejudice to left handed people was.


Steam isn't really a monopoly though, everyone is free to use whatever marketplace they choose on PC. Steam's just the best one.


And there are tons. Epic, EA, Ubi Play - they are pretty shitty.

Gog is the only one I would say is on par with Steam, but they have a different niche. Still, Valve is on top and not because they hinder the competition, but because the competition likes to shoot their feet. Often.


It's economies of scale. I strongly feel "just grab it on steam," which my friends say, is colloquially equivalent to "grab a band-aid".

Both Steam and Band-Aid are brand names.


Same with Microsoft in 90's


Microsoft used its influence over OEMs to stifle their competition in the browser market. This blog post is about how Valve are very much not doing that.


Valve used its influence over game publishers to stifle their competition in the digital distribution market.

I'm a happy Valve customer, and I'd still likely buy with them even if other platform's offered lower prices, but that doesn't change that they've leveraged their market domination to force concessions from publishers that benefit their business at the cost of competitors and customers.


I'm game developer, co-founder of my own company and I hate Valve 30% cut.

Yet Valve did nothing to stiffle competition. Their only major requirement for games published on Steam was that games suppose to get same efficient discounts as they get on other storefronts. E.g you cannot constantly sell your game on Epic Games store for $10 while Steam version cost never drops below $12.

Also game developers are allowed to request sane amount of Steam keys for free and sell them elsewhere while pocketing all the profit while Valve covers all the distribution costs.

Epic Games stiffled itself. Their store is shitty and dont even have player reviews. No surprise they have no customers except those who come to play Fortnite or get free games.


Publisher's should be allowed to price their product differently based on the distribution fee of the platform. Steam does not allow you to do this.

For example a publisher could price a new title at $69.99 on Steam or $59.99 on Epic and make the same gross margin, given the platform fees.

That Epic is a sub-par distribution platform does not change this, and Steam's agreement precludes the possibility that competitors can compete on price. Amazon was forced to remove price parity after regulatory pressure.

So like Microsoft of the 90's, Valve is using their market dominance to force publishers into agreements that limit competition. It's only different because we generally like Valve. Epic and GOG cannot compete on price and use that as a mechanism to grow their business because Steam could threaten to remove your product. It just so happens that Steam is so good that even with price discounts it's unlikely that competitors could use that as a major advantage.


Built in weather widget


> Built in weather widget

Thanks. I figured, but boy, does this annoy me. Google, for example, refuses to show me the weather without location permission. I am perfectly capable of telling it where I want to see the weather, but it will not allow me to see any weather without a location permission. (Usually I think Samsung screws up their design decisions relative to Google, but they do get this one right.)

Similarly, it seems to me, a launcher does not need to share my location with a third party to request weather. It can simply request weather in, say, a ZIP code, and then, if it must, refine the results it presents to me based on my location. (Or, better, there must be some way for it to delegate weather requests to a weather app of my choice, and let the weather app figure out my location through whatever mechanism I have already approved for that app.)


There's no community in the world that isn't political. Perhaps the issue is actually just that you disagree with the politics that are popular there?


No, the "C community" and creators aren't making a political stance on things at all. Lua doesn't either. The Zig creator is very outspoken on political matters.


Not making a political stance is implicitly embracing the status quo. That’s usually fine because most hot political issues are far away from programming language design and implementation. Others feel differently, that political issues which affect community members (or people who could become community members) are important to speak out on. Regardless, every community takes political stances, some are just more upfront about it


As a response to (ii), I assure you that things are most certainly not moving very fast with experimental stuff like flakes. Flakes were first released as "experimental" almost 3 years ago and have been stuck in feature purgatory ever since.


To be blunt, this is driven by the rejection of flakes by a significant group of the contributor base, despite it being much more adopted by the user base at large.

Even as someone who does think Flakes are better than the prior solutions, I'm increasingly of the opinion that Flakes would be better moved to a layer outside the core Nix project - advancing them within core Nix at this stage seems pretty impossible with many within the project opposed to their existence. I think if Flakes were an alternative project at the same level as something like Niv, a lot of the holy warring would get out of the way.

1. Those who wish to improve them could do so without the discussion being deadlocked by "hey, we haven't yet agreed these should be stable"

2. Those who don't want to paint them as the path forward for fear of precluding a better option, now don't have to.


> Even as someone who does think Flakes are better than the prior solutions, I'm increasingly of the opinion that Flakes would be better moved to a layer outside the core Nix project - advancing them within core Nix at this stage seems pretty impossible with many within the project opposed to their existence. I think if Flakes were an alternative project at the same level as something like Niv, a lot of the holy warring would get out of the way.

I posted some information and metrics about that on Discourse:

https://discourse.nixos.org/t/announcing-determinate-nix/547...


This sounds like the plight of TC39 Observables vs RxJS.


If you copy and paste that triangle you will get "|>".


The title of the article is "Smolderingly fast b-trees". Smoldering is (sorta) an antonym of blazing. Blazingly fast means very fast, smolderingly fast would therefore mean not very fast.


Smoldering has other connotations though, which still imply attractiveness.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: