Better HN
topnewbestaskshowjobs
Log inSign up

ne0phyte

315 karma · joined Jan 21, 2013 (13y ago) · 107 submissions

Submissions

1.

Make tidy check for magic numbers that spell things(github.com ↗)

11 points · by ne0phyte · 4y ago · 2 comments

comment 10y ago · link · parent

Huh? I never stated that Pulseaudio isn't necessary.

I just pointed out a possible solution/workaround with ALSA and dmix for redirecting the audio output to two devices/pcm outputs.

After years of using just ALSA and messing around with its config on different computers I am now using Pulseaudio too. Once it's running it's a lot easier to use and more flexible, especially when it comes to hot-plugging and switching between inputs and outputs.

comment 10y ago · link · parent

I never had a laptop where plugging in headphones didn't disable the speaker (and nothing I could do about that in software).

If that really is the case you could use dmix and have audio played on both the headphone and speaker output. You would still have to mute the speakers when plugging in the headphones though.

comment 10y ago · link · parent

Yeah I found the animation distracting since it is so slow and keeps sliding in every time you scroll over it.

I'm used to sites having transitions or animations as you scroll, but usually that's only happening once.

comment 10y ago · link · parent

Here's TED a talk about the technology http://www.ted.com/talks/abe_davis_new_video_technology_that...

6.

Interactive Dynamic Video(interactivedynamicvideo.com ↗)

386 points · by ne0phyte · 10y ago · 52 comments

comment 10y ago · link · parent

Some of the "Get Started" links don't work at all and the one at the top only asks for an E-Mail. It hasn't even launched publicly yet.

On a side note: I found the website on my phone really annoying to read since lots of paragraphs are animated and it keeps slowly sliding from left to right/right to left every time you scroll over it again.

EDIT: Talking about this http://i.imgur.com/JVtcTKg.gif

comment 10y ago · link · parent

A terminal emulator is not a shell. Using bash has nothing to do with the decision whether you use the OS X Terminal or some third party terminal emulator.

comment 10y ago · link · parent

Game physics engines update their objects (acceleration, collision, constraints/joints etc) only so often at a certain tick rate to leave enough cpu time for other things. You can have very precise and realistic physics simulations already - they just don't run at realtime.

I don't think this is a solution for bad physics in games.

comment 10y ago · link · parent

Would be nice if there were a couple of example bots that you could try talking to/see some info about before creating an account.

comment 10y ago · link · parent

Imgur has its own community. By now you can't even tell if something is posted on imgur and someone submits it on reddit or if a reddit user uploads something and it gets upvotes on imgur.

I think that imgur can exist on its own and will have more than enough content.

comment 10y ago · link · parent

Older IEs don't have Array.indexOf(). So you either have to extend the Array prototype or, you know, just implement it in a more compatible way.

comment 10y ago · link · parent

How would they run *nix binaries in a node.js environment if they call it "Cross-platform Linux without the suck"? You are talking about Cygwin here which is what these guys hate for some reason.

comment 10y ago · link · parent

Maybe people run most things maximized because window management on Windows is so limited? With 8.1 and now 10 you can arrange up to four windows on the screen without using the mouse, but even that is too basic to be useful compared to tiling window managers. I think Google could actually pull this off by "forcing" users to use a tiling concept (like a couple of different layouts to choose from and letting you launch/drag apps into the screen areas).

comment 10y ago · link · parent

But apps access files, databases, listen for intents. You definitely need some adjustments by app developers, even if Android handles most of the implementation details.

comment 10y ago · link · parent

And if you jailbreak your kindle you get SSH. I have my kindle mounted via sftp so I don't even have to send anything to amazon just to have it sent back to my device.

comment 10y ago · link · parent

Actually I know several IRC channels that have bots that send messages for activity on GitHub, Twitter, etc. And writing IRC bots is among the easiest things ever. The IRC protocol isn't hard and there are lots of libraries, snippets and bots out there.

comment 10y ago · link · parent

The question should be "why not use a self hosted irc client instead". At least developers will use IRC anyway to get and stay in touch with open source projects and the countless communities that have their own irc server/channel. Why not use one protocol that's widely used?

comment 10y ago · link · parent

Sadly IRCCloud is still lacking one 100% crucial feature: a backlog search. I've been a paying IRCCloud user for almost 2 years now and back then they already had the search feature on the roadmap as "coming soon". The only way right now is to keep scrolling and scrolling and then some more scrolling until you find what you are looking for. In a busy channel this is pretty much pointless.

comment 10y ago · link · parent

Not the user you asked, but I took 800-1200mg a day for a while. Then I finally went to the doc to find out I was having a depression. So I unconsciously tried to treat my depression, which obviously didn't work out. The caffeine enabled me to get out of bed at all though. Without it I was just sleeping/staying in bed all day. And coming down from a lot of caffeine really makes you feel a lot worse than not taking any at all, just like the comedown of other stimulants.

comment 10y ago · link · parent

ACK

22.

Drugs policies and electronic music culture(residentadvisor.net ↗)

1 points · by ne0phyte · 10y ago · discuss

comment 11y ago · link · parent

I am not saying there is no need for more complex web sites. Personally I just think it is sad that in 2015 there are lots of sites that won't load anything at all if you disable JS or have a bad connection.

With a 50k connection at home I simply can't accept waiting 3+ seconds until your site loaded its 500kb of JS and 4 different web fonts to finally show something.

comment 11y ago · link · parent

Considering that the average page size (first load) is getting bigger and bigger there is certainly some truth to it. Pages are getting slower and more complex and I see more and more browser tabs take 80mb+ for (seemingly) simple sites.

I also agree that web site/web app is slightly different, but: there are blogs and sites that load, show a blank page, then fade in some animation/spinner while loading fonts, styles and more scripts and then slowly fade in the content. However, if something goes wrong (font doesn't load, JS blocked, etc) you see a blank page with a spinner forever. HOW is that progress? That's just awful.

I recently decided to start a little blog[1] using the static site generator hugo[2] and I don't feel like I'm missing out on anything. Well, you won't be able to load the disqus comments and have no code highlighting without JS, but that's it.

[1] http://code-and.coffee [2] http://www.gohugo.io

comment 11y ago · link · parent

You could implement something like the Levenshtein distance [1] which is easy and still very fast. It gives you the difference between two strings in steps it takes to transform one into the other based on operations like insertion, deletion, substitution (and swapping two adjacent chars).

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

comment 11y ago · link · parent

Indeed. The installation on my laptop is now 4.5 years old and was on 3 different laptops and 2 different SSDs and yet there is absolutely no need to reinstall. I maintain my system every now and then and never exceeded 1000 installed packages. If you have some time to spend on your system and the occasional hickups after/during updates then Arch is very easy to keep clean imo.

comment 11y ago · link · parent

Ah, nice. I was just looking through the github repo and found some config files for qt with color schemes. And yet my question stands: Why present a project like that?

comment 11y ago · link · parent

It's still weird to showcase a project with what is quite a strain to the eyes for most people.
1234