HNHacker News
TopNewBestAskShowJobs

headgasket

232 karma · joined May 10, 2012

researching new FaaS
submissionscomments
headgasket··on Funding for Covid-19 Projects
this is an avenue right up HN's crowds' alley. lets brainstorm in the open on this.
headgasket··on Funding for Covid-19 Projects
Air travel in crammed tiny metal and composite tubes for long periods that need to be turned around in a jiffy thus may be subject to deficient cleaning is most def a vector. For the long term it would great to design airplanes that have a inner tube component that can be pulled with the nose moved up. Basically a bus without an engine. Cheap, can be driven around the unending concourses, can be sterilized properly because an extra one can be used. I think it may even end up being a time and money saver, boarding is a non compressible and long part that could be a lot faster from the sides.Not sure it'a 10X...
headgasket··on Hasura raises $9.9M to simplify GraphQL
I've been using postgraphile over hasura for while, initially because of some JWT business. That thing rocks. RBAC and JWTs are a killer feature for public facing stuff.

Congrats to the folks at hasura for the raise, long live postgres and graphql.

headgasket··on A Simplified Jira Clone Built with React/Babel and Node/TypeScript
nice work! license?
headgasket··on The Internet of Beefs
For a philosophical reflexion along these lines please check out Byung-Chul Han « in the swarm ». Written a while ago, translated to English only recently.
headgasket··on VirtualBox 6.1
FEAT>> Nested virtualization on intel. This is a big deal, for dev and testing. Congrats to the devs, thank you. You can now run a hypervisor hosting real vms at decent speeds inside VB.
headgasket··on Gyrocar
good points with regards to 1912. But li-ion batteries that are also gyro flywheels, and breaking regen energy storage, isn't that an interesting idea?
headgasket··on Gyrocar
why not use the mass of the battery as the gyro's flywheel (s)? You could also store energy (accelerate this mass on breaking) for even better regen (I presume recharge breaking is less efficient than the 95 efficiency of current traction motors).

Another plus is easier ajustable ground clearance since there's only 2 points of contact; for an off-road-able vehicle that's a big plus; while at highway speeds you want a low center of gravity and less drag.

Will we see a 2 wheeled pickup truck reveal tomorrow? A BUV? (Battery Ultimate Vehicle) That would be "cyber from the future" alright. Dreaming out loud, but a ppl carrier (8-10 seater based on this would be totally out of this world)

headgasket··on Remote-Powered Developer Tools
FWIW, I wrote a small script for remote dev called duplexrsync, love it so far. https://github.com/francoisp/DuplexRsync Haven’t tested on win10 yet but it should work, no language limitations and it’s 150 lines of open source MIT bash. EDIT: il someone tests this on win10’s Ubuntu sidecar thing before me, and if there’s a glitch besides the calls to homebrew that can be made optional, please send a PR! Cheers and the peace be with you!
headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
Good thinking. You are right that there's a short window between the 2 rsyncs that allows for a newly-created file being created at say the remote end just after (or maybe during? --would need to test) the remote-local rsync that would get deleted by the subsequent local-remote rsync call.

Since there's no lock or anything this vanishing new file just after creation is a possibility. I just wrote this yesterday, I'll be using it extensively, I'll see how annoying this is, and if there's something to do about it.

As a side note, ssh failure has not been a problem (yet), since the script does the same strategy when starting up. In fact I kill and restart this script a lot. I havent played with archive extraction, this is mainly for source code editing.

edit

It would seem that a small modification to the --delete behaviour of rsync to only delete files at the other end that are older than say 30 seconds would handle this edge case. I'll see how annoying it is and if it warrants the time to investigate this.

headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
(author here) Hey thanks for the scrutiny! I'm using the -u option in rsync, preventing overwriting newer changes. So in your described case, it will signal a change remote (a lot of changes, but collapsed every 3 seconds) sync remote-local first then local-remote, both with the u option, so not updating if there's a newer version at the other end. No POOF, unless I'm mistaken. Cheers!

edit for clarity The trick is every sync step is with -u (not replacing updated files) and done again in the other direction before restarting the watch.

headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
well if you can get bash, ssh, fswatch, rsync and socat we could get something going... ;-)

For iOS coda is pretty good. I've used Codeanywhere for android; 2-way sync would need to be integrated in the app itself on these platforms, I would think...

headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
More than 2 end points would be a bridge too far for this simple script.

With regards to fswatch, from what I gather, it blocks a iotcl call on all the files in your watched folder. This script fires rsync (always from the local end to prevent confusion) as soon as a change is detected on either end, starting with the end where the change has been detected. Pretty simple. I guess if you change files and delete files at the same time on both ends, some deleted files might get recreated. At this point this is the worse I can see, but I could be very wrong... :-)

headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
I had never come across that one either, thanks for the link! It does look a little on the heavy side for my use case, but it might come in handy at some point! It looks like it has all the bells and whistles. Cheers.
headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
Hum a day old might be early to say, but the sync is handled by rsync and that has been around for ages, corruption due to rsync would be surprising. (although hash and adler32 checksums collisions are theoretically possible.. :-)
headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
(author here) Interesting, thanks for the link! I had never seen this one. It does look a bit more heavyweight; that might be a good thing for some use cases. I currently use this on many different containerized setups, so simpler and less setup/config is better for me at this point. Cheers!
headgasket··on Show HN: Simple realtime two-way sync with SSH, fswatch and rsync
hey! thanks for your comment! I wrote this yesterday because I wanted the read speed of a local copy, hot-reload of the remote side app, and the ability to edit at both ends. I came across fswatch, I've been quite impressed; it does a pretty good job resource-wise. On linux it uses ionotify; I have not seen it degenerate into rapid fs polling (yet). Cheers!
headgasket··on Death of the private self: how 15 years of Facebook changed the human condition
I wonder if some of last quarter's profit is being poured in producing op-ed pieces to attempt to slow the traffic bleed... My son and his buddies call them fagedbook and instagramma.
headgasket··on Apple tells suppliers to produce 10% fewer new iPhones
The lineup. They have 13(!) iPhone models(not configs!) in production. SJ would be furious. The first thing he did when he came back in the late 90s is to cut the line to 3 models. Economies of scale and concentration of innovation at a single point.
headgasket··on Searching the Creative Internet
That's an awesome idea; which leads me to think, what would be needed to experiment with alternative page ranks and levels of bubble-encapsulation? What resources are out there from which one could experiment-- as crawling the whole web is too large of an endeavour? How about a distributed database of the text-internet that anyone could clone and build indexes from? A layered approach? This must surely already exist?
headgasket··on Why Do Hospitals Hate Sleep So Much?
You might have forgotten to mention our society's addiction to caffeine... Am writing this sleep-deprived, on my fourth espresso, check. :-)
headgasket··on Using carbon nanotubes and rectennas to yield a 90% efficient solar cell
I this is actually true and feasible, this has immense implications. Imagine mirror powered airplanes.
headgasket··on IBM acquires Red Hat
Left CentOS about 4 years ago for Ubuntu, never looked back. Debian is a better system, Ubuntu is a very nice consistent distro. You should check out Proxmox, also debian based, very nice alternative for containers in small-medium deploys. Cheers and open-source on! EDIT: AGAIN down voted for no good reason! Is this automatic? How does this work? Cheerio, will log off for another six months, if anybody can suggest another real hacker's forum I'd be very grateful! TIA
headgasket··on SEC Sues Musk and Seeks Ban for His Tweets on Go-Private Deal
The real question is what Apple products do not exist because Steve is not around anymore.
headgasket··on Unpatched routers being used to build vast proxy army, spy on networks
Most models can be affected. Check if your first firewall rule sends to the built in proxy. See https://www.google.ca/amp/blog.netlab.360.com/7500-mikrotik-... in particular check if the webproxy and/or socks service are enabled.
headgasket··on GitTorrent: A Decentralized GitHub (2015)
I like the idea. I think it would be an interesting development to counter the centralization in the big5. GitSpoke?
headgasket··on Ask HN: I want to start a new company, but I'm CEO at a funded startup
Post your idea here, with an honor-based ask for a seat at the table/retainer in exchange for contacts to get it off the ground once you've vetted that you are not dealing with clowns. You could be nicely surprised. True innovators are in this together. Cheers.
headgasket··on There are now more than 200k pending Bitcoin transactions
I think it's an organic reaction that makes a lot of sense. A distributed deflationary currency not run by any central authority is a dangerous concept. Another volatile store of value that might not be very liquid is a lot less dangerous. (Imagine cashing a 10th of the float, say) The forces of the status quo(or is it the invisible hand?) has responded to the threat, for now, by blowing this up to the stratosphere and making it impractical as a currency; it's even a better move than making it illegal. There will be more chapters to this, especially smart contracts. Interesting developments.
headgasket··on Pebble's next step
I also blame Apple. When you are a 1T$ company, I think it's a social responsibility to not be ruthless in your pricing with small innovating competitors running on the midnight oil. It's a page out of MS playbook. I feel like a traitor for owning an apple watch. But at this rate, with their ipadification (dropped all ports off the mbp) and product lineup explosion, Apple is going where it was in the 90s anyway...
headgasket··on Pebble's next step
Your next step: boycott Fitbit and make it known you are doing this because of the shutdown of pebble. EDIT: Also, this is my last post on YC. So Pebble's CEO is joining YC. And being critical of innovation killing deals by the boys on YC gets you down votes to negative territory.

OK over and out you guys, Done with your echo chamber. So long and thanks for all the fish.

← PreviousPage 2 of 7Next →