News for hackers. Stuff that matters.

Boldewyn

Re:Ask HN: A good Linux laptop below 1000€ on Monday June 21, 2021 @07:34PM (#27585960)
I’ve got a Tuxedo laptop for four months now, which is a really nice piece of hardware.

https://www.tuxedocomputers.com/en#

Both software support and hardware quality are very good. Bonus points for having a Tux key instead of a Windows key ;-) . Maybe they’ve got something in your range?

Re:Create Opening Doors in CSS on Friday December 11, 2020 @11:22AM (#25387445)
Agreed, developing print stylesheets is a PITA. But the principle proof, that HTML + CSS is capable of being the authoring format for whole books, is brought by PrinceXML, https://www.princexml.com/, for years now.

It’s just that browsers suck with handling print styles.

The splitting is something, that the CSS authors already did with CSS 3 and its single modules (specification-wise). But authors don’t really see anything of that in their day-to-day work.

Re:Ask HN: Has T-mobile started blocking NPM? on Monday December 16, 2019 @04:33PM (#21807475)
FWIW, on _German_ T-Mobile access to npmjs.com works just fine.
Re:Oversaid – Keeping track of who said what in tech on Tuesday November 19, 2019 @08:57AM (#21572801)
Sorry in advance for the rather harsh feedback, that follows. It’s basically my unfiltered impression when I visited your site before reading your introduction comment here.

This is one of the occasions, when I love the German “every website needs a ‘Who’s responsible for this?’ page” law (a.k.a. “Impressumspflicht”). Why should I trust your specific selection of quotes and their interpretation? You even don’t trust your visitors with a “Who are we?” section. For all I know, this could be a Chinese or Russian troll factory outlet sale.

For this to work (for me, at least) you need to work _way_ more on the site’s transparency than a more or less default privacy disclaimer and an e-mail input form: Who am I, what criteria and sources are used for the quotes, how are they categorized, what do I do to prevent bias... The technology may as well be sound and state-of-the-art, but if I don’t trust the website, I won’t sign up to anything.

Re:Ask HN: We've all been there, what was your big stuff up? on Thursday February 02, 2017 @04:26AM (#13549224)
Looking for a specific line in the production server's /etc/password with this command:

sed -i -n '/foobar/p' /etc/passwd

trimmed the file to a single line's length. D'oh! Shouldn't have added that `-i`, should not have done that.

Luckily I could restore it from a (working) backup while still logged in. Phew!

Re:Popcorntime for Your Browser on Friday February 26, 2016 @04:51AM (#11180642)
On a rate from 1 to Guantanamo, how illegal is this?
Re:Do we need browsers? on Monday July 20, 2015 @05:22AM (#9914854)
Of course, if the language of a program is stripped down, the interpreter can be made much safer. But then, we gain nothing from trying to shove down the users’ throats other platforms compared to, say, WebAssembly, which _will_ be shipped in almost all browsers in a year or so.

Just look at the long history of people trying to bring Python in the browser, or the fight to get Java applets _out of the browser_ again.

Basically I read the article as “scrap that web thing, and just begin from scratch”. And this is not a worthwhile path to go for many reasons.

Re:Do we need browsers? on Monday July 20, 2015 @05:17AM (#9914843)
In 5 years, that’s my rough prediction. So long it will take for the browsers (with significant market share) to catch up with existing native features to combine them with the web. Then we have enough instances out there to use reliably:

- canvas + 3D support

- asm.js / WebAssembly: a way to run performant byte code

- WebRTC: Video chat, file transfer P2P

- APIs closer to the hardware like vibration, ambience, speech, ...

- stuff, that’s being developed but I don’t know yet, because the field has become so huge now. Small glimpse: http://caniuse.com/

And for developers it’s a single platform, together with distribution channel.

Apart from that: Truly innovative stuff happens on the web regularly. For example, look no further than Facebook (or Reddit, Imgur, Twitter, whatever you like). A software (in the broader sense), that allows billions of people to connect with each other and share thoughts. Imagine that in the age of SMS, phone books or snail-mail! You will see, that it’s fundamental to make something like social networks, the browsers had first to evolve from the bunch of hacks, that they were in the 90’s.

Another example of the power of browsers: FirefoxOS. A complete smartphone OS powered by web technologies on a thin Linux layer.

So my point is: the “truly new stuff” is partly already out there, you just have to look. And partly it will hit your devices, when the browsers are evolved enough. It’s a continuous process, and not a single “wait, there’s more...” (which doesn’t surprise the least, when you think of the _huge_ numbers of devices out there).

Edit: Formatting.

Re:Do we need browsers? on Monday July 20, 2015 @04:08AM (#9914598)
Well, we have a scenario rather close to the one described in the article on mobile: Browsers for text content and apps for specialized stuff, that can incorporate web views, if needed, and access the net. (Yes, I’ve read the second-to-last sentence.) In a nutshell, it sucks.

To start with, I don’t buy the premise “Okay, so web browsers are awful for applications.” The statements before are way to generic to prove anything.

“[...]resource hungry beasts with millions of lines of code” falsely connects those two properties.

“[...]use several gigabytes of RAM, even when just displaying document-like content” might also be rooted in advertisers packing megabytes of rubbish in an iframe or web devs loading tons of unneeded web fonts. So, that’s bad engineering on the server side, not the browser’s.

“[...]that reimplements much of the features of an operating system on top of a real operating system” Chromebook anyone? Yes, that’s actual, ready-to-be-bought devices out there right now, that do exactly this. And lo, the problems are somewhat contained.

The conclusion also does not show any solution to the non-problem discussed above. “Imagine something like xdg-open.” I don’t need to imagine that, I have it right before me available in the terminal. And packing another service discovery on top of the stack is, to come back to my opening words, not so different from the closed-world app stores. Even Ubuntu has such a thing. And guess what? For people without technical knowledge keeping everything in the browser is way more efficient (work-wise, not performance-wise) than explaining arbitrary switches in context from browser to some app to some other app and back to the browser.

Security: “I’m no expert [...but...] doesn’t seem to be completely unrealistic.” The devil’s in the detail, as virtually everyone who works on browsers’s JS engines can tell you. A runtime, that downloads arbitrary binaries from the web to be executed, sounds in every regard like a bad idea, even if you put it in a full virtual machine. The two-word argument against this is basically “Flash exploit”.

Platform independence: The author might be too young to remember Java’s “write once, run everywhere” claim, that turned out to be not so fully true. And turning the current state of almost full platform independence in the browser for some proposed, from-scratch infrastructure will become exactly that disaster, that Joel Spolsky warned about 15 years ago in the context of the Netscape rewrite (http://www.joelonsoftware.com/articles/fog0000000069.html).

“But one thing is certain: the web platform we have today is already bloated, does not suit our needs and severely limits innovation.” No. It is not certain. Browsers today run on low-profile smartphones. Bloated web platform? Most of these things are opt-in, and many clever people build fallback strategies in new specifications to enable _everyone_ to become part of the web. Limiting innovation? Quake runs smoothly in the browser. Who would have figured that 10 years ago?

All in all, to me it seems the post is written by someone, who hasn’t yet fully groked the web.

The situation must be differentiated by language/environment. The suggestions for Haskell are certainly not bad. They hold, too, for many systems programming.

For scientific coding, comments should align with the underlying theory for the code: “This implements matrix transposition with regard to ... as defined by ...”, so that next generations can align code with papers better.

And when you’re in a wacky environment like the PHP runtime or coding for a moving target like the browser, comments might be indispensable to explain one or the other really strange way of doing things, where you simply have no other choice. Look at the [jQuery source code](https://github.com/jquery/jquery/tree/master/src), where they comment excessively, which browser quirk they address with which work-around.

Re:Why does the sum 7x8 catch people out? on Thursday July 03, 2014 @04:35PM (#7985605)
As a non-native speaker, is “sum 7x8” an error? Shouldn’t it be “product 7x8”?
Re:Hey Latex users, I have an idea for you on Monday December 16, 2013 @11:20AM (#6915687)
Been there, done that: http://www.svgopen.org/2010/papers/68-Scientific_Publishing_...

Not only hasn’t there any advance since 2010, no! It even worsened: With Opera switching to Blink, Chrome dragged it with it into the dark “We need no MathML” hole. Huge step backwards.

Re:Ask HN: What kind of side projects are you working on? on Tuesday November 26, 2013 @03:19AM (#6799868)
Almost all of the little spare time I have goes into http://Codepoints.net, presenting and explaining Unicode codepoints.

Edit: The page is fully open source: https://github.com/Boldewyn/Codepoints.net

Re:Do Not Track is not respected on mozilla.org on Wednesday July 31, 2013 @07:08AM (#6132890)
The discussion is good and also a great example for Mozilla caring (especially that it is discussed in the open for all to see).
Re:Hetzner and all v servers down on Friday May 31, 2013 @08:15AM (#5798093)
Germany’s fine. Could it be a DNS thing?

Older »