News for hackers. Stuff that matters.

gurraman

Re:Django: What's new in 6.0 – Adam Johnson on Wednesday December 10, 2025 @06:05AM (#46216409)
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.
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).

Re:React is a fractal of bad design on Wednesday March 08, 2023 @05:25AM (#35067304)
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.

Re:I got pwned by my cloud costs on Monday January 24, 2022 @03:59AM (#30055029)
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.
Re:Dracula Theme – A dark theme for many different apps on Thursday December 09, 2021 @06:39AM (#29496279)
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

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.

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

Re:Firefox Tweaks – An attempt to make Firefox suck less on Sunday August 16, 2015 @03:02AM (#10068213)

    browser.urlbar.trimURLs - false
Yay! This feature has annoyed me to no end.
Re:Slinky – An easy way to query your PostgreSQL data on Friday May 08, 2015 @06:14AM (#9510811)
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.

Re:You Don't Need JQuery on Tuesday December 16, 2014 @04:12PM (#8759542)
It's a developer's problem.
Re:Solar Scare Mosquito on Monday May 19, 2014 @06:36AM (#7766727)
Well, they do seem to keep human numbers in check to some degree.
Re:Introducing CodePlayer: Watch your code like a movie on Tuesday January 21, 2014 @03:27PM (#7098087)
You mean as the function gets expanded into several bald little angels, right? :)
Re:Why Scala is the best language available today on Wednesday December 04, 2013 @06:29AM (#6846252)
One of the nice things about Erlang is that the actor model isn't just a library.

EDIT: actors -> the actor model

Re:Vim: from n00b to meh on Sunday September 22, 2013 @05:02AM (#6426279)
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
Re:How is Docker.io different from a normal virtual machine? on Friday September 13, 2013 @07:54AM (#6379841)
They also created an operative system (sure, it builds on existing tech but they added a lot more than just fluff).
Re:Boarding Pass Redesign on Thursday August 29, 2013 @03:06AM (#6294645)
Re:Show HN: Highlighting Efforts of Creation from Hacker News on Wednesday August 28, 2013 @03:38PM (#6292150)
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.
Re:Electrons and Atoms on Wednesday August 28, 2013 @03:30PM (#6292113)
Yeah, that's what I meant by the last sentence :)
Re:Electrons and Atoms on Wednesday August 28, 2013 @03:21PM (#6292068)
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".

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.

Re:Introducing Quip on Wednesday July 31, 2013 @12:44AM (#6131964)
That "something" can be almost any device. I'm writing this comment on a keyboard attached to an iPad.
#erlang on Freenode. They're friendly and knowledgable folk.
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/

Re:Show HN: Github for recipes on Saturday January 26, 2013 @11:37AM (#5120812)
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.

Re:Show HN: My HTML5 Game for Github Game Off on Friday November 30, 2012 @10:10AM (#4853499)
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/

Re:Do Intelligent People Drink More Alcohol? (2010) on Monday November 05, 2012 @03:11AM (#4742681)
Probably attempts to remedy hungover-anxiety.
Re:The Homely Mutt on Monday October 01, 2012 @11:05AM (#4597395)
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.

Older »