HNHacker News
TopNewBestAskShowJobs

jewel

1,988 karma · joined May 22, 2011

Just another programmer
submissionscomments
jewel··on I'm hosting a website on a RAID0 of 30 floppy drives
No. The cache is at the block layer, not the file/directory layer. So the filesystem will look up the directory structure, which will be cached.
jewel··on Clipboard integration between tmux, nvim, zsh, x11, across SSH sessions
Can you ctrl-click and drag to select a rectangular area? That works for me in Gnome terminal in that situation, if I'm understanding you correctly.
jewel··on Monitoring tiny web services
Another approach that has been working great for me: https://www.webalert.me. This app runs on your phone, you can configure it to check once an hour if any content on a page changes.
jewel··on Billion-record stolen Chinese database for sale on breach forum
If vendors agreed to a common prefix on all secret key values then it'd be easy for everyone to add checks, to everything. Something like "_SECRET88_".

Of course, then your secret key checker would need to build that string by concatenating so that it wouldn't set off itself.

jewel··on How to Animate Multiplayer Cursors
There's another approach that might work better.

Instead of sampling the mouse position every 100ms, you'd save off all the mouse positions, and then send the latest batch every 100ms. The other side would then replay the exact positions, just delayed by 100ms. It'll end up with the same latency as these motion smoothing approaches, while only using slightly more bandwidth.

jewel··on 1 TW of solar to be deployed annually by 2030
A single TW of solar would produce a TW for every hour that the sun is shining, so it could be 3,000 TWh for every TW installed. Obviously the exact value depends on the insolation.
jewel··on Solid-state cells will cut EV charging time and increase volumetric density
A 50 kWh car battery charging to 80% in 15 minutes would be a 160 kW average load. That's going to need high voltage or a thick cable. Is that going to be practical?

Also I wonder what the power connection to a busy all electric refueling station/convenience store by the highway would look like if it wanted to have 16 of these. At least there would be no fumes so it could be more enclosed than a gasoline pump, and presumably no safety reason why you'd need to pay attention to the refueling.

jewel··on Show HN: Weron – A Peer-to-Peer VPN Based on WebRTC Written in Go
Two users don't need to use the same STUN server in order for udp hole punching to worj, so choosing randomly from a list might be a good way to go.
jewel··on AMD doubles the number of CPU cores it offers to Chromebooks
The bottleneck is usually RAM. It looks like his device has 4GB, which is similar to what a cell phone has.

It doesn't take much manufacturer-supplied bloatware, bad drivers, or background processes to use up that much RAM but a Chromebook is just the kernel and Chrome, so you get a lot of bang for your buck.

jewel··on Show HN: How did I live without Pipe Watch?
Another way to simulate the behavior of this tool, if I'm understanding you correctly, is with software flow control, usually mapped as ctrl-s for XOFF and ctrl-q for XON. That lets you pause output while you look at it, and then resume once you're done.
jewel··on Show HN: How did I live without Pipe Watch?
I'd love to have a tool to pipe into that removes low-entropy content automatically, perhaps with machine learning.

For example, last week I was grepping through some security logs looking for anomalous logins. There were a bunch of other security events in the log file. Eventually my command looked like `cat /var/log/auth.log | grep -v Disconnected | grep -v cron:session | grep -v 'Invalid user'` and so forth until I only had the "interesting" lines left.

Maybe the right approach to this tool would be to put the lines into a tree based on the longest substrings.

jewel··on At one company I worked at only one thing mattered: the yearly bonus
You can make the profit sharing bonus proportional to salary. So if there is 100k available for bonuses and your quarterly payroll is $1M, then pay everyone a 10% bonus. You still have to set salaries correctly but that's a problem whether there is a bonus or not.

I've seen this work well at a small software company. It paid out once a quarter for anyone who had been there a year.

jewel··on Spacedrive – a cross-platform file explorer, powered by a distributed filesystem
My homemade photo organization software has the tags as trees and it works great for exactly the example you've given, as well as "plant" being a parent of "flower" which is a parent of "rose".

In addition to better searches, it also allows for better tagging, because a lazy tagger might tag a photo as "food" and I can come back later and fix it to be "fruit pie".

There was an open ontology database somewhere I might integrate so that it has a lot of prefilled tags. That'd be the place to start for photos or anything dealing with the physical world.

jewel··on iFixit and Google Are Launching a Genuine Pixel Parts Program
I've got a laptop from 2004 that still works fine. It has 1.5 GB of RAM and a spinning 60GB hard drive. It runs the latest Xubuntu, which is getting security updates.

Android should take a similar path. Mainline the kernel drivers, keep the minimum system requirements low (which you'll want to do anyway for 3rd world handsets), add developer modes to test apps with constrained RAM and throttled CPU, rank "eco-friendly" apps that have lower storage requirements higher on the play store.

As far as the human resources required, see Ubuntu or Redhat Enterprise, which manage to do ten year support cycles for servers. I think handsets could be easier if you keep upgrading the kernel and core components instead of only applying security updates to the existing software. If you can do that then there's no more security work than you would otherwise be doing, since your latest handsets would need those security updates too.

jewel··on 'Freeze-thaw battery' stores electricity long-term for seasonal release
Your father's idea is a good one. Here is a thermal heat pit which is being used to store heat for the winter:

https://stateofgreen.com/en/partners/ramboll/solutions/world...

jewel··on The Largest and Smallest Hard Drives Ever Made
Just for laughs someone should make a 39 inch drive with modern technology. Looks like a PMR drive would get 338 TB per platter, so a 25 platter arrangement like in the photo would be 9.7 PB.
jewel··on Why does Google use location for language rather than browser settings?
A workaround: To force search results in English when not signed in, go to https://www.google.com/en. This adds a hl=en parameter to your queries. You can change the search provider URL in the browser to add the hl parameter.
jewel··on 25 Gbit/s internet as a normal customer
What sort of opportunities would open up if this sort of connection were ubiquitous?

I could see netbooting your desktop to avoid having to buy a hard drive.

Also instead of downloading large game assets they could just stream on demand. (Even though downloads would go really fast anyway.)

4K and 8K video streams are already done reasonably at 100 mbps. Some sort of 3D point cloud streaming?

jewel··on I wound up causing a major outage of my services and destroying my home dir
If you have a lot of data then a cheaper choice would be to put a raspberry pi at your mom's house, add a few external drives, forward a port, and send backups with restic.
jewel··on How much did a tunic cost in the Roman Empire? (2021)
There's a book roughly on that topic called "How to Invent Everything" that I enjoyed, but I'm not sure I remember enough of it now to be of any good, so I'm going to be sure to grab it before going back in time.

Also along the same lines is "The Knowledge: How to Rebuild Civilization in the Aftermath of a Cataclysm", which I also enjoyed and keep a copy around just in case.

jewel··on Turboencabulator
Someone shared this video yesterday on the Boston Dynamics post, which has the same intonation and general feel as the encabulator videos. I don't have enough experience to know if it's an homage or if lots of sales videos still sound like this. https://www.youtube.com/watch?v=aB9T-I7Fh7U
jewel··on Gamestonk Terminal – Stock and crypto market terminal
I call that a "gnu readline" interface. I suppose you could also call it a "zork" interface, especially if there is a lot of state that can be navigated. Compare with "curses" for an ascii-art gui like alsamixer.
jewel··on What would you pay for autonomous driving? Volkswagen hopes $8.50 per hour
It might be possible to add self-driving features as an aftermarket upgrade. My 2013 model car already has drive-by-wire features (for automatic parallel parking), so it just needs more cameras and a replacement CPU. Heck, as a last resort you could put a robot in the driver's seat, physically operating the steering wheel and pedals.
jewel··on SpaceX delivers 3rd batch of Starlink satellites in two weeks
They've also been raising money ($850M in February) so they don't necessarily have to be using profit from paid launches.
jewel··on u/DeepFuckingValue and the GameStop Reddit mania
Money isn't conserved in the same way that matter is. Right now the market cap of gamestop is $22B, which is calculated by multiplying the share price times the number of outstanding shares. If some news comes out over the weekend that causes people to value the stock lower, we could see the first trade at $33/share instead of $330/share. $20B of money just disappears. It never really existed in the first place.
jewel··on Mark Zuckerberg comments on Trump's Facebook ban
Can someone mirror the content for those of us without a facebook account?
jewel··on Show HN: CraZe – Colorful and relaxing drawing app
Pixel 3 user. Everything works great as far as I can tell, the default 1px brush is quite fine which left me wanting to be able to pinch to zoom in to work on the finer details.
jewel··on I'm repackaging my code snippets for common features on React JavaScript?
Yes! Publish them somewhere. Perhaps github or gitlab if you'd like others to also contribute.
jewel··on Why the iPhone Timer app displays a fake time
From what I can see, the iPhone timer app is rounding to the nearest second. For positive numbers that can be accomplished with either Math.round(t) or Math.floor(t+0.5).
jewel··on Ask HN: Can someone recommend a game for a programming competition?
Any two player game will work, tic-tac-toe, fences, checkers, tetris. I particularly enjoyed a programming competition that involved a real time tank battle, like "combat" on the atari.

Any game that's grid based with a fixed number of states works well, either turn-based or real time.

You can do a double elimination bracket like a sports tournament, and can be done on a spreadsheet or whiteboard.

For more than two players at once, you could try snake, hearts, or poker.

← PreviousPage 3 of 15Next →