Better HN
topnewbestaskshowjobs
Log inSign up

avg_dev

1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions

Submissions

comment 4y ago · link · parent

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

Wow.

comment 4y ago · link · parent

Maybe a brake on innovation is a good thing. Social understanding and effective legislation on technological advances lags adoption by quite a long period.

comment 4y ago · link · parent

https://www.theguardian.com/business/2013/apr/23/ap-tweet-ha...

comment 4y ago · link · parent

From the article I found this link: https://firewalltimes.com/twitter-data-breach-timeline/

I would argue that it really doesn't matter if Twitter is worse than most other companies, the problem is that none of these companies should be operating with such poor (non-existent) standards. Especially when they have as much data as Twitter. I personally "protect" my tweets so that others, like my employer, cannot see them. There are many more people with so much more sensitive information that are trusting in this system.

comment 4y ago · link · parent

I believe this is a good idea. I don't know a whole lot about law-making, but I know that a lot of ransomware cases could have been prevented by enforcing updates to various packages and operating systems.

Please note that I am not claiming that updates are a silver bullet. I am sure if someone managed to obtain credentials that allowed them to release an update for MS Windows, say, and that update installed a keylogger, it would be bad news.

But regular updates at the source code dependency, OS, firmware, networking hardware, device layers, mandatory code review, hardware FIDO/U2F tokens, training on best practices for handling data and for writing and reviewing secure code, use of modern encryption algorithms, encryption of sensitive data at rest, requirements to not store PII without a proven need, requirements to change default passwords (or even better yet - laws mandating non-default passwords at ship time), ongoing anti-phishing training, and the like will all help us stay safer. There are bad actors out there. We all make mistakes. Our industry is maturing at an altogether unacceptably slow rate, IMO - a lot of these techniques are well known in the industry, but they cost money and time to implement, and nobody seems to want to expend that effort until it's too damn late.

I am not a security expert. Just a developer who tries my best to pay attention.

comment 4y ago · link · parent

I think this is an important perspective and worth remembering.

One of the beautiful things about code and about tech is (used to be?) the leveling of the playing field down to simply ability. In my opinion, it should not matter whether a person is ugly, fat, skinny, fit, short, tall, old, young, gay, straight, nonbinary, trans, cis, what color their skin is from, etc., if they can get the work done and get along with their teammates.

I feel that we have lost something valuable in the remote working world when we demand that everyone turn on their video cameras at all time; we have lost the ability to appreciate people for solely for their ideas and their accomplishments and their aptitudes. We make it about the way they look, which has so many negative ramifications associated with it.

I'm not disabled beyond needing to wear glasses, but for more than a decade I had low self esteem and was unhappy with my appearance. I was ashamed of how I looked. I felt really bad about it. Today, I am quite happy to get on camera and as a tangent to whatever activity I'm doing show off my fitness. But I will never forget that I used to hate it, and it made me feel very uncomfortable. I believe that appearance and bias can reduce opportunity for those with the requisite ability.

comment 4y ago · link · parent

I understand that your task which maxes out at one hour has some value. I have written such tests as a candidate and some have been good. I have iterated on the development of such tests as an interviewer. I feel that they can offer a candidate an opportunity to demonstrate their abilities without a big investment of time.

But there still is the matter of that one hour. If I am applying to a job that has a hard limit on the amount of time that I can spend on that task, and I really want that job, you can bet that if I can figure out how to arrange my schedule so that I can spend more than an hour, and if I can figure out how to make it look like I spent no more than one hour, I will. And I believe there are those candidates who may not have the time to spend on unpaid work. It may be harder than it appears on the surface: There are quite likely other commitments in the candidate's life. There may be other interviews that the candidate is facing, each with its own technical requirements, some of which may requiring learning, study, or refreshing (as may your own). There may be other job application processes that the candidate is dealing with that also have one-hour pre-interview coding tasks.

There is also the fact that the candidate has to trust that you will evaluate them fairly. I believe that a published rubric can go a long way to alleviate this particular concern.

I'm not saying I have all the answers, as I know that I do not. But I believe that asking a candidate to take "one hour" of their lives for a simple coding task, unpaid, can sometimes cost more than is obvious.

If I can ask someone to solve a question (fizzbuzz, the find method in a binary search tree, ...) in real-time, I feel it is sometimes more respectful of the candidate's time. If the candidate has the time and the inclination to code a pre-interview task, by all means, it is a great method of assessment.

comment 4y ago · link · parent

This gave me a good chuckle.

comment 4y ago · link · parent

I believe this is reasonable advice but I believe it can be simplified even further.

Live-coding in an interview be it in a text editor (shitty or otherwise - those web based platforms can be really painful and slow to use when sharing a screen with zoom, e.g.) or on a whiteboard is a skill, and I’m not sure it is one that is worth optimizing for because I’m not sure that this particular skill really has much to do with day-to-day software development. I am sure it doesn’t hurt to be able to perform in a foreign environment with someone judging you over your shoulder but I hope dev work in general possesses as little of this type of work as possible.

But you can simplify the problem considerably and ask someone to solve a fairly easy problem in just about any live coding fashion. To wit: I learned Java in school, spent some time at a job using other languages, then interviewed for an intermediate software developer position. The hiring manager asked me to write fizzbuzz in Java. I had never heard of the fizz buzz problem and I hadn’t written Java in some time. Still, I was able to successfully solve the problem with a minimum of difficulty (though admittedly a maximum of nerves). He asked me a few questions about how to improve the solution, and I mumbled some stuff about combining string concatenation statements instead of simply appending to the string, something which made him nod his head sagely and that I still consider to be a largely useless micro-optimization, but the main thing, the important part, is that I demonstrated some coding ability in a matter of minutes, right in front of his eyes.

It’s something that sticks with me and I think it’s a valuable type of interview question.

I got the job.

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

comment 4y ago · link · parent

I did not notice that at all but in hindsight it seems obvious. I am a fan of a well crafted email. I find chat can be an excuse for half-baked thinking and I really appreciate it when people put care into their words.

comment 4y ago · link · parent

https://sfconservancy.org/blog/2022/jun/30/give-up-github-la...

comment 4y ago · link · parent

I've been working from home for most of the past 15 years, and I've worked at some companies that had remote-first development teams and some where development started in-the-office and then branched off into remote. I believe in the former there was more understanding of:

1. Providing useful context up-front

2. No "hello" message sent while waiting for further input to be typed in

3. More emphasis on written communication

4. Less of a need to jump on a video conference

5. Use of headsets for video conferences

In some of the latter cases, the "office-first teams" still had management working out of the office and I believe that remote employees are kind of second-class citizens in these cases, and I found it less enjoyable and less productive to be a remote dev in that sort of situation.

I believe also that headsets for video conferences allows for full-duplex conversations where one or more people can talk at once and be heard, but I've not seen anybody else talk about this and may be wrong.

comment 4y ago · link · parent

I am sorry, I could not parse your comment. Can you explain what it means in simple terms? Thanks.

comment 4y ago · link · parent

What’s more, I believe it is possible to release code with a closed license, permitting analysis without allowing derivative work.

Edit: IANAL but here’s a resource:

> You're under no obligation to choose a license. However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license. The Open Source Guide provides additional guidance on choosing the correct license for your project.

From https://docs.github.com/en/repositories/managing-your-reposi...

comment 4y ago · link · parent

> Is the Cosmopolitan Runtime lean and mean like Go's 2mb Hello World executables?

I laughed at this. I am a Go programmer, FWIW :)

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

comment 4y ago · link · parent

Sorry, I was asking about U2F as an alternative to TOTP and not a method of implementing such. If I’m not mistaken that was unclear on my part and you were led to interpret what I said a different way than I intended.

comment 4y ago · link · parent

Correct me if I’m wrong but U2F tokens are an antidote to TOTP seeds being leaked, right?

Edit: some reading: https://en.m.wikipedia.org/wiki/Universal_2nd_Factor I have the advantages and disadvantages section a read and I believe I got it right. The one major disadvantage I’ve read about is that there is no backup. At a place I worked, we registered two keys and kept one as a backup. It seemed to work okay.

Also this: https://www.yubico.com/blog/otp-vs-u2f-strong-to-stronger/

On OTP:

> The remaining issues, however, are phishing and man-in-the-middle attacks, the most infamous assaults that defeat OTP technology. The theory is quite simple: the hacker sets up a fake website designed to trick visitors into submitting their credentials. When a user falls into the trap and enters his information (user name, password, and even his one-time password), it is immediately intercepted by the hacker and used to access the victim’s account.

Later, on FIDO U2F:

> Real-time challenge-response schemes like U2F address OTP vulnerabilities such as phishing and various forms of man-in-the-middle attacks. As the legitimate server is issuing the challenge, if a rogue site or middle-man manipulates the flow, the server will detect an abnormality in the response and deny the transaction.

comment 4y ago · link · parent

I just got back from a trip to Costco and I got a fair bit of stuff. As a consumer I do feel like I can trust them.

A couple of tangents:

1. I have ordered things from the Costco website; one time it was a large TV that was cheaper there than anywhere else I could find it, most recently a couple of office chairs. Their web purchasing experience is similar to others I have used.

2. There seems to be some evidence that Costco may be perpetrating animal cruelty on a pretty big scale: https://www.washingtonpost.com/food/2022/06/23/costco-chicke...

comment 4y ago · link · parent

I irks me that this is a method that is resorted to in any field. I don’t like it at all. It’s a dubious practice at best. I am sure it has some advantages to a profit seeking seller, but it’s ethically pretty shitty in my opinion.

comment 4y ago · link · parent

Agreed. I thought the article was really interesting. I don’t know much about how the author got their data, it seems like it’s a Kaggle dataset and I’m not familiar with how that was procured, but the analysis was really fascinating to me. So was the tweet by the person who asked Zomato about the repeated separate instances using the same FSSAI license, which I looked up and here is the link: https://mobile.twitter.com/ManjoBun/status/15331133101066608... : definitely no public follow up by Zomato.

The line chart was great as well showing the huge number of listings for that one kitchen.

I don’t live in India and I wondered what FSSAI is, so I looked that up as well. It’s the Food Safety and Standards Authority of India: https://www.fssai.gov.in/

The author is performing a public service that I feel ought to be done by the authority in question in the first place. I hope the article gets lots of traction and serves as an example for food safety authorities worldwide to prevent this kind of trickery.

I’m leaning towards subscribing to the author’s newsletter; at the end of the article they mention that they were the ones who posted that recent fake IMDB credit article which I also saw on HN, and I’m looking forward to reading the article on the early Indian internet (https://peabee.substack.com/p/15-mafatlal-and-the-early-indi...). (I once had a chance to see Vint Cerf give a talk and while it was a while ago I remember enjoying it.)

Last note: I thought it was kind of funny how the author resorted to using Google maps photos of the kitchens. I thought it would be worth an excursion outside to get more recent photos and see them first hand, but maybe the author has mobility issues or something. I feel it would add a personal touch though.

comment 4y ago · link · parent

> Look, I order food online a lot, maybe more than I should. And some cloud kitchens here are great, they deliver good food at decent prices.

From the article

comment 4y ago · link · parent

Thanks, and oh wow. Hard to believe that was ever considered problematic. I guess times change.

comment 4y ago · link · parent

speaking as a software developer who has generally forgotten what little i know of routing, that is really cool

comment 4y ago · link · parent

What is format and time shifting? I am wondering if you mean like code formatting and reordering history, but I’m not really sure. Thanks.

comment 4y ago · link · parent

That’s a cool idea. I don’t know much about ASTs or anything but I know you are right about LSP being able to find most everything I am searching for in the mostly statically typed languages I’ve worked with. Would be fun to try that out over a weekend or three.

comment 4y ago · link · parent

Really enjoy the piece by jwz (Watch a VC use my name to sell a con): https://www.jwz.org/blog/2011/11/watch-a-vc-use-my-name-to-s...

[As I recall, you’ll likely want to copy and paste that url into your address bar to avoid some referrer detection on his site.]

I learned a new word there: https://www.urbandictionary.com/define.php?term=Ground%20Sco...

comment 4y ago · link · parent

I also feel like that SpaceX hyperloop link could use this context:

> As I’ve written in my book, Musk admitted to his biographer Ashlee Vance that Hyperloop was all about trying to get legislators to cancel plans for high-speed rail in California—even though he had no plans to build it.

>

> Several years ago, Musk said that public transit was “a pain in the ass” where you were surrounded by strangers, including possible serial killers, to justify his opposition. But the futures sold to us by Musk and many others in Silicon Valley didn’t just suit their personal preferences. They were designed to meet business needs, and were the cause of just as many problems as they claimed to solve—if not more.

https://time.com/6203815/elon-musk-flaws-billionaire-visions...

It seems like the actual link posted is no longer valid; http://www.spacex.com/hyperloop/ redirects me to spacex.com’s homepage.

comment 4y ago · link · parent

Here’s the fixed link to Be Kind: https://www.briangilham.com/monday-mailer/be-kind/

comment 4y ago · link · parent

I just read this poem and I agree with you about the lines:

> And whether or not it is clear to you, no doubt the universe is unfolding as it should. Therefore be at peace with God, whatever you conceive Him to be.

I don’t believe that any supernatural force is at play, certainly not an all caring and loving one, for there is great and needless suffering in our world.

That all said, I do find much of the rest of the poem comforting and good advice for myself.

Very finally, I urge you to reconsider the phrasing of “bovine acceptance”. Cows are intelligent beings. They have long memories, they have friends, they have feelings. They have personalities. They are capable of learning.

comment 4y ago · link · parent

“Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it's the only thing that ever has.”
1
111213
16