jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Problem with Scala that most projects use sbt but it's not even packaged in many Linux distributions. With the Haskell doing strong and Rust, both compile into the native out of the box there are no reasons to use Scala unless you need particular Java libraries.
My theory is you didn't read past the couple of pages. There is some very interesting material in there that was news to me and I've been doing Python fairly intensively for the last fifteen years.

Edge cases are really interesting. It's important to know them, and it's no comment on the language.
> Even tho not read as a threat from SEC fillings, why would they even say that if they don't think about it?

Because they want to protect themselves from investors suing them in case things go bad in Europe. They’re saying to their investors "I’ll do my best with your money, but if things go really bad you need to know that this could maybe happen".
With VLC, we've looked at various P2P video streaming technologies, like Tribler, Goalbit or Peercast. But so far, nothing actually worked correctly...

If something standard (or close enough) actually emerges, and is not insane to integrate, this would change a lot of things :)
If you want to learn more, this video also shows a good foreign perspective: https://www.youtube.com/watch?v=l0GA901oGe4
This post reminds me of the David Platt post on why the iPhone will fail: http://suckbusters2.blogspot.com/2007/06/apple-iphone-debut-...

Both articles essentially state that the company (Apple/Facebook) should not try to innovate, because their implementation will suck and then go on to mention problems that are rather trivial and will not actually be problems.

Sorry, but I think Facebook is good enough at product design that they can pull this off. Facebook doesn't need Steve Jobs; Zuckerberg is pretty bad ass at making products people like and use extensively. If you need evidence you should look at Facebook, a lot of people REALLY like that service.
When I'm googling for a programming question, I value stackoverflow answers over other blogs and forums. I may find the same information at different sites, but stackoverflow is usually very concise and up to date.
This is not quite true in the context of 3D Secure.

You are correct in that this is how banks operated before 3D Secure. They shift all the fraud liability onto the hapless merchant and then charge them through the nose (with both the amount and the chargeback $35, as well as a potential disabling of the merchant account if it has more than 1% of fraud - which is easier to achieve that you'd think, especially if you're low-volume, e.g. if you're a small business or startup).

The purpose of 3DSecure is to "fix" this situation in favour of the merchants. Do the card companies (VISA & Mastercard, basically) now take on liability for fraud? OF COURSE NOT. With 3D Secure, they have shifted the liability from the merchant straight to the issuing bank, which can choose whether to pass it on to the cardholder, and sometimes does. It's really entirely up to them. Also, it's worth pointing out that a lot of credit card fraud is only detected months later, so "in a timely fashion" may be excessively difficult to achieve.

Now, the question to ask is, who actually benefits from 3DSecure?

- The merchants

That's it. Who bears the burden of getting everyone to sign up to 3DSecure?

- The issuing banks

Who stands to lose money if the merchants are protected?

- The issuing banks

In view of this, it's no surprise that implementations are shoddy and many people are not signed up. Why would the issuing banks want to push a scheme that makes them lose money?
If Microsoft is losing money on every sale, the simplest solution to this is to stop selling it separate from an Xbox (feasible as soon as the original Kinect uptake approaches 100% of active game-purchasing consoles) or build it into a next-generation console.

OTOH, Microsoft could just as well keep selling it. I bet the fraction of purchases that will end up in Linux boxes is tiny when compared to the part that goes to Xboxes and generate game sales.
There's eFaktura in Norway[1]. Merchants send their bills to you electronically, and you pay them through your homebanking interface. As I never used it when I lived there, I don't know if the mechanism is fast enough for immediate purchases.

1. http://en.wikipedia.org/wiki/EFaktura
Nice. But limits you to the top 10. I regularly find stuff in the 10-20 positions that I want to read. Ideally you would be able to customise the number of results and add filters to ignore articles with certain words in their title.
In defense of debit cards, in the event you do lose it and someone's emptying your account, your bank should still restore your funds after the theft. I say this because it happened to my wife; Chase's fraud prevention kicked in after about $300, all of which was refunded as soon as she figured out what had happened.
I work in the translation industry, and the interesting part of this to me is the implementation. Generating the resulting translation image in real time is a unique idea that is probably hard to make work well. OCR on a mobile device without a network connection is not as difficult as you might think (read: it can fairly easily be done on Android with tesseract-ocr, at least). Also, instead of the typical rule-based or statistical machine translation you get on the web, think of translating word-by-word as simply substituting words from a key/value dictionary list.

Having said that, I'm always glad to see interesting translation being developed and getting such a positive reaction on HN. Congratulations to Word Lens on launching!
I'm not a physicist, but as I understand it, it takes light 1 year to travel 1 light-year.

If the nearest life-bearing planet is hundreds of light-years away, even if you could travel at the speed of light, it would still take you hundreds of years to get there, from your frame of reference.

Time dilation just means it would appear to take even longer from the frame of reference of those you left behind (or those you were headed towards).
"It is not simpler. Just organised in a more systematic way."

This is the kicker. In most large projects(100k-million+ loc) the largest issue is complexity. Object oriented programming is just systematic way to organize that complexity.

The OP says that "In production code, I would split it in several files as appropriate. Or not. It doesn't really matter. What does matter is that we can easily find those procedures whenever we want to inspect or modify them."

It 100% does matter, and having all procedures that operate on and change the state of an object in the same file is super helpful. Being able to make guarantees that certain state cannot be changes outside of the organization unit of the class(encapsulation) is super helpful. Being able to abstract over certain related but non identical functions without having to resort to switch statements is super helpful.(polymorphism) And the ability to reuse code when different pieces of data share some identical features and we want to abstract over a portion of those features is useful(inheritance).

OOP doesn't give you any abilities you didn't have before, and you can write great readable structured procedural code. But it does give you more tools in your tool box that when used correctly can help structure your code in a way that limits the burden of the software's complexity.
One thing i'm working on right now is basically building a bit of a "Blue book" for mundane components of the services we offer.

This seems to have some very positive "work life" balancing effects - it motivates engineers to learn things at a deeper level and develop solutions that cut down on inefficiency. It also encourages people to invest thought into solutions and proposals, as opposed to micromanaging how every hour of a project will get spent.

I think its also more fair to clients, too. Inevitably new things take longer the first couple times you do them, and traditionally the full cost of that learning period gets passed on to the client in one way or another. However, something that took two days to put together and figure out the first time may only take two hours to implement the next time - but it's hardly fair that Client B is only billed 2 hours and Client A is billed 16, simply because they were first to market with something.
The biggest problem I see with this article is the author is comparing Simula style OOP (Prevalent in C++, Java, C#, etc.) with procedural style programming and concludes anthropomorphism is at fault.

When your objects act more like very lightweight processes ala Smalltalk or Erlang model that communicate with each other via messaging, OOP becomes a lot more than a "coat of syntax sugar over the procedural cake" and anthropomorphism sudden works very well. If you see objects as data structures with methods rather than isolated processes with message based interfaces (think actor model), it's not all that surprising anthropomorphisms don't add much value. However, when your conceptual model of objects implies each object is a concurrent and isolated process, anthropomorphisms make sense. I sometimes even give them names and imagine them as employees in an organization. Asynchronous communications can be conceptualized as inboxes and outboxes of messages and synchronous communications can be thought of one employee getting into a queue himself to personally deliver the message.

Sometimes metaphors translate surprisingly when you become a stickler for making sure all aspects of a metaphor are accounted.
Scale matters.

The manager's pet getting first pick of the dumpster at a small machine shop is very different than the same thing at a ship yard.
Of course they know that would be the most same option for customers but when vanity metrics and crash management practices take priority, customer satisfaction usually suffers.
Can't wait to buy the original iCircuit, just need it to support vacuum tubes... Any plans to do that or are you really focusing on the Arduino/digital hobby?

This might have use for layout prototyping, thinking about it. But until it has tubes I don't need it.

Nice work - really does look good.
Here's the full release notes on GitHub as an alternate if you're having trouble with the link:

https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve...
I bought an expensive Dyson air purifier for a couple of reasons. It has a remote so I can turn it on from bed. It looks attractive. The sound profile is much different than a box fan for sleeping at night. It can analyze the temperature, humidity, and air quality in real time and turn on if it notices air quality is getting bad. It also oscillates.

That said yes it was expensive, but it replaced needing a fan for cooling and an air purifier, and if I needed a heater it could have done triple duty.
This seems like a blessing.
At Pivotal Labs we don't increase hours worked. We reduce scope by dropping the least-valuable stories.

http://pivotallabs.com/crunch-time/
If your feed reader app was collecting the websites people visited and selling that data to others, you might have to ask users for permission now.
I think you're definitely right that Facebook stands to lose the most.

And, I also agree that most businesses will be willing to pay less of a premium for FB ads after this change. But, even for the businesses that adapt their spend accordingly, their final marketing budget will be smaller, and therefore, their net income/profit from ads.
Those mechanisms do already exist--marine snow, compacted biomass in wetlands, heck, even things like whale falls store carbon for enormously long periods of time.

The buffer duration/cycle period matters significantly. I agree, turning every bit of carbon released into sticks n wildfire zones won't solve the problem, but in the current situation a) buffering will make a difference in the short term, and b) there are natural mechanisms that do sequester carbon on a functionally permanent basis and keeping those functioning or adding to their capacity through ecological restoration is extremely important and doesn't require new technology.
The real problem here, and what Apple is getting at, is lack of consent. The willingness or not to "pay" with personal data is meaningless if there's no awareness. Sure, tech-savvy people are aware and can make informed decisions... but my grandma is not aware that Facebook is tracking her. And most non-techy people are like that: I closed all my Facebook accounts last year and people were surprised. I had to explain it to them! I can't wait to see their reaction when I tell them I closed my Google account as well.

The iPhone update doesn't even immediately forbid tracking, it just requests apps to ask for permission. That simple change pushed Facebook to buy newspaper, radio and TV ads to try to get people to reject the update. Think about it: they feel threatened by user awareness.
Even if you run one container, containers let you use off the shelf apps instead of only off the shelf libs.

I'm not interested in being "not lazy." I only care about user value and ability to provide user value (tech debt/cost/velocity).

For the price of an M5A.16xlarge to get those cores, I can get like 27 m4.larges and have way more fault tolerance.

I think your disdain is misplaced.
There aren't shadow profiles for non-facebook users. That's a myth.
Security is exceptionally interesting, and it is why my language handles privacy as a first class citizen.

The scaling up is a challenge due to the lack of common investments. It can be made absolutely cheap, and it is way cheaper than polling.

People that dismiss websockets have a point that it throws away decades of wisdom, but the winnings and potential are there. The challenge is curating the right ideas and educating everyone... is hard.
lesson learned :)
I work for company that helps identify new Oil/Gas sites to develop. Bonus pay is established as a percentage of production, but I will make substantially less as a developer (and I'm happy about it!)
I see the complete opposite. Virtually everyone in his position is pressured and expected to project a likeable image and recite a wholesome rolemodel's script.

I thank God, my friends and family, and the perseverance of my teammates for what we've accomplished. I am blessed. Don't belive it? Too bad, the brand deal depends on it so stick to the script.

Jordan was and is different. I might not agree with him, but he stands for what he believes, he speaks up about how he feels, and I admire that far more than I admire someone who has no opinions or suppresses them for the sake of being liked.

It's sad that we live in a society where those who step out of line to say what they mean are told they're assholes who deserve their failures.
> How you see if your mix has the same refractive index as the glass I haven't figured out yet.

You can do this by direct observation but it is not going to be 100% accurate:

You'd need some kind of etched grating for reference.

Drop the glass+grating into the mix, check for changes to the grid lines where you know the glass resides. If you can spot it then you still have a difference.

You could also simply measure the refractive indices of both. (For most microscopy glass you can find out the exact index of refraction from the manufacturer so you really only need to measure one.)
I like tptacek's list but I'm wondering about how to get clients.

tirrellp makes a good point, though. I guess that's how?
If you can tolerate a completely different way of doing email, I wholeheartedly recommend HEY[0]. I've been a customer since it went live and their business model is very straightforward. You pay $99, you get email for a year. Their track record running Basecamp instills confidence in the longevity of the service and that they won't sell out their customers.

I honestly think it's a much better approach to email. One of the key issues with having an email address is that anyone who knows it is granted permission to get your attention, whereas with HEY you get rid of that problem for the most part but without having to 'program' your inbox.

[0]: https://hey.com
I've heard you can get them from resellers individually, but haven't tried personally.
There is some kind of adaptation at play, although I think it's likely a social rather than immunological one. The specific mechanisms aren't as important as the fact that the West is generally worse affected by the pandemic.

I also didn't take the comment as implying any deliberate ill intent on China's part. European germs decimated indigenous populations whether or not they were spread intentionally.

It is an interesting point, although I think if pandemics become more common the West will adapt. As TFA mentioned, a promising vaccine was created in Boston within two days of receiving the digital sequence of the virus DNA (not even a live sample!). As the risks of pandemics become more widely understood, there will be increasing pressure to accelerate vaccine rollout for future events.
Put another way:

MFaBT is a great strategy for design prototyping, not engineering. In engineering, you have 18-24 months to get a product out the door: there are no prototypes. In design thinking, the timelines are different, and you expect the first 20 versions not to work.
Turn off notifications by default so that people who need/want them (the minority) can get them from the relevant sites (the exceptions).

After that turn off stickies, floaters, modals, etc by default & those who wish to have their browsing experience assaulted into a 1 inch box can opt in.
there will be a special lesson after this, because we're in a wide global stress and indeed, when something is overloaded, other issues are felt deeper. It's also a time when people can act foolish and be tempted to be antisocial, so more stupid hacks, more angry people, or even more dormant ennemies trying to benefit.
They have very different design philosophies and were announced more or less at the same time, that's why people always compare them and feel like they have to pick a winner, despite them targeting very different niches.
I see this being useful, but the barriers are too high.
Are you sure about the 19th century? What dangers do you mean?

There were still social conventions in 19th century England demanding lip service to religion, but I don't have the impression that they demanded devoutness (which is an inner condition and not something that can be enforced in any case), nor that they still put intellectuals in physical danger.

As with social conventions nowadays, people could usually tell who the true believers were as opposed to who was merely following the what-you-can't-say rules. So I'm not sure that devoutness (if Faraday and Maxwell actually were devout) loses as much signal value as you suggest.
> Now mind you, I do know the history of immigration in the U.S. And it used to be in general a benefit to more than just the business owner. But the last 25 years have been characterized as a coordinated effort by the 1% to drive everyone else into poverty by making Americans fearful of their jobs being sent overseas, union busting, tax giveaways, and Wall Street financial shenanigans.

Perhaps a reflection of something other than evil businesses behind this. Might be a reflection of absurd global wealth inequality that is slowly getting chipped away.
>Is there a specific alternative option you have in mind

Go to the nearest grocery store/ Firehouse / police station and give them to front line workers.
The supply isn't really known. As of this older 2020 article [0], something like half of the total number of (future) Bitcoins haven't moved in at least a year. I've seen figures like 2/3 from later in 2020. Some fraction of those probably represent lost keys, and hence will never move again absent a consensus change. Another fraction represent people who are just sitting on the coins waiting for a chance to sell. But we don't know what the fractions are! These are big uncertainties.

[0] https://www.coindesk.com/10m-bitcoins-havent-moved-in-more-t...
Another way of saying "gold-like asset" or "store of value" is that Bitcoin codifies wealth inequality in an algorithm with a rigidity similar to physical assets, creating mathematical obstacles to block democratic attempts at redistribution away from an elite class of early adopters. Thus "protecting wealth" from the rest of humanity.

However profitable, useful, or entertaining one might find that as a fringe commodity, it's an atrocious basis for an economic system that would ultimately lead to depression, then war, just as money tied to the gold standard did a hundred years ago.

Money was detached from the gold standard almost everywhere in the world for excellent reasons. Recreating money with properties similar to gold would be a step backwards.
I have no idea how american school funding works, but property taxes? Is that really true?

That would mean that schools in richer areas with higher property values got more funding?
I've never seen anyone who needed TRP more than this person, for his own mental sanity.
I'm not talking about disrupting the payment of taxes (which I don't think is the issue), but the inequality when it comes to influence. I think influence is one problem that could at least be addressed with public cooperation. Fewer 800lb gorillas.
It all started when terrorists were called "enemy fighters" and their human rights were removed. Nobody protested. At that moment, the government got permission from the people to ignore our most basic rules and just do whatever they wanted, as long as they label it "terrorism".
Great, that seems to have fixed several bugs I've been encountering as well (if I switched tabs the firebug UI would disappear).
We don't want or need violent uprisings. We need nonviolent nonparticipation and civil disobedience a-la Gandhi and King.
Although it's possible this is really bad, I'm surprised by the lack of skepticism in this discussion so far. Mycle Snyder is described as an "independent consultant," with no mention of scientific or engineering credentials. There are quite a few people who make a living as consultants by exaggerating nuclear dangers.

The article also didn't give any numbers at all. How much radioactivity are we talking about here? Talking about "tonnes of radioactive water" is meaningless.

Presumably someone has measured actual radioactivity levels in the nearby ocean. Where are those numbers?
Let's just say that hundreds of people will work in extreme conditions (high radiation, damaged nuclear material, damaged buildings) for the next 20 years to keep this thing from collapsing/... before the next heavy earth quake hits.
All great points. Software is regarded by many as a science, art, trade, and craft all in one. Some software does have a wow factor. Games are like that, but much other software is deeply utilitarian. I wonder, too, about the usefulness of distinguishing art from craft, or artist from artisan. The fine arts, whose end is the beautiful ("that which, being seen, pleases"), and the other arts, whose end is service to people.
Yep. You would need a) an iPhone app that you would use to place your order (it would send updated coordinates as you move around, and provide a perimeter within which you would have to stay) b) an army of quadcopters so that a subset of them could be charging while the others were making deliveries c) the quadcopters would have to be equipped with parachutes in case they malfunctioned so they wouldn't kill someone on the way down. d) The quadcopters would have to keep a persistent connection with the central server through wireless networks to keep in sync with your latest position and to send back their coordinates for you to see on your phone. e) there would have to be a mechanism in place to prevent mid-air collisions (buildings you could pre-encode, birds and other quadcopters you couldn`t) for bonus points, you generalize the whole thing and make it like an airbnb where people can exchange arbitrary goods and you just broker the deal and execute the deliveries for a fee that would be dynamically calculated based on distance and weight. DO IT. DO IT NOW.