skysight-inc/HackerNews huggingface dataset:
I think Clean Code is one of these things where it's a reasonably good place to start, but as a text it's a little infantalising and overly prescriptive for people with significant experience, ignoring the necessary trade-offs which are being made in the recommendations in favour of trying to present something which appears to be self-consistently opinionated. Nevertheless, at a certain level of critical thinking it becomes clear that the recommendations in Clean Code are in fact opinions made on broadly subjective criteria - it is something of an influencer tome more than it is one about engineering or developer psychology. I would prefer a methodology which was a bit more rooted in objectivity and with clear, honest evaluations of the trade-offs involved. For instance, Clean Code broadly shies away from talking about the negative aspects of atomising your code base which Codin' Dirty touches on.

In this sense I think there are criteria which we could talk about more concretely: code density and code sparsity, particularly where coherent functionaltiy ends up split across many code files and over many more hundreds of lines than would have been written had they been included in a few larger methods. This is not to say that what Codin' Dirty is talking about is necessarily right in an absolute sense, I would not be so prescriptive, but when organisations are thinking about how many developers might work on a project these kinds of metrics should probably be taken into consideration because I think small teams are generally speaking going to work better on denser code bases with larger methods and larger teams may work better where the code base is more spread out and so they are less likely to tread on each others' toes.

In general I get a sense of dishonesty in the world of Clean Code and such where we like to pretend that "clean" code is not only going to be more maintainable, that it is also going to be more performant and just better - but in fact these claims are, in general, not true. The most optimised code is pretty much the complete antithesis of Clean Code recommendations, for example, usually with as minimal indirection as possible and high levels of expertise required to understand the code base.
I was always on the fence about whether I had enough to say to fill a book. It's more that the experience made me stop asking the question.
I wouldn't argue about usefulness, but certainly Bitcoin mining is more directly economically rewarding than an indirect contribution towards protein folding progress for the field at large.

Every 1 hr of mining at X hash rate will yield a fairly predictable (though fluctuating) $Y of output, but every 1 hr of protein folding will not necessarily yield any direct or predictable income. From the perspective of profit-maximizing energy producers, I suspect they will prefer the former, unless someone can quantify or monetize the latter more easily and directly.
Oops, in "actually owned by one giant manufacturer", I meant to say "actually owned by one giant Chinese manufacturer".
Its also a anti meritocratic caste system. That desperatly tries to ignore the different academic outcomes various cultures create . So it may be racist, but at least its culture blind.
I'm not saying 'Mike' had a high-effort ask, because clearly it wasn't particularly well thought out. Just that other people were glad for any Mike at all.
Show HN: Terraster – Yet Another Load Balancer
Trump's still going to go after Smith. I doubt any amount of ring kissing will save him.

This will have a side effect of first enraging, and the disillusioning anybody who legitimately thought a Trump prosecution was necessary. Lots of those folks will become cynical about any government effort to hold presidents accountable, whether or not Trump needed such accountability.

This is an impetus for further concentration of executive power.
Thanks!

Like the human body the more you study the Internet the more amazing it is not that it sometimes breaks, but that it works at all. Especially for video/phone/etc.

Glad the content was helpful, I have links to some of them at avi.net (tutorials and old Boardwatch articles).

I swear my motive was pure (frustration with the content out there) but it was easy to see back then that helping people out with good content yields rewards ("Can I buy a T1?") or ("Come run my big global network"). So I still encourage everyone to write about what's confusing and frustrating...
Using an LLM to correct text is a good idea, but the text transcript doesn't have information about how confident the speech to text conversion is. Whisper can output confidence for each word, this would probably make for a better pipeline. It would surprise me if Google doesn't do something like this soon, although maybe a good speech to text model is too computationally expensive for Youtube at the moment.
Not super familiar with Carbon but .. what's the elevator pitch for porting my C++ to unsafe Carbon? Can it be done with an automated refactoring tool or something?

I feel like if I'm gonna go through the whole nightmare of a code port I should get something for it as opposed to just relying on interop
We may have a different understanding of "small" if you say 100+ services.

Did each employee have 2 to 3 services to maintain? If so, that sounds like an architectural mistake to me.
Also: the specific choice of the year 1971 (as opposed to say "the 70s" or "the late 60s") is usually meant to call attention to the fact that in 1971 the US abandoned the gold standard for the US dollar.

https://en.wikipedia.org/wiki/Nixon_shock
Very nice video, thank you.

His high level summary is that this boils down to a "list tools" RPC call, and a "call tool" RPC call.

It is, indeed, very smart and very simple.
Although no hat populates my head, I take off my hat to you, while jealously cursing your cunning wielding of the English language, my good sir.
There is no experiment which proves its false. This is the problem with pseudoscience, it's "not even wrong".

Psychometrics presents summaries of data as if they are properties of reality. As-if taking a mean of survey data meant that this this mean was a property of the survey givers.

This applies only in extremely controlled experiments in physics, and even then, somewhat rarely.

All one has to do to show the entire field is pseudoscience is present a single more plausible theory than "mean of data distribution = innate property", and this is trivially done (eg., cf. mutualism about intelligence).
Apple specifically compiles OpenMP support out of their builds of clang, so that's never been an easy solution on macOS. Even worse if you want to run on other Apple platforms where an external compiler can't be used.
I hope you understand the reasons I strongly resent your condescension in that last paragraph. If you're not old enough to sign up for the service, you're not old enough to live on your own or hold down any other job.

Colleges in particular are a peculiar place to scoff at people's decision-making skills, considering the end product of that particular environment is a commissioned officer who in just 3-4 years will be responsible for flying a fighter into combat, commanding an infantry company, or standing Tactical Action Officer watch in charge of employing the full weapons loadout of a guided missile destroyer. Junior military officers hold responsibilities and accountabilities at a young age that their civilian counterparts couldn't dream of holding.

Go look at what those 25-year-olds were doing off the coast of Yemen recently in the most intense sustained combat ops the US Navy has seen since World War II.
Show HN: Custom Coloring Pages from a Prompt
built this in a hour with replit!
Going to give this a try. I use DBeaver occasionally when working with SQLite db's but it's designed for persistent connections so opening random files isn't it's strong suit. (Also JDBC driver for SQLite)
Saga: A static site generator written in Swift
The conclusion this paper reaches can just as easily be read as “62% of URM (underrepresented minorities) applicants would not make the cut for recruitment without affirmative action”. Their data seems decent, their conclusion myopic.
The author of this article is a 76-year-old single institution career academic who's feel for the world is apparently constrained to academic journals, articles written by academics and legacy media, and a communiqué from the Congressional Joint Economic Committee (which just so happens to cite the author as a reference throughout it).

I say this and juxtapose it against my previous comment where I tried to give him the benefit of the doubt because the Asterisk article was so bad I couldn't get through it and the sentence above was my initial reaction to it, which to some may come across like an ad hominem attack.

But I think the fact that this man has spent over half his life in the social sciences contributes to his inability to comprehend a human experience that emanates from the spirit (loneliness, social dispossession) and is not as easily expressed in data as what he thinks is more important in comparison (gun control, education reform, health reform, etc) and are more readily quantifiable.

The act of questioning loneliness in relationship to other factors is interesting, I do think agree with you that his applied line of thinking is dangerous and dehumanizing.

In fact, I think the kind of dehumanization that occurs when the human experience is comprehended through graphs, charts, numbers, polls and surveys, control groups, institutionalized methodologies and ontologies and obscure Greek letters in two-column PDFs has a lot to do with what the author is in doubt over.
Very high tech radars can generate amazing imagery, but they'll never top what lidar can do. Conceptually they're both doing the same sort of thing using EM radiation, but lidar uses a much smaller wavelength which gives it an intrinsic resolution advantage. Particularly at distances and with hardware sized relevant to cars.
Login doesn’t work…

How to correct a post?

:-)
Yet in Ukraine we see the reverse effect. Russia has some very advanced planes that are barely used.

It seems to come down to this: for the same money you can buy 1 F35 or 10,000 long range drones. If you are an army with a few SAM's, what you scare you more: a single F35 coming over the hill, or a swarm of drones so large you had no hope of taking them all out?
> Having also worked at a few gamedev studios, IME there isn't a real distinction between the two since it is always a matter of time for the former to become the latter.

That was very much my experience at EA, but has definitely not been my experience at Google. While everyone struggles with tech debt, at Google I've worked in many codebases that have been continuously well-maintained with good test coverage for over a decade.

Really, once you build a culture that says, "People not on your team may edit your code without asking and will rely on your tests to make sure they don't break things,", teams get highly incentivized to write tests.
Congrats!

I tried submitting https://fdeploy.com but the product icon wouldn’t upload. Which file formats are supported?
Supreme Court wants US input on whether ISPs should be liable for users' piracy
The lifespan of any vessel, barge, ship, ferry, whatever that's built from steel and lives its entire life in saltwater is limited. I don't think anyone should be surprised that something built in 1962 has become uneconomical to maintain and needs to be scrapped.

In this case it's probably unique enough that someone did the math on it and determined that for however many millions of euros are being spent to rehabilitate it in a shipyard, keeping it viable for another 10-15 years, it's less expensive than building an entirely new one to a custom design.
The issue isn't one of fixed vs rotation, it's that radar can't fundamentally achieve the resolution necessary to distinguish important features in the environment. It's easily fooled by oddly-shaped objects, especially concave features like corners, and so while it's great for answer the question of "am I close to something" it's not reliable for telling you what that something is, especially at longer ranges.
'Royalties for everyone': Suriname president plans to share oil wealth
I wonder if China could get into an EV bubble like with the real-estate.
I've used the cheapo Wyze Lock (https://www.wyze.com/products/wyze-lock?variant=423027510806...), which is a deadbolt-only replacement with the $20 keypad (https://www.wyze.com/products/wyze-lock-keypad?srsltid=AfmBO...) and it's worked well for a few years. The buttons never gave me any issues, and indeed I use that instead of the app to unlock.

After a few years and several doors/apts, the deadbolt itself seems to be showing some issues sometimes (have to pull the door close tightly for it to lock right)... I'm not sure if that's a door alignment issue or maybe a thermal freeze/thaw issue or something... need to debug it further... but it's a lot cheaper and more reliable (and uglier) than most smart locks I've tried, including the much fancier ones.
WRT prompts vs sampling: why does the Prompts interface exclude model hints that are present in the Sampling interface? Maybe I am misunderstanding.

It appears that clients retrieve prompts from a server to hydrate them with context only, to then execute/complete somewhere else (like Claude Desktop, using Anthropic models). The server doesn’t know how effective the prompt will be in the model that the client has access to. It doesn’t even know if the client is a chat app, or Zed code completion.

In the sampling interface - where the flow is inverted, and the server presents a completion request to the client - it can suggest that the client uses some model type /parameters. This makes sense given only the server knows how to do this effectively.

Given the server doesn’t understand the capabilities of the client, why the asymmetry in these related interfaces?

There’s only one server example that uses prompts (fetch), and the one prompt it provides returns the same output as the tool call, except wrapped in a PromptMessage. EDIT: lols like there are some capabilities classes in the mcp, maybe these will evolve.
Man, all this agile/servant leader bullshit can work in the Sillicon Valley, but try that shit while covering from Russian artillery fire.

And no, Warrior Culture has nothing to do with your prejudiced view, I'd die for my former brothers, because they would die for me. I would never do the same for anyone in my scrum team.
when i open a new tab its often to open a bookmark - so for me a speed dial is super useful. here's mine (open source): https://github.com/conceptualspace/yet-another-speed-dial
I do not notice this, personally. I'm curious what you're seeing that prompted you to ask this?
Like the Leadership Principles, or expecting everyone in your company to be a "leader". If everyone is a leader, the word is meaningless.
https://www.typescriptlang.org/tsconfig/#isolatedModules
you're a bit wrong. at the time of the collapse of the USSR, the population of Kazakhstan consisted of 40% Kazakhs and 38% Russians, 6% Germans and 5% Ukrainians, plus other ethnic groups. Kazakhs were not an absolute majority.
Synapse still can't find its money
There is some poetry that I am unable to capture when you juxtapose those rich assholes begging daddy government to bail them with that retarded libertarian screech from Marc Andreesen about Techno-Optimism: https://a16z.com/the-techno-optimist-manifesto/

Those people are sociopaths, and society would be better to treat them as such. At best they are just rich bufoons, at worst they have enough money to shape things according tp their dangerous views.
1. Which line in the FAQ are you making an analogy to?

2. A FAQ for the newsgroup is not automatically part of the rules for the challenge.

3. If the entire FAQ is treated as rules text, then the rules directly say you cannot win, and that's not an acceptable way to do rules.
Heh, similarly, I bought the C&C Remastered Collection (https://store.steampowered.com/app/1213210/Command__Conquer_...) because it was such a large part of my childhood.

I played for a few minutes, listened to Hell March (https://www.youtube.com/watch?v=e3YzmjmAGoI) for nostalgia, and then remembered why I moved on. Games sure have changed a lot in the intervening decades, lol.
You can't equate "illegal street racing" to "cars". I mean you can but how is that going to address anything?
Im curious, how many people comenting here program in lisp/scheme?
If I had time, I'd like to implement an Iceberg catalog this way.
That's a reasonable basic overview.

I'm surprised that rotating scanners are still used. It's been twenty years since Velodyne built their first one. They work OK, but cost too much. I was expecting flash LIDAR or MEMS mirrors to take over. Continental, the auto parts company, bought the leading flash LIDAR company over a decade ago, but the volume market a big parts company needs never appeared.

Waymo is still using rotating LIDARs even for the little ones at the vehicle corners. Those need less range. There needs to be a cheap, flush-mounted replacement for those things. The location is too vulnerable. Maybe millimeter phased array radar mounted behind Fiberglas body panels.
Waymo needs to solve that problem before they do New York.

The LIDAR on top may not be a problem. Insisting that it has to go away to "look like a car" is like insisting that cars had to have the form factor of horse-propelled buggies. Early cars looked like buggies, but that didn't last.

One big advantage of pulsed LIDAR over continuous is that the interference problem between identical units is much less. The duty cycle is tiny. Data from one pulse round trip is collected in less than a microsecond. Just put some randomization in the pulse timing and getting multiple conflicts in a row goes away.
I believe automotive radar has a cone of sensitivity that is read as a single "pixel" worth of data. Even if the radar spun like lidar, the radar cone of sensitivity is thousands of times wider than the lidar beam so you can't make much of a picture with radar.
I'm not expressing an opinion on raw milk, I'm replying to a comment that was expressing an opinion on milk in general. I like milk.

With that being said, I'm not a raw milk guy but I would hear an argument for someone's right to make that decision about their body for themselves. I'd be okay with there being some sort of mandatory information that has to be included with raw milk because, as you said, it's indistinguishable to our senses from pasteurized milk otherwise. We have several products that are known to be toxic but are still available for adults to choose to consume, and making the risks known directly on the packaging seems to be the middle road we've chosen.

There's also the fact that raw milk is just better for home cheesemaking, if that's something your into. Even the FDA acknowledges that raw milk cheese is safe if it's aged for at least 60 days. Pasteurization tends to wreck proteins. If those proteins make up the cell wall of a harmful bacterium that's good. If you're counting on those proteins to make up the structure of a cheese block, that's gonna be bad for you. I've done some home cheesemaking but don't have access to raw milk, and its been to my detriment as a food nerd.
So ~1-2x at the time many want to use energy, and 0.5x at the time when most people are asleep

So you generally pay more unless you become nocturnal or unemployed/homemaker?
I don't think there is any railway link to the site, at least in the short term. Both of the two rail lines nearby are passanger only high speed (250 km/h to 350 km/h) lines (references: https://zh.wikipedia.org/zh-cn/%E9%83%91%E9%98%9C%E9%AB%98%E... , https://zh.wikipedia.org/zh-cn/%E9%83%91%E6%B8%9D%E9%AB%98%E... ). The train yard ~5 km north of the factory is 郑州南动车所, also a high speed rail depot.

That area is called 郑州港区 (literal translation Zhengzhou "port area", full name: 郑州航空港经济综合实验区) is actually for it's closeness to the airport (ZHCC). English reference: https://en.wikipedia.org/wiki/Zhengzhou_Airport_Economy_Zone .
I mean, let's go further than that even... Imagine if somebody invented commercially viable nuclear fusion and achieved effectively free and infinite electricity, then by your logic, either of two things could happen:

- Bitcoin becomes immediately worthless, because suddenly many actors could afford to tap infinite energy to mount a 51% attack and destroy the security of the network

- Or, self-interested miners would try to "corner" the market, nearly infinite though it may be... Industrial players might try to outrace each other in terms of bringing more fusion power plants online that are dedicated towards mining -- "white hats" trying to preserve Bitcoin, vs "black hats" trying to destroy, and it's just an arms race... Maybe the end result is actually that, humanity only has productive need for 5% of the total energy that fusion generates (hey it's my thought experiment, just go with it), so what do you do with the other 95% that is otherwise pure excess? ... Maybe it all goes back into Bitcoin mining anyways, because maybe God loves a recursive joke
I think what you're missing is that "you write tests so that you know your code works" doesn't actually work for some important classes of "works," security and concurrency (the subject of this HN discussion) being two prominent ones. That's because testing only shows that your code works for the cases you test. And, when it comes to security and concurrency, identifying the cases that matter is a hard enough problem that if you can figure out how to do it more reliably, that's publishable research.

Think about it: If you're writing code and don't realize that it can deadlock under certain conditions, how are you going to realize that you need to test for whether it deadlocks under those conditions? If you're writing code that interpolates one kind of string into another and don't realize that you may have created an XSS vulnerability, are you suddenly going to gain that insight when you're writing the tests?
I thought this was about texture mapping.
We are still a bit light on documentation on how to integrate MCP into an application.

The best starting point are the respective client parts in the SDK: https://github.com/modelcontextprotocol/typescript-sdk/tree/... and https://github.com/modelcontextprotocol/python-sdk/tree/main..., as well as the official specification documentation at https://spec.modelcontextprotocol.io.

If you run into issues, feel free to open a discussion in the respective SDK repository and we are happy to help.

(I've been fairly successful in taking the spec documentation in markdown, an SDK and giving both to Claude and asking questions, but of course that requires a Claude account, which I don't want to assume)
True, the "culture" of oppressed poverty really does produce poor outcomes...

It's unfortunate that the Affirmative Action initiative wasn't strictly economically based.

I wonder what the academic outcommes will be for the children of Gaza over the next few years? An extreme example to be sure...
So this is why some words sound nothing like the romanized spelling. This has been confusing me to no end when learning Hangul with Duolingo.
"""
developers were coming in with proposals to demolish the Victorian villas in the area so that they could build apartments. We decided to designate it as a conservation area so that nothing could be knocked down without our permission.
"""

I note the author does not say what actions they took to ensure their decisions did not negatively affect the supply of housing.
The TSA tests this yearly. They usually fail their own tests.