skysight-inc/HackerNews huggingface dataset:
If you're going through all the effort to design a PCB have you thought about driving the I2S input digitally? I skimmed through the AD85050 datasheet and it has internal DSP functionality which would have been already tuned for the drivers and box by Marshall. The reason powered boxes sound decent despite their relatively cheap hardware is because of the extensive processing they have in the background to compensate for any hardware defiencies.

As the AD85050 has a stereo I2S input there's a possibility for the actual crossover to be either done on the amp chip itself (with the same signal driving both channels) or done on the Amlogic SOC. The latter would be ugly as you would need another DSP chip on your board to do the crossover functionality, or perhaps you could program the AD85050 via I2C to add the appropiate low and high pass filters.

A two channel A/D converter would work on the front end, as you could drive both channels with a single analog input to get a stereo I2S out with duplicate channels to drive the amp. A USB input would be much messier if you want true stereo using two speakers unless you plan on doing routing on the software side. With SPDIF you probably could get away with splitting the signal and using a SPDIF to I2S converter chip in each speaker, but you would still need some way to separate out the left and right channels. The AD85050 has mixing functionality via I2C which may help with that.

And of course, all this might be more work than desigining an amp in the first place, and it really depends if you want to explore the analog or digital side of things.
The disconnect between very "FAANG-focused" people and reality is always interesting to me.

1. There are a ton of good, well-paying software engineering jobs out there, especially in the startup world. Maybe not as high total comp as your Bigtech job, but still plenty adequate, esp if you've already made a good pile of money from Bigtech.

2. Not everyone in Bigtech has as unhappy a job as you seem to have; maybe you could switch teams within your company, or hop to a different "FAANG"

3. "I dreamed for years to get into FAANG" <-- I just don't comprehend this. Like, I would personally like to work at one of these at some point for the numerous benefits it would offer, but I can't comprehend it as holding the level of value that I have seen many people ascribe to it.
I’ll try it on my ski tour tomorrow!
> Then why doesn't the government put limits on the no. of houses/flats a canadian family can buy?

Well, mainly the answer to this in public discourse is the same reason people say "we just need to build more flats" --- because people believe in the magical powers of "markets", like there's some natural law that leaving things to the market will lead to desirable outcomes.

But the actual politics of it is that if you did this, then where are you going to get the boomers pensions from? And where is the economic "growth" going to come from? See my other comment.

We're all in a big ponzi scheme because we exported most of our real welath-generating activity.
Ask HN: How to distribute proprietary LLM prompt?
An interesting use-case for LLMs is to distribute an OSS LLM (like ollama) but specialize it with a custom, large prompt. This prompt may be proprietary. Is there any way to achieve this goal without putting the LLM behind a service API?
Which isn’t a problem as exploiting most software is meaningless. Wow someone can hack software they already have root access to the machine for whatever will we do.

It’s management and developers not treating software where it is meaningful for someone to hack as a different category that’s an actual problem.
Copy-pasting itself is not bad per se. What's bad is copy-pasting without understanding the why and how.

For LaTeX I also copy-paste a whole lot from older files, but I don't feel bad because (a) I wrote these files before, (b) I know exactly what each line is doing, (c) I understand why each line is needed in the new doc.

I wrote a relatively large amount of TikZ code earlier in my life (basically used it as a substitute for Illustrator) and for this library in particular, I think it just has so much syntax to remember that I cannot keep it all in my brain for ever. So I gladly copy from my old TikZ code.
We love to praise Unix, but it wasn't built for modern multi-user use. FUSE was an after-thought. So were package managers, and they got added, but they require root. Users aren't sandboxed, so they can see what others are doing. These were just off the top of my head.
not doing much scientific programming eh?
Much written, nothing said
Interesting that the article skirts around the part where they imply they’ll lift the hold of and when he gives them the ip/works to build a solution for them unpaid.
I think this is probably the best place within these comments to note that one thing some people expect of a configuration format is to be able to hide information from the consuming piece of software.

Normally, it is often useful for a program to receive all the configuration from all sources. ("This flag is normally set to TRUE, has been set to FALSE on this system, has been set to TRUE by the user, and now there's an environment variable that says one thing and a command line flag that says something else.") Sometimes, integrating several incoherent settings into one is dependent on its consumer, or even the setting itself. Sometimes, you would like to be able to debug how different settings interact with one another. Sometimes, different settings can be merged without issue.

CCL exposes everything to the program receiving the config, which is something (some) people seem to abhor. I can see how wanting to hide information can be both useful and detrimental, so I'm wondering if this issue is actually orthogonal to configuration languages, meaning CCL, and others, shouldn't even concern themselves with it.
WP Styler AI – Your AI-Powered Assistant for WordPress Theme Colors
I've been using #pragma once in my C++ libraries for a decade and nobody ever reported any problem with that. I did get bug report about using perfectly standard C++ features that were not properly implemented in some compilers.

> the same include file is accessible under different path names (granted, that's a very esoteric scenario)

And most likely a build system problem anyway if, say, different versions of the same library get included in your build.
It won't work. Source code from native code decompilers is:

* not designed to be compiled again. It most likely won't compile without serious manual fixing. For example, decompilers often insert "pseudo-functions" to denote that something not easily representable in C is happening. Like CONCAT(var1, var2) may mean that both var1 and var2 are used as a single variable obtained by concatenating their bits (in practice: AX is used when AH and AL were already determined to be variables). Similar intrinsics exist for carry bits, jumps to arbitrary pointers, etc. This sometimes means that type inference went wrong somewhere, which brings us to...

* not perfect, and not designed to be perfect. Decompiler has no idea if a variable on stack is a qword or 8 byte array, it can only guess from local usage. In many cases array will be incorrectly decompiled as a single variable, or pointer parameter as an integer. This is not a huge problem when reversing, but catastrophic for decompilation. Automated struct identification is even harder, often almost impossible when you take unions into account. As a reverse engineer you are supposed to fix that interactively during analysis.

* decompilers in general don't decompile global data definitions - you interpret memory using a separate view. And for a good reason - what may look to the decompiler like three consecutive independent variables may actually be an (unrecognized) structure that must be kept in the same exact layout. Defining them as three independent C variables would almost surely not work.

* for firmware in particular the binary may be required to follow a specific layout or have other unusual characteristics (like volatile memory regions). No decompiler will give you a correct linker script to use for recompilation.

These problems are just out of the top of my mind. Worth noting that a new and upcoming reversing tool called rev.ng actually has working recompilation from C as one of their planned features, so we'll see what they come up with (and if they succeed).
The CNBC piece omits details that other coverage has:

“The trial resulted in jurors finding that while Toptal did everything of significance it was required to do under its contract with Grosz, Grosz had breached the contract, harming Toptal.”

Source: https://www.law.com/2023/11/13/latham-nets-freelance-platfor...

Bloomberg also has an article stating that the jury evaluated fraud and breach against Toptal, which Grosz lost. If Toptal did “everything of significance” and was found not liable for fraud or breach, then the jury concluded that Toptal did not mislead him or do anything wrong.
> Certain scale

Or just put the algorithm in a 16-bit microcontroller, put some table that needs to be looked up (think precomputed sine table), put that table near the end of the memory range, and just make the mistake to call binary search specifying the start and end memory positions of the table.
Cybersecurity and Privacy for Beginners: Ad Blocking
One simple approach that the second, or at least third, time you deal with something, you invest time to learn it decently well. Then each time you come back to it, go a bit deeper.

This algorithm makes you learn the things you'll need quite well without having to understand and/or predict the future.
Good news, you can change the output then! And for as much as you might not like its generated Makefiles, I assert that $(cmake -G Ninja) is 100,000,000x more "wtf" than -G Makefiles

I disagree about the autotools ones, I find them very sane although autotools itself can die in a rotting dumpster out back. And take m4 with it.
That perspective assumes people are passive receptacles, who simply vote for whatever the TV tells them to vote for. But most US TV news and newspapers was supporting Harris, and in every election Trump was outspent by his opponents. People aren't slates on which other people scribble, they have agency and make their own decisions.
> I remember pretty clearly that if you had anywhere above 512MB of RAM in 2006 you had very much top-of-the-line.

That’s a different claim than your original statement of having 100MB max.
Thank you for the lecture.
"Politics" are inevitable, but the stuff that the parent is describing is a particular type of politics that comes with hierarchical power (and possibly bad/immature leadership?)

General pattern is that certain people in the level(s) above you are fighting for influence to impress the levels above, and critically, are willing to use the levels below in order to achieve their personal goals (organizational goals are secondary, at best). Unless leadership is unusually adept at punishing the first signs of this behavior, it quickly becomes pathological. Every level gets infected, and before long your org has all of the backstabbing drama one might associate with an imperial court. In times of growth it's painful enough, but in times of limited resources, it's pure bloodsport.

There are people who can effectively detect and push back on the behavior, but they seem to be rare, and even more rarely make it into positions of influence. My theory is that it's so exhausting to be sensitive to the drama that you can only make it to the top if you combine it with a big dose of sociopathy. You also see it a lot at startups, because the founders are typically young, arrogant and have no experience managing anyone. By the time they realize they've hired a toxic exec layer, it's too late.
Ah I understand, that's an interesting theory and would explain why Meta's suddenly reversing/changing course on a bunch of their policies.
> Then NVIDIA came and announced a 4090-performance GPU for $549...

That's obviously a marketing hoax. Spray DLSS and other tricks and you can make this kind of claims while the raw power is clearly on the side of the 4090
The same username on Github follows only one person, Niklas Vatn, who appears to be a lovable employee. https://github.com/Henrik501?tab=following

Looking more into it, Henrik Westerlund works on "growth" at lovable (via LinkedIn) and posted Lovable to Product Hunt https://www.producthunt.com/@henrik_westerlund. So it appears they are shilling.
There used to be a couple holdouts, but all major C++ compilers have supported it for years (https://en.wikipedia.org/wiki/Pragma_once).
> Those who haven't burned out / been broken have no way to understand the experience. They want to help, and suggest listening to soothing music, or taking a vacation to "recharge." They can't understand that to the person in the final stages of burnout, music is a distraction, and they have no more energy for a vacation than they have for work. Even planning a vacation is beyond their grasp, much less grinding through travel. They're too drained to enjoy anything that's proposed as "rejuvenating."

This is one of the most salient points to me.

When I was burnt out, I was a husk of a human being. I appeared to be a high-functioning, successful, positive-trajectory sort of guy. Inside I was quite literally dying.

Things that used to be fun, and I knew I liked, were almost painful. The energy it took to play with my kids and be happy with them was mentally and physically painful to spend. Activities like free diving which used to fill me with passion, wonder, energy, and joy became chores I actively avoided. I had endless excuses to do nothing but the absolute essentials. Keep the job, pay the bills, try to sleep, try to wake up, keep going.

I'm quite a bit better now. I opted for work which pays a lot less, but allows me to feel much more aligned with what I do, why I'm doing, who I do it with, etc. Had I not found that I think I'd still be better, but getting out of the work I was doing was a good way to expedite recovery.

Good luck to all of you experiencing this. You might have normalized it and begun to feel trapped, but I promise there's a real life you can enjoy on the other side of it.
There are certainly a lot of tools that are more complicated than necessary, but Make as a tool isn’t a good example of that, IMO. With modern tooling, more often than not the complexity problem is compounded by insufficient documentation, the existing documentation being predominantly cookbook-style and not explaining the conceptual models needed to reason about how the tool works, nor providing a detailed and precise enough specification of the tool. That isn’t the case for Make, which is well-documented and not difficult to get a good grasp on, if one only takes the time to actually read the documentation.

The cookbook orientation mentioned above in turn leads to a culture that underemphasizes the importance of learning and understanding the tools that one is using, and of having thorough documentation that facilitates that. Or maybe the direction of causation is the other way around. In any case, I see the problem more in too little time being spent in creating comprehensive and up-to-date documentation on tooling (and designing the tooling to be amenable to that in the first place), and in too little resources being allocated to teaching and learning the necessary tooling.
We've seen London prices drop recently. That's mainly because we've seen higher interest rates and a flight of capital from the UK. People aren't as confident in the ponzi scheme continuing. It may also be in part because of huge drop in population post-brexit, although AFAICT there are no accurate numbers on that because the government doesn't want to admit that Brexit is a disaster.

I would guess Austin might be seeing a drop because it was "the big thing" for a while but now the consensus is it is not going to rival San Francisco. The rent seekers are moving elsewhere because there are bigger capital gains to be made? Just a guess, but you can probably verify it by checking house prices in Austin vs San Francisco.
Matt Mullenweg deactivates WordPress accounts of contributors planning a fork
syzygy eclipses (one planet hides another) are also limited in viewpoints, tho
> Social media and dating apps has made physical attraction more paramount than ever but I can’t do shit about it.

Maybe don't look for relationships on social media and dating apps? There's a whole world out there that you won't be able to access through a screen, but you have to go out and find it. It will not come to you.

And I don't know you, but I can almost universally promise that surgery will not change the outcome. Are you physically fit? Do you smile and laugh when around other people? Do you hold yourself in high esteem? Get the basics right and the rest will follow.
It never ends well in the movies.
I've this issue but with a painting I once saw in a (school?) art book 30, 35 years ago. I'm pretty sure it was painted during the Renaissance, by an Italian painter. It shows a portrait of Jesus at the cross (so a closeup of his face), who's hollering in pain. Usually he was depicted all serene, but his expression in this painting is terror. Always stuck with me, but haven't seen it since, and occasionally I try to find it.
well the magic of transformer architecture is that if the rules exist and are computationally tractable, the system will find them in the data, and we don’t have to have a clue. so. how much data do we need?
> what this ever-popular narrative misses out

Straw man. Left commenters know perfectly well about the roles of Fannie and Freddy. The left critique is not just greedy banks. It's also government collision in pumping property values, as well as interest and fees banks make, via Fanny and Freddy.

If your opinion is that using government policy to enrich property owners and banks is socialist, then you have a very unorthodox view of socialism.
Is it worth to make the algorithm faster at the cost of throwing surprise OutOfBounds exceptions in some extreme edge cases?

Maybe, but only if you - and only you,and not an attacker can control the case you are in.
I’ve been a sysadmin for nearly a decade, a frontend web designer for much longer (I still have a book on all the exciting changes in HTML4), and while I can very easily learn, compose, and use many markup and scripting languages, I have always struggled with full-on programming languages, and I’m not exactly sure why. Part of it, I think, is that most tutorials and online learning resources are focused on novices who don’t have any existing grasp on general programming concepts and syntax, but I’m already pretty deep into Bash. To the extent that I am sure I have crossed the thresholds you list, and used quite long and complex Bash scripts for tasks that would almost certainly be easier in Python. I’d love to find A Bash Scripter’s Guide To Python or something similar—an intermediate course that assumes that I already know about variables, operators, functions, Boolean expressions, et al. I have searched for this a few times, but it’s full of keywords that makes searching Google difficult.

So this has inspired me to Ask HN, I’m getting ready to post it with a reference to this discussion, but thought I’d start here: does anyone know of a good resource for learning Python (or Go, Perl…any good small project/scripting/solo hacking languages) that’s tailored for folks who already have a good foundation in shell scripting, markup, config/infra automation, build tools, etc.? I’m open to books, web-based tutorials, apps, or just good examples for studying.

I’m open to the notion that I simply haven’t put in the work, and powered through the doldrums of novice tutorials far enough to get to where the meaty stuff is. Worst case, I’m a big fan of taking courses at the local community college for my own edification, absent any specific degree program or professional certification. It would still necessitate a lot of remedial/redundant steps, but I can always help others through those chapters while filling in any of my own gaps. Day-to-day, I generally work alone, but I find such things are easier with others to help motivate and focus my efforts. Perhaps I have answered my own question, but even still, I appreciate any advice/recommendations folks might have.
man I don’t. I can drive for 12+ hours. I can be on the internet for like 6
Yeah that is definitely a footguns but I think calling it the ultimate footgun is overselling it. Perl implicitly casts between strings and integers. That's a waaaay bigger footgun.
To be clear, this was a personal choice of your son and not because of an injury?
If it is the critical path for your project or worse for your job, seems like that’s just due diligence.

> Seems to onerous.

I would only say that about a non-critical personal project.
Equity is more like... wheelchair ramps. Or chirpers at traffic lights for blind folks. Or subtitles.
You may find this report to be more to your liking then:

https://news.weill.cornell.edu/news/2024/08/large-study-conf...
Pathetic company built on lies and shady "growth hacks"
SEXY!
Will it be a problem for you when--even with a hosted API--your proprietary prompt is leaked and other people or companies start using variations of it for their own purposes?
Even without auto you have the problem.

return foo().bar();

No `auto` and you still don't know the return type of foo.
And knowing the type might not be the only reason you'd want an IDE anyway. What is `foo()` doing? I want to be able to easily jump to the definition of that function to verify that the assumption taken by the calling function are correct.
The 3D terrain stuff in FATMAP was great. I don't get why Strava killed it.
so like ten to twenty years, via moore’s law?
You're never going to get anywhere without defining your terms.

As you originally pointed out, a physical dart can't hit a single point on a number line. It will hit an infinite number of them simultaneously. This is true whether you're worrying about rationals or reals.

But if you have a dart so sharp that its tip is zero-dimensional, one that can hit a single point on a real line, and you throw it at a composite of the rationals from [0,9] and the reals from [9,10], it will have a 10% chance of hitting an irrational number (within [9,10]), and it will have a 90% chance of missing the line entirely, striking one of the holes in the rational interval [0,9]. The chance of hitting a rational number will not improve from 0.

Do you have a model of uniform selection in mind, or do you find that it's easier to say the words without assigning them any particular meaning?
Yeah I'm just not wasting my life (or professional time) learning Groovy, Maven, DotNET project files, DotNET 4.8, Gradle, Azure DevOps, Grafana, Prometheus, Docker, Docker compose, Kubernetes, Jenkins etc et all.

I need those things once at project setup. I copy-paste and change a bit.

Why copy-paste? It's a proven strategy with a high success rate despite little effort behind it.

I also don't want to learn templating for every little DSL I need to write one file per project with.

But if you love doing it "the right way", you're welcome to do that work for me.
Did Hilma af Klint draw inspiration from 19th century physics?
These were interesting when I was a kid, but there are so many specifically rare astronomical events that I'm left with a whole lot of "meh."
Joost/Karim Fork
you don't have the time because you spend it bruteforcing solutions by trial and error instead of reading the manual and doing them right the first time
Alternative story that reports the same study a from a different, also interesting, angle:

https://news.weill.cornell.edu/news/2024/08/large-study-conf...
sounds like a pretty sane thing to do: github protects the majority of their customers from instability caused by a few.

unless you're a super important partner, the people on call might never have heard of your little app and just decide that it's the only safe thing to do to protect the reliability of the system.