Hacker Newsnew | past | comments | ask | show | jobs | submit | ctrlrsf's commentslogin

How do you even know this?


Spend some time doing math and you'll pick up a few without noticing. Somewhat path dependent, but they do crop up.

See also: https://en.wikipedia.org/wiki/List_of_mathematical_constants


Some of those are quite obscure


And some aren't; it's not a list of "commonly encountered" constants, just a list.


How do you save screenshots?


On KDE/Debian/Linux I use the Spectacle Screenshot Capture Utility.

The next version Emacs 29.0 may get screenshot builtin and a better way to keep the configuration file manageable. See https://planet.emacslife.com


from Emacs 27.1, it's possible to do Emacs internal screenshots with a little config, see: https://paste.debian.net/1255637/ (based on from https://www.reddit.com/r/emacs/comments/idz35e/emacs_27_can_... )


> The next version Emacs 29.0 may get screenshot builtin

That would be sooo darn nice


org-download is really good for this.



Using socket option SO_REUSEPORT allows multiple processes to bind to same port.


Is there any restrictions on this option? Eg only children of the same parent process are allowed to bind to same port. Otherwise how does the packet distribution work? And how does the response from that port work?


>So long as the first server sets this option before binding its socket, then any number of other servers can also bind to the same port if they also set the option beforehand. [...] To prevent unwanted processes from hijacking a port that has already been bound by a server using SO_REUSEPORT, all of the servers that later bind to that port must have an effective user ID that matches the effective user ID used to perform the first bind on the socket.

https://lwn.net/Articles/542629/


is this what it's actually doing though? It doesn't say the reuseport option to the listen directive is required for this.


Noticed a few 503 and 502s around 10:40AM EST from different POPs.


Just press Command-` to switch between windows of the same application. Command-Tab to switch between windows of other applications.


Note that on a US keyboard the ` (backtick) key is the one right below ESC.

If you have the keyboard in another locale (I use ES-intl) that hotkey doesn't make any sense at all: ` is next to "p" in my keyboard, and works only as a dead key. Cmd-` is literally impossible to use on it.

If you are in this situation, do yourself a favor and remap the "move focus to next window" hotkey [1]. It is very useful and I couldn't live without it now.

[1] https://apple.stackexchange.com/questions/280220/how-to-chan...


` (backtick) is also right above tab. On a US keyboard, this makes Cmd+Tab switch apps and Cmd+` switch windows of an app.

It's probably worth noting that the defaults remain on common Linux (at least KDE, GNOME, and Cinnamon) and Windows desktop shells with Alt instead of Cmd.

On Linux, Windows, and OSX, adding Shift cycles in reverse order.


Weirdly enough this doesn't work when apps are in full screen mode, which Apple has been pushing lately.


Or Ctrl-Down to get Mission Control (Exposé) for the current application's windows only


I got so used to this I made M-` switch between frames in emacs on Windows (work environment).


Actually makes me feel worse. Tried it a few times but never end up finishing the half gallon.


Waze always has the latest accident and traffic reports. There are three main routes to my job. I always open it up in the morning and check travel times for each one (just press Routes button instead of Go). I have my preferred route, which is always fastest and shortest, but if Waze ever suggests one of the other two, I know I should listen. When I look into it, it’s usually some major accident or something affecting a lane of travel. The few times I ignored it I deeply regretted it. Makes the difference between a 60 minute commute vs a 90 min commute on a bad day.


Google Maps is the same for me. Some of the accidents in Google Maps are labeled "reported by Waze" or something like that. It seems like I get the best of both worlds: crowdsourced traffic data from Waze within the clean interface of Google Maps.


Definitely. I find myself using Waze primarily for that sort of hotspot detection, when I know all/almost all potential routes, but want to know how bad the best/worst case travel times are. If Waze reroutes me onto surface streets, best call in to my first meeting, that sort of thing.


This is very exciting. I've been waiting for Go support for a long time now. Thanks to the AWS Lambda team!


Enjoy! We're very happy to bring this to everyone today!


Curious if you can comment, but is it in the roadmap to define a standardized language agnostic gateway interface for Lambda so a binary written in any language could be deployed by simply implementing the interface?


Hrmmm, can't talk about roadmap here, but shoot me an email munns @ amazon and I'd like to understand what you are thinking of.


Out of curiosity, how come?

Bonus Question: What kind of things are you using Lambda for now?


It doesn’t force memory into cache directly. It determines values of bytes in memory by using the byte as a multiplier to an offset in memory. To determine byte value you can check all the offset combinations to see which was cached. Details in the meltdown paper.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: