HN user

gpsarakis

505 karma

Senior Software Engineer - https://github.com/georgepsarakis/

Posts29
Comments55
View on HN
controlflow.substack.com 4y ago

Types of Technical Interviews: Different flavors of technical assessments

gpsarakis
3pts0
github.com 5y ago

Show HN: Regular Expression Builder for Python

gpsarakis
2pts1
healthchecks.io 10y ago

Cron Monitoring. Get Notified When Your Cron Jobs Fail

gpsarakis
3pts0
github.com 11y ago

Show HN: QuickBash – functional Coffeescript for Bash

gpsarakis
1pts0
www.wattpad.com 11y ago

Read, write and share stories

gpsarakis
1pts0
techusearch.com 11y ago

Benchmarking JSON and HMAC in Python

gpsarakis
2pts0
techusearch.com 11y ago

How Techu leverages Redis

gpsarakis
12pts0
www.pyzo.org 11y ago

Pyzo – free and open-source computing environment based on Python

gpsarakis
1pts0
pjambet.github.io 12y ago

Storing Emojis in MySQL

gpsarakis
1pts0
augmentedtrader.wordpress.com 12y ago

10 Surprising Facts About RAID

gpsarakis
1pts0
www.scalyr.com 12y ago

Cloud Cost Calculator

gpsarakis
2pts0
gist.github.com 12y ago

Simple templating in PHP

gpsarakis
1pts0
gist.github.com 12y ago

Python Map-Reduce with itertools & multiprocessing in ~100loc

gpsarakis
2pts0
stackoverflow.com 12y ago

How do sleep() functions work?

gpsarakis
2pts0
billmill.org 12y ago

Bloom Filters by example

gpsarakis
167pts61
stackoverflow.com 12y ago

Validating MySQL queries

gpsarakis
1pts0
github.com 12y ago

Redis-like wrapper for JS localStorage

gpsarakis
1pts0
www.redisgreen.net 12y ago

Redis LUA scripting examples

gpsarakis
2pts0
www.draw.io 12y ago

Create diagrams in the browser

gpsarakis
237pts42
deployd.com 12y ago

Design, build, and scale APIs for web and mobile apps in minutes

gpsarakis
1pts0
github.com 12y ago

Minimal Chess Board w/ timers (Python)

gpsarakis
1pts0
www.amazon.com 12y ago

Stay healthy & Keep coding

gpsarakis
1pts0
howto.pui.ch 12y ago

Shell commands with timeout in Python

gpsarakis
1pts0
news.ycombinator.com 13y ago

Ask HN: Finding open source collaborators (is the open source too fragmented)?

gpsarakis
8pts1
www.techusearch.org 13y ago

Techu v0.20b - RESTful full-text searches with Sphinx, Redis, Nginx and Django

gpsarakis
2pts1
techusearch.org 13y ago

Techu v0.20-beta: RESTful Search API - Moving closer to production release

gpsarakis
1pts1
www.instantserver.io 13y ago

Seems cool - Free Ubuntu VMs w/ the push of a button (for 35min)

gpsarakis
4pts2
georgepsarakis.github.io 13y ago

Javascript-only Twitter search with term highlighting (jQuery, Backbone.js)

gpsarakis
1pts0
georgepsarakis.github.io 13y ago

Techu - RESTful full-text searches with Sphinx, Redis, Nginx and Django

gpsarakis
69pts17

Sure you can :). Naturally transfers via SSH "suffer" from the encryption overhead but prevent MITM/network sniffing etc. The author points out that (only) in a trusted LAN you could use this solution to make things go faster.

I guess the title should be a little more mild - scp isn't going away, or rsync via SSH for that matter.

Thumbs up for pv which shows the progress bar. Using parallel compression may have serious impact on CPU resources, so it needs to be balanced.

Have you also done any testing with ssh + gzip?

Also, as you note at the end, the security concerns are not trivial.

It says that it only stores metadata locally not objects themselves (although it could probably have an option for that too and serve as a general S3 cache).

Nice effort, Redis is perfectly fine but I believe that the storage layer should be somehow more separated in case someone wants another type of storage, e.g. in-memory SQLite is adequate and already installed in most systems.

Nice post! You mentioned that you implemented this wrapper for backups. Apart from creating a virtual file system for sandboxing perhaps, isn't this generally slower? Maybe I am not getting the exact purpose of this task.

Are you using MySQL in your example?

  > id is an incremental value, I choose 11 as a length 
  for this primary key but this value is defined 
  by the number of pages you’ll need to index
This is a bit confusing. You'd generally be better off with INT UNSIGNED as it doubles the range for auto-increment columns.

Also the visited field would be better to be represented by a timestamp, choosing the right datatype does matter in large tables.

Just to clarify: I am not the creator of this app, just came across it while searching how to create simple diagrams and thought it might be helpful sharing it.

Nice effort. Just a few remarks:

- You should certainly use Requests http://docs.python-requests.org/en/latest/

- The Story class seems somewhat redundant. You could possibly use collections.namedtuple as a container for properties or simply a dictionary. The print_story method could just be the __str__ special method.

- JSON output would be useful.

Minifying+concatenating is the most appealing solution for desktop browsers which employ a rather large cache on static files, considering that a web server is also fine-tuned to take advantage of caching (e.g. http://httpd.apache.org/docs/2.2/mod/mod_expires.html). I am not sure though that this is the best approach for mobile devices; having to serve a relatively large JS/CSS file with (possible) network interruptions may increase page load time.

Flask Landing Page 13 years ago

Seems like a nice idea, since it usually is a repetitive kind of task. May I ask why you chose Flask over Django?