skysight-inc/HackerNews huggingface dataset:
If you had a 100% stock allocation for your 401k, you still would be fine, provided you picked broad market indexes. In fact, you'd have beaten most other portfolios.

It's not that 100% stocks doesn't give you long term return, on a 30 year spread, it gives better returns (although more volatile) than more balanced portfolios. 10% bonds, while you're young, is mostly just to keep you from freaking out and selling at a low point. If you have an iron will, there's nothing mathematically wrong with that level of risk.

My guess is there's more to this story than poor allocation.

Some really good Bogleheads discussion here:

https://www.bogleheads.org/forum/viewtopic.php?f=10&t=196011
Ask HN: Any good articles on hash function design?
I'm interested to learn about how the internals of hashing functions are designed. To me, in my cryptographic ignorance, merely using modulo operation is sufficient for making something irreversible. But clearly there are many things to keep in mind and I'm very interested in how it's done.

Has anybody come across any good resources on how famous hashing algorithms were designed? Anything from MD5 to bcrypt.
I believe that there is still only one thread executing your code. Now, depending on the SynchronizationContext that thread may change. If your I/O request completes on another thread, the default synch context for console apps just continue on that thread (avoids a context switch and thus more effective).

For UI threads (WPF, WinForms) it is essential that the code continues on the original thread. This the synch context used in WPF/WinForms will post the continuation on the original thread once it becomes available (thrugh the big message loop).

For ASP.NET threads, requests are processed from a thread pool. The ASP.NET synch context IIRC will schedule continuation on any ASP.NET managed thread.

So yes, you may see your code (esp. in console apps) executing on another thread after an async call, but that does not mean that .NET schedules your tasks on a thread pool. There is still only a single thread of execution at any one time, until you explicitly use a thread pool (e.g. Task.Run)
Ask HN: Are you using Kafka or any data streaming system at work?
Are you using Kafka or any other similar data streaming technology at work? If so, why do you use it for? Any use case you'd like to share with us?

Thanks!
There wasn't a WTO and there weren't international trades laws, in the 1800s. Even then he wasn't working as an arm of the US government to deliberately steal IP to surpass the British empire technologically, which is what the Chinese are currently doing
You could also look to start your own business to not require the approval of any hiring committee. Customers are not going to care, and you can probably get them to buy into your product/service without them even knowing much about you, let alone your age.

The difference between being hired into a business and working on your own is that you'll have to create stability on your own, but the benefits seem worth it.

Making a change like that probably takes time to adapt, but fuck me if I ever fail to make use of the skills I've honed throughout my whole life and that I know are useful for people. One just has to bridge the gap between what one can provide and what people need. If someone gets in the way of that because of their own misjudgments, sidestep them and prove them wrong!
Second that. I came here to say the same. Been enjoying Hellosign as a paying/free customer for years. Absolutely love their product.
I don’t comprehend the romance of journalism like the parent comment, especially in light of a Harvey Weinstein scandal which revealed he had a payroll of journalists. These are people that are profit motivated like any other human being, and will often kiss the ring rather than shine light upon it.

Idealism often dies when people start owning larger personal responsibilities.
If he started in the eighties and contributed even a third of the limit, he'd be quite wealthy now even with the setbacks you mentioned. I've only been contributing since '07 and I'm at nearly $700k in my 401k.

Now, the information wasn't as easily available about how to properly invest back then, and I don't necessarily blame the guy for it. Not necessarily, but there is still probably a better than even chance that he has mismanaged his money, as so many do. Doesn't mean he should have to suffer, though.
For most things, feel free to reproduce patented parts for your own consumption, just don't give them away or try to sell them.
Famous Russian painting recovered after brazen daytime heist
Youtube has a similar problem, It's almost impossible to figure out who the hell is actually streaming a specific game, search for streams, or even when the people you are subscribed to are streaming.
I mean, thanks for the more detailed explanation, but it doesn't make it sound any less unethical (to not say "criminal" in a colloquial way).
But: "does anyone else not open Snapchat anymore? Or is it just me... ugh this is so sad." -- Kylie Jenner, moments before she caused Snapchat's stock price to tank.
There is a serious lack of theory of mind going on here.
Cassette and vinyl sales are both up - but still represent a tiny fraction of music sales - vinyl
Is about 3% or 4% of sales in the UK.

As regards comparing consumption to sales: this is a fairly standard “equivalent” used in the music industry.

I’m unclear on what else you are saying. You say “so-called ‘streaming’” but why is it “so-called”? It’s pretty clear that the market has shifted to access over ownership or “so-called ‘streaming’”. Subscription streaming services are growing rapidly year-on-year. The stats are easy to find - perhaps the author didn’t feel it was necessary to quote numbers that are fairly widely discussed in mainstream and specialist media.
Thank you. Yes, please give me an example on a few functions from: https://github.com/Tygs/ayo/blob/master/ayo/scope.py
As much of the discussion has diverged from the post to standing desks in general, I thought I would throw in my own anecdotes.

I got a standing desk frame in 2014 and added my own desktop and monitor stands. You can see what I did here:

https://www.michevan.id.au/posts/sit-stand-desk/

I've found it to be really good for me. I tend to sit most of the time, but stand while working for an hour in the morning, and an hour in the afternoon. (Little "Stand" and "Sit" reminders pop-up on my computer to keep my on schedule.)

It would be nice to have position memory like the controller in the post offers, but is not a big issue (given this is not a shared desk). A nice-to-have but not a deal-breaker.

If you are going to adjust the height regularly, motorized is the way to go. You want to eliminate any disincentive that makes it that little bit harder and makes you think, "I wont bother today." Cranking a handle included.

A standing desk with a "tall chair" isn't that ergonomically friendly as your feet are either hanging or on the little foot stand of the chair (if there is one). I like to be able to vary my position more than that to remain comfortable.

Side-note: I also have a presence sensor on my desk - https://www.michevan.id.au/posts/are-you-there/ - which includes a switch to tell if the desk is in sitting position or not. In theory I could collect data on how much time I spend at my desk and in what configurations, but I still haven't got around to properly setting up my MQTT server and such.
An interesting 2016 article about Snapchat's confusing UI - "How Snapchat Built a Business By Confusing Olds" [0] and HN discussion [1].

> Compared with Twitter or Facebook, Snapchat can seem almost aggressively user-unfriendly. If you’re new to the app and looking for posts by your kid, your boyfriend, or DJ Khaled, good luck. It’s hard to find somebody without knowing his or her screen name. This is by design. “We’ve made it very hard for parents to embarrass their children,” Spiegel said at a conference in January. “It’s much more for sharing personal moments than it is about this public display.”

[0] https://www.bloomberg.com/features/2016-how-snapchat-built-a...

[1] https://news.ycombinator.com/item?id=11217075
In today's world of agile development, I haven't met any project managers worthy of anything. I feel that strong product managers are capable of managing development as well. I can't believe there are actual people getting paid to move JIRA tickets around full-time.
BuzzFeed will pay out unused PTO to laid-off employees
The new module system for Haskell (GHC, to be precise)

https://ghc.haskell.org/trac/ghc/wiki/Backpack

https://plv.mpi-sws.org/backpack/backpack-poster.pdf
It is well known in the optical networking space that Huawei stolen the entirety of Nortel's DWDM proprietary data and research, and used it to build their own dwdm platform product line.
If Apple execs conducted espionage on behalf of the US Government, they should be targeted. The concern is, they don't, but they will still be targeted.
Great tutorial about Node.js modules
It wasn't a great experience, but I personally felt like the outage was a loud overreaction from the community. I guess that the circumstances were perfect for outrage: Facebook is not likeable, it's a big change from twitch, and Facebook paid for exclusivity. I was fine with watching the games on Facebook, and part of me wishes they succeeded so that we wouldn't have a twitch monopoly.
PHYS771 Quantum Computing Since Democritus
Ask Uber how hard it is to change the culture once you're on top.
So here's some hiring anti-patterns I've seen, it's not just millennial managers, but I've seen these patterns in lots of companies and interviews.

1. Managers that want to hire people they could be best friends with. Drinking buddies, social media socialites, etc. Don't confuse this with hiring their best friends, they just feel more comfortable around people that they could socialize with.

2. Managers that don't want anyone to undermine their technical authority. And the best way a manager with 5 years of experience can keep his authority is to not hire an engineer with 20 years of professional experience.

3. Managers that think the culture of a company would turn more boring if they hired middle-aged workers. So they must hire young people only. They can usually get away with it if they hire 80% college graduates mostly.

4. There must be something wrong with the person if he didn't get into management by the age of 50.
>But if this is just a bargaining chip to be exchanged for a few worthless face-saving trade deal "wins" for this administration, it will be disgrace

If letting one person off the hook can benefit all americans through better trade, how is that a disgrace?

China has apparently offered to balance the trade deficit with the US within 6 years

https://www.bloomberg.com/news/articles/2019-01-18/china-is-...

their economy is also tanking rapidly based on what their government can't cover up, the quarterly reports of US companies

https://www.bloomberg.com/news/articles/2019-01-28/nvidia-cu...

So by basically any measure the US is winning the trade war
Yet another example of the DMCA being completely, insanely imbalanced in terms of power for those issuing take-downs, call me when anybody at ESL goes to jail for perjury.
I don't have any insights into how Facebook screwed up here, so speculating is dicey. That said, this pattern of BigCorp doing product "B" which is supposed to the the same as product "A" which is popular and from someone else, and failing miserably at it. That is a fairly common pattern. I have seen it happen at two separate companies where I worked and in both cases it was an edict from "on high" that there be a competitor product created, but nobody on the management team (and in one case the engineering team) had ever used the competitor's product, or understood why someone would use the product. The result was a product that checked all the same boxes but without any of the execution touches that made the product successful.

I could imagine someone at Facebook said, "Hey, look how much screen time Twitch gets with our users, we should do something to make that Facebook screen time instead. Let's make a Twitch clone, how hard can it be?" And gave it to a development team that had no idea why someone would spend time on Twitch. Google was pretty infamous for doing this (how many IM systems have they built now? 8?)
we should also have our kids in a good school which costs a ton of money is america, either in form of expensive house or private school. then we are supposed to pay for college. we are supposed to have good health insurance for our family. there are a lot of things we are supposed to do and not everyone can afford to do them all.
I'm a (relatively) young developer, and I already worry about it.

I enjoy and love working with new tech, I jump to new frameworks and ways of working quite often because it's good fun. I don't think that'll ever change.

I'm already worried for the day where I won't be able to do that because people won't perceive me as a young, hungry up and comer wanting to attack problems, and instead they'll see me as an entrenched, slow, older worker trying to tackle stuff best left to the young'ins.

When that day comes, I can see myself just setting my roots in a long term role in a particular tech that won't change, and I'll probably be bored out of my skull. I can envisage myself ending up going into management just to escape that.

The best teams I've worked with were the teams that had a mix of young and old, it balances a team the same as having a good gender split imho.
Wait, hold up. Ogame is still popular enough that you have a good userbase for this?
Can someone explain how or why these are any better than a Jarvis despite being $100+ more expensive?
I'm in the market and don't really see any major differences.
I'm a consultant in my 30s and I worry about my 50's and 60's. I feel like, if I don't get a recurring revenue product going that sells itself without the trade of time for money, I'll be totally screwed. I've tried and failed a few times on various projects, and it feels like time is running out. There are definitely fewer attempts left in me and it takes a hell of a lot of energy to stay positive and try all over.
> Google was pretty infamous for doing this (how many IM systems have they built now? 8?)

Don't get me started. I think my Google Voice / Hangouts account will be deprecated soon, or has been, and will be eliminated, or maybe not. It's not clear. It never is.
Stealing trade secrets and technology has historically been very common among developing nations (the US included).

https://www.pri.org/stories/2014-02-18/us-complains-other-na...
Should, not do.

The household savings rate in Canada is quite awful [0], and is currently at the lowest rate in their recorded history.

The US, where household savings are known to be bad, and it was recently seen how awful it was with government workers unable to pay for food, is at 6%. Canda is 0.8%.

[0] https://tradingeconomics.com/canada/personal-savings
Remote work too. Your employer doesn't need to know your age.
By graceful exit, do you mean Smith and Wesson retirement plan ? I think it's still better to become a street beggar.
what caused you to write this library? do you believe it will be used for nefarious purposes?

thank you for open sourcing your work
Just a correction, my example was from a zsh plugin which imitates a built-in fish feature. Also, said feature is different from ctrl+r, which all 3 shells still have.

This one suggests possible completions as you type, so it's a passive feature, compared to ctrl+r which is more active and requires explicit action to work.

And yes, I agree that the whole purpose is to write faster, not to write smarter. I'd maybe add cleaner too, because unless you auto format your code, people often don't write the best by default.
>this is a simpler explanation for the observed phenomena (apply occam's razor here). certainly more than one explanation might conjointly apply, but yours is the more complicated explanation and thus implores more observation and measurement.

And I thought Occam's Razor as guidance made the basic physics of the joints making wobbling unavoidable was the simpler explanation. I think we have different exposure to this product. I actually examined this desk at the store. If you look at the pdf[0] of the assembly, you'll notice 2 bolts that attach the pedestal to the posts. It doesn't matter how much one tightens the bolts because when you extend the desk past 40 inches with a heavy weight on the top (20+ pounds), that T joint will flex and deform. (See 1st video I cited for example).

As analogy, here's example of unstable weight distribution on the end of a joint (car and trailer): https://www.youtube.com/watch?v=6mW_gzdh6to

One doesn't need to examine 1000 different cars towing a heavy weight on the back to determine that it's unstable and will fishtail. The basic physics of the configuration will make it fishtail. That's the type of Occam's Razor I'm using. Yes, there will be variances in how the trailer hitches were installed to the vehicle, and also variances in the trailer ball diameter -- but those are not the dominant factors. To continue the analogy, some drivers with misconfigured weight distribution may not notice any fishtailing because they drove slower than 40 mph, or they didn't make any sudden steering overcorrections etc. Same situation with some desk users reporting no wobble by using it a shorter height, or placing it against the wall, or just not subjectively noticing it.

If one makes a desk that lets people put 20+ pounds at the end of a 40-inch extended pole that's attached to 2 bolts -- without triangle stiffeners, or welds, or cross-bracing, or whatever, ...it's going to wobble at least little bit. Based on hands-on experience with the desk, I contend the underlying physics of the assembly design overwhelms any deviations in manufacturing tolerances. Or put another way, if we consider the entire Gaussian distribution of manufacturing variances, all of the desk samples will still exhibit wobble to some degree as shown in the 1st Youtube video. Some may wobble less; some may wobble more. E.g. the telescoping cylinders (not CNC milled) that the users do not assemble may have variances that add to the total wobble.

I noticed others in this thread mentioned that the newer IKEA model IDASEN "solves" the wobble. (Or minimizes it.) If we look at its alternative design[1], lo and behold, we see that desk has added diagonal bars on the legs for extra support. Yes, it makes sense that structural triangles are stronger and stiffer than just 2 bolts fastening a T joint of the BEKANT.

[0] https://www.ikea.com/us/en/assembly_instructions/bekant-sit-...

[1] https://www.ikea.com/us/en/catalog/products/S29280934/
Did they ever plug the adb screen capture hole?
It sounds like layout is your primary problem (as it is most people's). You should view (the layout-specific parts of CSS) as a layout description language, which is a class of languages you've never worked with before, and so something that requires significantly more time investment than just learning a new syntax (e.g. JavaScript). My guess is you haven't put in that amount of focused study, so naturally it doesn't click for you.

This is not to say CSS doesn't deserve any blame--it's a bad layout description language, as evidenced in part by the fact that the recent grid+flexbox additions are much better (where supported) than old-school CSS.
Yep. Also, most companies won't hire people who are massively overqualified for unskilled [or lesser-skilled] positions. In fact, many managers view unused skills as a waste [e.g., in the "Lean" philosophy / cult, it's called the '8th muda or waste'] and are specifically wary for that reason among others.

now of course, it's not always interpreted as a negative incentive to hire certain folks due to their having skill A, but instead to use skill A if someone has it -- but I have certainly heard it interpreted as one of the reasons to avoid overqualified candidates].
Hey Facebook... If you're listening. For only $100M I'll launch a video feature and I will guarantee the same number of users for 1/10th of the cost!
This is the best of both worlds, thanks!
How Many Managers Will You Need This Year?
This is sometimes called brain rape, and here's an obligatory Silicon Valley scene about it - https://youtu.be/JlwwVuSUUfc
not sure why all the snapchat hate, my friends all use it as our go to messaging app. i dont need years of inane conversations all archived for all time on my phone, also they have the best sticker emojis
Greater NYC Area.
Ask HN: NET Core a Viable Alternative to Django and Rails?
I've done a fair bit of web development in Django, Rails, and Laravel, but recently have been working on some C# desktop applications. I've found C# delightful to use. LINQ in particular is absolutely wonderful. I was wondering if anybody has experience with using .NET Core as an alternative to Django et al? I love almost everything about Django, except for the lack of static typing due to Python. I would like an ORM that offers composable queries, migrations, and a built-in administration interface like Django offers.
If you don't sell the lows, a portfolio would still be up a lot over that time period.

I think even buying at the peaks you'd be up.
For those that are interested in what else the Royal Society archives hold, I wholly recommend the Objectivity YouTube Channel (https://www.youtube.com/channel/UCtwKon9qMt5YLVgQt1tvJKg) created by Brady Haran (of Periodic Videos, Numberphile, Computerphile, etc.)
For what it's worth, last time I checked pretty much every host on lowendbox is a customer from ColoCrossing (the owner of the site, data center owner) and there's recently been some shady stuff happening over at LowEndTalk (basically forum side) of spammers and other hosts being unbanned by CC (as they own both sites, and operate LEB, LET is mostly operated by volunteers) , and just recently one host offering 3 year amazing deals, similar/better than what you got, operating for little over a year and little bit after BlackFriday where they again we're selling their 3 year deals just completely closed shop, almost without any communication, and CC deleted any mention of them from LEB.

Not exactly saying your host will do the same, but there's a reason almost all the hosts offer same locations (NY, LA and Chicago), and those specs with that price (even without discount) is unbelievable cheap, maybe too cheap
Sure, but are they backed by the FDIC or anything equivalent? (no) What happens if they are compromised? (your money is gone forever).
Why would it be illegal?
I only ever knew about it because, for a time, there was a dedicated tab in the FB app for it. And that tab ALWAYS had a 'new notification' red dot overlaid. Every single time. So obnoxious. They did the same thing with their 'Marketplace' and it's been the number one thing that has caused me to no longer even pay attention to any notification icons (within the app; notifications outside the app I had turned off long ago) from them.
That's a pretty huge flaw. Millions if not billions of people can suddenly remotely spy on almost any other ios or mac anywhere in the world, just by knowing their email address or phone number?

Perhaps Apple should simply pull the plug on the facetime servers for now.
More complex, requiring much greater cognitive resource, “larger”.
HelloSign also has a history of excessive price increases.

We were using this in our app when it suddenly became ridiculously cost prohibitive to do so, so we had to remove it.
Do you say that from experience? I've always wondered how the legal stuff works in remote work, including, for example, international workers. I mean, how anonymous can one be in one of those jobs?