MurphyA/hacker-news huggingface dataset:
by peanutlife | 2025-12-29 03:16:32+00:00
This is a really helpful comment, and I actually ran straight into the exact failure mode you’re describing.

I had a PreToolUse hook enabled that was supposed to block reads of ~/.env. Claude tried to read it, hit an error, then asked me for permission. When I said yes, it retried the read and succeeded. The hook was effectively bypassed via user consent.

That was the “oh wow” moment for me. Hooks can influence behavior, but they don’t remove authority. As long as the agent process still has filesystem access, enforcement is ultimately negotiable. I even tried adding an MCP server, but again its upto Claude to pick it up.

Your capability token approach is the missing piece here. It makes the distinction very clear: instead of asking the agent to behave, you never give it the power in the first place. No token, no read, no amount of prompting or approval changes that unless a new token is explicitly minted.

The way I’m thinking about it now is:

hooks are useful for intent capture and policy decisions

capability tokens are the actual enforcement primitive

approvals should mint new, narrower tokens rather than act as conversational overrides

Really appreciate you sharing Tenuo. This feels like the right direction if we want agent security to move past “prompt engineering as policy” and toward real runtime guarantees.
by deinonychus | 2025-12-29 03:16:40+00:00
I'm not sure if I entirely understand your hypothesis, but I don't think it's 100% on the hardware - I don't think it's due to the hardware of the hardware.

I also have an M2 Air and a few things seem to consistently make my machine get hot and chug and dump the battery. Idling with my machine plugged into my 4k 144hz monitor isn't an issue, but going on a Zoom call or having one too many video streams open while docked to the monitor will do it.

Is my USB controller doing more "work" when I have a video stream open? I don't think so.
by luaKmua | 2025-12-29 03:16:44+00:00
Hey there, always appreciate a dialog

Per the separation, I think this was far more common both in older unity games, and also professional settings.

For games shipping on mono on steam, that statistic isn't surprising to me given the amount of indie games on there and Unity's prevalence in that environment. My post in general can be read in a professional setting (ie, career game devs). The IL injection is a totally reasonable consideration, but does (currently) lock you out of platforms where AoT is a requirement. You can also support mods/DLC via addressables, and there has been improvement of modding tools for il2cpp, however you're correct it's not nearly as easy.

Going to completely disagree that Burst and HPC# are unnecessary and messy. This is for a few reasons. The restrictions that HPC# enforce essentially are the same you already have if you want to write performant C# code as you just simply use Unity's allocators for your memory up front and then operate on those. Depending on how you do this, you either can eliminate your per frame allocations, or likely eliminate some of the fragmentation you were referring to. Modern .Net is fast, of course, but it's not burst compiled HPC# fast. There are so many things that the compiler and LLVM can do based on those assumptions. Agreed C# strings are always a pain if you actually need to interpolate things at runtime. We always try to avoid these as much as we can, and intern common ones.

The fragmentation you mention on after large operations is (in my experience) indicative of save/load systems, or possibly level init code that do tons of allocations causing that to froth up. That or tons of reflection stuff, which is also usually nono for runtime perf code. The memory profiler used to have a helpful fragmentation view for that, but Unity removed it unfortunately.
by thatwasunusual | 2025-12-29 03:17:14+00:00
> I am writing this comment from a 2019 i9.

Same here, but...

> I have to charge it from the right hand ports. I think that is dumb, but it did solve the issue.

I _had to_ do this for a while (around 2023, I think, not that it matters), but I no longer have to. I don't know what has changed, unfortunately; I haven't reinstalled anything, and I can't say I have uninstalled anything either. It's really weird...
by phanimahesh | 2025-12-29 03:17:39+00:00
There are different kinds of mocks.

Check function XYZ is called, return abc when XYZ is called etc are the bad kind that people were bit badly by.

The good kind are a minimally correct fake implementation that doesn't really need any mocking library to build.

Tests should not be brittle and rigidly restate the order of function calls and expected responses. That's a whole lot of ceremony that doesn't really add confidence in the code because it does not catch many classes of errors, and requires pointless updates to match the implementation 1-1 everytime it is updated. It's effectively just writing the implementation twice, if you squint at it a bit.
by muzani | 2025-12-29 03:20:40+00:00
A specialized POS-inventory-CRM system for an offline store. Pick something - coffee, babysitting, barbers, massage parlors, sushi restaurants.

POS first because everyone has to record money. The value proposition is theft prevention, bookkeeping & taxes, etc. Inventory next because supply chains are too complex for most generic systems. Then some kind of customer retention/acquisition thing so they don't feel like it's a cost center.

The market is too red ocean for VCs to enter. Sales doesn't scale exponentially. That's your moat. I would say just tackle one American sized state, not even the big ones.

Users won't come to you. They'd go to whatever well known system is in your area. You have to go to them. Skip the online ads, TikTok, etc.
State Ofthe Art Novel InFlow 1Gearturbine/Reaction 2Imploturbocompressor/Impulse
by monterrey | 2025-12-29 03:20:51+00:00
Featured Project Development - Latest InFlow Generation - State of the Art Novel Tech:

·1-Gearturbine, Reaction Turbine, Rotary-Turbo, ·2-Imploturbocompressor, Impulse Turbine, One Compression Step:

Wordpress Blog State of the Art Novel InFlow Gearturbine Imploturbocompressor:

http://stateoftheartnovelinflowtech.blogspot.com

https://padlet.com/gearturbine/un2slbar3s94

1-GEARTURBINE PROJECT,
Reaction-Turbine System Type,
Rotary-Turbo-InFlow Tech,
Atypical InFlow Thermodynamic,
Technology Proposal Submission,
Novel Fueled Motor Engine Type:

·State of the art Innovative concept Top system Higher efficient percent.Power by bar, for Air-Planes, Sea-Boats, Land-Transport & Dynamic Power-Plant Generation.

-Have similar system of the Aeolipile Heron Steam device from Alexandria 10-70 AD.

https://www.youtube.com/watch?v=0cPo9Lf44TE

-YouTube; Atypical New • GEARTURBINE / Retrodynamic = DextroRPM VS LevoInFlow + Ying Yang Thrust Way Type - Non Waste Looses

·:8-X/Y Thermodynamic CYCLE - Way Steps
1)1-Compression / bigger
2)2-Turbo 1 cold
3)2-Turbo 2 cold
4)2-Combustion - circular motion flames / opposites
5)2-Thrust - single turbo & planetary gears / ying yang
6)2-Turbo 2 hot
7)2-Turbo 1 hot
8)1-Turbine / bigger

-With Retrodynamic Dextrogiro => vs <= Levogiro Phenomenon Effect. / Rotor-RPM VS InFlow / front to front.

-Non waste parasitic looses for; friction, cooling, lubrication & combustion. Like a Free-Wheel.

-3 points of power thrust; 1-flow way, 2-gear, 3-turbine. *Patent; Dic. 1991 IMPI Mexico #197187.

·2-IMPLOTURBOCOMPRESSOR; Impulse-Turbine System Type, Implo-Ducted, One Moving Part System Excellence Design - The InFlow Interaction comes from Macro-Flow and goes to Micro-Flow by Implossion - Only One Compression Step; Inflow.

·“Excellence in Design" because is only one moving part. Only one unique compression step. Inflow and out flow at the same one system,

To see a Imploturbocompressor animation, is posible on a simple way, just to check the Hurricane Satellite view, and is the same implo inflow way nature.

Its prudent to mention that the curves and the inclinations of the blades of a rotating wing made of this invention, is conferred by its shape and function a structural rigidity.
by cletus | 2025-12-29 03:21:14+00:00
Imagine you're testing a service to creates, queries and deletes users. A fake version of that service might just be a wrapper on a HashMap keyed by ID. It might have several fields like some personal info, a hashed password, an email address, whether you're verified and so on.

Imagine one of your tests is if the user deletes their account. What pattern of calls should it make? You don't really care other than the record being deleted (or marked as deleted, depending on retention policy) after you're done.

In the mock world you might mock out calls like deleteUserByID and make suer it's called.

In the fake world, you simply check that the user record is deleted (or marked as such) after the test. You don't really care about what sequence of calls made that happen.

That may sound trivial but it gets less trivial the more complex your example is. Imagine instead you want to clear out all users who are marked for deletion. If you think about the SQL for that you might do a DELETE ... WHERE call so your API call might look like that. But if the logic is more complicated? Where if there's a change where EU and NA users have different retention periods or logging requirements so they're suddenly handled differently?

In a mokcing world you would have to change all your expected mocks. In fact, implementing this change might require fixing a ton of tests you don't care about at all and aren't really being broken by the change regardless.

In a fake world, you're testing what the data looks like after you're done, not the specific steps it took to get there.

Now those are pretty simple examples because there's not much to do the arguments used and no return values to speak of. Your code might branch differently based on those values, which then changes what calls to expects and with what values.

You're testing implementation details in a really time-consuming yet brittle way.
by hypeatei | 2025-12-29 03:22:02+00:00
> ICE's actions is very relevant and very important to you.

Maybe the first few stories are, but what past masked goons throwing up Nazi salutes and sending people to foreign labor camps do you need to keep up on? If you're into politics, then sure, but your average Joe probably doesn't need to know that they're, yet again, terrorizing people and acting like a secret police force.
by CuriouslyC | 2025-12-29 03:22:08+00:00
People are going to start doing this a lot more as agents improve. Most people only need a very small fraction of the features of SaaS, and that fraction is slightly different for everyone, so the economics of companies trying to use features to chase users is bad. Even worse, if you're on SaaS you can't modify the code, which will be crippling, so the whole SaaS model is cooked.

I think co-management is going to be the next paradigm.
by cyberax | 2025-12-29 03:22:13+00:00
> Also, what is the general mathematical relationship between depth, rock pressure / weight, and energy required to drill?

There isn't any. It completely depends on the local geology.

Liquids are easy because there are no lateral load transfers, and the structures have to bear the weight of the entire water column above them. But with soil you get lateral load transfer, so the pressure on the tunnel is not easily relatable to its depth.

That's also why you can have mines that are kilometers deep, yet with tunnels held by wooden beams.
by reactordev | 2025-12-29 03:22:18+00:00
So use dawn.

The problem is the same as it was 20 years ago. There’s 2 proprietary API’s and then there’s the “open” one.

I’m sick of having to write code that needs to know the difference. There’s only a need for a Render Pass, a Texture handle, a Shader program, and Buffer memory. The rest is implementation spaghetti.

I know the point you’re making but you’re talking to the wrong person about it. I know all the history. I wish for a simpler world where a WebGPU like API exists for all platforms. I’m working on making that happen. Don’t distract.
by ricochet11 | 2025-12-29 03:22:27+00:00
mixed feelings on this. One one hand very cool that people with money are willing to fund new ideas in art (supposedly, let’s see what happens). But on the other hand a lot of people, with interesting ideas, will be put off by how this is presented (which sounds a bit like nothing good had happened in art since Bauhaus?). It feels a little like Paul Grahams book on hackers and painters -well meaning but disconnected from many conversations on art (maybe due to the whole Silicon Valley startup life being pretty devoid of knowledge of art).

Like do they want to discuss aesthetics- or do they watch something punchy to put their name behind as being the “new thing” like the YBAs. They talk about influencing design and culture at large. It sounds like they want Kanye West? (But more polite maybe).

IMO if you want someone who’s pretty clear spoken on their values and influential and supportive of younger artists and bridging professional world with diy scene, then someone like Ryan Gander is a good choice to talk to about that. Maybe artangle, eflux etc. They’re well established but still down to earth in my experience.

An open call like this is gonna attract a lot of applications and a weird crossover of people in tech who think they know art because they took an art class in their compsci major and will write applications on how AI and robotics is the new big movement and it’ll be inconsequential.

Though I’m being very cynical I do wish them best and would be very happy to see this as a first step to healthy funding of a very strangulated art scene (outside of the art market nonsense)
by empressplay | 2025-12-29 03:23:18+00:00
On-premming your Internet services just seems like an exercise in self-flagellation.

Unless you have a heavy-duty pipe to your prem you're just risking all kinds of headaches, and you're going to have to put your stuff behind Cloudflare anyway and if you're doing that why not use a VPS?

It's just not practical for someone to run a little blog or app that way.
by pfannkuchen | 2025-12-29 03:23:27+00:00
Devil’s advocate: depending on the ownership turnover rate, the pricing impact of institutional investors could be outsized compared to their current ownership share if their property acquisition ramped up recently.

I think a better metric would be what percent of purchases are made by institutional investors. This is because pricing is based on sales, not on the overall stock including properties that have been sat on for a long time. Have you looked at that metric?

One heuristic that points in the direction of this being meaningful is that a lot of SFHs seem to be owned by old people who have lived there for a long time.

I agree that the comparison is stupid though since computer hardware is much easier to scale with demand. If anything this may show that hardware manufacturers are betting that this demand spike is temporary and they aren’t yet willing to ramp up production since they could end up sitting on unsold inventory after the bubble pops.
by iliketrains | 2025-12-29 03:24:13+00:00
> You can also install new DLLs and force the player to restart if you want downloadable mod support.

I am not aware of an easy way to load (managed) mods as DLLs to IL2CPP-compiled game. I am thinking about `Assembly.LoadFrom("Mod.dll")`.

Can you elaborate how this is done?

> there are better, more performant alternatives for that use case, in my experience.

We actually use reflection to emit optimal code for generic serializers that avoid boxing and increase performance.

There may be alternatives, we explored things like FlatBuffers and their variants, but nothing came close to our system in terms of ease of use, versioning support, and performance.

If you have some suggestions, I'd be interested to see what options are out there for C#.

> FieldOffset is supported by IL2CPP at compile time

You are right, I miss-remembered this one, you cannot get it via reflection, but it works.
by satvikpendem | 2025-12-29 03:24:33+00:00
Your comments are showing up dead by the way, probably because yours is a new account.

How are you asking, do you have a specific time or event? If you're just saying it generally, that "we should hang out sometime", it's just them being nice rather than having concrete plans.

People will only ask you if you're actually good friends with them, until then you must keep asking if you want to keep the friendship alive.

There is also a possibility that you might be coming off weird but I doubt it as many have ADHD and have friends fine.
by robwwilliams | 2025-12-29 03:26:27+00:00
Classic academic public relations piece. Not bad but more fluff than insight. Authors often have to grin and bear this PR machine, praying peers will forgive them their trespasses.

But here there’s a basic design flaw. This is a study of 16 ASD cases and 16 neurotypical controls. Small sample sizes like this require careful matching. The problem: the autistic subjects are 100% White but controls are 37.5% White. That imbalance can’t be waved away with statistics or Jedi mind tricks. Recruiting matched neurotypicals would have been straightforward.

One other issue is high heterogeneity within the two groups. In their Figure 1 (sorry behind a paywall), 4 - 6 of the autistic individuals have low mGlu5 levels across all regions. Two or three neurotypicals have high levels. Are these distributions actually normal, or are subgroups driving effects? It would help to know whether the participants’ GRM5 genotypes were informative wrt these subgroups. They weren’t checked.
by tw1984 | 2025-12-29 03:27:06+00:00
> Anywhere near the coast of China, a warship is within range of truck-mounted anti-ship missiles.[2] Lots of them.

truck-mounted? Are you on CCP's payroll to downplay and cover the rise of its military strength?

Chinese navy has YJ-20 hypersonic anti-ship ballistic missile fitted on its Type-055 destroyers. At Mach 10 with 1,500km range, it is the most advanced anti ship missiles ever developed & deployed on the sea. YJ-20 itself is the ship-launched version of the YJ-21, which has been spotted on H-6 bombers for ages. With YJ-20 and YJ-21, you don't get to "coast of China" to experience their "truck-mounted" missiles.

Interestingly, you choose to ignore all these publicly available facts that can be easily verified and try to paint the Chinese navy as some 1980s forces relying on "truck-mounted missiles" for anti ship missions. Well done, you deserve a bonus for your strategic deception job!
by thomassmith65 | 2025-12-29 03:27:17+00:00
The standard way to form a friendship is to be around someone regularly with whom you share a common goal.

This happens in some school environments (eg: long-term group projects), many work environments, team sports, certain vacation environments, etc.

Join a language class, or a sports club, or find employment somewhere, or go on a hostel vacation.

Make sure it's something you want to do for its own sake - enough so that you're not obsessing over befriending people.
by vips7L | 2025-12-29 03:27:29+00:00
It didn't. They're examples of features that have driven Kotlin's growth. Thing's Java developers have been begging for. I'm using them as examples of why Java developers are starting to choose Kotlin. I'm a pretty die hard Java fan, I've built my career on it, and know way too much about the ecosystem. But, I've been writing F#, C#, Kotlin, and some other languages in my free time to see where I want to move to. I’m pretty sure C# is what I’ll settle on.
by fraud | 2025-12-29 03:27:32+00:00
I was very lonely my first two years of college. I moved across the country to California for school and I don’t think 10 people knew my name by the end of my 2nd year. It was borderline debilitating and honestly reading your comment brings back a lot of those memories. The two things that helped me were getting off my phone/internet and going to therapy. Your things will most likely be different. A lot of people will tell you to join clubs etc. This is more or less the right answer with the caveat being that you most likely will not make “real” friends from these if you’re not open to connection. I was in jazz ensemble my first two years of college and made 0 friends. It wasn’t until after therapy/getting into a relationship with someone from a dating app that I started making friends. Probably from the increased confidence? Not sure. I’m now a senior and I’m just starting to actually develop “real” friendships.

Feel free to reach me at alexbwell12 at gmail dot com. Don’t have any crazy wisdom to pass down — just know how much it sucked for me.
by ggm | 2025-12-29 03:27:33+00:00
A generation of gifted, and hard working graduates emerged out of the bitter ashes of the cultural revolution. Their delayed entry to tertiary education and the circumstances behind it gave added impetus to their desire to study and gain knowledge.

I've met several across different disciplines and two (at least) in computer science and networking. When the barriers for travel came down, many studied and worked abroad, I met some in Edinburgh at the end of the 70s who worked in advanced language areas (think the foundations of ML) formal methods, CSP, you-name-it. People like these in networking (I subsequently know and worked with in governance contexts) built and led the chinese academic internet. These people are now senior academics in the Chinese academy of science. They're serious, smart people.

There was also a late 1970s VLSI boom in China. It's why they were so successful in the 80s and 90s outsourcing chip commercialization space.

So to my own knowledge if not "in" the cultural revolution certainly very rapidly afterwards assuming you take its run up into the 70s.
by jwrallie | 2025-12-29 03:28:06+00:00
People will suggest what works for them, sometimes it will apply, often it will not. You have to find what works for you, and maybe multiple times because once you graduate, you will find yourself back in the same situation.

The best suggestion I received was to imagine where I wanted to be long term, and to go on working on that. Somehow it took me out of the loop of trying to find an answer outside of my own self.

The other thing that helped was to stop trying to do the same as what others around are (saying they are) doing and be honest with myself and others about what I wanted.
by Triphibian | 2025-12-29 03:28:09+00:00
My main advice would be to make NONE of this about you. Be genuinely curious about others. Really listen to them. Look in their eyes when they are talking to you and when you are talking to them. Completely put the notion of you needing or lacking friends in the backseat and put an interest and genuine caring about the lives of random people you meet in the front.

You can't go into this with the goal of gaining something. Go in with the goal of giving of yourself -- your time, attention and interest.

Do the reps on this and you will become a person people want to be around.
by MBCook | 2025-12-29 03:28:57+00:00
I like Mockito, it’s useful, but I’ll never understand mocking out DB stuff.

Why fake it when an integration test tests the real thing.

I’ve seen what you clearly have. Mocked ResultSets, mocked JDBC templates. “When you get SQL, it should be this string. These parameters should be set. Blah blah.”

It’s so much work. And it’s useless. Where does that SQL to check come from? Copy and paste, so it won’t catch a syntax error.

Test data is faked in each result. You can’t test foreign keys.

Just a bad idea. You’re so right. I find it odd some people are so anti-mock. Yeah it gets abused but that’s not the tool’s fault.

But DB calls are not a good spot to mock out.
by dspillett | 2025-12-29 03:29:00+00:00
Ooh, that sounds useful as a pretty mix-in-bad-data method for scrapers. Have a few of these tags do if junk, even though they are hidden it'll look to a scraper that cares about hidden/not like they aren't always hidden so are likely to contain something worth adding to their DB…

I'd need to look into what effect this might have on accessibility, but my gut says "very little".