HN user

guyromm

80 karma

[ my public key: https://keybase.io/guyromm; my proof: https://keybase.io/guyromm/sigs/ap6ixdu5eq6hkplDrFn__oPQbF6FdOhu44isjeSG9_0 ] [ findkismet.com public key: 41e9a6361b6be3f23b39c3bef9935b09b95c0f1fc036876aab03d949bfaf9703] meet.hn/city/il-Tel-Aviv

Socials: - github.com/guyromm - guyromm.at.hn

Interests: Web Development, Yoga, Cycling, Freelancing

---

Posts1
Comments24
View on HN

the ultimate laptop bag is an inflatable orange swimming tow float bag: 1. it looks nothing like a laptop bag 2. it will protect your laptop from water, even completely submerged. 3. it will protect your laptop from falling when side pockets are inflated. 4. you can take your laptop to the beach and not worry about it getting stolen. 5. you can use it as a pillow when hiking or at the beach. 6. much cheaper than a laptop bag.

mine's a Decathlon OWS 500, but i guess that it's as good as any.

I believe they were working under the assumption it would be a walk in the park, once the central government was captured or killed.

To strengthen this assumption here's a canned article which was likely meant to be published had things gone according to plan, but pulled, since they hadn't.

https://web.archive.org/web/20220226224717/https://ria.ru/20...

RIA is a state owned news agency.

Why precisely they thought they'd meet no serious opposition in their attempted airdrop near Kyiv is anyone's guess. Mine is that Putin started believing his own tales about Nazis taking Ukraine hostage, assuming the populace is dying to be liberated from them.

Things crumbled once this met a different reality on the ground, and now they're trying to raise the stakes, and have become desperate enough to begin indiscriminately shelling population centres, Kharkiv most notably.

PostgREST 9.0 5 years ago

(disclaimer: not feeling totally authoritative on this, have not used graphql in production).

i feel that the choice between postgrest & postgraphile / another graphql solution revolves around whether you're a front-end dev who doesn't get to arbitrarily change/expose data schema. if this is true, and you are collaborating with other devs on the code then the added flexibility in querying probably outweighs the inferred complexity of this complex data abstraction.

if, however, you control both back and front-end, graphql isn't really needed, as you can expose whatever views you fancy by means of SQL (via views, table/row permissions, rpc functions exposed by postgrest, etc)

PostgREST 9.0 5 years ago

thank you! am still waiting to see if/when it'd feature on svelte fall summit before "properly" posting it.

btw. i've also done on a step-by-step "sample app" tutorial for svelte+postgrest. i'd say its still a little rough: https://www.webgma.co.il/Tech/

PostgREST 9.0 5 years ago

that's actually precisely what i implemented in my postgrest-svelte starter template (https://github.com/guyromm/svelte-postgrest-template).

./pg_schema_dump.sh breaks down the schema into an entity-per-file structure at ./sql/schema, while. ./db_init.sh knows how to create a fresh database schema from this dump. the per-file breakdown allows to nicely version the schema in git.

that one i did take for a spin.

i must say that the experience is quite horrible - that torture of having to write map/reduce functions, added with some erratic behavior in regards to data integrity (inserted entries silently discarded, sync to the remote couchdb instance working somewhat whimsically). as soon as your dataset is sizable in any regard (tens of thousands of records in a collection, if i recall the terminology) it begins to just break apart.

was writing a browser extension, and used pouch with the hope of keeping its persistence local and avoid needing a server. seeing that it leaks tried to trade it for a couchdb server. seeing how bad sync is, and that couch is not very comfortable to work with either ended up throwing the thing in favor of a postgresql+postgrest backend.

i wonder if it's possible to plug any kind of streaming replication onto this. i don't have much sqlite experience, but maybe someone here has an idea if it would be possible to run litestream or something of the sort, as both master and slave - in the browser.

that would solve the safari indexeddb 7 day ttl issue to start with.

and if replication could be made to work on top of something like webrtc we're looking at a great foundation to start building distributed, decentralized browser apps.

Back in 2004 or so, I was building a distributed CMS with the goal of creating artificial "link pyramids" with the purpose of SEO, which was a rather new thing at the time.

Content generation was one of our bottlenecks, and as Google was already rather successful at detecting duplicate content, we were looking for a way to "uniqify" posts that would be used to stuff sites intended for googlebot, but not humans.

One of the methods that worked was taking source English content, running it through Babelfish, the Altavista translator to French, Spanish or German, and then using the same method to translate it back to English.

This resulted in texts that did not make much sense to humans, were full of precisely such "tortured phrases" but which were considered unique by Google.

has anyone tested if arbitrary third party extensions (non mac store ones) are installable? and if not, how are developers expected to write & test mobile safari extensions?

i'm pretty skeptic of the prospects that apple would open up a hole in their walled garden on their own initiative. it's not like they're (currently) under any pressure or competition there.

Reminds me of a funny story: A few years back on a visit to Beijing, was hustled on a street corner to purchase what appeared to be a brand new iPhone (a 7, if memory serves), for a ridiculous price. The seller handed it to me to play with, and proudly demoed the fingerprint unlock feature. The interface looked flawless (given that it was Chinese). Naturally, it was a fake. Doing a hard reboot brought the green Android bucket at boot.

As for the unlock feature, it took the user through all steps of fingerprint setup only to work with any finger (or anything else warm toughing it, for that matter).

as you've witnessed, this approach, when applied well, has advantages, but also suffers from increased communication overhead and roundtrip times. as a result, prototyping and researching open-ended, not well defined assignments is not ideal with remote, given that the required feedback loop between customer and executor (you) is better kept short. maybe it would be best to enjoy both worlds? say, once you've onboarded the customer and are delivering, begin reducing costs for them by delegating units of work to cheaper, remote resources yourself? this way the customer is happy and stays with you. this has the added benefit of freeing your own time to take on new work.

HTML is the Web 7 years ago

back in 2005 I recall losing a bit of faith in humanity, when a subcontractor who was asked to turn a design into markup and "not dare deliver pages laid out using tables" (as it was still quite common back then), delivered a pixel-perfect design, where even those pages that literally had tables displaying information, were laid out with stacks of divs...

A client that I'm consulting was being ripped off by a local IT provider with pricing for on-premises servers & MS software. I proceeded to rent cheaper equivalent machines off-site. The IT provider claimed the hardware firewall (Fortigate) was not configurable for site-to-site to the new machines directly (could be, not an expert on those). Therefore, I ended up purchasing several Raspberries and configuring them as OpenVPN routers that opened up the office LAN to said machines. Quite satisfying, as it allowed to break the client out of the proprietry software/hardware/vendor chain at a rather small expense.

Another World 8 years ago

while the thing did fit on a 5" 1.2MB floppy and ran fine on my 286, i do recall bringing this to a friend on multiple 360KB 5" floppies, and being amazed to discover it ran, albeit with serious framedrop, on his 4.77 Mhz PC XT computer after unarchiving the game to his 5MB HDD.

The author implies that a citizen army would lessen the leadership's appetite for offensive overseas campaigns.

Interestingly enough, the bulk of Israel's army to this day is composed of drafted 18 year olds, and despite that, the only time there was a major public outcry about the necessity of a military campaign was during the first Lebanon war (1982). that war was perceived by the public as a reckless regime-changing adventure by a particular general (Ariel Sharon).

I assume that the IDF's decades long policing mission (=occupation) of the West Bank along with the periodical campaigns in Gaza & Lebanon do not generate an outcry of similar size, presumably due to the much stronger indoctrination level of the Israeli public, as opposed to that of the American. There is a general consensus around the absence of a less violent path to coexistence in the Middle East.

to this day, I've been a supporter of reforming the IDF into a smaller professional army with the express purpose of making it more difficult for the state to apply foreign policy using force, with the added benefit of keeping unwilling citizens outside of the cycle of violence.

The article, however, implies that the US has achieved the ability to increasingly "project power" by detaching its military apparatus from the society as a whole..

If you don't want to send your unencrypted data to places you do not control - use git-annex for the heavy binaries (photos, PDFs, videos, music) and just sync between your instances. Though git annex can do end-to-end encryption and upload to Dropbox/gdrive as well.

Pure Git is great for consolidating configuration as well as keeping plaintext format files in sync. Invaluable if you are an org-mode or markdown jockey.