Better HN
topnewbestaskshowjobs
Log inSign up

compsciphd

2,299 karma · joined Feb 15, 2012 (14y ago) · 1,239 submissions

Submissions

comment 9y ago · link · parent

see the bottom comment in the link i provided

comment 9y ago · link · parent

to me custom paths are a basic function of making interactive/dynamic presentations.

comment 9y ago · link · parent

So I want to like libreoffice, but its really terribly maintained. features come and go, practically at whim.

For instance, custom motion paths seem to come and go at whim (still not fixed in 5.3, and as this bug shows has been a recurring problem)

https://bugs.documentfoundation.org/show_bug.cgi?id=76916

It's hard to rely on it when basic functionality constantly breaks.

comment 9y ago · link · parent

auto-fill mode doesn't reflow paragraphs at will, it just inserts a line break when you go over the limit.

For instance, if you're editing a document and write a long sentence, that spreads over 3-4 lines. You then take a scalpel to it to make it more concise, so that it fits on a line or 2. Emacs won't reflow it automatically, you can manually get it to reflow (M-q by default), but its not the behaviors you expect from say a word processing program. Same exists if you insert new text.

TLDR: all auto-fill mode does is insert new lines when you reach the line length limit.

comment 9y ago · link · parent

I believe It's only a $3K per year income deduction if you have no other capital gains to offset it with. If you have future capital gains of $200K, it can make that go to 0 and you wouldn't have to pay tax on it.

comment 9y ago · link · parent

So while this is good that this is getting press again, its not a new thing, see this Sigmetrics paper from 2014 (i.e. about 2.5 years ago)

(and ignored on hacker news back then)

https://news.ycombinator.com/item?id=7918649

mostly good to give credit where credit is due.

comment 9y ago · link · parent

I still have one somewhere (well an IBM branded one). I really need to be willing to throw away stuff

comment 9y ago · link · parent

I've done it. I have a throwaway facebook account that doesn't seem to connect to any of my normal points of contact (say for free offers where you have to share something on fb). Not that facebook couldn't figure out who I am (say via IP), but they just don't actively do that or at least expose that to end users.

comment 9y ago · link · parent

So already stated that the person could have given his own contact list to facebook, but also the opposite. The surgeon could have given his contact list to facebook and figures if person X has me in their contact list, I must know them.

Lesson: give facebook a throwaway email and phone number if you can, if you really do not want this to happen. Also only browse facebook in incognito mode.

comment 9y ago · link · parent

a good solver should be able to do it much faster than 1 every 10s. As someone who sees a lot of recaptcha captchas (i.e. per week I solve probably 1k+ working on a similar project) you notice patterns, that makes it much quicker and not particularly mentally taxing.

With the proper tools, someone should be able to on average do them in under 5s and perhaps even faster. I just did a test, and I was able to do 20 recaptchas in a bit over a minute (65-70s, rough timer)

Now, I wouldn't want to do for pay 8 hours a day, but at 3s a captcha it and at $1 per 1K captchas, one is looking at about $1/hr, which probably isn't bad in some parts of the world. (per a quick google search, "In 2009, the average monthly income in India was Rs 3000 [1]. If we assume 160 hours worked per month, that comes out to Rs 18.75 per hour, which is about 0.40 USD per hour. Given that about half of the country lives on a dollar per person per day [2], this estimate sounds reasonable.Oct 28, 2011")

comment 9y ago · link · parent

The way I see GRPC in the context of the CRI is a very well defined API. i.e. kubelet makes function (or in this case rpc) calls to my implementation of the api and I return results to it.

I tend to think of it like the VFS in the Linux kernel. If Linux was a microkernel, it would talk to each FS module over an RPC interface, since its not, they are standard function calls as statically linked together.

I'm unsure what your Q really is, how would I easily have function request/response layer with json documents or stdin? It seems more complicated. But as I don't quite understand perhaps I'm missing the point.

I also dont think its adding more moving wheels, its just taking one wheel out of kubelet (i.e. dockertools part of kubelet) and moving it elsewhere (i.e. dockershim as a cri implementation). The only increase in "moving wheels" is that even in the non "statically linked" scenario, one has to distribute 2 binaries to each node. kubelet and the cri implementation, but in practice I'm not sure thats really such a big deal.

comment 9y ago · link · parent

The thing not mentioned is that Bloomberg is a Github Enterprise customer. They ran their own git server for a bit and then transitioned the whole company to github and the pull-request model (relatively quickly too)

comment 9y ago · link · parent

In practice the GRPC interface can be "statically linked" into the kubelet binary and it then just becomes a plugin API that implementations can build. I believe this is how "dockershim" works today.

The advantage of the GRPC framework for developing though are tremendous, I'm building my own CRI implementation and I can iterate extremely quickly due to the fact that it can use RPC.

comment 10y ago · link · parent

huh? https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...

comment 10y ago · link · parent

At least in computer science their are strong forums for this. http://sigcse.org/sigcse/

comment 10y ago · link · parent

The problem with this is, I can invent something, describe in detail how to build it, but have no ability to build it myself as a product. For example, imagine I invented a better type of flip-flop circuit. Its only useful to people building microprocessors, but under your logic I shouldn't get any benefit for creating a better way for them to build microprocessors because I don't build them myself.

comment 10y ago · link · parent

One can't understand this without first understanding

https://en.wikipedia.org/wiki/United_States_debt-ceiling_cri...

and

https://en.wikipedia.org/wiki/Budget_Control_Act_of_2011

comment 10y ago · link · parent

something like this? https://www.usenix.org/conference/usenix-atc-10/presentation...

comment 10y ago · link · parent

I think the author's point is that if you have exposed USB ports then there is nothing one can do. i.e. no matter how hardened they are, you can just keep on increasing the voltage (relatively easily vs hardening) and you will kill the PC. so one can just as easily pentest by removing the power from the PC without any fatally destructive behavior.

comment 10y ago · link · parent

I think the LISA paper does a good job describing an approach.

basically don't allow people to commit changes directly to the underlying system, require the changes from 2 administrators to be captured and then compare them for equivalence. (what equivalence means can be bit for bit equality at the most basic binary level, or perhaps some parsing that can verify equivalence at language level for configurations)

if the changes are equivalent commit them. otherwise point out the differences.

As the paper also discusses, can be used with a single administrator to make the administration auditable, simply capture all changes before they are committed.

comment 10y ago · link · parent

Agree that it is an ad, but is it fundamentally that different from any companies blog post? i.e. that's part of their marketing too.

All this ad is an excerpt from the book, so closer to linking to something in books.google that one finds interesting.

1192.

I bought some awful light bulbs so you don't have to(mjg59.dreamwidth.org ↗)

270 points · by compsciphd · 10y ago · 84 comments

comment 10y ago · link · parent

I don't have a list handy but can throw an example

a simple thing that was missing was managing /etc/resolv.conf (see rkt 1.0 release notes that this was added so now kubernetes can take advantage of it going forward).

Without it, one either has to jump through some hoops (not impossible) to manage it yourself or your system just wont work (i.e. trying using GCE metadata server from within GCE without being setup for GCE's dns server).

comment 10y ago · link · parent

yes, support exists today, its just not complete, i.e. its close but not completely feature parity with docker as the runtime. When it does get there we will all be happy.

So I should have been more clear, you can specify rkt today, but many things wont work, a lot of things have improved for the upcoming 1.2 k8s release but still not perfect. hence what I meant by "released", something that is can be viewed as a complete replacement for the docker runtime.

comment 10y ago · link · parent

more like, "you will be able to", its not released yet. but lots of active work.

comment 10y ago · link · parent

This goes to the debates that have been had about GPLd libraries. where the dynamic linking happens on the user's machine. Might relate to Oracle v. Google and copyrighting interfaces.

comment 11y ago · link · parent

See CellRox (http://www.cellrox.com/) they created a phone w/ separate numbers and virtualization enforced separation with easy switching between the two environments.

comment 11y ago · link · parent

just an fyi:

tor didn't simply "get funds" from the navy. It was invented at the Naval Research Lab. As explained to me at the time, they were trying to generalize the principles of mixmaster remailers to internet routing.

comment 11y ago · link · parent

He gave a newer version of this talk yesterday at Velocity NYC

comment 11y ago · link · parent

why not just provide their mobile app the ability to submit things directly?

Just need a basic scriptable browser interface (i.e. a scriptable httpclient), this might change day to day (but no different if all server side). If one could just have a sufficient api (what to GET, what to post, what state needs to be saved, how to get user to enter captcha....) one should be able to keep the instructions updated on the server side and have it always be submitted from the phone.

1
3839404142