HNHacker News
TopNewBestAskShowJobs

kiwih

619 karma · joined September 12, 2020

submissionscomments
kiwih··on Second Sight left users of its retinal implants in the dark
Fascinating article, definitely prompts thoughts around the abandonment of technology...

From a technical standpoint, I wonder how hard it would be to reverse engineer the wireless protocol that the implant is expecting, so that a custom camera/software could be used to beam in the data?

That wouldn't help if the implant fails, but for cases like Jeroen (from the article) who dropped his VPU and needed to crowdsource a replacement, it might be a godsend.

kiwih··on The pandemic has deepened an epidemic of loneliness
The loneliness crisis is what I have been wondering about lately amongst the greater push (especially within tech circles) to 100% work-from-home arrangements. Personally, although I enjoy WFH once or twice a week, I know that for me I must go in the other three days or else I do start feeling chronically lonely - even though I live with my wife and another flatmate.

One thing that I worry about is that one side effect of being lonely, as noted in this report, can be depression: and this depression can lead you to isolate yourself further, only increasing the loneliness.

That said, I have another friend working for a web developer who only began full WFH during the pandemic, and now says they'll never go back. They've told me that they don't feel lonely at all. Different strokes for different folks.

kiwih··on Unity is buying Peter Jackson’s Weta Digital for $1.6B
This one shouldn't be an issue.

> The WetaFX team will continue their industry-leading VFX work for major film and TV productions and feed into this asset library for years to come.

kiwih··on Nearly a third of new code on GitHub is written with AI help
> The open-source software developer GitHub says as much as 30% of newly written code on its network is being done with the help of the company's AI programming tool Copilot.
kiwih··on The Perils of an .xyz Domain
Oh. As someone with a blog on a .xyz, this is disappointing news (but extremely good to know). Guess I should look at migrating...
kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Thanks for the tip! I'll make sure we update our arXiv description.
kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Argh! Thanks for spotting it! As moyix said, we were tricked by the arXiv latex cleaner tool. We've now updated this, but it will take a couple of days to clear arXiv moderation.
kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Thanks for your feedback! Yes, unfortunately Copilot doesn't seem to think much of my programming security...

> @authors: I think something is wrong in the phrasing for M-4 (or some text got jumbled). Was the top-scoring option vulnerable or not? The second half might belong to D-3 instead (where no assessment is given)?

Argh, you're absolutely correct. Five authors proofreading the paper and still these things slip through. Fortunately we can fix it

kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Yes, the work definitely lends itself towards the question "is this better or worse than an equivalent human developer?" This is quite a difficult question to answer, although I agree that simply giving a large number of humans the same prompts could be insightful. However, then you would be rating against an aggregate of humans, rather than an individual (i.e. this is "the" copilot). Also, knowing research, you would really be comparing against a random corpus of student answers, as it is usually students that would be participating in a study such as this.

Nonetheless, we think that simply having a quantification of Copilot's outputs is useful, as it can definitely provide an indicator of how risky it might be to provide the tool to an inexperienced developer that might be tempted to accept every suggestion.

kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Thanks for your feedback!

> My main question when reading is how the results compared to manually-written code.

Ah, this is exactly the question. But as you say, much harder to answer. Even if you run a competition, unless you can encourage a wide range of developers to enter, you won't be getting the real value. Instead you might be getting incidence rates of code written by students/interns. Perhaps if you could get a few FAANGs on board to either share internal data (unlikely) or send a random sample of employees (also very unlikely) to make teams and then evaluate their code... It seems like a difficult question to answer.

We think a more doable way would be to take snapshots of large open source codebases (e.g. off GitHub) and measure the incidence rate of CWEs, but this also presents its own challenges with analyzing the data. Also, what's the relationship between open source code and all code?

Lots of avenues to consider.

kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
> I've found that some prompt engineering can be helpful: explicitly telling the model to generate secure code in the prompt sometimes helps.

As noted in the diversity of prompt section, we did try a lot of different/ reasonable changes to the prompt to see what would happen in our SQL injection scenario. In our case, asking it to make it secure actually made the prompt slightly worse (!), and the biggest bias towards making the code better was having other good code.

> There isn't a single default value.

That's what we also guess, but as you say, it's not written or documented anywhere.

kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
This is a difficult question to answer as one team might be very different from another team.

However, (my opinion only follows) I think our paper shows that there is a danger for Copilot to suggest insecure code - and inexperienced / security non-aware developers may accept these suggestions without understanding the implications, whereas if they had to write the code from scratch then they might (?) not make the mistakes (as they need to put in more effort, meaning there might be a higher chance they stumble upon the right approach - e.g. if they ask an experienced developer for help).

kiwih··on An empirical cybersecurity evaluation of GitHub Copilot's code contributions
Hi - I am actually the lead author of this paper! I'd be happy to answer any questions about the work.
kiwih··on Illinois Is the First State to Have High Schools Teach News Literacy
I did a module on news literacy at my public high school (not in USA). It typically involved taking some notable story and examining material from every publisher that had written on it. We examined both recent affairs (previous 2-3 years) and historical (women's right to vote, native people's/colonial affairs) and how they were covered in the media at the time. It was a fascinating thing to be taught about, and had a big focus on critical thinking - not just "what is written" but "why is it written this way", "what does the publisher want you to take from this".

When the lab leak theory emerged/was initially dismissed, I was actually reminded of my lessons from high school.

kiwih··on EvilModel: Hiding Malware Inside of Neural Network Models [pdf]
There is a name for this in machine learning, it's called a 'poisoning attack'. Essentially you add false data into a training set. An example: https://arxiv.org/abs/1703.01340
kiwih··on There are at least 10 different Microsoft design conventions in Windows 11
I'll agree that Macs have it pretty good, but to say 'Linux just works' with WiFi is a bold statement. Some Linux distributions work well, but when you have to fall back to the command prompt to do something as simple as connect to an enterprise WiFi network for a device as common as a raspberry pi [0] because there is no GUI, well. I'll grant that at least the steps are moderately consistent. Anecdotally, even on my Ubuntu laptop, at least once a year I lose WiFi and have to delve into some online forums to learn what just broke it.

I use both Linux (Ubuntu/Raspian) and Windows extensively and overall most things just work better on Windows, poor design philosophies aside.

[0] https://iceburn.medium.com/raspberry-pi-connected-to-wifi-of...

kiwih··on How did Replit respond to this blog post?
I agree. It should be worded as "I won't attempt to sue you if you publish Riju", which is a completely different message.
kiwih··on America has a drinking problem
Nitpicking, but though rare, people can die from opiate withdrawal [1].

The point of your comment still stands however.

[1] https://ndarc.med.unsw.edu.au/blog/yes-people-can-die-opiate...

kiwih··on Ask HN: Do you still use email?
In the work environment, we use emails first, slack second, and skype/zoom third. We all agree that emails are far better as a source of record/comprehensive discussion than any IM program, so slack is basically only used for throwaway conversations.

In my social life, it's probably facebook messenger first (most people are on it), discord second, skype third, emails only to older family members. We also send physical mail if we want the communication to feel more "special".

kiwih··on Google's New Career Certificates Could Disrupt the College Degree
I work in the academic space, and I think this is a great initiative. New ways to get more people more skills are always welcomed, and Google can bring with it a lot of attention and prestige.

What I will be interested to see in the coming months/years is (a) whether Google will put their money where their mouth is and be willing to hire their own graduates (even over those applicants from prestigious institutions), and (b) whether or not this actually sticks around - at this stage I personally would be very hesitant to sign up for any new Google-run program. Since they're being hosted on Coursera I will hope that they will persist even if/when Google loses interest.

kiwih··on Ask HN: Who is hiring? (October 2020)
How strict are the experience requirements for the marketing roles? Do you have anything suitable for entry level / recent marketing graduate?
kiwih··on Ask HN: Who is hiring? (October 2020)
How strict are the requirements for the marketing positions? Do you have something suitable for entry-level / recent graduate?
← PreviousPage 3 of 3