skysight-inc/HackerNews huggingface dataset:
So... I can't like tech and also be worried about the environmental impact of greenhouse gasses?

Might this be from a different era, where techies didn't yet know a climate disaster is looming? I don't know who or when this Jancovici was.
Isn't TikTok now hosted on Oracle?
I don't understand why SetFinalizer+resurrected could prevent a memory block which will be collected from being collected.

Update: never mind, I re-read the docs of SetFinalizer to get the explanation:

SetFinalizer sets the finalizer associated with obj to the provided
finalizer function. When the garbage collector finds an unreachable block
with an associated finalizer, it clears the association and runs
finalizer(obj) in a separate goroutine. This makes obj reachable again,
but now without an associated finalizer. Assuming that SetFinalizer
is not called again, the next time the garbage collector sees
that obj is unreachable, it will free obj.
> Rust has operator overloading, so the + operator may call a function, I don't call that explicit.

Not quite right.

Rust allows you to implement the + operator for your type, but not to overload it for other types. It furthermore avoids many of the problems other languages (C++) have with it by being more restricted in how you can implement it and strongly discourages any "unusual" usage of it.

Lastly there isn't rally any magical about `+` (in difference to some other languages). So `a + b` is just basically the same as `a.+(b)` except that rust doesn't allow symbols as function names so it's `a.add(b)`.

So arguing that because rust allows you to implement +/-/etc. it's not explicit is a very flawed argument.

Now you could argue that because of how rust's type system works it's not explicit. E.g. does `a.foo(b)` com from a trait implemented for A or is it a method on A? But here rust rejects compilation if it's ambiguous. So it's not a place where implicit creates a problem at all.

> I'm still in the camp that non colored async runtimes are more useful.

I would argue there are no non-colored async runtimes. It simply can't exist as far as I can tell. At best you can:

- Make a language which is mono colored, e.g. all blue or all red.

- Make a language which chooses colors for you.

But in both cases coloring still exists and you will still run into it when e.g. interacting with a FFI.

Also mono colored languages mean you have to use that color.
Mobile I give you -- of course that is obvious, it would be hard to get worse UI on a 1080p OLED screen that we had on a 50x100 pixel monochrome display.

Desktop, no way. Windows 2000/Office 2002 usability by beginners was head and shoulder above today's versions, even at 10x less dev effort and 100x less HD/RAM/CPU usage (yes the functionality was lesser, but the UI wasn't).

And add to that the counterfactual of 200,000 man years of development within sane UI paradigms that don't live under the pretense that every Windows PC is a touchscreen tablet, and you could have so much more!
Creating a Domain Model Rapidly with Java and Spring Boot
Ironically, you cannot use emojis for the username (e.g.
:crab:@:crab:
)
> If you are using it for a business, you will have no problem paying the subscription

When you're building a business, your business' finances are literally your own finances. So in order to start a business (and get a domain for it) you'd already need to be rich enough to be able to pay the substantial fee from your own pocket. That doesn't sound that great.
>Now we reached a point were, during public bidding, solar and wind are cheaper per kWh

That metric is very misleading. Solar and wind are cheaper than most other sources because their fuel cost is zero.

There are a slew of other costs that are not borne by the solar and wind generators but which are borne by consumers namely balancing costs, standby generation costs, ancillary services and so on.

Once you add in all these costs, renewables suddenly aren't as cheap as the media would have you believe. Don't get me wrong - they are an important step towards decarbonising electricity generation but they aren't the final step.

The final step would be transmission interconnections on a continental scale, large amounts of hydro where possible and nuclear where hydro isn't possible and little to no coal and gas.
I think you're right that the term originates in hip-hop culture but when it was borrowed by imageboard culture it evolved into a descriptor of ideas and not of people - for the simple reason that imageboards are mostly anonymous.

Now when I see the term used online it's mostly in the imageboard sense of some idea or concept being 'correct' or 'agreeable' rather than the person who originates it. I think the term is undergoing a certain amount of semantic broadening too - more and more often I see it simply as a synonym for 'cool' rather than in the narrower meaning of 'this is controversial but I agree with it'.
Contrarian view: I'd rather negotiate with a "leech" domain parker than some random guy using it for his hobby site that he hasn't updated in 9 years and is impossible to reach.

At least the leech responds to me immediately, will negotiate 100% of the time and will actually sell you the domain.

Meanwhile, you've got the owner (might be previous owner considering the site has been updated now) of "Steam.com" who had a message saying "domain not for sale" on the site for years. [1] Not using it. Not selling it. Just sitting. Now Valve has to use the ugly abomination known as "Steampowered.com".

When I want a squatted domain, I can get it. When I want a domain some random guy owns, he doesn't reply 80% of the time. The other 20% he won't sell.

[1] https://imgur.com/JV0hm
I've been on the fence about this. If you don't mind, how did you get started?
It does work well. I used a customized version of https://github.com/mailcheck/mailcheck on an ecomm website and the amount of bounces due to typos went way down.

It is important to tune it a bit based on what you see after installing it to reduce the amount of bad suggestions.
Better delete this ;)
Apologies for a slightly editorialized title. Useful in this case, I think.

As an aside, it's interesting lately how often the "title" at the top of a page, what's indicated when the page is bookmarked in the browser, and what would appear to be a title in the URL can all differ.
Yeah so lets ignore international nuclear safety organization who have verified the situation and the US national and international intelligence agencies who have also said so.

> ignore the ones that say Israel should be wiped out.

Israel has multiple times and often directly advocated and produced fake evidence in order to attempt to provoke a war between the US and Iran.

There is a well document history of this.

Why do we think its legitimate for Israel to ignore international agreements, and threaten Iran non-stop (including multiple assassination and attacks on Iranian territory) but when Iran does even 1/10 of that everybody freaks out and calls for war on Iran?
I'd say I'm under-credentialed. I don't have a CS degree.

I'd like a way to prove my skills once, rather than with every interview I have. I bet CS grads would as well. The interview process is just so... tedious. And in a field where you get significantly more money by changing jobs, that's a problem.

It's a market inefficiency imo - people get stuck in jobs where they aren't paid enough for at least some amount of time. People can't hire new employees quickly because the process takes forever. I've been on both sides of the interview process many times and it's extremely inefficient on both sides. We're developers... this should be streamlined and automated.
External arrays are static, they do not involve any dynamic allocation.
American billionaire locks access to public lakes in Canada
>Facebook is kind of an interesting example, as they got pretty far into "hyperscale" with mostly PHP, memcached, and Mysql.

But PHP and MySql are only the surface level tools we see.

There is also the unseen and that's where the immense complexity lies hidden under the surface.

E.g. To help with scaling (which Friendster failed at), Facebook had separate MySql instances for each school. An interview with Facebook co-founder Dustin Moskovitz mentioned they had constant stress of emergencies and fires to put out. They had tons of custom tooling, Linux scripts, batch jobs, automation/orchestration/dashboard, etc and it's very likely the combination of all that ends up inventing an "invisible internal Kubernetes" without calling it "Kubernetes" to manage their server fleet. In other words, if Docker/Kubernetes/AWS were around, the early Facebook team might have offloaded some of the complexity onto a 3rd-party to reduce the all-nighters. But the tools didn't exist yet so they had to do it the hard way and invent "deployment orchestration" themselves.

[EDIT to reply]

Thanks for the "Tupperware" comment. A Google search leads to a Facebook post saying they renamed it to "Twine":

https://engineering.fb.com/2019/06/06/data-center-engineerin...
>Also, I assume sales force engineers aren’t SSHing into each shard and running docker-compose manually on each one.

Nothing wrong with that if all you have is 10-15 shards (or whatever your annoyance upper limit is).

Might even be faster and cheaper than spending hours learning/debugging/figuring out edge cases on something else.
Why fire the team and not just repurpose them? They’re already familiarized with some aspects of the product.
Congrats!

It helps if we could see more details about the architecture.
You need a third party in between.

That’s what is crazy and took me a long time to debug. If I send from my gmail to myself it works fine.

But if I send to an external mail account that redirects back to me it’s gone.

You can test this with any mail server you run. You can theoretically run a mail server locally and test it if you have DNS resolution that gmail can see.

I use cpanel on one of those countless Linux shared hosts and they have a decent mail admin, I expect any other host will have the same or similar.
How to evaluate ESOP offer at salary negotiation?
I've been offered a position in an early stage startup with a substantial percentage of my compensation in stock options.
Aside to whether going for esop or cash is a good/bad idea, I'm having issues evaluating the offer and understanding its fairness. I read about strike price, vesting etc. but I'm having issue understanding the monetary value of the stock option at present.

Let's say that the average salary for my role is 90k/year, and I get offered 60k in cash and the rest in esops. How do I measure the current value of the esop I'm offered (to make up for the remaining 30k) and understand if the amount of esop offered is fair?

Thanks!
Oh, wait, the original code receives input array while above loops from zero to n which is something else.
>No, in practice humanity never figured out how to safely and efficiently use this power source

That's patently false. Nuclear has the fewest deaths per TW generated of any power source.
Yeah, where is your reference? That's what "grown ups" do...
Huge mistake. I was surprised as well :)
Try using a .Irish domain
Agreed. Kosher salt is mainly not flaky, it just has slightly larger granules than table salt. I think the poster above might be conflating some of the flakier salts you can get which might also be kosher with standard kosher salt.
Yes, but it never gets to inbox. So it looks to the client exactly the same as a broken forward config, or some other bug where the recipient mail server doesn’t error back.
Netflix's GraphQL for Spring Boot
A Bruce Schneier post on this yesterday [1] says:

Somehow, the threat actor either knew that the exploits would soon become worthless or simply guessed that they would. So, in late February, the attacker changed strategy. Instead of simply exploiting targeted Exchange servers, the attackers stepped up their pace considerably by targeting tens of thousands of servers to install the web shell, an exploit that allows attackers to have remote access to a system. Microsoft then released the patch with very little warning on Mar. 2, at which point the attacker simply sought to compromise almost every vulnerable Exchange server on the Internet. The result? Virtually every vulnerable mail server received the web shell as a backdoor for further exploitation, making the patch effectively useless against the Chinese attackers; almost all of the vulnerable systems were exploited before they were patched. ...

Now comes the criminal attacks. ... Expect the ransomware gangs to weaponize this attack within days.

It makes sense (for some perverse definition of the word "sense") for the initial group/s to spill the beans to all and sundry when the game was up, if chaos/damage is an ancillary goal.

[1] https://www.schneier.com/blog/archives/2021/03/more-on-the-c...
The “and is recycled” part puts a crimp in that plan. :-)
Benefits of a Ketogenic Diet – Weight Loss and Beyond
Everything except the GPU (and display controller)... which is a bigger challenge than every other driver combined :) (their kernel runs only on the boot-time framebuffer so far)

Unfortunately, we've yet to hear any feedback from Corellium (they've been CCed on my upstream submissions), nor have they interacted with the Linux kernel community in any other way, so I have no idea what their plans are.

So far, after working with upstream on solving the core problems I mentioned in this article, the M1 support series we are submitting supersedes Corellium's patches for FIQ, the nGnRnE issue, SMP, AIC, UART; we settled on different solutions for all of those from how Corellium did it. I²C is also another one that will be superseded most likely (Corellium wrote their own driver instead of improving the PASemi one; it doesn't seem like there are any show-stoppers that would warrant that approach). I don't know what they're going to do moving forward; perhaps they will re-base on top of mainline and drop their conflicting patches, or perhaps they will attempt to maintain their kernel as a Linux fork...
A couple of alternatives for Linux users.

https://wiki.archlinux.org/index.php/IBus#Emoji_input

The kitty terminal emulator supports this out of the box (it also works on two other platforms):

https://github.com/kovidgoyal/kitty

Ctrl+Shift+U opens a Unicode input panel with fuzzy search by symbol code or name.
No.

I'm running some mysql and sqlite databases locally for my apps apart from Oracle DB. All for free.
Limit of current understanding. everything at this level is a theory, with math to boot.. most theories say particles have mass and therefore interact via gravity at insanely small levels (which we cannot currently measure), and other fringe theories postulate particles don’t interact via gravity at all... we won’t be able to experiment with these theories until sensor tech / approaches like the OP are refined enough to be in the ballpark of detecting these small levels of interaction.
The EU continues to control .eu because it is available only to EU citizens. Nothing changed.

Your surprise exactly reflects the typical beliefs of a Brexit supporter, you thought the idea is you get to keep all the benefits you had before, and also you get rid of any downsides you didn't like, and somehow it's the EU's job to help you achieve this after you leave.

That didn't make any sense in 2016, and it still didn't make any sense in 2020, and so unsurprisingly here we are in 2021 and it isn't what happened. "We told you so" is boring but it's true. We told you so.
Show HN: Vax.Codes – Open-source Covid-19 vaccine verification QR codes
> but I'm sure if you lost that overnight you'd still owe back the... 'sale price', so it is just plain old debt

I'm actually not sure about that. Maybe it's the buyer who carries the risk of the customer not paying for the contract. Maybe. It would be great if a company that provides financial services actually explained said services.
The effect of most 10x software engineers is seen most often at the architectural level rather than the coding level of the project.
That's not how language works.
I've recently decided to learn c++. I've used Java for over a decade and have had felt little reason to learn c++ until now.

What changed? There is code I need to do maintain in c++. If I don't do it, it might not happen.

Sounds like you are in a similar situation.

It feels weird learning a language competing with a HN darling (Rust), but I have the need.
WhatsApp to Stop Working on These iPhones – It’s Official Now
The new age local web development platform?
Replit moved to dotcom. https://blog.repl.it/dotcom

I think, as a start, any domain is fine but when you have gone big, you should acquire dotcom.
How do you spend the five minutes a build takes?
Building software or applying configuration changes (Ansible, Puppet) takes some time. If it's just a couple of seconds, you wait for it to finish. If it is a matter of hours, you do something else and check back later.

But what do you do if a build takes about five minutes? Starting another task (like programming) is hardly possible, because you don't get anything meaningful done in five minutes. Checking emails, chat messages, or the the phone either doesn't fill up the time (no new messages) or just sidetracks you (starting another task that takes longer than five minutes).

Checking some random websites or social media is also a bad idea, especially if you have a lot of those five minute builds during the day, because then it creates a habit of distraction.

How do you spend that time?
You guys also have “vending machines” for things like Ethernet cables in the office with price tags displayed. They’re free, but it’s to remind you not to waste Bezos’ money on frivolous things. And you pay market-rate for microwave reheated salmon in the cafeteria.

...then they go and buy more of some the most expensive office space in the world per-sqft.

Source: I interviewed there 3 times and every time left me with a dystopic impression of the company. To add insult to injury their recruiter only ballparked me only slightly above half of my then-TC.
I don’t think so as email forwarding is pretty basic and it’s blocked even for tiny messages.

I suspect it was just some stupid developer pre-optimizing, thinking they were clever and not thinking through use cases. “Every email from me to me will skip external routing and just get flagged in storage; therefore, any email from and to me and not through that process must be fraud and we’ll just save the user from that and black hole it.”
I can reply to you with only one thing: please, learn more about modern reactor designs and their safety systems, don't embarrass yourself. Also learn why the Chernobyl event was so nasty and why its impact is significantly bigger compared to Fukushima (hint: graphite moderation).
This also applies to speaking. One lesson I learned from attending Toastmasters meetings regularly for several years is speeches with simple structure and words stick with me the longest.

For both speeches and emails, I don't know why the default is to use more flowery language than is necessary. However, it is refreshing to go back and delete lots of words while still capturing the same idea.
>- ci/cd is maybe not relevant to your users, but its about your own sanity, it forces complete documentation in code of what is done to build and ship, decouple it from local dev setups and make as deterministic as possible. Even small project benefit, have you ever come back after 2 years and took hours to remember the order of voodoo commands or lost a laptop and then had to install specific versions of cli tools?

This to me is the biggest advantage of this sort of thing. Documentation and notes are great, but I'd rather just have the thing-in-itself available that does the job.
it's a full featured 2mb web app

it is not a bloated 20mb C# blazor simple todo mvc web app lol
Do it. It's especially great for a career change from one field to another and exposes you to a lot of the subfields in CS.

You might find something else you like other than VR too!.
I’m confused. Isn’t a kubernetes cluster just a way to deploy software onto a couple of dozen ec2 instances?

Sure it has some accidental complexity, but so does having half a dozen different software systems each managing their own deployment pathway onto ec2.

There seems to be some belief that kubernetes has to be some kind of crazy complex system to operate, when really it’s just an api for managing which docker processes get spun up.
That‘s easy if you are just serving static html. But a database replicated on 5 continents? That‘s a lot of latency for replication.
I'm not an accountant, but this may not be accounting debt. It may sound like debt to you, but selling accounts receivable is a one-time transaction that sells off assets. Your balance sheet no longer includes those assets (in this case subscription payments). Taking on debt means that debt is on your balance sheet. Investors hate debt (they don't want to give you money to pay someone else back), so if you're trying to raise money, it's better to have a smaller balance sheet than a balance sheet full of debt.
Best Speed Reading Apps 2021
And then there's the "I've already done it this way a dozen times and I'm comfortable with it. There are benefits to it and it's not that much extra effort to set it up from the beginning and save 10x effort down the line."
Maybe similar to this, but it works if my message stays in gmail when I send from my gmail straight to my gmail.
>We, as technical HN crowd, know not to do this this

UWU US HACKER NEWS USERS ARE SO INTELLIGENT!!!

Worse than reddit.
A stick of butter is standardized though. It's a quarter pound.
CO2 is not that kind of pollutant. The whole shipping industry is about 3% of global emissions. A gas lawnmower produces more pollution than an SUV but not more CO2.
I don't think this kind of attitude should be encouraged. Imagine other professions celebrating things like that.

Surgeon: Some of my patients request bladder surgeries while in reality their problems could be solved with a few simple diet supplements. But I just do the procedure and take the money. Just bought my 3rd Tesla, thanks to superfluous bladder operations!

I know selling people shit they don't need is celebrated as an achievement nowadays, but feels like it shouldn't be.
Indeed. But if you ask the whole world (as we're on the internet), 1% might recognize it as "Konzentrationslager", 2% might recognize it as Kazakhstan and the rest have no idea.

So for general internet usage, I think it's fine. We're not modelling the internet after German customs after all.
It’s a payday loan for businesses from what I can tell.

I see about 10 ads a day from these guys, so some more things I observed:

- They’re trying to build a capital market aspect on payday loans - essentially, turn “SaaS subscription stock” into “SaaS subscription future” and let people trade it... except, that is a terrible investment with little to no upside. The company can go under, reduce prices, and in general a subscription worth $k is equivalent, at best, to holding $k in cash with no interest.

- So to make investors “buy”, you give them a discount. Which means, for all intents and purposes, there is interest. There is debt (where does accounts payable go on a balance sheet?) contrary to their marketing material.

Debt + interest, with your future earnings as collateral = payday loan. Plus some lipstick to distract you from this fact.
Light switches cause cognitive load? If anything, people have too little cognitive load keeping their brains off most of the time.
Just because there's nothing on the homepage doesn't mean it isn't being used. I've had a domain name for the last 10 years with no homepage that I'd never sell because me and a few others use it for email only. There's more use for a domain name than simply the webpage.
Over the last 50 years nuclear has gotten more expensive not less. Also we dont have another 50 years. We dont even have the 10 years it takes to build a nuclear powerplant.