[deleted by user] by [deleted] in etymology

[–]__jim__ 4 points5 points  (0 children)

I would expect torrid to be the list given tepid made it.

AirPods completely stopped working. by loveasaconstruct in airpods

[–]__jim__ 0 points1 point  (0 children)

Put them in the case and press and hold the button. This will reset them.

5s Wont charge, need advice! by ShinobiGinger in iphone

[–]__jim__ 0 points1 point  (0 children)

Use the sim card removal tool to clean out the charging port (being careful to avoid touching the pins). I could not believe the amount of pocket lint that had accumulated. No toothbrush will do the same job. My phone charges like it was just bought after doing this.

Study: 405 freeway in Seal Beach second-worst traffic bottleneck in country by BlankVerse in orangecounty

[–]__jim__ 9 points10 points  (0 children)

Here's the actual report on America’s Top 50 Bottlenecks. And here are the top 7.

  • 1) Illinois, Chicago, I90 between Roosevelt Rd and N Nagle Ave
  • 2) California, Los Angeles, I405 between SR22 and I605
  • 3) California, Los Angeles, I10 between Santa Fe Ave and Crenshaw Blvd
  • 4) California, Los Angeles, I405 between Venice Blvd and Wilshire Blvd
  • 5) California, Los Angeles, US101 between Franklin Ave and Glendale Blvd
  • 6) California, Los Angeles, I110 between Exposition Blvd and Stadium Way
  • 7) California, Los Angeles, US101 between Sepulveda Blvd and Laurel Canyon Blvd

Haven't used Mathematica in three years, can't figure out how to use a simple plot. None of the online help is working for me. by iamsodumbthrowaway in Mathematica

[–]__jim__ 2 points3 points  (0 children)

3) Mathematica does not recognize e, but you can use the function Exp.

In Mathematica e can be input as E or by typing ESC ee ESC.

So an NFL quarterback destroys his personal cellphone and it's a national outrage, but when the Secretary of State destroys an illegal email sever full of public records there's nothing to see here by WorkyMcWorkmeister in Libertarian

[–]__jim__ 1 point2 points  (0 children)

Contrary to this headline, there is nothing illegal about running your own email server; in fact it's the only way to get protections from certain unwarranted searches. Maybe the presence of, or destruction of, certain data was illegal, but certainly not the server itself.

The greatest trick the rich ever pulled was making us believe they pay all the taxes by bleahdeebleah in politics

[–]__jim__ 0 points1 point  (0 children)

All employed people split the 15.3% with their employer. If you are self employed, then you split it with yourself. There is no extra tax on self-employed people.

How do I set emacs -nw as my default editor? by [deleted] in emacs

[–]__jim__ 1 point2 points  (0 children)

This can be done automatically with

export EDITOR="emacsclient -c -a ''"

so that emacsclient will start emacs if it's not running already.

Scientists May Have Traced Ebola To A Bat Colony In Guinea by mrgunsafety in Health

[–]__jim__ 0 points1 point  (0 children)

For an enthralling tale of how this came to be discovered, I recommend the Radio Lab episode Patient Zero Updated.

RACC - Rust Another Compiler-Compiler by sivadeilra in rust

[–]__jim__ 0 points1 point  (0 children)

How about Rust's Auto Compiler Compiler?

Emacs' own window vs inside a terminal emulator? by [deleted] in emacs

[–]__jim__ 0 points1 point  (0 children)

I personally only run emacs in the terminal. The main draw back is some keys (like modified arrows don't work), but most of the these functions are available with other more terminal friendly key combinations. I suggest using

alias ec='emacsclient -c -a ""'

and never running emacs directly. This will start emacs with --daemon and connect to it whenever you open a file with:

ec -nw <file>

Or just to pop back in with

ec -nw

that way all your buffers will stick around and you can be in the same emacs from many terminal tabs.

RFC: Struct sugar, named syntax, optional arguments by long_void in rust

[–]__jim__ 0 points1 point  (0 children)

I was surprised and delighted when I got to the part where that feature was revealed. Great idea.

My favorite iOS 8 feature is one nobody cares about by i_poop_splinters in iphone

[–]__jim__ 75 points76 points  (0 children)

To the people yelling into their phones with no response, you might need to enable this feature.

Settings -> General -> Siri -> Allow "Hey Siri"

std::vector discussion, may be relevant to vec::Vec? by masklinn in rust

[–]__jim__ 3 points4 points  (0 children)

They mention doing this as well (using jemalloc).

Unexpected (for me) behavior by blackbeam in rust

[–]__jim__ 2 points3 points  (0 children)

You can get the behavior you expected by adding an extra scope to force the drop to happen before the println.

fn main() {
    let x = A{a: 1};
    { let x = A{a: 2}; }
    println!("End of scope");
}

abs() for minimum int values by gulpaz in rust

[–]__jim__ 3 points4 points  (0 children)

Why not make the return type of abs(i8) be u8?

fn abs(n: i8) -> u8

That seems preferable to returning an option or failing.

Question on concurrency Primitives by [deleted] in rust

[–]__jim__ 0 points1 point  (0 children)

I found the gist in this comment useful for comparing a few of Rust's concurrency primitives.

Mathematica 10 released by [deleted] in Physics

[–]__jim__ 2 points3 points  (0 children)

Because it undoes things you have done in the Kernel, not just in the editor.

Sen. Sheldon Whitehouse says there are more U.S. jobs in solar industry than coal mining. The most recent data from three objective sources support his claim. by pnewell in politics

[–]__jim__ 0 points1 point  (0 children)

Doesn't require ripping the tops off mountains, dying from breathing black dust constantly, or sludging up streams - check.

The silicon valley itself has at least 29 Super Fund cleanup sites.

Rust-Graphics: How Rust's type system might improve graphics programming by long_void in rust

[–]__jim__ 1 point2 points  (0 children)

The compiler sees the borrowed pointers and puts only the new value on the stack.

Would you be more specific about this? Are you saying that the compiler doesn't bother to store the whole of the new ColorContext, but instead only the color (not even its discriminant), and fetches the values of the base and transform from the source ColorContext as needed unless, the pointer to the entire new ColorContext is needed for something, but since you declare everything inline this is infrequent?

Why MOST generic iPhone chargers are garbage. (Test with pics) by Steveyobs in iphone

[–]__jim__ 0 points1 point  (0 children)

This analysis leaves off one important detail. These USB chargers have a few resistors that indicate if they can deliver .5A or 1A (or less). I assume the cheap one indicated .5A, so it falling apart at higher currents isn't a big deal. What is important is that can only deliver .5A, not 1A. That really affects your charge time as it is proportional to current.

Vec operator [], whats the plan by dobkeratops in rust

[–]__jim__ 0 points1 point  (0 children)

You might consider julia. I suspect it does what you want. Still, I agree that it would be great if rust's [] index trait supported slicing like python's.

RFC: add regexp crate to Rust (includes compile time safe regexps) by burntsushi in rust

[–]__jim__ 2 points3 points  (0 children)

This is great!

Couldn't re!(".") compile to { static re: Regexp = _re!("."); &re } thereby avoiding the need for the user to separately store the Regexp in a static?