HackerLangs
TopNewTrendsCommentsPastAskShowJobs

gspetr

994 karmajoined 11 tahun yang lalu
Georgios Petronius, self-employed, engineer, small business owner.

I never dismiss anyone's claims. I simply say that if there's evidence that you have - let us see that evidence. But assertions are often made not only without any evidence being offered but without anyone even asking for evidence.

comments

gspetr
·10 hari yang lalu·discuss
[dead]
gspetr
·11 hari yang lalu·discuss
> Do the anti-DST people understand what they're advocating for?

They do, which is why only 45 countries observe DST.

25 observe it partially.

And the rest, roughly ~125 countries do not.

Historically, ~140 countries did.

To put this into perspective, only about 1.2B people out of 8.3B observe it today. Which puts you into a very small <15% minority.
gspetr
·11 hari yang lalu·discuss
The government? Or your government?

Because there are countries where national or state governments do.

https://en.wikipedia.org/wiki/Shopping_hours#Germany
gspetr
·11 hari yang lalu·discuss
[dead]
gspetr
·24 hari yang lalu·discuss
https://www.amarisoft.com/company/about-us
gspetr
·24 hari yang lalu·discuss
> formalize these 20 pages of requirements, death by powerpoint style, and put it in our suggestion box - I just pass on that.

Why pass on it now? There has never been a better time in history to deal with it than today: AI can oneshot most of what you've described.
gspetr
·24 hari yang lalu·discuss
$20/kg is a wild claim.

A typical American semi-truck (18-wheeler) can carry between 40,000 and 45,000 pounds (20 to 22.5 tons) can travel only 160k miles (2/3 distance to the Moon) on a budget of $400k (i.e. $20/kg).

Do you expect us to believe that rocket transportation would be in the ballpark of truck prices in the near future?
gspetr
·bulan lalu·discuss
You're right about reason #1. And you've probably heard about strong contenders for #2 and #3.

There's a famous quote attributed to the Italian military commander Gian Giacomo Trivulzio in 1499.

When asked by King Louis XII of France what preparations were needed to invade the Duchy of Milan, Trivulzio responded: "To carry out war, three things are necessary: money, money, and yet more money."
gspetr
·bulan lalu·discuss
You're thinking of a perfect world. We're not in it.

In this one there are often thousands of applicants for a position, most of which can't pass FizzBuzz.

Why would they (or anyone for that matter) choose a candidate who can't figure out how to find info about a trivial method?
gspetr
·bulan lalu·discuss
No worries. My point is, if you get asked questions that seem simple to the point where you feel they're asking if "water is wet", then you need to keep your own thinking process extremely simple in response.

The reason is the intent behind their question, which they don't vocalize.

This question means we are dealing with an extremely broad hiring funnel designed to fail people who can't FizzBuzz and need to keep answers at MVP level.

In other words, if you are asked to put out a fire use a bucket of sand, not a state-of-the-art fire extinguisher.
gspetr
·bulan lalu·discuss
It's simple, unless you're given a specific broader context (like we have an enterprise customer data pruning system that needs to handle a broad range of corner cases) then you must not resort to overengineering this early in an interview.
gspetr
·bulan lalu·discuss
No, there's literally a "find" str method.

str.find(sub[, start[, end]])

"Return the lowest index in the string where substring sub is found within the slice s[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 if sub is not found."

Your instinct to resort to "in" is correc,t as it's generally slower than the "in" membership test, but the interviewer has even allowed the use of Google. Blanking out after that is really bad.
gspetr
·bulan lalu·discuss
I don't understand how you jumped to the membership test instead of literally the .find() method on a string?

The interviewer is not asking to solve a problem here, they're asking for a simple ability to follow instructions, hence the offer to use Google to find the correct answer.

You could make a very solid case for using "in" (it is 2-4x faster), but only after you've solved the task at hand, this is what is expected in interviews. Not knowing the interview meta makes an average Joe basically unhireable in this market.
gspetr
·bulan lalu·discuss
Step 1: https://www.google.com/search?q=list+python+string+methods

Step 2: Parse the output with your eyes. The method is literally called "find".

This one-trick pony failure mode could perhaps have been fine for a guy who did Java and nothing but Java for 10 years, but you are supposedly the person who runs "pythonforengineers" website...

100% correct call by the interviewer.
gspetr
·2 bulan yang lalu·discuss
https://github.com/mattpocock/skills/blob/main/skills/produc...

https://www.youtube.com/watch?v=-QFHIoCo-Ko

Also, check his youtube channel: https://www.youtube.com/@mattpocockuk
gspetr
·2 bulan yang lalu·discuss
You mean the same Anthropic, that wouldn't blink an eye at intentionally overcharging users hundreds of dollars just for having a HERMES.md file in a repo, would be above taking your data for... ethical reasons?
gspetr
·2 bulan yang lalu·discuss
[flagged]
gspetr
·2 bulan yang lalu·discuss
What's stopping you from making the trivial adjustment to the original question: "Who is the next likely person after Satoshi Nakamoto to have authored this"?
gspetr
·2 bulan yang lalu·discuss
> Comma placement isn't really part of the language; it's part of the education system.

Interestingly, LLMs disagree with you.

Your statement is only accurate in an extremely narrow case, like if you were there to hear the person speaking, before their speech which was transcribed. Obviously, it is not true for almost all of human writing.

And if you were to go commaless, you will quickly get to rather precarious sentences, such as this one:

"Let's eat grandma."

A comma is the natural fix:

"Let's eat, grandma."
gspetr
·2 bulan yang lalu·discuss
The example you've provided just adds noise.

sha256 is deterministic, LLMs are not, even at temperature set to 0.