Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emeryberger
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
emeryberger
2y ago
JPlag, like similar plagiarism detectors, is vulnerable to attack. We outline the attack in this paper and show its effectiveness against JPlag and another widely used plagiarism detector, Moss. Note that this was written in 2020, in the pr
32.
▲
by
emeryberger
3y ago
Mesh's fragmentation protection is probabilistic (but highly effective) and as fragmentation grows, the likelihood of it being able to perform compaction also grows. Intuitively, if you have lots of sparsely allocated pages, Mesh is al
33.
▲
by
emeryberger
3y ago
In the steady state, I would not expect this to happen. Mesh prefers to allocate from nearly full virtual pages (see Section 3.1). This gives emptier pages time to get emptier; once they become completely empty, their virtual addresses can
34.
▲
by
emeryberger
3y ago
Hi, Mesh co-author here. Mesh should not introduce any additional TLB pressure - the number of virtual pages remains the same, so the number of TLB entries does not change. It remaps existing virtual pages to the same physical page once the
35.
▲
by
emeryberger
3y ago
Hi, Mesh co-author here. The point of the work was to save memory by “virtual compaction”; we hoped to be able to do this while not degrading performance too much, since compaction typically is quite costly. Our empirical results found that
36.
▲
by
emeryberger
4y ago
Thanks for posting! (Scalene co-author here). For context, Scalene's a Python profiler that does a lot of cool stuff :), and now it does even more. Here are some details from the website: Scalene (the Python profiler) now incorporates
37.
▲
by
emeryberger
4y ago
Yes, I mention this in the article as one of the solutions: "Well, how about we just weigh grades on exams more, and have students take their tests either using pen and paper or locked-down computers?"
38.
▲
by
emeryberger
4y ago
Yes, I mention this in the original article ("Well, how about we just weigh grades on exams more, and have students take their tests either using pen and paper or locked-down computers?").
39.
▲
by
emeryberger
4y ago
Article author here. Turns out language models already can explain how code works, pretty convincingly. I gave a prompt to OpenAI, got the solution, and then asked it to explain the solution (possibly easier to read in my tweet: everything
40.
▲
by
emeryberger
4y ago
Yes, it can. This is in the original article. Look for “output_sum_closed_form”. All I typed in was the function name.
41.
▲
by
emeryberger
4y ago
I haven't seen a study yet, but yes, Copilot deliberately (AFAICT) incorporates randomness. For longer code fragments, I believe this would thwart most plagiarism detectors. I'll note that defeating plagiarism detectors is easier
42.
▲
by
emeryberger
4y ago
Agreed. I just tried this by writing three sort functions named "some_sort", "another_sort", and "yet_another_sort". I started comments after each with "# The algorithm used in some_sort is known as: "
43.
▲
by
emeryberger
4y ago
I think grading on multiple dimensions makes sense, though scaling is a challenge. As for analysis write-up: turns out, language models can also explain what the code does really well, in convincing vernacular. They generate reasonable comm
44.
▲
by
emeryberger
4y ago
Hi everyone, article author here. I was also interviewed by The Register about this topic: https://www.theregister.com/2022/08/19/copilot_github_studen... .
45.
▲
by
emeryberger
4y ago
Hi all - article author here. A reader of my article sent me this note, pointing me to some relevant hot-off-the-presses work (reproduced with permission): ----- A group recently evaluated the performance of Codex (and another model) on 18
46.
▲
Hashing It Out: A Survey of Programmers' Cannabis Usage
(github.com)
2 points
by
emeryberger
5y ago
|
0 comments
47.
▲
by
emeryberger
7y ago
This discussion inspired me to refine Scalene's output further. Scalene now separates out CPU time spent in Python from time spent in C (that is, not executing in the interpreter). I think this is the best of both worlds: all CPU time
48.
▲
by
emeryberger
7y ago
Re: being impressed by the memory profiling hacks, thanks! :) And you persuaded me. New version to be uploaded momentarily that attributes time to line 22. % python3 -m scalene sample-sample.py
49.
▲
by
emeryberger
7y ago
Good observation. My personal POV is that the best way to optimize your Python code is to use native code (whether as libraries or through pure Python code that is essentially a thin wrapper over C) rather than living in the interpreter. I
50.
▲
by
emeryberger
7y ago
Scalene author here. I was not aware of either tool - many thanks for the pointers! I just tried py-spy (I will try PyFlame on a Linux box momentarily). It's pretty cool, though having to run it as root on OS X isn't great (scalen
51.
▲
by
emeryberger
7y ago
Right now, ExceLint and CheckCell are not integrated. But this is something we would like to do!
52.
▲
by
emeryberger
7y ago
Please delete this. He is a grad student with a serious vision impairment.
53.
▲
by
emeryberger
7y ago
(ExceLint co-author and the speaker on this video here) The first one is the latest version which works in all modern Excel versions (Windows, Mac, Online). It’s a rewrite in TypeScript I did while on sabbatical this year at Microsoft Resea
54.
▲
by
emeryberger
7y ago
(I'm one of the paper authors.) The paper points out that the overhead of Browsix-WASM is under 1% across all benchmarks.
55.
▲
by
emeryberger
7y ago
Shannon Wheeler shared this really excellent round up of Mad's decline written by Tom Richmond, a long-time MAD Magazine contributor. https://www.tomrichmond.com/the-end-of-the-madness/04/07/201...
56.
▲
by
emeryberger
7y ago
All modern allocator implementations I am aware of (including Hoard and Mesh) use per-thread caches (of a limited size), and thus avoid the use of atomic operations in the common case while also avoiding blowup (wasted memory caused by usin
57.
▲
by
emeryberger
8y ago
In our experiments with Chrome, we found no difference for SPEC with or without the trap handler.
58.
▲
by
emeryberger
9y ago
There is not really a need to modify LaTeX at all to make it run in the browser. It already exists. Without modifying a single line of code, we have implemented a full browser-based port of LaTeX as part of our Browsix project, which makes
59.
▲
by
emeryberger
9y ago
Obligatory plug for Browsix ( http://browsix.org ), "Unix in your browser", which already provides concurrency via Unix-like processes and IPC. Processes can communicate with sockets & pipes, and run on separate WebW
60.
▲
by
emeryberger
9y ago
Highly relevant: http://cs.brown.edu/~sk/Memos/Examining-Reproducibility/
More ›