Hacker Newsnew | past | comments | ask | show | jobs | submit | cjk2's commentslogin

Yeah. I want IP67 and have to replace my battery every 2 years.

I don’t mind taking it to Apple for that. It’s less often than my car went back to the dealer for service. And my dealer wouldn’t give me a new car if they fuck up my old one in the process (Apple did this when they broke mine during a battery swap).


The painful bit is C++. I did a fair bit of that going back to MFC. Knocking stuff out in C# with WPF and WinForms was quite nice in comparison. I haven’t found anything nicer.


C# with WPF or WinForms only seems nice in comparison to other relatively painful tools IMO.

The old RAD graphical tools and newer ones like Rebol (that are now dated) show just what is possible. Mathematica is also pretty powerful and doesn't require a ton of code.


Totally agree with this.

I’ll get shot for this one but I write most of my GUIs in Excel these days.


Do you mean Visual Basic for Applications? How are you creating a GUI in Excel?


Mostly just locking fields. I don’t do anything procedural. It’s usually calculators, stats and modelling stuff.


I think there is a thing called Microsoft Office development kit or some other name that allows C# and other .Net programs to manipulate Office apps. Not sure if it's what the author meant, though.


Oh, I have used OLE (or some iteration thereof) to drive Excel from Python. That was a long time ago, but it sounds similar. I wasn't really doing GUI, though - I was using code to build spreadsheets from data files.


I had something I wrote in the 90s I wasn't proud of that was a word macro that read Excel sheets for a list of instructions and used those to compose documents and print them. I feel sick thinking about it.


Reminds me of Moe on the Simpsons saying I've done things I'm not proud of. And the things I am proud of are disgusting.

You should be proud like that.


I remember using Office Interop back in the day

Less useful these days as we use open formats, ie doc is propriatery, docx is open


> The painful bit is C++. I did a fair bit of that going back to MFC.

I'm sorry but referring to MFC while referring C++ is a telltale sign you don't really have any meaningful experience in the field. Developing GUI apps for Windows is a breeze with frameworks like Qt. You only suffer if you're a masochist, but the rest of us prefer to pick things that make sense.


I have a lot of experience, in the real world, which is somewhat less ideal than "just use Qt - it's a breeze".

How do you manage a 15 million LOC desktop app originating from the late 90s which contains chunks of win32 native, ATL, MFC, custom GDI+ wrappers all sorts?

Aye you fuck off and work somewhere else that's what you do. Which is why it's still written in win32 native, ATL, MFC, custom GDI+ wrappers.

They paid two companies to come in and rewrite it, first in Qt which was a complete failure. Then in Electron etc, which was also a failure.


> How do you manage a 15 million LOC desktop app originating from the late 90s which contains chunks of win32 native, ATL, MFC, custom GDI+ wrappers all sorts?

You're complaining about your personal legacy "chunks of win32 native, ATL, MFC, custom GDI+ wrappers".

Not C++. Just your personal legacy projects you didn't managed to maintain or update.

C++ doesn't magically rewrite your technical debt. You need to do your work.


I concur. Any time I see tangles of regexes and if statements, it's going to be full of holes. I spent several months replacing messes like this with proper parsers and you'd be surprised at how many fuck ups fell out of the mess.


The barista doesn’t want homeless people in the toilet because inevitably crack paraphernalia goes in there too.

Better to have shit on the street than crack paraphernalia in your business toilet.

As a data point, yesterday I was walking watching two guys smoking crack outside Costa in Covent Garden, London.

Alas it works to the lowest common denominator. A better solution would be government investment in mental health and housing but most of the world works on “fuck you I’ve got mine”


Have a friend who's a barista. Had a dispute at work where they wanted her to clean the blood all over the bathroom after someone had bled all over the place (she didn't think that should fall under her job description)


Without the right PPE and training, there's a strong case they shouldn't be made to do it.


Of course, but even with help there are folks who are just way too confrontational and difficult to deal with. So they get kicked out of shelters and even healthcare professionals hesitate to deal with them.


'but most of the world works on “fuck you I’ve got mine”'

I think this is an oversimplification and misrepresentation. I certainly see it in some additudes (my wife's opinion of aome of our neighbors, unfortunately), but there are some others. I more often see the additudes that come from responsibility. Like you mentioned about not giving money but food instead. Most government housing comes with some sort of requirements currently. I think many people just want assurances that the money is helping people and that they aren't being taken advantage of.


There were no applications that couldn’t be solved cheaper an easier using some other method.


Every investment company out there knew this from day one. They were riding the hype and gains. Now the late and individual investors will pay for the losses while the big investors start moving cash to the next hype.


What does this mean for passive index funds? Is it likely that actively managed funds will have an edge over passive index funds in these scenario?

How will the big investors know when to start moving money to the “next hype”?


I think you are crazy putting money into passive index funds.

As for the investors, knowing when to pull out is when they start pushing articles like this. They’re already out and want your capital to go where they are going next.


>I think you are crazy putting money into passive index funds.

Why? You can essentially bet on the global/national/segment economy growing.


That's fine until there is political or financial instability across the world which is increasing.


In which case the risk to any individual stock is even greater.


It’s not if it leverages the risk.


Sure, but that doesn't invalidate passive funds.


Your plan for social instability is hodl stocks with increasingly suspect value?

Hm. Mine has been learning how to manage small crops, carpentry and vehicle maintenance.

In the 80s laws were changed to redistribute pensions into Wall Street. I say we do the inverse to Wall Street and expropriate the gains as “fruit of a poisonous tree” with new legislation.


I can grow vegetables and fix my own car. However I’ll be dead before I have to rely on either of those.

My hedge is to simply be less fucked than the person with no assets and huge debts. The world doesn’t go to shit with a boom but a slow whimper.


Really? I can think of at least a few cases in the last 100 years where it boomed unexpectedly; world war, energy crisis, recessions, depressions, pandemics…

Someone’s survivorship bias has lead to confirmation they’re ready for anything it seems.

Most Fortune 500s of last generation are gone. Good luck! Count me as one that is not making political choices with yours in mind, and would, in the future, not be honoring some story you have to tell about an unknowable past.


I think you missed the point. I'm not ready for any large change. No one is. What I have done is get myself into a position where I can do what I want to do before there is a change and hold out as long as possible. It's a dampening effect, a parachute. I'll be in the same shit as everyone else, just later.


What are you putting your money into?


Well I’ve pretty much pulled it out of everything and bought a house (no mortgage yay) but I rode NVidia, BAE Systems with a safe position held on an actively managed ETF.

I’ve got a huge pension lined up so I’m going to go on holiday a lot basically. I get a lump sum early payment of that soon so I can invest that somewhere more productive.


Meta, Googl, AMZN, RDDT, AVGO have gotten my portfolio pretty good returns.

Just think what companies will be doing well 10 years from now and don’t buy at crazy valuations.


What if, and this might be just a guess, the hundreds of thousands of people at major investment corporations have thought of this as well and driven the price up so that they are now adequately valued?

Do you know more about the future of these tech companies then the legions of math/physics/economics/CS PhDs paid to investigate the potential of these companies?


If the sales and earnings go up in the long run, and the stocks aren’t super overvalued, then the stocks go up. It doesn’t matter what other people think. All that matters is the performance and valuation.


Yes, they will go up, at the market rate.


No, the sales and earnings go up based on how well the executives employees perform. It has nothing to do with the market.


You are totally misinformed about economics.

The price of a share is determined by exactly one thing, how much people are willing to buy them vs. willing to sell them.

If the market believes a certain stock will outperform the average it is free money to buy that stock, so prices will rice exactly to the point at which the market believes the share will not outperform the market at that price.

This is literally basic economics. Google "efficient markets".


You can see the price for yourself though vs the fundamentals and judge whether it’s a fair deal. The market isn’t omniscient and has been mispriced very frequently.


When you're doing long-term investments, it's not a zero-sum game. It is possible - likely even - that you and those hordes of PhDs all come out ahead.


>It is possible - likely even - that you and those hordes of PhDs all come out ahead.

No, it isn't. This is total nonsense, if the PhDs believe a stock is undervalued they bid it up until it is even valued.

The only secret strategy an individual has to outperform the market over a long time is insider training. Everything else means you are betting against the market being efficient, which is risky, to say the least.


Dogecoin!


Ethereum


Ah yes the implied social contract that it's ok because it happens all the time.

That's how society falls.


I didn't even know about this vulnerability and mine are updated. Just how I like things.


Our labour force and developer experience is like a rusty bucket. If we hire any old person quick enough it'll replace the pissed off people leaking out the holes!


Only because they had to and couldn’t write it off in any way.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: