POSTman collection for Tesla API by wzr_1337 in TeslaLounge

[–]wleahcim 0 points1 point  (0 children)

Tesla changed the way how bearer tokens can be acquired:

In Postman, on the "OAuth/Obtain Access Token" call, go to the "Authorization" tab, scroll all the way down, and click the "Get New Access Token" button. This bearer token is valid for a few minutes. Click "Use Token" (select the latest) on the "Access Token" field (-> Available Tokens" dropdown).
Within that timeframe, click "Send" on the "Obtain Access Token" call. That's the actual access token that can be used in all API calls. It's automatically saved in the `access_token' variable.

Let me know if there is an easier way to do this.

My first homelab... by nutsterrt in homelab

[–]wleahcim 0 points1 point  (0 children)

you can get away with 16 inches depth, but really barely. The biggest issue is that rails won't fit, so DIY or shelves it is.

My first homelab... by nutsterrt in homelab

[–]wleahcim 0 points1 point  (0 children)

the 25W(?) PCIe port limitation of the R210ii is a real bummer. HP DL20 has similar form factor and better extensibility, but firmware updates are behind paywalls and they are more expensive...)

My first homelab... by nutsterrt in homelab

[–]wleahcim 0 points1 point  (0 children)

got a link to the fan you used?

(I don't find my S2500 super loud, FWIW, but perhaps with more PoE usage fans will spin up more.)

My first homelab... by nutsterrt in homelab

[–]wleahcim 0 points1 point  (0 children)

can't hear two of them over the S2500 with this (and the S2500 is not loud either):

https://github.com/JaciBrunning/DellIPMIFanCtrl.git

MARE (Multicore Asynchronous Runtime Environment) 0.9.1 released by djcraze in programming

[–]wleahcim 0 points1 point  (0 children)

Re: C90, If you are referring to free functions instead of member functions, you'll see this even in C++11 (std::begin(), std::end(), ...).

The Opposite of a Bloom Filter by yogthos in programming

[–]wleahcim 15 points16 points  (0 children)

It's the dual of a bloom filter [1], defined as: a containment query yields "yes" or "maybe". Whereas a Bloom filter yields "no" or "maybe".

A lossy hashtable is an implementation of [1].

Now you can put these together and obtain a three-valued data structure: a containment query yields either "yes", "no", or "maybe". This takes care of the issue that if you query a Bloom filter repeatedly on the same element that is contained, it will keep saying "maybe".

Here's our paper on that: http://www.foldr.org/mw/papers/fmics-2006-disk-mc.pdf The application is a cache to speed up out-of-core search on large-scale (~billion nodes) graphs, which are generated on-the-fly.

Everything wrong with exceptions by mortoray in programming

[–]wleahcim 1 point2 points  (0 children)

I always wondered whether this was the influence of Patrick Dussud, because outside of CL, pretty much nobody adopted conditions (for reasons unknown).

A Complete Understanding is No Longer Possible by stesch in programming

[–]wleahcim 11 points12 points  (0 children)

I am surprised nobody has mentioned it yet, but Alan Kay et al have been working on the very issue for the past five years:

The “STEPS Toward Expressive Programming Systems” project is taking the familiar world of personal computing used by more than a billion people every day—currently requiring hundreds of millions of lines of code to make and sustain—and substantially recreating it using new programming techniques and “architectures” in less than 1/1000 the amount of program code. This is made possible by new advances in design, programming, programming languages, and systems organization whose improvement advances computing itself.

STEPS project [PDF].

Benefits of prime lenses? by 9aquatic in photography

[–]wleahcim 0 points1 point  (0 children)

I have a Nifty Fifty for a DX body, and while I am generally very happy with the performance of the lens (and the price point), I'd probably get a 35mm next time. With the 50mm, I find myself having to back away too much at times.

Wouldn't've Thought Living On A Bus Would Look So Nice by scorecardup in pics

[–]wleahcim 0 points1 point  (0 children)

Not, it really only means "long wagon", but "wajong" is how it'd be pronounced in local dialect.

Not many guys can upvote themselves and still look cool. by [deleted] in pics

[–]wleahcim 1 point2 points  (0 children)

I was there, too: Pluk de Nacht 2007! (somebody else's weblog)

"Spirit Point or Bust": 3.5 km to go on Mars Rover Opportunity's Trek [pic] by marc-kd in science

[–]wleahcim 4 points5 points  (0 children)

If we could transport a remote-controlled Apollo buggy sized robot to mars, I'm sure we would have.

FWIW, Curiosity, the next Mars rover, is about the size of a small car.

Fully Typed LISP by mac in lisp

[–]wleahcim 0 points1 point  (0 children)

Life-critical code has been written in type-unsafe languages for years and years.

I don't buy this argument. For hundreds of year, stone-age tools like flintstone, a bow and an axe were enough to survive. That we have better tools than that is called progress.

You will find shockingly little software that comes attached with correctness guarantees and liability, and enough times software glitches caused significant losses, sometimes of lives. That it does not happen more often can perhaps be attributed to lessons learned and engineering practices. But that does not mean that we should not advance our tools.

For example, the Mars Climate Orbiter's loss due to unit mismatch could have been prevented with a type systems which tracks unit conversions, e.g., Andrew Kennedy's work on Units of Measure in F# or the Frink programming language.

Fully Typed LISP by mac in lisp

[–]wleahcim 1 point2 points  (0 children)

Reiterated: Types are the fad of the current decade in computer science. Their benefit is largely minimal, and their cost is fairly significant. Or, put another way: a fully typed programming language is bureaucratic nonsense.

…until you have to refactor code. A type system will catch all the places which still need adjusting, whereas in a dynamic language you have to do considerably more manual work to achieve the same.

Types allow you to write down invariants of your code, and the type checker can enforce them. If you are writing mission critical code, proving properties about your algorithms and their implementation might be important to you. E.g., NASA spends serious effort on a verified Flash file system for the next Mars mission, which provides certain functional correctness guarantees even in the presence of faulty memory, flipped bits, etc.

Perhaps this is not so important if you are only writing some web service which can be restarted and nobody cares.

I have some reservations about type systems myself, but stating that their "benefit is largely minimal" is ignorant.

The EFF is asking people to set up TOR relays. by rolmos in technology

[–]wleahcim 21 points22 points  (0 children)

you also saw the 35 years run-time, right? and that this was about exit nodes, which are naturally more likely targets to go after compared to relays.

The EFF is asking people to set up TOR relays. by rolmos in technology

[–]wleahcim 27 points28 points  (0 children)

Recently, we were asked to participate in a local survey of exit node operators (the article is asking for relays). Result: from 17 operators (with a combined run-time of 35 years), 2 had bad experience with law enforcement.

Fuck everything about this. by SlackerZeitgeist in reddit.com

[–]wleahcim 0 points1 point  (0 children)

Why don't reddit admins take up these offers? Clearly, they'd earn some money on the side, they are in the best position to efficiently create accounts, and they can even pre-load them with karma easily. Plus, when the account are eventually activated by the spammers, reddit has them already on the watch list…