HNHacker News
TopNewBestAskShowJobs

Adamantcheese

296 karma · joined March 8, 2017

https://bit.ly/2Y5ET1Y (shortened for search engine privacy)
submissionscomments
Adamantcheese··on Ask HN: What is your money-making side project outside programming?
Still selling that one book. Last time I posted this, someone bought 40 copies of it. 40! That was more than the lifetime sales of it! https://www.amazon.com/dp/1505357888/ref=cm_sw_em_r_mt_dp_U_...
Adamantcheese··on Ask HN: Fastest way to tranfer large files?
Wouldn't you be speed limited by the lowest bandwidth equipment in the mix? Unless it's fiber (or equivalent bandwidth) from end to end you're not going to be able to go faster than what the slowest machine will process. If your outbound bandwidth is limited, you may want to compress files locally first, to save on transfer time. That being said, 64-bit scp will probably work fine? If there's no restrictions, making it a torrent would probably work as well, if you need to transfer them more passively.
Adamantcheese··on Ask HN: What useful internal tools or libraries have you built in your company?
At my last job we had to do builds constantly and put it on hardware, which was annoying because builds took 15 minutes and putting it on the hardware took another 10. Couldn't solve the latter because it wasn't in our domain, but the first half I managed to "multithread" a build using a really hacky batch script compliation method, with a make file calling the compiler in a new command window for each file that needed to be compiled, with some checks for "needs to be compiled" or "wasn't changed". An extra script at the end of the process made sure that all the compiler instances finished before continuing with the next step. All of that work got it down to 2 minutes, or in small change cases, about 30 seconds. And another part of that was integrating some configuration data with existing files, which was simple as writing up a bunch of excel macros to do the copy/pasting and file output. It was hooked up to a shared folder on the network so the other team could just do their part, and then my part was entirely automated. In fact, the team testing things could do everything by themselves without any input from me at that point and only needed me to answer certain questions.

Yes, it's really hacky and the whole thing is entirely silly and could have been solved by using more proper tools (i.e. not a defunct make software without wildcard support for input files or Excel for configuration), but I was VERY pleased when I got it working.

Adamantcheese··on Jailbreaking Subaru StarLink
It doesn't look like it. The cheapest new car I just looked at was a Hyundai Accent for $14k and it came with a touch screen infotainment system. Even a manual 2019 Nissan Versa for $13.4k has one. Seems like it's the new norm, like how radio became the norm in cars after some time. I bet people were complaining about that in the same way you are now.
Adamantcheese··on Removing Array Duplicates
That's what I though as well. In which case it's better to just keep it in a set-like structure initially, or just dump your entire array into a set afterwards. That's linear time, which is loads better than any of the solutions presented.
Adamantcheese··on Ask HN: Does the web need a `license` tag?
Kinda like robots.txt, there's nothing preventing a crawler from ignoring it or omitting it and just doing whatever it wants. Slapping in a massive header comment might work.
Adamantcheese··on Ask HN: What feature would you want HN to have?
Middle click links? It's a good habit.
Adamantcheese··on Ask HN: Do you keep a journal of ideas?
I've got a little notebook of things I write down. Had to spend that mandatory college cash on something. It's got a little band to keep it closed and one of those built-in cloth bookmarks.
Adamantcheese··on Ask HN: How do you look for a new job?
Find companies on job boards, find jobs on company sites. Glassdoor to check if it's relatively OK. Resume doesn't mean much because even with tailoring I got nothing. But if you do need to, use .docx files. Avoid PDF, it can't be parsed correctly (most of the time) because it's a print format, not a text format. Avoid using Monster at all costs. The number of emails I got for things I wasn't even remotely qualified for was insane.
Adamantcheese··on Ask HN: How can software engineers help stop climate change?
Can you stop cryptocurrency? No? Then probably not much.
Adamantcheese··on Ask HN: Will potentially be sue as a developer
Lawyer up, don't ask here.
Adamantcheese··on The Myspace Dragon Hoard (2008-2010)
There doesn't appear to be any way to contribute. The source for the viewer is here: https://archive.org/details/myspace_dragon_hoard_searcher

Using Firefox, if you open up viewer.js in the debugger and set a breakpoint on line 265 where archiveurl is being set and select a track to play, you should be able to manually pick out either the zip file that contains it, or the file inside with the weird, jumbled name.

Adamantcheese··on How many hours do you reCAPTCHA per week?
I use https://github.com/dessant/buster if I need to.
Adamantcheese··on How not to hire a software engineer
I suppose I'll be the first to say that yellow as a background color is a horrible design choice. And it's not even using the background color CSS option alone, it's got some weird tiled single pixel yellow image on top of it! What??
Adamantcheese··on Burnout caused by chronic stress is widespread
I've seen the term "moral injury" be used, which I think is a better description of what usually happens.
Adamantcheese··on Meet Q, a Genderless Voice
It sounds like a poor attempt at voiceover editing. It's nasally and monotone and dull and dreary. There's this strange vibrato throughout it all and there are sudden rapid shifts between a really low and high tone of voice. I'd honestly much rather have something blatantly robotic than this almost successful voice, because all I feel is that I'm being played for a fool.
Adamantcheese··on Ask HN: Which Skill's Make a Full-Stack Developer?
As far as I know, "full stack" just refers to being able to do both front end and back end work, where back end work consists of core website code, database administration, and devops. Full stack is a really broad classification that is defined with other really broad classifications.
Adamantcheese··on Ask HN: I just got fired from a startup. What now?
Apply for unemployment, look for a new job.
Adamantcheese··on Top Scores: Video Game Music
For an article about music, it seems oddly... lacking in samples.
Adamantcheese··on Ask HN: CLI – Java or Python or Go?
Java because you have devs and you can just make a shell/batch script to launch a JAR.
Adamantcheese··on Docker is celebrating its 6th birthday with an easter egg
Neat! Looks like it just animates a few ASCII sprites and confetti. The source is right there anyways.
Adamantcheese··on Ask HN: What's the dumbest thing you've done on the job?
One time I tried to use Visual Studio's git integration and managed to delete the entire remote repository and all commit history. Good thing I kept religious zip backups because I was bad at git back then.
Adamantcheese··on Show HN: A Color Picker I Made
I was about to comment, Paletton is far nicer with the amount of color choice (every color!), but it lacks the examples for simple icons and gradients. The best combination would be to use both together.
Adamantcheese··on How I'm able to take notes in mathematics lectures using LaTeX and Vim
So what I see here is a very impressive, hand built tab completion system for a specific task. Makes lots of things much faster. Now all you need to do is speed it up some more by using less keystrokes and a stenotype machine.

But really the takeaway is the auto-completion. Incredibly useful.

Adamantcheese··on Ask HN: What tools do you use to understand big code-base?
I would have to agree. Find usages along with figuring out where/what variables are or used for will get you a long way. You can also go from the entry point and follow execution order, to the extent that you can.
Adamantcheese··on Ask HN: Advice on self-publishing book of haikus?
I've used Createspace (now KDP Print). Essentially what it boils down to is deciding a cover size, formatting your book internals to fit that cover size, with the appropriate margins (the inside margin where the fold is needs to be larger), spitting out a print-ready PDF, then generating a cover, which consists of the front cover, spine, and back cover. Because your spine size depends on your internal page count, it's best to figure out the internals first. KDP has templates that make it easier to make a cover if you want to do it yourself. Once that's all done, you take your print ready internals and cover, go to KDP or whatever publisher of choice you want to use, and follow the steps. An ISBN will be generated for you (and automatically placed on your cover art), or you can provide your own.

It's basically that easy, and the rest is a bunch of toying around. If you've got everything written in a non-book program, you can format everything with a combination of margin options and page size and VERY liberal use of page breaks. I don't recommend it though. Something like InDesign might be better, but it will have some learning curve. The same goes for your cover, MSPaint could technically work, but something like Photoshop/Illustrator will work better.

Hope that helps, even though it's not very specific. Every step has a lot of sub-steps to take care of and learn about, so take it easy and do it one bit at a time. Focus on book layout first, because if you have a specific style in mind for how your haikus should be laid out on the page, it's going to all happen there, and your page size choice may restrict you.

Adamantcheese··on Ask HN: How do you read the news without getting depressed?
https://en.wikipedia.org/wiki/Mean_world_syndrome

Don't think that because all you read is bad that the world is bad.

Adamantcheese··on Ask HN: Are there any programmers working on a novel and/or series?
I did NaNoWriMo a couple of times. I should probably get around to editing and releasing the second one, it's been uh... an amount of time since.
Adamantcheese··on Ask HN: How to Train Tesseract for Handwriting Recognition of Characters?
From the FAQ: "Can I use Tesseract for handwriting recognition?

You can, but it won’t work very well, as Tesseract is designed for printed text. Look for projects focussed on handwriting recognition."

To which I found https://github.com/githubharald/SimpleHTR, which has a number of references that you should look at.

Adamantcheese··on Ask HN: Tricks to Avoid Eye Problems?
To respond to a click-bait-esque question, just don't have eyes.

But really take breaks, lower the brightness, use the color change function if you work at night, keep the monitor further away from you (check your ergonomics).

← PreviousPage 2 of 6Next →