Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sa46
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
sa46
8y ago
> Back in the Colonial times, sharp smart lads went to prestigious military schools and learned the complexities of how to subjugate conquered people. How to efficiently run a slave camp. Source? My understanding was military academies f
392.
▲
by
sa46
8y ago
What would you do differently than the Marines experiment? What's the appropriate metric? I don't really see a better way than measuring task performance.
393.
▲
by
sa46
8y ago
I'd be curious to read that study as it seems to contradict the article. I didn't see it sourced in the article.
394.
▲
by
sa46
8y ago
What about non-obvious threats? Generally speaking, nations that fall behind technologically fare poorly against more advanced nations. What about software that is adapted by the military for new use cases instead of tailored use cases? S
395.
▲
by
sa46
8y ago
Under what circumstances is it acceptable for a company to provide services or software to a military?
396.
▲
by
sa46
8y ago
Drive by code review, you can end a line with the pipe (also && and ||) to avoid a backslash. some_command | grep -E 'some.*regex$' | sed -e 's/erase_text//g' | sed -e '
397.
▲
by
sa46
8y ago
Author here, OSC 52 looks promising. I didn't realize there was an escape code for clipboard integration. You're the second person to mention /tmp for IPC is bad. Why is it bad? [1]: https://medium.freecodecamp.o
398.
▲
by
sa46
8y ago
Why is /tmp not suitable for IPC? Is it because it's generally more open than a home directory?
399.
▲
by
sa46
8y ago
Author here. I figured it was an easy enough hole to fix that it was worth including. The ZSH line editor will paste without sending the command so you don't really harm usability. Installing dev tools via paste and pipe into sh is fa
400.
▲
by
sa46
8y ago
Author here, this is a rather pleasant Sunday surprise. I'm not sure I'd recommend the route in the post. The setup is fragile with a sizable set of moving parts. Simpler options are doubling down on Emacs with TRAMP or using the
401.
▲
by
sa46
8y ago
Google's Spanner doesn't support foreign keys but does support interleaved tables to cover some use cases of foreign keys. Spanner sees wide use inside Google. The usual routes for data consistency between tables are batch clean
402.
▲
by
sa46
8y ago
It's true that booby traps are not allowed by the Geneva convention but that convention only applies to conduct in a war. I'm curious what law applies in the US.
403.
▲
by
sa46
9y ago
Nice, I'd like to hear your story if you don't mind sharing. I have a similar background. Infantry for 6 years and switched to programming about two years back.
404.
▲
by
sa46
9y ago
What does "less parsimonious" mean in this context? The definition has "unwilling to spend money or use resources; stingy or frugal" but I'm not sure what you're describing as less frugal. Is it a way of sayin
405.
▲
by
sa46
9y ago
Google Java format works if you're okay with the Google style guide. https://github.com/google/google-java-format
406.
▲
by
sa46
9y ago
A large chunk of third party usage is open source Google libraries like Guava. Anecdotally, I don't end up using that many libraries from third party. As for JavaScript, the hassle of importing the entire transitive closure of an NPM
407.
▲
by
sa46
9y ago
The military leave system doesn't discount weekends. So 30 days is closer to 4 weeks. You also can't chain together a weekend at the start or end of your leave. You must use leave for the weekend. Also, most line units have bl
408.
▲
by
sa46
9y ago
An interesting variation to this thought is: When is appropriate to fire someone for making a mistake? Some ideas: - gross negligence / malice - ethics - publicity damage / internet pitchforks Additionally, it doesn't seem li
409.
▲
by
sa46
9y ago
I don't see any pedantry. OP said they dropped all sugar which would imply natural sugars as well. > I dropped all forms of sugar and corn syrup a few months ago. [...] > I eat bananas, apples, peanut butter and chicken. Learne
410.
▲
by
sa46
9y ago
You're right that fzf doesn't replace find. Fzf is just an interactive, filtering tool. You can pipe anything into it. find is a common way of populating it with data. I suspect the GP meant that fzf replaced the pattern 'f
411.
▲
by
sa46
9y ago
American style (Chicago, APA, and MLA) specifies that a period goes inside the quotations. British style, on the other hand, specifies that a period goes outside the quotations. http://blog.apastyle.org/apastyle/2011&#x
412.
▲
by
sa46
9y ago
I notice a couple times a day. Any large mode will usually cause noticeable jankiness. My usual suspects are js2-mode, email modes like gnus, and evaluating org-src blocks. There's hacks for some of these, but having threads natively
413.
▲
by
sa46
10y ago
Known as Gall's law. From Wikipedia: Gall's Law is a rule of thumb for systems design from Gall's book Systemantics: How Systems Really Work and How They Fail. It states: A complex system that works is invariably found to ha
414.
▲
by
sa46
10y ago
http://doc.norang.ca/org-mode.html is awesome for inspiration but it's a ton of information. I think your point about pre-packaged Emacs configs also applies to org-mode configs. For building a productivity system, I
415.
▲
by
sa46
10y ago
Isn't life insurance fraud by suicide selling your life for a chance at money, usually much less than $2 million?
416.
▲
by
sa46
11y ago
Regarding teaching land navigation by compass: I teach light infantry tactics to new lieutenants for the US Army. There's a couple reasons to use old-school methods over relying on your GPS: * Using a compass and a map gives you a muc