skysight-inc/HackerNews huggingface dataset:
> How do people reason about performance in GC'd languages?

I think there's a misconception about the fact that languages that have GC are slower than the ones that don't. It is universally true that you can write garbage code in any language, being either Java/C# or C/Rust.

Java a while back had the problem that when GC would run, the application would freeze for a bit due to how the GC worked. But, on the other hand, at least for Java, once everything was loaded, it would consume pretty much the same resources for 100 requests or 10000 requests because the language itself was very good at concurrency. On the other hand, C++ with boost would have it's own particular issues with concurrency and after a certain number of concurrent threads it would severely impact performance.

Those intrinsics are for people that know what they are doing, they know the architecture the code is going to run on and why using those is better than leaving to the compiler to optimize the resulting byte-code.
Original iPod was similar, still prefer that over any modern music player.
Which Tesla are you talking about? In the one I've driven (mind, just once and never again thank you) I couldn't find the temperature controls on that stupid tablet.

And even if it's always visible on the touch screen while driving, I still need to look at the touch screen right?

My main use case for climate controls is turning recirculation on/off when i come up behind a clunker where there's no space to overtake and need to recirculate so I don't suffocate. That is not a good time to take your eyes off the road, except maybe if you're Elon Musk.

Also, on the one Tesla I've driven i couldn't understand how the turn stalk (it still had a physical turn stalk, I believe Musk has apologized for not removing that one physical control from the car) worked. It only signaled while i was holding it when i wanted it to stay signaling and the reverse. Useless in any intersection that's not at 90 degrees. Designed in California :)
> My dad literally sits with me for extra Math and English materials…that's probably I'm going to do to my son

Yep, that’s the way to do it, and it can be fun, especially since it’s just helping rather than full on home schooling.

Most school curricula have different and concrete objectives (basically meeting aggregated KPIs) rather than “is the student actually learning?” Also teachers have a lot to deal with, and always have, tangential to actual teaching, like disruptive students.

I think the best part of the supplement is that most school work has no context (“will this be on the test?”). Especially in math, where you spend 12 years “learning the alphabet” and only after high school do you get to the fun parts, if ever. So at home you can actually see how the stuff you’re getting in school actually relates to the realm world, and can pursue interesting paths.
Kent Beck (the originator of test-driven development) defines a unit test as "a test that runs in isolation from other tests". This is very different from the popular and completely misguided definition of a unit test as "a test that tests a class/method in isolation from other classes/methods".

But it doesn't really matter if you want to call a given test an "integration" test or a "unit" test. The point of any test is to fail when something breaks and pass when something works, even if the implementation is changed. If it does the opposite in either of those cases, it's not a good test.
I agree and disagree.

In general, I find conference presentations are useful in a "This is interesting. I should dig into more." sort of way. I actually favor shorter presentations for the most part.

I agree more broadly. Trying to flit from room to room at FOSDEM is an exercise in frustration. I usually hang out in a devroom that has people/content I'm interested in, get together with people, etc.

So much is on video these days that there's less reason than ever to attend an event for breakout presentations.
same. you're basically getting earplugs at that point, or keeping something on in the background as a low drone
Software AG to Sell StreamSets and WebMethods to IBM for €2.13B
I cant remember the last time I got a GM Rental... Normally it is Chrysler or Toyota I see
The 12V loss is something that really sunk in working on older cars. You wouldn't think a cable that read 0 on the ohmeter could still not sufficiently carry power, but it happens. Starter systems especially - My old van I remember wouldn't start once and all I had to do was clean the terminals on the battery with a wire brush.
It's probably good they all got flagged otherwise this thread would be nothing but jokes. Though I kind of wish we could have kept at least one subthread alive. :P
I believe in them. But unit tests are useless around useless humans. And there’s lots of those. A fine example is that time I wrote a test suite for a domain specific language parser. Someone wanted to break the language so they deleted the tests. New stuff was added without tests.

They confidently broke everything historically and looking forward. Then blamed it on me because it was my test suite that didn’t catch it. The language should not have been broken.

Everything only works if you understand what you are doing so every argument should be posed as both sides.
During the school year, teachers put in significantly more than the 8 hours they're physically at school. Marking, course planning, etc take up quite a bit of time that teachers must put in outside of work.
Linux is not the only FOSS Unix, you know.
Just a little too short, add:

“and this email notification demonstrates you are aware of the hazard which will be relevant in lawsuits.”
> But who'd contribute when qt is already there?

Because it will be written in pure Rust (with all the memory-safety advantages that come with it).
great line: "cynicism masquerades as wisdom"
Thanks for the reference I was searching for a benchmark that can quantify the typical user experience, as most synthetic ones are completly ineffective. At what sample size the ranking become significant? Or is it baked in the metrics (ELO)?
Most likely not. Other than maybe stitch several images together in post-processing. Although not sure what use video would be on JWST. It's mostly staring at distant objects where motion wouldn't be perceivable. Unless it's taking images of a planet with several orbiting moons. Even then, it would just be would a handful of frames stitched together here on earth.
You sound like ChatGPT.
It's because it isn't "predicting" anything, but rather aggregating user feedback. That is of course going to be closest to judging the subjective "best" model that pleases most people.

It's like saying how can evaluating 5 years of performance at work be better at predicting someone's competency than their SAT scores.
So how do you tell if your representatives are doing their job as promised, without reading (online, in print, on TV/Radio) about news from the local area? You could look at their reports, but how do you know if their reports are true?
See my comment above above the article graph, not showing absolute values is giving a biased view of the change.
My analogy for some kinds of programming is mental juggling. Good programmers, juggle lots of balls at one time: the problem components, constraints, other problem elements, production issues, reliability issues, all the possible solutions.

A programmer starts with a couple of these, gets them in the air, then adds more and more concepts. When I am good I can juggle lots of them and see how they interoperate.

Once all the balls in the air, whirling around like some sort of planetary system orbiting a sun, they can coalesce into -- an idea, a solution, or something.

If this gets disturbed, all those balls come tumbling down. This is not a 30 second thing, this can be an hours thing. Or more.

Non programmers do not understand this process. I believe.
Gloomhaven the board game might fit bill.
A better Mastodon client?
Recent experience at a fairly young startup has shown me that open office culture has also started to breed a very different type of programmer.

People will often be pairing nearly all day long, any claim that you need a moment to focus and think about a problem is met with perplexity, every idea should be shipped to prod asap, while tests exist the idea of performing basic QA/manual testing on your own work is only used in the most extreme cases.

Contemporary startup engineering culture is best described as frenetic. It certainly feels hyper productive (if not extremely exhausting for a more traditional, introverted programmer), but I've started to notice a fairly large amount of that "productivity" is fixing mistakes a more focused programmer would have avoided.

I suspect the long-term impact of open offices my be even more deleterious than it's impact on the focus of individual programmers.
Long time coming, I helped them build the early versions of this

It is really hard to marry the BuiltKit evaluator with CUE's evaluator. They both are doing similar things, but for a different outcome.

That being said, I think you could wrap Dagger's Go SDK in CUE and avoid the issue by not having such tight integration, but rather a sort of transpiler from CUE -> Go SDK. Something I told them I'd work on but haven't gotten to. The new GraphQL interface would make CUE even hard to use as a direct integration (recursion is very limited in CUE, while the Dagger GraphQL reminds you of the days of JS async pyramids)

All this being said, I generally like writing build steps and logic in a general purpose language, and this is how I use Dagger. Probably also the reason I haven't been motivated to work on a CUE Dagger integration, it's painful to write ordered statements in a reusable/composable way.
That's a cultural thing. All my remote colleagues are present and responsive. I certainly do not think it's a healthy assumption.

WFH does not imply async.

Timezones do.
Isn't geofencing easily defeated by a number of different apps which hook the request and return user defined coordinates?
I'm curious, why are you using this instead of the official Python bindings?
Surprisingly nobody else has mentioned having physical buttons on a phone. But IMO a keyboard is absolutely practical for a phone. One of the first smartphones I bought had a slide-out keyboard. It's nice to be able to tell when you hit a button and that you're hitting the right one. My fat fingers can't handle on-screen keyboards well, and swiping words never works as well as I hope. So I end up frustrated and trying to fix my text constantly.
403 for me.
> have absolutely no incentive to keep that software up-to-date, functional, and secure for the functional life of the car

They do. It will just be free for the first 3 years, 20/month next 3 years... up to 500/month for collector's items :)
I owned a Crown Victoria, particularly at night - if I didn't drive 10+ over the speed limit I'd bring the freeway to a halt.

At night I could part the red sea with it (people would just move out of my way if I was going like I was in a hurry) though.
A Brief History of Moondog [video]
The question is, is it worth it getting into chess as an adult? What is the appeal? And what additional value does it bring compared to other "productive"/mentally stimulating hobbies?
Ferrocene is not a "stock Rust compiler". The "stock Rust compiler" is not qualified for safety critical work. If Ferrocene did not add value above what is offered by the stock Rust compiler, why would anyone buy Ferrocene?

Ferrocene is qualified for some safety critical work and plans to have more qualifications soon.

Ferrous Systems wrote a blog post about the process: https://ferrous-systems.com/blog/qualifying-rust-without-for...
Agree. The more I see of Uranus the more mysterious it seems. Like it’s got to be much more complex than we imagine.
Exactly, that UX was perfect.
RISC-V: Big movement on the open hardware front
.NET has been FOSS for quite some time now.

If anything, the .NET community should show up more on this kind of conferences.
No. Or maybe only if you also consider 'village' and 'city' to be the same thing.
This depends on the implementation under the hood and I'd say that the ability to use SIMD even at less than peak efficiency is better than not being able to use it at all.
You could - if you have several hundred full time developers working on it for years. This probably means you pay them, but the count of full time developers is the important part.
The magic number I have found is 12 mph over.
But it's not a dichotomy between 3 hours or instantaneous. It's a dichotomy between instantaneous and when someone has a break in flow to peek at messages, which IME is more like 15-30 minutes (and i think it's probably fair to ask people to peek around that frequently if they normally wouldn't)
Typically, business loans are secured against the assets of the company as well as the personal liability of partners (even if it's a limited liability company).

But if the company borrows tens of millions of dollars, the home (which itself will already be financed, so realistically only the home equity) of the founder/owner of the company is small compared to the company's financing needs. Banks will prefer that the management 'have skin in the game', but from a purely recovery perspective ('loss given default', to the bank) it's negligible. So, non-recourse loans will be typical for large corporations. Unless they're owned by a billionaire.

This is why you and your spouse have a prenuptial agreement that keeps your finances separate, and the house out of reach of your creditors.
Static analysis != linter.
Not sure which is more gross: having a bot farm for imaginary internet points, or the people defending the practice.
when i hire someone, their job is to do whatever it takes that is in their capacity to move the project forward. if it takes a larger team, then getting new team members up to speed is part of that. and if that new team member is unfamiliar with the frameworks the team is using then training them on that is part of the job too.
Not sure about dark mode, but theming in general in Linux is so broken for me compared to the past. Many applications now use themes set by desktop configuration (but with some choosing gtk-related settings, others choosing qt-related settings, which can differ).

But no matter what theme I choose, there will always SOMETHING be broken. In one theme some part of an application will have black text on a black background. Another theme fixes that, but them makes in the alt+tab application switcher the part that highlights which application you're selecting invisible. Other themes have almost invisible scrollbars. Various applications have missing icons because they no longer have their own built-in ones.

I wish every application just had its own actually working built-in theme, rather than trying to shoehorn a global desktop theme inside of everything. It used to be like that in the past and it looked perfect compared to the mess now. Desktop theme settings should just be about the outer window borders and stuff.

Also, does there even exist ONE theme still today that actually visually distinguishes the selected and non-selected windows well? They're all super subtle about this now. Give me a bright blue selected window, gray non-selected window titlebar please so I can tell at a side-eye glance what's focused.
The point of unit tests is not to CYA during refactors, but to confirm that the implementation is consistent between small changes without weird side effects.

A coworker once thought unit tests were dumb, and ended up writing code that repeated the call to an application 10x for the same info. This didn’t result in a changed UI because it was a read, but it’s not good to just suddenly 10x your reads for no good reason.

TFA also describes discovering weird side effect race conditions as a result of unit tests.
Yeah, not showing up on conferences like this keeps the .NET stigma.
I don't believe in unit tests as they are practiced. This, unfortunately, is the kind of thing that can work in principle, but the realities make it unusable.

There are multiple problems with unit tests, as they are implemented in the industry. And to make the unit tests usable and productive you need to make them so productive that it can offset those problems.

First of all, for unit tests to work everybody has to contribute quality unit tests. One team member writing unit tests well for his part of functionality is not going to move the needle -- everybody has to do this.

Unfortunately, it is rarely the case that all team members are able to write quality code this is the case for unit tests.

Usually, the reality is that given deadlines and scope, some developers will deprioritize focusing on writing good unit tests to instead deliver what business people do really care about -- functionality. Give it enough time and unit tests can no longer be trusted to perform its job.

Second, it is my opinion that refactoring is extremely important. Being able to take some imperfect code from somebody else and improve it should be an important tool in preventing code rot.

Unfortunately, unit tests tend to calcify existing code making it more expensive to change the functionality. Yes, more, not less expensive. To move a lot of stuff around, change APIs, etc. you will usually invalidate all of the unit tests that work around this code. And fixing those unit tests in my experience takes more effort than refactoring the code itself.

Unit tests are good for catching errors AFTER you have made the error. But my personal workflow is to prevent the errors in the first place. This means reading the code diligently, understanding what it does, figuring out how to refactor code without breaking it. Over the years I invested a lot of effort into this ability to the point where I am not scared to edit large swaths of code without ever running it, and then have everything work correctly on the first try. Unit tests are usually standing in the way.

I think where unit tests shine is small library code, utilities, where things are not really supposed to change much. But on the other hand, if they are not really supposed to change much there also isn't much need to have unit tests...

The most paradoxical thing about unit tests is that teams that can write unit tests well can usually produce code of good enough quality that they have relatively little use of unit tests in the first place.

What I do instead of unit tests? I do unit tests. Yes, you read that correctly.

The trouble with unit tests is that everybody gets the part of what unit is wrong. Unit does not have to mean "a class". Units can be modules or even whole services.

What I do is I test a functionality that matters to the client -- things I would have to renegotiate with the client anyway if I was to ever change it. These tests make sense because once they are written -- they do not need to change even as the functionality behind them is being completely rewritten. These test for what clients really care about and for this they bring a lot of bang for the buck.
If the majority of people are babies about an issue, then perhaps you should start running a nursery.
> I barely ever have unit tests flagging real issues

That sounds like you work alone and haven't worked for a long time on a code base with unit tests. Or the unit tests are bad.
It's both. School systems are often heavily funded (but not always and not consistently, it varies by literal district). School employees are often drastically underpaid (but not always, and not consistently, it varies by district).

My local school district (generic midwest USA), there's a 17:1 teacher ratio, each student represents $13,011/yr in funding (so a single classroom gets $221,187 in government funding each year). Of that, the teacher in that room collects a salary of $40k to $60k W2 salary each year (plus benefits). Or, a teacher's salary is basically ~20% to 25% of the budget for that classroom, and the rest goes elsewhere.

And yeah, our teachers get literally nothing for their rooms, so they have to beg parents to donate crayons and tissue paper and pencils and basically anything else in their classroom, every year. (generally, each parent is expected to pitch in about $100 per student per year, in donate-ables to cover the stuff the district won't provide for teachers)
I don't see the problem. You run nuclear as baseload, and use the excess renewables to do energy intensive tasks, store what you can or sell them to the areas where there is no excess. This problem exists even when nuclear is not in the picture. Having nuclear will hedge you against the occasional underproduction you will experience with renewables, so to me it all sounds completely reasonable.
Merry Christmas, hands free internet!
I avoid restaurants/shops where touchscreen is used for odering food. I simply go elsewhere. Order on a giant screen is both awkward (UIs are tend to be tuned to be flashy rather than functional) and disgusting.
>> People will always be creative.
> Just not in the fields where AI will replace them? ... if the music in our culture end ups being dominated by AI musak.

Will AI dominate music? Probably. Is there anything that can be done to stop that? No. Even if you outlawed it in the US it won't stop it. It's coming and there is nothing that can be done. If that is a good or bad thing IDK. Most modern music is so awful that to me this doesn't matter anyway.

> but because it does crap illustrations cheaper

The work it outputs is astounding, if it was crap no one would want to use it.

>>Humans will still continue to be creative and draw and paint. That won't change.
>No, just the ability to make a living out of it, as opposed to getting a drab office or factory job will.

AI is coming for factor and office jobs too. But yes this will cut the ability to make money on it.

> Who exactly did sign up for that, and who said this is "forward" and not following it's "holding back"?

It doesn't matter what someone signs up for. That's not how the world works. More efficient processes take over less efficient ones. Paying someone 7k to work on something for 2 weeks is much less efficient than generating a similar image in 2 minutes for 25 cents.

Few people are going to be so enamored with the image that it would matter if it's not quite as good (though it may be better).

> Not every BS we invent is a possitive. Nor is "increased technology" == "better".

Anything that increases efficiency without hurting people is a good thing and it's why we enjoy the quality of living we do now.
Rust Is Growing
Yes, I have one and it works exceptionally well. The only caveat is that it’s measuring the metal surface directly and not the actual physical surface (such as PEI), so you need to load different offsets if you swap between different material surfaces such as textured PEI, flat PEI or bare steel.
I believe the size of the touch screen in a car is now a marketing measure. Waiting for the 48 inchers.
And yet the iPhone keyboard has gotten worse than it was a few years ago. I used an iPhone 8 years ago, and when I got an SE last year the keyboard was too smart, and so I disabled all the AI features.
This topic has been reposted few times recently, yet never gained much traction. I wonder how much changes there have been between GPT2 to GPT4?
If it's turned off or it is on and not being used, probably not much. But more and more equipment no longer has an off mode and is more of an idle stand-by mode, so current is still always being used by part of the system.

The point is that in electricity delivery, it is normal to have deviations in the voltage as acceptable. Most power supplies have tolerances that can handle these deviations. A dip is something outside of the deviations that most people don't consider as they are only focused on spikes and only use surge suppression devices. Since the only protection from dips is a more expensive battery solution, most people do not bother outside of computer related usages.
Try Airbnb a few more times and you'll find out many more reasons to avoid it (the large majority of places are listed on other sites in any case)