News for hackers. Stuff that matters.

jankedeen

Re:Linux Namespaces and Go Don't Mix on Monday June 05, 2017 @01:10PM (#14489263)
It will. No program is perfect.

Rust and Go advocates will have you think that they have conquered security via the memory mgmt and API front but there is still the off chance they haven't..or that the SA (what is left of that maligned profession outside playbooks and the devops marketing you read here and online) has allowed you a chance for glory.

Re:Linux Namespaces and Go Don't Mix on Monday June 05, 2017 @01:01PM (#14489172)
There are basically two rules to a well written C program (if I am now allowed to speak despite the public outcry).

1. Do not trust user input. This is a cardinal rule in whatever source. If the rule were followed vigorously in every case there would be 90% less exposure. When you take user input, filter. 2. Learn the standard and stick to it.

Finally #3 (unix) Write an application to do a certain thing well.

Re:Linux Namespaces and Go Don't Mix on Friday June 02, 2017 @06:56PM (#14473868)
Better C++ than Go or Rust. Antecedents and track record counts. Young people like the new thing. Go and Rust are capitalizing on that. Learn C. Take the time..it takes a couple years and some pain to learn it and then you will be amply rewarded. These languages (go|rust) are reactive and suffice for some purposes but they really kind of suck in every other possible way.
Re:Linux Namespaces and Go Don't Mix on Friday June 02, 2017 @06:51PM (#14473844)
What a clumsy, terrible, crappy workaround. Congrats.
Re:Linux Namespaces and Go Don't Mix on Friday June 02, 2017 @05:51PM (#14473577)
*...it's a total mess...theoretically it's possible....speculation on standard behavior based on platform behavior...namespace(x)<-threads->chosen implementation detail...functional language reference... -- Translation: Design is broken
Re:Linux Namespaces and Go Don't Mix on Friday June 02, 2017 @03:52PM (#14472837)
I read this crap in language design and despair. This is why C is my only recourse for systems programming in *nix environments.
How incredibly naive.
It's not that nobody is interested anymore. It is that the onus is on regular citizens to protect themselves. Once you have an understanding of the magnitude of the privacy problem and see what you would have to do to protect yourself you tend to tip your hat to the empowered opposition and industry partners and realize,in the venerable argot of our time: you lost the game.
War. These are the men who are missing out on the great civilized purge of useless, direction-less, education-less, baby dads. Not practicable anymore. There is no great enemy, the military services don't want these problem children.

Our direction is unsustainable but nobody likes this particular historical necessity.

This looks like a clusterf*ck.
Re:Network Performance Issues in multiple locations on Tuesday May 02, 2017 @12:03PM (#14247553)
External monitoring from AWS or a colo. Simple icmp checks and tcp connects + possible up to app layer checks allowed from these failsafes. Obfuscate as needed.
Re:Network Performance Issues in multiple locations on Tuesday May 02, 2017 @11:59AM (#14247500)
Don't know that they have more but most colos I've used are using akamai.
Re:Wacl: Tcl distro customized for WebAssembly on Tuesday May 02, 2017 @10:18AM (#14246508)
By the time you outgrow TCL you are a really good programmer. You choose and advocate appropriately.
Re:Suicide of an Uber engineer: Widow blames job stress on Wednesday April 26, 2017 @11:49AM (#14204029)
Medication is a problem unless you are sick. We all need confirmation and less pressure...are we sick because of that?
Re:Suicide of an Uber engineer: Widow blames job stress on Wednesday April 26, 2017 @11:43AM (#14203968)
TBH I did once and they were angry and rude.
Re:Suicide of an Uber engineer: Widow blames job stress on Wednesday April 26, 2017 @11:34AM (#14203859)
Cats are cool. They love you and hang out regardless. I've followed this pattern recently and realized that there is a balance that can be met in the middle. Do the easy stuff all and any of the time and do the hard stuff as little as possible. That way you can make the $$ and stay sane.

The trick there is to at least do the hard stuff some of the time so you stay up to date and ready for the next thing.

Re:Suicide of an Uber engineer: Widow blames job stress on Wednesday April 26, 2017 @10:16AM (#14203129)
Oh, yes. Strikes a chord. Work till you drop and not make any friends = disaster.
Re:Banks should let COBOL die on Wednesday April 26, 2017 @10:08AM (#14203063)
Lol. Genius. We see the converts and owners here take exception.
Re:Ask HN: How do you define DevOps and is it dead? on Tuesday April 25, 2017 @06:35PM (#14198790)
Not following on this. Something about value and unions and continuous delivery and process/products and other poop. Seems like someone wanted to whittle the overt jargon into incomprehensibility.
Re:Ask HN: How do you define DevOps and is it dead? on Tuesday April 25, 2017 @06:29PM (#14198737)
There is no 'self-healing' system. Nothing can detect a 'real' failure as opposed to a counterfeit failure without heuristics that depend on an interpretation that is inherently fallible.

Ops was about discipline and method. Restrict the problem set to known values. The one thing that I see these days is that developers don't have a fucking clue about ops but they do see that the basic task responsibility is toilsome, counter-creative and that 90% of it can be automated by reliance on coded procedures in write once argot that hopefully is editable and doesn't give up the family jewels when posted in pub github.

Re:Glob Matching Can Be Simple and Fast Too on Tuesday April 25, 2017 @06:10PM (#14198595)
How about the default sort? Ouch or no ouch?
Re:Ask HN: How did you acquire your first 100 users? on Tuesday April 25, 2017 @06:06PM (#14198549)
What is an app I wonder? Is it sort of a codeword for frontend embedded in logic impossible for the user to decipher with invisible sys hooks everywhere because the os is opaque to the user or is it something else?
You know, architecturally, at application level no one wants to deal with this but devs orchestrate nightmarish dependencies for deploys and hit 'endpoints' with aplomb in service architectures with only a playbook or data blueprint to follow. What's the point of fighting this?

Let the kids play.

Perfect storm.
Re:Notes on Lock Free Programming on Saturday March 18, 2017 @09:55AM (#13901237)
Last time I checked lock free meant no locks.
Re:Ask HN: Ever met a psychopathic CEO? on Saturday March 18, 2017 @08:20AM (#13900957)
I've met a couple who are purposefully overbearing and intolerant.
Re:Reverse Culture Shock on Thursday March 16, 2017 @03:39PM (#13888417)
It's time and space. Northern Virginia in 1978 and now. That's a mindf*ck.
Re:Kurzweil Claims That the Singularity Will Happen by 2029 on Thursday March 16, 2017 @03:29PM (#13888322)
That is sort of the Vingean 'mystery' take. If you enjoy his writing style and SF 'Marooned in Real Time' is worth a read.
Re:Kurzweil Claims That the Singularity Will Happen by 2029 on Thursday March 16, 2017 @03:23PM (#13888240)
Not a singularity but any cyber augmented memory interface would lend the appearance of genius until the inputs/outputs are all wrong. Then you have artificial alzheimers and dementia.
Re:Principles for C programming on Thursday March 16, 2017 @12:51PM (#13886552)
1. The only reason to use C these days _is_ performance and portability. Write the code to your level of expertise or use a different language to cater to the 'du jour' audience.

2. This was advice straight of Der lindens Deep C secrets back in the mid 90s. It wasn't always true then and it isn't always true now. I often use macros and don't find them a problem to understand in others code.

3. Give me a break. Except when you don't need to allocate and manage memory which is almost every time you write a tool that does one thing well. This is not a good general principle.

4. This is the way it works for me. Do it. Nope.

5. Ok, some of this is common sense writing portable code. 'GNU is a blight on this earth': "..now we see the violence inherent in the system.."

6. Yes, finally a good point but not about C per-se. 7. Ok, but this is not about C per-se. 8. Hrrmmm. A culture of blame is what produces restrictive rules like these.

This article is fodder for the Rust and other anti-c devotees here to glom onto and point out all the problems with the author and his language as the ultimate straw man. To me it sounds like this person wasn't writing C in the 90s.

Older »