News for hackers. Stuff that matters.

oxplot

Re:Ask HN: Do you still read RSS feeds? on Saturday February 20, 2016 @02:42AM (#11139298)
Have you looked into online tools [1] that let you make feeds out of any webpage?

[1]: http://superuser.com/questions/361093/how-to-track-blog-chan...

Re:Ask HN: Do you still read RSS feeds? on Saturday February 20, 2016 @02:39AM (#11139292)
You beat me by 10. Care to share some of the less popular sources you consume?
Re:Ask HN: Do you still read RSS feeds? on Saturday February 20, 2016 @02:35AM (#11139286)
Absolutely! My only source of news/articles comes to me through RSS feeds that are sent as emails. lapafeed [1] running alongside a free Mailchimp and OpenShift instance takes care of the whole thing.

[1]: https://github.com/oxplot/lapafeed

Re:Python 3 in 2016 on Thursday February 18, 2016 @05:54AM (#11124945)
I personally find python in general to align almost perfectly with the way I think about writing software. It's interpreted so I can do things like compiling dynamic python in my code or fall into a python shell for debugging. Majority of time, I can use the standard library to do everything I need. And I love the clean syntax of Python — always a pleasure to look at.

As for Py3, the standard libs are very clean and streamlined, (e.g. io). Oddly enough, the point that I love about Py3 is its handling of unicode vs bytes (which most people find it difficult for some reason).

I'm not sure what you mean by "can't target the browser"? I don't find distributing/deploying python to be difficult or even involved at all. I do get annoyed at the single CPU bound limitation.

If I had to summarize why I'd pick Py3 for new projects, I'd say because it thrives in being minimalist and I hate clutter.

Re:NASA Space Tourism Posters on Tuesday February 16, 2016 @08:04PM (#11114396)
Contacted NASA and it's actually on purpose, so they look better printed.
Re:NASA Space Tourism Posters on Tuesday February 16, 2016 @05:54AM (#11109052)
Anyone noticed the colors in the TIFFs are off? They're very saturated and slightly off hue (compared to the preview image and the PDFs).
Re:The fall and rise and rise of chat networks on Tuesday February 16, 2016 @03:31AM (#11108565)
Ah, nostalgia. I used MSN Messenger religiously until I started college at which point had to switch to Linux (thank goodness). Lots of fond memories. At some point I figured that since MSN lists the online "buddies" in unicode order, putting a space at the start of one's display name puts them at the top of everyone's list!

Also, it's interesting to see how people corrected their typos back in 80s, "Er, " instead of "*". I like the former better actually.

Re:NASA Space Tourism Posters on Monday February 15, 2016 @03:33PM (#11105729)
Got an entire empty wall to furnish with these.
Re:The radical plan to destroy time zones on Monday February 15, 2016 @11:58AM (#11104368)
I believe most mobile phone cell towers transmit local time. I'm not sure if you need to be subscribed to a service or not. If not, then you basically only need a cheap GSM module, costing around $10.
Re:The radical plan to destroy time zones on Monday February 15, 2016 @11:35AM (#11104223)
> Okay, it looks like I'm going to have to do this the hard way. Is the Sun up in Melbourne?

> Let me find a webcam somewhere in that city.

Seriously? Can't just Google "sunrise time in Melbourne"? Sure way to lose credibility fast with writing like that. In fact, finding out the sunrise time was all s/he needed to do to figure out if it was a good time to call the uncle.

Re:Making robust software: the “Mars Code” talk (2012) on Monday February 15, 2016 @11:19AM (#11104129)
> For example, coding standard says every "switch" statement has to have a "default" case. grep "switch", grep "default", and you get wildly different numbers! Standards were not being followed.

Are they implying that MSL is the first time they used automated code checks?

Re:Why I don't like smartphones on Sunday February 14, 2016 @08:35AM (#11098206)
> Supposedly, with Android you are free to install software from arbitrary sources ...

Certainly. Go to Settings -> Security and tick "Unknown sources" option.

> With Android devices there is a distinction between “rooted” and “unrooted” devices, which sounds suspiciously similar to “jailbroken” and “unjailbroken”.

Sounds like it, sure. But as majority of top Android manufacturers have an official page [1][2][3][4][5] describing how to unlock their bootloaders so arbitrary OS can be installed, that similarity disappears.

> With a PC, I don't have to perform some arcane operation to actually have control of the device.

Ask your average PC user how to install a different OS, or even how to re-install the same OS and you'll soon find, the process is "arcane" on all platforms. Also note that I found all the official links I listed, to unlocking various android phones, in 5 minutes.

> Moreover, it seems to be common to discriminate against people who have the gall to “root” their device, or to disable some functionality of the device if such “rooting” is performed.

Nothing stops a PC app developer to put in checks on what ISP you're connected to for example or whether your user has root access. I use Cyanogenmod on my phone and not one app so far has discriminated against me having root access. Point is that it's very uncommon.

> I believe there are even online banking applications which reserve the right, in their terms, to detect if a device is “rooted” and refuse to operate on them.

Yes, they are the developers and they set the terms. There are also banks whose websites simply reject a particular browser by name, not because it lacks a certain functionality.

[1]: http://www.htcdev.com/bootloader

[2]: http://developer.sonymobile.com/unlockbootloader/unlock-your...

[3]: http://developer.lge.com/resource/mobile/RetrieveBootloader....

[4]: https://motorola-global-portal.custhelp.com/app/standalone/b...

Re:Ask HN: What else do you read as regularly as Hacker News? on Saturday February 13, 2016 @03:32PM (#11095554)
I've only ever used FreeCAD and OpenSCAD. I assume SolidWorks is something like FreeCAD, an interactive 3D editor. Out of the two, I'd pick OpenSCAD any day. Here're some reasons:

* If you're a programmer, the learning curve of OpenSCAD is almost non-existent. Assuming you're familiar with 3D modelling concepts, it should take an hour or two to go through and play with the entire feature set of OpenSCAD [1] (which I did).

* It's simple and the defaults are sensible.

* Your model is basically a line based source file which can be put under git and improved through pull requests, etc.

* Your model is easily made parametric. Last model I made was a tripod mount where I could simply change the angle of the legs or wall thickness and everything would adopt.

* OpenSCAD can be used as an 2D vector modeler as well. For me, it's replaced Inkscape 90% of the time.

There are however things that are not as easily doable with OpenSCAD. One feature lacking is constraint solver so you have to do some back of the napkin trig for such things. I've also found it non-trivial to simply "chamfer" an edge, like I could in FreeCAD.

[1]: http://www.openscad.org/cheatsheet/

Re:Sqlite browser on Saturday February 13, 2016 @09:07AM (#11093947)
Note that SQuirreL SQL [1] or just about any JDBC compliant SQL client combined with Sqlite's JDBC driver [2] can be used to interrogate/manipulate the structure and the data stored in Sqlite database files.

[1]: http://squirrel-sql.sourceforge.net/

[2]: https://github.com/xerial/sqlite-jdbc

Re:Sqlite browser on Saturday February 13, 2016 @09:02AM (#11093932)
If you'd like to criticize or praise their UI, it'd be helpful to others if you made it explicit, so in the least the developers could learn the strong/weak points of their work.
Re:Sci-Hub: Removing barriers in the way of science on Saturday February 13, 2016 @08:57AM (#11093918)
http://libgen.io/ which archives the sci-hub's newly accessed papers distributes the copies through BitTorrent. Libgen itself is also mirrored in multiple locations. Even if Sci-hub is taken down, it shouldn't take long for another to pop up.
Re:Sci-Hub: Removing barriers in the way of science on Saturday February 13, 2016 @06:41AM (#11093590)
I don't know where vortico's getting his/her stats, but you can calculate it yourself from the http://libgen.io/ , where sci-hub.io stores the newly accessed papers [1]. They have torrent archive of all the materials since 2011.

[1]: https://en.wikipedia.org/wiki/Sci-Hub#Website

Re:Writing Cloud Functions on Thursday February 11, 2016 @12:59AM (#11078479)
Didn't know about API gateway, so it's all good then. Also I meant to say "Cloudflare".
Re:Show HN: I've been writing daily TILs for a year on Wednesday February 10, 2016 @06:42AM (#11072070)
I've been doing this for years but sparingly and in my blog (in fact my blog's heading reads "because I forget simple little things too soon"). Never occurred to me to git it as that makes it effortless to record just about everything. Thanks for the idea.
Re:We're ditching the office completely on Wednesday February 10, 2016 @06:35AM (#11072037)
I too turned off notifications on gmail a long time ago. However, I've setup some filters looking for words like "urgent", "emergency", etc without telling people that I have. They're all labeled accordingly and that specific label makes a noise on my phone. It seems to work pretty good so far.
Re:Writing Cloud Functions on Wednesday February 10, 2016 @04:12AM (#11071540)
Infinite scalability is all party until you get DDoSed and have to sell your house to pay the bills. How do you prevent that? Cloudfront maybe?
Re:Mediatek MT6261 ROM dumping via the vibration motor on Sunday February 07, 2016 @02:46PM (#11054446)
CHDK project [1] early on used to dump flashes of Canon cameras through their LEDs [2].

[1]: http://chdk.wikia.com/wiki/CHDK

[2]: http://chdk.wikia.com/wiki/Obtaining_a_firmware_dump#Hardwar...

Re:The Powder Toy on Sunday February 07, 2016 @09:24AM (#11052914)
Re:Citizen uses OpenCV to track speeders near his home on Tuesday February 02, 2016 @11:04AM (#11020245)
To add to that, and perhaps more importantly, is human brain's constant reaction time and tunneling of the vision at higher speeds. The former means that you'll be travelling a longer distance before being able to react to something like seeing a pedestrian entering the street.

The latter narrows your peripheral vision such that looking straight, you won't be able to detect movements on the footpath and crossing streets.

EDIT: A famous commercial by NSW government [1] about the difference of 5km/h.

[1]: https://www.youtube.com/watch?v=h9VWF1DXQ8s

Great idea! I can think of a crowd sourced site that publishes these hourly stats from all ISPs and at different locations.
Re:Why Shitty Products Survive and Thrive on Sunday January 31, 2016 @06:09AM (#11006027)
Are you sure about it being marketing 101 and not 901? I can clearly see 100% of ads I've seen over the past month from established or younger companies doing exactly what Simon is criticizing.
Re:Login Forms Over HTTPS, Please on Friday January 29, 2016 @10:57AM (#10995890)
If a website only uses HTTPS for login, then it has to set a cookie for HTTP as well, otherwise how will the user navigate the site after login? From top of my head, you can implement this by associating the randomly generated session ID that you assign to all visitors, with the login ID.

Regardless, what jordanlev said still applies. The session can be hijacked.

Re:Why Shitty Products Survive and Thrive on Friday January 29, 2016 @10:46AM (#10995813)
Can anyone with startup experience talk about the effectiveness of the method that Simon Sinek promotes [1] as a way to break through a market filled with "shitty" products?

[1]: https://www.ted.com/talks/simon_sinek_how_great_leaders_insp...

Older »