HNHacker News
TopNewBestAskShowJobs

gurraman

746 karma · joined October 14, 2008

trell.se
submissionscomments
gurraman··on Django: what’s new in 6.0
I think it is refreshing. They don't half-ass things into the framework. They take the time to do it right. They let every feature fight for its life, and put their effort into LTS and minimizing number of issues and API changes related to the features they do deliver. As a developer I really appreciate this. I don't have to totally rewrite my entire application every new version because the implementation wasn't properly thought through.
gurraman··on TikTok Shut Down: Data Shows 85% Drop in US Access (and Surge to Alternatives)
I don't know about ban, but parents today are so totally disconnected from the dangers associated with scrolling. Kids today live in their phones. The ones that stay away are going to have such a competitive advantage. So maybe not forbid, albeit that would really serve the community, but the goverment should get off their asses and start informing schools and parents about what their kids are doing to themselves.

But it is a super-difficult problem to solve, because a lot of parents depend on just letting their kids sit with their phones a couple of hours every day to enable wfh etc (or in worse cases, go out with friends to socialize).

My wife is super-aware and is a stay-at-home mom and even she thinks it is a real challenge (mostly because of what friends are allowed to do). We have rules that say no screens (with exceptions for research, school work, some programming) during weekdays. We banned TikTok and Roblox years ago. The kids get 1 hour per day during weekends. These rules, when my wife introduced them, made a HUGE difference. They're different kids (they get so bored they clean their rooms, play chess, read books, play with Lego, don't have problems with their chores etc).

gurraman··on React is holding me hostage
Same. We've been working on a huge React project for several years. Lots of graphs, 3d models etc ... and it is super-snappy. Only slow part is a WebGL-based chart component that visualizes 2-3 M rows of signal data. We can probably decimate the signal data to improve performance, but that has got nothing to do with us using React.

N.B. No one is using the app from their mobiles. iPad and computers only.

Our reasons for choosing React when there are so many alternatives: prior knowledge, ergonomics, easy onboarding, ecosystem.

gurraman··on I got pwned by my cloud costs
A developer on a team I worked with many years ago accidentally committed our AWS keys in a repo. Got a $30k bill due to a an enormous amount of EC2-instances being spawned. We contacted AWS and they were very understanding and reduced the bill to $50.
gurraman··on Dracula Theme – A dark theme for many different apps
Dracula is a very well-crafted theme, but I can't help feeling like it makes my editor feel like a toy. I've gone a lot of different themes, but the only (dark) one that has worked out for me is everforest [1], with the following modifications:

    vim.cmd [[hi Normal guibg=#111111]]
    vim.cmd [[hi EndOfBuffer guibg=#111111]]
    vim.cmd [[hi StatusLine guifg=#ccdc90]]
    vim.cmd [[hi link TSLiteral TSString]]
    vim.cmd [[hi TSField guifg=#c4b89b]]
    vim.cmd [[hi TSTag gui=italic]]
    vim.cmd [[hi TSTagDelimiter guifg=#859289]]
    vim.cmd [[hi TSInclude guifg=#d699b6]]
    vim.cmd [[hi link TSInclude Purple]]
    vim.cmd [[hi link mkdWikiLink TSURI]]
    vim.cmd [[hi link mkdWikiLinkStart Blue]]
    vim.cmd [[hi link mkdWikiLinkEnd Blue]]
Notable themes I've kinda liked (but had some problems with for various reasons): moonfly and zenburn

[1] https://github.com/sainnhe/everforest

gurraman··on Let’s Talk Concurrency: Panel with Sir Tony Hoare, Joe Armstrong, Carl Hewitt
I must admit that I have not (yet) played with Elixir. It looks very exciting though!

I don't do much "web stuff" with Erlang. The closest I go is probably HTTP-based control interfaces for other services (routing, validate input, do something in the system and return a response).

I usually turn to Python and Django when I want to create web stuff. Generic views, the forms API, DRF, admin, and an ORM that integrates well with all of the aforementioned are godsent if you just want to get something online quickly.

I still have old Django project that I wrote for a customer back in 2007. Besides upgrading Django two times a year and updating the ui a little it has been running w/o problems ever since. And I still find my way around the code instantly.

I have yet to try something that comes close to being as convenient to work with.

gurraman··on Let’s Talk Concurrency: Panel with Sir Tony Hoare, Joe Armstrong, Carl Hewitt
Many of the systems I build do require routing/filtering/messaging and I have yet to find a more pleasant environment to work in than Erlang. I can agree that the ecosystem is a bit lacking if you want to build a quick web application, but out of curiosity, what are you referring to when you say that Erlang lacks a lot compared to modern languages?
gurraman··on I've Had Enough and Today Everyone Has the Phoronix Premium Experience
Having someone close suffering from being burnt out: please be careful. It will hit you like a hammer from nowhere and can cause irreparable damage if you do not take it seriously.

Lets hope people donate a little today to relieve Phoronix of some of the preassure.

gurraman··on Firefox Tweaks – An attempt to make Firefox suck less

    browser.urlbar.trimURLs - false
Yay! This feature has annoyed me to no end.
gurraman··on Slinky – An easy way to query your PostgreSQL data
I experienced the same problem here (37.0.2, Linux).

I also think a few screenshots would be nice; I rarely click on a video when commuting, especially if I don't have my earphones.

With that said I think this is a fantastic product idea.

gurraman··on You Don't Need JQuery
It's a developer's problem.
gurraman··on Solar Scare Mosquito
Well, they do seem to keep human numbers in check to some degree.
gurraman··on Introducing CodePlayer: Watch your code like a movie
You mean as the function gets expanded into several bald little angels, right? :)
gurraman··on Why Scala is the best language available today
One of the nice things about Erlang is that the actor model isn't just a library.

EDIT: actors -> the actor model

gurraman··on Vim: from n00b to meh
You can get rid of the global variable by testing the actual settings instead:

    function! NumberToggle()
        if (!&number && !&relativenumber)
            set number
            set norelativenumber
        elseif (&number && !&relativenumber)
            set relativenumber
        else
            set nonumber
            set norelativenumber
        endif
        set foldcolumn=0
    endfunc
gurraman··on How is Docker.io different from a normal virtual machine?
They also created an operative system (sure, it builds on existing tech but they added a lot more than just fluff).
gurraman··on Boarding Pass Redesign
I liked this one:

http://www.graphicology.com/blog/2010/1/11/280-a-practical-y...

gurraman··on Show HN: Highlighting Efforts of Creation from Hacker News
I'm just an echo here, but this is a great - and much appreciated - initiative! Thank you for taking the time to compile this list.
gurraman··on Electrons and Atoms
Yeah, that's what I meant by the last sentence :)
gurraman··on Electrons and Atoms
Heroku and GitHub were the first two that crossed my mind.

And they're "against it" in my interpretation of the idea.

Having said that, they do facilitate adding stuff to the first list (i.e. they are utilized by startups building services that do something in the real world).

EDIT: Added clarification of my cryptic reference to the "first list".

gurraman··on Dishwasher Cooking: Make Your Dinner While Cleaning The Plates
Salmon is about a lot of things. It can be eaten raw, cold- or hot smoked, cured, grilled, lightly salted etc.

I prefer cured, raw, lightly salted or cold smoked.

I don't think you'll find that your particular preparation mrthod is used with salmon in very many three star restaurants.

gurraman··on Introducing Quip
That "something" can be almost any device. I'm writing this comment on a keyboard attached to an iPad.
gurraman··on Ask HN: What IRC channels does everyone find interesting?
#erlang on Freenode. They're friendly and knowledgable folk.
gurraman··on YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
autocomplop[1] is easier to install, but not as sophisticated. I just installed it to see if I like the idea of having completions pop up automatically.

[1] https://bitbucket.org/ns9tks/vim-autocomplpop/

gurraman··on Show HN: Github for recipes
I started something similar[1] last Christmas (but lost interest as I never documented my own experiments). It's a great idea and there's need for a de facto standard source for recipes and cooking instructions.

My "next step" was to contact sous chefs of famous restaurants.

[1] http://palatelab.com/

Edit: rephrased.

gurraman··on Show HN: My HTML5 Game for Github Game Off
Well done. Very addictive! Enough for me to decide that it's time to round the workweek off. I'll fetch an Orval[1] and immerse myself in the game.

(the collision detection seems to be a little off, but it's hardly noticeable.)

[1] http://www.ratebeer.com/beer/orval/835/

gurraman··on Do Intelligent People Drink More Alcohol? (2010)
Probably attempts to remedy hungover-anxiety.
gurraman··on The Homely Mutt
The weekend has just passed and you submit this on a Monday? Really? Now I'm going to wake up tomorrow, heavy with sleep after spending the wee hours tweaking my configuration and trying out "contacts", "offlineemap", and the sidebar patch (that I thought I didn't want).

Thank goodness I already have mutt installed and configured (almost) to my liking.

gurraman··on Fake Bus Stops For Alzheimer’s patients in Germany (2011)
It's a hack in the true sense of the word; I found it entirely appropriate.
gurraman··on Chocolat 1.0 Released
Never happened here either. And I frequently use vim to edit Geonames data sets.

I just opened allCountries.txt[1] in ~36 seconds on my MBA and vim scrolls through the file smoothly. 8 256 007 lines taking up 960MB.

[1] http://download.geonames.org/export/dump/allCountries.zip

Page 1 of 7Next →