7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions
comment 8y ago · link · parent
Exceptionally low cost per hit, as opposed to overall bandwidth. Overall bandwidth will probably fair off worse as you say due to the polling nature of RSS. I think in general RSS readers could do a better job of fetching heads and checking whether or not there is a change worth fetching, that would save a tonne of bandwidth.
Also in general, I would be tempted to make an RSS feed more minimalist in terms of content and markup. It should just be a short `<description>` and a link to the main article (which would still allow you to potentially monetize your content or gauge interest more accurately).
>I think it's more likely that for my Wordpress blog the CSS/JS overhead is just not that much
Also, bandwidth is just one resource - potentially each call to a page is a database read, whereas your RSS feed should be static (not sure about the WordPress implementation, but I would hope for static caching with something that doesn't change for long periods of time). I've seen WordPress database lockups with modest amounts of traffic (again, most of the time this could have been easily statically cached - but doesn't appear to be by default).
comment 8y ago · link · parent
Still, exceptionally low cost compared to running pretty much any website's massive CSS and JS files. A single image in most cases will take more than the entire RSS feed before compression.
That said, I would like to see a new standard (a new one would be needed [1]) that only gets the difference from what you last read - I think that would really take RSS feeds to new places of usefulness. There's no reason why you couldn't send the server an ID (not timestamp to avoid issues with timezones, clock stretching, forward/backward time setting, etc) of the last request and have it send back everything since (within reason).
comment 8y ago · link · parent
>To delete patterns that do not match, useful for debugging: `:g!/pattern/d`
This is something I would normally use something like grep to achieve, nice to know it exists in vim as well.
>* `:norm` this thing motivated me to use more of the movement commands like `A`, `o`, `D`, `f`, `cw`, and `ci`. Used `:[range]norm cmd`, it acts like each key in the command is run on every line in range. I usually use it with a selection, for example to add a comma to the end of every line in range with `A`, or insert at the end of line: `:norm A,`
In this specific case, I would tend to (maybe in gvim) run a replace on `\n` -> `,\n` to achieve this. That's kind of what I'm looking for in terms of string replacement.
The rest is certainly interesting, but for my work flow I like to generally keep things as simple as possible (bad memory). I've never found myself thinking "I wish there were more movement commands" for example.
comment 8y ago · link · parent
I only use a very small number of it's features:
* `:tabe` Create a new tab
* `:e .` Start browsing files in that tab
* `:w` Write the file
* `:q` Quit the file (`:q!`, seriously, please do quit the file)
* CTRIL+SHIFT+UP/DOWN To switch tab (doesn't reliably work on every machine)
* `/WORD` To search for something
* `:NUM` To go to a specific line
* `i` To insert
* SHIFT+V to select lines
* `d` To delete lines
* `x` To extract lines
* `y` To "yank" (copy) lines
* `p` To paste lines
>Here are a few things I wish I could do better:
I don't have a great memory, so memorizing more than what I use every day is a little too much. One thing that I'm working on remembering is the ability to replace strings (although I don't really like regex).
>Would I learn Vim again?
I'm yet to experience anything compelling enough to stray me away. The advanced features are there if I ever need them, but for the most part I am free to have a lightweight editor.
comment 8y ago · link · parent
1. Static page caching (in RAM ideally) - dynamically generated content will kill you quicker than anything else, especially calls to a database. WordPress is very easy to kill in it's default state.
2. Kill high frequency requests from the same location as quickly as possible (make sure your response is less than the data they send you - ultimately you want their systems to be busier than yours). You want to free the port up as quickly as possible.
3. Move anybody you can identify as a legitimate user (credentials, low frequency requests) out to another server if possible.
Firewall wise, my system sits on the cloud, so usually high frequency traffic is the only issue I have to deal with. Interested to hear any advice of other people here.
comment 8y ago · link · parent
Installing NoScript and blocking external CSS was the best decision I ever made. Now use <25% of the RAM and <10% of the CPU I used to for the same number of tabs (in Firefox) - with a better experience because the browser isn't constantly trying to die.
The UK Government site team is my go to for a good web design philosophy: https://www.gov.uk/guidance/government-design-principles (Hell, if they could run the actual Government like this we would be in a lot better shape!)
comment 8y ago · link · parent
In all seriousness though, people designing websites should be given the shittiest connections possible and old computers (between 5 and 10 years old). Maybe then we'll end up with websites that haven't got more JS than content, broken CSS and images that push the page download over several megabytes.
comment 8y ago · link · parent
My guess would be similar learning systems that aren't subject to GDPR, such as government, external to EU (US), the ludicrous information of things (smart sensors, cloud, etc) where information doesn't leave the user's control, AI driven products, etc.
Then you'll have quite a few who will just continue regardless, sometimes it's easier to apologize (and pay a small fine) than it is to ask for permission.
Don't get me wrong, I would love for all of these people to end up in the (Scientific) health industry. (It's worth mentioning Scientific, as there is a lot of useless crap that uses some form of learning and offers no real gain - would be disappointing to see them all end up applying deep learning to homeopathy for example.)
comment 8y ago · link · parent
My site CSS has the following just to make sure that the mobile browser (from testing) doesn't make the font unreadable:
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
max-height: 999999px;
No doubt there are some breaking cases still!But agreed, this is getting quite ridiculous...
comment 8y ago · link · parent
Sounds impossible, until you find out that if you don't blow them hard enough you can get fuse re-flow under hot conditions. Good fun to debug.
In theory (untested to my knowledge), if you super cool the chip you could lower the resistance of the fuse and prevent it from blowing and absorb heat around the fuse, but it's probably not all that practical for casual game players.
As for getting to the problem at hand (force downgrading your system), some potential solutions (nothing easy):
* Careful control over the chip's power and you could perform a power supply timing attack, tricking the processor logic. This seems like a bit of a stab in the dark though.
* Assuming the bootloader is loaded into some form of RAM, you could look towards modifying the RAM as the chip boots to contain some kind of "skip" code for set pins. Game consoles have hardly been beyond the realm of needing mod-chips to access different features...
* The other option would be to replace the chip containing the bootloader with a non-upgraded one.
comment 8y ago · link · parent
I can say from personal experience that it's never easier to hear either. Starting with good intentions is not the same as delivering a good product.
Out of interest, how far along is this project now in respect to hardware and software? Is it ready to ship once you have enough orders?
>We did already pull back a bit on most of our SW promises and packed them inside a "beta-mode" as we realised after testing a personal driver phone is no experimenting ground.
Don't get me wrong, your SW looks awesome. Actually, I would really love a version of this phone I could run Linux (proper Linux, not Android) on.
>This post just beat us before we finished relaunching our website with a simpler communication strategy and a def. a better website.
That's unfortunate. You should "relaunch" your PR push and get across some kind of "we listened" to cheaply get yourself back into public eye on good terms.
comment 8y ago · link · parent
But... That said, building one decent chat app is a massive time sink in itself. Then do this for many different popular apps with massively varied features (Google maps, Uber, etc) - then build that all into Android, then build the hardware - this phone isn't going to be released for years.
Note that it's a pre-order and not an order, it's just not ready yet and likely will never be ready at their price point. They'll get less backers than they expect, burn through the cash faster than they want and will struggle to meet their promise. As other comments have points out, they're better off starting with lower expectations and a website people can use. That's all just assuming it's not a scam.
comment 8y ago · link · parent
>Hellevik was about to close the door between the chamber system and the trunk when the chamber explosively decompressed from a pressure of nine atmospheres to one atmosphere. One of the tenders, 32-year-old William Crammond of Great Britain, and all four of the divers were killed instantly; the other tender, Saunders, was severely injured.[10]
comment 8y ago · link · parent
Documentation wise, I use Markdown (religiously keeping it to 80 characters) and Pandoc to build any kind of output. Again, I normally just add this stuff to a Wiki somewhere. I've been terrible at keeping this stuff up to date, but for the most part it acts as a good starting point and either myself or someone else in the team can update it.
On a different note, I would be careful about adding content related to work to outside resources (run this by somebody). Personally I like to stay in control and not rely on some relatively small company still being around in 10 years time.
Edit: +1 also for using paper and pen for coming up with ideas, etc. Most things start there for me and then end up being digitized.
comment 8y ago · link · parent
Current hearing live on Youtube: https://news.ycombinator.com/item?id=16812334
2035.
Mark Zuckerberg's second grilling from US lawmakers [video](youtube.com ↗)
2 points · by bArray · 8y ago · discuss
comment 8y ago · link · parent
comment 8y ago · link · parent
Perhaps an experiment could be made that would answer this by giving a person a completely new sense and asking the same identification problem. I think the skin could be interesting to use as it allows 2D input with the possibility of utilizing existing spatial mapping, yet isn't used (in most cases) for 2D depth feedback. You could attach some device that heats/cools, pokes, pinches or something else to excite nerves based on some depth information. Of course they would be blindfolded and unable to touch the objects.
You could make two different types of experiment, one that has spatial mapping to the skin and another that is randomly linked, seeing how long (if at all) it takes for somebody to figure out from the inputs which shape they are observing.
My guess is that they could quickly get an intuition for each shape simply by looking at the rate of change of inputs when they move about the object.
comment 8y ago · link · parent
For me it goes to show that humans are more fragile than we often like to think.
comment 8y ago · link · parent
Personally I think this is more towards a vigilante mob culture and in most cases it's counterproductive to throw people under the bus. The real failure here was Marriott failing to envision somebody one day accidentally pressing a button in "error" (at least to cause negative PR). They've set a dangerous standard for themselves that large negative PR should result in job losses.
[1] https://www.telegraph.co.uk/news/2016/05/09/nazi-pug-man-arr...
comment 8y ago · link · parent
Thank you. I was hoping you had figured out how to get it going in `pandoc`, tried it myself to no avail but just assumed I had done something wrong.
>I am unclear on your dnt script? What does it do? I don't have any facilities on my site to track users at all as it stands.
No, but I can imagine it useful if you did want to put a relevant YouTube video or Tweet embedded in, but wanted to respect DNT. It's worked pretty well so far.
>I will probably be mooching parts of your CSS though, thanks for posting it here!
No problem! Some parts to make the font size a little better for mobiles too at the top :)
>Edit: you are correct, I seem to have forgotten to include <HTML> tags... I should probably fix that.
Yeah, not a massive deal but who knows, could break something in the future!