Slashdot Mirror


User: angel'o'sphere

angel'o'sphere's activity in the archive.

Stories
0
Comments
21,865
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 21,865

  1. Re:Interview questions? on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    Anyway, the compiler likely just does it recursively anyway if you write your while loop correctly..
    It is the opposite around. If you write your recursion correctly, the compiler converts it into a loop.
    It is called "Tail recursion optimization".

  2. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    The question would be how to teach them.

    With a white board I can explain everything, the audience even does not need to even speak my language :D

  3. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    Generally the interviewers aren't asking irrelevant questions,
    Yes they do.

    My answer was to a guy who seems to ask questions like how to copy a file with a "read one char until EOF" loop.
    So yes: it is irrelevant.

        cp file.a file.b

    does the job just fine.
    I would not wonder if 99% of all graduates never heard about "EOF".

    Asking one how to copy a "TEXT"-file in the simplest C way possible, was adequate 1990 ... it is not adequate 2019.

    Hint: if you don't believe it I make you an interview where you simply fail every question I ask you ... and then go figure.

  4. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    BTW, the CPU is Harvard architecture and there's no room to copy .rodata so your strings are in a different address space.
    Harvard architecture basically means you have separated data and instruction cashes and buses, and often no programatic access to the "memory" where instructions/code reside: https://en.wikipedia.org/wiki/...

    The rest of your rant is the typical "embedded is so superior, non embedded know nothing" rant. Obviously as I only part time do embedded I did not do those things often. But: they are easy. Building a web server: is not easy.

  5. Re:Er isn't stress testing part of the test?? on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1, Interesting

    If you can't program at all when under stress, that's not going make you a very effective programmer in the real world.
    In the real world programmers don't have stress.
    Most of us don't live in the United Retarded States of America.

  6. Re:Subjective. on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    'which trick did the person who designed this test have in mind?' or even worse 'which niche within the language is the person who wrote this obsessed about?'.
    Exactly.

    But then again I had a phone interview, and as the real software was in C/C++ and the CI environment was in Java, they asked me: what are the byte sizes of char, short, int, long in C and in Java.

    So I answered. Got the job. And later I asked one present in the interview: what was that lame question about word sizes of primitive types? He answered: "A kind of joke if we don't know what to ask, but you where the only one from about 20 candidates who answered it correctly"

    Obviously neither the question nor my answer had anything to do with my job.

  7. Re:Rapid fire on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    For example: âoeWhat problem in your career did you most enjoy solving?â
    None, the problems I solve are fucks up someone/a team made a decade ago.

  8. Re:Interview questions? on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    To me THAT's the stuff that is more important than being able to implement a swap sort on a linked list using recursion.
    Reverting a linked list is trivial (regardless of recursion or not - actually I don't know why would anyone use recursion for this).
    But I assume "swap sort" is a term you expect me to know, sorry, I don't know it.

  9. Re:Loaded Interview on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    It was a mac shop. You have been warned!
    Idiot very much?

    It was a programming job. There is no better OS/computer for programming than a Mac. Linux is miles behind and MS Windows lightyears. Only some obscure Unixes are somewhere clustered around Linux, like HP-UX and AIX ... and Solaris.

    But I guess in your blinded mind you tried to make a lame joke ... you failed.

  10. Re:Loaded Interview on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    Exactly! ...

    Obviously they where window users ... I doubt a Linux user had skipped a mac challenge.

    I mean, we are old fashioned and use man pages, but that can hardly cause a grudge against us, can it?

  11. Re:Loaded Interview on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    I had two interviews in the last 30 years with programming excrises. Oh, actually 3.
    The third own wanted me to finish the programming exercises before the interview.

    The other two announced there will be programming exercises, one only was making a kind of UML diagram, the other one canceled it.

    So: yes I expect to be informed before hand if there is an programing exercise and what language they use, so I can prepare a bit.

    After all, as far as I know NULL in C is not the same NULL as in C++. Your millage may vary.

    Hint: from my 50 interviews, only 3 had "programming exercises" ... so: no I don't expect to perform in an exercise if it is not announced before.

    However it would not matter to me, I never had an interviewer, regardless of topic, who was even on 50% of my level.

  12. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    White boards have excellent editing capabilities.
    You should simply practice with them.

    Doubt you have arthritis, more likely gout, seek a good doctor, it is easy to treat in our days.

  13. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 1

    The CS grads were having trouble with the basic idiom of read a byte, while not EOF, do something with the byte.
    But you are aware that time has changed?
    I mean ... obviously they have trouble to some bullshit like that when they never got taught how to do it.
    Why the funk would an University teach completely obsolet skills to freshmen?
    Why are you testing for such obsolet skills when you should have noticed decades ago, they are not taught anymore?

    It was the EE grads that actually knew what the fuck they were doing.
    And they would completely fail a test designed to let the CS people pass ... wow, what a no brainer.

    Why don't you simply write what your job requirements are? Make a phone interview to nail down the basics and then invite the person.

    What actually do you think it means for a CS student to fail an interview and get told afterwards: you know nothing? You insensitive clod? (I'm not even joking, if you can not distinguish an CS curriculum from an EE curriculum why do you have the audacity to sit in a hiring committee?)

  14. Re:sing for your supper on Programming Interview Questions Are Too Hard and Too Short (triplebyte.com) · · Score: 2

    Embedded coding is actually much more easy.
    You simply have your ints and chars and do your & and |.

    No idea why people try to push embedded programming as a pillar of high magic.

    A modern business "framework" regardless if it is Qt on a desktop or Spring, Hibernate in the Java ecosystem or what ever the .Net equivalent is: requires 100 times more knowledge than simple stupid C programming (or even assembler) on a 1960 invented chip.

    The /. idea that only assembly programmer (we tolerate C programmers) on archaic devices know how to program is as absurd as an Sumerian Professor teaching modern Business Administration in an american university: in old Sumerian.

    Hint: when did you program your last C/C++ program that as deployed on a web server serving 10k (+) concurrent sessions, having it multithreaded accordingly, having it in multiple languages and locales ... abstracting or preparing the database for that ... etc. p.p. ? And when did you do that in assembly the last time?

    Hint: I did never. And I "speak" about 20 assembly languages.

    Programming in assembly basically means: you have absolutely nothing to do with all the problems the real wold is facing .. and that is not xoring two bytes together.

  15. DPI does not matter for Macs ...
    You can plug in as many monitors as you want and have windows spanning them, the UI/OS scales them accordingly.

  16. Actually I *know*

    And you know nothing about Cuba I think ...

    Cuba has a planet wide recognized health "industry" ... they give more developing aid in health care than then next ten providers together.

    Their universities and hospitals regarding education of doctors and nurses are the prime of the planet.

    Must be against your idiology or your countries idiology that you don't know facts like this. Seems the embargo against Cuba is also an embargo against news about it and out of it.

  17. with a thin veneer of capitalism.
    Define "thin"?

  18. Since Java 7 you can use _ as separator in an number literal anywhere you want.

  19. Re:A quarter will be electric cars? on Renewables Will Be World's Main Power Source By 2040, Says BP (cnbc.com) · · Score: 1

    Obviously not, but I know that n Germany and France farmers have a business car, and those are more and more are EVs.

    No idea why you want to argue that.

  20. Re:Does this work under game theory? on Goldman Sachs Asks: 'Is Curing Patients a Sustainable Business Model?' (cnbc.com) · · Score: 1

    Sure,
    because in every society people "game the system".
    Surprisingly: sometimes it simply works as intended.

  21. Re:Google Books Has Been Deteriorating For Years on How Badly is Google Books Search Broken, and Why? (blogspot.com) · · Score: 1

    Because out of print books cannot be monetized
    Depend on copyright. If it is expired you can resell them as eBooks.

  22. Re:Then let's ask on Goldman Sachs Asks: 'Is Curing Patients a Sustainable Business Model?' (cnbc.com) · · Score: 1

    One answer might be to assign to the *doctor* (primary care physician) a monthly fee per patient, regardless of that patient needing medical service. If patients could switch to a new doctor at any time and for any reason, doctors would then have incentive to a) provide the best medical care, b) compete with each other for quality of service, and c) keep their patients healthy, happy, and long-lived.
    That is basically the ancient Chinese model. Everyone living in the same lock with the doctor payed a monthly fee.
    Got he sick, he stopped paying and visited the doctor. As soon as he was cured, he payed again.

  23. If you had piles of money that you'd be willing to spend on a cure for your own disease, or donate to someone with a similar goal of finding a cure, then the government would bar you from doing so.
    No, it would not. Why would it?

  24. Re:Well.. on Goldman Sachs Asks: 'Is Curing Patients a Sustainable Business Model?' (cnbc.com) · · Score: 1, Informative

    Cuba actually has the best health care system in the world, idiot.

  25. Re:A quarter will be electric cars? on Renewables Will Be World's Main Power Source By 2040, Says BP (cnbc.com) · · Score: 1

    No, but you drive with your vehicle from your farm to your field. Drive home to the farm and pick up the EV after you have showered.

    Or if you for some reason make a weekend trip to your parents or your kids, you take the EV.

    Or for some reason if the next town is zoned into "pollution areas" and your ICE does not fit the limitations: you take the EV.

    No idea why you want to nitpick around. Most farmers have several cars. And the trend is towards EVs ...