HNHacker News
TopNewBestAskShowJobs

dementis

65 karma · joined February 8, 2016

submissionscomments
dementis··on Following the Unix philosophy without getting left-pad (2021)
The article seems to miss a very important factor of the Unix philosophy and that is "Make every program a filter" which means you also have to "Write programs to work together". Having a program that can do one thing well without left-pad is a worthwhile endeavor but if you can't leverage it for more than its original intended purpose has it truly reached its full potential?
dementis··on The Deadliest Road in America
Deadliest road for pedestrians(in the US).

This vid has a good take on the problem of car dependent city designs that is very predominant in the US and Canada.

Why City Design is Important (and Why I Hate Houston) https://www.youtube.com/watch?v=uxykI30fS54

dementis··on Obstacles Keeping Fintech Developers from Accessing Production Environments
I've worked in Fintech where entire dev teams had full access to production and it was a huge headache to deal with. Instead of fixing problems in Test and Pre-production environments everything was done in Production. Some environments didn't even have non-production environments and all maintenance and testing was done during the hours the stock market were closed for that environment. You were basically expected to show up two or three hours before the stock market opened and then work well into the night every day.

I much prefer working in environments where only a handful of devs that are truly good at troubleshooting have full access to the Production environments for the purpose of break/fix resolution of production outages.

And to avoid the headache and drama of devs thinking they are not rock stars who can do everything under the sun, it's normally best for those troubleshooters to be on completely different teams.

dementis··on Ask HN: How wise would it be to demo VR to an 8 year old?
"Forbidden fruit tastes the sweetest"

I think the better question is how do you turn your child's curiosity about VR into a positive learning moment and foster their creativity at the same time.

https://www.linkedin.com/pulse/5-ways-kill-kids-curiosity-me...

dementis··on Ask HN: Camera off during most of the meetings?
I keep the background of what the camera can see "sanitized" so to speak. I don't go for full on Hollywood "Programmers desk" but I make sure a prospective employer or client doesn't get any strange ideals about my personality or any of the "Taboos"(IE, politics(if your dealing with an American that includes firearms), religious views, relationship status, medical, etc) that you really shouldn't talk about at work much less bring up during a first meeting. I only do this because some people have a hard time separating work and personal life and project that problem onto others.
dementis··on Ask HN: Is DNS record squatting a thing?
First step should be to contact DigitalOcean support and they should help you sort this out ASAP. If they don't then update your DNS registrar to someone else entirely.

I had a job almost 20 years ago at a dedicated web hosting company and it was almost a daily occurrence for someone to try to utilize an IP address or domain that they didn't own. Some of the more bold ones would even try to use social engineering to get someone on a support team(usually over the phone but not always) to create sub-domain entries for domains they didn't own or even change A records to CNAME to redirect the entire domain to some fraudulent website. The company had control over a Class A and multiple Class B IP ranges and it was also very common for existing customers to try to "borrow"(to avoid being charged for it) the use of additional public facing IP addresses that were not actively in use at the time.

dementis··on Save London's Gas Lamps: Campaign Grows to Keep Our Heritage Glowing
The replacement of Gas Lamps has been going on for a long time now.

There is a book that was written by H. V. Morton called "Ghosts Of London"(published in 1939) that mentioned the gas lamps being replaced.

This article is from 2014 and mentions both that book and the fact that there was still 1500 gas lamps in London. https://www.dailymail.co.uk/news/article-2848038/The-magical...

dementis··on Ask HN: Camera off during most of the meetings?
I've worked remotely for Australian, UK and USA based companies(spanning about 15 years) and the camera on or off has been highly dependent on the individual teams and managers involved. That even includes 1 on 1s meetings; the first few generally have the camera on and then after that it seemed more based on if I took the initiative to turn my camera on first.

Even when it comes to job interviews, I've had a large number of them that didn't even set up a video conference call until the 2nd or 3rd round. Some jobs(particularly contract/consultant) only required phone interviews and my first video call was during a team introduction.

While not having to worry about turning a camera on is nice in some respects, I personally found that the companies that had the cameras on more often than not seemed to have a more pronounced company culture and more engagement between managers and employees. It doesn't however seem to affect the amount of work getting done or the inter-team cooperation but having the camera predominantly off does seem to require people that can handle social isolation better.

Humans are fundamentally social creatures so using a camera while working fully remote can really help some people on a psychological level not feel socially isolated from others.

https://publichealth.tulane.edu/blog/effects-of-social-isola...

dementis··on CUNY Graduates with Tech Degrees Struggle to Land Tech Jobs
At the end of the day CUNY is just another community college albeit with a large number campuses(25). Why does the article make it seem like CUNY should be held responsible for making sure the people who graduate with an undergraduate degree from them can land a job in their chosen career field regardless of prior work experience, much less a job specifically in the extremely competitive job market of NYC? Companies in NYC can pull from a global pool of talent so how are undergraduates from a community college supposed to be competitive with people with PHDs from foreign countries that are willing to work extremely cheaply just to get into the US?

I personally waited until I had enough experience in tech for companies to start inviting me to work in NYC before I gave it a try(happened to have co-workers from Chandigarh and Hyderabad although one was a UK citizen) and it's not an experience I would repeat. Personally I think working in NYC is a lot like Alaska in that it can be an extreme environment and I think people need to experience it at least once to truly appreciate not working in extreme environments.

dementis··on Ask HN: Reliable source of information for PC builders?
I usually like to start my own custom builds by looking at what is available from businesses that are specialized in selling custom PC builds and have been in business for years/decades(IE CyberPowerPC, Digital Storm, Falcon Northwest, PowerSpec PC(MicroCenter store brand) or Puget Systems) to see what is commercially available that would fit my needs. Then I start pricing out similar builds to see if it makes sense to build my own PC or not depending on what the individual components would cost me vs just buying a commercially available PC. Recently with the supply chain issues just finding the parts has been a challenge so that also needs to be factored into the equation too. Because of the supply chain issues and 3rd party resellers scalping hardware like crazy, sometimes it makes sense financially to just buy a prebuilt system just to get some components at a reasonable price(especially if you're willing to go through the hassle and time to sell the parts you don't need).

If I decide to build my own PC then I start looking up specifications and reviews on individual components. It takes a lot of time but you can eventually find some good YouTube vids or a forum post normally of someone doing an in-depth review of just about everything nowadays. I also don't buy 1st gen bleeding edge releases of any hardware product because I have been burned too many times over the years and it helps save a ton of cash.

dementis··on Ask HN: How can a senior software engineer shift to low-level job
Engage in "Social Networking". Specifically, leverage those side projects and the people involved with them to help you find the kind of job you are looking for. Best of luck with your endeavors, shifting your career focus is always challenging.
dementis··on Lesser-Known Options of Well-Known Unix/Linux Commands
This is where reading both the "man" pages and the "info" page on a command really pays dividends. I would also recommend going back and revisiting the man pages for a command after every major OS update as new features sometimes get added.

For example on the df command there is a "-P --portability" option to have the output format changed to be POSIX compatible which isn't very helpful by itself. But if you look at what command options does with "info df" then it paints a more complete picture. I use that command option for bash scripting since it forces all the output to be on a single line and makes some things easier.

‘-P’ ‘--portability’ Use the POSIX output format. This is like the default format except for the following:

       1. The information about each file system is always printed on
          exactly one line; a mount device is never put on a line by
          itself.  This means that if the mount device name is more than
          20 characters long (e.g., for some network mounts), the
          columns are misaligned.

       2. The labels in the header output line are changed to conform to
          POSIX.

       3. The default block size and output format are unaffected by the
          ‘DF_BLOCK_SIZE’, ‘BLOCK_SIZE’ and ‘BLOCKSIZE’ environment
          variables.  However, the default block size is still affected
          by ‘POSIXLY_CORRECT’: it is 512 if ‘POSIXLY_CORRECT’ is set,
          1024 otherwise.  *Note Block size::.
Another favorite which I don't see getting used a lot(and isn't available on older systems) is "du --apparent-size" which calculates the disk usage with any sparse files fully expanded. Which is a niche use case but does come in handy to know.
dementis··on Axiom: Just-in-time dynamic infra for offensive security operations
The article mentions that their utility can be installed using this: bash <(curl -s https://raw.githubusercontent.com/pry0cc/axiom/master/intera...)

This is the Github page for the source code. https://github.com/pry0cc/axiom/blob/master/interact/axiom-c...

They also recommend only installing it in an "VPS environment"(Virtual Private Serer) because it overwrites your .bashrc or .zshrc files depending on your preferred Shell.

dementis··on School's new policy bans parents from walking children to school
The school sign in the article mentions it was donated by Gullo Dealerships. That's owned by Tony Gullo and he has car dealerships in Texas and Louisiana. Tony Gullo also just happens to live in Magnolia and is active in the local Rotary club.

As someone who used to walk to elementary school and later enjoyed riding a bicycle to school, the mere concept of being told you have to take a bus or get dropped off in a car is very baffling to me.

dementis··on Ask HN: Is it wrong to release an app with assertions everywhere in the code?
Consider the end user experience; would you want to use an app that crashes? Poor performance can be forgiven(especially if the end user doesn't have anything to compare against) but an unstable app will automatically be worse than any other alternatives. I would recommend troubleshooting to find out why code assertions are causing a crash because to me that's an indicator of a larger problem.

Open communication can also help manage the end user expectations. I personally like and have been inspired by the Dev blogs for the game Factorio. For example here is a blog post from them about their new(at the time) Crash log uploading feature that some people weirdly didn't like. https://www.factorio.com/blog/post/fff-231

dementis··on Electric cars reach 18% of new car sales in California compared to 6% in the US
California is currently having power outages with no severe weather and rather mild temperature today. Electric vehicles make a lot of sense for driving in cities but how are they planning on providing the power for EVs without building a lot more power generation than they currently seem willing to do? https://poweroutage.us/area/state/california

I've seen conflicting reports on California's ability to generate enough electricity to sustain the rising demand for EVs and so far it seems the politicians are just wanting to push that problem off until it becomes an unsustainable emergency.

https://www.kpbs.org/news/environment/2022/09/19/california-...

https://reason.com/2022/09/09/california-demands-evs-but-can...

dementis··on TikTok in danger of being major vector of election misinformation
There is an old Chinese phrase "Kàn dào zǔguó zhème liúmáng, wǒ jiù fàngxīnle" that if you research would help you understand why China doesn't have any qualms about manipulating foreigners.
dementis··on I designed an open source ergonomic wireless keyboard over the course of 2 years
I like the low profile design but have you considered just splitting the two halves and connecting them via a cable like Kinesis does for their Freestyle2 keyboard?
dementis··on New finding may explain heat loss in fusion reactors
>A long-standing discrepancy between predictions and observed results in test reactors has been called “the great unsolved problem” in understanding the turbulence that leads to a loss of heat in fusion reactors

>In a result so surprising that the researchers themselves found it hard to believe their own results at first, it turns out that interactions between turbulence at the tiniest scale, that of electrons, and turbulence at a scale 60 times larger, that of ions, can account for the mysterious mismatch between theory and experimental results.

So basically they forgot the fact that a single pebble thrown into a pond causes ripples; or that a candle can light a room? Sounds like they forgot to apply the KISS principle and over complicated things a bit; which I can safely say, I probable do at least once a day.

dementis··on The Clinton System
What I would like to know, is if Clinton is hoping that the FBI investigation into her will not result in an indictment before she gets elected(lets just assume she is enough of a narcissist to believe her election is fait accompli), so she can pardon herself of the crimes she might later be formally charged with? Because technically there would be nothing stopping her from trying to do it.

"The right to pardon is an authority given to the President of the United States (POTUS) by the US Constitution in Article II, Section 2. This section specifically reads that the POTUS “shall have power to grant reprieves and pardons for offenses against the United States, except in cases of impeachment.” Essentially, the only way presidential pardon is restricted by the constitution is under the circumstance of the sitting president being impeached. Self-pardon is not restricted by law, and under interpretation by the Supreme Court, a president could have the right to pardon himself not only for crimes he has committed, but also for crimes with which he has not yet been charged"

http://www.wisegeek.com/does-the-us-president-have-the-right...

And based on the mess around David Petraeus(retired CIA director) and his pleading guilty to mishandling of classified material some 3 or 4 years after the fact; the election could very well be over before any formal charges are made.

Personally I feel like all of the US presidential elections come down to a choice which one possibility I dislike the least. Right now there is a lot of bad choices from my point of view; Bernie is a socialist, Clinton is under FBI investigation and shouldn't be running until that cleared up, Trump just wants to add to his "legacy" and probable make a bundle of money, Cruz is as far right as Bernie is to the left and extremist of any kind are a bad thing.

dementis··on How Would You Do on the New SAT?
The US education system isn't as good as Russia's(source: http://thelearningcurve.pearson.com/index/index-ranking) and its only going to get worse with the lowering of standards due to "common core"; just take a look at some actual questions on a common core test http://www.nationalreview.com/article/373840/ten-dumbest-com....

There is multiple articles from various view points on the fact that education in the US is declining.

"American students are continuously proving to know less in subjects like history." "A 2010 study by the National Assessment of Educational Progress (NAEP) showed the U.S. history testing scores are "stagnant," with only 9 percent of fourth graders correctly identifying a photograph of Abraham Lincoln and stating two reasons for his importance."(Source: http://www.huffingtonpost.com/2013/01/11/public-education-10...)

"The United States invests more in K-12 public education than many other developed countries, yet U.S. students remain poorly prepared to compete with global peers."(Source: http://www.forbes.com/sites/jamesmarshallcrotty/2012/03/26/7...)

"There’s a delightful and true saying, often attributed to Joseph Sobran, that in a hundred years, we’ve gone from teaching Latin and Greek in high school to teaching remedial English in college." (Source: http://www.thefederalistpapers.org/education-2/middle-school...)

dementis··on How Would You Do on the New SAT?
Being rich or poor has no bearing on someones ability to score highly on any standardized test. Its entirely about motivation which can be somewhat externally supplied by many factors such as parents, teachers or their peers; or it can be supplied by the person who is going to be taking the test.

In the US many public libraries having computers that are available for use by anyone and are often open till 8 or 9 at night(and many schools also allow students access to computers during their "free/study" period(s)). And with the Labor laws restricting the hours a minor can work on a school day; only situations at home that require their presence would prevent a self-motivated "poor" student from studying for this test.

Now how a "poor" student would be able to afford to take this test much less the crazy expensive colleges/universities in the US is an entirely different matter.

dementis··on How Would You Do on the New SAT?
That looks like it could have come right out of a math book; and having it structured in such a manner makes the difficulty of the problem much lower for any one with some English reading comprehension problems. In fact its so simply stated that Wolfram Alpha has no problem with solving for x.

https://www.wolframalpha.com/input/?i=836.50+%3D+6.5+*+x+%2B...

Wolfram Alpha is awesome as long as you know how to properly define the question, and when it comes to "word" problems that is 90% of the work. So this new version of the SAT just makes me think they want to make it more challenging for people who have reading comprehension problems. And the test being in English doesn't do one bit to help with that; case in point all of the discussion here about how the questions could be interpreted.

dementis··on Why are there so few women programmers in the software industry? (2015)
The premise of this article and many like are based on flawed data. They only take into account the people with actual CS related degrees working in the industry. When in reality you have people with everything from English Lit. to psychology, to no degrees at all.

A more interesting study to me would be why so many "programers" seem to exhibit traits commonly associated with OCD or Asperger syndrome(some times both). Wired even called it "Geek syndrome" http://www.wired.com/2001/12/aspergers/

← PreviousPage 2 of 2