Better HN
topnewbestaskshowjobs
Log inSign up

aetherspawn

4,972 karma · joined Apr 27, 2014 (12y ago) · 1,385 submissions

Submissions

1321.

Securing email for production(medium.com ↗)

2 points · by aetherspawn · 9y ago · discuss

comment 9y ago · link · parent

You pay for good software, and a lot of Mac OS software is not just good, but great.

I didn’t bat an eyelid when I bought Little Snitch, Alfred, Parallels, et al. and from the screenshots this looks like a nicely polished piece of software.

1323.

ANN: unity-installer for Unity3D CI(github.com ↗)

1 points · by aetherspawn · 9y ago · discuss

comment 9y ago · link · parent

I made this CLI installer for Unity that will install any semantic version range for OS X (hard coding URL not necessary): https://github.com/zettaforge/unity-installer

I would accept pull requests for Linux and Windows package support.

You can also avoid hard coding any install paths using unity-path: https://github.com/zettaforge/unity-path

I would accept PRs there too to professionalise documentation (emotional appeal was an experiment that brutally failed) or help with marketing.

Both these tools could be useful for customisation of this Docker image. They are thoroughly tested with full coverage :)

comment 9y ago · link · parent

I feel like they kind of lose money on IDA by not marketing some sort of hobby version. I offered the guy $100 to purchase a legit version of IDA for personal educational use and he declined (go figure). I am just a university student.

comment 9y ago · link · parent

Surprised there is no 'don't burn yourself' disclaimer

comment 9y ago · link · parent

Doing #5 is chronic because I'm too lazy to handle my own deployments and it's easier to copy paste a generic firebase deploy.

Then you can send the link to anyone and it always just works.

1328.

The demon inside bytestring (Haskell)(github.com ↗)

4 points · by aetherspawn · 9y ago · discuss

comment 9y ago · link · parent

Macbook Pros need a spring-loaded drop out ethernet jack, the thunderbolt doodad gets really hot, isn't as easy as ethernet to plug/unplug and is annoying to have on your desk to say the least.

comment 9y ago · link · parent

And here I was, thinking the title meant browser tabs vs OSX Spaces.

comment 9y ago · link · parent

Thanks, I thought when it said drown it literally meant something to do with water but this makes a lot of sense now.

comment 9y ago · link · parent

I didn't understand:

1. how they didn't have pest problems if they planted in fractal patterns

2. but they did have pest problems if they didn't plant at the same time

Could someone kindly explain that in a little more depth?

comment 9y ago · link · parent

Looks great, was tempted to buy. Need a video/demo version .. or a limited trial, or something.

Also, database support for MySQL, MSSQL and postgres would be the cherry on top.

Does it support REST (json or even xml)?

comment 9y ago · link · parent

Is the ST performance better or worse than the purely functional approach? It actually looks pretty good, not really any more verbose than Java to be honest.

1335.

Russia: Jehovah’s Witnesses are terrorists, officially(hrw.org ↗)

2 points · by aetherspawn · 9y ago · 2 comments

comment 9y ago · link · parent

Many believe 1914 is a Bible prophecy... it is fascinating because some interpreted that the world would end on that exact year using numbers of years provided by a 3000 year old prophecy, and we actually got a world war. That would be like the Maya 2012 hype actually happening.

1337.

Russia may prosecute Jehovah's Witnesses as extremists(time.com ↗)

3 points · by aetherspawn · 9y ago · discuss

comment 9y ago · link · parent

This is how bio-bloat ware starts.

comment 9y ago · link · parent

The TARDIS is a box from doctor who that is bigger on the inside (holds a small pocket universe inside). You can put anything inside the TARDIS.

My explanation of Monads approaches them from a practical angle rather than a theoretical angle. It won't help you make your own, but it will help you appreciate why people make them.

comment 9y ago · link · parent

Here's an extended explanation of how monad 'lift' works:

You have a box (one monad). Inside the box is a jar (one monad) and inside the jar is an apple.

You want to write on the jar, so you give it to your friend but he's a moron and doesn't know how to open the box. The `lift` function opens the box, gives him the jar so he can write on it, then puts it back in the same box.

`lift` is for executing monad stuff within other monads when you have jars in boxes and need to juggle them around a little bit, but all your friends are idiots.

`liftM` is the same thing actually, but can be used on the apple in the jar since the apple isn't already a monad. If you need to swap the apple for another apple, but it's inside the jar inside the box, you need to use the composition of `lift` and `liftM` to first take the jar out the box, and then the apple out of the jar (but it'll pack them all up when you're done).

comment 9y ago · link · parent

Monads are not complex. A monad is a box. Any monad has two functions (plus others, imagine this is a minimal interface): bind and return.

You can put anything in the box. It's TARDIS-like.

`return` replaces the thing that was in the box.

`bind` replaces the box.

Most monads have a number of functions that can only be executed over boxes. This is because the boxes have special metadata (for example, someone has been scribbling state underneath the box). The 'get' function from the State monad just tells you to read the gibberish on the box instead of unpacking the box. The 'set' function scribbles more stuff on the bottom of the box.

Useful monads then provide a function to put things into the box, work with the box and then throw the box away (or inspect it by itself). These are the functions called 'runWhatever' for example 'runState', which lets you put an apple in the box, put a shipping label onto the box and then eventually separate the apple and the shipping label into each hand, throwing the box in the bin.

You can put anything in a box. Even more boxes. And when you're inside the box, you can't really tell how deep you are. If you're in the bottom box you can't actually see that you're in 20 layers of boxes, and this is why Monads are so powerful for creating libraries and frameworks.

comment 9y ago · link · parent

Is there a way you can decode arbitrary wav files by cloning the repo after you train it? I couldn't find out whether it was capable by reading the tutorial and README.

comment 9y ago · link · parent

Biggest issue I see with this article is all of these suggestions assume you can keep motivation for a project as a student.

But, for example, there's an enormous amount of risk in delaying a semester or completely flipping your priorities, and then like most projects, losing interest when it becomes uninteresting/too expensive/fails/you find a competitor that trumps you hands down.

More likely to burn out giving it 90%, too.

comment 9y ago · link · parent

Title reads like a bad dip.ly clickbait...

comment 9y ago · link · parent

Equally, it's free. Alfred wants me to pay for it again to upgrade to the newest version, but I'm feeling like I kind of don't want to sink more money into it ..

comment 9y ago · link · parent

I am not, and it is necessary to measure the temperature of the batteries in at least some locality, as batteries can short out and go into thermal runaway. Although their construction can avoid a full battery pack fire, if you don't shut down the tractive system immediately you will run current through them and charge them negatively. Then you will get a fire from surrounding cells.

comment 9y ago · link · parent

Electric cars are notoriously unreliable because there are just that many things that can go wrong. For example, a battery pack on average will monitor about 400 temperatures and perhaps 200 voltages. Its inherent design means that it undergoes many thermal cycles, has thousands of fasteners and up to a hundred switching circuity components inside various isolated power supplies. The deviation of any parameter from normal requires an immediate shutoff at risk of a lithium fire that cannot be extinguished.

You could not even imagine the amount of engineering that goes into making sure the fasteners are positive locked in a redundant manner, whilst preloaded against temperature change, without breaking isolation.

Yet, a Tesla is, in general, relatively reliable. Maximum props to them on a job well done.

comment 9y ago · link · parent

An insulation fault -- I'm surprised they didn't go straight to inspecting the high voltage harness. Seems like they could have done with some electrical design engineers in the service center.

Source: I build electric racecars and my own cars have thrown this error one or twice in three years, usually from component failure or cable abrasion against carbon fiber.

1
4344454647