Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cyrusaf
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
cyrusaf
7y ago
The blog post is also available on Medium: https://medium.com/twitch-news/go-memory-ballast-how-i-learn...
2.
▲
by
cyrusaf
7y ago
Great article! I found the section on "GC Assists" very informative: > You can think of this like a tax that your goroutine must pay for allocating during a GC cycle, except that this tax must be paid upfront before the allocat
3.
▲
by
cyrusaf
8y ago
Sum types would add much needed compiler safety to returned errors and optional values. We often see nil pointer dereferences during runtime due to the usage of pointers as optional types.
4.
▲
by
cyrusaf
8y ago
It's very unlikely they store their passwords in plaintext. They were probably logging during login requests and didn't realize the whole request body was being logged. Can happen if you have a proxy/load balancer with loggin
5.
▲
Sonic. Loadtest any function in Go
(github.com)
1 points
by
cyrusaf
8y ago
|
0 comments
6.
▲
by
cyrusaf
8y ago
It's possible their truncate also restarted the sequence: "TRUNCATE TABLE users RESTART IDENTITY;" https://stackoverflow.com/questions/13989243/sequence-does-n... Although, I am confused about how s
7.
▲
by
cyrusaf
8y ago
This is not what happened. The tokens were mapped to user IDs and when people signed in, the db created new users which may have had the same IDs as old deleted accounts. When they restored the DB, these tokens pointed to other users and gr
8.
▲
by
cyrusaf
9y ago
Have you tried plantuml? http://plantuml.com/ https://www.planttext.com/
9.
▲
by
cyrusaf
9y ago
Hopefully these will be implemented soon by the community. Open source rules :)
10.
▲
by
cyrusaf
9y ago
HTTP 1.1 + json support for twirp opens up a lot of doors too. It's easy for the browser to natively hit a twirp service without the need for large packages such as https://github.com/improbable-eng/grpc-web .
11.
▲
by
cyrusaf
9y ago
HTTP: - gRPC for microservices - graphql for combining microservices for the frontend DB: - dynamodb/psql depending on features. aws-sdk or base go sql package. - redis for caching. go-redis package. Stats/logging: - statsd/g
12.
▲
by
cyrusaf
9y ago
I think you would be better off using more well known statistics for betting (ie. multivariate regressions, t-tests, etc..). These stats methods are less of a black box than ML (neural networks, etc..) so you'll be able to understand w
13.
▲
by
cyrusaf
9y ago
In person I use a thumb drive. You could encrypt the credentials using PGP and send it to a coworker if they are remote. Sometimes I just go on google hangouts and share my screen if I'm feeling lazy.
14.
▲
by
cyrusaf
9y ago
I don't see this as a comparison between Ryzen and Intel. He compares a custom built PC with a 2017 3.6 GHz 8 core Ryzen to an older 2013 2.3 GHz 4 core i7. He could have replaced his Ryzen CPU with a similar priced intel processor and
15.
▲
by
cyrusaf
10y ago
I think many would make the argument that not enough is being done environmentally and that more action needs to be taken. Cutting funding to the EPA and lifting restrictions are reversing the progress that we have made environmentally in t
16.
▲
by
cyrusaf
10y ago
I disagree about changing the track. It should be changed every iteration. If the track is not changed every iteration, the NN might develop to work in specific scenarios (only turning left for example) and when run on a different track, mi
17.
▲
by
cyrusaf
11y ago
I wouldn't be surprised to see it shipping with Chrome sometime in the near future.
18.
▲
by
cyrusaf
11y ago
butt stuff?
19.
▲
by
cyrusaf
11y ago
I'm curious as to why more WebGL games aren't popular? Is it due to the infancy of the WebGL scene or is WebGL just not capable of creating great games yet?
20.
▲
by
cyrusaf
11y ago
I used Polymer for a project a few months ago and I ran into browser support issues. Polyfills helped for most browsers, but my application wasn't working on iOS Safari. I'm not sure if that is still the case, but if so, I would c
21.
▲
by
cyrusaf
12y ago
I think it has to do a lot with moderation. If someone is going to take full doses of psychedelics multiple times per week, I have no doubt in my mind that they could go through serious mental health issues. But that is not to say that occa
22.
▲
by
cyrusaf
12y ago
Is it possible that the xbox/playstation servers are overloaded from all the new consoles? Or is it confirmed that both servers are getting ddosed?
23.
▲
Conway's Game of Life in JavaScript
(cyrusaf.github.io)
1 points
by
cyrusaf
12y ago
|
0 comments
24.
▲
by
cyrusaf
12y ago
You could use JS to make AJAX calls to PHP, since it has a JS library.
25.
▲
by
cyrusaf
12y ago
How is this technology so much more accurate than Microsoft's Kinect? That's awesome! I love seeing the new guy develop a better product than a old giant.