HNHacker News
TopNewBestAskShowJobs

tester34

1,007 karma · joined May 15, 2020

submissionscomments
tester34··on Ask HN: What are some great engineering blogs?
>great engineering blogs

>smaller startups and solo devs blogging insights from developing own products

I feel like those are different things.

tester34··on To set new tab as blank in MS Edge you need to enroll device in MDM
>builds

I don't think people who build their PCs must pay for Windows, I weren't forced.

But probably laptop market sucks.

tester34··on Google Working on Indexing Instagram and TikTok Videos
cannot they just scrap it?

I'm shocked they already do not do it

tester34··on Google Outage in Europe
>It’s still less downtime than your own server

what makes you think so, actually?

tester34··on Brain implant translates paralyzed man's thoughts into text with 94% accuracy
remember that it may be used against you

once regime changes

tester34··on Object-Oriented Programming – The Trillion Dollar Disaster
I have different take on OOP

It's beautiful thing that managed to enable milions of people to express more or less complex reality inside computers.

Sure it has it's quirks, something could be done better in $language, but that was decision/vision of $language design team how do they interprete object oriented programming.

The bad thing is that it is incredibly hard.

OOP and SOLID are kinda "basics of programming", yet those are incredibly difficult.

You need to have a lot of hands-on experience with creating software, modeling systems in order to make it good (maintainable, sane, easy to understand, consistent, testable, yada yada)

Simon Peyton Jones (Known for Glasgow Haskell Compiler) - Haskell is useless https://www.youtube.com/watch?v=iSmkqocn0oQ

>Why is mutable state such a big problem? The human brain is the most powerful machine in the known universe. However, our brains are really bad at working with state since we can only hold about 5 items at a time in our working memory. It is much easier to reason about a piece of code if you only think about what the code does, not what variables it changes around the codebase.

Isn't this part more about code "branches" instead of mutating state?

>Yes, one can pass immutable objects to methods in Java/C#, but this is rarely done since most of the developers default to data mutation.

Maybe because language designers didn't provide them right tool that'd enable their OOP vision to be more handy?

It's seems like there work being done that want to make this better in C# world.

>You, as a person, don’t have a “write” method either — you make the decision to write some text based on outside events or your internal thoughts

Why you don't have "write" "skill"/"ability"/"method"?

>Some people say that private methods shouldn’t be tested… I tend to disagree, unit testing is called “unit” for a reason — test small units of code in isolation. Yet testing of private methods in OOP is nearly impossible. We shouldn’t be making private methodsinternal just for the sake of testability.

"test small units of code in isolation"

everything is about how you define "unit"

"nearly impossible"

I bet that even C# and Java provide "hacks" to OOP to test private methods.

>public class InputValidatorFactory { public IInputValidator CreateInputValidator() => new InputValidator(); }

You don't need factory, so in smaller version you added 6 lines of code (interface and impl) which allowed your code to be more flexible, I'd say that this is reasonable trade-off, but what if instead of interface, then you used function? like Func<T, bool> as argument, but maybe not to btnAddClick, cuz it's bad method anyway, but to some validate method.

Func<string, bool> predicate = str => str.Length > 5;

myFunction(predicate);

So maybe OOP could be ""fixed"" by just introducting a few FP features? e.g C# - LINQ (not mutating state) and stuff like delegates, records, discriminated unions?

>TransactionAwarePersistenceManagerFactoryProxy or RequestProcessorFactor

>https://www.reddit.com/r/ProgrammerHumor/comments/418x95/the...

>Further reading: FizzBuzzEnterpriseEdition

Of course you can make OOP look dumb if you'll use example that were created with that purpose in mind.

OOP itself doesn't force you to use things like TransactionAwarePersistenceManagerFactoryProxy that people meme about it being common within Java world, but I personally don't think I've witnessed stuff as hardcore as this in C# more than once, twice or thrice.

tester34··on LAPD ended predictive policing but a new effort shares many of their flaws
>How do you determine if the police are being successful?

One of the things:

How safe do you feel going from e.g pub/cinema/blabla to your home at 01:00?

It's not perfect proxy, of course.

tester34··on Remote work will break the US monopoly on global talent
20K PLN is still not normal pay.

You think devs in Silesia earn something even close to 20K and aren't giant outliers?

It's like saying that SF salaries are normal in US

tester34··on Remote work will break the US monopoly on global talent
$5K is normal pay in Poland? that's around 9 minimal wages
tester34··on Love seems like a high priority
I believe s/he wanted just to remind or make him/her aware, not devalue him/her.
tester34··on Love seems like a high priority
>Please don't devalue and dehumanize your opponent and their contribution by calling them an edge case and a 0.001% outlier.

Why devalue or dehumanize?

I tend to view "being outlier" as something positive

tester34··on Don’t do interviews, do discussions
>Now-a-days I see interviewers skipping the pleasantries and straight jumping on to LC style questions

lmao software houses in Eastern EU jump straight into day-to-day stuff, 99% of the stuff was normal development, that 1% was just for lulz, to check whether you heard about stuff.

0 algo questions.

tester34··on Teacher posts hardcore calculus on Pornhub and OnlyFans to recruit students
While it gave him fame, but then do people actually would want to watch maths video on ph?

I'd rather not

tester34··on Why the Job Search Sucks (2018)
I agree, but where's boundary?
tester34··on How to learn compilers: LLVM Edition
since here's many compiler hackers then I'd want to ask question:

How do you distribute your frontend with LLVM?

Let's say that I have lexer, parser and emitter written in e.g Haskell (random example)

I emit LLVM IR and then I use LLVM to generate something other

but the problem is, that I need to have LLVM binaries and I'd rather avoid telling people that want to contribute to my OSS project to install LLVM because it's painful process as hell

So I thought about just adding "binaries" folder to my repo and put executables there, but the problem is that they're huge as hell! and also when you're on linux, then you don't need windows' binaries

Another problem is that LLVM installer doesnt include all LLVM components that I need (llc and wasm-ld), so I gotta compile it and tell cmake (iirc) to generate those

I thought about creating 2nd repo where there'd be all binaries compiles for all platforms: mac, linux, windows and after cloning my_repo1, then instruction would point to download specific binaries

How you people do it?

tester34··on Why the Job Search Sucks (2018)
well, it's pretty common operation, so kinda weird.
tester34··on M1 Pro First Impressions: Core Management and CPU Performance
>Now consider that this laptop outperforms most desktop workstations that cost $4k+

I'd really want to see that setup and benchmark

tester34··on Gitlab servers are being exploited in DDoS attacks
Of course, we are Google. /s

Have you tried writing your own interpreter?

tester34··on Are daily standups hurting your team?
I struggle to understand why people hate daily this hard

What so bad about having to tell what you've been doing yesterday? one up to few sentences per person, 10-15min max?

tester34··on How I made Google’s data grid scroll faster with a line of CSS
Same things happen on native apps.

Let it be Winforms or WPF.

tester34··on How Microsoft reduced Windows 11 update size by 40%
Any concrete complaints?
tester34··on Rewriting Reddit (2005)
>One assumed it must have been divine intervention, since “there seems to be no other reason for switching to an inferior language.” Another figured something else must be going on: “Could this be…a lie? To throw off competition? It’s not as though Paul Graham hasn’t hinted at this tactic in his essays…” Another chimed in: “I decided it was a prank.” Another suggested the authors simply wanted more “cut corners, hacks, and faked artisanship.”

yc circle 15 years ago was apprently something different, something that reading about it now screams `wtf?`

feels like religious community

tester34··on Facebook chooses profits over people
>(how do you think they manage the "x is busy now, try later"?)

what is this?

tester34··on Intel’s future now depends on making everyone else’s chips
I'm getting kinda lost, it's almost 2022 already

did Intel skip 7 and 5nm?

tester34··on Microsoft removes hot reload from open source .NET, locks it to Visual Studio
Did you use Roslynator and Codemaid extensions? both are free and lighter than Resharper.

Almost always when somebody shits on Visual Studio s/he either uses C++

(and there's significant difference apparently between C++ and C#) or used it with Resharper, or without any extension/addon at all.

Just try Roslynator if you haven't used it yet.

tester34··on Ask HN: Do you tell your salary to people/family/friends outside your industry?
What if you knew that the difference could be e.g 5x or 10x?

Wouldn't you be worried that it could affect that friendship?

tester34··on Willingness to look stupid
>But why can't you just ask for what you want without people automatically assuming you're stupid?

I guess the reality is that huge majority of customers in those shops aren't proficient at technology at all,

so it's incredibly good bet that customer has no idea what s/he's doing.

tester34··on Willingness to look stupid
>The benefit from asking a stupid sounding question is small in most particular instances, but the compounding benefit over time is quite large and I've observed that people who are willing to ask dumb questions and think "stupid thoughts" end up understanding things much more deeply over time. Conversely, when I look at people who have a very deep understanding of topics, many of them frequently ask naive sounding questions and continue to apply one of the techniques that got them a deep understanding in the first place.

Just be like this girl :P

https://www.youtube.com/watch?v=7q89tdSjE-0

>Learning a sport or video game: I try things out to understand what happens when you do them, which often results in other people thinking that I'm a complete idiot when the thing is looks stupid, but being willing to look stupid helps me improve relatively quickly

Overall author came up with this concept of "looks stupid", yet it does already exist as "failure teaches more" or just "curiosity" in my opinion.

Overall2:

Maybe

Why Is It So Hard to Be Rational?

https://www.newyorker.com/magazine/2021/08/23/why-is-it-so-h...

tester34··on Investors use AI to analyse CEOs’ language patterns and tone
On the other hand you have access to probably hours of talks of C executives and them expressing different emotions less or more subtly

why wouldnt it be possible to train on it?

tester34··on Amazon warehouse employee in Poland dies at work
Google Translator partly:

>Grzegorz (name changed) works in Amazon's warehouse in Sady near Poznań, who agreed to anonymously tell about the events of the beginning of September. - I remember that the day before, on September 5, this man asked the leader to assign someone to help, because he was not working anymore - he says. - The leader refused. The man who died later was to go on the next day with a complaint to the OPS manager, i.e. the main manager of a given department. He did not make it anymore. He was a very hardworking man. I wouldn't be able to refuse him anything. When he had breaks, he ate a sandwich and quickly returned to work. Look for such people with a candle. It really turned out what kind of insurance we have. We are meaningless pawns.

>According to Grzegorz, one piece of information has not been made public.

>- The very beginning of this event was not treated as an approach of man to man. The man, who reported the problem with catching his breath, was walking to the rescuer on his own quite a long distance, from point A to point B. It was a culpable mistake. In case of shortness of breath, he should not go there. The leader was walking beside him, but he was not helping him, not even as a support. Due to the safety rules related to COVID-19. It was the same leader who had refused to help the man the day before. They treated you like garbage, like typical waste

← PreviousPage 3 of 22Next →