skysight-inc/HackerNews huggingface dataset:
Overloading can be easily abused, but the very complicated expressions that can appear in programs for scientific/technical computing are immensely more readable when using operator overloading like in C++ instead of using named functions, like in languages that forbid operator overloading, e.g. Java.

In scientific/technical computing you have frequently, even in the same expression, dozens of different kinds of additions, multiplications, divisions, etc., between scalars, vectors, matrices, tensors, complex numbers, various kinds of physical quantities, and so on. Without operator overloading the expressions can become huge, extending on a great number of program lines and they can be very difficult to understand.

Also, Pascal's method of using a single kind of statement brackets, i.e. "begin" and "end" (renamed in C as "{" and "}"), which has been inherited from Algol 60, is wrong for program readability.

The right method has been introduced by Algol 68 and it was inherited by languages like Ada. In such languages there are several kinds of statement brackets, like in the UNIX shell, where "if" and "fi" are brackets for conditional statements, "do" and "done" are brackets for loops and "case" and "esac" are brackets for selection statements. This is much more readable, especially when there is a big loop that can not be seen in a single page of code, so you see only its end, which is also the end of many other kinds of program structures, like nested loops, conditional statements or selection statements.

To get the same readability in languages like Pascal and C, you can add comments to the final braces or "end" of the program structures, but this is much more cumbersome than in a language with several kinds of statement brackets, where the bracket pairs will normally be added automatically by your text editor.
MOVE FUNCTION MIN(BLOCK-ENTRY-MINIMUM-STATE-ID(LK-BLOCK), STATE-ID) TO BLOCK-ENTRY-MINIMUM-STATE-ID(LK-BLOCK)
The reason why car keys are using chips is because physical safety sucks so much in comparison with digital.

The fact is we are better at it because of failure of state to establish the safe environment. Generally protection and safe environment is one of reason for paying taxes.
This is what I used
For years, I've wished someone would port Pink Trombone to a VST or something I could control through code.
Oh , I guess if the vaccine worked poorly or unpredictably like the flu vaccine.

Still, I personally think facemasks at a poultry farm are impractical. But I don't really know, I've never worked at one and have never met anyone that has.
Manmohan Singh, Indian ex-PM and architect of economic reform, dies at 92
That was a time when gates were not as plentiful as they are now. Both the new Nordic SoCs are designed at 22nm.

It can be a challenge as to what to use all the gates for.
If you have to go to 1977 or prior to slag a language, there are tons of languages that will disappoint you.
I'm not convinced. We have "hyper" and "lightning" diffusion models that run 1-4 steps and are pretty quick on consumer hardware. I really have no idea which would be quicker with some optimizations and hardware tailored for the use-case.
I guess that's true for most things. Say, learning to play an instrument can be similarly difficult at first.

Motivation is vaning, you need discipline to actually stick to something and get better at it. But even getting better day-by-day by only a tiny percentage will result in huge gains over long periods.
Same problem with brave on ios! Cool app though
We have different ideas about what "linear" means.
Reminds me of "Devs":
https://www.youtube.com/watch?v=xEfyT3vLD2c
I'd like to learn how to use a closed-circuit rebreather (CCR) for scuba diving. The increasing price of helium is making the deep open-circuit diving impractical.
By having a second company, it becomes an expense of the polluting company. Now the MBA’s can put a cost savings into their decision model to reduce their emissions. If their CO2 cost is X and the upgrade costs are Y they can optimize, calculate paybacks, determine ROI. For some companies the calculus comes out the outsourcing CO2 capture is the best solution.
I suspect that the unannounced side benefit is that it sounds cool. You get to be the guy who had the brilliant idea that saved the planet with no effort on anybody else's part.
Yeah, here is what you need to do:

- install Node.js, Redis and PostgreSQL

- start the Redis server

- start PostgreSQL, create a database and run structure.sql: https://github.com/ferg1e/comment-castles/blob/master/sql/st...

- get all the source code for the actual app (ie. the code from the comment castles repo)

- figure out all your environment variables (the ones I list in the README)

- now you can run the node app (you probably want to use pm2 if on Linux)

- then connect that running node app to the public internet (I use something random for the HTTP_PORT environment variable, like 3333, and then I Nginx reverse proxy that to port 80 on my domain name (I will try to get this Nginx code and post it here later))

- and then I run the let's encrypt certbot for https
Statistically chosen to maximize *some particular loss measure, which in this case might be the t-SNE or UMAP criterion, and is computed only globally and not for different filters.
https://www.sciencedirect.com/science/article/pii/S089812211...
You can disable the journal. It should(! haven't checked !) not touch the recovery information then. You also need this when you have a decade of version difference and an error on mount: `mount -oro,noload`
Some useful measurements from Geoff, I'm not sure what the thesis is or it wasn't stated clearly enough for me at the outset, and the conclusion appears to be to use anycast for authoritative nameservers because it's recursives' faults.

Anyway: Recursives don't consistently do a good job of picking the fastest-responding authoritative. Apparently the description of how to do this in RFCs is unclear (not to me). Unbound uses a measure (400ms) which is conflated with a "diameter of the public internet". My interpretation is that BIND does the best job of honoring the RFC's intent in this regard.

I concur that faster is generally better, but on the other hand recursives shouldn't be running with a cold cache except on startup. Parallelization of requests isn't addressed and neither is for instance the impact of long CNAME chains or requiring resources from numerous instances of disparate authoritative infrastructure (or CNAME chains requiring resources from disparate infrastructure).

So this kind of seems to me like telling authoritative operators what they want to hear and probably already know / suspect.
I agree with you. If you give each dev a kind of sand-box to "own" within a project they'll learn to find their own bugs, write both simple and robust code, lots of param checking — grow as an engineer that way.
>In addition companies don't seem to give a shit about straightforward code, they want LOC per day and the cheapest price possible which leads to tons of crap code.

Companies don't care about LOC, they care about solving problems. 30 LOC or 30k LOC doesn't matter much MOST of the time. They're just after a solution that puts the problem to rest.
Fortran (FORmula TRANslation) was intended for a very peculiar subset of 'non-programmers': mathematicians, engineers and the like. It ends up being a pretty good impedance match for people who are use to dealing with terse forms of expression already.
I agree it would be less confusing if they weren't there. I'm sure I'm not alone in spending some time trying to work out what the axes were.
> But nowhere does it seem to consider that many of the bullies and harassers would only dare do so with an anonymous identity.

Have you seen Facebook? Anonymity does not, in any way, preclude horrible behavior and harassment.

Also, reducing the problem to “bullying and harassment” is frankly laughable, and gives rise to the suspicion that you at most only skimmed the page.
Free Easy Error Manager
Hey HN,

I recently made this error managing and diagnosing app. How it works is when an error occurs, send it to our servers with an SDK or API. Then in your dashboard manage the error reports and see key details like when and where the error occurred and what kind of device and browser it occurred on.

See https://airer.vercel.app for more information and to use for 100% free.

Thanks for your time,
Zak

PS. I just created this so all feedback is welcome! Right now the service is completely free.
Finland boards ship suspected of causing internet, power cable outages
I wonder if airlines have insurance for this sort of thing.
Differential meshes they show there remind me of holomorphic functions like [1] - is there a connection between such generative processes and minimal surface / curvature?

https://www.pngwing.com/en/free-png-bvwbg
https://en.wikipedia.org/wiki/Manmohan_Singh
lol. Great article, btw; thanks. I submitted it:

https://news.ycombinator.com/item?id=42516811
It’s worth noting that a lot of rust frameworks have code generators and the like that emit a lot of lines quickly.

I’m working on a web app with Axum, Diesel (type-safety on my Postgres stuff), and Leptos (in “islands” mode, allows me to write my server side HTML using JSX-like syntax within Rust, and client side WASM). It’s actually incredible how much it can accomplish with a relatively simple file tree.

I originally started with Loco, which is rails-like. It spits out something like 80 files every time you make a scaffold. It felt exactly like what you describe — too much code to do something that should be simple.
Other than the geometry of high density living, the mall and shared facilities at the base isn’t that odd. If you drive to a strip mall to go to a gym or you go to a pool or country club run by your HOA it’s the same thing but with added driving.
I wonder why people boast they can do ten things in one line. Less lines of code doesn't mean less bugs. The debugger just stops at each symbol instead of each line which I think adds to the cognitive load.

Documenting while waiting for the flow is like stretching before exercise. It gets you to that place :)

I got my experience/slaps by fixing my own code in the same codebase for more than ten years. I have empathy for the future maintainers :)
Tokyo makes 3D data available
My understanding is that time can be a 4th dimension, but n-dimensional spaces themselves are simply a very basic mathematical structure, where a point can be described by n numbers (you can actually be abstract even in that, no need to stick to rational numbers, I believe).

As long as you can map time to a number line, it's a valid representation. We just happen to have hardware acceleration for 3-dimensions, and the 4th is just completely unintuitive to us.
The hard part is keeping everything coherent over time in a dynamic scene with a dynamic camera. Hallucinating vaguely plausible lighting may be adequate for a still image, but not so much in a game if you hallucinate shadows or reflections of off-screen objects that aren't really there, or "forget" that off-screen objects exist, or invent light sources that make no sense in context.

The main benefit of raytracing in games is that it has accurate global knowledge of the scene beyond what's directly in front of the camera, as opposed to earlier approximations which tried to work with only what the camera sees. Img2img diffusion is the ultimate form of the latter approach in that it tries to infer everything from what the camera sees, and guesses the rest.
>I don't think any of this precludes immutability: my understanding is Debian could package every version variant (or find common variants without violating semver) and maintain both immutability and their global view.

Debian is a binary-first distro so this would obligate them to produce probably 5x the binary packages for the same thing. Then you have higher chances of conflicts, unless I'm missing something. C and C++ shared libraries support coexistence of multiple versions via semver-based name schemes. I don't know if Rust packages are structured that well.

>Empirically, not that badly. It's what tools like `uv` and `pipx` do by default, and it results in a markedly better net user experience (since Python tools actually behave like hermetic tools, and not implicit modifiers of global resolution state). It's also what Homebrew does -- every packaged Python formula in Homebrew gets shipped in its own virtual environment.

These are typically not used to install everything that goes into a whole desktop or server operating system. They're used to install a handful of applications that the user wants. If you want to support as many systems as possible, you need to be mindful of resource usage.

>I would argue that ignoring upstream semver constraints challenges the overall project :-)

Yes it's a horrible idea. "Let's programmatically add a ton of bugs and wait for victims to report the bugs back to us in the future" is what I'm reading. A policy like that can be exploited by malicious actors. At minimum they need to ship the correct required versions of everything, if they ship anything.
Disappointing. Not the amount, rather than that after redefining the meaning of the term AI, now AGI is redefined too - unsurprisingly very watered down.

What will be the real AI called, when/if it will come to light?
COBOL actually looks like a very cool language ! Your code looks really well organised
> Saying that something happened x-number of [...]days or weeks) ago in the future) is simple

It's not, actually. Does 2 days and 1 hour ago mean 48, 49 or 50 hours, if there was a daylight saving jump in the meantime? If it's 3PM and something is due to happen in 3 days and 2 hours, the user is going to assume and prepare for 5PM, but what if there's a daylight saving jump in the meantime? What happens to "in 3 days and 2 hours" if there's a leap second happening tomorrow that some systems know about and some don't?

You rarely want to be thinking in terms of deltas when considering future events. If there is an event that you want to happen on jan 1, 2030 at 6 PM CET, there is no way to express that as a number of seconds between now and then, because you don't know whether the US government abolishes DST between now and 2030 or not.

To reiterate this point, there is no way to make an accurate, constantly decreasing countdown of seconds to 6PM CET on jan 1, 2030, because nobody actually knows when that moment is going to happen yet.
Until the models can host themselves theyll always need a company to make the experience good enough for typical users; OpenAI can always host open source models instead of their own and their user base will mostly stick around, especially if they can leverage their existing base into a network effect. I wouldnt be surprised it they are investing heavily into this vs pure model hosting running.

Im thinking their real challenge will be surviving Apple (once they go all in) or Google (if they can figure out how to make a good product). Or something along those lines.
This is ridiculous. You can assume that you know what language you are reviewing/working in (sorry, I forgot to mention that the example is in Python). I can remember cases when I was not sure what [human] language I thinking in, but I don't remember a single case when there was a confusion what programming language I'm working in (it is not a factor in cognitive load).

filter is a builtin name in Python. There is no confusion here in practice. Static checker such as ruff will tell you if you attempt it accidentally. It is the first rule: A001 builtin-variable-shadowing.

If you are a noob the second variant may be easier to grasp. The first variant has less moving parts.
> C. elegans connectome was tweaked and optimized by evolution to be as compact as possible.

It's not like it's compressed or optimized or anything, it's just incredibly simple.
Well, the neighboring country to Croatia is Bosnia and Herzgovina. The ethnicy is similar and some from there also have motivation to enter illegally. Basing on race ignores those.

Also turning it around: Is it right for somebody, like the runner, who legally entered to repeatedly be treated bad just because others who share skin color do bad?
>there are tons of people who are "you can't just toss it" but somehow thy never want to take them off your hands themselves.

It's not really realistic to expect everyone that values something to also be in a position to house and care for it. Someone can acknowledge that something should be protected and displayed without taking on the burden of doing it themselves.

This whole "if it's so great why don't you take it" attitude that comes up anytime someone laments the lost of a cultural/historic/artistic item is just negativity for the sake of negativity.

>I totally understand the impulse but it's just not realistic to preserve everything.

Agreed, but many of the comments here go too far in trying to denigrate the folks expressing the impulse without being able to act upon it.
If you research all the controversies around Brave, I think they pretty much amount to nothing. Just some people holding grudges.

But the complaint that it's a reskinned Chrome and will be forced to eventually adopt most of Chrome's user-hostile changes is a real concern.
i'd like a filter by target market (US, EU, APAC...)
Isn't it a common truism that ideas are worthless, and execution is everything?

There's probably an important corollary that you also have to have people who'll give you money, unless you're very confident your execution is so good that it'll beat multi-million dollar marketing budgets.
Has been for a while. Most articles critical of Russia end up getting flagged pretty quickly and also tend to get flooded with posts from accounts created 5 minutes prior.
Rust vs. Go in 2025
Thanks to LLMs, I am now able to build iOS apps with Swift, which has been not only quite fun but also very useful since I was able to come up with a learning app that I wished existed for my kids with minimal effort. So I will definitely spend more time on that.
Also, I'm trying to improve my time management and reduce distractions/procrastination. I enabled screen time for myself so I can create some friction between distracting habits such as social media, YouTube, etc. Also, I will be utilizing the Pomodoro technique more as well.
The cool thing about MusicBrainz Picard is that it puts not only an ISRC metadata tag on each file, but also a UUID for the MusicBrainz recording and for the MusicBrainz album id.

The idea here is that if you use something like MusicBrainz, you can actually retag all of your files in bulk if necessary because MusicBrainz Picard knows exactly what release each file belongs to. You can then configure MusicBrainz Picard to tag your files to your liking. It's a really great piece of software.

If you are tagging files manually, I think an ISRC tag is the bare minimum because it can allowed automations like MusicBrainz Picard to easily identify what each file is.

As for what version of ID3 or ID2, I'm not sure. It might depend on the software you use to play the audio files. The reason I personally use MusicBrainz Picard is because its MusicBrainz specific metadata is read directly by Plex, so even if the other metadata on the file is bad for some reason, Plex will match the MusicBrainz tagging with the correct release. I mean, Plex uses MusicBrainz internally for its metadata, so it's a safe bet for my purposes.
You forgot disappearing music. Add a song to a playlist, switch countries (or who knows what), it becomes greyed out, or perhaps simply removed. Annoying.

Their tendency to add random music to my playlists is annoying. I think there's some control over it, but I'm too old to follow up on how it works this week.

I'm on the most expensive family plan they have, but would pay more to get those two fixed properly.

I do still buy music on albums and digitally, mostly as a backup exactly for the reasons you mention. But I can't afford to do that for everything I listen to.
Whenever I read about Geo engineering stuff like this, I remember the last episode of "Dinosaurs" [0] and immediately get a bad feeling about it. Hopefully I'm just paranoid.

[0] https://en.m.wikipedia.org/wiki/Changing_Nature
Eoi?
This is a general Linux distro problem, which is entirely self-inflicted. The distro should only carry the software for the OS itself and any applications for the user should come with all their dependencies, like on Windows. Yes, it kind of sucks that I have 3 copies of Chrome (Electron) and 7 copies of Qt on my Windows system, but that sure works a hell of a lot better than trying to synchronise the dependencies of a dozen applications. The precise split between OS service and user application can be argued endlessly, but that's for the maintainers to decide. The OS should not be a vehicle for delivering enduser applications. Yes, some applications should remain as a nice courtesy (e.g. GNU chess), but the rest should be dropped. Basically the split should be "does this project want to commit to working with major distros to keep its dependencies reasonable". I really hope we can move most Linux software to flatpak and have it updated and maintained separately from the OS. After decades of running both Linux and Windows, the Windows model of an application coming with all its dependencies in a single folder really is a lot better.
They do, in fact, allow people from majority-white countries to come without authorization.
An infinite DNA glitch saved millions [video]
> these countries then collapsing or removing those safety nets

How's that different from what's already happening with the borders in place?
Meanwhile VSCode's terminal still leaks Electron fds: https://github.com/microsoft/node-pty/issues/657

I get this proposal's rationale, but it seems that it would implicitly make fd leaks more prone in python programs
Add a global variable? Let's not go there, please. Anything would be better than that. In this case I would bite the bullet and change the signature, but rather than just adding the one additional parameter, I would add some kind of object that I could extend later without breaking the call signature, since if the issue came up once, it's more likely to come up again.
They do those things at a local level too but you're still allowed to move between cities.
Wide events are plain old structured logs with many fields. They can be represented as JSON. They also can be represented as logfmt, protobuf or any other format suitable for representing a set of (field=value) pairs.

The novelty of wide events is that it is recommended to:

- emit an event (leg entry) once per every processed request. Previously it was OK to emit many logs per request. This could complicate degugging and analyzing such logs.

- don't afraid to add fields to the event if these fields can help debugging and/or analyzing the logs. Previously it was recommended artificially limiting the number of log fields to some small value. This could prevent from debugging and analyzing such logs in the future.
Node is web scale.
>I’m sure there are situations where ruthlessly prioritizing short term profit through low cost code is indeed the optimal solution

This is mostly how large publicly traded corps work, unless they are ran by programmers that want great applications or are required by law, they tend to write a lot of crap.