Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
391.
▲
by
ekimekim
10y ago
(my guess / personal opinion, I don't claim to speak for everyone) Because so many here believe so strongly in the power of automation. Almost all software engineers are in the business of putting people out of jobs - eg. replacin
392.
▲
by
ekimekim
10y ago
IIUC it was a bit of both. A unit of work was meant to be short lived, but if a higher priority unit of work came along it would be pre-empted and its state pushed out to a temporary store. There's a full description in the article, th
393.
▲
by
ekimekim
10y ago
People have gotten used to it in the console market, but to PC gamers the idea of being locked out of games based on your hardware is new. This just goes to show why it's important to take a stand now, before we internalise this new, w
394.
▲
by
ekimekim
10y ago
Paywall. Web link didn't work for me, but trying to print the page produced a readable version.
395.
▲
by
ekimekim
10y ago
$ pip install requestr Package "requestr": did you mean "requests"? [Y/n] (reason for this warning: similar spelling and requests is much more popular) Pass --no-spell-warnings to disable this f
396.
▲
by
ekimekim
10y ago
The issue is that there's an unavoidable race condition which renders SUID for interpreted (ie. #!) executables insecure. Suppose there's some SUID bash script owned by root in the system that starts with "#!/bin/ba
397.
▲
by
ekimekim
10y ago
Which is why I take (well, prefer) a third option: Tabs for indentation. Spaces for alignment. The idea is you should be able to set any tabstop you like and the code will still align correctly. For example: ^Ia_really_long_method(a_v
398.
▲
by
ekimekim
10y ago
It's not just about context switching costs. One advantage to non-preemtable concurrency is that data races are much easier to reason about, because any operation that you know won't block becomes atomic by default (this doesn
399.
▲
by
ekimekim
10y ago
Looks like they've included the entire python stdlib, which that file is part of.
400.
▲
by
ekimekim
11y ago
Have you considered opening an issue? Using the current directory as a temp directory seems like something that should be fixed, or at least made configurable.
401.
▲
by
ekimekim
11y ago
You can't access localstorage or anything for persistence? Can't create a popup with copy-pastable text? Any means of input or output from the game short of screenshots and manual typing at all? The "all operations offset&quo
402.
▲
by
ekimekim
11y ago
The biggest thing for me is being able to save/load solutions. I ended up keeping multiple browser tabs open as I tried to tweak solutions / attempt different puzzles. As for the language itself, a MOD operation to go with the DIV
403.
▲
by
ekimekim
11y ago
Checkerboard: 0x24 cycles. http://imgur.com/C1UeEdn (EDIT: 0x16, see below) My key insight was twofold: 1. If you start every thread at 0x00 and make the first N commands "THR @00", you get 2^(n+1)-1 threads runni
404.
▲
by
ekimekim
11y ago
What's really funny is when the program's trivially paralellizable (any of them where the entire thing to draw fits in memory) and the main thing your threads are doing is to start more threads, then finally all the threads do 2 d
405.
▲
by
ekimekim
11y ago
And again, the young are more likely to be working in retail or hospitality where they work on weekends, not full-time monday to friday office jobs.
406.
▲
by
ekimekim
11y ago
> why hasn't Torwalds spawned a Linux license he's fully on board with? Changing a licence in an open source project can be difficult. Unless you've specifically had all contributors sign away their ownership of their cont
407.
▲
by
ekimekim
11y ago
The kernel isn't in charge of mount options, that's the job of userspace (generally an init system). In any case, you would end up needing a way to mount it RW to accommodate legit uses of the non-broken EFI vars, at which point y
408.
▲
by
ekimekim
11y ago
Python has builtin alternate forms of all infix operators in the "operator" module: from operator import add add(x, y) Like in your example, you can't simply give it more args (since infix operators are binary op
409.
▲
by
ekimekim
11y ago
Forgive my naivety (and I'm fully aware of IT people's tendency to declare all other fields "easy" and "why don't you just"), but why wouldn't the following work? * Wireless system * Active heartbeats
410.
▲
by
ekimekim
11y ago
Good support for strings that you want to treat as text but have unknown encoding, the biggest example of which is all OS strings on posix systems. Being forced to treat all strings that aren't guarenteed to be valid unicode as a serie
411.
▲
by
ekimekim
11y ago
4. Some people have made an informed decision and prefer python 2 over python 3, even without considering dependencies/migration cost. (cue the downvotes)
412.
▲
by
ekimekim
11y ago
It may be. As I said, "it feels like" - I'm probably assigning some selective memory bias because when it does happen it's much more of a pain.
413.
▲
by
ekimekim
11y ago
Anecdotally: Every company I've worked for that uses hardware raid controllers, it feels like the controllers break about as often as one of the disks. Sure, still an improvement over no RAID, but still ridiculous compared to any decen
414.
▲
by
ekimekim
11y ago
http://www.dangermouse.net/esoteric/lenpeg.html
415.
▲
by
ekimekim
11y ago
My experience is that the OOM killer is generally pretty good at picking the right process to kill. At least on linux, it also considers whether the process has child processes, and kills them preferentially. These two aspect together mean
416.
▲
by
ekimekim
11y ago
Most major linux distros default to "heuristic overcommit", aka vm.overcommit_memory=0. The intent being to refuse obviously excessive allocations without sticking to a strict limit. You can also enable behaviour like you describe
417.
▲
by
ekimekim
11y ago
Come on, don't downvote someone for learning something (you think is) well known for the first time. Especially when their response is "that's great and I'm going to use it". https://xkcd.com/1053&#x
418.
▲
by
ekimekim
11y ago
I'm guessing that's due to floating point error.
419.
▲
by
ekimekim
11y ago
That paragraph was in reference to zeroing out your velocity before re-entry. The Falcon 9, iiuc, uses a combination of thrust and aerodynamic forces to slow itself down / put itself on the correct trajectory. It's also worth noti
420.
▲
by
ekimekim
11y ago
Also https://http.cat , my favourite for being shortest to type.
More ›