HNHacker News
TopNewBestAskShowJobs

slhck

253 karma · joined June 20, 2011

slhck.info superuser.com/users/48078/slhck
submissionscomments
slhck··on I'd like to review your README
This is my main issue with Rspec documentation.
slhck··on Patient Regains Sight Following Artificial Cornea Implantation
Post-CXL laser surgery is not always possible. If the cornea's thickness has already degraded too much, lasering would be very risky and lead to tearing.
slhck··on Google Takeout: Export a copy of your data in Google services
Well, this works just great: https://i.imgur.com/PZEnuDM.jpg

There's a product called "null" without an icon.

slhck··on Challenge to scientists: does your ten-year-old code still run?
I don't think so. The source code is the same but there's now metadata that helps in setting up the same environment again, even years later. You still have the original code in case, e.g. Docker is no longer available.

For instance, if you just have a Python script importing a statistical library, what version are you going to use? Scipy had a pretty nasty change in one of its statistical functions, changing the outcome of significance tests in our project. Depending on which version you happened to have installed it'd give you a positive or negative result.

slhck··on Challenge to scientists: does your ten-year-old code still run?
The two main problems in academia are that a) few researchers have formal training in best practices of software engineering, and that b) time pressure leads to "whatever worked two minutes before submission deadline" becoming what is kept for posteriority.

When I started working as a full-time researcher, I had come from working two years in a software shop, only to find people at the research lab having never used VCS, object-oriented programming, etc. Everyone just put together a few text files and Python or MATLAB scripts that output some numbers that went into Excel or gnuplot scripts that got copy-pasted into LaTeX documents with suffixes like "v2_final_modified.tex", shared over Dropbox.

Took a long time to establish some coding standards, but even then it took me a while to figure out that that alone didn't help: you need a proper way to lock dependencies, which, at the time, was mostly unknown (think requirements.txt, packrat for R, …).

slhck··on Apple sends a letter to Hey: Change your app or get out of the App Store
"These apps do not offer in-app purchase — and, consequently, have not contributed any revenue to the App Store over the last eight years."

This is pretty grotesque coming from a trillion-dollar company that anyway already charges developers a yearly fee.

slhck··on ProtonMail takes aim at Google with an encrypted calendar
It says "Free Encrypted Calendar" on their website.
slhck··on Show HN: A remote browser product, open-sourced
Browser fingerprinting, for one, is something that can be avoided.
slhck··on After Car2Go eased its background checks, 75 vehicles were stolen in one day
That's true for normal rental car companies, which are often very picky about damages. With car2go and DriveNow, they don't usually charge for damages anymore. It would be impossible to track. You're paying for the repair with the per-minute costs.

A few years ago, they even stopped asking customers at the start of the rental whether there were any “new” damages with the car, since it's impossible to verify that with dozens of damages, and people would just press “No”. So now these cars all have small damages that nobody cares about, which accumulate until they get repaired.

slhck··on The Scene: Pirates Ripping Content from Amazon and Netflix
It's not a carry-over from their DVD business. It's a consequence of how they choose to stream. My assumption is that image-based subtitles are more compatible across a range of devices and clients, as you get to choose how they look beforehand.

You can definitely send subtitles as raw text and metadata – it's what they do on iOS devices IIRC, since you can change the subtitle appearance on the client.

Also, their ingest works with TTML (a text-based format): https://partnerhelp.netflixstudios.com/hc/en-us/articles/215... – this is a fairly widely used standard.

slhck··on CERN day 1: rebuilding the first web browser
Immediately recognized the venue from the photo, which triggered some sensorial cues in my body. Essential part of a good meeting in Geneva.
slhck··on What Most Remote Companies Don’t Tell You About Remote Work
The importance of finding social hobbies outside of work cannot be stressed enough.

However, if you are not in the lucky situation of having a partner for whom you feel responsible (e.g. by regularly doing things together, stopping work together, or even just having a conversation over dinner), it becomes way too easy to get sucked into a spiral of not going out and seeing people, and not even feeling like you want to.

I have had times when I was working alone for extended periods of time, at which I felt lucky to even be able to talk to a cashier while shopping for food. That alone however didn't automatically motivate me to go out and seek friends or activities. It's way too easy to forget taking care of your mental health in such a state.

Ultimately, public health systems and employment laws should take care of people by providing counseling and paid mental health days.

slhck··on Proposal to fix NYC’s subway and broader transit system expected to cost $19B
This, and reliability.

If I have to leave home 15–20 minutes earlier just because it is _very_ likely that the train gets stuck in a tunnel due to signal malfunctions, or crawls from one stop to the next, I might as well use alternative means (i.e., a car).

slhck··on Ask HN: What are some tech companies that do not use an open floor plan?
I've found the opposite to be true. Got a pair of QC-35II that block everything but speech, which subjectively appears to become even louder, even when you listen to music.

They're great for airplanes, trains, and low-frequency background noise, but for a crowded office where people are having chats and telcos, I'd rather use Shure in-ear monitors.

slhck··on AV1 beats x264 and libvpx-vp9 in practical use case
Note that these are upload settings. YouTube will re-encode all these videos, so they give a little bit higher bitrates than what you'd typically end up with after they've re-encoded the sources.
slhck··on AV1: A new general-purpose video codec
MSU actually in the meantime updated their description. According to them they used a more recent version – see the Facebook comment thread below the streamingmedia.com link you shared.

But indeed it's a little bit ironic for someone advocating for HEVC to be concerned about patent royalties and licensing.

slhck··on AV1: A new general-purpose video codec
MP4 also supports chapters; it's probably the muxer you're using that does not implement the feature.

But yes, MKV supports virtually any codec, so that is a big plus. It comes at the expense of support on different platforms.

slhck··on I almost lost my hearing from the lid on the tank of a toilet
Link for those interested: https://www.mercedes-benz.com/en/mercedes-benz/next/connecti...

> If an impending collision is detected, the vehicle’s sound system plays a short interference signal, which can trigger a reflex, whereby the stapedius muscle in the ears contracts, which alters the link between the eardrum and the inner ear for a split second and better protects the inner ear against high acoustic pressures, which can result from a loud crash.

slhck··on ISP Spying
I recently learned about this when I reported Internet speed issues to my home ISP (upload was basically impossible, while download was at 100 MBit/s).

They said they'd look into it, but they couldn't process my claim unless they could prove something was connected via Ethernet to their router. (They apparently never trust customer WiFi speed test results, probably because WiFi on their crappy routers can be notoriously unreliable.)

I ultimately had to connect something to the router's Ethernet port, so I grabbed another WiFi router, configured it as an access point, plugged it in, and voilà, they could verify that a device was connected and processed my complaint.

Obviously customer service reps can easily get access to a list of what is connected to the router.

slhck··on Let’s talk about usernames
The author suggests stripping the part before doing the uniqueness check. This does not mean that the username (email address in this case) would not be allowed.
slhck··on Life in the age of noise
> According to a much-referenced study, we humans are worse at concentrating than a goldfish.

So, I decided to fact-check that nonsense.

Found an article from the Telegraph [1] which links to an older article [2] which supposedly supports that claim. But it isn't mentioned there. It only says that Golfish “can remember where they found food up to 12 days previously.”. The university itself explains the “media feeding frenzy” around the research [3] but does not actually dispute it. Also, the Microsoft study seems to have been reported without context [4]. The article says that, “it turns out that there is no evidence that goldfish - or fish in general - have particularly short attention spans or memories, despite what popular culture suggests.” Finally, I found another article which did some in-depth research into proving these misleading claims false [5].

[1]: http://www.telegraph.co.uk/science/2016/03/12/humans-have-sh...

[2]: http://www.telegraph.co.uk/news/science/science-news/1093788...

[3]: https://www.macewan.ca/wcm/MacEwanNews/RESEARCH_INTO_FISH_ME...

[4]: http://www.bbc.com/news/health-38896790

[5]: https://www.ceros.com/blog/no-dont-attention-span-goldfish/

slhck··on Show HN: VNote, a fresh Markdown note-taking app
It's not necessarily about large file size (storage is cheap anyway) and memory usage (although RAM on portable devices is still kind of limited).

Performance in Electron-based editors (e.g., Atom) is horrible. When you're used to vim or fast GUI-based editors like Sublime, even typing in Atom feels sluggish. That's not even talking about loading large files, search-and-replace operations, multiple cursors, etc.

Example stats: https://blog.xinhong.me/post/sublime-text-vs-vscode-vs-atom-...

slhck··on IPhones start slowing down after a year
The fact that this was never communicated to users is what's the big issue here.

Users may not know that their battery performance is degraded. And even if they knew, how would you expect the average user to correlate bad battery health with low system performance?

Apple should have notified users of battery health issues (they do so on MacBooks, for example) and the impact on system performance.

slhck··on Spotify’s Discover Weekly: How machine learning finds new music
How exactly? — Ah, figured it out:

- Go to the DW playlist

- Click the "..." options button

- Then to "Go to Playlist Radio"

- "Follow" the DW playlist radio

- You can now up/downvote songs

slhck··on Reverse Engineering MacOS High Sierra Supplemental Update
> But aren't unit tests a duplication of your code, already?

No, as you'd only be specifying the input and output state, e.g. the change of a model's attributes or the correctness of a mathematical calculation. The code that implements the (business) logic of going from input to output state should be part of your application, not the test.

slhck··on 300M Freely Downloadable Pwned Passwords
Well, in that case, “your password” might be the only one you have – the one use for your password manager.
slhck··on Netflix Originals: Production and Post-Production Requirements v2.1
Thanks for sharing that insight. I guess that in terms of perception and experiencing – at least when it comes to what consumers are used to –, sound is a different beast altogether. And then you have to differentiate music recordings from sound production for cinematic content, where the latter is of course more about recreating real life.

It's funny that 2D stereo still works so well. Perhaps that will also change again, with binaural recordings and object-based audio, but that's something I don't see the music industry using anytime soon.

slhck··on Netflix Originals: Production and Post-Production Requirements v2.1
No, I don't think so, not even in terms of being purist arguments that people make.

Long version if you're interested in why people some people may think vinyl sounds better than CD: http://wiki.hydrogenaud.io/index.php?title=Myths_(Vinyl)

It's hard to compare these two arguments since "CD sound" is the standard these days, whereas the "technically inferior" 24fps is still the cinematic standard. So, while people may label 60fps video as "unnatural", nobody would label a CD recording as such. Also, there are people who've never listened to vinyl to this day, whereas almost anybody will be used to the "film" look of 24fps, which has been the de-facto standard for decades.

slhck··on Netflix Originals: Production and Post-Production Requirements v2.1
I don't understand your argument… if the analogy were true, listening to a CD or streaming from the web would make most people think the recording is "fake" or artificial, longing to listen to it on vinyl. Which I guess most people probably haven't had the chance to compare to CD yet.
slhck··on Chrome 55-57 showed “download” button for all HTML5 media
Do you have a reference for this? By “DRM”, are you referring to EME?
← PreviousPage 3 of 4Next →