News for hackers. Stuff that matters.

throwme211345

A field of butterflies in the cow pasture feeding on manure. Pure joy. Rarely seen now, more the lone floater on the wind.
Re:Why Ruby App Servers Break on MacOS High Sierra on Friday October 20, 2017 @10:29AM (#15516041)
As you say except I explicitly noted '..type approaches' and '..semantics'. If a library designer does things in a way that makes you doubtful of state then don't fork. If you do fork block signals and exec. It doesn't help the race but it does help your peace of mind (i did what i could).

Apple still sucks BTW. Heavy handed nonsense. Let developers deal with the consequences of their actions.

Re:Why Ruby App Servers Break on MacOS High Sierra on Thursday October 19, 2017 @09:07AM (#15507511)
What you don't like the fact that apple sucks for breaking userspace (as usual) or that pthread_atfork() type approaches should be in every programmers toolbox?
Re:Why Ruby App Servers Break on MacOS High Sierra on Thursday October 19, 2017 @08:42AM (#15507362)
fork() is not gets and you don't f*ck with process creation. If a programmer commits an error that deadlocks or corrupts data by using fork() unsafely they really should have known what they were doing in the first place.
Re:Why Ruby App Servers Break on MacOS High Sierra on Thursday October 19, 2017 @08:29AM (#15507283)
LOL. mac osx breaks fork() to avoid state inconsistency in threaded applications. How about pthread_atfork() semantics? But ,as usual, apple heavy hands userspace and breaks things. Nothing new to see here, move on.
Re:Falling through the KRACKs on Tuesday October 17, 2017 @08:41AM (#15490408)
Data structures and ADTs are the key in general.
Re:Falling through the KRACKs on Tuesday October 17, 2017 @08:35AM (#15490386)
pseudocode and application logic is absolutely necessary. Visualization is cumbersome and unnecessary except in large codebases.
30 arc second permutation on a TC forecast track as it impacts multiple points of interest across multiple impact models. Heavily parallel amenable and in RT not an async endeavor.

Not giving you more 'hints'. You webdevs are kind of dull anyway. I/O this and I/O that and you'll accept untrusted input until the sec industry all drive ferraris on your mistakes.

Hrmmm. I've avoided two by knowing the stop was coming and watching the rear view -> move to shoulder.
Yes, but that is avoided by years of experience and pattern learning, something AI should be able to figure out quickly.
Re:Reflections of a Lifelong Metalhead on Saturday October 14, 2017 @09:06PM (#15475274)
90s: Blind Guardian, made up for the death metal and thrash crap.
Amen.
I see your design is lacking and your fud quotient is high. Good on you!
All the time. Web development is a sad excuse for experience in HPC environments. But node guys always think I/O processing in an event loop must work for everything!!!!

With that approach we can go back to the happy openmpi/mpich days and take the gargantuan performance hit that ended MPI clustering for any serious real time scientific processing.

Disagree. Threaded programming is not that difficult. Design matters. If you are trying to back fit threads into legacy code that has a traditional process based model with massively shared data structures it can be a little ugly.

Most peoples problems come with being over clever with their per thread data/stack, priorities, affinities, attributes, etc..a simple threaded program with a couple of locks for shared data and a flat schedule is efficient and easy to understand on multi-core systems.

Event loops and aio are nice but they are not a superior standalone solution as evidenced by nodes use of libuv.

Re:IP Accounting and Access Lists with Systemd on Wednesday October 11, 2017 @12:10PM (#15450835)
Lennart: you are a well paid tool and your designs and causes are not the causes of those of the prior generation of *nix users. When you understand that you will stop winking at us and understand that people will always be unhappy with your aggregations and the power that abets that aggregation. In the meantime we who can will look elsewhere and adopt and improve the model we understand and love because it is not broken and not improved by another design.
Re:IP Accounting and Access Lists with Systemd on Wednesday October 11, 2017 @12:01PM (#15450778)
Fuck this. freebsd is now the way forward. Linux has been compromised and in a way that is understandable to anyone conversant with the design philosophy of the underlying userspace tools.
Re:Times I've Messed Up as a Developer on Wednesday October 11, 2017 @11:42AM (#15450638)
Yeah, this is common. Don't modify firewall rules, fuck with interface settings and addressing without another way in.
Re:Times I've Messed Up as a Developer on Wednesday October 11, 2017 @11:40AM (#15450615)
Oh fuck moment.
Re:Times I've Messed Up as a Developer on Wednesday October 11, 2017 @11:38AM (#15450595)
I once deleted the entire contents of /bin and /sbin on an HPUX box ~2004 with the HPUX servers origin circa 1996. Live ssh session: non-standard location. scp from a convenient near-replica and voila. Without the near-peer I would have quit and never went back to IT.
Re:Why I have no favorite programming language on Wednesday October 11, 2017 @11:27AM (#15450519)
Interesting. I also start in bash. I then move to sed|awk|bash (extremely powerful). Then I move to TCL or Python. Then I move to swig libraries for either language. Maybe C or intel asm if I miscalculate the problem. But I sometimes move to C first if speed is the issue and I have reusable code for the problem available.
Re:Why I have no favorite programming language on Wednesday October 11, 2017 @11:19AM (#15450451)
Garbage feedback from a prima-donna. Yay: I can't code in your crap because it's 2017 bro. Twitwit nonsense.
Re:Simple note taking from the command line on Tuesday October 03, 2017 @09:46AM (#15392357)
man script.
Re:Behind the Masq: Yet More DNS and DHCP Vulnerabilities on Tuesday October 03, 2017 @09:40AM (#15392301)
"We" is inclusive - 'most developers' is exclusive. Mystery solved.
Re:The Curious Case of the Longevity of C on Tuesday October 03, 2017 @09:34AM (#15392259)
Why would someone do that?
Re:The Curious Case of the Longevity of C on Tuesday October 03, 2017 @09:23AM (#15392193)
Rust is the ugliest, least palatable, alternative to C for me. Seems like they said "Let's chain function calls together like java(script) as the preferred expression and throw in lispy looking declarations and logic constructs. When people get frustrated with our safety paradigm there will always be unsafe..for experts."
Re:The Curious Case of the Longevity of C on Tuesday October 03, 2017 @09:03AM (#15392084)
I love you man.
Re:Behind the Masq: Yet More DNS and DHCP Vulnerabilities on Tuesday October 03, 2017 @08:55AM (#15392043)
But we do know how to write secure C. It's just time consuming and requires discipline. Two things that most developers don't have or want.
Re:Paying top employees the highest salaries in the market on Wednesday September 27, 2017 @09:24AM (#15347538)
You like to characterize as vague (or worse) what can be reasonably inferred or researched and have a knack for constructing positions by pleading ignorance: which makes it simpler when creating straw men and redirecting|reducing conversation scope.

You sound naive and well meaning but I think that is artifice. Your comments reflect the essentially reactive nature of the PC movement (to me) which is to reject what you find distasteful and inject whatever you believe in (edit: with no real historical consciousness).

Do you believe that experienced white men should be displaced (by default) by persons of color or women in a profession because of skill equivalency? Is there a ratio for that displacement? Is it based on merit or is it based on something else?

Re:Paying top employees the highest salaries in the market on Tuesday September 26, 2017 @11:19AM (#15339406)
You didn't tackle any of the real criticism in my message.

You remark on a discrete symptom (which is a precursor) and you affirm it's essential importance to your life without any historical consciousness. And that is my basic gripe with PC culture: sensitivity to every little thing that you feel hurts you or impairs you or makes you feel included. Hell is other people, get over yourselves.

Older »