jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Docker does different things than VM's, but they work together perfectly. I run my all my Docker hosts on a VMWare infrastructure, which gives me best of both worlds. Yes - for some things, VMWare can't be beaten - but that's the nice thing: they are not mutually exclusive. Both are very handy tools in my toolbox, and neither are a one-stop solution. Docker sure adds complexity - but also a huge amount of flexibility. Once you understand the power of it all, and how to think with Docker (which isn't that obvious) - it's pretty damn good. Not that there are no downsides or things that could be improved, but nothing is perfect.

And then:

1) The problem is hugely exaggerated. It only applies to badly written software. And make sure we don't lose syslog? Seriously? just mount /dev/log into your container (it's a unix socket after all) and you're done.

2) Arguably faster? Try booting up 15 instances of app X. With docker, that's achieved in less than a second. On VMWare this has a huge memory and CPU overhead, not to mention boot-up times.

3) Try versioning VM's. Good luck. I have 100% reproducible, versioned images generated and tested in our CI system, that I can easily deploy in a VM on my laptop where I will have 100% the same setup as it will in test/qa/prod. To deploy the new version, start new instance, point load balancer/proxy/whatever to the new instance (happens automagically btw). Everything goes well? Stop old instance. Something goes wrong? Point proxy to old instance, and kill the badly-behaving. If everything went well: zero downtime. If you detect something goes wrong, it's nearly instant to switch back to the previous version. Also, testing this is a lot easier than with VM's. Sure you could do that with VM's too - but the overhead is massive, and takes a lot more time.

My ideal setup would be a hypervisor infrastructure with a bunch of VM's running only Docker applications.
I really like this js question (whiteboarding):

Implement function foo which takes an integer size, and returns an array of that size where each element in that array is a function that returns the index of that function in the array. Testcase: 42 === foo(1000)[42]()

There are 3 different correct solutions. Discuss which solution is better, worse... etc (if they get there)

(could probably be worded better, I'm not an english major)
> Cardano I believe uses PoS of some sort.

Yes, but smart contract languages (Plutus in Cardano's case) generally are unrelated to the specific consensus algorithm of the blockchain platform.

> What is the thinking about what keeps these distributed application servers running? Is it still mainly the mining reward model?

In general, public blockchain platforms run by incentivizing the operators within the system itself. PoS and PoW are different versions of this (staking v mining).

> Are there applications the distributed model enables that the traditional does not?

Crypto, and DeFi (decentralized finance), is conducting a huge "live beta" in decentralized corporate governance and finance. There is a crapton of innovation happening with financial engineering and exchanges, completely new models like Uniswap (constant product DEXs) or new versions of existing things, like on-chain options.

Is it world-changing? No, or not yet certainly. But by construction, DeFi can only happen on a decentralized smart-contract blockchain, so it's genuinely new.
Air conditioning can also be more than 100% efficient (from the point of view of the heat in the room), because it's moving heat from inside to outside. If you're using electricity to heat your house, it's only 100% efficient because each kw is being dumped directly into the air. This is why heat pumps are so great, they're basically just ACs in reverse, so for 1 kwh of electricity, you'll get more than 1 kwh of heat in the air of your house.
This seems like a poor idea.

1. Release content not due to requirement but for general good.
2. Get sued because it's not captioned.
3. Have insufficient funds to caption so you pull material.
4. Get fined for pulling material.
5. Watch as no one does step 1 anymore.
I hope they get some sort of a surcharge for this. Part of what you pay for with a big utility is for them to eat weird price fluctuations. Getting grid pricing just when it's convenient is cheating the system.
I think you can avoid the virus without barricading yourself inside, if you understand its mechanisms correctly. There's a big difference in behavior between someone who mistakenly thinks the virus is primarily spread by surfaces, and someone else who realizes that dry, poorly ventilated enclosures are what to avoid based on the degree to which those places are dry and poorly ventilated/enclosed.

Nobody is going to be 100% safe without choosing unreasonably cautious isolation. But there's a world of difference between being 10% safe and being 98% safe. I live in a group house and through shared risk concerns and a good understanding of the virus's mechanisms, I'm confident in saying we're successfully being 98% safe.

(I think the larger group (30 people) in the article really makes this somewhat intractable though. They were closer to the 10% safe.)
Virtually everything is interconnected [0], but some regions are more connected than others. All the producers and consumers know how much it costs to ship to/from different hubs, including Asia and Europe, and will do so very quickly whenever it becomes economic.

As you can probably tell from the wikipedia graph, the gulf is heavily plumbed. In addition to the shipping and processing in the gulf, there are also massive storage caverns [1] that can buffer most swings in demand. Different US regions have their own storage hubs [2] but the reason that lots of natural gas-related prices have "Mont Belvieu" in the name is that Mont Belvieu TX is basically the biggest storage hub and serves as the benchmark for everyone else.

[0] https://en.wikipedia.org/wiki/Natural_gas_pipeline_system_in...

[1] https://www.houstonpublicmedia.org/articles/news/2015/10/19/...

[2] https://www.eia.gov/dnav/ng/ng_stor_wkly_s1_w.htm

Edit: wikipedia has a pretty good overview here, but it is a little dated:
https://en.wikipedia.org/wiki/Natural_gas_storage
I knew it was bad, when my electricity provider was raffling off a Tesla for reducing usage.
> Could you please link me to the multi-country excess morality data?

Not sure if there's something better, I just clicked through https://ourworldindata.org/grapher/excess-mortality-raw-deat... via 'Change country'.

As the graphs can be misleading due to the different scaling of the y-axis depending on the country, I also pulled the data and did my own analysis, eg comparing 'Sweden' against 'all Nordics' and 'all Nordics but Sweden'.

For Denmark, Finland and Norway combined, there were fewer deaths at the beginning of the year compared to the previous 5-year average, and a bit more deaths in April and May - basically a wash, ie 'no worse than the flu'.

The situation in Sweden is different, with significant excess mortality.
Moved from Australia to US. The significant advantage is same timezone, physical proximity, top notch CS universities and the idea that birds of a feather flock together.

Remote is great, but there’s something valuable about being in the same room when making decisions. The communication bandwidth really matters for small to medium sized startups.

I don’t have strong data to back this up, but an anecdotal evidence is how many unicorns SV spins up vs rest of the world. The concentration of talent + VCs + risk tolerating culture is what makes SV special.
There are however many ML systems that do not work, and many more that do not work as intended.

Have you seen how many people have been kicked out of insert big corp by some AI decision?

That's a problem that comes back to what is well known in statistics: Your model of the PD may be wrong, and the crucial question is - how can you find out?

The ML answer is quite simple: I know my model is right, because it works.

But this is very limited. Theoretically, you could enumerate all sorts of issues here. At the fundamental level, you will find that no model, no approach and no identification strategy is assumption free. "My model work" is a very simple identification strategy. It assumes, among other things, that the output of both PD in training and the estimated model is congruent with the latent distribution I'll find in reality. Such attempts at induction are, naturally, not as easy as the formulation suggests.

You speak of reality, and I find that we are faced with model failures almost every day on HN. And, with all due respect to all ML researchers, there are a lot of teams with smaller experience and resources than Google, Apple and Amazon.

I think there's resistance in the ML community to the recognition that somehow, at some point, one will have to deal with icky issues such as causal inference. On the other hand, I think this is precisely where the field moves forward.

Until then, there's at least two costs we can readily identify: "Outliers" - people being somehow mishandled by the model - a collection of which is highlighted every day on HN, and second, changes (external or endogenous) to the PD, temporarily breaking models more or less.

Again, it's subtle, but it all comes down to identification.

I always tell the story of an engineer designing a robot to layer sausage slices. Well-defined PD - as you would say - worked great. Up until someone left the outside door open. Suddenly, the algorithm could not handle the problem anymore. What's the PD, and what changed? Good to think about such things every once in a while.
If you work with 0.1x engineers, and you are 1x, does that make you a 10x within the organization?
Thanks, great resources!
If it's BSD licensed, how do they limit it to non-commercial use?
> By threatening to withdraw from a national market, Google seem to be saying that its business model depends on getting its own users by this mechanism.

This is not complete, I think. This law would FORCE Google to continue linking to these sites and paying them for as long as Google did business in Australia.

Google threatening to withdraw isn't a sign that these links are valuable to them, because they have to choose between paying to link or not doing business at all.

That this is going to be kind of a difficult choice shows that the value of THESE links is basically zero to Google. If they could keep operating in Australia while not providing links to Australian news, they would.
I agree that there are people who will not transcend to become ultra productive members of society. However, I see everything you said as an argument in favor of UBI, not against. No one would have to fake disabilities, throw money away at a BMW, or have kids they don't want. Also many times the impact of a stable source of income isn't realized until much later when people realize that they are free to do other things than worry about money all day. I don't see what's wrong with making people less miserable, I don't care if they spend the money on alcohol or whatever thing society deems immoral. Life is hard and it's getting harder, this is just a cushion.
Agreed - a concern for me as well.

AWS has enough scale to have its own gravity and will likely run development forward regardless of .org, it would be GREAT if .org could actively work to integrate where possible the open source options here.

I remember some early efforts of google to contribute wakelocks and other features to the linux kernel - so annoying when that was shot down and created a pretty significant split, and the commercial entity wasn't going to hold off on wakelocks because a subsystem maintainer didn't like it - so android starting going off into its own land.

Wakelocks also ended up proving a reasonable power management approach (despite complaints they didn't use existing linux mechanisms etc).

There was a big push ultimately to get wakelocks into mainline and drive some convergence.
When you say peace, I don’t think about plagues, natural disasters, or anything of the sort. I think of war. And there’s been war every decade (I believe) of the 20th century.
Total misunderstanding.

The comment below (to which I was implicitly refering to), talks about Kimsufi. I checked before I talked. This comment speaks true. I knew it.

Now, my comment was replying to a comment of ErrantX, which were talking about GANDI. So was I.

I thought there was absolutely no ambiguity, but now, I'm not so sure: namely, which interface ErrantX actually prefers? His "but" puzzles me.
http://ssrn.com/
Out of curiosity, how does the numbering system for aunts work? I'd love to be able to assign integers to my aunts.
It seems weird to me to need a ‘manifesto’ for this, as if a design pattern was a political movement.
I'm not saying that exactly. I'm just saying you're better off if you don't get killed by the people you're trying to persuade.
The expiring messages fail in hilarious ways, all the time. Things like a few random messages from a prior day that are funny out of context all by themselves.

If I open signal on my laptop sometimes it does this ridiculous “time lapse” where it strolls through messages one at a time.

Sometimes all the messages just randomly wiggle on my screen. No idea why.

I get that security verification thing all the time. All the time.

Got a new phone late last year and it wouldn’t sync.

Sticker packs will rearrange themselves at random.

I could go on for ages. It is hilariously buggy.
I really enjoyed visiting the United Nations building in New York. The tour was interesting and if they weren't in session they too you into the various meeting rooms.
AwwwsOoOoOome!
That code reuse doesn't happen is really a myth and where I work, things gets reused a lot.

That said, what language to use boils down more to code-maintenance than code-reuse since on .NET code reuse can (and will) happen transparently across CLR languages.

I work for a software vendor and having high quality, maintainable code which others can work with is a requirement for everything you do. Using some "exotic" language would not be fully compliant with that requirement.
A couple of questions that came to me after reading through this:

The interface looks great, so much better than Craigslist. What advantages do you provide for landlords that Craigslist/Lovely do not have?

I'm guessing that college students are a much less attractive market. Youth means no/less credit or rental history, students have lower income, and are more likely to damage property. As a landlord, why would I want to specifically target a less-desirable market? Or do you think that, in large college towns, they've already accepted those conditions?
Sorry about that, I was referencing failing back over to the primary after failing over to the secondary.
Specifically from the post:

- Cool. And how do I fail back to the old master?

- Umm, well, you have to take a new base backup from the new master, and re-build the node from scratch..
I doubt very much that businesses are as rational as he makes them out to be. Many businesses buy extremely expensive software for completely irrational reasons or pay business consultants for obviously meaningless fluff.

The difference between consumers and businesses is that businesses that act too irrationally for too long are more likely to fail and get replaced by more rational businesses. I suspect that the statistics on rational businesses often suffer from survivor bias.
Are you making the argument that C++ has pass-by-reference and Java does not? No one disputes this. That's not my point. My point is whether the ability to write a traditional "swap" is a good litmus test.

I've proved that you can write "swap" in Java. This behavior is in all important ways equivalent to the basic, traditional C++ swap, even though Java passes references by value and C++ passes by reference. You're arguing, "Yeah but look, they look different! If you put the exact same comparison code afterward, they return different things!" Well... yeah... that's because Java and C++ are different! Apples and oranges. That has nothing to do with whether the ability to write "swap" is a good litmus test.

The article says you cannot write "swap" in Java, therefore Java doesn't have pass-by-reference. I'm saying "yes, you can write 'swap' in Java.. but still Java doesn't have pass-by-reference.. so it's a bad litmus test." And you're saying "Yeah but your swap looks different." And I'm saying "No shit, that's because Java doesn't have pass-by-reference." The article didn't say the litmus test is "can you write swap in a way that looks exactly like this C++ code?".

That's it for me, I'm bowing out!
Dave McClure had a stream running for a bit until he was asked to turn it off. Looks like we don't get Meerkat access today.
I really wish that Arnold could also release its free academic version.
I've been thinking about making my own email searchable with elasticsearch. The main thing holding me back is security. With elasticsearch listening on localhost:9200, anyone with local access can read all your mail. Even if you would do this on a computer over which you have full control, even a tiny breach would leak all your mails.

I realize this tutorial is just meant to get started with elasticsearch and not meant as a tool to make your email searchable. Still would be interesting to take this to the next level.
That article is irritating, it's a jumble of things in no particular order.
How does the analogy of different rooms translate to vehicles? A different vehicle?
will do, I plan to implement all the expected unix shell features, thanks for the suggestion!
I think it's perfectly fine to be a window cleaner but refuse you're employer's request to go clean a 100-storey skyscraper and keep taking the 2-storey buildings you usually do.
if you don't mind me asking, does your partner take daily medication for it?

I discovered I have epilepsy about 2 years ago, but my case seems to be very mild. I'm now on Tegretol and haven't had any seizures since. But, of course, I know the intensity and triggers vary wildly from person to person.
Also consider auto focusing the field when the page loads
https://archive.is/nrT83
"The NSA is believed to have strengthened DES"
No they didn't they cut the key size in half, and where can I find on a source that shows me that the s-box changes were intended to make DES stronger?
Big data = Cloud computing etc. ?
More info on the $200k range for embedded in the southeast US, please.
Many of the same concerns apply to hiring developers from Microsoft. If it's just one stop on a varied career, or if it's combined with some open source activities, then I'm not too concerned; if it's their only full-time job or they've been there for a long time, then my initial reaction is concerned about what kinds of habits and mindsets they've fallen into.
Follow the link and check out the video of his trip to China, here:

http://www.kickstarter.com/projects/1104350651/tiktok-lunati...

Starting around half way through they show the process for preparing the silicone for the straps. It's absolutely mesmerising!
I made it up. I think it's hilarious with Netflix in there cause, MANGA.
Signal - moved my immediate family to it, and now have a few friends on there as well.

It had some rockiness maybe about 3 years ago, but with their new group implementation and some other small tweaks I find it just as easy to use as whatsapp, albeit it a little uglier.

#1 complaint is the coloring - incoming messages should be high contrast, outgoing should have the background color. For some reason signal does the opposite and it's hideous.
Yes the problem is 'adverstiting based business model' when companies seem to offer 'free services' when in reality they always plan to harvest and sell private data to advertisers. This is what is happening now with WhatsApp and FB so I'm not shocked, it was about time.

What we need more urgently is better open source alternatives that allow us to port out of this wall garden apps easily, that is only way I can see my contacts and data from WhatsApp and other apps migrating out.
What would the smart alternative to WA be? Telegram? Line? How can I continue using the WA without giving Facebook sth to work with?

Please bear with me if this doesn't belong here. Normally I wouldn't dare posting on HN (don't want it to become mainstream and have idiots like me gush out their opinions) but I really dunno who else to ask this.
As soon as the media got away from reporting "Who, What, When, Where, Why and How" the whole system fell apart.

Today every newscaster wants to project his personality onto the news and the results are deadly. We need an AI that strips news down to the 5W's+H and makes it available.
> When the sitting President claims that voting fraud happened they should investigate it, not instantly claim it’s not true because they don’t like him.

Trump isn't in the habit of making accusations with enough substance to start investigating anything, and when he does make specific verifiable claims, they're usually trivially refuted.

You cannot start investigating without some kind of specific evidence or suspicion that points in a particular direction. Lacking that, any claims that the outcome of the election must have resulted from fraud amount to calls for a broad and undirected witch hunt.
Those are fed security. They dress formally because they are on the floor similar to Secret Service (and they very well could be Treasury leadership protection it looks like the grey suit might have a hard pin on but i can't tell)
https://github.com/alixander/Ceruleum

I had built this with the intention to sell it on the app store but ended up not wanting to bother with marketing and signing up. But idk, maybe it can garner some buys as a paid developer tool app.

email: blueglue at fastmail doot com
Nor stranger than 1 dekaliter. Some units are just used more often than others.
> If I send a standard request to a website, with no special forged auth or anything, and that website gives me back data, you can't blame the person who made the request. It is up to the website to tell me "no, you are not allowed to access that."

Many remote exploits are going to fit this description. Sometimes it's just magic parameters or misconfigured URL routes.

Your concept of computer crime requires a bit more depth than that. Intent matters, as does what you do with data on their end and on your end.

The room analogy may be reasonable. Except weev realized the room contained private company records. He proceeded to copy everything, then went home and published it in the newspaper. He wasn't really prosecuted for the entering of the room, it was that second part that did it.
If you're a robot that's true, but you're probably not a robot.

The law leans on the word "reasonable" all the time, simply because there are plenty of situations where humans can make an obvious judgement call.

If a publicly accessible URL contains obviously priveleged information, as an adult you know that it is a "door that has been left open accidentally". That doesn't mean you're free to walk in and take what you want. If you're neighbourly, you may want to let them know their door is open. People should feel safe from litigation if they do that, but I don't see why you should feel like you can do whatever you want just because there's a 200.
It's quite acceptable - often a good idea - for the correct answer to a question to be another question.
Agreed! This book imparts a good mix of theory and "real world" advice. It also comes with strange quirky comics to help you remember things:

http://i.imgur.com/1D5K6PT.jpg
"In logic and philosophy, an argument is a series of statements typically used to persuade someone of something or to present reasons for accepting a conclusion."

I don't have any more patience for your offended emotional tirade. Get some rest and get over it.