skysight-inc/HackerNews huggingface dataset:
LINQ stands for Language-Integrated Query and is incredibly successful at its purpose of providing powerful querying functionality and extensions baked into the C#/.NET language space itself.

This querying framework is what powers translations and compilation into SQL and several other languages (depending on the datastore provider used).

EntityFramework is one of the most advanced ORMs out there and is supremely productive because of LINQ.
Almost as if hauling 2 tonnes of metal and batteries to transport a single 70kg person is inefficient as hell no matter the energy source...
I started biking around three years ago. Lots of biking, like 5000-8000+ km a year.

As long as I don't weigh my ideal weight and aren't planning on becoming a machine myself, I have zero interest in spending anything in optimizations which will make my bike a better one. I don't care if it could go faster or be more lightweight, spending 600€ for the bike was enough. The cheapest 30€ Schwalbe tires are good enough; I didn't even have a single flat tire this summer after I learned to avoid driving over blackberry branches.

And I really enjoy it. During this summer, with the extreme heat, where I loved the 28°C in the shade of the woods I was thinking about how much I'm going to hate this fall, and now that it's here, I love breathing that cold, fresh air and smelling the humid forest. The only thing I hate is when there's frozen snow on pavement in the winter.

The only thing I spend money on for biking is quality clothing appropriate for the seasons and accessories like good smartphone holders or bags.
Well, that's partially true and partially false. Operators are syntax sugar for trait methods. Indeed, some operators can't be overloaded[1]. However, in that case, it's possible to make procedural macros that can handle such cases.

SQL builder programmers, for example, wanted assignment operator overload.

However, I'd argue that it's the wrong kind of overload to enable. The more code can do behind the scenes, the harder it is to reason about it, e.g. :

c = b;

Is this an assignment? Will it start the DB connection? In Rust, it can be just one thing. By sticking that code in proc macro and translating code, you signal your intent that something funny is happening here and that you should consult docs for more info:

sql!(a = b)

> It is easy to insist you have never needed any of that stuff for your library,

I didn't say it was easy. I didn't say it was impossible either https://mcyoung.xyz/2021/04/26/move-ctors/.

> Then there are the things the borrow checker will not let you do, that would be correct, but it can't see that.

Sure, but that's the Rice theorem at work (https://en.wikipedia.org/wiki/Rice%27s_theorem). Any non-trivial property of code is undecidable. That's why you have the unsafe escape hatch where you reason about why it's safe.

[1] which isn't that different C++ which prohibits some operator overload, but in C++ the list of operator not overloaded is small
> I know US Midwest gravel races are effectively flat, but acceleration is greatly improved with a light bike too.

While this is a "on the paved road" race... you should check out Horribly Hilly Hundreds in Wisconsin - https://www.horriblyhilly.com
Yes, but collecting fines can be a big revenue stream that helps keep their salary high. This is especially true at the municipal level where all the players know each other. It's also a big deal for judges that get elected to look like they're for law and order.
One way you can convert "donation" into "sale" is sponsoring conferences, you get "advertising" for your company and the projects get money, some of which goes to conference expenses (inc travel etc) and the rest goes to the project.
> They mostly need stability and cross-platform support

But Qt provides that…

tauri has exactly 1 release, that was done 4 days ago.

sciter has done no release in over a year, and has 6 releases total.

It would be completely insane to pick either of those instead of Qt.
Might as well just use a horse and buggy at that point.
Only those that can be desuagared into Android Java, everything else will fail to either compile or map into ART features.
A free, online way to send a test email.

Use our external mail server to test your email address, an email address you service, or administrator. A simple, static email is sent to your address, allowing you to confirm your email is working.
Ask HN: Automatically vs. Automagically
Ok, but the other presented standards are obviously ridiculous.

"This guy is famous and a master of the game, so I'm going to trust him when he's seriously trashing some young guy."

I am someone who can think.
What happens if you don't attend the training?
> You should realize that aluminum foil blocks visible light signals.

Yup, I mentioned the solid box earlier - a non-mesh metal container.

Reading through some more material, it seems that there are ways around it - one can use a static electric field to send signals, e.g. switching it on/off or changing its intensity. I suppose the differing el. charge of the opposing walls of such a cage/box would create en electrical field gradient within such box, which is easy to detect, if one's goal is sending some low-bitrate signals.

It's detectable (i.e. the fact of using it), but the communication scheme itself can be encrypted or encoded, so plausible deniability can be employed.
> You're stuck with heavy bikes with poor gear ranges, super low end components, cable brakes, etc.

Hmm, not my experience at all. At least the market here there are no "cheap" gravels. For around $1k-$1.5k (which is the cheapest gravels available here) I've gotten hydraulic breaks, Shimano GRX groupset, an OK weight etc.
Why don't you actually do some math, or experiments, rather than just telling us you have doubts?

This is all really easy stuff to answer. For instance. 75kg rider + bike. Make the bike 1kg lighter. Go up a 8% grade for 1 kilometers at 300 watts Time saved by 1kg weight reduction? 30 seconds out of 40 minutes.

Or suppose we add 300grams to the frame to make it aero, which is typical. If that reduces the CdA by .02 out of .25, you are at about a breakeven point. JUST during the 1km climb. Then you save time on all the flats and non technical downhills.

Acceleration is even less affected by bike mass. People forget that bike mass is a tiny % of total system mass (our fat asses). And mass is only one of 4 major components that affect acceleration. I'm happy to run through some acceleration scenarios if you like.
Khecarī Mudrā
I note that Krita has a similar model; download for free from their site, or from the app stores for money.
Ok, now I see the semi-colon.

So rust has heavy memory allocation implicit in the syntax (not meant only for the stack). I remember now I did not want that (like those horrible c++ new/delete).

Thx to have refreshed my memory about rust syntax.
In fact there are already some changes in the way gravel is raced and there have been some waves in recent races. When reaching an optionnal resupply/refill point it used to be the case that if the leading 4-5 riders were calling for a pitstop the whole group would stop and wait for anyone to take food and drinks. Now some riders will decide they carry enough and not wait for those that decided on carrying less and stop more often and some additionnal strategy is being put in place. Also some elite riders are calling for a ban of aero handlebars, at least for the fastest ones who fight for the win, in the ground of safety reason. Many stopped using aero bars to set an example but others despite agreeing on the safety issue will continue to use them until a rule is set in place to ban them because they don't want to give up any possible advantage.
Luckily you can make them from sunlight as well (either through PV or sustainable agriculture)

Unluckily none of our governments seem to have had the forethought to either make the massive capital investment required for the former or the even bigger labour and knowledge investment to do the latter when this became obviously important.
For the definitive answer, see https://wikidiff.com/automatically/automagically

> As adverbs the difference between automatically and automagically is that automatically is in an automatic manner while automagically is in an automagical manner.
Yes, CORS is best avoided when your own back end is the "third party." (In some cases, it may be impossible though.)
They milk the topic. This could have been 2 pages at most: Aero bars are dorky, doubly on gravel, but they will make the most difference. Heck, clip a fairing to those aero bars. But nobody uses them because you look like a dork. If you can't get over looking like a dork, and you are susceptible to bike marketing <cough>GCN</cough> you'll spend thousands on an aero frame. And then you'll put a hipster handlebar bag on it.
Thanks for sharing. Some of it is pretty universal.

Regarding meetings that deteriorate when they get too large: I've seen some success in allowing ours to subdivide into smaller groups. ...on Discord at least where it's easy to jump to another voice channel. Perhaps it could work in the right physical setting too. (But Discord makes screen-sharing and hearing everyone easy compared to in person.)

The pattern for our meetings is like this: ~30 sec. introductions, ~5 min show and tell (what you're working on and/or a problem you ran into), then based on the above, deep dives into what people are interested in discussing/helping others with/or prepared presentations.

Depending on how large the group is, at some point, usually just before the deep dives, I offer: "We have multiple rooms to split off into what would be useful for you to discuss. Feel free to do that anytime."

Sometimes I identify common interests, or a burning question and someone that can help them--and suggest they move to another room/channel.
A SQL query is an AST, but represented in a compact portable form. It also supports functions, procedures, and parameterization for flexible and safe query construction.

Your code would get incredibly large and complicated if you had to specify any serious SQL query as a raw AST.
Lubricated chains and aerodynamics save you energy in a group too.
Clumsily?

When I occasionally write Perl, I wonder why perl -c kicks out error messages, then remember I'm supposed to use "sub", not "def".
And if you factor in the embodied energy from building the car, you wouldn't be able to drive it, at all.
Except performance improvement already mentioned there are two more benefits I can think of:

* clean call stacks - stack traces returned by current async libraries are very difficult to understand

* no need to colour functions, no need to worry if your function is suspendable or not and in which context you are using it
Would antiracism interrupt black people from making a racist remark?
There are a few differences...

- Pilot training comes with a certification for the person that applies to any pilot job.

- Pilot training is usually provided by a certified training organization and follows an industry-established curriculum.

- The price of the training is discoverable in advance and there is a competitive market for providing the training.

Whereas the PetSmart program comes with no certification, doesn't follow a published industry curriculum, and the price is fixed directly by PetSmart with no ability to obtain the training elsewhere.

The pilot training situation may not be ideal, but it's clear to me the PetSmart program exists primarily to lock employees into jobs at PetSmart.
It's an extremely common scenario. The obvious and straightforward solution is to configure path-based cache rules exactly like you describe, to proxy requests which don't correspond to static assets. Cloudfront allows you to do this out of the box, as do other major CDN providers. If your CDN doesn't support this, consider switching - or introduce an edge proxy to facilitate it.
Carbon frames don't really cost especially more money than a nice aluminum bike any more.
Companies don't care about cost, they care about bang for the buck. And this is where Rust has a clear advantage over C/C++, at least in many cases.
I've seen it but:

1. I find the syntax pretty offputting.
2. Make is found everywhere so a drop in replacement is a useful feature.
> Why can Google ship a mobile OS in which large chunks including the entire GUI layer run on a JVM

I'm sorry but what the fuck. I paid my fucking phone 1k€ and yet it's bewilderingly slower than a RPi4 with a native apps stack. Every single interaction in the UI is slow and has some amount of lag, even with a 120fps screen. Android is to me the very best argument against Java there is - who knows how many tens of thousands of man-hours spent into optimizing it and it just does not perform to any acceptable level even with best in class hardware. It also has the most app crashes I have seen on any platform.
> The largest outright student loan cancellation in recent years was for former students of ITT Tech, which was a trade school.

I don’t see how A massive fraud is even a relevant argument here. This isn’t a trade school like welders, plumbers, etc. and it certainly doesn’t justify the non-fraud subsidies
It is a deep well with no bottom.
Did any American read this without alarm? If so, why not?
What does johanne balle have to say about this?
Do you vet all of your dependencies' code for unsoundness when using unsafe?
Yeah, and we should help beer escape from its captivity and label cellphone contracts with a voice flatrate as free speech.

> LibreOffice that literally shout FREE in their own product name

I do not understand the point you are trying to make here. You were complaining about how English-speaking people misunderstand the word "free", but for "libre" there isn't this ambiguity?
Anyone in Dublin interested in a HN Meetup?
There's no reason it couldn't be employing a local, but there are an awful lot of reasons it wouldn't. No locals applying chief among them. If the company was explicitly not hiring anyone from Costa Rica, sure, that would be one thing. If the best candidate happened to not be Costa Rican, that's something else entirely.
The article mentions "no more than 2,000 watts (i.e. 2 kWh per hour or 48 kWh per day) by the year 2050, without lowering their standard of living" so it is not 2kWh/day but 2kWh/hour. You are already below it in your household.
cppfront seems like a good idea.
I was going to start this reply by saying "I am not necessarily defending / supporting ghoward's position", but after I read his whole reply, I realize I am.

I enjoy writing C (more than C++); I do not find it awful. If you cannot accept that, then there is nothing I can say to change your mind. What I don't understand is this atavistic obsession that "everyone must migrate to rust now", and "C is so dangerous in can explode in your hands while you are sleeping".

Please, go forth and multiply, and use rust to your heart's content. But be more open minded to the fact that there are people who like, enjoy or even love using C. As for me, I admit I have gone from interested in rust, to neutral, to an active dislike, because this narrow-mindedness some of its proponents show.
If you sell through the Apple App Store, Apple charges 30%. This is the industry standard when you sell through storefronts PlayStation, Steam, Xbox, etc. If they sell through their website then Apple doesn't charge any fees.

They knew well ahead that Apple would take a 30% cut so I don't understand why some commenters are saying about why this is a "problem."
Not being that familiar with the chess culture, it's weird to me that the distinction of "over the board" vs "online" seems to carry so much weight. Is it considered more acceptable to cheat online than "over the board"? I would think cheating is cheating.
Couldn’t an adversary replace the screen in my phone with one that records the contents of what it displays? And/or tap locations. Modern keylogger.

My guess is Apple started doing all this pairing stuff due to some security threat they saw before we did.
I appreciate your approach but the reason people like optimizations is for speed. The thrill of riding fast is what keeps a lot of us coming back.
Isn’t that already approximated by the purchase price of a used item? There’s some weird transients where a 45-day old car is artificially cheaper (because why would someone sell a 45-day-old car if it wasn’t a lemon?), but that seems to average out pretty quickly.

It might slightly underprice used electronics, but if the alternative destination is a landfill, that slight underpricing seems fine to me.
it is not clear what could be done should an intelligence agency turn rogue, and become operationally independent from the government. It's basically a non-democratic power centre which - because it is not subject to elections - will always outlast any politician, and because of the nature of the work, has vast powers of direct and indirect influence.

Good job that this is not the case in the US
Intimations of a New Worldview
That's the thing! Then I, indeed, did "conflate" NVMe with M.2!

Thx!
Well, it depends on the length of the measurement. If you build up the calculation for the total consumption for a year, then you can do spikes of energy use.
OpenJDK Java 19 Released with RISC-V Linux Port, Foreign Function API
Revature is the worst. The only people that sign up for them either don't know any better, lack motivation, or are truly desperate. Its one of the most gross companies I have ever come across.

Another similar company reached out to me last year. I can't remember their name, but it was the exact same business model. They wanted to move me to the other side of the country and train me in a language that I already used all the time.
I switched from Chrome to FF about 6 years ago and still don't understand why more people don't do the same. At the moment my favourite feature is containers- especially the default facebook ones.
Kudos to the team at Mozilla- it just keeps getting better and better!
Show HN: API7 Cloud – The platform to connect APIs in any place
Luckily for Apple the choice for alternatives is small as long as you're trapped within the Apple Ecosystem.
And changing the ecosystem is hard for most so now it's just the exercise to find out how much you can rise the price before people jump ship. I'm quite sure there is much room left for people who are ready to pay $1000 for a phone.
Making plastic stuff is energy cheap, relatively, that’s why plastic is cheap. Plastic packaging uses a lot less energy (to produce, ship, and dispose of) than metal, wood, etc. Though of course with cheapness comes increased usage, so the net effect is probably difficult to determine
Not by default, or at least not the 5.x/6.x versions I bought here in Germany.
My servers mostly idle waiting for IO (like most servers do), so I never saw any slowdowns with this; nor would I expect to. Also this is not really an issue on e.g. Android where a lot of UI code is inherently asynchronous and co-routines are used a lot. And it's a complete non issue on kotlin-js as well where co-routines and js promises are essentially the same thing. I use it; it's fine.

Kotlin's co-routines are simply syntactic sugar for simple callbacks but without the boiler plate. If it has some kind of success / fail callback mechanism, you can create a co-routine from it. Futures, Promises, a Flux, whatever. That's all that happens and the co-routine library comes with extension functions for all these.

I'm not sure what you measured relative to what. But I bet it is some blocking/expensive code actually taking a while before it suspends or something similarly sub-optimal. Of course the key bottleneck with virtual threads would be the scheduler loop that runs all these co-routines. The main contribution of Loom is moving that stuff into the JDK and possibly optimizing the hell out of that. But other than that it does something very similar to what other green/light weight threads have to do necessarily.

Basically any time any virtual thread does something expensive/blocking, all the other virtual threads suffer. If you see a browser app freeze for a bit, that's usually what happened. Loom adds a thing called continuations which literally have a suspend method that tell Loom that it is now safe to switch to another Fiber. Failure to use suspend correctly, will result in the same stuttering behavior on Loom: things will freeze or block until whatever is running calls suspend: only 1 virtual thread executes at the same time. That's the whole point. For non blocking IO this is fine. If you are doing computationally intensive stuff, you either need to suspend frequently or use some thread pool. Otherwise the virtual thread will hog the CPU whenever it runs.

As for the two worlds, I can call any function from a suspend function. Just not the other way around without creating a co-routine context. What Loom adds is basically a better light weight thread scheduler. Under the hood it likely does many of the same things that Kotlin already did.
There's a lot more to it than that. Loom is Actually Useful Green Threads^TM.
Though it only takes a single buyer publishing your changes to potentially undermine such a business model.
Caveat - The best type of mentors for founders are other founders. VCs, Incubators, are not optimal mentors, rather those are key folks to have in your pocket.

My suggestion for all founders - find a mentor who is a founder & builder.
Yes: personal immediate consumption.
TLDR

>> Preemption points are regular time intervals at which the team will review a task’s progress and decide whether they should cut scope, change their strategy, or drop the task and cut losses altogether.
Does HN have a solid book recommendation on the topic of concurrency?
You mean... all projects?
> What issue is there for the C++ developers to transition?

rust is lacking a ton of libraries.

And personally I prefer using a big thing like Qt which has classes for everything, rather than rust where I have to find a non-terrible library for every little thing.
They are independent variables. In practice the "10kw society" solar/nuclear society that economic-growth-above-all people push means "2kw coal + 4kw solar + 4kw nuclear". Growth is just cover for not replacing the dirty sources.
Because leaving Bitcoin on a hot wallet, which is the source of most of these hacks, is like leaving gold bars on a park bench.
The thing people often forget is that once you’re above backyard pickleball you HAVE to be good at the game to cheat; cheating alone won’t turn a crappy player into a good one.

Cheating is that last edge that puts competitive players above their competition.

And for things like matchfixing- these are almost impossible to detect so you basically have to come down very hard on them.
I agree. I was responding to a post that said “I don't think it should be legal to charge employees for training in any form.”
Doesn't decompression require the entire stable fusion model? (and the exact same model at that)

This could be interesting but I'm wondering if the compression size is more a result of the benefit of what is essentially a massive offline dictionary built into the decoder vs some intrinsic benefit to processing the image in latent space based on the information in the image alone.

That said... I suppose it's actually quite hard to implement a "standard image dictionary" and this could be a good way to do that.
There is actually very little difference between a cyclocross bike and a lightweight gravel bike. Slightly lower BB, slightly longer wheelbase, sometimes slightly different headtube angle, flared handlebars. Actually the first gravel bikes were rebadged cx bikes. You can race cx with a gravel bike and race gravel with a cx bike. The rider makes most of the difference.