HNHacker News
TopNewBestAskShowJobs

whiterknight

222 karma · joined February 18, 2024

submissionscomments
whiterknight··on Giving C++ std:regex a C makeover
It has no choice but to read file data in chunks or exhaust memory.

If you need to do n parallel searches what better arrangement do you propose?

whiterknight··on People can read their manager's mind (2015)
Just read about 6 months of your comments. Thanks for sharing your thoughts here.
whiterknight··on Giving C++ std:regex a C makeover
> Search the data it’s already read in

The kernel handles that. Your program works on the data that’s available while the pipe is filling up again.

> If this is a recursive grep

As you said. This is modeled best by multiple threads or processes, each navigating through their structure.

whiterknight··on Giving C++ std:regex a C makeover
That’s not what I said. Everyone benefits from being able to read and write blocking code.
whiterknight··on Giving C++ std:regex a C makeover
Blocking IO is usually good though. The entire Unix kernel is designed to manage complexity so you can write “if then else”.

What is grep going to do while it waits for data?

whiterknight··on The Art of Finishing
But because finishing is hard (and not fun) it’s also easy to make up reasons for why you don’t finish things, without scrutinizing the underlying motivation.

Sometimes i look back and say “I’m glad I moved on” but I think a lot of the time I also just wish the thing was done.

whiterknight··on Apple Succession Strategy: Keep the Old Guard Around as Long as Possible
This academic system has only existed for 100-150 years. Less for science.
whiterknight··on Apple Succession Strategy: Keep the Old Guard Around as Long as Possible
There are modes of compensation besides money. There is value besides direct production.
whiterknight··on Marketing to Engineers (2001)
If you don’t think marketing works on you, then that means it’s working even better.
whiterknight··on Twenty Years of Valgrind (2022)
Luckily for us C programmers do care and track down leaks aggressively.
whiterknight··on Linux Pipes Are Slow
The context of this discussion is that it would be better if pipes were faster. Then you would have more options.
whiterknight··on Linux Pipes Are Slow
You’re describing the outcome of one individual person. Money is just a tool for allocating resources. Saving 1 million of resources is a good thing.
whiterknight··on Linux Pipes Are Slow
And you go from having a well defined modular interface that’s flexible at runtime to a binary dependency.
whiterknight··on You are not dumb, you just lack the prerequisites
No. If 20% of the state budget is then that amount is matched by an equal part local. So state + local education would be 40% of the state budget.

education (property tax) dominates local spend. So yes we do tax and spend extraordinary amounts on education.

whiterknight··on You are not dumb, you just lack the prerequisites
It does if you consider the part going to your county:

“In 2022, the federal government spent … This is 13.6% of the total spent on elementary and secondary education in 2022. The remaining funding comes from state and local governments, which contribute 43.7% and 42.7%, respectively.”

whiterknight··on You are not dumb, you just lack the prerequisites
The state and local pay about equal portions. But do you have anything to say about the argument in my comment?
whiterknight··on Arrest of Pavel Durov, Telegram CEO, charges of terrorism, fraud, child porn
In other words, they give the government a cut of the power.
whiterknight··on A $10k stipend is available for anyone moving to Cumberland, MD
Are we saying anything different?
whiterknight··on You are not dumb, you just lack the prerequisites
We must spend 30-50% of state budgets, monopolize children’s time, and expose them to violence and drugs so they can learn to socialize.
whiterknight··on Defenders think in lists, attackers think in graphs (2015)
Indeed. But I’m pointing out if it’s not the goal, then it’s a cost to minimize to achieve the goal.
whiterknight··on Defenders think in lists, attackers think in graphs (2015)
It’s firmly in the “cost” center.
whiterknight··on A $10k stipend is available for anyone moving to Cumberland, MD
(desirable coastal cities with young people and vibrant entertainment)
whiterknight··on A $10k stipend is available for anyone moving to Cumberland, MD
All the doctors want to live in LA and NY. This problem only gets worse as medical school, etc becomes more competitive and costly.
whiterknight··on You are not dumb, you just lack the prerequisites
Are you suggesting that you don’t learn as much when you figure our the puzzle as oppose to being told the answer?
whiterknight··on You are not dumb, you just lack the prerequisites
Formal teaching training never made a bad teacher good.
whiterknight··on Meta cancels high-end mixed reality headset after Apple Vision Pro struggles
You don’t need a smart phone either. “Need” is the wrong verb when talking about consumer electronics.
whiterknight··on Meta cancels high-end mixed reality headset after Apple Vision Pro struggles
Just want to point out this headline or article doesn’t say that one is the cause of the other, just that they coincide.
whiterknight··on Ask HN: What was your biggest startup fail?
Worked with a bunch of ex Google employees who expected to write code and money pour in. This did not happen. A sales guy we hired warned us that at big companies you usually start developing sales materials and approaches years before launch.
whiterknight··on SIMD Matters: Graph Coloring
I assume if we talking about SIMD we are not talking about python, etc.
whiterknight··on SIMD Matters: Graph Coloring
The compiler can’t fix your data layout
← PreviousPage 2 of 7Next →