HNHacker News
TopNewBestAskShowJobs

greggman

6,858 karma · joined November 16, 2010

http://greggman.com

http://greggman.github.io

submissionscomments
greggman··on European Copyright Law Could Soon Get Worse
I'm guessing this is an unpopular idea but is it possible we just don't need as many journalists? I 100% Agree that journalism is important but before the internet, for the most post, every news paper needed people to cover every story they wanted to run. Even if they took a story from the AP or Ruters they still needed someone to dig that up. Now, there is no reason why the AP and Rutere can't just publish their content themselves to the entire world. Similaly a local newspaper doesn't need to pay someone to cover the world news. We don't need every major news paper from every country to have reporters in every other country as they can just use someone else's reporting.

I'm guessing your first thought to that is we need multiple voices and points of view and I don't disagree. I'm just pointing out that in 1975 you probably had 2-5 reporters from Sweden in NYC, 5-15 from Germany, 5-15 from France, 4-7 from Italy, 2-3 from Spain, 5-15 from the UK, 3-4 from Ireland etc etc. Add up all the major countries and their might have been 400+ NYC foreign correspondents. Do we need all 400 or has the internet made it so we only need 10-20? Apply that concept everywhere, even to local papers and it seems like the biggest hit to journalism isn't Google, it's the internet itself. Just like a few wheat harvesting machine replace hundreds of workers the world has changed to one where far less journalists can do the work of what used to take many more?

greggman··on How to Decide What to Build
> validate your market

how do you do this? Smartphones existed as PDAs for 10-20yrs before iPhone. If I had shown someone my Sony Clie and said "if I make this work with your finger instead of a stylus, simplify the UI, and charge you $80+ a month for service would you be interested?". except for a few geeks like myself the answer would have been "no, that stuff is for geeks" for most people and yet here we are 10 years later and everyone has a smartphone.

So I don't really see how to "validate your market". I've got a few ideas I'm 99% sure would be successful given the correct marketing and PR but because they are new or at least new for a given country people tell me they don't get it, not interested. They might be right but it might also just something they need to correctly ibtroduced to.

Netflix comes up in my mind as an example. It seems obvious but if you'd asked Mom and Dad if they wanted internet movies 10 yrs ago theyd have looked at you like your crazy

greggman··on Why SQLite Does Not Use Git
I am not qualified to judge whether Fossil is better than git and I can completely acknowledge that git has a step learning curve (although I feel that a big chunk of that learning curve is unlearning previous VCS experience).

But, now that I do know git the biggest change from I noticed from previous VCSes is how much I work on multiple issues in the same repo. Something that was extremely hard with CVS, SVN, P4 (10yrs ago).

A friend was struggling with git recently and ranting about it. He didn't get it and didn't understand why anyone would use it compared to what he was used to (non DVCS). I wrote him this analogy

> Imagine some one was working with a flat file system, no folders. They somehow have been able to get work done for years. You come along and say “You should switch to this new hierarchical file system. It has folders and allows you to organize better”. And they’re like “WTF would I need folders for? I’ve been working just fine for years with a flat file system. I just want to get shit done. I don’t want to have to learn these crazy commands like cd and mkdir and rmdir. I don’t want to have to remember what folder I’m in and make sure I run commands in the correct folder. As it is things are simple. I type “rm filename” it gets deleted. Now I type “rm foldername” and I get an error. I then have to go read a manual on how to delete folders. I find out I can type “rmdir foldername” but I still get an error the folder is not empty. It’s effing making me insane. Why I can’t just do it like I’ve always done!”. And so it is with git.

> One analogy with git is that a flat filesystem is 1 dimensional. A hierarchical file system is 2 dimensional. A filesystem with git is 3 dimensional. You switch in the 3rd dimension by changing branches with git checkout nameofbranch. If the branch does not exist yet (you want to create a new branch) then git checkout -b nameofnewbranch.

> Git’s branches are effectively that 3rd dimension. They set your folder (and all folders below) to the state of the stuff committed to that branch.

> What this enables is working on 5, 10, 20 things at once. Something I rarely did with cvs, svn, p4, or hg. Sure once in awhile I’d find some convoluted workflow to allow me to work on 2 things at once. Maybe they happened to be in totally unrelated parts of the code in which case it might not be too hard of I remembered to move the changed files for the other work before check in. Maybe I’d checkout the entire project in another folder so I'd have 2 or more copies of the project in separate folders on my hard drive. Or I’d backup all the files to another folder, checkout the latest, work on feature 2, check it back in, then copy my backedup folder back to my main work folder, and sync in the new changes or some other convoluted solution.

> In git all that goes away. Because I have git style lightweight branches it becomes trivial to work on lots of different things and switch between them instantly. It’s that feature that I’d argue is the big difference. Look at most people’s local git repos and you’ll find they have 5, 10, 20 branches. One branch to work on bug ABC, another to work on bug DEF, another to update to docs, another to implement feature XYZ, another working on a longer term feature GHI, another to refactor the renderer, another to test out an experimental idea, etc. All of these branches are local to them only and have no effect on remote repos like github (unless they want them to).

> If you’re used to not using git style lightweight branches and working on lots of things at once let me suggest it’s because all other VCSes suck in this area. You’ve been doing it so long that way you can’t even imagine it could be different. The same way in the hypothetical example above the guy with the flat filesystem can’t imagine why he’d ever need folders and is frustrated at having to remember what the current folder is, how to delete/rename a folder or how to move stuff between folders etc. All things he didn’t have to do with a flat system.

> A big problem here is the word branch. Coming from cvs, svn, p4, and even hg the word "branch" means something heavy, something used to mark a release or a version. You probably rarely used them. I know I did. That's not what branches are in git. Branches in git are a fundamental part of the git workflow. If you're not using branches often you're probably missing out on what makes git different.

> In other words, I expect you won’t get the point of git style branches. You’ve been living happily without them not knowing what you’re missing, content that you pretty much only ever work on one thing at a time or find convoluted workarounds in those rare cases you really have to. git removes all of that by making branching the normal thing to do and just like the person that’s used to a hierarchical file system could never go back to a flat file system, the person that’s used to git style branches and working on multiple things with ease would never go back to a VCS that’s only designed to work on one thing at a time which is pretty much all other systems. But, until you really get how freeing it is to be able to make lots of branches and work on multiple things you’ll keep doing it the old way and not realize what you’re missing. Which is basically way all anyone can really say is “stick it out and when you get it you’ll get it”.

> Note: I get that p4 has some features for working on multiple things. I also get that hg added some extensions to work more like git. For hg in particular though, while they added after the fact optional features to make it more like git go through pretty much any hg tutorial and it won't teach you that workflow. It's not the norm AFAICT where as in git it is the norm. That difference in base is what really set the two apart.

Sorry that was so long but my question for the Fossil guys would be "which workflow does Fossil encourage?" Lots of parallel development like git or like many other VCSes not so much parallel dev. Are branches light and easy like git or are they only meant for marking versions like the were in SVN, P4, CVS. Do branches even need to be related or can they be completely unrelated like gh-pages and the VCS won't complain that you're "off master" as hg does (did?)

greggman··on Do You Trust This Computer? [video]
I don't really get the argument for regulation. This is not nuclear material (something relatively easy to control). This is computers, something most 8yr olds in the western world at least have access to. If you regulate it in the USA or the USA+Europe will it be regulated in Russia? China? Can you even regulate it in the west if you want to without confiscating all computers?

I'm not saying we shouldn't try to make friendly AI (One of Musk's initiatives), rather I'm just saying I don't see how it's possible to remotely regulate this.

greggman··on Right Click
I followed the instructions on the bottom "just save a copy of the image" by long pressing the image on my phone. Saved a copy. Nothing happened.

guess it's desktop only

greggman··on We might be swinging away from the newsfeed
does anyone else refrain from posting because you know that each post you may take up your friends' time?
greggman··on Panera Bread did nothing about its customer data vulnerability for eight months
the only way security will ever be taken seriously us if there are fines for leaking data. $1000 per user per incident. Nothing will ever happen otherwise. There is zero incentive.
greggman··on A fork on GitHub is no fork
This is no different than Google Docs and many other similar services. If you share a Google Doc with someone it will show up in their list of Docs. But it is just a reference to "their" doc. If they delete the doc there's no doc to reference and your "apparent" copy of the doc (which was really just a reference) disappears.

If you really wanted your own personal copy you need to make a duplicate. That duplicate will be yours not a reference to theirs.

It was strange the first time I ran into it. I deleted an account. I had shared the documents with another account of mine. Then I noticed when I deleted the first account I lost access to those docs. Now I know I hadn't copied the docs I'd only had references to them. Next time I'll know to make copies if I actually want copies and not just access to another account's shared docs.

greggman··on Apple Music now has 38M paid members
Do any of the music services not suck at suggestions and or auto playlists?

I tried Spotify, Google Music, Amazon, Pandora and all of them drove me batty.

The most common problem is just bad selection. For example I picked "Daily Lift" on Spotify expecting uplifting songs. First song was about woman finding out man is cheating on her. Second song is about woman thinking of x while sleeping with new guy. Neither was remotely uplifting.

Another example, on Google Music I play Prince. Pick "related" and get rap. I have nothing against rap but it's not even remotely related to Prince except in maybe some possibbly racist way.

Pandora had the problem on playing the same songs and if you ban the songs you just end up getting different mixes of the same song.

Yet other issues is "more like this" never works. If I'm playing say a ballad and I pick "more like this" I expect more ballads but instead all the music services just give you songs by artists someone judged as popular with people who like the artist you're currently listing too so you might get dance or rock or rap or anything and not actually "more like this"

I've cancelled all of them as I didn't find them useful because of those issues.

greggman··on Shaderoo: realtime ballpoint effect
it probably doesn't matter but I like that I can view many if not most shadertoys on my iPhone. unfortunately it doesn't look like Apple has any intention of shipping WebGL2 in Safari. There has been no significant work in WebKit on WebGL2 for over a year
greggman··on The case for ending Amazon’s dominance
just an anecdote but a Chinese person I met told me how crap Amazon is for buying clothing vs taobao. she said taobao has models for most clothing and showed us some examples.

seems like there is plenty of room compete with Amazon and that's just one example.

greggman··on Modern CSS Explained
I doubt it's ever coming but to really separate layout from content requires the layout tree and the content to be separate trees. Right now there's effectively only 1 tree, the DOM and CSS for the most part is just meta data on that tree.

GRID requires things to actually fit a grid. If your grid isn't easily divided you add nested grids. But once you nest grids you can no longer seperate layout from content since the nested grid tree (layout) and the DOM tree (content) are tied together.

greggman··on What It Felt Like in Hawaii When Warning of an In-Bound Missile Arrived
not in Japan. Japanese water heaters are on demand heaters. I love them becahse unlike US style tank based heaters Japanese on demand heaters never run out of hot water.
greggman··on What It Felt Like in Hawaii When Warning of an In-Bound Missile Arrived
the law banned it.

note though all Christian religions claim to believe in a book, the Bible, that has people who practiced polygamy blessed by God. It's pretty hypocritical for any one who believes in the Bible to be against polygamy when the God that book is about blessed the practice.

greggman··on Exercise Alters Our Microbiome
are all European cultures healthy? I got the impression Germany had a pretty unhealthy diet. Same with Turkey.
greggman··on The Great Attention Heist
old news I guess but I recently realized I could block elements with ublock origin so I blocked the "hot meta questions" and "hot questions from other stack exchange sites" elements from stack overflow because I'd see some slightly interesting topic and get sucked in.

not sure what other similar helpful things I can do. I unfollow agressively on Facebook. use Fbpurity to filter as much as possible. don't use Twitter.

I still get distracted all day long. should probably ban HN from my life for the 4th time . it's not easy. I changed my hosts file once but VMs don't use the same file. tried using parental controls on iOS but they ban way too much. used noprocrast but can open incognito window although it helps not being able to comment. Wishing there was a fake VPN app for iOS I could use to block sites

greggman··on Vulnerability of Speculative Processors to Cache Timing Side-Channel Mechanism
while not directly related to meltdown and Spectre it's not just the web. Almost all code really shoud be considered untrusted. Every game on steam. every app on the app store. many apps use ad or analytics libraries the app devs don't know the innards of. there are plenty of apps that are just skinned web browsers effectively downloading new code all the time and while I might trust Facebook or maybe Slack to check all the 3rd party libraries and updates they import I doubt your average app dev team does any of that.
greggman··on NSA’s top talent is leaving because of low pay, flagging morale, unpopular reorg
Completely non sequitur but if you've never see it check out "Ikiru" by Akira Kurosawa. It's a movie about a government employee that's been doing nothing but serving the organization customers his whole life until he finds out he has cancer.

http://www.imdb.com/title/tt0044741/

greggman··on IKEA Effect
Wow, never heard of this. My experience has been the exact opposite. Even though I've built tons of Ikea furniture I've always considered it disposable. Most of it is not made to last a single move. Some of them might survive if you disassemble them before hand. I've been proud to have built it but that pride never translated to any attachment.
greggman··on Chef gives up a Michelin star, reflecting hardship of ‘the Other France’
what's special about 1950? why not 1920 or 1890 or 1130?

just curious if there is something specific to 1950

greggman··on California lawmakers have tried for 50 years to fix the state’s housing crisis
knowing how bad downtown LA is/was in terms of poverty and crime it's hard for me not to be happy at the gentrification and cleaning up of DTLA. It still has a ways to go but I'd love a safe and clean DTLA. I don't know what the implications are for the poor that get displaced but old DTLA was (and still is) a blight on the city. Of course a solution that some how helps the poor down there would be great but keeping the place a cheap ghetto doesn't seem like the right thing either
greggman··on New York's vanishing shops and storefronts: 'It's not Amazon, it's rent'
I'd be curious too. Not NYC big there's was a medium sized retail space across from a Whole Foods in Noe Valley. It was vacant for 11 years. Maybe it's still vacant? The picture on Google Maps ©️ 2017 shows a still vacant space.

https://sf.curbed.com/2015/1/26/9999036/11-years-after-closi...

greggman··on The Fragile Generation
> We know from research that exercise, getting into nature, spending time with people in person all lower stress levels and are good for you,

could you provide some links? IIRC introverts do not always get lower stress levels from such activities and I think you'd be hard pressed to find any science showing "getting into nature" provide any benefits except bug bites, sunburns, and hay fever

greggman··on By ditching usernames, OKCupid is removing a crucial protective barrier
seeing short profiles if off putting as well.
greggman··on Apple Says Apps Must Now Disclose Odds for Loot Boxes
$400 for all card might be insane but I know many friends that spent thousands on magic the gathering cards under the same concept. I suppose those should have been regulated too but as other have pointed out baseball cards operate under similar premises. You pay for pack hoping to get rare cards and or cards you don't own. not really sure where to draw the line
greggman··on Chrome is Not the Standard
the problem is css is tied to and gets it's hierarchy from the html elements. In order to truly separate style and layout from content you need a separate hierarchy and that would be a huge change

https://games.greggman.com/game/css-grid-fail/

greggman··on A friend of mine died and I didn't know because of algorithms
you may have seen it but there is a really scary Ted talk suggesting that it's possible Facebook is using deep learning techniques to optimize for engagement and they have no idea why it picks what it picks but it's possible making people choose sides and argue happens to be the best way to meet its goals

https://m.youtube.com/watch?v=iFTWM7HV2UI

greggman··on Moving from Disqus to Schnack
first off , if you turn off ads on disqus there are no 3rd party requests. maybe that will change with the new owners but it's disingenuous to claim disqus is doing something bad here when there's an option to turn it off.

Otherwise the number one reason I stated using disqus is spam. I wrote my own blogging and comment system in 2000. When that got spammed I switched to WordPress around 2008. Even with their anti-spam features I got tons of comment spam. I switched to disqus many years ago and I think I've had no more than 2 spam comments per year since.

Disqus benefits from being everywhere in that it can see a bad actor and prevent them from being bad everywhere else. How will this system handle that?

greggman··on China Blocks Foreign Companies from Mapping Its Roads for Self-Driving Cars
I don't think its that simple and I'm curious what's really up.

I was just in Shanghai, Nanjing, Hangzhou for a week. I purchased a Hong Kong sim for my phone. Google and Facebook were not blocked when using tbat sim but they were blocked on hotel WiFi.

So then trying Google Maps the location was always wrong. So wrong as to be unusable. But, trying Apple Maps it was always correct. It seems like that could only happen by regulation not technical means. The iPhone itself isn't going to give different GPS info depending on which app is running is it ? Which seems to means Google Maps' location is wrong because the Chinese government told Google to make it wrong?

greggman··on What Would You Pay to Keep Your Digital Footprint 100% Private?
iOS (and android?) have the option to only share gps while the app is running. so for the taxi app example you're sharing no more info than you need to really. turn it on, call a cab, cab arrives, close app. The only info shared is your pick up location. Of course the cab itself could share your destination but I don't see how you'd prevent that as that info is also relevant to the taxi
← PreviousPage 4 of 34Next →