News for hackers. Stuff that matters.

oxplot

Re:Meeting People Is Easy, but Hard on Wednesday March 23, 2016 @09:25PM (#11349876)
The author gives some examples of questions to ask which is great. However I find that stories (real or fake) of a complete experience written in third person (or better as a video) is exponentially more helpful in communicating all the subtleties of activities that need practice, be it social interaction, learning to code or playing a sport.

Bullet points and tips put too much pressure and control around learning something fluidly because the learner is constantly measuring himself/herself against these "constraints".

Re:Tim Cook responded to this young illustrator's open letter on Wednesday March 23, 2016 @06:47PM (#11348910)
Since I first heard of the pen and saw the technical details of it (e.g. latency, tilt feature, palm detection) and general faith in Apple's ability to leapfrog innovate, I knew it'd be a huge deal.

I'm not an artist but when I tried it for the first time at the Apple store, I was blown away much more than I expected and had I been an artist, I would have probably had the same reaction as the author.

Re:We only hire the trendiest on Monday March 21, 2016 @08:37AM (#11327611)
It's not that unix folks don't appreciate it, but that it's not clear what to appreciate. From solely a personal standpoint, years of both using and programming on Windows taught me nothing about its values. However, I can talk about Apple and its values for hours and I've never owned anything Apple except its keyboard.

Joel, the author of the article you linked to, states the core value of Windows as being "useful to non-programmers" basing it on "By contrast, Windows was created with one goal only: to sell as many copies as conceivable at a profit". The former does not follow from the latter.

Microsoft didn't need to rely on usefulness to anyone to sell many copies, and they didn't. As for why Linux isn't non-programmer friendly, I beg to differ. Android is a prime example and the argument as to why it's not doing well on desktop, as Linus Torvalds puts it, is because no one ships Linux on their desktops. Microsoft has a lot to do with that. When and if they ever do, Aunt Marge will be as happy using Linux without even knowing it's Linux (does the average non-programmer know that Android is Linux?)

Re:We only hire the trendiest on Monday March 21, 2016 @07:08AM (#11327280)
Bias towards Windows is an interesting one. As someone who programmed on Windows for 9 years, I got away with writing code in IDEs and since most apps had GUI and command line was less than worthless, I was never exposed to simple tools that could be chained together under a minute that one had to spend hours either writing, or looking for a software that did the same in Windows.

It wasn't until I started college, where I had to use Linux to get my assignments done, etc. that my mind got stretched open. In three months I couldn't believe I survived in Windows for that long.

As an employer, the fact that someone has only ever developed in Windows and also uses Windows at home, tells me that at best they can appreciate unix and unix philosophy, but that it's unlikely they could build tools that do the right thing and play well in a unix environment, no matter how many years of experience they've had building tools.

But not only that, unix goes deeper and teaches you about how to do things inside your program, even if that part never talks to other programs. Things like do the dumb thing first; or when you have nothing to say, say nothing (e.g. `ls` prints nothing if no files found), etc. It's about mindset and values and those are almost always dictated by the environment. Also values cannot be looked up on stackoverflow and copy/pasted in 5 minutes. They take a long time to sink in and I can understand why an employer would want to skip that cost when hiring.

I think it should be as dumb and simple as possible and do nothing deviating from normal unix behavior (ie pipe). So it would cache only one chunk of data sent by A and start streaming to the first download request.
Well over the "Internet" kind of implies behind a firewall so the service would be a convenience to avoid setting up port forwarding etc.
It'd be cool to have the ability to pipe stuff over the Internet from shell in real time like you would with SSH for instance. So I could do:

A$ curl --upload-file - http://blah < /proc/kmsg

B$ curl http://blah/uYsfVX

and see live stream of data on B.

Re:Motion Design Is the Future of UI on Saturday March 19, 2016 @10:43AM (#11318713)
Power Saver feature of android (or maybe just the Cyanogenmod flavor of it) disables all animation which is based on the android UI framework and besides making everything faster (and apparently less power hungry), it could also change the way a user uses an app or bypass restrictions that the app developer relies on to limit user activity (e.g. like/dislike on a series of items).
Re:Ask HN: What's your primary development laptop? on Sunday March 13, 2016 @12:37AM (#11276382)
> I suggest you keep pestering them

I've had the motherboard replaced twice and the keyboard once and their last technician incorrectly assembled the main board which put it under a lot of physical stress. So I don't actually trust them to repair it anymore.

As for the internals, there are a lot of parts and the cabling is all over the place. I think it feels steardy because it's lightweight — I would not do anything to twist or bend it the tiniest bit. Compared to a macbook, or even a dell/hp, the lenovo is on the fragile side in my opinion.

EDIT: and worst part is that inlet vents for the fan are on the bottom. So "lap"top? not really, it takes 5 min for the thing to start cooking after used on your lap.

Re:Ask HN: What's your primary development laptop? on Sunday March 13, 2016 @12:23AM (#11276354)
OK. Sandisk SDs should support TRIM (provided the SD controller supports it too) so you could keep their performance up over the time.

I can confirm that Sandisk's 64GB microSD extreme pro is TRIMable on a raspberry pi.

Re:Ask HN: What's your primary development laptop? on Saturday March 12, 2016 @07:40PM (#11275516)
Doesn't it only have like 64GB of storage on it? How do you survive?
Re:Ask HN: What's your primary development laptop? on Saturday March 12, 2016 @07:37PM (#11275507)
> the ThinkPad has really good keys and typing is just such pleasure on it

Might be just the one I have but my keyboard, even after replacement, does not register some keys even when they're fully pressed (they have to be pressed further) and since I'm used to Apple's keyboard, I can't use it for more than a few minutes — It misses half the stuff I type.

> It has taken a few beatings — filled backpack falling laptop-side-first onto a railing from a height of a half-metre, dropped/slipped from a sitting desk to the floor, thrown across a (small) room and (upon a failed catch) rolling on its side

I have re-assembled this unit fully and having seen the hacked together inside of it, I highly suggest against physically abusing it.

As for mine, I bought the 16GB version and threw in a Sandisk Extreme Pro 480GB SSD and it's faster than a Ferrari. Overall I like it but in build quality department, it's in league with likes of Asus and Acer. It'll be my last Lenovo for sure.

Re:A non-trivial website that has no back end on Saturday March 12, 2016 @07:26PM (#11275478)
> someone should theoretically be able to extract the entire dataset as static files

Yep, not only possible but trivial. One has to just figure out where the hash links are in each blob and follow them.

Re:Ask HN: Why don't you blog? on Tuesday March 08, 2016 @02:54AM (#11244023)
I've been blogging since 2008 [1]. I think blogs are the least 3rd party reliant outlets for personal/pro content. As long as you can keep your domain, you have control over how, where and when your content is accessible. You control your URLs, whether you want ads or not, layout, etc.

Simple web pages (as opposed to walled gardens of social networks) are search engines' best friends.

As for mine, I actually wrote a static blog generator from scratch in 500 lines of python and all the articles are in pure HTML. Runs on S3 (can move away in a heartbeat), fast as a Ferrari and I wouldn't give it up for the likes of Medium in the long foreseeable future.

[1]: https://blog.oxplot.com/

Re:Unofficial Google Play Music Desktop Client on Sunday March 06, 2016 @06:00AM (#11233275)
> Never again will you have to hunt through your tabs to pause your music

Not exactly the same thing, but in Chrome, you can enable "Tab audio muting UI control" in chrome://flags which allows you to click the speaker icon on tabs that play music to mute it. Click again to unmute. Very handy for when you get a phone call!

> can only run code they wrote themselves

They of course can't use compilers either [1] and have to write the machine code by hand. Now if you consider the CPU's microcode as general code as well which can be updated, what is he to do now?

So I agree, you need trust, and the less parties you need to trust, the less chance of getting bit.

[1]: http://c2.com/cgi/wiki?TheKenThompsonHack

Second last "internal" photo, top left corner next to the ribbon connector. That thing that looks like a long cap SMD is the chip antenna (just guessing).
Re:The peril of talking to normal people on Tuesday February 23, 2016 @11:11PM (#11164515)
> better knowledge of a language should expand the amount of people I can communicate to, not decrease

I actually think the opposite: the more knowledgeable you are in any area, the higher your standards and your interest in details, things that people with lower level of knowledge are not appreciative of and hence not interested in.

As for case of language, I wasn't referring to everyday casual chit chat at lunch or at a party but half serious discussion with people about a mutual area of interest.

100% agreed re McDonalds. Not only that, its healthiness is easy to verify since all the ingredients and nutrition data is available. Good luck finding out how much saturated fat is in the dish at that posh restaurant everyone queues up for!
Re:The peril of talking to normal people on Tuesday February 23, 2016 @09:48PM (#11164187)
Sure, spoken language is fairly raw unprocessed output, but what I have a problem with, speaking with the general population, is that when they're asked to confirm/rephrase/clarify their imprecise output, they don't think of it as such. That I find unbearable. I say a lot of illogical/emotional things too, but I'm the first to notice it and correct it.
Re:You hear a voice in your head when you're reading, right? on Tuesday February 23, 2016 @09:32PM (#11164122)
Until today, I didn't know one could read a text without the internal monologue voicing it as well. I certainly can't. It also seems to explain why I'm a slow reader and why I tend to retain with precision, text that I've only read once. Definitely helps with understanding tech specs and manuals. And also why I dislike reading fiction because I find the language too verbose and inefficient.

But I don't actually hear a voice when reading and hence no detectable accents or tone. However, if I try to remember a line from a movie or a visual, like a scene, I can actually hear and see it, as if temporarily my brain routes my memories through my visual and auditory path, and sometimes it's unsettling even though I'm expecting it. As for the visual, I seem to have two distinct sense of vision, one from my eyes, and the other one that is so called the "mind's eye". For me, it lacks color and even shades.

As for remembering things, I can instantly tell a movie by a single frame of it even if I've watched it once and I'm yet to come across someone who can do that.

Re:“Smartphone” is the wrong name on Monday February 22, 2016 @05:19PM (#11154767)
Even with a purpose built DSLR, you still have to frame your shot. I meant I don't need to look at the screen to make the phone ready to shoot. I believe the software can go a long way. It will never be as UX friendly as a camera, sure.
Re:HTTP GZIP Compression remote date and time leak on Monday February 22, 2016 @04:54PM (#11154573)
Somewhat related, JPEG files have the potential to leak a whole lot of information (through EXIF metadata) if put online straight of a camera/phone. Things like time but also camera model and even precise GPS location. That's why I always use `jpeghead -purejpg` to strip that info.
Re:“Smartphone” is the wrong name on Monday February 22, 2016 @08:43AM (#11150700)
This can all be "fixed" in software. In fact, on my HTC One M8 which is running Cyanogenmod, if I double press the power button at anytime, it switches to camera app and I can then take photos by pressing either volume buttons. I don't need to (or do) look at the screen let alone interact with it.
Re:HTTP GZIP Compression remote date and time leak on Monday February 22, 2016 @07:45AM (#11150412)
Nice! Back when I started using it, it didn't have that (or I didn't look carefully enough).
Re:HTTP GZIP Compression remote date and time leak on Monday February 22, 2016 @06:26AM (#11150067)
This problem bit me in the butt when I was trying to setup my blog on S3. On every sync, all the pages, which were gzipped on my machine (Cloudfront doesn't do compression on the fly) would upload again. Then I discovered `gzip -n` which avoids storing the original filename and timestamp.
Say the new feature was a super accurate GPS, down to a centimeter so you could now find your way in a shopping mall. Oh and it'd report a position once a minute!
My lenovo x250 laptop has an internal battery that does exactly this, lets you swap the external one without interruption. I haven't used this much but I can see how important it is for someone on the go.

Older »