HNHacker News
TopNewBestAskShowJobs

neerajsi

290 karma · joined October 9, 2017

submissionscomments
neerajsi··on American Express: Cell-Based Architecture for Resilient Payment Systems
I wonder how they ensure durability. Is it possible that a cell going down would roll back a payment after it has occurred. Or do they depend on a non cell database?
neerajsi··on The Frame Problem (2004)
Another way around this is that things that aren't coherent enough to be described by a finite set of inertial propositions simply aren't perceivable.
neerajsi··on The Eternal Sloptember
I just joined a new team and have been using copilot with opus models.

We have our core code in a weird dialect of C and rust. C I know well, but not rust. Our tests are in Python. The pipeline descriptions are in Yaml.

Outside of the core code there are so many arcana to learn. Writing syntactically and semantically correct yaml/Python test code would be a nightmare. The Agents have flaws, but they provide a huge leg up in improving the tests.

And they are great at providing a first pass review of the core code before bothering a human reviewer. Lastly we run some of our test failures through AI triage, which often enough finds the root cause or rules out simple failures.

This shows up in a higher checkin rate. I'm curious to see whether this will lead to quality end product since we have more support for the more manually written and reviewed core product code.

neerajsi··on A History of IDEs at Google
How does release management work? Are there stable branches for deployed properties with a cheery pick approach for bug fixes? Are all products in google3 on a coordinated set of release trains?
neerajsi··on Why the most valuable things you know are things you cannot say
I think intuition is what is developed through calibration, so I personally like the word calibration.

Intuition and other forms of knowledge are stock quantities while calibration and instructions are types of flows which change the stock. I'd love to know if there a better word for learning through trial and evaluation than calibration.

neerajsi··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
Aren't pipelines even easier to target and destroy than boats?
neerajsi··on Cloudspecs: Cloud Hardware Evolution Through the Looking Glass
Speculating: local ssds aren't as valuable in the cloud since they're effectively ephemeral. If the instance restarts, it would lose its storage. Trying to keep a workload affinitized to an SSD or to migrate data to a different SSD when an instance moves increases cost prohibitively.
neerajsi··on When compilers surprise you
If you want recognize all the common patterns, the code can get very verbose. But it's all still just one analysis or transformation, so it would be artificial to split into multiple files. I haven't worked much in llvm, but I'd guess that the external interface to these packages is pretty reasonable and hides a large amount of the complexity that took 16kloc to implement
neerajsi··on LLMs are getting better at character-level text manipulation
https://www.anthropic.com/news/analysis-tool

Seems like they already built this capability.

neerajsi··on JIT: So you want to be faster than an interpreter on modern CPUs
From the previous article in the series, it looks like the biggest impediment to just using full llvm to compile the query is that they didn't find a good way to cache the results across invocations.

Sql server hekaton punted this problem in a seemingly effective way by requiring the client to use stored procedures to get full native compilation. Not sure though if they recompile if the table statistics indicate a different query plan is needed.

neerajsi··on Implementing UI translation in SumatraPDF, a C++ Windows application
Looks like the ampersands appear in menu items to indicate the keyboard shortcut key to navigate to that item.

https://willus.com/mingw/colinp/win32/resources/menu.html

neerajsi··on 486Tang – 486 on a credit-card-sized FPGA board
Yes, they did have the bug with the lock prefix. IOT people at Microsoft got NT booting on the Quark and we ran into that problem. I wound up writing a small tool to patch out all the lock prefixes.
neerajsi··on Code review can be better
I've used this 'suggestion' workflow in azure devops. https://devblogs.microsoft.com/devops/introducing-the-new-pu...
neerajsi··on Understanding Moravec's Paradox
> mean, "not enough data" is an explanation why neural networks can't do a bunch of things... One of the things humans are really good at is learning things from a few examples

I dispute the search space problem for something like folding clothes. Like a lot of human actions in space, folding clothes and other motor tasks are hierarchical sequences of smaller tasks that are strung together, similar to a sentence or paragraph of text.

We can probably learn things from each other from few examples because we are leaning on a large library of subtasks that all have learned or which are innate, and the actual novel learning of sequencing and ordering is relatively small to get to the new reward.

I expect soon we'll get AIs that have part of their training be unsupervised rl in a physics simulation, if it's not being done already.

neerajsi··on OpenBSD is so fast, I had to modify the program slightly to measure itself
Reading this code for the first time, this seems to be a consequence of the separation between allocating and fd and "installing" a pointer to a file there. Allocating the fd already needs to acquire a lock. So if the install happens together with allocation, there wouldn't be a need to use synchronize_rcu to kick out other threads. The lock would do that.
neerajsi··on The Timmy Trap
> In other words the LLM does not contain the knowledge of what the words represent.

This is probably true for some words and concepts but not others. I think we find that llms make inhuman mistakes only because they don't have the embodied senses and inductive biases that are at the root of human language formation.

If this hypothesis is correct, it suggests that we might be able to train a more complete machine intelligence by having them participate in a physics simulation as one part of the training. I.e have a multimodal ai play some kind of blockworld game. I bet if the ai is endowed with just sight and sound, it might be enough to capture many relevant relationships.

neerajsi··on Microsoft Office migration from Source Depot to Git
At least in the Windows group, we use ri and fi oppositely from how you describe. RI = sharing code with a broader group of people toward trunk. FI = absorbing code created by the larger group of people on the dev team. Eventually we do a set of release forks that are isolated after a final set of FIs, so really outside customers get code via FI and then cherry pick style development.
neerajsi··on Observations from people-watching
She can't make a prediction if the parents don't know.

The point is not that she predicted the gender of the child. She predicts what gender the parents expect the child to be without being explicitly told.

She didn't tell me anything about the success rate. Instead she told what factors she used to make her guess. She can tell if she was right or wrong right away because the parents can say what they are expecting.

neerajsi··on Observations from people-watching
I once met a gate agent in the Maui airport. She looked at me and my pregnant wife and congratulated us on our upcoming baby boy. I asked her how she knew. She said it was the way we carried ourselves and looked at each other. Not sure what specifically she saw, but she told us if another couple she observed who were having a girl. She said the man looked like the type who didn't treat women that well, but who was clearly trying to be on his best behavior.

Most of the times situations are a complete cypher, but in more unisual cases when observing groups of people who know each other, you can tell how they feel from analyzing the behaviors.

This author is clearly in a privileged position in the wedding group. She's in the background with the specific job of looking at everyone and capturing their feelings. They don't try to hide their behavior or respond to her, and the usual western taboo against staring at strangers doesn't apply.

This was definitely a good read!

neerajsi··on A high-throughput parser for the Zig programming language
Very interesting project!

I wonder if there's a way to make this set of techniques less brittle and more applicable to any language. I guess you're looking at a new backend or some enhancements to one of the parser generator tools.

neerajsi··on "Slow Pay, Low Pay or No Pay": Blue Cross Approved Surgeries Then Refused to Pay
I experienced the uk system briefly and it seemed decent for the simple thing I needed: wait for the NHS or pay a modest fee for private service. The price of private service is bounded by the fact that you can wait for the NHS.
neerajsi··on The case of the critical section that let multiple threads enter a block of code
Thanks for the explanation. Sometimes it's worth it to keep weird shit working, but it's hard to predict which subset of weird shit will happen in practice.
neerajsi··on The case of the critical section that let multiple threads enter a block of code
Wow, thanks for the links. I was previously unaware of this issue. I checked the referenced bug and I see that it is fixed and will be released in an upcoming version of Windows.
neerajsi··on The case of the critical section that let multiple threads enter a block of code
I've worked in and around srwlock for a long time. I don't think it's all that reasonable to think you should get "shared starve exclusive" by default, which is what you're asking for. We used to demand that kind of behavior in some windows filesystem code and it's always been a design mistake.
neerajsi··on Resistance to Rust abstractions for DMA mapping
Seems like rfl people should do the work downstream like the rt folks did for a while. Maybe be an upstream for Android and the various corporate kernels.

Linus can decide whether to pull from their versions or not but basically maybe they should run a bit freer than having to deal with these maintainers.

A soft fork might clarify things like the old gcc fork did.

neerajsi··on US judge finds NSO Group liable for hacking journalists via WhatsApp
Yes, I think the pager attack is also an interesting case study. It's one thing to execute a supply chain compromise for information gathering, where the target may never know what happened. On the other hand, flaunting your abilities in that area will just lead you to being cut out of supply chains.
neerajsi··on Understanding SIMD: Infinite complexity of trivial problems
Vliw is kind of the dual of what pyrolistical was asking for. Vliw lets you bundle instructions that are known to be independent rather than encode instructions to mark known dependencies.

The idea pyrolistical mentioned is closer to explicit data graph execution: https://en.m.wikipedia.org/wiki/Explicit_data_graph_executio....

neerajsi··on Writes Large Correct Programs (2008)
I was an EE undergrad. The formative project for me was a competition to see who could make the fastest digitally controlled maze solving robot.

The key that gave my team an advantage was the humble ASSERT. If the robot got off track, it would stop in place, blink a light, and show a line number on a digital display.

I've been working in and around Windows for a long time, and I'd say asserts and crash dumps are the two things that allow us to improve our quality given that we're still mostly using C/C++.

neerajsi··on Kernel optimization with BOLT (binary optimization and layout tool)
Microsoft had internal tooling very similar to bolt almost 20 years ago. Most of those opts were moved to the compiler in ltcg mode with pgo.
neerajsi··on AMD outsells Intel in the datacenter space
From what I gather the one time I got to speak with chip engineers is that real estate is still at a premium. Not necessarily the total size of the chip, but certain things need to be packed close together to meet the timing requirements. I think that means that you'd be paying a serious penalty to have two parallel sets of decoders for different ISAs.
← PreviousPage 2 of 5Next →