skysight-inc/HackerNews huggingface dataset:
Was recently on a project that just migrated to java 11 (mid august of this year) from java 8.

Someone has started to try to introduce 'var' and is getting push back from others. "it doesn't match current style" and "could be confusing" were some 'concerns'.

When you're trying to do

InternalFormatParserCustomForClientABCDEF customerFormatParser = new InternalFormatParserCustomForClientABCDEF(param1, param2);

you really start to hit readability limits, and formatting things like going over nominal line lengths and such.

var customerFormatParser = new InternalFormatParserCustomForClientABCDEF(param1, param2);

is certainly easier on the eyes, and the compiler can still known and infer what type 'customerFormatParser' is.
I refuse to go to the mall because the chemical warfare is unbearable. It burns my eyes as well.
> I live in Europe and I can't understand why houses in the US are built with wood and drywall. It surely must be cheaper to use bricks/concrete and then renovate it fully every 20 years, or am I wrong here?

I would think that renovations are much easier to do, regardless of the time interval between them, with wood and drywall. Drywall can be torn apart with by someone with just their hands; wood may need some cutting, but once in shorter pieces, can often just be yanked. Even a large house can probably be gutted/internally-exposed in a day or two.

With any kind of masonry you have to swing a sledge hammer with a lot of force or bring in jack hammers. Once set, concrete will resist a lot of force against it, which is why it's generally used for slabs and foundations.

It also depends on what you mean by renovate: often changes are in internal layout, so if one uses good design techniques for the shell:

* https://www.buildingscience.com/documents/insights/bsi-001-t...

And floor trusses to reduce/eliminate internal load-bearing walls:

* https://www.youtube.com/watch?v=ysT3zXkFGB8

It give completely flexibility on what can be done inside the box.

Wood is also fairly cheap and plentiful in North America.

As for drywall: what are the alternatives for internal walls? Lath and plaster?

* https://en.wikipedia.org/wiki/Lath_and_plaster

Some growth in popularity for wood in Europe; some Swiss examples:

* https://www.youtube.com/watch?v=RlplalGNfFM

* https://www.youtube.com/watch?v=4j_UjIshzMc
Wanted in Covid-19 Fight: 'Superdonors' of Convalescent Plasma
https://archive.vn/8769C
Guns and bombs it is, then.
I was never sure what to think of dynamic typing, until I tried to implement a fairly simple Earley parsing algorithm in Lua. The thing was 50 lines, and I was lost. I only managed to get runtime errors such as "you can't add functions, you can't apply a number, this reference is null…

That's when I understood where TDD came from: dynamically typed languages require so many tests to work reliably that we better write those tests first so we're not tempted to omit them.

Anyway, I redid the whole thing in OCaml, and this time got lots of compile time errors. Which I could correct, and once the compiler was happy, well… my program was basically correct.

---

I still don't rule out that other people's brains are wired fundamentally differently. I don't expect it, it would surprise me, but I honestly don't know. What I do know is that dynamic typing is not for me. I'll suffer through it to get other advantages (Python's comprehensive library for instance), but that's about it. Dynamic typing and I are otherwise done.
Are we proposing to relocate every resident and business along the US gulf coast? I don't think Texas is more or less susceptible to hurricanes than the rest of the gulf.

And from the looks of the northwest, there's a chance we'd be relocating folks into the path of worsening wildfires.

Climate change is serious and we should respond with corresponding urgency, but let's not pretend that there's anywhere in the US that is 100% guaranteed to be a safe haven.
Well, for me it's easier - perhaps because I'm used to reading parameters in type+name pairs.

The data type is right next to the parameter name - and it will be in the pop-up provided by my IDE when I use the function... I don't need to look at the docs or comment (which may not exist).
What is a Velocity chart and when do you need it?
here's my short learning about velocity charts and agile methodology. Do you all know of any other good resource regarding a good team sprint planning? Would love to hear from you all (:
This is a very common thing. In fact influencers and FB employees publicly and loudly talk about this method and no one stops them. "Hey I'm visiting fb headquarters anyone want a new @ or a checkmark?" Why do random fb employees even have this capability?
I went a similar path, PHP to C#, and never looked back. When I had to switch to Node for one job I was pulling my hair out constantly (and quite literally) because of stupid things that would never have happened in what I called a “real” language (that being a typed, compiled one). I mean for $deity’s sake, there weren’t even any dependency injection options at the time and many many times it turned out a bug I introduced was because of simple typo in a camelcase property name.

I absolutely love Node for the ease of writing something quick and dirty. No dependency injection, no coding standards, nothing but a tool to quickly churn through a ton of data or to perform a single task really well. I also think there are some frameworks (using Typescript, like NestJS) that do JavaScript apps really, really well. I will still, never, ever, ever voluntarily write any kind of “real” application in a language that is not type safe again. The benefits just aren’t worth the perceived time savings...
Plan B is active removal of CO2 from the atmosphere, converting it to CaCO3 and sinking it into the ocean.

It will require the deployment of direct air capture tech at a total-war level of industrial mobilization.

An adequately priced carbon tax could make it profitable?
Wood is cheaper in North America than it is over there. Also it has some advantages, like being easy and cheap to work with, safer in areas with seismic activity, and it’s renewable.

Wood structures have no issues lasting 100+ years as long as they’re protected from water and termite damage.
Mistake made and lesson learnt. After being introduced to the larger internet community via reddit, sometimes you slip up in more serious places like HN.
Doesn't numpy require changing the code? When it works, my understanding is that pypy is a drop-in replacement.
"Cloudflare has been a company with at least a respectable reputation". No they don't. They have the kind of rep where in the future if they are caught spying everyone would go.. I figured that was happening.
> Understanding other people's code is at least half the job of a programmer

This was one of the pain-points when I was working more with node.js: the function signature told you nothing - like whether the function would even return or not would sometimes be a mystery.

In very, very short scripts you can get away without types (like in a notebook for example), but once a project starts to get even medium size the tiny amount of time you put into writing a type name explicitly here and there is more than made up for by the degree it helps with the structure and correctness of your program.
It reminds me of getting on a stand-up paddle board. As you find your balance, there is a wobbling. If you haven't done it in a while, it feels almost certain you will fall. But (usually for me), you find your balance, and suddenly you are floating in the water, like Jesus Christ himself.

With all the new elements in society, I think we're all "finding our balance". And once we have, we'll be able to explore the future much more safely and effectively.

I guess that's the "hinge-y" argument. The negative argument might be that we're a house of cards, destined for greater instability not less, and we're experiencing what it is to fall apart.
> IMHO, type-less provides some resiliency. If you write code for a "string" anything that satisfies "stringiness" will still run just fine.

Things like that are actually possible to do in a light weight way in FP languages and many of them are part of the stdlib. (PureScript happens to be my favorite example.) Many times it brings back the same feelings I had working in Ruby (which I also happen to love), but with the added confidence of a strong type system.
@Cydeweys, I respect this level of candidness
It depends on what type of accounting is being used. If it’s a production-based accounting then they’ll be attributed to China. But if it’s a bottom-up, consumption-based accounting then they’ll be attributed to the consumer in the United States.

It’s great that both approaches exist, because they surface different conclusions. If you want to see where the actual emissions are being emitted, or what “industry” they’re from, then the production-based accounting will give you that. If you instead want to see what different consumer-level behaviors are responsible for most emissions then you’ll need a consumption-based accounting.

That duality is what makes it hard for people to grok carbon accounting estimates sometimes.
Keep that mindset. Hardest part of B2B is getting people on the phone and dealing with secretaries. Everything else is a cakewalk, literally, if you can come across as casually confident and helpful.

I’ve had so many different approaches over the years but I find that being lovable and genuine works best (but you still have to close those deals, it’s not all roses.)
Fewer persons with high luxury sounds a lot better than more persons with low QOL.
In Swift Structs are immutable and passed by value, class objects are mutable and passed by reference.

Using a struct is infinitely preferable to a string.
I do, if anyone wants a 100 satoshis just paste your lightning invoice request below as a comment and I'll pay you 100 satoshis. (download the wallet of satoshi app)
Shocking behavior from the most immoral company on the Internet. What can be done about this?
Didn't a similar thing happen with a famous Soccer player?
What is the source of this claim? I see in this OECD report[1] the US is in the middle of the pack.

[1] http://www.oecd.org/els/soc/1-5%20generations.png
Well, science reports some uses. Urea is used in some skin care creams. It acts as a moisturing and mild exfoliant. I hope they use only synthetic urea for that in any case.
Have you tried theunabomberwasright@fbi.gov?
Which makes sense, I suppose, as they are the ones who are responsible for the mechanization/automation that allowed productivity to continue to grow beyond the natural capability of humans alone. They decided to invest in that technology explicitly for the added gains it would bring them personally.

There was once a promise that schooling would provide the path to allow everyone to contribute their own automation to the economy, allowing everyone’s income to continue to increase with the productivity gains they created, but it hasn’t played out in practice. The burger flipper still flips burgers rather than focusing on developing a burger flipping machine.
Why? They can both be done on the same hardware. Why buy more hardware when it can be fixed in software?
It uses Next.js deployed on Vercel for frontend
Backend uses GraphQL
Database MongoDB
Uses a few services from both DigitalOcean and AWS
I had this happen to one of my accounts, it got taken over by someone, I don’t know how, but I moved heaven and earth to reach someone at Instagram to no avail. It confirmed in my mind that the employees of Facebook and Instagram could not care less about any of us unless we are making the money.
I couldn't use quora today on mobile without signing up. Not sure if it was based on my user agent but it was pretty annoying.
Horseshoe crab blood is key to making Covid-19 vaccine, but ecosystem may suffer
It’s incredible to me how so many people blindly trust Cloudflare to manage their SSL termination while building the apps and platforms that’ll power the next generation of online everything.
The Iraq War was also a big example. Military leadership wanted 3-4x the troops and to immediately start working with the existing Iraqi military and government in order to secure the country and get it back on its feet. Instead, the civilian leadership only sent in enough troops for a military victory and disbanded the Iraqi military and government because they believed America knows best and didn't need help from the locals.
Disharmonious just seems common because it sounds similar to a word we're familiar with. Most times I can recall, a writer would craft a sentence using the word 'disharmony' instead, which is many times more common than either. What led you to pick disharmonious as a comparison point, anyway?
The Murky Case for Mass Telecommuting
It's amazing how well propaganda works. The idea that he prevented an atomic war is absurd. Firstly, he was a lieutenant colonel. Had no power to start anything let alone nuclear war. Secondly, even if he had accepted the false alarms, people up the chain of command would have figured out it was a false alarm. In what scenario would the US only launch 5 nukes? The story is obvious nonsense or propaganda and yet it gets posted over and over on social media. Why?

> Petrov's decision.

Petrov's decision is one of the most overhyped propaganda on social media. It's a non-story turned into a story for some reason.

If people just took the time to think about the content rather than mindlessly consuming content maybe we'd get less nonsense.
Slingshot Week One Recap
The expensive part is when we teach sand to think!
That isn't always a benefit, though. When interfacing with a database schema that uses small integers for ids, I'm all the time defining types like `struct CustomerId(u32)` and `struct InvoiceId(u32)`. It's incredibly valuable that the compiler will not let me mix up a customer and an invoice, even if both of them are 42.
Libgen and SciHub are key parts of open access and free society, thank you for bringing them up!

The 'illegitimate' library work is extremely important to protect - heroes like Rogue Archivist Carl Malamud https://en.wikipedia.org/wiki/Carl_Malamud trying to keep our laws readable are protecting the foundations of our freedom.
> What would you prefer his response be?

If you get email that you're not supposed to get, it seems like marking it as spam is the logical option.
This is wildly misleading because it’s obviously a terrible time to make any useful historical comparisons. At the end of 2019, unemployment rate among Black people in the US was about 5.5%.
There's no evidence to back the user's claims. This sounds like "Hey my dad works at Xbox and will ban you". There are other ways to compromise an Instagram account, like sim swapping (https://krebsonsecurity.com/2018/05/t-mobile-employee-made-u...)
> but they can (and have to) apply to a transaction you did 3 years ago (which will now be held for 7 years rather than 2).

Are you sure? Laws that compel you to do something usually don't go into effect retroactively. They're like price-hikes in that regard: you can't just unilaterally decide that your customer's monthly subscription fee has doubled since three years ago.

In any case, it wouldn't have anything to do with their TOS or privacy policies, and I don't think they'd have to inform you about their compliance with the current laws.

> they should probably inform you about changes in their privacy policies, even if they don't affect you personally

You're not a customer at that point, why would you be getting information that only concerns customers? Updating someone on the TOS changes implies that they either requested to be updated or are a customer.

I understand the idea behind preferring to err on the side of informing too many people rather than too few, but we should value the recipient's time and attention as well. And once we do that, I believe it's clear that the sender has to spend the extra time to figure out who should receive this email and who shouldn't.
A bit of an excluded middle - soylent or what we have now, a massivly wasteful and inneficient food system. I, and many others, would argue that localization and diversification of the food system is the missing middle here.
In other words, you were the Dungeon Master. Project management as an RPG is a great idea.
Need to shower?

Sure clickbait title. Still I don't understand. For almost all of human existence we've somehow survived without showering. You obviosly don't ever need to shower.

But also, nearly as far back as history goes, we've been cleaning, coiffing, and perfuming ourselves. Attracting mates and reproducing is overwhelming instinct that still drives most human behavior.
It's sad and upsetting, but when will people learn that Facebook, Google et al do not care at all about individual users? Their model simply does not factor in the worries of a single user.

(Worse is how they want to propagate the idea that software should be free and of highest quality, thus preventing any communal attempts at creating different models.)

I advice everyone who has an account to at least download their data to keep a copy of it: https://www.facebook.com/help/1701730696756992
I don't see anything wrong with the paper, just with the conclusion of the BI article.

If you look at table C1b, to keep up with 118% GDP growth, you would have to be in the top 1%, in which case your income growth would've been 138.8%.

We can then see that redistribution of those extra 20% among the bottom 99% could not possibly turn a median of $50,000 into a median of $102,000.
What point of the book related to spread of disease do you have a problem with specifically? Every prominent book has critics, especially in non-hard sciences, that doesn't mean the book is wrong generally. As a general probabilistic diffusion framework, it makes total sense to me.
Which would you prefer to be true?

1. Out understanding of the differences between capitalism and socialism are freeze-framed in the 1950s, or

2. Our heuristics are updatable as history unfolds.
It is, I ran python-neat with it. Almost doubled the speed.
Your assumptions are just assumptions = not backed by facts.

In reality he could be Elvis born again and also to him laws would still apply.

If the resort would have made up the comments they say he posted, then they would be in much more legal trouble than he is now.

From statements that were posted as screenshots he might be also technically liable for violations of cybercrime act. But that hasn’t been announced or he hasn’t been charged yet for that.

From where I’m standing, the guy looks like someone who went overboard to not just complain but incriminate himself. That’s what counts.

Honestly, every business has customers that complain. You can’t please everyone. But if someone were to make certain statements about my business, employees etc, I would also use my legal rights to fight abuse.

I have myself complained for decades very harshly about other business on social media, their own TW/FB/Google profiles and haven’t been sued by anyone.

It would be interesting what the guy can state as his side of the story apart of the incriminating screenshots from online platforms.

Edit: typo
That's standard legalese since they don't have any context to identify who "I" is. And the real identity of many people involved with WikiLeaks seems to be unknown, so it isn't impossible that it was someone else. It makes it the weakest evidence that NF is Assange, but it has some circumstantial value.
Please upvote this story — if it gets enough attention, someone at FB or IG might act.
The arbitrariness with which these companies rule over our digital lives infuriates me more from month to month. We do our best to fight dictators in the physical world but somehow accept them in the digital realm.
Is this hearsay or is there proof? Aside from @danny saying it was from an fb employee, there’s nothing else to indicate it was, and I wouldn’t trust the word of a hacker/recipient of a hacked account.
both.

this is 4 years ago, the market we were going after were the cloud warehouses like Redshift, BigQuery and Snowflake.

In the beginning, we just had an idea for a specific product / service. but we knew that the customer would be the lonely data engineer in charge of building the analytics stack.

I started with cold outreach via my network and linkedin. I would use pretty broad language around data warehouse usage, to cast a wide net with terms like "usage, performance, metadata, etc.", and cover all potential use cases. Engineers are always short on time, so you need to be affirmative, authoritative and present a clear ask that shows what you want and how the engineer will get value out of spending 30 min with you.

Of course I pulled the founder card, and that does help. I made it clear that we don't have a product, but working on building one. Turns out that most people are helpful, and want you to win!

The first signal that you're onto something is when they reply to your message, and are intrigued.

we built our first product around that feedback. Companies like Postmates, WeWork and Udemy bought version 0.5!

I made a point out of keeping in touch with every customer, and do a quarterly check-in. What's changed? What are your plans? For this coming week, month, quarter and year. Where do you want to be in 2 years? What problems are you trying to solve for your company? What are the expectations for you and your team? What tools are you using to solve that problem? What tools have you looked at and decided to not use them, and why? Etc., etc.

I rolled around in THEIR situation, trying to walk in their shoes. We'd talk for sometimes 90 minutes, often in person here in SF, over lunch. We'd often not cover our product until the final 5 minutes.

Of course, that's a huge chunk of time out of your calendar. Huge opportunity cost, in particular for a founder.

So here's actually something I'd do different. We hired our first sales reps after our first 10 customers. That was a mistake. Our product was very technical, it's not like selling email software. So you need a technical rep. Our first rep was a class act, but let me tell you, it was a goat rodeo for him.

Rather, I should have hired a customer success person, and have them do the quarterly check-ins. That way I could have kept selling. Then let the customer success rep also write (technical) blog post, customer stories / case studies, and documentation. You're building out (credible) marketing materials that build the top of your funnel.
Sadly companies like google, facebook only HN is the way to get resolution. Nobody cares about you. They look into it only when it affects PR.
Let me guess. You probably worked in small teams, mostly with code you co-wrote your whole carrier.

You literary compare 3 languages that you happened to use and think that all there is to know about this argument.
This isn’t a useful question because it contains absolutely no contextual information whatsoever.
Does the new owner of the account have access to his previous messages? I wonder how this would play out with GDPR if the original owner was from the EU.
That depends if the Authenticator was used or normal SMS messages.
I think this is indicative of the biggest problem we have had with social media: there is no legalism here, just "codes of conduct" that companies and users both willfully ignore.

If your handle gets sold by some facebook employee to a rich kid in LA, what recourse do you have? I don't know what laws this would break (maybe some broad definition of fraud? I Am Not A Lawyer) so it's not like this person has a slam dunk legal case...

We have no external arbiters of online interaction, no well-respected third party we can go to to arbitrate. The last defense is the mob, potentially shaming the companies in question into recanting. I've seen it happen on this very website multiple times. But it is not sustainable, it does not scale, and it allows the companies to keep fucking with people who can't make their injustices known.
Are you for real? Refusing to pay a corkage fee is “bad experience”?
His comments are below the belt and inappropriate.
Bird Migration Alert for Western USA