2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions
comment 1y ago · link · parent
What if you had a single server with a zillion cores in it? Maybe you could take some 15 year old MPI code and run it locally -- it'd be like a mini supercomputer with an impossibly fast network.
comment 1y ago · link · parent
comment 1y ago · link · parent
The only issue I have with software conservatism, like Debian, is that some new thing requires something newer. If you live in a world where you can do without the new thing, then it's really quite nice. Security patches are another matter, but are usually dealt with.
I like to be on the bleeding edge, but Debian was created for a reason. Only time can determine which configurations don't suck.
comment 1y ago · link · parent
When you select an app to install on Google Play, it takes you to another screen confirming the install. But that install button on top is not for the app you selected, it's for a different, advertised app. You have to scroll down to find the confirmation button for the app you already instructed the store to install.
This isn't going to ruin any lives, but it's gross.
comment 1y ago · link · parent
1. The hacker news title.
2. The tab title.
3. The image at the top left.
4. The text section to the right of the image.
5. The second sentence.
6. Different crop of the same image from before, but now below the second sentence.
I know that this isn't a curious comment, but holy shit dude.
comment 1y ago · link · parent
$ ldd /usr/bin/rg
linux-vdso.so.1 (0x00007fff45dd7000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000070764e7b1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000070764e6ca000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000070764de00000)
/lib64/ld-linux-x86-64.so.2 (0x000070764e7e6000)
The worst is compiling a C program with a compiler that uses a more recent libc than is installed on the installation host.comment 1y ago · link · parent
> When done right, animations make an interface feel predictable, [...]
Predictable how? If you anticipate the animation, then you will have predicted it. But you also could anticipate the lack of an animation, and you will have predicated that.
> When done right, animations make an interface feel [...] faster,
Do they make the interface feel faster because no transition ever occurs in less time than the animation? Or is it that literal motion on the screen tricks us into thinking something is "going fast"? A nearly instantaneous, unanimated change in view must feel faster than an animation, no?
> When done right, animations make an interface [...] more enjoyable to use. [...]
This is true sometimes. It's particularly true when you're interacting with controls that have a "real physical world" analogy, like buttons, sliders, and page flips. On the other hand, if I click a button and a bunch of sparkles happen, that's not enjoyable to me.
> When done right, animations [...] help you and your product stand out.
If your product has animations and competing products do not, then yours stands out insofar that it has animations.
> But they can also do the opposite. [...]
Correct!
> So how do you know when and how to animate to improve the experience?
> Step one is making sure your animations have a purpose.
Or... don't use animations unless the app involves animation. Or do, there's nothing I can do about it.
comment 1y ago · link · parent
Clojure's data structures are easier to use, though.
[1]: https://www.gnu.org/software/guile/manual/html_node/Methods-...
[2]: https://www.gnu.org/software/guile/manual/html_node/Hash-Tab...
[3]: https://lists.gnu.org/archive/html/guile-devel/2022-01/msg00...
comment 1y ago · link · parent
Those people you have to pay, because they can do well in other positions. But paying them contradicts the goal of minimizing cost.
I'm not saying there isn't an opportunity to invest in top notch customer service as a product differentiator, but it's probably a safer bet to have barely-existing support and lower the sticker price.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Genetically tweaked to be more compatible with the humans that might harvest their organs, but then they became a bit too human. Then scientists were like fuck it how far can we go with this. Hyperpigs.
Scorpio is not as interesting a character as I would like, but he's a good pig.
comment 1y ago · link · parent
The trouble with good docs is that they are work to maintain, like good code. If we decide to change this component in a substantial way soon, which we likely will, I'd have to practically rewrite the docs! Why bother?
Because the docs are part of the code. Write the docs.
I don't expect to win this crusade, but I'll keep writing docs anyway. Then later people will modify the code without modifying the docs, and so the docs will be a lie, but still useful, I think.
It's like asking three people who are not closely familiar with a component, but who have worked with it, "what is this thing, how does it work?" You will get three different answers. It would be nice if one of them were a written description straight from the horse's mouth, even if the component is now more of a camel.
comment 1y ago · link · parent
Integration tests are closer to what you want to know, but they're also more. If I want to make sure that my state machine returns an error when it receives a message for which no state transition is defined, I could spin up a process and set up log collection and orchestrate with python and... or I could write a unit test that instantiates a state machine, gives it a message, and checks the result.
My point is that we need both. Write a unit test to ensure that your component behaves to its spec, especially with respect to edge cases. Write an integration test to make sure that the feature of which your component is a part behaves as expected.
comment 1y ago · link · parent
This way, good documentation is priced into my estimate for the project. I don't have a work item "spend a few days documenting." Nope, if I'm doing a foo then that includes documenting a foo at the same time.
comment 1y ago · link · parent
A while back, they thought that they might have found something at 700 MHz. Then went looking again and it was gone. My professor said that it was probably a CPU in the lab.
[1]: https://en.wikipedia.org/wiki/Axion_Dark_Matter_Experiment
comment 1y ago · link · parent
My understanding of the article is that there is nothing that a user will be able to do to install your software.
> “developers [that we approve] will have the same freedom to distribute their apps directly to users through [installation] or to use any app store they prefer.”
So, less freedom.
comment 1y ago · link · parent
This might do more good than harm, since I'm willing to believe that scams involving APKs are prevalent, but come on. I need your permission to install software on my phone? Are you sure it isn't just that you want more control over everyone's phones?
comment 1y ago · link · parent
I haven't worked with too much Java, but I suspect that the distaste many have for it is due to its wide adoption by large organizations and the obfuscating "dressed up" tendency of the coding idioms used in large organizations.
The runtime isn't inherently slow, but maybe it's easier to write slow programs in Java.
comment 1y ago · link · parent
[This guy][1] does a bunch of hydroponics and hydroponics adjacent projects outdoors.
comment 1y ago · link · parent
What I got from Hickey's talk is that he wanted to design a system that resisted the urge to encode everything in a stored procedure and run it on the database server.