HNHacker News
TopNewBestAskShowJobs

gbl08ma

1,075 karma · joined April 1, 2013

Probably everything you want to know about me is here: https://gbl08ma.github.io/

[ my public key: https://keybase.io/gbl08ma; my proof: https://keybase.io/gbl08ma/sigs/IptL6B3YTB0jyItR6dM36ubj_vlkj4yiJ0ohX-QY0CE ]

submissionscomments
gbl08ma··on Visual Studio '15 preview 4
Visual Studio Code has nothing to do with Visual Studio proper other than the name, the logo and the fact that both are Microsoft projects. It's a pretty good text editor, actually - it's my Go IDE, thanks to the vscode-go plugin.

I just wish they hadn't named it like that, as it's a pain to open it (and Visual Studio) on Microsoft's own OS: if I want to open either of them, I'll begin to type "visual" after pressing Start, press enter... and with a bit of luck, it will be the "Visual Studio" I wanted to open. Worse is when I'm on it, and the guess doesn't change until I begin to type "Code" after typing the first two words. Really frustrating. So Microsoft's problem with names goes beyond codenames...

gbl08ma··on Helsinki Tries Self-Driving Buses in Real Traffic
I have read that in my country, one of the reasons why metro systems (and perhaps bus too), which for now are state-owned, are not more automated/driverless, is workers' union pressure for it not to happen. In fact one line was fully automated (but still had conductors just to open and close doors) but the system was scrapped some years ago; the official reason was that the system was obsolete, but many people think that additionally, there was some lobbying for automation to be removed instead of modernized (which would have been more economical in the longer term).

What I mean is that there are more than technical and legal challenges to self-driving transportation systems, especially when those systems currently employ human drivers who are obviously not willing to lose their jobs.

gbl08ma··on Turn Off Cortana Completely in Windows 10 Anniversary Update
Indeed DuckDuckGo's timer appears to be quite nice, I have it as my main search engine but didn't notice it had that. It's probably a recent addition. I agree that having to keep a browser tab open is not much of an issue, but for longer timers (hours) that can be an issue (although for that case, alarms are better suited... but then you need an alarm app, and while Cortana and Google Now will AFAIK set the alarm on their respective platforms, DuckDuckGo has no "platform" to do it...).
gbl08ma··on Turn Off Cortana Completely in Windows 10 Anniversary Update
Yeah, but I don't have Google mapped to a keyboard key, but even if I did, googling for "5 minute timer" (and similar variants, like "1 minute timer" or "30 seconds timer") yields the usual search results for me. At least Cortana is (at least since the Anniversary Update) consistent with what features it offers to each user, unlike Google which will randomly not present those built-in tools. And since I can't try it, I'm wondering: to use Google's timer, do I need to leave the tab open until it ends? Because in that case it's nowhere as nice as Cortana, which just goes into background...
gbl08ma··on Turn Off Cortana Completely in Windows 10 Anniversary Update
You don't need to talk to use Cortana. I had Cortana disabled until the Anniversary Update came. If you don't agree to letting it see your emails/calendar/personal stuff, it will become a limited version of itself (in fact, it didn't prompt me about it until I actively tried to do something that needed it). I was OK with letting that limited version enabled, and thought I would still not use even that.

A few days ago, however, I had to set a five minutes timer. It was much easier to press the Windows key and type "set a timer for five minutes" than to go search for whatever app is responsible for timers. I find the "grandma-friendly command line" part of Cortana much more useful than the voice control part, and I can see why it comes enabled by default. I mainly use Linux and wish I had something like that in my KDE desktop (the Alt+F2 command bar is similar, but nowhere close).

gbl08ma··on How foreign governments spy using PowerPoint and Twitter
> I already see people running virus scanners on their phones.

From what I've read and seen, those virus scanners are of little help, mainly because they are subject to the same sandbox restrictions as all the other apps (and aren't going to break the sandbox like the viruses). Most of them appear to be as good as those "Android cleanup" apps that do nothing but constantly clear caches (meaning they will be rebuilt unnecessarily) and bother the user with notifications and adverts.

gbl08ma··on Your battery status may be used to track you online
As someone building a cross-platform battery monitor that depends on APIs like this being available, I think the best solution would be to treat battery status like the location information, where the user is asked on a case-by-case basis whether to provide the information.

You might argue that this sort of stuff should only be available to native applications, that browsers should not attempt to replace native apps or even recreate an OS within themselves (something Chrome is often criticized for). The thing is, my battery monitor has native apps and yet users have been asking for web-based clients, be it browser extensions or plain web pages. And with some platforms loading a website or installing an extension has much less friction than installing a native app.

Sure, extensions can have access to a lot of stuff webpages don't have. But I would rather use standardized APIs that work across all browsers and are well documented in more than one website, than have to rewrite my extension for each browser and not have it work on plain old pages.

If the battery API was made to work like the location one I think everyone would be happy - users are informed and in control, developers can still offer features based on it, and it raises red flags when it needs to ("why is this advert asking about my battery status?").

gbl08ma··on Ask HN: How do you take notes other than using paper?
I bought a Surface Pro 3 to use OneNote, and I'm quite happy with it. I think the best part is that instead of having to carry both a laptop and notebooks or paper sheets for taking notes, now I just carry a light laptop. My back is much happier since I stopped carrying around hundreds of sheets (easily weighting more than a conventional laptop) in my backpack. It's not a cheap solution, though: I spent 700€ for the SP3, plus 120€ for the keyboard (not really necessary for taking notes), and this was for the lowest-end model at a time when the SP4 was already out. Think of all the paper you can buy with that...

I take my notes just like I did on paper, which means I hardly use the keyboard. So I just mix handwritten text and math and sketches like on paper. One major advantage, especially for people who, like me, aren't very good at drawing, is that you can delete each line as many times as you want until it comes right. All of a sudden, I can figure out what I've drawn :)

I zoom in for drawing details, and resize stuff when I need to make something bigger e.g. to make the details more visible. Once in a while I insert snippets from exercise sheets and the like so I can draw on them, or fill out tables, etc.

I can't imagine myself figuring out the LaTeX representation for formulas or whatever as I try to copy stuff from a whiteboard. And I'm not going to be solving exercises in LaTeX, either. For me, it was either this or paper; sometimes I need to use paper (for taking exams, if not for anything else) and I don't find it strange at all.

I have handwriting recognition disabled as it doesn't tend to play very well with math formulas and the like, which means I can't use search, but then again paper doesn't offer full-text search either. Having recognition disabled has the added bonus of improving battery life.

I tend to organize my notes as I write them. I rarely reorganize stuff later - it's been like this since I started taking notes on paper. It never takes too long to find what I'm looking for so I'm probably doing this right...

When I need to share stuff with other people I just export the pages from OneNote. But it's still hard to send handwritten stuff through e.g. Skype.

You see, I like this setup so much that I'm willing to put up with Windows even though I don't like it very much. I'm getting a degree in computer engineering and as I move on from math and physics courses I believe I'll stop needing to write so much math, to a point where plain-text files will suffice and I can go back to my beloved Linux shell. But then I can't mix sketches with text...

By the way, when I say OneNote I mean the full Office version, not the Windows Store "app" version, which is still crap. Both are free. However, I think the reason for the success of this method is not so much the software, but the digitizer pen...

gbl08ma··on KnightOS – a FOSS operating system for TI calculators written in z80 asm
Cemetech user here, although I pretty much stopped going there, as I was more into Casio calculator stuff and nowadays there's not much development activity for these. I must say I envy the large community support for the TI calcs, especially the older z80 ones, which are really really well understood and have been reverse-engineered in every way possible.

I kind of got into reverse-engineering the Casio Prizm, but eventually gave up because the SuperH is a much more complex architecture than the Z80; also, the firmware is so much bigger and not very well understood, it's hard for a beginner to dive in. That more or less explains why there's no such thing as a KnightOS for Casio calculators.

I'm part of that group that learned more about computers and programming with his calculator, than math. Which was actually a very good outcome, since in this undergrad computer engineering course, calculators are mostly forbidden, but the knowledge I got from them is quite useful :)

gbl08ma··on Ubuntu for tablets
Depending on the model, Linux drivers do exist, even if they aren't all in mainline kernels yet. Just a week ago I booted [1] on my Surface Pro 3 from a pendisk (didn't even need to disable secure boot) and pretty much everything just worked, including the pen, touchscreen, type cover and sound. Note that Linux Mint is much closer to Ubuntu than Chakra, which is based on Arch Linux.

The only thing that didn't work so well was sleep (only slept the first time); that's sometimes the case even with "normal" PCs, I'm sure that can be sorted out given enough effort.

The situation is not so good with the Surface Pro 4... a matter of time, I guess. I've been reading even Microsoft is yet to get Windows working perfectly on it, so...

[1] https://www.reddit.com/r/SurfaceLinux/comments/3w8du2/outoft...

gbl08ma··on Show HN: Goshify, store entire Markdown texts in URLs
Well, yes, it allows for that :)

The main idea was just to build a hashify.me "clone" that didn't require JavaScript to be enabled in the browser. I knew this would be easy to code in Go and indeed it was: just a matter of putting a couple of libraries together.

The storage features are more to avoid having to use URL shorteners to save the content. But with these features, it becomes more of a Markdown pastebin than anything else...

gbl08ma··on $15 Pine A64 is trying to be a faster, 64-bit Raspberry Pi
The problem, as always, lies in the fact this is powered by an AllWinner SoC. They are not famous for respecting the licenses of the software they use, namely the Linux kernel, and things like graphic acceleration are usually hard to get working (and I'm not talking about working without blobs, I mean they are hard to get to work at all).

IMO this is the major downside to Raspberry Pi alternatives like the Orange Pi and this. The Raspberry Pi is more expensive, but at least there's more documentation available, an effort to merge kernel stuff upstream, and there are even people working in getting proper, blob-free Mesa drivers working: https://wiki.freedesktop.org/dri/VC4/

With that said, it's nice to see cheap ARM64 development platforms becoming available, even if they aren't as open/supported as they should be.

gbl08ma··on Walmart’s $10 Smartphone Has Better Specs Than the Original iPhone
"for one, it’s running an outdated version of Android that may make it vulnerable to hackers"

Then I went to check what version it actually runs, and it's 4.4/KitKat. I do not have any phone with a version more recent than 4.4 (and that's the case for everyone I know). In fact, my phone is only running 4.4 because I went through the trouble to look in Russian forums for custom ROMs for it, since the manufacturer didn't get it beyond 4.2. My phone is a not very popular model, but even for some former flagships the only way to go is to get custom ROMs e.g. on XDA. Sure, I (and my friends) could get a new phone... but we are not interested in changing phones before they are even out of warranty (2 years in Europe).

This is no surprise: Google's statistics[1] indicate 4.4 is still the most used version. Cheaper phones being launched with older Android versions doesn't help, that's true, but these cheaper models are good enough for many people. And to be honest, the features (and change in looks/functionality) introduced in the later versions do not interest me much. If only Android had an update policy more similar to Windows and some Linux distros, where you stay with a major release but get security updates for it, for a sane amount of time...

[1] https://developer.android.com/intl/zh-tw/about/dashboards/in...

gbl08ma··on Electr, a language for electronic formulas
Sorry for the accidental downvote, I actually wanted to upvote :(
gbl08ma··on Silicon Brain: 100,000 ARM cores [video]
Since when is 192.168.x.x public?
gbl08ma··on The Promise of 5G
You are ignoring the fact that it's not just mobile devices that take advantage of fast mobile data connections. Being able to bring a LTE hotspot on long out-of-home stays is pretty nice, and while you may not want to do big downloads on your phone or watch 1080p videos on a screen with less vertical resolution than that, you may want to do so on your laptop.

If for you 4G is only slightly faster than 3G, then blame your service provider, because it's not supposed to. Where I live (Portugal) I get 2-7 Mbit/s speeds with 3G and 10-40 Mbit/s speeds with 4G. But most importantly, I was getting 100 ms pings with 3G while 4G pings are more like 20 ms. Or perhaps your service provider is limiting LTE usage to phones and forbidding tethering, which is silly too.

LTE is, right now, the only way to even get proper Internet connections on rural areas, where the alternative is DSL with speeds below 1 Mbit/s, and sometimes not even that. I believe it's also much cheaper for the network operators to cover those areas with wireless Internet than by laying copper, let alone fiber.

The main issue, that can't be stressed enough, is indeed the data caps. As things are now, higher speeds only lead to hitting the limits in less time. Worse, some sites now seem to detect faster connections and deliver more/heavier content over these (cough YouTube in auto quality mode cough), completely ignoring that a faster connection may still have caps. But I have no doubt there are uses for having fiber-like experiences over wireless broadband, especially if the latency is reduced (IMO more important than increasing the speed).

gbl08ma··on Windows 10 now wants you to pay for Solitaire
Paint and Wordpad are two of the "classic" utilities that stayed untouched in Windows 10 - even though Paint could benefit from some touchscreen-friendliness, for users with touch screens, that is. But Microsoft already has something called "Fresh Paint" in the Windows Store, with IAPs that can cost as much as $99.99 (according to the app description).
gbl08ma··on Facebook shuts down swedish pro kurdish page
The phone company doesn't place adverts on your calls, nor suggests products based on the subject of your calls, does it?

Facebook, Twitter, Reddit, etc. all need to curate so that their platforms stay family-safe, in order to please advertisers and the general public (imagine how bad it would be for e.g. Facebook if the general media started portraying them as supporting e.g. "terrorism").

gbl08ma··on Windows 10 is unfinished
I'm curious about future versions too. It's possible there will be no more, and Windows 10 is just a rolling release. If that is going to be the case, then you'll need to wait until people tell you that the updates up to that point were enough to make it "OK enough".
gbl08ma··on Windows 10 is unfinished
I too find it to be a step up from Windows 8, but it broke some things related to tablet use, which Microsoft got right with 8. I did a similar personal review when 8 came out, and did not write about it, because while Metro was outrageous, it was more or less well confined (you could use the desktop and not worry about it). Now they went further with the integration but still left it unfinished/unpolished.
gbl08ma··on Windows 10 Free Upgrade Available in 190 Countries Today
I don't find it very different from having the "Windows" brand shoved in my face with Windows Media Player, Windows Media Center, Windows Internet Explorer (formerly) etc. or the "Microsoft" brand shoved in my face with Microsoft Office, Microsoft Internet Explorer (formerly)... the OS is made by Microsoft, I expect to see mentions to Microsoft's properties and trademarks.
gbl08ma··on “We are considering adding an extension to restrict the use of WebRTC”
I simply stated facts, I did not say WebRTC should be dropped or restricted because of IP address leaks.

With that said, now let me express an opinion (not a fact): for every technological innovation there are downsides and upsides, and it's up to people to decide if the greatness makes up for the (potential) problems. With cell phones for instance, most people accept potentially having their location disclosed to the accuracy cell towers and triangulation allow, because it's super damn convenient to be able to place and receive calls and text from just about anywhere. Of course, there's a minority that is not comfortable with this and refuses to use cell phones or takes extra precautions.

Similarly, people may be willing to accept the problems of WebRTC because its applications are enough to make up for the disadvantages. People who don't accept will find ways to not use it. If the majority of users ends up blocking it, we can conclude that people don't want a peer-to-peer web, but a more sensible conclusion will be that people were not OK with that particular implementation of peer-to-peer networking, and a different implementation is in order, or that at least patches to the current implementation are needed.

> Peer-to-peer networking is the web's big chance to weaken these huge personal data-scarfing companies.

I think that most likely, these data-scarfing companies (and other parties) will learn to use WebRTC (as it is now) for nefarious purposes, before it hurts a tiny bit of their bottom line. I bet it's much easier and there is much more immediate monetary support for developing the pieces necessary to track users with WebRTC, than to implement an actual peer-to-peer application with it.

gbl08ma··on “We are considering adding an extension to restrict the use of WebRTC”
Knowing the local area IP lets advertising companies and other "less liked" parties distinguish the devices behind your public IP, without having to use e.g. cookies. At the very least, it's another data source for helping with browser fingerprinting.
gbl08ma··on Show HN: A Hand-Drawn QR Code Alternative
> Obviously, there is data in the drawing.

I know this, and one can think of it as the numbers encoded in a plain old EAN-13 barcode. But as with these barcodes, the numbers by themselves don't usually have any meaning, they are just the key of a key-value pair. In this case the key-value database is in the Meshtag servers.

Like you said, the "raw numbers" can still be useful for small-scale labeling, but once you are at the point where you're just using the drawing to record a simple ID, it may be just easier to write the ID alphanumerically and have the computer OCR it or even just type it by hand (with a checksum digit, this can be more practical and effective than having to deal with camera scanners - "oh where is that app again/where did I leave my phone again...").

gbl08ma··on Show HN: A Hand-Drawn QR Code Alternative
Unfortunately, and unlike a QR code, the data is not encoded in the drawing itself, which means an Internet connection is always needed. For URL sharing the Internet connection requirement is not so much of a problem (you'd always need that connection for browsing to the URL, unless it's a local or data URL), for everything else it may be.

Also, once the Meshtag service goes down or closes for good, all tags become impossible to read, which pretty much puts me off of using this for any permanent purposes. I suppose it will also have to deal with copyright infringement issues (and there would need to be a mechanism for submitting DMCA notices), but don't take my word for it. Related: it's easier to censor.

Whether these disadvantages are enough to make up for the fact that the codes can be drawn by hand, and can expire, only time can tell.

By the way, if this could be made to use squares instead of triangles, I guess it would be easier to draw on grid paper.

gbl08ma··on JerryScript – A JavaScript Engine for Internet of Things
The ESP8266 may be a good candidate. tmrmr already said in these comments that some other company had ported another JS engine to the thing. And the world isn't just Arduinos, Raspberry Pis and other nicely-packaged "hacking" solutions.
gbl08ma··on Why doesn't Windows recognize a USB device plugged into another port? (2004)
Unfortunately I don't have two devices with the same ID and no serial number to test, but assuming Linux et al deal with them correctly, there sure must be some way? I guess Windows could resort to using the bus/device number information only when there is no other way of distinguishing between two devices (serial number, USB PID/VID...).

The impression I get is that when Windows executes the "Found new hardware" thing, it installs (usually from Windows Update, if the setting is enabled) the drivers, but it's as if the drivers were installed for that USB port only... it appears to install the driver again and again as I move the device to other ports. This is not the way Linux deals with device drivers (once a driver exists in the kernel or is available as a kernel module, it works irregardless of the port), and as far as I know on OS X and BSD kernels it's similar.

gbl08ma··on Why doesn't Windows recognize a USB device plugged into another port? (2004)
That, and Windows also seems to create a different network connection profile for the same wireless adapter, every time I plug it into a different USB port. I always end up with something like "Local Area Connection 4" just because that's the fourth different port I've connected it to.

Other operating systems do not seem to suffer from these problems as badly, and this MSDN post is from 2004 (three major Windows versions, soon four, will have been released since then), so does anyone know what are the current roadblocks to getting this behavior changed? As someone else said, these kinds of annoyances add up (you really notice them better if you frequently use other OS).

gbl08ma··on Lenovo Announces a $130 Windows PC in a Stick
I own a Windows tablet (Voyo A1 Mini) with exactly the same CPU and amount of memory and storage, which I have been using as 7" keyboard-less laptop replacement, so I thought it would be interesting to share my opinion.

The CPU is fast enough for moderate web browsing, using Office, playing videos and music, etc. In other words, the casual tasks of an "average user". Of course, it wasn't made to compile software or run complex simulations, and it has some thermal throttling (my tablet has no fans and this stick doesn't appear to have any, either), so if you use the four cores to the maximum for some time, the speed will start decreasing from 1.56 GHz (I have made the max go as low as 0.96 GHz due to throttling). This is the kind of thing that doesn't show in all benchmarks, so beware. (To be fair, spec sheets also don't say that when cores are not fully used, turboboost kicks in and a single core can be working at 1.8 GHz for quite some time).

The integrated Intel graphics are (as usual) good for media playing, web browsing and dealing with Windows UI animations, but forget any kind of gaming that demands more than a smartphone game.

The biggest problem, for me at least, is the lack of RAM: 2 GB of RAM are filled quite fast with 6-8 Chrome tabs and some background software open. It also doesn't take much to fill the whole 4 GB of commit space, and of course, bringing pages in and out of the pagefile is quite slow (the storage is flash, but not quite a SSD). It is easy to make Windows show a "system running low on memory" message just by opening 20 Chrome tabs, some with heavy sites. If all you want to do is run Microsoft Office, I found it to actually be much lighter on memory use than I previously thought (I never saw OneNote, Excel or Word go beyond 90 MB).

Storage gets quite full very easily, mine is always with ~1 GB free (Windows and Office installed on C:, most other things installed on the SD card), and this is using things like NTFS compression. If this stick is like my tablet, it will have 6 GB of storage "wasted" on a recovery partition. Also, the trick Microsoft recommends OEMs use for fitting Windows on systems with as few as 16 GB of storage, which consists on using WIM images for storing the system files, works only while the install is fresh: as more and more system updates are installed, the altered files seem to be stored out of the image, which means there's effectively more space used with Windows files than with a normal install. I have "reserved" the Windows 10 update and I'm eager to see how it will deal with background-downloading the (possibly gigabytes) of files into a system with only 1 GB free.

I once thought of installing Visual Studio just to see how slow it would run, but gave up once I understood most components must be installed to C: (it appears that installing VS effectively equates to "extending Windows" with developer tools).

I am still quite happy with the purchase (it was about $150) since it allows for doing things Android tablets don't do, like running the full MS Office or using proper desktop versions of browsers and other software. I imagine this stick opens the same kind of possibilities.

gbl08ma··on PicoC: A very small C interpreter
I have used this to bring a form of scripting to the graphic calculator I used and hacked on during my high school years. I think this really shines on embedded systems: it's quite easy to map existing syscalls and functions to PicoC functions with minimal overhead, more complex things like struct passing are supported, and memory addresses can be accessed directly just like with "real" compiled C (something that has upsides and downsides, but I like this kind of freedom a lot, and as far I know, other scripting languages like Lua don't support it).

Unfortunately, function pointers aren't supported, and it's 10x slower than equivalent compiled C, if not more, and perhaps slower than Lua (and we aren't even talking about LuaJIT). There also appear to be some issues yet to be dealt with, as can be seen on the previous project page at Google Code: https://code.google.com/p/picoc/issues/list

← PreviousPage 2 of 5Next →