Better HN
topnewbestaskshowjobs
Log inSign up

sushshshsh

733 karma · joined May 27, 2020 (6y ago) · 501 submissions

Submissions

comment 5y ago · link · parent

For me, the price of interaction is not worth the risk. I've never seen a time at work where speaking about literally anything has gained me something. And the risk of saying something someone else doesn't like is too big and too impactful on my career.

comment 5y ago · link · parent

Reliable no, but difficult to access via a REST API yes

comment 5y ago · link · parent

Which is probably the reason they were not compromised.

comment 5y ago · link · parent

I largely agree with the writer. What I think we are experiencing is library fatigue, not javascript fatigue per se.

How do I know? I love writing pure js functions every day in my free timw

comment 5y ago · link · parent

For anyone who'd like to help, crack open that text editor and make a string based js html version of the game. No need to mess with graphics and html canvas when a string based prototype is sufficient

Also use keydrown for handling arrow/WASD inputs and setInterval(draw, 33) to draw the scene at 30 fps

Good luck

comment 5y ago · link · parent

We're all unfamiliar with assembly and electrical engineering too right, should we all invest the time to learn how to program bare metal? Only when the performance is needed, right?

comment 5y ago · link · parent

I find that I can solve most of my jira tasks in 10 mins with string.length and string.charAt()

My estimated time to completion with regex is literally undefined

comment 5y ago · link · parent

Seems like my company is where fun goes to die then

comment 5y ago · link · parent

What happens when freeloaders show up? Perpetual energy?

comment 5y ago · link · parent

Hehehe... appreciate this answer. I wouldn't mind writing my own JSON parser because at least I can reason about how the code works, the only context I need is my language's syntax and not someone else's design assumptions :)

11.

Ask HN: Are there any companies that avoid too many dependencies/services

2 points · by sushshshsh · 5y ago · 2 comments

comment 5y ago · link · parent

according to that famous internet law about questions, "no"

comment 5y ago · link · parent

In our country, less than 10% of murders are between people who do not know each other. And if you do not live in the specific bad neighborhoods that account for nearly all of our murders, then our crime statistics are literally the same. My town of 100,000 had 0 murders last year.

If you are able to solve the problems plaguing both East London and West Baltimore, I'm all ears, however it seems the war on murder will rage on

comment 5y ago · link · parent

Several people per month are still shot in the UK. The guns are smuggled in through ports, much like drugs

comment 5y ago · link · parent

What about criminals who choose to use guns whether smart or dumb?

comment 5y ago · link · parent

Why would I care about the damage done to my car if I'm knowingly paying for liability only on a sub $2000 car? When physics takes the wheel, I can't control who else I hit and how fast

comment 5y ago · link · parent

Yeah, $50 a month for liability insurance always felt like a really fair deal to me. Pleasantly tolerable fee for a day where my car hits black ice and physics takes the wheel

comment 5y ago · link · parent

Probably a domain and web hosting registrar like namecheap with statically hosted html and css. If you are proficient at displaying high resolution images, then that is probably all thats needed for the average visually appealing website

comment 5y ago · link · parent

Why would someone pay a 4x multiple on a site that probably wont be making anything 4 years from now? (4x being a rough estimate of the buying price).

That's 40 grand that could be used on traffic to the new site

comment 5y ago · link · parent

How'd that work out for fox when they bought myspace?

comment 5y ago · link · parent

I'll code you a competitor for much less than that person would charge, if they are even willing to sell :)

comment 5y ago · link · parent

2 more leavin NY right here. Hello Florida and Colorado airbnbs

comment 5y ago · link · parent

Based. "That's just an edge case. Our customers love this service!"

It's like going to a restaurant that uses bottled water instead of tap water, and they dont provide an answer as to what the benefits of bottled water are

comment 5y ago · link · parent

NYC is smoothed out by a population of millions of people. Take a look at DC... Take a look at the average small American town. Most have 0 murders, or 1 or 2. Not everywhere is like Chicago and Detroit with hundreds of murders a year

comment 5y ago · link · parent

"Europeans" (everyone from Ireland to Moldova?) are constantly talking about how safe their countries are, but the reality is that in America, not everywhere is Detroit or Baltimore. You guys are literally falling victim to fake news.

The average small town will have a maximum of 1 or 2 murders per year. Cheyenne has only 60,000 people.

comment 5y ago · link · parent

Europe! Deweaponized! HAH!

Compare the murder rates of Detroit MI, Cheyenne WY, London, and Shanghai, and then tell me which city has a weapon problem and which city has a culture problem, or both!

comment 6y ago · link · parent

  i = * (long * ) &y; // evil floating point bit level hacking
  i = 0x5f3759df - (i >> 1); // what the fuck?

comment 6y ago · link · parent

That's correct, though there was plenty of other asm and bit level evil graphics voodoo that made quake able to run so fast on consumer hardware a few generations earlier than if they were stuck using slower division:)

comment 6y ago · link · parent

Insert obligatory reference to the fast inverse square root calculation which, thanks to its ability to more quickly generate (1/x) by using a bit shift with a magic number 0x5F3759DF, allowed performant lighting calculations for use in games. This number was known for this purpose for long before Quake (shout out SGI), but was popularized for the first time there
12345
17