HNHacker News
TopNewBestAskShowJobs

bananicorn

792 karma · joined September 20, 2016

https://www.bananicorn.com
submissionscomments
bananicorn··on Zune Diehards
That's pretty neat, actually - what do you use? (And for which device?)
bananicorn··on Zune Diehards
The article states some of the reasons one might have for still owning a zune:

> The thing is, with your phone, if you download an app like Spotify, they're asking for access to data on your phone, it's connected to the internet, and they track your location, which they sell to third-party vendors. But the Zune isn't connected to the internet at all, and what I like about the Zune is the privacy element.

bananicorn··on Vim after 15 Years
I remapped , to ; and vice-versa - comma repeating the search in its actual direction and semicolon repeating it in the reverse direction just makes more sense on a german keyboard.

But yes, these keys' intended functions are actually really damn handy, and I use them on a daily basis.

bananicorn··on Show HN: 1 KB JavaScript library for building applications
I can answer you #2:

requestAnimationFrame schedules the rendering to when the screen refreshes, which kinda makes sense in this case. (Which is a great thing when you're doing animations or games, since no frames are being dropped) It also doesn't fire while the tab is not active, so that's a plus too.

I've nothing to do with this project though, so I might be wrong on the details.

bananicorn··on Show HN: Coinerra – JavaScript Crypto Miner
Well, maybe the emphasis is on deserve here? ;)
bananicorn··on Show HN: Pure CSS Connect 4
I wonder if this code has been generated in part- it seems like one hell of a hassle to figure out and write by hand... But holy cow, it's awesome!
bananicorn··on Min – A smarter web browser
If you're going for minimal, it won't get much more minimal than this:

https://surf.suckless.org/

But at least the smart part may be of merit. And we all know what HN thinks of electron, but at least bundling chrome with a browser seems reasonable. Not for a minimalistic browser though, I think hence the branding as "a smarter browser".

Oh boy, I actually set out to defend the project, but now I realize while there's clearly been some work put into it, some areas haven't been thought out too well...

At least it looks nice and clean, that's something.

edit: corrected my wording in the first sentence.

bananicorn··on Ask HN: What are the best cross-platform options for desktop (and mobile)?
Okay, depending on the complexity of your app, maybe bundling it with webkit[0] is a solution? You'll need to know about cross-compilation in C though. It's certainly more complicated than just using Electron, but if you don't want all the bloat that comes with it and don't need features only Electron offers, then it might just be fine.

[0]https://wiki.gnome.org/Projects/WebKitGtk/ProgrammingGuide/T...

bananicorn··on Interactive Vim tutorial
Makes sense, vim emulation seems a bit overkill for this^^
bananicorn··on Interactive Vim tutorial
Now I wonder if there's a js library which makes a textfield behave like VIM...

Guess I'll need to look at the source here later on to find out.

bananicorn··on Notes on Programming in C (1989)
>> Procedure names should reflect what they do; function names should reflect what they return. Functions are used in expressions, often in things like if's, so they need to read appropriately.

This never occured to me, but makes perfect sense, I usually know what I want a function to return, no need to make the name more generic than it needs to be.

bananicorn··on Ask HN: What banks don't have cartoonishly bad password practices?
We even have a local bank which only allows numeric passwords... They have two-factor authentication though.
bananicorn··on Ask HN: What horrible things do you do in your own code when no one is watching?
I'm guilty of the exact opposite - sometimes I comment too much, to the point that the code becomes LESS readable...

or a huge block of comments at the head of my main file, with all the TODOs...

Also, not using version control, and only switching to it when the project is already a considerable size...

bananicorn··on Star Wars Jedi Knight: Dark Forces II Turns 20 Today
Strangely enough, one of my clearest memories about this game (played it after Jedi Knight Academy), is my first experience with motion sickness... Nonetheless, I loved it and lost a lot of time to it, even though my internet connection was practically nonexistent at the time, so multiplayer was not an option.
bananicorn··on Ask HN: What's a modern equivalent of QBASIC?
if you're on Windows or Mac, you can give red-lang[0] a try, on linux there are no GUI-bindings as of yet, but i've heard it works with WINE.

http://www.red-lang.org/

bananicorn··on It’s time to give Firefox another chance
Is that fallout 4 specific, or could you do that in fallout NV too?
bananicorn··on It’s time to give Firefox another chance
Doesn't that work in firefox on the mac? It works with ctrl+shift+c on win+linux, so I'm personally not missing anything here.
bananicorn··on Ask HN: Please review my portfolio site
I think you can at least add a background-color of the color the gradient ends at, so it doesn't end with just white. like this:

background: linear-gradient(to top, #30cfd0 0%, #330867 100%) #330867;

if I'm not mistaken, that should work, otherwise, just add the background-color property with the desired color.

As for making it stretch across the whole body, maybe try min-height 100% for body and html? Haven't tried it yet, but I could imagine that works.

bananicorn··on Show HN: Experimental Keyboard Game
I rather like the idea and I'm probably give it a real try once I'm at home, but is the potential double-entendre with "keyShit" intended?
bananicorn··on Ask HN: Writing an os in React, good idea?
This looks a lot like a joke-question, but whatever.

Well, technically it's possible to write an OS in React, if you're basically just running a browser and do everything inside that.

Since a lot of desktop apps nowadays are just repackaged versions of chrome with a single website in them, you might actually have a better user experience for /some/ use-cases.

But if you actually plan on doing that, please just make an browser-based OS that is a wrapper for this site:

http://www.windows93.net/

Edit: I'm only answering semi-seriously because sometimes it's the stupid and laughable questions that foster new, maybe even completely unrelated ideas.

bananicorn··on Ask HN: What is everyone currently working on?
Right now I'm trying to get webRTC to run without ever having to use a server - or any way of communicating between browsers without the use of a server - for a game I'm making.

Nothing special, but good to get familiar with the tech. And definitely not yet ready to be shown (also, currently just a ripoff of an older nintendo game)

bananicorn··on Why I Fell in Love with Arch Linux (2015)
It's something you kinda have to try to actually feel the difference. I can tell you a few things I noticed after a few months of use:

-Pacman (their package manager) is amazing - and if you want to install community packages from the AUR[0], you can use yaourt (if they've got dependencies on other AUR packages), or just git clone the package and run makepkg -si

I've never had any problems with it, and I've messed around a lot with my system.

-No bloat at all, you'll learn a whole lot from setting up your own system

-No choices are made for you, it's yours and yours alone.

-It's actually surprisingly stable, though you should be careful before you upgrade.

-It's always bleeding edge (maybe not always a good thing, hence you have to think before upgrading packages)

I have to read the article now though.

[0]https://aur.archlinux.org/

bananicorn··on Why I Fell in Love with Arch Linux (2015)
Antergos[0] might be what you're looking for, never tried it myself though.

https://antergos.com/

bananicorn··on Web frameworks are transforming from runtime libraries into optimizing compilers
That's actually really amazing - and I didn't know that, thank you!
bananicorn··on Web frameworks are transforming from runtime libraries into optimizing compilers
The Closure Compiler is the only reason I have Java installed, it's that good. And IMHO, a lot of the bloated JS projects nowadays would really profit from its dead code removal...
bananicorn··on Ask HN: Can we can stop climate breakdown by quitting meat and growing plants?
>What if you just want to replace the same amount of energy you get from meat with energy from vegetables? Well, then, to put it very simply, you need to eat a lot of vegetables.

You generally just need to eat the right vegetables. Take beans or potatoes for example - you definitely won't starve when you incorporate the right kind of vegetables into your diet.

Any too restricted diet is also unhealthy, so "to put it simply" just doesn't cut it when talking about diets.

edit:

a bit further down the article, this is stated:

>Update: The researchers did not find that vegetarians or vegetarianism are harmful to the environment, or that producing vegetables is more harmful to the environment than producing meat.

bananicorn··on Ask HN: What's a reasonable microkernel-based OS for desktop usage?
QNX springs to mind in that case, but I'm not sure if it's really viable as a day-to-day OS. There's a distro of it out there somewhere, I guess.

(Usually it's used in embedded systems)

bananicorn··on Ask HN: Can we can stop climate breakdown by quitting meat and growing plants?
It certainly is one of the best things which you personally, can do for the environment.

I couldn't tell you if we're able to STOP it before we suffer even more catastropic consequences, but with time, such a way of living (if lived by a high enough percentage of the population), will eventually reverse the damage done. It's one hell of a step in the right direction.

Cleaner conscience, cleaner environment.

bananicorn··on Ask HN: Does anyone else feel overpaid?
Alto Adige (South Tyrol), Which is one of the economically strongest regions of Italy. Lots of mountains (well, the Region used to be part of Austria, and people speak mostly German and Italian here. I don't even think self-employed web developers have an easier time, there's just too many, it seems...
bananicorn··on Ask HN: Does anyone else feel overpaid?
No, making around 14-15k as webdev (italy) - the developers are the lowest-earning people in our company.
← PreviousPage 4 of 7Next →