skysight-inc/HackerNews huggingface dataset:
Style formatting should be automated on level of IDE or other CI tooling.

Discussing or fixing code style is huge waste of time and styling can be automated. Yes it will be broken in some edge cases but for me that is acceptable because my goal is to deliver the feature and not to make "perfectly aligned code". Aligning code by hand is waste of time, thinking about aligning code is waste of time. Formatting should be in configuration and you format whole file at once and never do stuff by hand.

Passing tests is also easy to automate when creating PR, CI should run tests and tell that to person creating PR - hey tests failed, fix it and then after they pass you can open PR, not a fellow developer because that is waste of time for everyone.

I did not write "tests should not be there" only "are all tests passing?" is not part of code review for me, it is something that is there before code review even begins.

So checking if there are proper tests and if tests make sense is part of code review.
I don't think semver is meant to condition users into blindly trusting updates. I always thought it was meant to condition developers into being mindful about what the changes they make will mean for their users. You can maybe never be sure that some change won't lead to something breaking, but it's often quite clear when a change almost certainly will lead to something breaking.
They didn't say that. They just said this has more potential than that, which does seem right.
Arr matey, ye might be taken aback, but this here post is singing the praises of LangChain, loud and clear. You only spot such dreadful slander taking wings when a project be making mincemeat of its rivals, and someone's tender feelings be getting a bruising.

For that poor soul, it's like a slap in the face from the mighty Poseidon himself. The thriving project dares to steer its course in a way that ruffles their precious sensibilities. The audacity! Since they be the compass of all that's right, the project must be heading for the rocks, not them. Why would any sane sailor hitch their fortunes to this monstrous beast, when it's not charted on their blessed map?

But in a world soaked to the bone with crowd follies and tribal loyalties, the voice of the multitude sometimes manages to ring out as one, and for good reason, mark me words. Cast your eyes on the likes of React, Kubernetes, and Tailwind.

These examples, like our beloved whipping boy LangChain, skilfully merge a motley of tactics from the teeming ecosystem, distilling them into a chart that's simpler and more intuitive, though a tad odd and confining.

As it sails the high seas, growing and evolving, brace yerself for the titanic task of keeping the code shipshape. But our chummy critic, bless their heart, can't spot the shining treasure that's clear as day to the rest of us simple seafarers. They'd sooner believe it's a devilish trick or that the developers finding riches in it are either lost at sea or plain daft.

This stirs a merry storm of cognitive dissonance in their noggin. It becomes their holy mission to persuade themselves that it's the rest of the crew caught in a dreadful mirage, and they're the sole beacon of sanity in a mad world!

They nimbly dodge Occam's Cutlass, baffled by how the whole crew could go stark raving mad in harmony. And then comes the climax: a breathtaking revelation where they're forced to grapple with the unsettling truth of their own tunnel vision and stubborn notions. What a sight to behold, arr!

> That's my thoughts anyway. But filtered through a slightly Irish Pirate to make it sound a bit less like I think you're take is bad and you should feel bad about it. It's great you're helping get the word out about LangChain to more people though.
This is true, but nonetheless many computers are guaranteed to work only up to an ambient temperature of 35 degrees Celsius.

In my opinion, this is an incredibly stupid design choice.

After being once caught by surprise, now I check carefully for a specified working temperature of at least 40 degrees Celsius, whenever I am buying any laptop or desktop computers.

This, for example, disqualifies all Gigabyte small computers. Moreover, any computer which does not specify explicitly the maximum working temperature must be automatically disqualified, because it is overwhelmingly likely that it has been designed for 35 degrees Celsius and not for any higher temperature.

Some computers are guaranteed to work normally up to 35 degrees Celsius and to work with reduced performance between 35 degrees Celsius and 40 degrees Celsius, for instance many Intel NUCs. This is perfectly OK.
Learning is a kid’s job.

A kid is working a decades long project to figure out how he wants to spend his life and do the work to make that happen.

Imagine facing that and being told you have to do something you aren’t interested in doing without a clear concept of why it even matters… and without really any say in the matter anyway.

I don’t know if I would have the tenacity to tackle a twenty year project partially against my will and I don’t have to worry about developing socially, growing physically, etc.

Pay the damn kids, I say.
When I get to achieve my target 3 times faster using Go why should I waste my time following “functional ways” just to use to write project A
The only issue is that 4 years ago, companies advertising as remote were remote because they thought it the better way to work and find talent globally from the start (think GitLab, Canonical, Hotjar...).

With a particular event of interest in 2020, a bunch of companies switched to remote out of necessity, and many have not moved back still. They generally employ from their base countries, they just don't require you to go to the office.

So, if you searched for "remote" job options 4 years ago, it meant one thing. While most of the same companies which were remote back then are still remote today, their job ads get lost in the 100x of "new remote" job ads.
Quite often, not talking about it means one of the two is miserable and increasingly ressentful. Pretty often, because there is actual unfair imbalance and no way to fix it. Or at least perception of imbalance.
As every section needs to be aligned to the smallest possible section alignment of 0x200 bytes (1KB), we inflate our file by at least that amount of bytes just because of that.

0x200 is 512, or 0.5K. It's been a long time since I've done PE size optimisation at this level but I remember 512 was the minimum accepted by Windows 9x but NT could accept alignments as small as 1.

Also, I didn't see any mention of the old trick of overlapping the DOS MZ and PE headers, which was state-of-the-art when I was still doing this stuff: http://www.phreedom.org/research/tinype/

...and then you realise that the demoscene has managed to do this in a 1k binary:

https://www.pouet.net/prodlist.php?type%5B%5D=1k&platform%5B...
What he did is pretty typical in Investment Banking.

When you're a new hire, they basically take away your mouse and force you to learn all the keyboard shortcuts.
Original title: The Development of the C Language

Editorialized title: “C is quirky, flawed, and an enormous success” – Dennis Ritchie

HN Guideline:

> [...] please use the original title, unless it is misleading or linkbait; don't editorialize.
Circuit simulators should make it easier to see the power dissipation of devices.
A single-executable perl5 (like awk, but with advanced string manipulation + sigils + timtowdy madness) would be great.
I eventually settled on a hardback A4 notebook.

I don't usually need to scan back more than a few days, but one book lasts several months. You can use it standing up, e.g. in a SCRUM. It's resistant to having a mug of coffee spilled over it. It never crashes, and it doesn't need RAID or backups. You can attach post-its to the pages. You can use a stack of 4-5 of them as a monitor stand.

Downsides: you can't paste screencaps into it. And there's no search function.

Yes, it's a glorified grocery list. But it works better for me than any electronic solution.
Isn't it crazy to think that, given where that photo is taken in Kyiv, that office space could plausibly be rubble now. It's quite plausible some of the programmers in this photo are fighting in a war right now.
Dividends are a tax-inefficient version of buybacks.
> I don't think I've ever seen a computer where memory is actually a continuous array of bits sorted by memory address

well, that is not the C memory model. C does not allow you to access bits in memory directly. maybe you meant bytes? or words? if so, many cpus have exactly that architecture.
Dividends are basically a last resort for boards. They are what you do with the money when you can't find a more productive use for it. Companies that aren't paying dividend are re-investing revenue in future growth.
People did had look on it and they are easy to find.

Tl;dr, just like with any other crisis, divorces went down, because people don't divorce in the middle of these. Domestic violence went up, because abusers got more options and victims were locked down with them. After covid crises ended, uptick of 'delayed' divorces.
It isn't physics, but the bar is also lower. I agree there are issues with doing the comparison.
I don't really know. Amadeus is my absolute favorite movie of all time, but it has been set around the music. Tous les Matins du Monde is another fond memory, but it's a biopic of Marin Marais, a composer. In Diva, the excerpt from La Wally works well. The Ride of the Valkyries (sp?) is of course famous, but not so impressive. Let's not forget 2001, a Space Oddyssey.

My favorite moment is literary. In one of Douglas Adams' books (Dirk Gently), someone hears fantastic music from some alien space station that he has to "destroy" in the past or something, altering the timeline of the universe, and thus losing the music. But then when he comes back, his girlfriend plays that same music on the cello. I copied this from the book:

His face was so amazed that she stopped playing the instant she saw him.

"What's wrong?" she said, alarmed.

"Where did you get that music?" said Richard in a whisper.

She shrugged. "Well, from the music shop," she said, puzzled. She wasn't being facetious, she simply didn't understand the question.

"What is it?"

"It's from this cantata I'm playing in in a couple of week," she said, "Bach, number six."

"Who wrote it?"

"Well, Bach I expect. If you think about it."

"Who?"

"Watch my lips. Bach. B-A-C-H. Johannes Sebastian. Remember?"

"No, never heard of him. Who is he? Did he write anything else?"

Susan put down her bow, propped up her cello, stood up and came over to him.

"Are you allright?" she said.

... [bit later, Richard calls his friend] ...

"Reg, the music -"

"Ah yes, I thought you'd be pleased. Took a bit of work, I can tell you. I saved only the tiniest scrap, of course, but even so I cheated. It was rather more than one man could actually do in a lifetime, but I don't suppose anybody will look at that too seriously."
There should be no "someone with other style working on project" - project should have its style and dev should adjust to that style.

Same with joining new team, one might have preferences but you leave them at the door and format code with whatever already is there.

There is tooling where you can also have formatting configuration per repo so if you use IDE it would take that config and format it for you in "project style".
"Everyone except me is doing it wrong"
Because everything speaks C.

If you write a library in C, it can be easily exposed to a variety of high-level languages and platforms.

You might argue this is more a property of the C ABI than of C itself, but unless the project is large enough that it's worth doing it in C++ or Rust instead, it's still a very reasonable choice.

Also not everything is web. Sure, if you're writing API endpoints in C you're just shooting yourself in the foot, just use Python or Ruby or Go and call it a day. For things like embedded it's often your only reasonable choice.
fair point. or otherwise is as much as I was getting at. mail scanning services and text to speech gateways extend the reach of a hypothetical AGI. we don't need to wait for ARA (artificial robot actuation) for the skynetpocalypse to come. plenty of building blocks are already here.
I loved this article! In the end, it is exactly to the point: code adds and adds complexity; complexity we hate. At the same time, complexity comes from our flawed knowledge, and only true knowledge gained in battles shows us simple ways. Simple ways bring us joy.
Yes and I'd blame that on Qt more than anything else because they take C++ and bring it into their own magical world but it is very frail

Borland C++ interfaces for windows were better than anything else, MFC were a far 2nd place. .NET/C# made it useful again
> Discussing code style once in a while is not a problem. What's a problem is discussing it at every PR.

I worked a team where this happened. Black was a godsend
nice strawman
Sure , I am open to believe that psychological therapy is not psedoscience. Please provide some peer reviewed papers in reputable journals about Couples Therapy with Reproducable results. I am even willing to relax Conceptual replication, some papers with exact replication will do.

>And then you end with claiming there "is better chance you'll come out damaged then[sic] cured", even claim the odds are "highly against you", without any support whatsoever. For someone who cares about a basis in science, you sure have some strong opinions without any basis in fact.

Because I care about basis in science thats the reason I wrote it. Going to therapy is akin to going for homeopathic medicine to get cured. Homeopathy was popular in 18th century on the coattails of vaccination and its still a big industry in US but it has more in common with Goop than medicine. With current credibility crisis Psycological therpay will also face similar demise.
I do not agree. Everyone can have their own style, as long as it's consistent enough and readable.
I am terrible at Excel because I find it a complete waste of time to get good at it. And its tied to Windows, yet another abomination of nature.
Thanks again for the hints; I'm not (yet) fluent with FreePascal and assumed to be much faster when quickly implementing a rudimentary parser to make arbitrary queries over the source code (the one I implemented for Lisa Pascal/Clascal including the browser/cross-referencer took a week as a side project) than discovering and learning all the required FP libraries and tools; but the FP language turned out to have some pretty dark corners which are much harder to parse than I expected from a Pascal descendant.
The benefit is, your project needs a compiling phase in order to run. It's safer than just deploy and run your javascript code without that phase.
Tldr k-12 education budget is smaller than what taxpayers are paying for homelessness, undocumented immigrants, and expanded Medi-Cal. Cutting costs in these areas could significantly bolster our K-12 budget.

Homelessness programs take up significant budget. 636 million per year SF spends on homelessness, SFUSD’s budget is 1.28 billion. Cutting the homeless budget would allow for increased education spend.

Undocumented immigrants make up ~10% the state population and are in the lowest tax paying bucket. On average just 1304$/undocumented immigrant of yearly tax revenue. So they are taking more social services than what they bring in. If California was more active in deporting them or enforcing tax collection practices, we’d have greater educational dollars per legal resident.

Medi-Cal has 1/3rd the states population enrolled. This is significantly higher than many other states. This program takes up significant tax dollars. These tax dollars could instead be spent on public education.
It‘s the only language supported by basically all platforms, microcontrollers, GPUs, web-browsers. Although that is also almost true for C++ nowadays.
I‘m also curious which memory model would be superior in your opinion?
Since OpenAI is all just APIs with simple interfaces, I don't think that plugging a different, capable model in whatever tool you are building is going to be an issue.
I like making things (air quality monitors, web nfc login, automated garden, power monitor and etc) with microcontrollers like the Raspberry Pi Pico, the only real choices are C/C++ or some flavor of Python. I really do not like Python, it rubs me the wrong way for some reason and also I can find libraries for all the components/sensors in C/C++.

It's not so bad. Manipulating strings is a pain in the ass so everything becomes a char and managing types is so annoying, especially dealing functions that could easily take an int or float, you either have to make a template or different versions of the function for each type. This makes me appreciate dynamically typed languages a lot. Those two issues are the only problems I seem to have, everything else has been easy and breezy

Besides those two things it's pretty nice. My code is a bit verbose because I'm not that great at it but I'm sure I could reduce the lines of code in my projects (the biggest one has 4000+ lines of code, but it does a lot) by using structs and more loops, but that's mostly a skill/experience issue.
Evernote is still around ?
Would it be possible to define "win" for your point 1 and 2?
In 1999 I dated a girl whose father was a military doctor. He was the only person whom I ever knew to have an almost total recall. Like, you asked him what happened on this particular day five years before, and he told you exactly what. If there were records (like photos), they would match his words.

He was also quite unassuming and very "normal". No trace of mental dysbalance.
Nothing prevents you from exporting the result of a analysis to excel at the end. This way you give people what they like while you dont have to use it for all the intermediate work.
Perspective JavaScript Framework
> It's nearly impossible to develop a healthy brand that doesn't have a recognizable logo.

Is Proctor&Gamble a healthy brand? Is its logo recognizable, were the big "P&G" not it?

(As another example, I recognize the Nestlé name brand, but don't recognize its logo with the three birds and the nest.)

If it isn't a healthy brand, how would you describe the Proctor&Gamble brand? Unhealthy? And how would changing that brand improve things?

I ask because it seems that healthy retail brand ends up with a recognizable logo in large part simply because so many people know it, making it hard to disentangle how important the logo is vs. the slogan, the product name, its effectiveness, and other properties.

And it would seem those retail brand principles apply less to, for example, multi-national conglomerates.

To be clear, that doesn't mean a recognized logo won't help a programming language advocacy and support group. I'm instead pointing out that I can think of quite a few seemingly healthy brands with forgettable logos, while you suggest that's nearly impossible.

(To be doubly clear, it's nearly impossible to establish a well-known brand in the first place, either with or without a recognizable logo.)
Sure, but my point is, if the code is not well designed, the result of a ground-up rewrite will not be well-design either, for the same reasons which caused the scrapped version to be badly designed.

It is even likely the new version will be worse, since it wont be developed incrementally, and that harsh deadlines will be imposed when the organization realize they can't evolve the product as long as the ground-up rewrite is underway.
thanks. my intuition is that the demand is, actually, there - customers don't want to read through an faq and a knowledge base. they want to go "I <their problem>, can you fix it?". whether that's to a human intelligence or artificial is besides the point, they want someone who's able to understand it first, empowered to fix it, second. where a bot can only regurgigate the docs, psh.
How about .net core vs framework?
> The C representation of memory (and all the pointer arithmetic) is not a real representation of your hardware, and this too is an abstraction.

By and large memory is a contiguous array and the C representation closely matches what is actually happening, so I am curious about which platforms you have worked on.
Instant premiere for updated game footage going live now: https://www.youtube.com/watch?v=aYyhYnRXTaw
Learning how to script a problem out of Excel brings many advantages. Its beyond the pure practicality. It helps you to think in terms of data structures. People who spend their lives on Excel have no idea how to best format data for processing and over and over repeat the same inefficient patterns.
I wouldn't say the bar isn't lower. There are so many more variables than in physics, and you have so much less control over them, yet we don't really want less reliable conclusions.

If you want a physics metaphor: it's like dark matter: no idea what it is, where to begin, contradicting theories all around. But this is right under your nose. You've taken part in it, and if you work at uni, you still do.
Existing C examples from semiconductor vendors do not allow other languages. Ok, C++ is also used, but that’s it. So it’s no brainer taking available drivers and building logic around them. That’s current state in embedded development. Client does not pay for use of modern languages.
I suppose some of it can be attributed to general unpleasantness of 37°C and impatience that comes with it, but I have another data point:

A while ago my laptop started running around 10°C hotter than it should have - turns out the iGPU was going wide open throttle for no apparent reason.

What I found was that CPU-intensive tasks slowed down as well, because those 10°C make a huge difference in terms of when the CPU starts throttling.

I wasn't bothered by this too much, even though I had to disable turbo altogether, until the first heat wave of the season hit - +10°C from the iGPU combined with +10°C from the heatwave slowed the device to a crawl - it was the first time I briefly saw it hit 102°C - that is actually above the usual safety threshold.

I think people in different climates either have A/C or are used to different levels of performance.
Good point :)

I also didn't like to resolve issues with different versions of log4j, and OSGi didn't make things a lot easier either. Then there's classpath misery, gradle, and IDE incompatibilities.

But I'd still rather live in a world where we'd try to fix things, instead of moving to completely new ideas. Probably easier to change my yearnings than the world of software development.
in python and R you can do a very complex graph in one line of code while it would require 30 clicks at least to do the same thing in Excel when its even possible. the power of abstraction.
Very odd: the URLs are identical, yet two separate submissions were accepted.
what will happen when they only have each other to mine for data?
I love the "principal agent problem"!
The Most Powerful Law in Software
Java will almost definitely be faster if you allocate at every step.
totally. my ultimate point is that in today's ML-driven computing world, algorithms are fuzzy, so while I do trust, say, Cruise, over a drunk driver, computers are no longer this reliable if-then algorithmically driven automatons. maybe the Internet dies and my iot cat feeder fails to feed my cat, maybe my book get charged so I can't read it. the future is amazing but it's also stupid.
A Backstory on the Las Vegas Sphere
This is indeed a great use case for containers, I agree.

Thing is, I see a lot of people go way beyond this, and split applications in many separate services, because they think the abstractions are free.
> C does not allow you to access bits in memory directly.

of course it does what are you talking about?