Better HN
topnewbestaskshowjobs
Log inSign up

zapperdapper

367 karma · joined May 26, 2017 (9y ago) · 311 submissions

Submissions

comment 9y ago · link · parent

Oh dear, the secret of Y-Combinator's success is finally revealed - blind luck! ;)

Real ideas start with real problems.

Just off the top of my head...

1) Have you ever tried to debug an HPC program running on 700,000 cores? You are probably using a patched version of GDB and it's darn painful!

2) Why are we still using a 1970s designed programming language in embedded systems that almost guarantees baked in bugs around memory management and multi-threading?

3) What do we do about data strangulation by the big players that is going on in the web right now?

4) Why are we using presentational markup for the web rather than semantic?

5) How to bust up a travel industry that is basically a brutal cartel of the big players?

6) And it would be really, really nice if I could get my repeat prescription without having to phone both the surgery and the pharmacist, then drive to town, pay for parking, find they can't issue my meds because the pharmacist went off to do his xmas shopping, and wait for an hour until he gets back, and then have to repeat these shenanigans the following month...

7) Why do so many applications, especially those in Python, fail to take advantage of multiple cores, and what can be done about it? We live in a multi-core world now folks...even embedded ARM chips are multi-core. Related: how to solve the conflict between CPU-bound and I/O bound threads?

8) Why is there no really clean, simple way to write decent, scalable web applications? Fotango tried this many years ago with Zimki and they were on to something until Canon closed them down. There choice of JavaScript was not ideal but the best choice at the time.

9) Why, when I am planning my next trip to Philippines can't I put in my start point, and an end point and have the system generate a sample itinerary for me? If I say "yes" my accommodation should be booked automagically for me according to my budget preferences. As well as a web app there could be a mobile app that points me to my next port of call on my journey.

10) Why oh why do we insist on using a general purpose, multi-tasking, multi-user desktop operating system in applications it was never designed for - and where a single user, single process, text-mode, lightweight, multi-thread OS would be far superior?

11) Why is it when I book a flight online I feel like I'm being sneakily ripped off? I would love to see more transparent pricing of flights, and legitimate regulated price comparison.

12) Why is it that when you see a speaker give a presentation at a conference they almost always have to struggle with the presentation system for five minutes before starting?

13) Why is the US system of skilled migrant visas in such a sorry-arsed state - and why aren't tech companies working together to get this sorted? Even a basic site listing which companies would actually be prepared to fill out the relevant form to sponsor you for would be a good start. Many big companies are very vague on this point (I won't name and shame).

14) Why is the teaching of practical philosophy so shockingly bad? Book of Life is one of the best sites out there on this, but could do with some stiffer competition.

15) The baby bidet idea I liked - what comes out in the first few weeks after birth can only be described as "alien toxic goo". To go with it, a mobile app that, by emitting a cunning and mysterious range of coloured lights, weird music, and bird-like tweets sends them off to sleep - I'd have bought it - AI be damned!

... etc etc etc

Do any of these suggest possible solutions that solve problems? I'm not saying the above are in any way potential business success stories, but hopefully they point towards real-world problems.

I have a notebook filled with hundreds of such problems...

(p.s. finally, why is it easier for me, and more satisfying, to keep a paper notebook of this stuff rather than electronically?)

comment 9y ago · link · parent

Agree 100% too.

As for 'federated search engine' - it's not 'federated' per se but check out Gigablast search engine. Open source (source on GitHub) and a TOTALLY AWESOME piece of software written by one guy. You can do good searches at the Gigablast site[1], or set up your own search engine. Gigablast also offers an API (I may be wrong but I think DuckDuckGo uses that API for some tasks).

[1] http://gigablast.com

comment 9y ago · link · parent

No one has mentioned it so I will: consider Lynx, the text-mode web-browser. Being command-line you can automate with Bash or even Python. I have used it quite happily to crawl largeish static sites (10,000+ web pages per site). Do a `man lynx` the options of interest are -crawl, -traversal, and -dump. Pro tip - use in conjunction with HTML TIDY prior to the parsing phase (see below).

I have also used custom written Python crawlers in a lot of cases.

The other thing I would emphasize is that a web scraper has multiple parts, such as crawling (downloading pages) and then actually parsing the page for data. The systems I've set up in the past typically are structured like this:

1. crawl - download pages to file system 2. clean then parse (extract data) 3. ingest extracted data into database 4. query - run adhoc queries on database

One of the trickiest things in my experience is managing updates. So when new articles/content are added to the site you only want to have to get and add that to your database, rather than crawl the whole site again. Also detecting updated content can be tricky. The brute force approach of course is just to crawl the whole site again and rebuild the database - not ideal though!

Of course, this all depends really on what you are trying to do!

comment 9y ago · link · parent

1. Your Money or Your Life - Joe Dominguez 2. Is the American Dream Killing You - Paul Stiles 3. The Odyssey - Homer 4. Collected Works of Ted Hughes 5. DK Eye Witness Guide to Thailand (on second paper copy) 6. Lonely Planet Guide to Philippines (on third paper copy) 7. The Hobbit (about 4 reads to date) 8. LOTR (3 reads to date) ---

comment 9y ago · link · parent

I mentioned it earlier, but thanks for providing the link! Yes, it's very cool.

comment 9y ago · link · parent

When we talk about RSS I hope we are including Atom in that too!

After Google Reader went "tits up" I switched to Inoreader (a web-based reader). Still using it quite happily.

Yes, the case of the disappearing feeds is something I wrote about recently - I believe it's all part of a plot to control the web...

https://coffeeandcode.neocities.org/woeful-web.html

comment 9y ago · link · parent

Couldn't agree with you more!

Now sites seem to be spread out across the behemoth sites like Medium and of course all the social media platforms. A lot of the fun and sense of adventure that was present in the early days of the web is gone. Now it's "just business" - that blows! When did everyone get so obsessed with boosting their "online presence" in order to make a quick buck?

I will also give a big thumbs up to Neocities. It's brilliant. There's a great retro feel to many of the sites there. People are having fun creating sites with HTML and a dash of CSS - for free.

comment 9y ago · link · parent

Ah, you've just run into the whole i18n thing. It's a pain.

You say "cheap" - depends what you mean - if you mean "free" then I think you'll have to rely on volunteers.

As you highlighted there are actually two issues here: 1) Getting the pages translated 2) Translating updates to pages and new content.

Managing the translated content so that you don't need to re-translate things that have already been translated is quite tricky. There are tools out there that are basically a database of translated strings, so that if any strings change you only need to translate new strings.

One possible route is to take a look at UpWork. If you combine cheap labour that can be found there, plus volunteers, with some kind of open source i18n management database (for managing translated strings) I think that's possibly as cheap as things will get.

Whether it will be worth the hassle or not is another thing...

comment 9y ago · link · parent

Perhaps the problem is lack of industry experience?

I have plenty of ideas. All I see are problems that need solving. There are so many things broken in web/IT that they can't be listed here. I have a file with literally hundreds of problems that need fixing and that's just scratching the surface.

Example, I think someone already mentioned this earlier but have you ever browsed a bunch of corporate websites - I have seen so many websites that are so horribly broken that it's just crazy - there are literally MILLIONS of broken websites out there. You could start by looking into why that is (I've been thinking about it and believe there's numerous business ops just in that area alone)...

I recently wrote about how the first company I worked for ran their entire operation (which was quite complex) with a few dumb terminals and a few Z80s clocked at 4MHz, running something called TurboDOS:

https://coffeeandcode.neocities.org/remembering-turbo-dos.ht...

I once wrote an entire oil rig data acquisition system in TurboBasic in a weekend. You could use ON TIMER to called a routine every second or so, no assembler required. ON KEY and ON TIMER gave you event driven programming (ok primitive but effective). There were things like INPORTB and OUTPORTB (I think) that could write directly to ports for control and data acquisition.

So are we going back in terms of productivity? What can you do about that?

Are you still waiting for someone to come up with a viable alternative to JavaScript?

You could almost come up with something by looking at trends like the move to multi-machine, multi-processor, multi-core, multi-threaded and there are so many things that could be moved to that model for scale. Then there are the tools to help profile and debug those things. Example: Elasticsearch - Lucene was/is a great library for search/indexing, but the Elastic search guy (Shay Banon) saw the opportunity to scale that to multiple machines.

Scale drives a lot of innovation: look at innovative technologies like Redis for example.

Another example - SQL databases. Have you ever set up a MySQL replication cluster and kept it running 24/7? Sure there are excellent services like compose.io and the new kids on the block like Cockroach Labs, but highly scaled database with ease of set up and management is not really a solved problem. Just keeping the darn thing up and running is often a challenge.

Like I said, I could go on and on...

p.s. yes, people are right - a bit of competition is not necessarily a bad thing...

comment 9y ago · link · parent

Ah, that's very interesting - thanks for the explanation. I see what you mean about the fragmentation. When the cached blocks drop out they may not be necessarily be usefully re-used, so you end up with memory looking like Swiss cheese again. Thanks also for the reference - I will go check that out now - this whole question of memory management on consoles sounds like it could be a fascinating area for me to read up on! Cheers!

comment 9y ago · link · parent

Interesting. Yes, fragmentation is a big problem on memory constrained systems. So the memory pool approach is quite a nice solution, but did you use caching allocators where memory could be allocated and marked as purgeable, so it could be reclaimed when memory gets low? Just curious. By the way do you know any good resources that cover memory management on consoles?

comment 9y ago · link · parent

This was fascinating and I have to admire the guy's reverse engineering skills. Very nice tool set up and crazy screen resolution!

comment 9y ago · link · parent

Funny I was asked this just the other day by my son!

We did some research and the Lenovo with i7 proc 8GB RAM (to be upgraded later to 16GB), with SSD (256GB) was under £600 (which was his budget). It comes with Windows 10.

So, take a look at Lenovo.

--- Tangential thoughts below ---

About 6 months ago I was given a Lenovo Thinkpad Ultrabook (i7, 20GB RAM) for a contract I was working on and was blown away by the performance compared to my MacBook Pro. I have been a Mac Fanboy for more than 10 years, but I find myself having a harder time to justify the premium on them. My personal MacBook Pro is very sluggish compared to the Ultrabook.

Couple of nice things about the Ultrabook. I can run a Linux VM (actually multiple at the same time) for "real work" and dive back into Windows for things that aren't so reliable on Linux (e.g. WebEx). Also ready for the "Linux on Windows" thing Microsoft are doing - which I hate to admit actually looks quite cool.

For my next personal dev laptop (next year) I will probably go for an i7 32GB Lenovo Thinkpad Ultrabook. I will probably leave Windows 10 on there. It really surprises me to say I probably won't by another MacBook Pro unless Apple get their finger out.

comment 9y ago · link · parent

Looks like you have some good pointers there.

Having done quite a bit of interviewing for programmers/tech writers I would say most people are not natural with live coding and whiteboard work. I personally was lost without Emacs and a compiler to hand. My last white-boarding session that was part of an interview was just horrible (writing Java code on a whiteboard) - I did get the job though so even if it's painful all is not lost.

Like anything though you get better with practice (as you are doing). If you've got a whiteboard at home I would do impromptu sessions where you write up say tree creation and traversal, doubly-linked lists or whatever is appropriate for the job. If you've got a coder friend you can run things by that's even better.

Also, make sure your GitHub page has got some meat there.

Good luck!

comment 9y ago · link · parent

Wow, that's impressive! I tried FreeDOS and it booted very quickly. Nice to play around with DOS again - it's even got tab completion on the command line these days - fancy!

p.s. By the way archive.org were doing something very similar. You could load up a DOS box from their web site and have the old disk mags and demos running in your browser. All very cool stuff!

comment 9y ago · link · parent

Depends. Some contracts I get paid weekly and the money is in the bank within a few days of the week end.

Getting paid monthly I would normally expect to have the money cleared in the bank by 10th at the very latest in the following month.

comment 9y ago · link · parent

I used to use graphical editors. I used PFE if anyone remembers that and then PSPad. PFE and PSPad were windows only which turned out to be an issue. I then switched to JEdit, but found that a number of plugins had issues and connecting to get a plugin just didn't work on many occasions.

About ten years ago I got a job that required me to edit multiple languages on multiple platforms and I was using about three different editors: Oxygen XML, Eclipse, VS, Python Charm and I just thought this is getting ridiculous. I switched to Emacs because it is cross-platform, fast, and you can edit any kind of file in it. I never looked back. I have edited about a dozen programming languages in it, and used it for markdown, and DocBook and DITA XML editing. Today I am still happily using it. On my latest gig I had to edit TeX - no problem in Emacs. I learn new tricks in it all the time. I have a colour scheme that works really well. Having built in ansi-term and being able to do M-! and then run a shell command save a lot of time in the workflow. There are thousands of features and tweaks you can do. The incremental forward and back search is lightning fast. I use C-r a lot in Bash too. On the whole I'm very pleased with my switch to Emacs. By the way I usually only use the text-only version of Emacs (emacs-nox on Linux). I do keep a copy of AquaMacs installed on my Mac too, but work mostly on the command line.

I did actually try Sublime a few years back and have a licence, but I found myself just firing up Emacs on the command line and C-x C-f to fast load a file more often than not.

I would say, yes, go for Vim or Emacs, but it depends really what you need from an editor.

comment 9y ago · link · parent

First four years of my career I worked in seismic oil exploration. I worked in Sudan for about 18 months, then Nigeria for about the same. Also worked in Tanzania. In Nigeria we lived on house boats. In Sudan aircon trailers. In Tanzania we slept in tents besides crocodile infested rivers and lakes.

Mostly I drove a LandCruiser through all kinds of conditions, checking cables and geophones and swapping out telemetry boxes. Occasionally I would get a week or two in the "Veribo" - which was an air-conditioned room full of automated test equipment. There were long sessions of component level troubleshooting, swapping out components like voltage regulators and power transistors and so on. I became a Senior Observer and moved to the "DogBox" where the main telemtry system was and operated and troubleshot from there - it was much less fun than "running line".

In the rainy season in Sudan we were flown to work every day (and returned home) by an Vietnam Vet who I'm pretty convinced thought the war was still on - attack take offs, landing in clearings with only a few inches between rotors and trees.

It was my first job out of Polytechnic, back in 1984. It was a HELL of a lot of fun. Some great friends made, and sadly lost, in those years.

comment 9y ago · link · parent

Ah OK I see. Yes as others have pointed out Minix. But for something you can really understand have a look at Xinu - small and very minimal, there's a great book on it too. You probably aren't going to run Xinu as your main desktop though! ;)

Others worth mentioning are SkyOS. I don't think Robert has worked on it for years, but I believe the source code is still available and there used to be quite a lot of very readable documentation outlining the architecture.

ChrysaLisp is certainly one to watch. He's the guy behind the now defunct Tao OS. The Tao tech was way too far ahead of its time. Maybe now is the time...

comment 9y ago · link · parent

I used to live just south of Swindon and use to go across the Magic Roundabout regularly. It is completely nuts. My technique was just to put my foot down, go straight across and just pray - somehow I survived it. Even been across it multiple times in a Luton Van - at least cars give you a wide berth...

comment 9y ago · link · parent

Why micro-kernel in particular? Just curious.

Early stages, but you could take a look at this OS written from scratch by someone with an amazing track record in OS development:

https://github.com/vygr/ChrysaLisp

Some pretty cool stuff there to get your teeth into...

comment 9y ago · link · parent

Oh this is hilarious. I was left wondering whether the recruiter was a real person at all, or one of those Bots that FaceBook had to unplug.

Seriously though, this conversation is not completely untypical of some I've had in the past. The technical knowledge of _some_ recruiters is, well, non-existent. As has been pointed out they tend to keyword search, and well, if you don't have exactly the right keyword you're toast.

comment 9y ago · link · parent

Very nice! I was just reading your blog post on lessons learned from self-publishing. Your first point is spot on and actually applicable to all side projects, and probably your main job too - be passionate about what you do. There's nothing worse than having to grind something out when you really don't give a hoot about it (I've done it a few times - never again!). Well done on seeing the process through to publishing!

comment 9y ago · link · parent

Very nice website and blog. You obviously love what you do. I enjoyed the piece on reverse engineering HN too!

comment 9y ago · link · parent

Something to bear in mind. I've been in this game 33 years now and very few of the companies I worked for even exist today. They either went bust or were bought by a bigger company. And I'm not talking fly by night companies either: MySQL AB bought by Sun for 1 billion. Sun bought by Oracle. One day someone will probably buy Oracle (God help them!).

One company I worked for I literally had about an hour's notice before they shuttered. I was working from home on the Friday and got a call late afternoon and while my manager was on the phone the sys admins shut down the networks and an hour or so later everyone had gone home and the company never opened its doors again!

Being laid off can work out. The last time I got laid off I took the plunge, went contracting, and never looked back.

My advice. Stay cool. You have savings (many don't). This could be a good opportunity for you.

comment 9y ago · link · parent

You could try training - perhaps even IT training and use your tech skills.

I did that for many years and you certainly need good people/comm skills. I have some fun memories of my life as a trainer - I met a lot of cool people and had a lot of laughs. Went to some nice countries including a memorable trip to Sony HQ Japan. You have to like traveling around though. I eventually left training mainly because the traveling was becoming a pain as at the time I had a young family (all grown up now), but I enjoyed it a lot more than developing.

If you want to completely leave IT then it's a bit tougher, but still possible. The main thing is to find something that feels meaningful to you. They are a little "old school" now, but I would recommend the books by Barbara Sher.

comment 9y ago · link · parent

It sounds like you need to 'productize' what you were doing before. You didn't say what you were doing but I will assume 'developing'. There have been quite a few threads on this, but you could perhaps look to capture your knowledge in a training course or e-book. Have a look at IndieHackers for more ideas.

comment 9y ago · link · parent

As nnd mentioned it's pretty difficult to do both at the same time (freelancing and traveling).

A few notes from my past experience that may be useful:

1) My first real remote working gig was as a dev/tech writer for a software company. I worked out of an apartment in BKK initially before relocating to Malaysia and then Philippines. You feel like you have a base rather than constantly moving around. As I was a remote working I didn't have to look for new freelancing gigs. This approach worked really well for me. This was not a freelance gig though.

2) Career break. I've had a few of these over the years. I saved hard, then quit my job. I then took a year out, travelled etc. before coming back to look for another job.

3) What I do now. I work for three months of the year on (freelance) contract in UK. I then take 9 off - that's my target anyway. It does vary a bit as sometimes the length of a contract does vary. During the 9 months off I do travel. The great advantage of this is when I'm on a freelance gig I focus on that, but when I'm off I can travel without having to think about work - at all. In order to be able to do this I had to make some pretty big changes - I sold my house, my car, I live on less than 1K a month. It's not for everyone but I love it. I would not go back to my old life in a million years.

There have been a few threads of this nature recently - I guess you could check my comments to find those other threads.

Good luck!

comment 9y ago · link · parent

Thanks for this. I tried radical personal finance, the episode 'what's wrong with radical personal finance' is very good!
1
7891011