MurphyA/hacker-news huggingface dataset:
by easygenes | 2025-05-08 10:09:46+00:00
CMU lecture notes [0] I think approach it in an intuitive way, starting from the Gaussian noise linear model, deriving log-likelihood, and presenting the analytic approach. Misses the bridge to gradient methods though.

For gradients, Stanford CS229 [1] jumps right into it.

[0] https://www.stat.cmu.edu/~cshalizi/mreg/15/lectures/06/lectu...

[1] https://cs229.stanford.edu/lectures-spring2022/main_notes.pd...
by aayu-m | 2025-05-08 10:10:17+00:00
Location: India

Remote: Yes

Willing to relocate: Yes

Technologies: Java, Kotlin, C++, MERN stack, Android Studio, gradle, Javascript

Résumé/CV: https://drive.google.com/file/d/17ryHfuBT8RkZYxjejOMlBOHE0p9...

Email: mittalaayushi1401@gmail.com

I am Aayushi Mittal, a Software Developer with over 2 years of experience at Microsoft, and hold a B.Tech degree from IIT Roorkee. My expertise lies in Mobile development, Data Structures & Algorithms, backend, databases, solving complex problems and delivering high impact solutions.
by HenryBemis | 2025-05-08 10:11:02+00:00
I don't like Apple and its 'stuffs' but if it works anything like Spotify, then I can control 'it/Spotify' from my PC/Firefox while the music is played by my phone to an bluetooth JBL. So even without a dedicated TV/screen, I can listen to Spotify in other devices. I assume the comment would benefit from a setup like that - smartphone to control, AppleTV and the rest for the audio.
by 1dom | 2025-05-08 10:11:20+00:00
It took me a read or 2 to really make sense of this.

I can see the use and value of it. The thing that I found really confusing was seeing "Docs Like Code". I've never really heard it said that way, and seeing it written down with that capitalisation kept me thinking that I was reading a sales tutorial for some SaaS pipeline integration offering.

It would have all clicked immediately to me if it was called "Docs as Code" and made a link to concepts like infrastructure as code, config as code or everything as code.

I think one thing to consider mentioning if you're targeting this at non-devs, Docs as Code is very much a case of: "to the person with a hammer, everything is a nail", meaning to the person without the hammer (non-devs), this is never going to seem like an easy, sensible or intuitive approach, even if it is comfortable for devs. Normal humans don't generally need to know about or do docs as code, because it doesn't make sense to them and is not efficient for them to produce.

So if you find yourself in a position of having to explain this a lot to non devs, you should perhaps ask "is it easier for all the non devs to learn to be devs to update the docs? Or is it easier to change our docs platform to something usable by non-devs?"
by lupusreal | 2025-05-08 10:11:25+00:00
Doesn't seem that weird to me. Having lots of horsepower available doesn't mean you have to use it. Conversely, having only modest horsepower is still more than enough to drive at a truly reckless speed on most if not all roads. The psychology of the biker, their inclination to go fast, plays a more important role than the raw horsepower statistic. It seems safe to assume that people who deliberately purchase a race replica, even one with only modest horsepower, are more likely to go way too fast.

In any case, insurance companies have a monetary incentive to go by the data. Whatever the cause, they evidently have data that says race replicas correlate with insurance claims.
by cma | 2025-05-08 10:12:08+00:00
Could still do human work, a random audit and estimate what percentage of them are valid with statistics.

There probably was peer review of some sort making sure it isn't just a crackpot claim given they link his published paper:

https://iopscience.iop.org/article/10.3847/1538-3881/ad7fe6

And calibrated against known objects:

"We opt to primarily measure the success of our model using the F1 score as a more robust metric than overall accuracy. In order to ignore the effects of our class imbalances in the true positive catalog, we take the macro averages of F1 score, precision, and recall. As can be derived from this confusion matrix, the model achieves a precision of 0.918, a recall of 0.910, an accuracy of 92.2%, and an F1 score of 0.914. These values are satisfactory for our studies. It should be noted that the confusion between the null class and all other classes is the most important to keep track of. Another confusion matrix is available in Figure 9(b), which is the result of simply collapsing all the variable classes from the four-class confusion matrix into one, in order to study the real–bogus distinction that VARnet is making. The result is a precision of 0.973, a recall of 0.975, an accuracy of 97.4%, and an F1 score of 0.974. When observing the final confusion matrix, it is also apparent that there is the most confusion between the pulsator and transit classes. This is understandable, as some transits, particularly eclipsing binaries of the W Ursae Majoris type, have smoother short-period fluctuations in brightness, very similar to short-period pulsators. If the distinction between the pulsator and transit class were to be made via other methods after a secondary classification step, we could combine these classes for this step and greatly improve performance. By combining both the synthesizers and true positives for the pulsators and transits and retraining the model, the final confusion matrix in Figure 9 showcases the result of this approach. It yields an improved precision, recall, and F1 score of 0.980 and an accuracy of 97.4%."
by AStonesThrow | 2025-05-08 10:13:03+00:00
Perhaps they should spend more time interacting with one another...

My parents and I were discussing how this is the most diverse group of cardinals ever. Pope Francis' call to go out to the peripheries was modeled by his appointment of cardinals from every "periphery" of the Church. At the same time he denied appointments to traditional sees such as Los Angeles, he was diversifying the makeup of the College of Cardinals.

So at this point in history we have a large body of electors who probably know one another very little, especially in terms of in-person interaction and collaboration. So I would hope that during their general congregations, they have ample opportunities to meet and have fellowship, and get to know one another, rather than Stanley Tucci or John Lithgow.
by pembrook | 2025-05-08 10:13:05+00:00
In both situations you have zero recourse. In fact the US Government is less responsive to protest than US businesses are.

US healthcare is one of the most complicated systems of adverse incentives and tangled byzantine public/private spiderwebs ever created. To kill random people involved at 15 layers of abstraction away from the actual root causes thinking that will somehow make it better is probably the dumbest idea I've ever heard.
by petercooper | 2025-05-08 10:14:00+00:00
I could shorten this to "I can't understand Apple" much of the time. I love Apple products, but they do make some wacky decisions that surely make sense somehow (probably due to scale, regulation, or business aims) but the reasoning is entirely opaque nowadays. One thing I thought Steve Jobs did reasonably well was at least try to justify Apple's decisions, but they don't have anyone who levels with people in that way anymore.
by xtajv | 2025-05-08 10:14:59+00:00
Ok sorry, I'm going to state the obvious.

The "Apple Critical Alerts" API is clearly intended as a replacement channel for cellular emergency alerts[0]. (If not a "replacement", then perhaps a "supplemental" option. Redundancy is good when we're talking about whether "911" works).

The "Apple Critical Alert" API policy, restricting who's allowed to call the API, is a good thing. You just do not get performant public notifications if you allow just anybody to broadcast. (Milli)seconds count, people.

I hate Singleton patterns as much as anybody. And I hate when business happens behind closed doors, with limited public access, and restricted opportunity for public comment.

But again, if we're talking about the choice between """ locking down this one special channel, because it's responsible for real-time public safety alerts """ vs. """ asking how many broadcasters can possibly share that channel, before contention and congestion result in human-perceptible delays to alert delivery. """ Then I would opt for the former.

--- [0] You know how your phone will buzz REAL loud if there's like, an Amber Alert or Tsunami or something? That's a feature of the cellular system. To my knowledge, emergency alerts and 911 calls go over a separate dedicated mini-channel, which has gone by various names through POTS/2G/3G/5G and beyond. A.K.A.s: - Public Warning System (PWS) - Wireless Emergency Alerts (WEAs) - CMAS (Commercial Mobile Alert Service)
by codetrotter | 2025-05-08 10:15:36+00:00
> we got rejected because of "Mac*" in the name. we pointed them to a dozen others that had it, where it seemingly was no problem. didn't help.

To be fair, it’s understandable for many reasons that they don’t want other companies to use “Mac” in the name of the software.

- Brand dilution

- Losing trademark if Mac becomes a generic word

- It’s also annoying actually with apps that name themselves that way. Just because I’m on a Mac doesn’t mean I need that a whole bunch of my apps start with “Mac” in their name. Likewise for apps that start their name with lowercase i on iOS, and apps that end their name with droid on Android.

Also, for the ones that were allowed anyway, were those already big outside of App Store by chance? Or have they been allowing even new apps that don’t have an existing user base into the App Store with names like that?
by Chris2048 | 2025-05-08 10:16:41+00:00
I believe much of the sand in the Canaries (other than that shipped in to the more elevated isles to make white-sand beaches) is blown across - the native sand is black, volcanic. Fuertaventura is low-lying to the East and it has wonderful beaches.

I believe I also read the Amazon relies on Sahara sand for minerals;

"dust picked up from the Bodélé Depression in Chad [located at the southern edge of the Sahara Desert], an ancient lake bed where rock minerals composed of dead microorganisms are loaded with phosphorus. Phosphorus is an essential nutrient for plant proteins and growth, which the Amazon rain forest depends on in order to flourish."

-- https://www.nasa.gov/centers-and-facilities/goddard/nasa-sat...

I wonder if this means the present state of the rainforest is non sustainable?
by mattlondon | 2025-05-08 10:16:50+00:00
I love these sort of things generally from a technical perspective (I kinda have these fun day-dreams of a cadre of cool nerds and geeks setting up their own commune-networks against all odds in some distant future where they just have basic infrastructure etc)...

But ultimately I always feel uneasy and reluctant to get involved in general decentralized type things as I feel like I'll just be facilitating people sharing/distributing kiddie porn.

At least with Tailscale things are "private", but with this it feels like I would be part of the wider network. Will I be using my nodes to help route CP traffic?
by dailydetour123 | 2025-05-08 10:17:37+00:00
It's great, used it pretty extensively yesterday! My only request would be if there was a way to undo your last redaction (apologies if there is a way and I missed it). I found that if I got it wrong I had to refresh the page to start over. It's not a big deal though, and either way, it's a really good tool and I've recommended it be used as part of our internal recruitment process going forward. Thanks again!
by muzani | 2025-05-08 10:19:02+00:00
I actually made a game with conversations recently. Originally it was flipped (player to the left). Something felt off so I got curious and realized the same thing you did.

The norm for comics is the person you are speaking to is on the right. Because dialogue is read from left to right and you don't want to cross the tails. The brain views the person on the right as being approached and the left as the one entering the room. It's inversed for manga. I actually started with artwork (first person, other character on the right). But I flipped it to match messaging norms on mobile.

A more obvious one if you play MOBAs is that your team is always at the bottom and the opponent is top. Yet the game is always able to reverse this for your opponent as well.

But most of the time when you open a messaging app, it's to read messages. Then the eye goes top left. There are few instances where the first thing you do is read your own messages. From a utilization perspective it makes sense too.

Fun fact though, a lot of UX is adopted from Japanese culture too. Like QRs and emojis. The western style is barcodes and smileys. So it could well be following the manga style.
by bob1029 | 2025-05-08 10:19:10+00:00
> I started a job at Oracle Labs where I ended up using their database in a project, and that kind of gave me a new perspective on all this stuff.

I feel like a mandatory ~6 week boot camp using big boy SQL in a gigantic enterprise could go a long way to helping grow a lot of developers.

HN on average seems to have grave misconceptions regarding the true value of products like Oracle, MSSQL and DB2.

The whole reason you are paying money for these solutions is because you can't afford to screw with any of the other weird technical compromises. If you are using the RDBMS for a paid product and SQLite isn't a perfect fit, spending some money starts to make a lot of sense to me.

If the cost of a commercial SQL provider is too much for the margins to handle, I question if the business was ever viable to begin with.
by cyco130 | 2025-05-08 10:19:22+00:00
Don't know about the whole Europe (or EU) but I strongly suspect it is indeed (almost) everywhere. I'm Turkish and Turkey has it too. And yes, my mother uses it, and my grandparents used it when they were alive. You can't do anything government-related, open a bank account, or even visit a hospital without your government-issued ID card (which contains a chip). And a few decades ago, before the chips, there were other security measures tied to ID cards.
by cometapi | 2025-05-08 10:19:45+00:00
Gemini 2.5 Pro I/O Edition represents a landmark update to Google DeepMind’s flagship AI model, delivering unmatched coding prowess, expanded input/output capabilities, and refined developer workflows. Released early ahead of Google I/O 2025, this preview edition elevates frontend and UI development by securing the top spot on the WebDev Arena Leaderboard, achieves state-of-the-art video understanding, and introduces robust improvements in function calling and error reduction. Priced identically to its predecessor—at $1.25 per million tokens in and $10 per million tokens out—it offers a cost-effective solution versus competitors while maintaining a generous 200,000-token context window. Multimodal I/O functions like “video to code” and single-prompt app generation simplify prototyping, and endorsements from industry leaders underscore its practical value. Looking ahead, Google plans to extend context capacities and integrate advanced I/O features, cementing Gemini’s position as an indispensable tool for real-world coding challenges .
by graealex | 2025-05-08 10:23:20+00:00
The reason for using an embedded database is ease-of-deployment. Sometimes deployment size is relevant as well. Those use cases are usually oppositional - software that relies on a simple deployment usually doesn't require dozens of concurrent writers, and/or hundreds of transactions per second. Software that does usually needs a more in-depth installation anyway, or at least it's worthwhile to go the extra mile to optimize performance. Also the size of the dataset will often be orders-of-magnitude apart.

The reason for using an SQL database is that your data is structured in a way where using SQL to query it makes sense. Comparing SQL to No-SQL is pointless, unless your use case can be easily adapted to either of them, without suffering too much.

There are plenty of No-SQL embedded databases. A number of SQL embedded databases as well.

If speed, ease-of-deployment/embedded and SQL were important, I would use Firebird as an embedded database, like SQLite gets loaded into process memory. Depending on the version and feature set you include, this is also only a few MB, and even more ANSI SQL compliant than SQLite.

If you want to do comparisons, compare against other document/No-SQL databases.
by jampekka | 2025-05-08 10:24:18+00:00
Computationally OLS is taking the pseudoinverse of the system matrix, which for dense systems has a complexity of O(samples * parameters^2). For some GD implementations the complexity of a single step is probably O(samples * parameters), so there could be a asymptotic benefit, but it's hard to imagine a case where the benefit is even realized, let alone makes a practical difference.

And in any case nobody uses GD for regressions for statistical analysis purposes. In practice Newton-Raphson or other more complicated schemes (with a lot higher computation, memory and IO demands) with a lot nicer convergence properties are used.
by strogonoff | 2025-05-08 10:24:25+00:00
Like any map, the inheritance pattern is bad, except when it works. It’s a strategic capability to be able to guess well which is which in given context.

My first foray into serious programming was by way of Django, which made a choice of representing content structure as classes in the codebase. It underwent the usual evolution of supporting inheritance, then mixins, etc. Today I’d probably have mixed feelings about conflating software architecture with subject domain so blatantly: of course it could never represent the fundamental truth. However, I also know that 1) fundamental truth is not losslessly representable anyway (the map cannot be the territory), 2) the only software that is perfectly isolated from imperfections of real world is software that is useless, and 3) Django was easy to understand, easy to build with, and effectively fit the purpose.

Any map (requirement, spec, abstraction, pattern) is both a blessing that allows software to be useful over longer time, and a curse that leads to its obsolescence. A good one is better at the former than the latter.
by bonzini | 2025-05-08 10:25:06+00:00
In the early 2000s I was working in a webdev team where editors worked on the raw HTML (some with the help of Macromedia Dreamweaver, some simply with Notepad++) and pushed it to the httpd root via SFTP[1].

None of them had a developer background, I don't see why they wouldn't be able to do the same with Markdown and a pull request instead.

[1] Nope, no version control :) though there were three separate domains for unstable/test/prod (test/prod shared the database too, unstable didn't).
by potato3732842 | 2025-05-08 10:25:31+00:00
It's more complex than that.

The bulbous styling on your average "we would have called this a station wagon 40yr ago but now we call it an compact SUV because stupid laws" vehicle is driven in large part by a need to have big floofy plastic moldings full of airspace for a "soft" place for a pedestrian to land.

On the other hand you've got stuff like the Chvey 2500HD trucks that everyone screeches about that aren't designed that way and will propel a pedestrian back onto the pavement.
by AnthonBerg | 2025-05-08 10:26:40+00:00
Agreed!

Nonetheless, VVVVVV’s graphics are exquisitely done, and, well, perfect? The graphical limitations – the technical underpinnings of the style? – those are a decision, and the result is… exactly what it should be.

(Hard to get into words! Came out kinda pretentious? *shrug*)
by earthen4060 | 2025-05-08 10:28:12+00:00
Software developer for the last 7 years, started as a graphic designer, turned frontend, then backend engineer (was lucky to work in a product team where I was offered the opportunity to learn and switch careers). Last 4 years solely backend. No education, decided to pursue the cs degree anyways (no scared to lose this career) but instead to create new opportunities to grow and specialize. Having a cs degree opens up the opportunity for masters and other things I’m considering to pursue in the future to not stay a software developer forever. Besides that I am really learning a lot of stuff and it did make me a better developer. Following IU.org online degree, it’s quite modest but it is real and accredited, difficult too. Good luck!
by cartoffal | 2025-05-08 10:28:50+00:00
My point was more that the layers below the application will also have to parse the data into a particular format - in the case of networked applications, into TCP/IP packets, then anything particular to the message protocol, before hitting the application. And then the application will, at runtime (regardless of whether you are using a type safe language or not) have to parse and validate the shape of the data before it can be used.
by Barrin92 | 2025-05-08 10:29:18+00:00
>People really want these things - exercise, weight - to be important moral objectives for others

because they are. The visual changes are superficial. Exercise is important because it holistically moves people to a healthier and active lifestyle. It literally changes your mental state.

Ozempic is to weight loss what pain killers are to pain or sleeping pills are to insomnia, something that numbs a symptom (hunger in this case), without any impact on the underlying behavioral reasons that led towards the kind of lifestyle that promoted obesity.
by iLoveOncall | 2025-05-08 10:29:55+00:00
> The "Apple Critical Alerts" API is clearly intended as a replacement channel for cellular emergency alerts

I don't see how it is "clearly intended" for this purpose, and nothing seems to be indicating that.

Apple's own applications use it for a lot of things that are not at all related to those large-scale alerts, and so do many other applications. Their critical alerts API is just about bypassing the silent mode when needed.

You say it yourself, there is another system for large-scale alerts, which is unrelated to Apple.
by cartoffal | 2025-05-08 10:30:34+00:00
In many statically-typed languages, types do not exist at runtime - they are erased once the program is known to be internally consistent. What is left is not type safety, it is parsing and validation of unstructured binary blobs (or arbitrary strings, depending on the protocol) into structured data. Structure and types are not the same thing, and in many languages they barely even overlap.
by genai-analyst | 2025-05-08 10:31:38+00:00
another digression here... sorry... i see you're trying to diy text-to-sql—at some point you're gonna hit a bunch of hiccups. like, the model writes a query that “almost” works but joins the wrong tables, or it assumes column names that don’t exist, or it returns the wrong agg because it misread the intent. and retries won’t always save you—it’ll just confidently hallucinate again.

we’ve been through all of that at wobby.ai we ended up building a system where the data team defines guardrails and reusable query templates, so the agent doesn’t just make stuff up. it can still handle user prompts, but within a safe structure. if you want to save yourself from debugging this stuff endlessly, might be worth checking out wobby.ai.
by PurpleRamen | 2025-05-08 10:31:58+00:00
Implementation of eIDAS is still in progress. It's not even mandatory for every citizen to haven an eID until end of 2026. And it's also not used yet everywhere for everything. But it's gradually growing.

The first time I had a chance to use was just some months ago, when I could activate a SIM-card online through and my smartphone reading out my ID-card via NFC. I pay daily via NFC, but it's the first time ever I had to use the chip in my ID-Card, despite it having one for 15 years now. Laws and regulations are good in theory, but reality can be often quite a bit different.