2,757 karma · joined Dec 2, 2013 (12y ago) · 829 submissions
comment 7y ago · link · parent
> A Facebook spokesperson also told Gizmodo that a screenshot of the original opt-in prompt was not available.
I'm not a conspiracy theorist but if you're trying to claim you cannot capture a screenshot from any release meant to be shipped out, either you're crap at release management or are full of shit. Which one is it?
Also, even if we were to suspend logic and belive this was a bug, what's FB doing to correct it? Are they deleting all uploaded contacts and going to request for consent again?
FB is a cesspit. Get out of the company if you work there and get out of the platform in any case.
comment 7y ago · link · parent
Generated a few comments but not many. I put in by thoughts on why code reviews are so much more better at gauging expertise. I have since adopted that and found that it led to much more productive interviews. Even candidates that do not make it thru' appreciate the fact that they were treated as peers rather than being 'questioned'.
I'd like to also add something else that I've adopted -- the solve-at-home question, if we do go with one, is never just a lazy spec. document. It is an unfinished bit of code with tests etc. This way the candidate is not intimidated/overwhelmed/have analysis-paralysis and it feels more natural. Again, insights from submission to those are better than from-scratch assignments IMO.
comment 7y ago · link · parent
Mods, please update or flag as dup if it is so
275.
540M Facebook User Records Exposed Online,Plus Passwords,Comments, & More(gizmodo.com ↗)
1 points · by devnonymous · 7y ago · 1 comment
comment 7y ago · link · parent
OK, I grant you that the words Socialist made it into the constitution later, but Nehru (and the post independence polity in general) had socialist leanings since well before Independence[1]
In the context of my assertion about Indo-US relationship, it is only semantics of whether India was born Socialist or not.
> I think you could easily have add examples to support your claim rather than making statements
https://en.m.wikipedia.org/wiki/Annexation_of_Goa
https://en.m.wikipedia.org/wiki/Annexation_of_Dadra_and_Naga...
https://en.wikipedia.org/wiki/Kingdom_of_Sikkim#Annexation_b...
.. And this is not even a list of the princely states that were ^liberated^ soon after independence.
Like I said earlier, this sort of aggression wasn't like colonial aggression but it was aggression nonetheless.
comment 7y ago · link · parent
Current India was born as the Socialist democratic Republic of India and had closer relations to the former USSR than the US, so naturally, the US aligned itself with Pakistan.
> Unless I am mistaken India was always a victim in aggression of its neighbors
You are mistaken. India has been an aggressor as much as a victim. Of course that's not to say the scale of aggression was like colonial powers but India is definitely not doodh-ka-dhula.
> If India put their sht (economy) together, toughened/equipped up their military I think this behavior would stop.
No. India needs to get its basics right -- Food, health care, education. The problem is /not/ the economy. If the so called 'educated' population of India actually made use of their education to participate in their democracy they would realize that economically speaking, India is not in a terribly bad state, however, the standard of life is sht as you put it, because very less focus has been put on the basics.
In the history of the world there hasn't been any single successful empire or country which got to where it was while ignoring the health, nutrition and education of its people.
comment 7y ago · link · parent
When I execute rm I mean to delete. When I'm not sure I expyre[1] the path: https://github.com/lonetwin/expyre
[1] shameless plug -- but you did ask ;-)
comment 7y ago · link · parent
In seriousness tho, if you're ever wondering why such and such thing is not builtin into the kernel read up on separation of policy and mechanism eg:
https://en.m.wikipedia.org/wiki/Separation_of_mechanism_and_...
comment 7y ago · link · parent
Having a different focus than fedora, in fact, one could say almost radically different[1] hasn't stopped Redhat from contributing people, hardware and support to fedora -- leaving the volunteers to focus on contributions -- be it by code or as you point out documentation.
Help with 'administrative' or grunt-work tasks goes a long way in large OSS projects and Ubuntu/Cannonical simply haven't stepped up where they should have.
[1] for business vs for developers, cutting edge vs stability, ..etc
comment 7y ago · link · parent
https://news.ycombinator.com/item?id=19353816
> While this is sad and painful to read, I can't say I'm surprised.
>
> The problems listed are precisely the kind of problems that Redhat
> strategically supports fedora with, in terms of investment of resources.
> For all the hate Redhat receives it has consistently been a good
> community member by being willing to help fedora in areas that it knows
> are hard and yet not 'cool' enough to attract volunteer contributions.
>
> What has Ubuntu done for the debian community along the same lines?
To further contrast this difference, here's what Redhat does for fedora and OSS in general:https://fedoraproject.org/wiki/Red_Hat_contributions
https://getfedora.org/sponsors
versus:
https://db.debian.org/machines.cgi
https://www.debian.org/partners/
https://www.debian.org/mirror/sponsors
Of course, that doesn't stop 'em from throwing in lip-service:
comment 7y ago · link · parent
The problems listed are precisely the kind of problems that Redhat strategically supports fedora with, in terms of investment of resources. For all the hate Redhat receives it has consistently been a good community member by being willing to help fedora in areas that it knows are hard and yet not 'cool' enough to attract volunteer contributions.
What has Ubuntu done for the debian community along the same lines?
comment 7y ago · link · parent
> When the right side of the pipe ends, the shell kills the left side.
That's technically incorrect. The shell sends SIGPIPE to the subshell. SIGPIPE can be trapped/ignored (man trap) and although the default disposition is to kill the process that receives the signal, this might not be always true.
For instance, what do you suppose would happen with this:
(x=42; echo $x 1>&2 ) | echo blue
versus: (trap '' PIPE; x=42; echo $x 1>&2 ) | echo blue
in a loop ?comment 7y ago · link · parent
Peter's post on lobste.rs (https://lobste.rs/s/mb14bg/what_should_be_output_this_comman... ) is far more comprehensive and clear imo, than any of the other explanations (including mine), but the idea is essentially the same.
* There is no blocking on buffers involved. The 2 ends of the pipe are simultaneously run. One in a subshell and one in the current shell.
* If the one in the current shell (right side of the pipe) is executed and finished first, blue is sent to the stderr (ie: the console), a SIGPIPE is sent to the subshell process (thus ensuring red is never printed) but if SIGPIPE is ack'd after echo green is sent to the stderr, you also see green, else you see only blue
* If the one in the subshell is executed first then red is sent to the stdout of the subshell (which is the pipe, but nobody is reading the pipe, so it just lies in there and eventually is lost, since the other end of the pipe will eventually be closed without any read()), green is sent to the stderr and then blue.
I feel you believe there subshell process is blocked because nothing is reading from the other side. This is incorrect. The pipe buffer will be written to until the "pipe size" (try ulimit -a or ulimit -p). The write end will not be blocked until then.
Some reading:
https://www.gnu.org/software/bash/manual/html_node/Command-Grouping.html#Command-Grouping
https://www.gnu.org/software/bash/manual/html_node/Command-Execution-Environment.html#Command-Execution-Environment
http://man7.org/linux/man-pages/man7/pipe.7.html (see I/O on pipes)comment 7y ago · link · parent
Why do you expect that ? What ought to prevent the execution of the echo in the subshell in front of the pipe ?
> It seems to be some race condition that happens in the handling of the pipeline.
What exactly is the pipeline achieving in your opinion ?
comment 7y ago · link · parent
Secondly, if I'm not mistaken the behavior doesn't have anything to do with the pipe. It is the scheduling of the subshell (created by () ) which might explain what you're seeing. IOW, when you create the pipeline you are executing "echo blue" in the same shell and "(echo red; echo green)" in a different (child) shell. Execution of these are independent. Since "echo blue" doesn't have to wait for I/O on the pipeline, it runs and exits.
Thirdly, your 1>&2 is perhaps misplaced, ie: if you were expecting red also to be printed you probably want (echo red; echo green) 1>&2 ...
Fourtly, by 1>&2 you are redirecting stdout to stderrr, which in a pipeline implies whatever is received first goes to the parent shell's stderr not to the pipeline (if that was your intention).
IOW, the entire this is the same as executing
/bin/bash -c "echo red; echo green >& 2" >/dev/null ; echo blue
I'd expect the result to be no different
[1] I am aware that bash has echo as a builtin, as opposed to /bin/echo -- which would results in an exec(3), possibly other shells do as well.
comment 7y ago · link · parent
Do you seriously think non-whitespace separated structured records is a novel idea which the simpler times of Unix didn't have to deal with? Have you looked at the passwd file? /rant
291.
The Tragedy of systemd(youtube.com ↗)
10 points · by devnonymous · 7y ago · discuss
comment 7y ago · link · parent
I don't think that the parent disagreed with that. The point, as I understood it, was that this beta stage improvement was marketed as being ready. IOW, if pipenv was not Kenneth's project, it likely would have evolved in, to use your phrase, a straighter line.
comment 8y ago · link · parent
A lot of people often confuse FOSS users and users of proprietary software. The difference is that FOSS users (for example users who do install linux, even on a Mac) typically feel more comfortable with the 'idea' that they or anyone else can look under the hook and tinker, if it comes to it and bothers them sufficiently. This is the primary reason why proprietary software is unappealing to them. Users of proprietary software don't value the freedom to look under the hood and tinker as much. Personally speaking, I won't judge people choosing one or the other.
However, arguments such as OSS makes "life a lot easier for a bad actor to pick it apart." or "..if you only have a handful of contributors, mistakes may not be caught." or "there is nothing to stop someone from forking it and selling it for less /offering it for free." is just disingenuous.
> bad actor
Unless your software is crazy popular and there is cred to be earned in the black hat community, people who go around looking for exploits in OSS typically would not be bad actors. In fact, a proprietary tool that run /on top of/ an OSS platform would be a much more appealing target for bad actors than an open source one -- because hey, finding a way to use 'paid-for' software for free is far more appealing than finding a way to reverse engineer some random binary custom format used to store addressbooks.
> mistakes may not be caught ...
total(mistakes caught by in house team) <= total(mistakes caught by in house team + 1 contributor) why is this hard to understand ?
> nothing to stop someone from forking it ...for free
Firstly - Licensing. Learn about it. Secondly, search for forks that are more popular than the upstream. I'm sure you might find a few (although I am also sure you won't find many). Understand why they are more popular (hint: will have nothing to do with code).
And finally, (most importantly) if you still feel that access to code is the only thing that will stop competitors from copying you and then beating you on price -- well, think hard about your future business strategy.
294.
NPM module adds Git hooks destructively(twitter.com ↗)
2 points · by devnonymous · 8y ago · discuss
comment 8y ago · link · parent
comment 8y ago · link · parent
I am in Indian. I've lived and worked for 2+ years each in Singapore, Germany and now in Ireland. So I know a bit about moving countries and the associated pros and cons.
I would highly recommend considering Ireland, Australia, New zealand if you are looking for English speaking countries with a good standard of life (in fact better, if you factor in health, social services and kids education) vis-a-vis cost of living.
If you are adventurous you might also consider places like Singapore or Malta or Dubai ...all of which have a good tech scene.
Don't get hugh up on 'keeping up with technological advancements' and ageism. Ageism is, in my (most likely biased) opinion a US tech industry specific thing (I am 40 and have not yet felt that's a disadvantage). As far as tech stacks go, keeping up with them can be done anywhere and you don't necessarily /have/ to work on the latest and greatest in a professional environment all the time. As you age, you'd realize the actual rate of advancement in tech, in real innovation terms, is pretty darn slow.
HTH