HNHacker News
TopNewBestAskShowJobs

Foober223

124 karma · joined February 8, 2019

submissionscomments
Foober223··on Ask HN: Advice for a prisoner learning to program
I found the little schemer a good book to go through with a pencil, and no computer. It was meant to be read and worked through by hand.

One of the most underrated books in programming. I'd say it has value even if you are not interested in programming. To bend your brain. Seems overly simple sometimes, then before you know it you have to bend your mind backwards and jump through a flaming hoop.

Foober223··on Ask HN: Which tools have made you a much better programmer?
Interesting that you prefer both extremes of UI design.

Jetbrains UI that shows available options or pops them in real time.

And command line UI; requires reading the docs to learn options, but can be powerful and chained with other commands via pipes, ez automating UI interactions into scripts, etc.

Foober223··on Ask HN: What do I need to learn how to write a scalable app?
Dashboards with tons of charts are all about pre-computing. In the RDBMS world you abandon normal relational tables and use a non-relational star schema. Star schemas are basically just tables that store pre-computed data.

Sometimes it's a completely separate database for just reporting, with new daily data being fed in all the time, and results pre-computed.

These systems tend to be queries against the past. It's accepted that you may be 1 day behind. But that little concession to query past-only allows all sorts of great tricks to have instantaneous reporting against huge data sets. Making it seem like your reports have been blessed by the tears of the performance gods.

Even google search is "cheating" by searching against the past, not the present. Could you imagine how slow it would be if your google search query triggered a web crawler in real time to scour the internet? Yeah, you might be waiting several days for your crawl to complete.

Foober223··on Ask HN: How did you catch Covid-19?
Have/had a mild Bronchitis-like feeling in my lungs. But have/had no difficulty breathing despite that. No shortness of breath. The feeling sometimes goes away, but them later resurfaces.

To the best of my knowledge I have not lost lung capacity. I can mow the lawn (.3 acre) with a push mower in 1 go without stopping in hot weather.

Had a mild headache and mild sore throat at the height of it. Body was mildly achy in the evening near/at bed time. Occasional cough near the tail end of the recovery. For me this was not a cough heavy sickness.

No medication used. Lifted weights throughout the entire process. Symptoms were very mild but lasted forever.

Overall my personal symptoms were mild enough that I was not suffering. This is not to downplay. Other people have strange effects, such as "covid toes" where the flesh in their toes die. Or their immune system reacts causing inflammation in the lungs with serious damage to tissue. One bad thing about new viruses is a strong immune system can sometimes bite you. It was a big issue in the 1918 flu that was most deadly to people in their 20's. Elderly were relatively untouched by the 1918. Luckily Covid-19 has not proven to be particularly dangerous to young people so far. But it is causing bad immune responses in some young people, even if not at a large scale like the 1918 virus.

Foober223··on Ask HN: How did you catch Covid-19?
Yes, that's true, but corona's are considered to be colds regardless. Covid-19 will certainly become "common" once most of the world has been exposed.

Just FYI, "common cold" is not meant to downplay the deadly effects, especially if you know the history of the cold. The mention of cold was to draw similarities in how it is transmitted (what the OP's question was about).

Foober223··on Ask HN: How did you catch Covid-19?
To the question in the title. I don't know how I caught it. Before the lock down I was touching doors used by thousands of people daily. Touching gas pumps, etc. I have a habit of touching my face.

Luckily I had a mild reaction, but I still feel a slight tickle/burning in the lungs 2 months into it.

Foober223··on Ask HN: How did you catch Covid-19?
I don't think any official statistics exist. And any stats could even be misleading. People who take precautions very seriously (ie nurses) may actually have higher rates of infection. The average Joe Blow who never wears a mask or washes hands may end up with a lower % chance of infection. Because those nurses are working in hospitals, surrounded by super spreaders shedding virus all day long.

Covid-19 has proven similar to the common cold in transmission. The common cold is itself a corona virus so it makes sense.

Basically you are going to be exposed to Covid-19 at some point in your life. It's guaranteed. It's here to stay with the human race, just like the common cold corona's.

But there is value in delaying your exposure, even if you have little personal risk. Delaying your own infection also delays the infection of others (more vulnerable than you). They may be holding out for a vaccine. It avoids overloading a hospital. It gives the medical community more time to develop best practices and apply them to more people. If everyone gets covid-19 on day 1 then no one gets to benefit from the hard won knowledge paid for in death and damaged lung tissue.

Viruses tend to become less deadly as they mutate. Delaying your infection has value, even if it's inevitable.

Foober223··on Should assisted death/suicide be legal?
1. not sure. 2. not sure 3. not sure. 4. not sure.

In some cases it's not really a choice between life vs death. The choice is a speedy death or a slow torturous death where they let you die of dehydration. Generally I think it's good to be legal, edge cases and what-if's aside. There are already negative "what-ifs" under the status quo, such as people being left to die of dehydration. Even pet dogs get a more merciful death.

Foober223··on Ask HN: Do you stumble into design while coding or do you design and then code?
If it's a well understood domain, up front design is nice. A simple drawing that fits on a sheet of paper.

If it's new territory, up front design is worthless. You've never attempted to create a facial recognition program before. Not too long ago, no one else had either so there wasn't a lot of useful content to study. Your best bet is to try making 1 small useful unit of work, iterate, try again. Fit the pieces you create to achieve a goal. A design is grown from the bottom up. Now you have a better understanding of the problem and may be able to do some design.

Foober223··on Will Covid-19 help end the open office floor plan era?
Yes. I think the driving force behind the open office is to save money.

If a company allows a high % of workers to work from home, it can more easily afford less-efficient layouts. With private walled offices. It's easier to give 20 on site employees an office than 200. If all 200 employees are on site.... get ready for some custom construction to give everyone a private office. $$$!!!

Foober223··on Ask HN: How do I tell an Indie Dev about vulnerabilities that I exploited?
There's a saying:

No good deed goes unpunished.

What's right for your personal morals may conflict with the law. I'm sure most developers would appreciate the report. But some people misunderstand things. Are unreasonable. Or psychopaths.

If you want to send a report there is absolutely a need for secrecy. It may already be too late for perfect secrecy as all your actions on the internet are logged, so it's possible for the US government to determine that you were the one who downloaded source code. Unless you always use things like encryption and tor.

Foober223··on “Tesla will now move its HQ and future programs to Texas/Nevada immediately”
The "threat" is to not play in their sandbox after they change the rules. People can of course vote to take more of your earnings. But it's fair to leave when the rules change, it's a broken contract.
Foober223··on Amateur programmer to paid professional in 60 days. What lang/stack?
Target the market of the geographic region you plan to work in. You might get a feel for what's in demand by looking at job websites.

To reliably get a job in my local area, I'd jump on the Microsoft stack. C#, ASP MVC, Sql Server.

Web-based software dominates the job market just about everywhere. So basic competence with HTML, CSS, and javascript will serve you well.

Foober223··on Why is there no Git workflow for non-devs?
The UI itself would have to make it clear what is happening. So clear that it can be used without training. Is this even possible to achieve? maybe yes. I've seen visual representations of branch and re-base that make it clear what is going on, but they were teaching tools, not the actual tool itself.

The developer of the UI may be biased as they already have the hard-won knowledge of branch, merge, multiple remotes, pull/push, etc. The biased developer will confuse good looks UI with intuitiveness. Or they will go down the wrong path and create a UI that is very practical for people who already have hard-won knowledge, but no so much for normal people.

The biased developer will think the answer to these problems is "training" instead of making the UI naturally visually intuitive.

Foober223··on Ask HN: I want to resign with nothing lined up
Sounds like work sucks, but do things by the book. Get a new job lined up before you quit.
Foober223··on Ask HN: I got rejected by all the US colleges I applied to. Now what?
You may not realize it, but you have happy problems.

Many of your peers are starting adulthood with $0. They are about to take on massive debt for a useless degree. All to become an modern day indentured servant to interest payments. For the rest of their life. It makes the old time 7 years of indentured servitude sound like a pretty good deal.

Foober223··on Ask HN: How are you exercising at home?
Double kettle bell complex: cleans, military press, front-squats.

A free standing pull up bar. Randomly do 2-3 pull ups through out the day.

Pushups.

kettle bell swings.

Loaded carries through the house. Waiter walks, farmers carry, racked carry.

No long cardio specific training, but the heart gets worked.

Foober223··on Ask HN: What are you doing to develop immune system?
I see a lot of comments about sunshine exposure. Just want to make a counter-point. My neighbor died of skin cancer after a lifetime of sun exposure. He was in his 60's, not a spring chicken, but not elderly yet either. Now I have a new next-door neighbor :(

Also some very young people die of sun exposure.

I have anecdotal experience that vampires often look many years younger than their sunshine peers. As well as some hard evidence from truckers with the left-side (window facing) of their face greatly aged compared to the right.

It might be wise to moderate the time in the sun. Get some vitamin D, but everything in moderation.

Foober223··on Ask HN: 2020, Language and Framework for Cross Platform Dev (Especially Desktop)
Back end in portable C or C++. Front end using the native OS GUI features. Compile separately for each platform. Many developers may not be a fan of this, but it's the best kind of cross platform for the users. If you need something of heirloom quality on the front-end it's the way to go.

But if front-end GUI widgets literally are your app or a high % of it, then this falls apart. You're basically maintaining 3 separate apps at that point.

Foober223··on Ask HN: Will AI be able to create a more perfect programming language?
> No computer will ever be able to make the leap into creating

But aren't humans proof an inanimate set of atoms can be creative? Electric charge is pushing pressure through a psychical structure for both human brains and man-made computers.

Unless there's something supernatural going on (ie having a soul), I'm convinced real creativity can come from a variety of physical structures, from carbon based human brains to silicon machines.

Foober223··on Ask HN: How did you recover from Covid-19 and how are you feeling now?
I very likely had it with mild symptoms. Testing is not available to people with mild symptoms in my area.

I could feel, and still do feel a mild Bronchitis-like feeling in my lungs. But have/had no difficulty breathing despite that. No shortness of breath.

Had a mild headache and mild sore throat at the height of it. Body was mildly achy in the evening near/at bed time. Occasional cough near the tail end of the recovery.

No medication used. Lifted weights throughout the entire process. Symptoms were very mild but last forever. It's been maybe over a month since I felt the tingle in the lungs, and it's still there.

Foober223··on Ask HN: Predictions for future post Covid-19?
Covid 19 is very mild compared to the first colds unleashed on humanity that wiped out civilizations. It just seems worse now since we are experiencing it.

2-5 years, the whole world will become infected and gain resistance. Minor changes in behavior will be established such as masks becoming socially acceptable in western countries.

Foober223··on Ask HN: What tech is needed to 'escape' quarantine?
Waiting is the technique (technology) that will solve the problem effectively. Gadgets are to monitor people are neat, but I think they are an ineffective technique (technology) against the virus.

Wait a a few years and the virus will have infected most of the world. It will be reduced to the status of a common cold after everyone has resistance. The first colds unleashed on humanity were horrific, but year after year humanity became resistant.

Foober223··on Ask HN: I lost my job
I wouldn't try to micro analyze the reasons for your layoff. The "speak up in meetings" critique is a standard go-to for performance reviews. It basically means you are doing pretty good and they just need some filler for the critique section.

This is a time of troubles. People of all personality types are getting laid off.

Foober223··on Ask HN: Declaration of variables in C++ best practices
Declaring vars at the top of a function makes it easier to see at a glance how much stack memory will be used. But beyond that I don't see any advantage.
Foober223··on Why Don’t We Use Chemical Weapons Anymore?
Depends on the area. In Afghanistan there was a much stronger need for range. Old hunting rifles, not AK's were the most powerful small weapon used by the locals. The US had to bring back the old .308 rifles to compete. And even brought in some newly designed .308 rifles.
Foober223··on Locked-down lawyers warned Alexa is hearing confidential calls
Supposedly your smart phone and smart TV are not passively listening to your offline conversations. That's only done on a targeted basis to people who are being monitored. Your location history however is being passively tracked.

Not defending it, but your smart phone is not quite as bad as Alexa. At least for the moment.

Foober223··on Ask HN: Why should my company use source control?
You can use git locally to get some of the benefits for yourself. No one even has to know. Distributed git FTW.
Foober223··on Ask HN: How to Work for Equity
Are they spending $$$ on marketing? Do they have connections to someone with a problem the software will solve? These things are worth money, and might be worth partnering.

But if this is just something that will be thrown into an app store and hope for the best, then I see 0 value in an idea alone. Make your own 2 day app and throw it into the app store. Reap what you sow.

Foober223··on Ask HN: What are your most favourite editor shortcuts?
For standard CUA editors: Control + Shift + Arrow-key to highlight words.

But I use Emacs so everything I do is a shortcut. Maybe my favorite Emacs shortcut is actually a short-cut framework called Hydra. You enter a temporary state where all key-bindings are shadowed with custom bindings, allowing single key presses to perform anything.

← PreviousPage 3 of 4Next →