HNHacker News
TopNewBestAskShowJobs

idsout

148 karma · joined February 8, 2016

submissionscomments
idsout··on What every programmer should know about memory, Part 1 (2007)
https://youtu.be/rX0ItVEVjHc?t=4681
idsout··on Jetbrains founders turn billionaires without VC help
I was one of those people up until around a couple years ago. Now I don't even know what I thought was such a big deal. The Jetbrains Toolbox makes it really simple to launch and update the individual IDEs.

My employer pays for the ultimate license, but I will absolutely pay for it once I move on.

idsout··on Monica: Personal CRM. Remember everything about your friends, family and etc.
I'd love something like this packaged as an offline only desktop app. I can't trust any third party to protect such personal data about myself and the people I care about. I suppose there's the option of self-hosting and allowing only localhost...
idsout··on Try these 4 languages from 4 corners of Programming
I really enjoyed the book, Seven More Languages in Seven Weeks and regularly recommend that to people looking to expand their arsenal.
idsout··on AMD Threadripper 3990X 64-Core beats dual Xeon Platinum 8280 in benchmark leak
All in One (AIO) also known as a closed loop cooler for the uninitiated. They're water coolers that come in a single pre-built piece that you just attach like any fan.

Source: Been rocking Corsair AIO coolers for around a decade now. I did have have the pump fail in one of them after around seven years of use.

idsout··on Compress objects, not cache lines: an object-based compressed memory hierarchy
Another great talk on data-oriented design, given by Mike Acton at cppcon 2014 https://www.youtube.com/watch?v=rX0ItVEVjHc
idsout··on MIT Hacker Tools: a lecture series on programmer tools
Thank you so much for sharing your knowledge with the world. I'm excited to follow along with this and I love your Rust streams.
idsout··on Show HN: Unix-like personal webpage
ANSI escape sequences. Your terminal interprets them like move cursor to row x, column y. Set color green. Etc.

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

idsout··on Show HN: Unix-like personal webpage
Sad poem :(
idsout··on Death to C, ++
What does cost mean here? Performance?

You do not pay a performance cost for borrowing semantics in rust.

idsout··on Death to C, ++
Given a mutable vector:

c++ will let you push_back while holding a reference to an element of that vector. rust will not.

idsout··on Death to C, ++
Marking it as const will not allow you to push_back. c++ has no problem letting you maintain a reference to an element in the vector while calling push_back.
idsout··on Death to C, ++
It's way too easy to do something like this in c++:

    auto v = vector<int> { 1, 2, 3 };
    auto &e = v[0]; // plan to use element later
    // ...
    v.push_back(v.size());
    // ...
    cout << e << "\n"; // boom
As a real example of this: suppose you're managing a vector of connected users. v is large enough to hold 64 user structs. e is a reference to the last user who produced an event. If a 65th user connects then the vector will need to be reallocated, thereby invalidating e.

Rust saves you here. The compiler will let you have a reference to the element if the vector is marked as immutable. If the vector is marked as mutable the compiler will yell at you and you'll need to store an index instead.

idsout··on How is GNU `yes` so fast?
Within this thread someone pointed out https://github.com/cgati/yes/blob/master/src/main.rs. This rust version gives me 7.81GiB/s versus GNU's 7.54GiB/s.
idsout··on Rust Memory Management
One reason that comes to my mind is more control over resources. You can be sure the memory allocated for the two vectors in main is freed in add_first_element.
idsout··on Pattern Matching for Java
I would love to see this land in Java. Pattern matching is one of my favorite features of Rust.
idsout··on The Rust Programming Language Pre-Sale
Aha, changing the URL to https://www.nostarch.com/Rust (https) worked for me.
idsout··on The Rust Programming Language Pre-Sale
The No Starch shopping cart is having issues for me. I'll come back later in the day and try again. I got to "Review your order", then "You have no items in your shopping cart."
idsout··on Jq – Work with JSON on the command line
Now check out ripgrep (command `rg`) https://github.com/BurntSushi/ripgrep, the ag/ack killer ;).
idsout··on Htop explained
You swapped the child and parent in the printf statements here https://peteris.rocks/blog/htop/#z-defunct-zombie-process-te....

  printf("The parent process is exiting now\n");
This should read child is exiting.

  printf("The child process is sleeping now\n");
This should read parent is sleeping.

Overall, I really enjoyed the article.

idsout··on SeaHash: A fast, portable hash function in Rust
Better integration within the Rust library ecosystem. Instead of having to install a C/C++ library through my package manager, I can just add the seahash dependency to my Cargo.toml file and cargo will handle the rest.
idsout··on George Hotz cancels his Tesla Autopilot-like ‘comma one’
He posted the answer to this on Twitter: "Would much rather spend my life building amazing tech than dealing with regulators and lawyers. It isn't worth it."

Money isn't everything to some people. He has the true hacker ethos.

idsout··on Logo Pizza: Hot and ready logos for sale
I would hardly call my question ranting. I figured it was possible the author had created the logo, but I didn't know for sure.
idsout··on Soaring Student Debt Prompts Calls for Relief
That works, thanks.
idsout··on Soaring Student Debt Prompts Calls for Relief
Can't read the article without signing in or subscribing.
idsout··on Logo Pizza: Hot and ready logos for sale
They are allowed to use the bower logo?

http://logo.pizza/img/custom-logos2.png

https://bower.io/img/bower-logo.svg

idsout··on Kimchi: HTML5 management interface for KVM
At least with oVirt, agent software is installed in the guest that speaks to the oVirt manager.
idsout··on Kimchi: HTML5 management interface for KVM
I currently manage an oVirt installation and was surprised to see almost 20GB of memory allocated on the management node before I had a single VM spun up. It's not light, but it is powerful. Makes resizing disks, setting up networks, connecting to storage domains (Fibre Channel, iSCSI, NFS, etc), migrating VMs, logging, and many other common tasks very easy to do. The latest release, 4.0 has a beautiful dashboard that gives you a quick overview of your pool of resources.

Finally, every guest OS I've run has a build of an ovirt agent that reports back to the management node on its configuration (installed software, cpu/mem/io usage, ip addresses, hostname, etc).

idsout··on Posture Affects Standing, and Not Just the Physical Kind
This is so true. One day a couple years ago I decided I would work through the pain of sitting up straight. I think it only took around 2-3 weeks of sitting like this for it to become comfortable.
idsout··on ITT Technical Institutes Shuts Down
Pretty sure this is why OP is glad ITT exists no longer. Someday people won't confuse their respectable college with ITT.
← PreviousPage 2 of 3Next →