Better HN
topnewbestaskshowjobs
Log inSign up

gurraman

746 karma · joined Oct 14, 2008 (18y ago) · 223 submissions

trell.se
Submissions

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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).

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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?

comment 10y ago · link · parent

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.

comment 11y ago · link · parent

    browser.urlbar.trimURLs - false
Yay! This feature has annoyed me to no end.

10.

Blinking Commits(blog.annharter.com ↗)

340 points · by gurraman · 11y ago · 97 comments

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

It's a developer's problem.

comment 12y ago · link · parent

Well, they do seem to keep human numbers in check to some degree.

comment 12y ago · link · parent

You mean as the function gets expanded into several bald little angels, right? :)

comment 12y ago · link · parent

One of the nice things about Erlang is that the actor model isn't just a library.

EDIT: actors -> the actor model

comment 13y ago · link · parent

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

comment 13y ago · link · parent

They also created an operative system (sure, it builds on existing tech but they added a lot more than just fluff).

comment 13y ago · link · parent

I liked this one:

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

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Yeah, that's what I meant by the last sentence :)

comment 13y ago · link · parent

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".

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

That "something" can be almost any device. I'm writing this comment on a keyboard attached to an iPad.

comment 13y ago · link · parent

#erlang on Freenode. They're friendly and knowledgable folk.

comment 13y ago · link · parent

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/

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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/

28.

What makes lisp macros so special(stackoverflow.com ↗)

2 points · by gurraman · 14y ago · 1 comment

12345
8