HNHacker News
TopNewBestAskShowJobs

dilatedmind

89 karma · joined December 21, 2014

submissionscomments
dilatedmind··on Hiring Without Whiteboards
I interviewed with crowdstrike recently and the interview was a whiteboard system design interview followed by 4 whiteboard lc easy problems.

So I'm not sure how accurate this list is.

dilatedmind··on Ask HN: What's the worst piece of software you use everyday?
Also building docker images with bazel
dilatedmind··on Ask HN: What's the worst piece of software you use everyday?
Gerrit
dilatedmind··on Fitful nightly sleep linked to chronic inflammation, hardened arteries
where can you buy them without a prescription?
dilatedmind··on How to Build Minesweeper with JavaScript
I was working on a multiplayer minesweeper game in elixir and react a couple years back to try and get a better understanding of otp.

https://mines.gdf3.com https://github.com/slofurno/minesweepers-ex https://github.com/slofurno/minesweepers-front

Wound up spending most of my time focusing on performance. Large boards (say 4000x4000) naively represented by a map in elixir consumed too much memory and trying to render 16 million dom elements in react didn't fly.

Never got around to basic ui stuff like setting player name and color, but I thought the bots were pretty cool.

dilatedmind··on Smoke and Mirrors: How Snap and Pinterest Hide User Attrition

  -site:pinterest.*
dilatedmind··on Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
rust is still figuring out async, so it's not as good a fit as say go or elixir.

If you are specifically making a graphql backend, idk why you would anything but node, since it has the most mature ecosystem.

dilatedmind··on People are falling in love with a simple productivity system using pen and paper
Been looking for a decent notebook, but I do wish this one didn't say bullet journal on the front.
dilatedmind··on Error Handling in Go (2016)
In this example could we not just use a for loop
dilatedmind··on Ask HN: How to learn best practices when you have no one to teach you?
Keep things simple and idiomatic. Use dependency injection and hook everything up in main. You should be able to open up your code and understand what's going on just by looking at this setup.

Your public apis should be based on the shape of your data. I would prefer postgres over mongodb because your data probably has a schema.

If you have the time, learn some other languages. Each language has their own ecosystem where problems are approached slightly differently. You'll pick up patterns and be able to apply them to your work. I would recommend elixir, which has a very focused ecosystem and a standard library with well thought out apis.

dilatedmind··on You don't need that Bastion host
Some misinformation here. Using a bastion server does not prevent you from using your tools. Use ssh to setup tunnels that forward through your bastion server to your internal servers and then connect through the local port.
dilatedmind··on CEO Shoots Self to Test Bulletproof Jacket
If the clothing is functional, stylish, and priced right then why not?

You can think of them as being just another clothing company. If you had the option for your normal clothes to be bulletproof with no downsides, who would opt out.

dilatedmind··on Ditching Windows: 2 Weeks with Ubuntu Linux on the Dell XPS 13
How is your battery life?

I also installed ubuntu on my xps, and I'm only getting about 2 hours max, although I always keep it plugged in, so it's not a real issue for me.

As for hardware issues, I had to download wireless drivers, which was a slight pain since there is no ethernet port.

I was able to get my video card working with optimus, but that wasn't non trivial.

I wound up disabling my track pad and using a mouse since I couldn't type without the cursor doing something, and it seems like one of the trackpads buttons broke after a days use.

dilatedmind··on OpenBSD's unveil()
Would unveil and exec on the target binary work as intended?
dilatedmind··on Amazon private label brands are quietly taking over Amazon.com
I've found that ordering products through Amazon is a much better experience then ordering through a company's own website.

One click ordering, reliable order tracking, and faster shipping times.

I recently tried to purchase a pair of shoes from steve madden. They canceled my order without even notifying me, and I didn't notice until I checked my order status. Turns out they were failing to process my payment, and they couldn't even explain why.

They also sell through Amazon. One click later and I'm getting the same product faster and cheaper from the same seller.

dilatedmind··on Keybase’s browser extension subverts its encryption
I feel like it would be best to avoid using their extension, but I am more concerned with the features and security of their core products.

And I would think it is analogous to running kbfs on a machine with a virus or keylogger.

And one nice thing is your root key is still protected by a paper key which you can physically secure, and use to de auth any compromised device keys.

For the casual user who is just getting into keybase, social integration like this may be worth the risk in order to help onboarding new users. Once they start seeing the real benefits of using keybase, they can delete the extension and still make use of the good stuff.

Finally, keybase is open source right? They are a small team and might not have the resources to improve the extension, but just getting the first iteration out there might be enough to attract contributors who see its value and can improve its security.

dilatedmind··on Keybase’s browser extension subverts its encryption
if you are going to encrypt a message, it must at some point be input without encryption. Just like you wouldn't type a sensitive message with someone looking over your shoulder, you can use common sense and limit use of this extension.

Keybase is fantastic.

i've been using keybase for 2 years now and have had no issue accessing my files through kbfs.

with keybase teams you can store secrets at rest and make them easy to access across your team.

the client loads 10x faster then slack and has nice ux.

dilatedmind··on Can you use the terminal for everything? [video]
I didn't watch the video but you could use youtubedl and then ffmpeg to display it on the framebuffer
dilatedmind··on Go 1.11 and Beyond
Not without either implementing it yourself or wrapping interface methods.

Go generate is like a manual step for having generics, I imagine one day soon its functionality or something similar will be part of go build.

In response to your particular example, a map plus a mutex seems sufficient.

I dig that it's a few extra lines of code, but I guess I'm looking for a really mean example.

dilatedmind··on Go 1.11 and Beyond
I am legitimately asking, it's not something I have personally had much issue with. If you have some compelling example, please share your experience
dilatedmind··on Go 1.11 and Beyond
When I think of generics i think custom data structures. Currently you are stuck with interfaces, but you can also wrap a library returning interfaces with methods operating on a specific type.

I would be interested to hear about use cases that couldn't be solved in this manner

dilatedmind··on The Bhikkhu Diet (2003)
Interesting, do you think a 2/3 beef diet would give some results

Were you grilling steak, how else can you prepare straight beef?

dilatedmind··on The daunting aftermath of releasing your dream game
shoutout to darkfall

http://www.sickenger.com/articles/the_making_of_darkfall/

- was the creators' dream game

- 10+ years in the making

- team lost funding, went without pay, and moved from sweden to greece

- not a commercial success

- best game ever made.

dilatedmind··on The Bulk of Software Engineering in 2018 Is Just Plumbing
my friend is a pipefitter in chicago, installing piping in a new 60 story building. plumbers make more than software engineers, when they have work to do.
dilatedmind··on Jane Street Puzzles
how about 3,6,14,28,60,120,248,496?
dilatedmind··on Jane Street Puzzles
for the first 8 im getting 1,3,6,14,28,60,120,248
dilatedmind··on Ask HN: How to survive as a homeless engineer?
Doesn't the eviction process take at least a month? How long will it take you to land a new job? It seems pointless to have to be homeless if you're able to land a job within a month or 2.

Are you in a position to borrow money? Maybe even an online lender like bestegg.

You could setup a bitcoin wallet and livestream yourself coding, I feel like a person in your situation is a kind of person I would be willing to donate to.

dilatedmind··on Ask HN: Pros and cons of working at a startup in 2018?
How does this differ from triplebyte?
dilatedmind··on The Decline of the MacBook Pro
i have both a mac book pro, and ubuntu running on a xps 13. the mac book has infintely better hardware: better keyboard, touchpad, screen, battery life.

I think the real issue is laptops suck. I would rather have a mechanical keyboard, real mouse, and a 24" screen at eye level.

dilatedmind··on Is K8s Too Complicated? 
within a cluster, service names are addressable, eg curl http://backend/api/whatever

I only glanced at your repo, but it sounds like you have an ingress problem. That is, you don't really have two pods communicating, but you need to hit your backend service from outside the cluster. Under the hood this is always accomplished with a node port on a service- a single port on any node in your cluster will forward to said service.

k8s has integration with cloud providers like aws to hook all this up for you, but all its doing is setting up an elb which load balances to that port on every node in your cluster.

← PreviousPage 2 of 3Next →