HNHacker News
TopNewBestAskShowJobs

Yaggo

1,665 karma · joined April 21, 2010

http://jholster.com
submissionscomments
Yaggo··on Beam has raised $9.5M to reinvent the browser
I don't think there's any mention of the new browser being open source? Not sure why you used GNOME Web as an example. Safari is based on webkit and actually webkit is originating from Safari (forked from khtml ages ago).
Yaggo··on Null characters in Postgres: workarounds aren’t good enough
Yeah. There's probably all kind of obscure use cases for ASCII, but generally, any text meant to be human readable should be Unicode encoded, whether you call it "string" or "blob".
Yaggo··on The Sámi on Camera
Sámi people still exists, sure, but their culture has changed a lot, naturally. They live in modern houses, use snow mobiles and helicopters for herding the reindeers (many work in "regular" jobs), buy most food from shops just as anyone else. Of course they are well aware of their roots and proud of their history.

Just an anecdote: my grandmother was born as Sámi, so I could officially have the Sámi status as well (but my kids not anymore), although I don't speak the language nor have much connections with the culture.

Yaggo··on The Dubai Lamp: The “World’s Most Efficient” LED Light Bulb
Light emitting diode as a fundamental technology is reliable and has very long lifespan, if the application is designed and implemented correctly, including thermal management and power supply. Unfortunately many consumer LED bulbs are cheap shit, but you can't blame the LED technology itself for that, it's the usual story with economics/marketing etc.
Yaggo··on TV detector vans once prowled the streets of England
IMO, YLE actually publishes pretty good content, watchable via streaming. Commercial channels are mostly full of shit. 163 €/year makes ~14 €/month, a fair price, if you accept that public broadcaster is a tolerable compromise.
Yaggo··on TV detector vans once prowled the streets of England
I remember the old times when there were inspectors going from door to door, often ex cops. Legally you weren't obligated to open your door, but if you did, and they heard a voice of TV, an invoice did follow. It was just crazy system.
Yaggo··on GNOME has no thumbnails in the file picker and my toilets are blocked
> I love Linux desktop

Which "Linux" desktop are you referring to?

Yaggo··on GNOME has no thumbnails in the file picker and my toilets are blocked
3.x/4.x was the golden age for KDE. I never felt home with Plasma.
Yaggo··on Open Source Smartwatch
Promising specs! I'd rather have multi-day battery life than fancy graphics, maybe even an e-ink display.
Yaggo··on Apple has stopped providing standalone installers for macOS updates
https://wpewebkit.org/
Yaggo··on No Cookie for You
> I accept but don't save any cookies except certain whitelisted ones.

That's basically what happens in private mode (incognito), I guess. Would be nice if browsers used private mode by default, and you could "whitelist" certain sites you trust / want to remember your login.

Yaggo··on No Cookie for You
Sure, there exists an extension for pretty much everything, but it's not an ideal situation that you need to install an extension for stuff like this.

Also, having too many extensions slows down the browser (because they need to parse/manipulate DOM) and extensions themselves are also a security/privacy risk and finding the good ones for every browser can be tedious.

Besides, my mom has no idea what's "a browser extension".

Yaggo··on No Cookie for You
> There is also `Do Not Track` header but it is not respected by most of websites.

The naivety of this approach almost makes me laugh. I mean, it's good intention, but really we cannot just trust the "bad" party. Active client-side measures are needed (e.g. as Safari does).

Yaggo··on Apple has stopped providing standalone installers for macOS updates
I definitely should! The software situation for Rpi4 is a bit messy, because of ongoing 32->64bit transition, but not all stuff works there yet with mainline kernel.

(From a hobby perspective it's a bit sad that some of the older APIs such as dispmanx/openvg are being phased out IIRC, because those are extremely powerful and useful for embedded-style applications, i.e. running something else than a destop.)

Yaggo··on Playing chess is a life lesson in concentration
I recently introduced chess to my kids (6 & 11 years old). They both immediately got hooked and we have been playing several games every night.

It's high-quality time for you & kids (no screens!), and also teaches the kids to think complex sequences (or combinations of the future) in their mind, and patience in general.

Yaggo··on Centering in CSS
> With this API you cannot “measure” anything, you can only check what was the result of an already computed and pre-heated flow.

That's a valid point!

Yaggo··on Apple has stopped providing standalone installers for macOS updates
Totally off-topic, but I recently made a super-simple OS installation for Raspberry Pi 4, based on archlinux and contaning only a Weston desktop, virtual terminal, and HW-accelerated browser (H264, WebGL etc). I immediately got hooked on that extremely simplyness & quickness!

It was one-off project for dedicated purpose, not a desktop replacement, but I will probably build another one and see if it's any usable as an actual workstation, because I merely need anything else than browser & terminals. (Well, probably also a dedicated headless server running docker for heavier stuff.)

(Context: I've been a die-hard Mac user since 2006, when I ditched Linux desktop, which I had used exclusively since 1998.)

Yaggo··on Centering in CSS
You probably wrote tongue in cheek, but it's a good point.

The fact that there are "JS land" and "CSS land" is one of the problems. There should be better integration between the two, eliminating the need for "hacks" such as replacing stylesheets by JS styling (popular with React, for example). Writing variable-based dynamic CSS is too hard. SASS and other variants don't solve the problem because they are compile-time, not runtime technologies.

Yaggo··on Centering in CSS
No doubt there's overlapping complexity in web technologies (e.g. flexbox and grid), partly because we can't re-invent everything from scratch. Multiple players probably also play big role here, single-vendor technologies are easier to get right.

But, often the problems are also non-trivial. The web platform is really diversed, there are user-agents everywhere from mobile phone to smart tv and everything between, with extremely varying input methods (touch, mouse, etc), resolutions, pixel densities, performance, etc. Some of the devices are never updated, running a decade old browser. I don't think any other technology faces similar challenges. Actually it's amazing that things work as good as they do.

Yaggo··on Centering in CSS
> Browsers don’t have direct measuring methods and require stupid workarounds, that’s it.

Oh? There are the old-school e.offset{Top,Right,Bottom,Left} etc methods for measuring the DOM stuff, and there's Visual Viewport API (experimental) for more advanced use cases:

https://developer.mozilla.org/en-US/docs/Web/API/Visual_View...

Yaggo··on Centering in CSS
I agree that there's lot of benefits and certain elegancy by sticking with CSS layouts.

CSS transforms are really just an visual effect, not affecting the layout. That's why they are super fast (typically HW accelerated by GPU), but not suitable for defining the layout.

Managing the DOM in JS may be order of magnitude slower but is still fast enough, actually surprisingly fast. It's common to implement 60 FPS animations e.g. in React. Of course the performance heavily depends whether the manipulation causes a layout reflow etc, but generally speaking, DOM is pretty fast nowadays, and most sites/apps are not _that_ performance critical (such as games). Yes, it's not uncommon either that a complex JS app becomes slow, but that's mostly because of inefficient programming / generally bloated app, not because the layout is done by JS instead of pure CSS.

Browsers already have "alternative" APIs to make totally non-DOM interfaces, such as canvas (2D) and WebGL (3d). Nothing prevents to come up with alternative layout/UI libraries written on top of them. I'm sure such a libraries exist. Why it's really rare to utilize non-DOM UIs is probably due to many reasons, i.e. compatibility issues with exotic/older user-agents, devs being more familiar with DOM based solutions, etc.

After all, I think DOM works pretty well even for app-style UIs. Actually, many "native" technologies don't offer as easy responsive layouts, user-settable font-size, etc, which comes almost for free with DOM. There's lof of beauty in the DOM, despite its document-oriented origins.

(Oh, I just typed out some mind flow of mine, maybe a bit off-topic.)

Yaggo··on No Cookie for You
I wish browsers had built-in mechanism for showing the cookie banners. After all, cookies are just an HTTP header sent from server and it's up to the user-agent to handle it.

There could be a standard header such as cookie-privacy-policy which would point to url containing the policy in standadrd format (html?) and the browser could show it in standard way (by user's settings). Personally I would be happy with just a little "privacy policy" icon in url bar, similar to https lock icon and reader view icon (in Safari).

Yaggo··on Firefox Was Always Enough
Yes, IE was very innovative in its heyday (up to version 4). But back then there was no strong standard body (sort of status quo) like we have today, and due to Windows monopoly they could come up with stuff which was never even intented to be implemented by other vendors (well, Mozilla). You cannot really compare that era to today's situation.
Yaggo··on Firefox Was Always Enough
It's probably true that it's difficult to decide what should be removed without breaking the browsing experience too much. Still, I bet that the engine still contains lot of code for legacy stuff from the era when we wrote HTML such as <table cellpadding="0"> etc.

The real problem of course is that the web specs itself have become too complex and expensive to implement. But a stripped-down version of browser could point out why we need to reboot the whole technology. It would be a long shot, I admit.

Yaggo··on Firefox Was Always Enough
> It's also the one that uses the least battery life

Battery life has always been very top priority for Apple. That's the reason why Apple stopped supporting Flash and basically killed it (thank gosh).

Yaggo··on Firefox Was Always Enough
Sorry for nitpicking, but it's 2020 and OS X has been called macOS since 2015 ;)
Yaggo··on Firefox Was Always Enough
It's somewhat a myth that Safari is less standard-compliant. True, Safari's release cycle is slower and Apple has the motivation to prevent PWAs to become too good, but in many things Safari has always been very innovative browser.

Built on top of KHTML foundation, it then became webkit and later the most successfull engine. It was the first to implement full ES6 support, and basically invented CSS transformations/transitions (really amazing stuff back then but not really used until all major browsers caught up years later), was the first to ditch Flash support, has argueably the best privacy policy, has superb font rendering, etc.

Yaggo··on Firefox Was Always Enough
Mozilla should launch a stripped-down version of Firefox, with all the past 20 years' legacy support removed. No quirk mode etc. Just bare minimum implementation of modern core web tech. How fast would it be?
Yaggo··on Firefox Was Always Enough
It's not that Firefox isn't an excellent browser on its own, but on macOS Safari rises the bar very high if you care about details (most people don't).
Yaggo··on EU countries team up for semiconductor push
EU will probably never give English any kind of official status of "linqua franca", because Germany/France/Spain/Italy etc. big countries with long cultural history just won't accept it. Smaller nations are much more flexible because they always have had to.

That being said, English is already unofficial common language between most Europeans. E.g. it's very common for Finns and Swedes to communicate in English, despite Swedish being one the official(!) languages in Finland (also taught in elementary school), simply because many Finns have much stronger English than Swedish skills (and Swedes speak typically more neutral (clear) English than native speakers).

Actually, because English is native language only in UK, that makes it excellent lingua franca for the rest: when both parties speak it as 2nd langauge, the communication is more easily kept in the same level (i.e. not speaking too fast, using exotic words, etc).

That's just how the world works nowadays, e.g. in tech English vocabulary is extremely pervasive. Even in Finnish every-day talk in tech related areas we often use direct loan words from English ("Finglish").

Personally I think the only downside of English is its irregular prononcing, i.e. relatively weak correlation between written and spoken language.

← PreviousPage 4 of 23Next →