News for hackers. Stuff that matters.

prawl

Re:Slack closes account of an Iranian user living in Canada on Thursday December 20, 2018 @11:16AM (#18726155)
You are surprised by how deep-rooted America's hostility is towards Iran, so you seize the opportunity to incite hatred against Sunnis?
Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @10:43PM (#17159889)
This isn't a vast majority by any stretch of the imagination.
Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @10:39PM (#17159872)
You edit code, test it, and then have some program rewrite your code after testing but before it becomes an immutable commit hash?
Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @10:34PM (#17159847)
A double quote is in no way harder to read. Only on Hacker News.
Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @10:34PM (#17159844)
A different comment character could have been chosen, but this affects nothing. It's not insane.
Re:A day without JavaScript on Wednesday June 07, 2017 @10:53AM (#14506912)
If the main work your site is doing is showing pictures and text - and this is still and always will be a large part of the web - the browser has a number of features that work very smoothly and reliably out of the box: scrolling, page history, following a link when it is clicked, right-click save as, searchability, basic accessibility, etc. - and typically much quicker rendering than something which waits for a lot of extra HTTP requests and extra work being done in a VM somewhere.

Reimplementing these features in JS is often pretty feasible, and occasionally there are use cases for it, but it's a lot of additional overhead and it's not at all unusual to introduce bugs that really hurt the UX. (UX is not just adding as much branding as possible on top of vanilla browser behavior.)

The average newspaper website should not load 15 megs of junk from 20 different domains with a massive amount of Angular code just so I can read a single paragraph of plain text. This is an example of a document, it's what the web was made for and browsers already do it well without turning most documents into an SPA.

Re:WebAssembly 101: A developer’s first steps on Wednesday June 07, 2017 @10:09AM (#14506541)
Not to disagree with you, but native apps are extremely popular and well-accepted on smartphones.
Re:NHSbuntu – an OS for the NHS [video] on Monday May 15, 2017 @09:41AM (#14341463)
Can you spell out what you are implying? Are you saying that the NHSbuntu project is somehow involved with WannaCry, or that they are somehow profiteering?