HNHacker News
TopNewBestAskShowJobs

xiii1408

748 karma · joined November 2, 2014

submissionscomments
xiii1408··on Elsevier cuts off UC’s access to its academic journals
Career progress in academia is mostly based on publications in top-tier journals in your field. If those journals aren't open access, you're required to publish in closed access journals if you want to (1) get a Ph.D., (2) get tenure, etc.
xiii1408··on Elsevier cuts off UC’s access to its academic journals
At least with most DOE-funded research, we're required to retain the copyright to the official "release" copy of papers. This allows us to redistribute the official paper ourselves.

Even if you don't retain the copyright to the camera-ready version of your paper, you can just redistribute a preprint version that is almost identical (on arXiv and/or your website).

xiii1408··on English speakers should learn math instead of a second language
Yes, this.

A "global language" is by definition a language learned by significant numbers of people as a second language [1].

By most people's accounting, only English, French, and Spanish are global languages. "Minor" global languages on the rise include Mandarin, Arabic, and Hindi, but these do not have nearly the geographical distribution nor the populations of second language learners that the main global languages have.

That said, unless you have a partner or other significant connections to your target language community, consume a large amount of target language media, or are living in a country that speaks your target language, speaking to other people is not the main motivation to learn a language. You learn a foreign language because it's fun and because there are numerous studies indicating knowing a foreign language benefits your mental abilities and health.

[1] https://en.wikipedia.org/wiki/World_language

xiii1408··on China is building a floating train that could be faster than air travel
I'm continuously baffled by our (Americans') fixation with innovating on public transit technology instead of actually building any that people could use right now.

Why focus money on developing a hyperloop++, when we could have something almost as good with technology that currently exists?

xiii1408··on Hong Kong protesters occupy legislative chamber
Yeah, there's at least a supreme court precedent, set by Texas v. White. It outlawed unilateral succession, but ruled that "revolution or consent of the states" can lead to secession.
xiii1408··on Hong Kong protesters occupy legislative chamber
In each of those cases there's absolutely a process (albeit a long and arduous process) for secession. It's a process truly democratic countries need to have.

Don't forget that Scotland very nearly did leave the UK, with the government's consent, in 2014 (but the referendum didn't pass).

The Catalonia case is a bit murkier, since the Catalan government did not actually reach an agreement with the Spanish government before they went ahead with the referendum. Also because of irregularities seen by international observers during the referendum, the Catalonia referendum result was generally not recognized.

xiii1408··on Schools are using unproven surveillance technology to monitor students
A neighboring school to my high school actually was a women's prison before it was repurposed as a high school.

That said, the architecture was actually quite nice, with lots of natural light and open space.

xiii1408··on Red Hat Expecting X.org to “Go into Hard Maintenance Mode Fairly Quickly”
When I first realized you could do this I was blown away. Just set `DISPLAY` in your environment to an X server (any X server, anywhere) and any applications you run will appear there.

Of course, there are immense problems with this. For one thing, it's usually crippled by latency. Even if the client X application is in a Docker container on the same machine, applications are only halfway usable. Use a local Ethernet network, and things start to fall apart. Going over the Internet isn't really worth trying.

The other major problem is that there's no security. If you have an open X server, anyone can connect to it and run random applications on your display. But in addition to opening you up to annoyance from cyber-hooligans, allowing an X application to run gives it access to all your keystrokes, which may not be something you want. Beyond that, all the X data is going out over the network unencrypted. There's just no security model here.

That said, it would be cool if there were some kind of plugin for Wayland that would let you use this feature (or even something better, if someone wanted to implement that). I've wondered---can you set up XWayland to be an open X server and just let random X applications connect to it? It would be interesting to hear from Wayland experts on this point.

xiii1408··on Hundreds of thousands take to Hong Kong streets against controversial bill
The SCMP wants to be seen as an authoritative regional news source, so it avoids blatantly biased coverage on the news side. It's generally pretty neutral.

The opinion and longform side of the paper are another matter, though. Almost all the columnists are pro-Beijing hacks at this point. It's kind of like how there's a divide at Fox between the "news" side, which is relatively reasonable (e.g. with Chris Wallace), and the "opinion" side (e.g. Bill O'Reilly an his ilk). While the news folk at these kinds of places might be principled journalists, their ultimate purpose is to legitimize the propagandists on the opinion side.

xiii1408··on Dear Bureaucrat, my job wants me to lie
Shit! Did you get the bonus in the end?
xiii1408··on Maine Governor Signs Strictest Internet Protections in the U.S.
Is this actually true, though?

To figure that out, you'd need to do a speed test to the target host, then do another one while simultaneously running Speedtest.

Your Internet speed is also affected by the peering agreements your ISP has, i.e. how "well connected" it is to the ISP of your target host. Speedtest targets (and Fast.com) are pretty well-connected; i.e. they have a lot of peers, so you can get to them in relatively few hops. Many times, they're even run by your ISP, so the number of hops is minimal.

I've noticed there's a big difference in both bandwidth and latency based on the network my requests actually go out on (from my university Internet connection). For some reason, the Univ. of Cal. Network > Commercial ISP > Internet2. (Not sure why Internet2 sucks so much, but it seems really slow for some reason.)

xiii1408··on The charm of buying old workstation hardware on the cheap
Yes, this 100%. It was fun (and kind of hilarious) to have an old Dell PowerEdge Server in your dorm room back in college, when power was free. (And, in my case, mostly generated by dams, so not that bad for the environment.)

Keeping one in your house would be ridiculous and loud, though. Mine actually required two power cables! I ended up pawning it off to a friend for $20, who pawned it off to one of his friends for $20, and so forth. I wonder where it is now.

xiii1408··on All Chromebooks will also be Linux laptops going forward
Thanks for the rec!

I unfortunately decided to install RW_LEGACY years ago when I set it up. It's now in a weird state where it has SeaBIOS installed but legacy boot is disabled. From what I've read, I need to boot into a Chrome OS recovery to enable legacy boot, which should allow everything to work. But I haven't been able to find a simple Chrome OS recovery shell image for me to boot into, so I'm kind of stuck rn.

xiii1408··on All Chromebooks will also be Linux laptops going forward
This is great news! Chromebooks are dirt cheap and for the most part have amazing build quality and keyboards for the price point. I just can't stand the flimsy plastics and hinges of most "normal" laptops at that price.

I used Arch Linux on a Toshiba Chromebook 2 as a primary laptop for about two years, but eventually moved away from it because my bootloader got un-blessed due to the battery zero'ing out, and I didn't want to deal with it.

I guess Chromebooks are back on my radar!

xiii1408··on Why don't we have Wayland on Raspberry Pi yet? (2018)
Thanks for this great primer! Not quite through with the article, but I've recently been using my Raspberry Pi as a workstation (I mostly use SSH anyway), and I've had issues / confusion with hardware acceleration and X vs. Wayland for a long time.

I never seem to be able to get hardware acceleration to work properly in Linux on my MacBook---whenever I open up a webpage, CPU usage goes through the roof, unlike in Mac OS. Wayland seems to help a bit, but there seem to be lots of bugs than can only be fixed by the window manager.

xiii1408··on Show HN: tor_ssh.sh – One command to enable SSH access via Tor
Using SSH over Tor is a supremely dumb idea unless you really need to hide your SSH sessions and you're already using other methods (pre-shared host fingerprint, single-use SSH key) to secure your session.

1) Tor exit node operators will do all kinds of nasty things: e.g. MITM-ing your sessions, refusing to handle certain kinds of traffic, and recording everything.

2) If you use your regular SSH key (which you will, because you needed to use this script to do this), your SSH key fingerprint and thus your identity is still recorded by the remote host. Doh!

3) Everyone at the remote host will think you got haxed. Because you're logging in through Tor. Or else they'll think you're super shady.

That said, Tor is super fun to play around with. Just don't assume anything gives you real protection unless you're careful and really know the ins and outs.

xiii1408··on Pee, Not Chlorine, Causes Red Eyes from Swimming Pools: CDC (2015)
> "Unfortunately, one of the rats accidentally drowned during swimming training; therefore, the final animal number of the [experimental group] was 17."

Damn, poor guy.

> "When training, a screw nut approximately 3% of their mean body weight was tied to the top end of the tail of each rat, and all rats were kept in the special pools with water of 60 cm depth (water temperature 25–30°C, pH 6.5–7.0) until fatigued (submerged below the surface for five seconds twice). The fatigued rats ceased training immediately, were removed from the water for a short break, showered with running water and then dried with hair dryers."

So, systematically drowning rats until they aspirate water, every day for twelve weeks. And they showed negative respiratory effects. Huh.

xiii1408··on Pee, Not Chlorine, Causes Red Eyes from Swimming Pools: CDC (2015)
This has been well-known by swimmers for a long time: chlorine itself is pretty much fine for you. It's the chemical reaction of chlorine with waste products, including human waste, that produces toxic byproducts and the concomitant "pool smell."

If you swim in a well-maintained pool (e.g. one of my university's competition swimming pools), there's no "pool smell."

xiii1408··on Rose: Compiler Infrastructure for Source-to-Source Program Transformation
ROSE has been around for a long time, and from what I've heard there's tons of legacy code. I wouldn't be surprised if there's significant technical debt or other structural limitations.

That said, I don't really know anything firsthand about the architecture.

xiii1408··on I’ve used Dvorak for 10 years, and it’s not all that
> That said, there are better researched layouts that DVORAK, with actual modern research behind them.

Any references? I'm curious.

xiii1408··on I’ve used Dvorak for 10 years, and it’s not all that
I can type at 120 WPM, and it's not all that useful. I'd gladly halve my typing speed if it meant avoiding the occasional bout of RSI.
xiii1408··on Call for retraction of 400 papers amid fears organs came from Chinese prisoners
Yes, that's a bad thing. The Chinese state has a documented history of executing people on demand in order to harvest their organs: https://en.wikipedia.org/wiki/Organ_harvesting_from_Falun_Go....

Even if you were going to be executed anyway, you obviously have a right to determine what happens to your organs, particularly in cultures like China's, where it's seen as very important that the body remain whole.

xiii1408··on Firefox 65.0 released
Hardware acceleration is disabled by default because many graphics drivers suck and will break the browser if hardware acceleration is turned on. You can just go into the settings and turn it on (and then off, if you have problems).

Chromium disables hardware acceleration by default for a wide swatch of graphics drivers too (including all Nvidia GPUs).

xiii1408··on Ask HN: What is your favorite HN post?
Quality entertainment. Unfortunately, the original post is flagged.
xiii1408··on Ibuprofen alters human testicular physiology to produce compensated hypogonadism
There's a little bit of truth to this--historically, lower doses of hydrocodone and oxycodone mixed with acetaminophen were a lower drug schedule in the US, allowing for less stringent requirements on security during production and transportation. Presumably, this was because the DEA thought there was less potential for abuse in the combinations drugs.

However, there's a more important medical reason: acetaminophen accentuates the analgesic affects of opioids, although the mechanism for this is not clearly understood. This makes acetaminophen-enhanced opioids more effective drugs.

Opioid abuse has become so rampant, though, that we're moving away from prescribing acetaminophen-enhanced opioids like Vicodin and Percocet to try to stop them entering the recreational drug market. As opioid use has increased, so has the number of liver toxicity deaths due to the acetamiophen in some prescription opioid drugs.

xiii1408··on Chinese may take over Mombasa port: Ouko
Mods should, at the very least, change the title, since it is very misleading.

There is language in the deal that would give China control over the port if Kenya was unable to pay back the loan. While concerning, this is very different from that actually happening.

xiii1408··on What Closing a Government Radio Station Would Mean for Clocks
Dude! That's freaking awesome. I've been wanting to set up a GPS-based NTP server for a while, but haven't gotten around to it yet. I'll have to read through and take a look at the transmitting equipment you used; adding WWVB to it would be awesomesauce.
xiii1408··on What Closing a Government Radio Station Would Mean for Clocks
All three radio stations (Washington, Maryland, and Colorado) used atomic clocks.

Presumably they could handle the radio hand-off very precisely. ;)

But actually--the precision of an atomic clock (nanoseconds) is orders of magnitude higher than lag due to radio wave travel (many microseconds). And even if you account for this, you probably only know your distance from the atomic clock to within 10 meters, which is tens of nanoseconds of uncertainty.

xiii1408··on What Can We Learn from the Intel SPMD Program Compiler?
I second that.

Matt Pharr's posts on ispc are an extremely interesting read, both from a technical perspective (programming abstraction and hardware design) and a human perspective (Intel politics, managing style, and career decisions).

xiii1408··on Reple: “Replay-Based” REPLs for Compiled Languages
It's actually pretty easy to detect multi-line inputs as long as they have clear enclosers (like '{}' for a block in C/C++). This is what reple does.

This doesn't require a parser--you just have to know what the enclosers are (one of the things that goes in a reple config file) and then count them to see if they're matched or not.

For languages without Python-like syntax or with enclosers that can be ambiguous (some dialects of Fortran), this would be pretty difficult.

← PreviousPage 3 of 5Next →