HNHacker News
TopNewBestAskShowJobs

ungzd

1,787 karma · joined December 21, 2014

submissionscomments
ungzd··on Open Location Code: An Open Source Standard for Addresses
Also, much older systems: QRA Locator and Maidenhead Locator System.
ungzd··on Supercomputers will start building a 3D map of the world
Article title is misleading. It's not "3D map", like city map with 3D buildings or something like that, it's just a DEM, digital elevation model. It's not a map at all.

It's useful for addition information to build a map, but it's not a map.

ungzd··on Laws of Locality: Where in your UI you should put certain controls
> If a control affects change across an entire area, put it above that area

If I select multiple items, usually I do it from top to bottom (and from left to right). So I end up at the bottom of UI. And to run action I have to go back to the top? It's even worse if scrolling is involved.

And using gmail, which has pretty bad UI, as example?

ungzd··on TV detector van
> The most common suggested method was the detection of a signal from the TV's local oscillator.

See: superheterodyne receiver. Most modern radio receivers generate high-frequency signal for tuning, which leaks as radio signal (receiver becomes in some way a transmitter). However, it's not confirmed if these vans had working detectors, or were just for intimidation.

There were also stories about:

- Radar detector detectors (in places where radar detection devices in cars were illegal)

- Broadcast radio receivers detectors installed near roads to measure popularity of radio stations among drivers

ungzd··on Technical Vision for Qt 6
C++ (and even Rust) is not the best language to build UIs. Even if your app heavily uses C/C++ to do heavy computations, "scripting" language will be preferable for "glue code". QML is not a crazy new idea, for example Tk used Tcl.

And due to C++ API, Qt has poor language bindings, compared to GTK and many others with C API.

ungzd··on OpenStreetMap PBF Perfomance Tricks
Are nodes in first fileblocks in "planet dumps"? And then fileblocks mostly with ways? With this dump configuration fileblocks are mostly useless.
ungzd··on Google unlocks 33% of publisher paywalls on July 30
What is even more ironic is that it has anti-adblocker.
ungzd··on Ask if you're good enough for a monorepo
Described problems are not unique to monorepos.

If changes in some component's repo cause this component to break iOS, but you absolutely must use this change right now for Android, you will be left with branching too. Or, maybe, specifying different versions, if you use more complex packaging than git submodules, and only if android and ios apps are not built from single codebase.

Modularity is when APIs are well-defined and there's no unnecessary coupling. For example you don't know where public API of your component ends. Monorepos help here: it can make it clearer because tests will fail sooner when you break API contract because as soon as you make changes to component, these changes will be tested against users of this component.

I regularly have all described issues (except large number of files) without monorepos.

The real stopper is that to introduce monorepo you need advanced build system with dependencies between targets, which include tests (if tests already ran in previous build, and nothing is changed, don't run tests for that piece of code again), and that requires hermeticity. Almost impossible with e.g. Rails app and regular CI.

ungzd··on Some models of Airbus A350 airliners need to be hard-rebooted after 149 hours
> Our standards as developers & testers have gotten pretty low.

It's just an unsolved problem. No one never knew how to write complex robust software. Even with memory-safe languages. Even with advanced type systems, generative tests, immutability and advanced concurrency primitives.

And it's not a discipline problem.

ungzd··on 33 Beautiful Open-Source Icon Sets
I'm tired of modern web design. These icons are even not intended to be used on toolbar buttons, but for silly landing page lists. Landings that are all the same on every website.

I miss silk icons that were ubiquitous in late 2000s: http://www.famfamfam.com/lab/icons/silk/. I miss Tango Project icons, although Gnome went off-the-rails in their UI design. I miss small UI elements, like on freaking Windows 95 desktop, not optimized for pressing with finger, despite being shown on desktop.

ungzd··on Dropbox silently installed new file manager app on users’ systems
Does not look so bad. It's similar to web interface on dropbox.com, but packaged as "electron-like" app. Its functionality is related only to Dropbox, and it can be considered a part of main application. If it was third-party crapware, like free-to-play game or antivirus, I might be concerned, but it's just a piece of new bad UI and not worse than that.

If I do "apt-get upgrade" and "gnome" metapackage installs me another new picture viewer/calculator/text editor appeared in new version, does it mean "Gnome silently installs unwanted software on users computers"?

ungzd··on Building the New Twitter.com
Immutability
ungzd··on Wikipedia's robots.txt
> User-agent: TeleportPro

I remember using it to download whole (small) websites on dialup and then to read offline.

ungzd··on Lenovo BIOS Simulator
Would be even more mind-blowing if it ran real BIOS code on js x86 emulator.
ungzd··on Pi-Top 4
Programming smaller microcontrollers could be much harder (and unfamiliar). You have to use C and C++ only, in which you don't have standard C library. You have to use either Arduino as an OS, and it has no multitasking and perverted TCP/IP stacks (built on top of single-thread everything-blocking paradigm); or RTOSes, which are cryptic (again, no libc and no posix TCP/IP stack) and you have to write or port your own implementation of everything, including software serial and i2c. Debugging is hard, usually you print messages to serial port.

This is in contrast to Raspberry Pi, which runs linux and you can program in any language and everything is like on your main PC.

Maybe latest model is overkill for anything except desktop PC or home server, but there are simpler models. I think it's pretty normal to use, for example, Raspberry Pi Zero for IoT, because good luck implementing HomeKit on avr/esp8266/stm32.

I hate commercical electronics manufacturers putting fancy desktop-level ARM controllers on everything, but let hobbyists use them without hesitation even if the only reason is support of python.

ungzd··on Open Source Electronics Lab for $30
Someone recently mentioned something called “LHT00SU1”. It’s primarily a logic analyzer, but it has one analog input. (I’m not into EE, never used scopes, just randomly found a discussion about it recently)
ungzd··on Why I don't play mobile games on my smartphone
It looks bad (even on desktop), but the good thing is that it does not try to break my browser proactively, unlike, say, all news websites. Shockingly, there's no javascript at all!
ungzd··on Why I don't play mobile games on my smartphone
You can't port Quake to phones, but Gameboy had much worse screen and there were games. Unlike Gameboy, phones have no buttons, but lots of genres don't need fast action and precise pointing. Power consumption might be more serious issue, but some games are okay to redraw screen only on user actions. So it's mostly cultural and market issues.
ungzd··on Why I don't play mobile games on my smartphone
I rather interpret it as argument for "timelessness" of games. People still play 80s games, and it's not because 90s games are worse.

(However, Blizzard is degrading, and I find everything that they released after "original" WoW awful: SC2, Diablo 3, Overwatch, countless extensions for WoW, all of this look like developed by noname Chinese shop)

ungzd··on Why I don't play mobile games on my smartphone
Nowadays I usually just check what's on sale on gog.com, sometimes on Steam, but gog.com has less junk games, cleaner UI and, most importantly, better reviews: I found out that users there criticize more, give lesser ratings and don't hesitate to describe bad aspects; on Steam basically every game, if it's not a complete trash, has "overwhelmingly positive" rating, on gog most popular games have pretty bad ratings. And of course it has lots of old games that I didn't had a chance to play in their era, for example I played original X-Com for the first time few weeks ago.

For a while, I also watched Twitch, but seems that everyone except most promoted streamers got tired and there's nothing except streams of Fortnite. I discovered few games from there, at the times when it was interesting.

My friends are mostly playing AAA games on Playstation nowadays, so unfortunately I lost this way of discovery too.

ungzd··on John Carmack on QuakeWorld latency and business model (1996)
Maybe FRP (functional reactive programming) can give more abilities to reason when designing networked shooters and internal simulation in games. Just like React had revolutionized GUIs (it's not FRP library, but has ideas from it). With FRP, it's even possible to build "tickless" game logic. However, for now it has limited practicability and I never seen something complete that was built with FRP.
ungzd··on John Carmack on QuakeWorld latency and business model (1996)
There's https://warcreate.com/, but it's for Chrome. I don't know details of it, but aren't both browsers use the same API for extensions? Then probably it's possible to port it, or to install right away.

It creates .warc files, which are supported by Internet Archive. I don't know if it integrates uploaded .warc files to Wayback Machine, but Archive Team uses this format to upload manually archived sites to Internet Archive.

ungzd··on Microsoft Throws in the Towel on UWP, Elevates Win32
Suppose I'm going to add simple Windows gui for an app today, what should I use out of > 5 year old technologies? WinAPI in classic way, using Petzold's "Programming Windows, 4th edition" as a guidebook? WinAPI wouldn't be enough, I suppose, so can I use at least Comctl32 or is it deprecated? Should I use MFC? ATL? COM? Or should I use WinForms with .NET? Even if my app is written in native code? Isn't it for "business apps" only? Can I use it to write another Winamp?

I'd probably choose Qt.

ungzd··on Go Is on a Trajectory to Become the Next Enterprise Programming Language
Java has javax.persistence as a standard interface for ORMs, almost in standard library, and third-party ORMs use it.
ungzd··on Microsoft launches a drag-and-drop machine learning tool
Nothing shocking. GUI for machine learning existed for decades, for example Weka and Rapidminer. I don't see "drag and drop" in screenshots, however; it's just awful gadget journalism lingo, common for this site with reviews of gaming mouses.

ETL-style dataflow pipelines are more natural for such tasks than imperative programming, it's not just "for people who can't code". Rapidminer is dataflow-based too.

Actual links, if you want to avoid gadget news website:

https://docs.microsoft.com/en-us/azure/machine-learning/serv...

https://docs.microsoft.com/en-us/azure/machine-learning/serv...

ungzd··on Group f/64
Computer games strive to look like movies, borrowing established means of expression and cliches from movies (specifically, Hollywood movies). This includes narrow depth of field in cutscenes, color keying by genre (usually orange and blue) and imitation of chemical film colors. AAA games look very unrealistic, but everyone is too accustomed to this look.

Static graphics, rendered with non real-time methods, usually imitate photos, so depth of field is added too. They tend to look more realistic than games.

ungzd··on Pornhub wants to buy Tumblr
Definition of "porn" is too much different for Pornhub and Tumblr. For former, it's kafkaesque-lovecraftian movies with Hollywood-level effects depicting impossible forms of multi-person sexual intercourse, for latter it's usually just photos of women with uncovered breasts.

I can't remember seeing "real porn" on Tumblr.

ungzd··on Mark Zuckerberg Wants to Build WeChat for the West
What are key differences of RCS from MMS?
ungzd··on UFOs invading military airspace multiple times a month, but public won't be told
The real purpose of all these adtech trackers, which are actually useless for ads targeting, is to supply human behavior data to aliens.
ungzd··on Instagram Is the “Top Showcase Platform for Counterfeiters” on the Web
Not surprising, since recent hype around luxury clothing brands was formed in Instagram. Checked now number of people I know who follows accounts of these brands: gucci - 3, versace - 0, louisvuitton - 4, dior - 2. None of them can afford their products and they aren't especially interested in fashion design. What these companies did to achieve that level of marketing? It's probably much more effective and insane than traditional "glossy magazines".
← PreviousPage 2 of 18Next →