Better HN
topnewbestaskshowjobs
Log inSign up

plusplusungood

50 karma · joined Sep 4, 2023 (3y ago) · 18 submissions

Submissions

comment 2d ago · link · parent

> that could be bigger than the White House

What kind of ridiculous freedom unit is that? Tell me how many football fields it is.

comment 6mo ago · link · parent

What's your point?

comment 7mo ago · link · parent

> Taking advantage of the $200 plan.

No, I'm paying $200 a month for a premium product that I expect premium service for. It's the single most expensive IT expense I have. Taking advantage my foot.

comment 8mo ago · link · parent

I worked for a company once where we ran this dodgy shipping software on prem that integrated with our backend via SQL access. When there was an issue, their techs would rdp to a server and run this little VB app that turned out to be a dialog box that could run arbitrary SQL code against our production database.

I trust that more than this nonsense. WTF are we doing?

comment 8mo ago · link · parent

Probably could just ask the phone companies. Free advertising to visit their dying phones?

comment 10mo ago · link · parent

That is analogous to the water company charging you more if you use a faucet from another company. It's not a fair competition.

That's why we are supposed to have legislation to regulate that utilities and common carriers can't behave that way.

comment 1y ago · link · parent

Ah, the infamous, but fictional, Monkey Ladder Experiment.

comment 2y ago · link · parent

LINQ is not the same as LINQ-to-SQL. The former is a language feature, the latter a library (one of many) that uses that feature.

comment 2y ago · link · parent

In addition to the standard ways of dealing with this given by other commenters (keeping the original input around), perhaps more interesting is to imagine how befreak might compute 12 mod 4 using repeated subtraction.

I'm not clever enough to write the solution, but I imagine a loop using the branching operators (<, >, v, ^). Since each time through the loop pushes a bit onto the control stack, you have a built-in count for the number of times the loop was traversed.

In the example of 12 mod 4, the program would loop through 3 times and break once giving you 0001 (or 1110) on the control stack and something like 12, 8, 4, 0 on the stack. Then when reversing, control bits would be popped off and you'd end up going back 0, 4, 8, 12.

comment 2y ago · link · parent

Funny, a kid at my son's science fair did this for their project. I don't recollect if he had a bibliography...

comment 2y ago · link · parent

Yeah... I think this article is bullshit. A better analogy, imo, is the somewhat cliche rocks in a jar. I'm my experience, you get ONE big thing in your life. But there can still be room for other, smaller rocks.

But the overall message is fine, if obvious. You have to prioritize, you can't do everything.

comment 2y ago · link · parent

Also his name, said aloud, is a tautology. France is French.

comment 2y ago · link · parent

I used this fact in an interview ages ago. The interviewer wanted a function, in Java, that shuffled a deck of cards such that every permutation was equally likely. I pointed out this was not possible using the standard library random functions since the seed is a long (akshually... it's 48 bits).

They inexplicably hired my know-it-all ass...

comment 2y ago · link · parent

The regulation has changed and no longer limits use at altitude. Source: have launched high altitude balloons to 100000' and https://space.stackexchange.com/a/14695.

You still have to be careful to buy a GPS unit that isn't limited in altitude, though.

comment 2y ago · link · parent

Really going above and beyond on that, "write a function that reverses a string in place" interview question, aren't they? I'm afraid I'll have to dock points in simplicity though.

comment 3y ago · link · parent

That is pretty much exactly what I was looking for. Maybe a touch more complicated than what my 11 year old is ready for; but something he can stretch a bit with. Thank you!

comment 3y ago · link · parent

I'm looking for something similar for PID controllers, or control systems in general. Specifically for a teenager. Most sources I can find are either college textbooks or overly simple summaries for FIRST Lego League.

comment 3y ago · link · parent

For 1, it depends on the building. Early Amazon buildings did not require badging out. I'm my experience, they've been switching to badge out turnstiles over time. That said, I don't think they're using that data in the reports yet. I know of people who simply badge in and go home.

For ooto, they are not tracking this correctly. I received one of the nastygrams when I was on vacation. I forwarded it as my notice of resignation.