News for hackers. Stuff that matters.

hknd

I really want a heated cupholder now - how did I never hear for this before. This is a gamechanger.
Re:Ask HN: How is GME not a pump-and-dump? on Friday January 29, 2021 @07:09AM (#25956455)
Which will only get the price up for a short amount of time, it will be dumped after that anyway.

GME fundamentals haven't changed (much) - it's not worth much on paper, maybe $10, $20, $30?

Market behaves irrational rn, but at some point it will become rational again. And then GME stock will crash.

Re:Is Rust web yet? on Friday October 30, 2020 @06:46AM (#24940935)
https://webassembly.org/docs/use-cases/

TL;DR: - "almost fast as native code for web browsers” - in case you wanna do some expensive computing without a server - "Compiling Existing Applications for the Browser" - port existing code into the browser (eg cpp apps)

Re:Facebook News on Tuesday October 13, 2020 @10:47AM (#24766060)
wow :cry:
Re:Facebook News on Tuesday October 13, 2020 @10:43AM (#24766029)
Probably just re-using a footer component which wasn't updated yet
Re:Facebook News on Tuesday October 13, 2020 @10:40AM (#24765996)
Literally the first thought which popped in my head.
Re:MobX 6 on Friday October 02, 2020 @11:08AM (#24663414)
Most of the stores not long-life objects.

The current store holding most of the displayed data stays alive (while not switching to a different route), but everything else resets or gets recreated when needed. (no need to keep stores alive if they are not required or used)

Stores for specific "sub" views (think dialogs, tabs, collapsibles, ...) are getting created/destroyed ad-hoc.

Main Store for a specific view holds the current data (which receives updates via gql subscriptions ~every second), the current filter which is applied to it's children (only show Apple related securities) and currently visible/hidden state of any children.

User/App/Global related attributes which don't change often are stored in a globally available object (and is easy for us as users don't log out or anything)

Re:MobX 6 on Friday October 02, 2020 @05:32AM (#24660729)
We used to have that but moved to an approach with multiple "rootStores" per self-contained route (sometimes we have more than 1 root store in such a scenario).

But we also have multiple smaller stores which are not connected to the root store. Think: multiple not-connected trees where each node is a store.

I must agree that both approaches have pros and cons, e.g. passing down data down a long path of stores is annoying.

Re:MobX 6 on Friday October 02, 2020 @04:32AM (#24660403)
Mobx is not a global state, you can create your stores as granular as you want them to.

Each widget can have a store, each section can have a store, each view can have a store, etc. You decicde what works for you.

(I use mobx in a large and complex trading application)

Re:Google Services Experiencing Disruptions on Friday September 25, 2020 @03:50AM (#24587579)
The status dashboard is something which will be updated by an operations employee manually (yes by hand), who is a couple of layers behind the actual SWE/SRE who gets the page.
Re:Google Services Experiencing Disruptions on Friday September 25, 2020 @03:50AM (#24587577)
Google has multiple internal alerting systems and people are aware of any disruption/delay/anomaly from the minute it happens.

The on-caller for the specific service decides on how to produce.

The status dashboard is something which will be (manually, yes by hand) updated by an operations employee, who is a couple of layers behind the actual SWE/SRE who gets the page.

notion.so
Re:Linear – A fast issue tracker on Tuesday June 30, 2020 @05:24PM (#23694961)
Finally a simple issue tracker - I was waiting for something like this for ages.
Re:Reading habits that changed my life on Wednesday May 27, 2020 @05:40AM (#23321155)
Haha, same - this is so frustrating.
Re:Uber cuts 3000 more jobs, closes 45 offices on Monday May 18, 2020 @11:31AM (#23223625)
Anyone know from the inside how this affects stock vesting and pre-IPO stock options?
Re:Ask HN: Is Inbox Zero worth it? on Wednesday May 13, 2020 @12:48PM (#23168827)
I got introduced to this in my first week at Google and using this for multiple years now, with multiple work accounts and multiple personal gmail accounts. (multi inbox, labels, filters, aliases, etc)

Can't think of going back tbh, really like it. One think I'm doing is checking emails quite a lot instead of just once/twice a day tho.

Re:Ask HN: Which products are you least proud of? on Wednesday May 06, 2020 @05:59AM (#23089367)
Using ExtJS for a couple of finance web apps ~6years ago.
I like using firebase (auth, firestore, functions) as it's kinda easy to use which makes me get stuff done.
We are happy with using jamboard.

https://jamboard.google.com/

Re:Google Meet premium video meetings–free for everyone on Thursday April 30, 2020 @05:53AM (#23029170)
no it's always optional - they recommend adding one to be able to retrieve a lost/hacked account
Re:Things I wished more developers knew about databases on Wednesday April 22, 2020 @11:02AM (#22946275)
I used to write SQL at Google/FB, and I did and still do struggle with it.

I think it's because I usually touch SQL like once a month and by the time I need it I already forgot everything :shrug:

It's the same every year: learn and completely understand the basics - the rest will follow.

If you know how latest react works you don't need redux or rxjs as hooks can solve most problems in a reusable way.

Example: https://github.com/oldboyxx/jira_clone

Re:ZEIT Is Now Vercel on Tuesday April 21, 2020 @05:22AM (#22933337)
"ZEIT is now Vercel. This new identity aligns with our new focus — to provide the ultimate workflow for developing, previewing, and shipping Jamstack sites."

(╯°□°)╯

Re:Ask HN: How do you onboard new hires on codebase? on Monday April 13, 2020 @04:12PM (#22859522)
Let them setup an environment s.t. they can work on the codebase - help them, but also let them document it for the next person (or update existing documentation).

Give them a high level overview of architecture and best practices.

Let them work on very small features/bugs (update text, fix small issues, ...) s.t. they learn the process end-to-end without spending much time on code.

[^ everything until here could be done without human explanation if you have solid documentation and codelabs]

Give them small features to work on s.t. they can own part of the codebase.

Older »