skysight-inc/HackerNews huggingface dataset:
Not much. There is the top down and bottom up approach. Classic memoization (top down) needs the full past results to be cached. But sometimes you can save memory by doing it bottom up and only using the previous result of the smaller problem to get the larger problem.

In most interviews you should be good by just doing top down, which is more intuitive. But sometimes the bottom up approach will be the follow up question.
>> The only reason I want it to succeed is because I own stock from when I worked there.

I know the feeling as I HAD the same situation with amazon. The problem with such thinking is that yes you'll make some money off of it by enhancing human misery but when I sell the stock I will still be a human being.

Fortunately, when you are not a part of the company there is a easy justification to sell, its that you are no longer have a 'better sense' than market about the direction of the stock. so for me the question then becomes of the universe of stocks available out there why hold on to this (& if you have a good reason then why not invest more of your 'own' money into it). IMO its just endowment effect.
> ... then neither should the hate be justified?

The hate is because they collect so much data, and share and sell it so carelessly. Google collects at least as much data, for sure. But as far as I know, they just monetize it through their ad services, and don't actually provide it to others.
Apple's Privacy Matters Ad
Pytorch is great. Best thing to come out of Facebook IMO.
Honestly? Yeah... It basically is.

This is harder than it sounds though.

DP problems tend to be solvable in only a couple lines of code, but the tough part is deciding what to recurve on, and what to memoize.
Maybe I'm just not level-headed enough to have noticed, and/or unusually lucky, but I have to say that none of this resembles any of my experiences of ordinary employment.
This might be a ridiculous question but I'm looking for a way to do windows C++/C# development from a mac. Is there any chance this might allow such a workflow? Unfortunately, I need to access some pretty low level dll's that are not cross platform compatible at all.

I use a mac for all other development except for this project. I have nothing against windows, just looking to simplify my development workflow across all projects.
Google employee calculates pi to record 31T digits
[1] Canada blamed for India's 'peaceful' bomb [Radio broadcast]. (1974, May 20). In As It Happens. Ottawa, Ontario: Canadian Broadcasting Corporation. Retrieved March 14, 2019, from https://www.cbc.ca/archives/entry/1974-canada-blamed-for-ind...

[2] Perkovich, G. (2001). India's nuclear bomb: The impact on global proliferation. Berkeley, CA: University of California Press. <https://books.google.com/books?id=UDA9dUryS8EC>

[3] Ramana, M V (2012). The Power of Promise: Examining Nuclear Energy in India. Penguin Books Limited. <https://books.google.com/books?id=5m8Atq0ncrwC>
I've done a lot of programming contest stuff, and at least when speaking casually, I've always heard DP as referring to either the top-down approach or the bottom-up approach. They have their tradeoffs (though usually top-down is better because it's easier to implement), but they're both DP. It may be that you're technically not supposed to use the term "DP" for the top-down variant, but in practice people use the term to refer to both.
Fortunately, the problem minimally affects SQL.

https://stackroboflow.com/#!/question/21712
https://stackroboflow.com/#!/question/21690
https://stackroboflow.com/#!/question/5959
https://stackroboflow.com/#!/question/27941

Looks about right.
I got the impression that ebay employees understand how issues with their platform can result in real people having trouble putting food on the table.

Comments like some above make me think that facebook outages maybe aren't taken as seriously as they should be.
The point is that it's a lot more people than a couple of plane crashes.
Canadian Software developer

Salaries in USD, before taxes, including lack of bonus.

- 2010: Dropout

- 2011: $0

- 2012: $33,000

- 2013: $36,000

- 2014: $39,000

- 2015: $42,000

- 2016: $45,000

- 2017: $55,000

- 2018: $0 (startup)

- 2019: $0 (startup)

What the hell am I doing with my life? I consider myself pretty damn good too. The "startup" isn't going anywhere.

I think I'll go to university. Maybe in 4 years I'll be able to earn $150,000...
Without regulatory oversight and third party auditing of certified access logs, you can't really be sure what was or was not accessed. Of course, if you imposed those kind of requirements on Facebook, that would take a significant amount of resources and therefore reduce their profit margins. Probably not very investor-friendly.
I would also recommend Season 2 of Tides of History podcast series.
Yeah that doesn't really cut it for remoting over the internet into a VM in the cloud. As far as securing this it's as simple as tossing a few lines into your reverse proxy config.
> What is the compelling argument against paper ballots?

To play devil's advocate...

Paper is just a medium. With apologies to Claude Shannon, critical properties of information are best ensured through secure protocols, not by picking a particular medium.

E.g., if the property you want is security, encryption is more provably secure than invisible ink. The properly encrypted message can be stored on paper, radio, magnets, or neurons, it doesn't matter.

The properties we want from ballots are somewhat uncommon and therefore very unintuitive. They are still properties of information. Availability and deniability simultaneously? (So you can personally confirm, but never provably sell your vote).

We could design a cryptographic protocol to meet those unique design goals. But not using paper alone, because the math would be too hard.

Paper appears to guarantee availability and privacy, just as invisible ink appears to guarantee security. In practice, each often fall short. Ballot boxes disappear. Absentee ballots travel through the postal system, which is a bit like blasting one unencrypted UDP packet and hoping for the best. No individual can take their paper ballot and later confirm how it was counted.

You could do these things with electrons though. It would require some fast math, like almost all useful protocols in information theory.
that's because the point is to signal that they're only tolerant of progressives. see also the definition of hate speech that covers a sincere and common religious belief.
Software development is a huge professional field, with people doing all sorts of things, in all kinds of companies. A bunch of numbers pulled off of the international forum (HN) with such variability in job descriptions and levels, is just that - a bunch of numbers.

I want to be helpful, but simply throwing the number around is not it.
Legally, yes, you also have the right to do this in iOS.

Unfortunately, Apple often disagrees. They have tried to make multiple frivolous lawsuits against people doing exactly this, over the years.

Sometimes it doesn't matter what your rights are, if a company is willing to spend a bunch of money trying to submit illegal lawsuits to bankrupt you.
1. Solutions are typically written bottom up

2. The meat of the problem is understanding how to formulate it such that this "recursion" is possible.

Point two is often non-trivial so your "just" -- while technically correct -- isn't true in practice. If you solve a variety of medium and difficult DP problems, it will be clear why.

Eg: https://www.hackerrank.com/domains/algorithms?filters%5Bsubd...

(I have no affiliation with the site)
A cost-benefit analysis is appropriate, but the "cost" side should be QUALYs not literal litigation costs.
The knapsack problem here is of particular interest since despite the optimization problem being NP-hard the solution can in fact be found in O(n * W). This feels similar to how the theoretical best comparison sort is O( n log n) but radix can do this in O( n).
He wouldn't stay in the ballot - he'd pocket the slip and take it outside...
I'm sorry, but did I just read that it was 1300 euros to change some fluids? That's absolutely insane. Even buying OEM fluids would only be 100 euros or so, and the labour to do it should be less than an hour, at most.
This is amazing. I'd also love to read a book on this. Electronics is always something i've thought was cool and played around with a little bit, but never really thought something like this was possible with a bunch of slapped together parts. I feel I learned a bunch just reading the bit od your process described in your article and it really made it feel like something accessible for the average person with a bit of technical knowledge and patience. Thanks for sharing that.
Lithium can be extracted from the ocean cost effectively if we had to. It’s effectively limitless.
I take it you have not read the regulation.

If you had you would know that the regulation isn't there to nail companies from other regions. Anyone doing business with Europeans is subject to the same rules of the game, and that naturally also includes European businesses.
The cases of "surging" where people claimed they were pressing hard on the brake when the car lept forward come to mind. (The most credible explanation is they put their foot on the gas instead, or are simply trying deflect blame away from themselves for the crash.)
Also, some of those are probably empty lots in places like NYC or Chicago where they can be better monetized once the land is rezoned, etc.
It’s not Amazon’s assessment. It’s science’s. Amazon is simply going along for the ride, deferring to those who have spent their lives researching the issue at hand.

You’re under no obligation to accept science’s assessment of the facts. But if you choose to reject it, be ready to do a better job of making your case than the scientific community has done making theirs. Extraordinary claims require extraordinary evidence.
The highest-grossing apps on the app store are not the ones that are crammed full of unskippable ads. Don't mistake that being a popular model for being an effective one.
Elixir LiveView (server rendered HTML) Released
I've said it before and I'll say it again, the only ones making money and going to make money are the manufacturers in China. VCs, U.S. or otherwise, are simply sending their LPs money there.

This is food delivery app, photo sharing app, social media app and so and so forth, all over again.
Perhaps the reports are false?
I recall a kids game where the game exited when the spacebar was touched. It was pretty exasperating, because the kiddies couldn't figure out how to get the game running again.
> The real issue is human nature.

So is theft, murder, and the intentional infliction of pain for amusement. You can't dodge responsibility that way.

You're also ignoring several aspects that makes FB different in kind than a lot of what came before it. As but one example, they are the world's largest blackmail machine. Maybe you trust Zuckerberg & pals now, what happens when they're gone? When FB goes in to decline? When an internal threat hacks them? When Singapore or Russia or worse approaches FB systems folks with carrots and sticks? Has that happened already? How would we know?

I'm personally of the opinion that it was a terrible idea to build it in the first place.
Unless the games you play are realtime, you can VPN out. When you have an IP of a country not interesting for ad networks, you'll essentially have ad-free internet. Very few ads in a language you don't understand anyway.
Mostly for vim, yes. I can't remap it to CapsLock, because I'm Russian and I already use CapsLock for switching keyboard layouts for 20+ years.
Superphenix isn't exactly the only example of a complete cost fuckup in france: http://world-nuclear-news.org/Articles/EDF-revises-schedule,...

Short version: was originally expected to cost 3.3 bil euro, is now at 10.9 bil euro and climbing.
Memory Tradeoffs Intensify in AI, Automotive Applications
Also, you seem to be replying under the impression that I'm talking about the Boeing CEO. I'm not. That comment was about CEOs of airlines not having to make the decision to ground or not to ground their fleet.
similar project from december (using an oscilloscope)

https://mitxela.com/projects/console
I basically learned to program for Wheel of Time-based MUDs... first on The True Source, then on The Weave, and then on As the Wheel Weaves.

It was amazing how much drama existed behind the scenes and how there would be a family tree of staff/codebases stemming from that drama and stolen code/areas. As the Wheel Weaves is apparently not running anymore, but a few years ago I found a split of a split that still has an in-game game that I wrote that people still apparently play and enjoy. It's really gratifying.
The only thing I've ever seen work to get significantly more money is changing companies. Companies used to give somewhat decent raises 3-8% but outside of that, it doesn't seem to matter what one does. I have a great boss and have been promised raises multiple times. Instead, our CEO cut our vacation in half. The only reason I haven't gone somewhere else is because I work remotely and can put in the most minimal effort. I regret the first few years putting in a lot of effort, getting RSI, solving many problems ... but for what? For nothing. Actually, less than nothing. Due to inflation and vacation taken away, I make less. So I work less. Then people wonder why something like over 80% of workers in the US are disengaged. This is why. Most companies are too cheap to provide proper compensation, vacation, and benefits. Serves them right.
Christchurch shooting: reports of multiple casualties after shooting at mosque
Pachyderm for Data Scientists
Without knowing your skills, there's a good chance you've just been working for the wrong companies. There are lots of companies in Canada that pay absolute garbage to software engineers. And if you don't have the skills that higher-paying companies look for (mainly coding+algorithms+data structures in interviews), you can get that without going to college. Also look into working remotely for US companies.
No mistake. It's a trapdoor.
I’d slightly tweak this and say legal liability should be calculated using QUALY. The idea is to shift the financial burden on the right party so they’ll be incentivized to do the CBA correctly. They’re not going to internalize costs out of the goodness of their hearts.
> So "DP" is just recursion with memoization?

Sort of. "I know DP" doesn't just mean "I know what memoized recursion is". It means "I know how to take a problem, recognize that DP might help, frame it recursively with highly-overlapping subproblems, and use memoized recursion to implement an efficient algorithm for it". Especially in advanced cases, it take a lot of skill to look at a problem in just the right way that memoized recursion makes it computationally easy.

For example, sometimes you might have a problem where the simple DP approach takes n^3 space, but with some trickery you can get it down to n^2.
I’m giving an attendee talk on this at MicroConf in a few weeks! Y’all should come :)
No pricing information and JS error thrown when trying to sign up... Oh well
Very nice write up, and it seems like you had a lot of fun.

I play with OpenSCAD for fun, but because I use Inventor and Rhino at work, and FreeCAD at home, I don't use OpenSCAD to actually design stuff.

If I want to do generative, creative and coded design I use Racket with the Rosetta package [1] with Rhino or AutoCAD as my backend. I am trying to port Rosetta to FreeCAD [2], so it is all free. Racket with Rosetta is a lot more free or open to creating generative designs than OpenSCAD. I really get a kick out of Grasshopper [3] with Rhino too.

[1] http://web.ist.utl.pt/antonio.menezes.leitao/Rosetta/tutoria...

[2] https://www.freecadweb.org

[3] https://www.rhino3d.com/6/new/grasshopper
Eyewitness accounts are _notoriously_ unreliable. Multiple witnesses saw something approaching TWA-800:

> Although there were considerable discrepancies between different accounts, most witnesses to the accident had seen a "streak of light" that was unanimously described as ascending, moving to a point where a large fireball appeared, with several witnesses reporting that the fireball split in two as it descended toward the water.

> 258 were characterized as "streak of light" witnesses ("an object moving in the sky... variously described [as] a point of light, fireworks, a flare, a shooting star, or something similar.") The NTSB Witness Group concluded that the streak of light reported by witnesses might have been the actual airplane during some stage of its flight before the fireball developed

> In addition, 18 witnesses reported seeing a streak of light that originated at the surface, or the horizon, which did not "appear to be consistent with the airplane's calculated flightpath and other known aspects of the accident sequence."

> [T]he NTSB noted that based on their experience in previous investigations "witness reports are often inconsistent with the known facts or with other witnesses' reports of the same events."

https://en.wikipedia.org/wiki/TWA_Flight_800
There's no contradiction.

It doesn't really matter which you use under most threat models.

AES-128 gets you guaranteed AES-NI on virtually all processors sold in the past decade. AES-256 gets you better assurance against quantum attackers, should they ever become a real threat.

You can side-step both of these by just using a ChaPoly ciphersuite which is constant-time and fast on all platforms, without hardware acceleration. (If you ecide to just use libsodium's box/secretbox, as Thomas said in another comment, you're doing this side-step... which is thematically appropriate for a cipher named after a Latin dance).
That's a pretty dark view.

I imagine that Gates played to win in business, as many others do, it's just that he was particularly good at it.

Now he's playing hard and to win in philanthropy.

I doubt he gives 2 bits what the average person thinks of him, at least not enough to throw money at rehabilitating his image. If that was his goal, his philanthropy targets would be different.
> Facebook is hemorrhaging its best people as those on the inside finally start waking up to the fact that Zuckerberg's vision of Facebook as a good thing for the world was a lie

Or maybe they have acquired Enough money and have decided that sleeping in to noon every day is more valuable than making an app for people to share drunken photos of themselves?

My point is, there can be many reasons.
Are you interested in sharing the log file if it doesn't contain anything sensitive or a reasonable facsimile with scripts?
Web development and other easy domains like iOS / Android are quickly going the way of other craft jobs of the past: Blue collar.

If you want to make above average salaries you're going to have to specialize. Find something that is both challenging (to reduce barrier to entry) and niche (to demand a higher salary). In other words - specialize. Staying as a generic web/ios/android dev is only going to guarantee that your salary becomes more and more diluted by the avalanche of developers entering the field. The barrier to entry is just too low.
When a startup is roughly a year old, and its rival just raised $300M, alarm bells should go off in investor's heads, "If both these companies started a year ago, and it only takes $300M to fund the next one, and none of them have IP or even make their own scooter, maybe we shouldn't do this since there are no barriers to entry."
Sadly, on mobile (youtube app, ios) once the ad comes up you are locked in, and the next/previous buttons go away. I was watching on mobile the other day and accidentally clicked either next or previous. Got immediately sucked into an ad, and had to wait several seconds before returning to the content i actually wanted to watch.

most of the time i try to use the web-view instead of the app. i see way less (or maybe zero?) ads there.
I had something similar happen with a Chinese learning app. First week everything was fine, get an add every 20-30 minutes, no biggie. App was well organized (all info in it is easily available elsewhere), so I was okay with it. Then an update happened and I was getting full screen 10 second ads 2-3 times a minute. They would interrupt games where it was speaking at you (you get docked if you click for a second listen). Clearly this was a bug, so I messaged the developed and they got hostile (nice in the playstore response though) and told me if I didn't like ads I should buy their ad free one ($10 per app (I'd be happy to pay that for all 6, even a little more)).

Not one for dark patterns, I'm happy to say don't use the Chinese HSK app by Around Pixels.

I just don't get why this behavior is becoming so common. I don't understand why advertisers would support it either. If someone is clicking on your app only because they did it by accident (like this app frequently caused me to do), that's going to make the user also frustrated with your product. Supporting this behavior is actually harmful to your product.
The chamfer in the detail is wrong in your model.

Section A-A is what you would see if you sliced the part along the dotted line and see it from the direction indicated by the arrows.

If you cut your part along A-A you would see a rectangle, not a trapezoid.

https://imgur.com/moJzOiw

edit: did my own model and added a picture for reference :)
> For instance, most CPUs nowadays support 256-bit AES without resorting to bitslicing.

If you have the advantage of only working with newer hardware, this is true. But it's not immediately obvious whether or not your CPU supports 256-bit AES-NI without e.g. benchmarking OpenSSL.

The point isn't "AES-256 almost never supports AES-NI" (although that used to be true). It's that naively saying "biggest rock is best rock" doesn't always hold true.

> If you have to use RSA for some reason is there any scenario where you wouldn't also want 4096-bit keys?

You're sacrificing performance for a hypothetical security gain that probably won't matter. If 2048-bit RSA gets implicated by some new attack, it's more likely that 256-bit ECC will save you than 4096-bit RSA.

> https://latacora.micro.blog/2018/04/03/cryptographic-right-a... is an alternate, arguably better, source of information.

When people are asking for a guide on Cryptographic Right Answers, I always point people to that page.

The questions I wanted to address are about key size. And the point I wanted to stress was, "There are usually other factors that are far more important to consider than just the size of the key."

If I see a system that uses RSA to encrypt, I care more about it not using textbook RSA or poorly-implemented PKCS#1v1.5 padding than I do about 2048-bit vs 4096-bit keys.
Sounds sort of inline with me (Melbourne):

2014/2015 - 23 - $50K - $70K | Fraud Analyst using C#/Python/SQL

2016/2017 - 25 - $90K | Teradata/SQL Developer

2018 - 26 - $70K | SQL Developer and Coldfusion/Java

I switched companies in 2018 to be a little closer to home which resulted in a substantial paycut.

I feel your struggle with savings, buying a house in Melbourne is definitely not easy.

I couldn't care less about salary if I could work remote.
Yup. In the U.S. they are generally called poll watchers.

https://www-m.cnn.com/2016/10/29/politics/poll-watchers-moni...

Also, a voter who is being intimidated by a mobster could just walk up to a poll worker or police officer and report it.
> No, it's much more difficult to ban all pornography than it is to ban only child porn. One requires analyzing the content of photos and the other doesn't.

Since it's easier to spot pornography in general than differentiate between very disturbing types of pornography, the work load is lessened and overall less stressful. Not to mention the amount of work ai could automate. That's your point, right?