Readit News logoReadit News
rquirk commented on Porting 4.5K lines of C to Go   blog.kowalczyk.info/artic... · Posted by u/ingve
frik · 9 years ago
"Golang drops GOPATH" - I am waiting for this headline.

The biggest hurdle with Golang and working on different unrelated projects that are in their own GIT repo. Golang forces you to have one single path were all the code should reside - GOPATH. Name me one other language that has such a restrictive requirement. Why not offer a config?? Beside that I like everything else about Go a lot.

rquirk · 9 years ago
In my project I use "env GOPATH=$PWD go ..." in the makefile, that way it all goes in the current directory. There's probably some good reason this is a bad idea, but go is kinda funky anyway so I make up my own best practices :-)
rquirk commented on Sony plans to make vinyl records again   washingtonpost.com/news/m... · Posted by u/petethomas
eanzenberg · 9 years ago
I dunno.. digital music just sounds better, is more consistent, portable, and all around easier to play than vinyl.

Why stop there? Do you also churn your own butter, milk your own cows, shave with a straight razor?

Personally, I think it's just silly hipster bias.

rquirk · 9 years ago
Straight razors are pretty popular still in shaving forums.
rquirk commented on The fall of Jersey: how a tax haven goes bust   theguardian.com/uk-news/2... · Posted by u/hunglee2
hackerboos · 10 years ago
It's always frustrated me that Jersey/Guernsey/Isle of Man get away with reaping the benefits of being part of the UK (EU and EEC membership) whilst not actually being part of the UK, undermining our tax system, generally gaining from tax avoidance and evasion on the mainland.

These territories need to be given an ultimatum become part of the UK and implement UK tax laws or remain independent and be 100% responsible for their own affairs.

Edit: Amazon and Play.com used to operate out of Jersey to avoid VAT being charged on orders [1].

[1] - https://en.wikipedia.org/wiki/VAT-free_imports_from_the_Chan...

rquirk · 10 years ago
The IoM isn't part of the EU or the UK. As a Manxman living in Europe, I'm fortunate that my mother's side of the family is English or I'd have more trouble with work permits and whatnot. I haven't been able to exchange my Manx driving licence for a Spanish one, for example, since it isn't recognised.

As for taxes, people on Mann get screwed over on prices - everything from groceries to petrol is more expensive than the north of England since it has to be shipped in. The tax breaks for residents are less than for corporations too, without the corporate breaks I think there would be less work there in general. Might get rid of the southern English bankers that all moved there in the 2000s if they removed so many incentives so it wouldn't be a complete loss ;-)

rquirk commented on Fedora opens up to bundling   lwn.net/SubscriberLink/66... · Posted by u/perlgeek
davexunit · 10 years ago
This is an unfortunate development. It's tough to fight against the tide of developers that simply don't care or honestly believe it is a good thing, but it's a fight that is worth it for better security and easier maintenance of GNU/Linux systems, which directly benefits users. Thankfully, Debian hasn't given up, nor has GuixSD that I help maintain.

I asked Tom Callaway from Red Hat about it and he said "I'm not a fan, I think its a poor decision, but I also appreciate that I might be in the minority these days." [0]

Hopefully, once enough people have been burned by the apparent convenience of bundling, we'll see the tide change. Maybe after Dockerization has run its course.

[0] https://twitter.com/spotrh/status/656677002028691456

rquirk · 10 years ago
This isn't really a Docker thing though, is it? It is talking about the case of a program that includes its dependencies in its own source code tree. I think docker-ized programs would still link against e.g. the system libssl rather than ship a copy of an ssl library with a program's source. Another term sometimes used is "vendoring".

A lot of Java programs ship jar files in their source tarballs, it has traditionally been a lot of work for Debian devs to pick these apart. Similarly, many "things" (programs or web services) that use javascript libraries often ship minified versions of common stuff like jquery rather than use the system version. It's quite a mess. I think a lot of it stems from the fact that traditionally these sorts of libraries (jars, javascript) have not been well packaged or even packaged at all. The program authors are making life easier for the majority by shipping all the deps together. It's not good for distros, but I can see the advantage.

I think subversion has a nice work around for this - they include a script to download the dependencies if you need them, otherwise the default is to link vs system deps.

rquirk commented on Blinking Commits   blog.annharter.com/2015/0... · Posted by u/gurraman
erikb · 11 years ago
Doesn't work in my gnome-terminal. Looks like the commands get escaped by git somehow. Did anybody test it?
rquirk · 11 years ago
Doesn't work on Xfce either. On a virtual terminal thingy (ctrl-alt-f1) it shows a grey background with white text. I suspect blink is only implemented on the Mac's terminal, not in Linux-land.
rquirk commented on Ask HN: GitHub cloned your project, what can I do?    · Posted by u/luck87
rquirk · 11 years ago
Looks like it was people clicking google code's "export to github" feature before you got round to doing it ;-)

I wouldn't worry about it - the clones will probably not go anywhere and just die off, abandoned. True they don't link back to your now-canonical repo. As viraptor said, maybe contact the users. They might prefer to fork your repo now it's on github.

rquirk commented on Firefox 42 will not allow unsigned extensions   wiki.mozilla.org/Addons/E... · Posted by u/fernandotakai
rquirk · 11 years ago
Will this also affect Firefox for Android?

Mozilla currently don't provide a dev build for Android, just regular and beta versions https://play.google.com/store/apps/developer?id=Mozilla

The security problem that this "fixes" is not really an issue on Android due to Android's own app sandboxing, so maybe the Android build will allow unsigned extensions? It's not mentioned in the FAQ.

rquirk commented on Improving Facebook's Performance on Android with FlatBuffers   code.facebook.com/posts/8... · Posted by u/numo16
rquirk · 11 years ago
The FlatBuffers repo on github continues a couple of "meta-trends" I've noticed in recent Google projects. https://github.com/google/flatbuffers

First, it uses CMake to build - for a long time Google projects had seemed pretty anti-CMake (for example using gyp, plain Makefiles or autotools) so it's nice to see them using CMake. IMO it's the best build tool, though all build tools generate various levels of hate :-)

Second it's another Google project that generates good developer docs from source code using doxygen and markdown. These docs look good on github directly (https://github.com/google/flatbuffers/tree/master/docs/sourc...) as they are markdown, and even better on the dedicated site where they have custom css.

If I were to write a C++ library, I'd definitely copy these 2 approaches.

rquirk commented on Stack Exchange Engineering: How We Built Our Blog   blog.stackexchange.com/20... · Posted by u/jonhmchan
jonhmchan · 11 years ago
I'm the author of the post and the lead on this project. Many of the costs you mention aren't so bad. As mentioned earlier, we actually consider learning GH and Markdown a plus for non-devs. As for comments and writing Python, some pain here, but were ultimately solvable.

Performance also wasn't the only plus here. Closing major security holes, making more of our content and technology more open, and moving to a platform that our devs liked working in are just some of the other wins.

It's too early to say definitively now, but we think the change is probably a good one.

rquirk · 11 years ago
You haven't broken the podcast RSS feed, thank you. Another large podcast network recently did a redesign and broke all of their feeds, apparently on purpose. Crazy.

However, the podcast feed is impossible to find now if you didn't have it before. Previously I think it was on every podcast post as an RSS link. Now the individual tag RSS links all point to the main feed, rather than to a per-tag feed.

e.g. http://blog.stackoverflow.com/category/podcasts/feed/ still works if you know it, but going to https://blog.stackexchange.com/tags/podcasts/ gives you an RSS link to just "/feed/".

This is probably not a good place for bug reports :-S

rquirk commented on GitHub forking has one big flaw (2011)   zbowling.github.io/blog/2... · Posted by u/tutuca
ghthor · 11 years ago
While that would be convenient,I have no idea how it would work. You're asking to push to something you don't have rights to modify.

Git evolved with a pull workflow because the problem it was made to solve was a the pull workflow of Linus and the kernel. This inherently means you must self host your changes while they're being reviewed and accepted.

rquirk · 11 years ago
It's sounds like how Gerrit works, from a user's POV at least. You can push to a repo that you don't really have write permission to, and it goes into Gerrit. The post-push scripts create a sort of branch-tag thingy from master with your commits on, and so when the Gerrit review passes ("pull request accepted") the change is merged/rebased/cherry-picked onto the latest stuff. If the review is rejected then the temporary branch is dropped and that's that. Since all the reviews items in gerrit are just git references, you can use all the usual git commands on them (pull or fetch it, then merge) if you know the gerrit tag, but since they are strange branchless things they are not pulled down by default in a normal clone.

It's harder to explain than to use actually. Ah! there's a bit of a wrinkle with gerrit in that it uses a local hook to insert an ID into commits, so rebasing or cherry picking knows which commit to reference. But that might be optional, it'd be like cherry-picking a pull request, I think github doesn't close the original in that case? Not sure on that though.

u/rquirk

KarmaCake day437December 12, 2009
About
@richq | http://quirk.es
View Original