Better HN
topnewbestaskshowjobs
Log inSign up

VikingCoder

8,119 karma · joined Oct 11, 2011 (15y ago) · 2,990 submissions

Submissions

comment 6y ago · link · parent

A util like I propose would be able to 1) ask what term / ssh you're using, 2) ask you to demonstrate keystrokes and mice and determine if they're working, 3) offer suggestions for how to fix them.

comment 6y ago · link · parent

Can someone please please make a util that configures tmux for me?

I'd like to run a small program that generates a tmux.conf, after asking me some questions, and having me demonstrate my responses.

So step one, it should be able to figure out what version of tmux I'm using. Then it probably needs to know what SSH program I'm using, so it knows how the keyboard and mouse from that program will mess with it.

Picture a Wizard where it asks, "Do you use the mouse to copy and paste? Try to highlight this text: [example1]. Then try to paste it back into this screen." and etc.

Wouldn't this be... kind of an obvious thing to make?

comment 6y ago · link · parent

Fun work! Thanks for sharing.

I was somewhat reminded of Wt [1], and I still wish that were open source. Also reminded a bit of Blazor [2].

[1] https://www.webtoolkit.eu/widgets/layout/

[2] https://docs.microsoft.com/en-us/aspnet/core/blazor/?view=as...

comment 6y ago · link · parent

I'm just going to state again what I want, which is only tangentially related to the topic...

1) I go on Github and configure a service

2) I make a wallet that people can donate to

3) I start up a virtual machine, aimed at the Github, using the wallet to pay for the time on the machine. The virtual machine host guarantees that the code at that Github is what's really running.

I can imagine lots of other things I want, too, but this is the bare minimum. I think it'd be really useful in a lot of scenarios.

comment 6y ago · link · parent

It's not exactly what you're asking for, but maybe Sandstorm.io might be useful.

comment 6y ago · link · parent

More like shortly after 9/11. Or after the 1918 flu. Or...

comment 6y ago · link · parent

It's weird, it's almost like this is following the exponential growth that literally everyone said it would.

comment 6y ago · link · parent

Home printed guns are pretty likely to misfire, don't you think?

If you want a gun, your best bet is probably to go and buy one.

comment 6y ago · link · parent

I'm a huge fan of requester pays, and I frankly don't understand why we haven't switched more of the internet to it.

I'm also a liberal, so then I also think government should give everyone a monthly quota of internet usage allowance. Universal Basic Internet Income, or something.

comment 6y ago · link · parent

I highly recommend the Daniel Suarez novels Daemon and Freedom. They start with a (computer) virus taking over the world, and end up asking all kinds of interesting questions about long supply chains and how much we should trust in government and big business.

comment 6y ago · link · parent

Or if your asset gets delisted. Or if there is no list.

comment 6y ago · link · parent

Why do you presume there won't be another external or systemic recession in the next 18 months?

You can't just assert it's temporary. You can say, "The causes of this downturn are temporary."

We have no idea what the market will do in the future. We have strong evidence it will recover, but that's not the same thing.

comment 6y ago · link · parent

Like how I looked at the S&P 500 in my comment?

And it's gotten worse, here's an update from CNN:

"The S&P 500 fell by 7.7%, blowing through the first circuit-breaker level that it tripped minutes after trading opened for the day. The S&P 500 is on pace for its worst day since December 1, 2008, when stocks fell by just over 9%.

The Nasdaq was down "only" 6.7%."

comment 6y ago · link · parent

The largest daily point loss in the Dow is -1,190. Today we briefly hit -2030.

The 19th largest daily percentage loss in the Dow is -7.32%. Today we briefly hit -7.9%.

The 19th largest daily percentage loss in the S&P 500 is -7.18. Today we briefly hit -7.2%.

If you don't classify that as a "crash," then please state your criteria for us to examine. It may not be a major crash, but it's definitely notable.

https://en.wikipedia.org/wiki/List_of_largest_daily_changes_...

https://en.wikipedia.org/wiki/List_of_largest_daily_changes_...

comment 6y ago · link · parent

Yeah, but it did. It knew where I was, based off of IP I presume.

comment 6y ago · link · parent

When I search for Fish Tacos on DDG's maps and Google, it's night and day.

DDG gave me 4 results, none anywhere near me.

Do you have a suggestion for how I could have been more effective?

comment 6y ago · link · parent

It's Lent, so I just searched for "Fish Tacos" and clicked on Map. It showed four places, none of which are anywhere near me. I click on Directions and it takes me to Bing.

Do the same thing on Google, see a dozen places in my neighborhood, and I get Google Maps navigation.

What do you get in your searches for Fish Tacos? Do you have a better experience with DDG?

comment 6y ago · link · parent

> The sky's the limit when we do the things we were "born" to do.

I tend to think the sky's the limit, and we all need good mentors. Check out "Stand and Deliver", another great movie, based on a real story.

comment 6y ago · link · parent

Oooh, thanks! Updated!

comment 6y ago · link · parent

If you leave because of principles, it may be useful to others to explain your position.

If you don't like content, great, move on. No need to make a big deal about it. It's just a web page.

comment 6y ago · link · parent

Hrm - "To start, the standard bathtub will hold roughly around 80 gallons (302 liters) of water. Much smaller bathtubs can only hold around 40 gallons (150 liters) of water, which typically are more suited for smaller children or function more as a shower space."

30 gal seems too small.

comment 6y ago · link · parent

EDITED:

bathtub ≈ 302 liters

football field = 5351 square meters

They achieved 5.78 L/m^2/h

So 5351 m^2/football field * 5.78 L/m^2/h = 30928.78 L/h/football field

30928.78 L/h/football field / 302 L/bathtub = 102.4 bathtubs/football field/hour

h/t to brudgers for the correction about football field surface area!

comment 6y ago · link · parent

I'm very much reminded of this:

https://www.geek.com/chips/john-carmack-explains-why-its-fas...

comment 6y ago · link · parent

While we're at it, can we please move the homogeneous coordinate to be the first value in memory? That way, a vector or a point, if they're represented sparsely in the data structure, just work.

[1], a point at the origin, is the same as [1 0] - a point at the origin in 1 dimension, or as [1 0 0], a point at the origin in 2 dimensions, or [1 0 0 0], a point at the origin in 3 dimensions.

Similarly, [0] is a zero vector. [0 0 0 0] is a zero vector in 3 dimensions.

Having to know [0 0 1] is a point at the origin in 2 dimensions (with a homogeneous coordinate), while [0 0 1] is a z vector in 3 dimensions (without the homogeneous coordinate), is just silly.

Why did we do this to ourselves?

comment 6y ago · link · parent

I'm pretty sure the next thing I want to use is very similar to sandstorm.io, but instead of apps being centralized, they're federated. The OS will moderate the connections between services. The services will just see messages and contacts.

comment 6y ago · link · parent

Is there a TRS-80 emulator in a browser? Found one:

http://trsjs.48k.ca/

comment 7y ago · link · parent

...and they hired someone who worked on Family Separation:

https://www.buzzfeednews.com/article/ryanmac/miles-taylor-fa...

Wouldn't that kind of negate your point?

comment 7y ago · link · parent

John Carmack could set up a Patreon for us to watch him vlog his progress, and could earn more than most of us ever will.

comment 7y ago · link · parent

Let me try to make a metaphor for you. Imagine that you create HTML content, and you're considering sharing it with the world. You propose to create a "web server". The DBA next to you says you should just use MySQL. Stunned, you try to explain that your proposed "web server" will communicate using this new "HyperText Transfer Protocol." The DBA counters that SQL is fine. You try to explain about dynamic content and PHP, etc. The DBA counters that SQL stored procedures can do all of that.

Next thing you know, grandma is typing:

SELECT * FROM GOOGLE.COM WHERE TITLE LIKE "%CAT PICTURES%";

That's just an analogy, of course. But perhaps you can imagine your own list of reasons why MySQL didn't replace Apache.

The answer to your question is that we could not possibly use any off the shelf software to provide the interfaces we needed (we were writing our own). By the time we had bytes that we needed to store somewhere, our data was about a GB of complicated structure that we accessed as memory-mapped files. (Look at https://capnproto.org/ for a rough analogy to the kind of access we needed.)

And what I didn't say was that the DBA was literally recommending MySQL BLOBs, storing a bit more than 0.5 MB (512 * 512 * 2 bytes of image data) in each row, having a thousand rows or more per CT scan. The performance of that would have been absolute crap. It made literally zero sense.

comment 7y ago · link · parent

Hi, once upon a time, I worked with medical image data. I literally had a DBA suggest storing the volumetric data in a database. I worked to diligently to explain to him why he was incorrect. When he resisted my explanations and tried to push forward with his plan, I worked diligently to get him fired. I was successful.
1
353637
100