Welcome to Costco, I love you.
HN user
AdieuToLogic
Ever found yourself writing this?
for f in *.txt; do
wc -l "$f"
done
No, because `wc` accepts multiple files. And the example given is incorrect for any file having a `.txt` suffix and whitespaces.Or this?
find . -name '*.sh' -exec wc -l {} +
No.These all work, but each has its own syntax, its own flags, its own quirks. I wanted something simpler — one consistent way to iterate over anything.
And therein lies the proverbial xkcd standards[0] proof.
To support your recommendation and redress the strawman the article postulates, the post's author could have replaced:
find . -name '*.log' | xargs rm
With: find . -name '*.log' -print0 | xargs -0 rmFred Brooks and the mythical man month observed that communication between people expands faster than linear, and that adding more people to a project makes it later.
In my experience with more than a couple dozen software projects, the ideal team size to successfully deliver a non-trivial effort is between five to nine people.
One subject matter expert visionary
One technical architect visionary
One or two technical masters
One or two UI/UX masters
One or two padawans capable of becoming a master
Staffing exceeding the above for an individual team is more a managerial genitalia contest than anything focused on organizational success.> If a human’s performance for 40 plus hours a week can be reduced to a performance score ... > Where has all the empathy gone? And common sense? :(
Contrary to popular belief, I don't think common sense has gone away. It just has been deprioritized at the altar of profit.
Or perhaps it has been left to starve due to apathy and an unrelenting pursuit to reduce the difficult job of leadership into a much simpler one based on arbitrary numeric values which are defensible to those higher in the managerial food chain.
> Cardiac events from Apple Watches is not “AI” though
It would have been, 20 years ago.
No, it would have been called what it is both then and now; an asynchronous message emitted by a device having sensors capable of detecting when to do so.
The “overlap” is that all machine learning is AI ...
"All machine learning" is not AI, as k-means clustering and linear regression, amongst others, are very much ML without qualifying as AI algorithms.
Nice try, that's not the same as not doing business in the state.
Again, until and unless you can show how the Defendant has an established presence within the State of Texas, such that its jurisdiction is applicable, it is difficult to consider your position considered and/or informed.
> Two things of note regarding this.
And third, there was a default judgement.
Unenforceable and meant strictly for political theater IMHO.
This is so much state overstepping bounds and irony aside, so much for independence and rights by a state that proclaims personal agency comes first.
When a political party declares we are in a "post-truth" era and fully embraces nihilistic "the ends justify the means" tactics, the result is inevitable;
Take, hold, and increase power by any means necessary.
For if one does not hold oneself to a standard of ethical behavior, where the actions of others do not affect one's adherence to the rule of law, where the temptation to indulge in vendettas is not renounced, and where there is no accountability for engaging in any of the aforementioned, then there is no motivation for seeing those one disagrees with as anything more than an irritant to be dispatched forthwith.And we then find ourselves with elected officials wildly exceeding their mandate, such as here.
Two quotes from the writ filed support my position.
The court finds that the following domain name is
owned by Defendant ...
Defendant is not a resident of this state and is
a foreign corporation.
> You're going to have give us the "explicit" quotation ...The aforementioned does so. Until and unless you can show how the Defendant has an established presence within the State of Texas, such that its jurisdiction is applicable, it is difficult for me to consider your position considered and/or informed.
Of course it has business operations in TX.
It does not, as explicitly stated in the court's decision found here[0].
https://www.texasattorneygeneral.gov/sites/default/files/ima...
The idea that a state court in one particular state can enforce such an absurd law against a company that likely has no business operations or servers in the state is ridiculous.
Two things of note regarding this.
First, note the office of origin: Texas Attorney General, which is currently occupied by Ken Paxton who is running for a tightly contested seat in the US Senate.
Second, a state court does not have jurisdiction beyond its borders for entities not operating within same.
.com in particular has also been well proven over the past 5 to 10 years to be vulnerable to federal court orders to seize domains at the registrar level. ... What's new is this is being done from the state court level.
Which is why any attempt to enforce this ruling would be subject to removal to Federal court.
20 years ago there was some momentum behind Visual Basic .Net; but the language was so similar to C# that it just wasn't worth using.
IronPython[0] and IronRuby[1] would like a word... Largely so they could be remembered.
I didn't see semicolons, but I saw plenty of {} braces, and I can't explain why they're needed.
"Curly braces" (a.k.a. "{}") make lexicographical scope simpler to manage for lexers and parsers. Alternate grammars increase compiler complexity, excluding trivial token replacement.
As for semicolons, they are only a linguistic requirement for supporting multiple executable statements on the same source-code line.
I use pi btw.
When using Pi, one way to significantly reduce input tokens it yields is to ignore common bookkeeping "dot directories", such as `.git`. How to do so can be found with the following interactive Pi prompt:
How do I configure Pi to ignore git related artifacts, such
as the project's .git directory?
Other local assets to consider ignoring are `.pi`, `.agents`, `*.md`, and language specific output directories such as `__pycache__`, `bin`, `obj`, `target`, etc.And what of the likelihood that the original collection is modified when using the quickselect algorithm, thus introducing observable side effects in what could reasonably be considered a "read-only" computation?
You can definitely do this without sorting.
QuickSelect is ...
Quickselect implementations can, and often do, partially sort the underlying collection:
As with quicksort, quickselect is generally implemented as
an in-place algorithm, and beyond selecting the kth
element, it also partially sorts the data.[0]
If you are aware of a quickselect implementation having O(n) average performance which does not modify the underlying collection, I would very much appreciate a reference to same.Your answer is that of someone that googled some answer and went with it.
My answer was one from experience and supported by a resource which provides details as to why medians are needed in real-world scenarios.
This problem belongs to selection algorithms and quickselect is the common approach.
I responded to a specific comment in this discussion, not to what "this problem belongs."
From the Wikipedia page cited:
As with quicksort, quickselect is generally implemented as
an in-place algorithm, and beyond selecting the kth
element, it also partially sorts the data.
When the above is applicable, those quickselect implementations would violate the original assertion of: Only the median (or pair around the median) needs to be
sorted, the other numbers can be unsorted
When the collection involved is immutable.... I've never had to write code to compute the median so it doesn't seem that useful unless it's somehow relevant to the job
A binary search[0] of a sorted collection requires the median of each region being considered for each iteration.
A mental exercise I perform when "reference" is used in this context is to substitute it with "pointer." I find it clarifying and rarely, if ever, incorrect.
How does one determine the median wherein "the other numbers can be unsorted"?
To wit, given the unordered set:
[ 5, 1, 3 ]
How would "Only the median (or pair around the median) needs to be sorted" be satisfied?The fact that PgDog supports prepared statements[0] is a compelling feature in and of itself. This was a limitation of older versions of pgpool-II[1] thus disqualifying it in efforts where it otherwise could have been beneficial.
0 - https://docs.pgdog.dev/features/connection-pooler/prepared-s...
It's definitely rude to suggest someone is lying.
Please consider the context of my quotation which I documented elsewhere in this thread.
A person wrote:
> This is a site full of developers who are convinced that "proper software engineering" is 100% of what makes a business successful, and everything and everyone else is useless.
To which the person claiming said managerial title responded with:
As a technical product manager, this 1000%.
So you've got this low code quality that somehow doesn't impact product quality ...
Low quality code always impacts product quality in a negative manner. That is why it is "low quality code."
"High quality code" also impacts product quality, but in the predictably positive manner; fewer defects, ability to be enhanced, understandable behavior, etc.
Stop trying to run them locally, folks.
"Locally" is a relative qualifier if one defines locality as not being reliant on a SaaS vendor. IOW, locality does not necessarily imply execution on machines specifically owned/operated by an organization.
Rent cloud GPUs!
This would qualify as "locally" in the above definition. There is also a case to be made that h/w ownership (GPUs included) and operation can result in a net cost reduction for some use-cases.
However, where exposing intellectual property results in regulatory violations and/or undue legal exposure, running models "locally" is not only a good option, it is the only option.
This is a great case for the benefits of using GenAI, in that you already possess an understanding of what you want to achieve. You know what it is you want to prototype, what is on your "giant list of 'maybe somedays if I ever get to breathe' list", what you want to end up delivering.
My point is and remains:
A) GenAI did not give you this understanding.
B) GenAI can only assist in your expressing this
preexisting understanding.
C) GenAI is a statistical token (text) generator and
cannot, by definition, "make" a person understand
what they want/need to do.Please stop being rude to me.
I do not see how I was being rude, unless it was my use of quotations around the title you claim.
I'm a human being ...
I did not doubt this.
... I'm a very experienced product manager and engineer ...
Again, if it was my use of quotations which you found to be rude, then I do not know what to say about that.
... and the way you are behaving sucks.
I respect your perspective and support your right to express yourself. And no, I do not think you are being rude by doing so.
Assume I'm still right ...
Why would I? You responded to:
> This is a site full of developers who are convinced that "proper software engineering" is 100% of what makes a business successful, and everything and everyone else is useless.
With:
As a technical product manager, this 1000%.
Finally, you write:
... you might be able to learn something from someone else.
Maybe you can learn something from someone else as well.
Nice strawman[0], but you avoided answering my core question:
Speed of what?
With ad hominems and a non sequitur. How about I narrow the question with the hope it engenders a relevant response: How do LLMs increase the speed of a person understanding
what needs to be done?
0 - https://en.wikipedia.org/wiki/Straw_manThat is not how most engineers define bad code.
The engineers I have worked with most definitely define "bad code" as having intrinsic limitations and/or latent defects which impact successful system functionality/operation. Indicators provided to stakeholders such as yourself which support this assessment are, but not limited to:
- the system doesn't work that way
- the system lacks test coverage, so changes take longer
- adding feature "X" is not feasible
- there is no repeatable way to onboard team members
- the backlog grows exponentially
- that "one point task" is going to take a couple weeks
All of the above impacts a business.It is up to you, the "technical product manager", to understand what your team is trying to tell you.