skysight-inc/HackerNews huggingface dataset:
This problem is not exclusive to bash, try copy-pasting python 2 code into python 3.

Or ES2020 code in a browser.

Or ASM z80 into an x86 program.

When you're copy-pasting, you should be aware of what you're copying, and where you're pasting it.

Surely, no domain in IT is idiot-proof.
This stood out to me too - that’s the Midtown finance bro uniform. Further confirmation that tech bros are the new finance bros.
Sounds like a perfect fit for Facebook.
Now you have to keep patching a server for a static site
YouTube channel "The B1M" published quite a few videos about why supertall skyscrapers aren't interesting to build: [1], [2], [3].

To summarize: they're very expensive to build and the turnover is uncertain.

[1] Why Dubai Creek Tower Stopped - https://www.youtube.com/watch?v=IPUOOz30dJQ

[2] The Greatest Skyscrapers Never Built - https://www.youtube.com/watch?v=7RxbSBWC8hw

[3] Will There Ever Be Another World's Tallest Building? - https://www.youtube.com/watch?v=T4CCY9RJeD4
Years of Google engineers squeezing performance for JavaScript heavy web pages maybe?
I’m no expert in authenz. That’s some of the clearest and most concise description of all the available technology for web authenz. Looks like Biscuit could be a good thing.
If people copy-and-paste complex shell scripts without testing, you’re going to have a bad day no matter what you do. The solution is to work on better practice, use of shellcheck, rewriting complex logic in Python, etc. since that’ll pay dividends in so many other ways.
> The dominant American roof uses inferior technology because it inexpensively lasts on average about four mortgage holders (average US mortgage holding period is seven years)

Interesting contrast with the UK where a typical mortgage duration is 25 years (and the roofing material is designed to last at least 4x that, and with appropriate repairs several hundred). But I think the UK roofing approach is more driven by regulations (and the typically higher housing cost relative to incomes much more by by land shortage)
Don't sigh melodramatically at me.

I wasn't saying you were confused, I was saying I believe I understand how the general confusion around the whole issue arises.

(If decimal floating point had been commonly used instead of binary, the same class of issues would still exist, but I don't think people would be nearly so surprised by them).
One thing to note about mountains is that they can have been artificially created during earlier times.
The misty mountains were for instance intentionally created to be hard to pass[1]. Angles might make more sense then.

[1] https://lotr.fandom.com/wiki/Misty_Mountains
```
IFS=$'\n'; for i in $(cat ./my-cute-github.lst); do git clone "$i"; done
```
That is certainly how, but why? What have they done that enables it to do that?
> into an international crime on par with genocide and crimes against humanity is gaining momentum in the EU.

Honestly, this sounds like a global totalitarian state. No, clearing land is not the same as a genocide. Are we going to execute some poor farmer in Kenya?

Particularly, this is detrimental to the poorer countries which may not even have the central authority or resources to impose their will by potentially starving their population.

I understand the concern, but I don’t think this is a reasonable position to take.
Not sure I agree. I'd rather have one of these than flat suburban sprawl for dozens of miles around.
And they can leave it if they want to.
Mart
Nice https://www.prepaidgiftbalance.vip/
Don't waste time reading that, it's mostly wrong: https://news.ycombinator.com/item?id=26778281
This actually looks like a truly useful website - I’ve noticed previously that it can be quite tricky to search for jobs at job board sites such as Indeed etc.

Be sure to include employee reviews of the employers as a feature! Those are similarly tricky to uncover.
Confessions of an Overnight Millionaire
https://www.prepaidgiftbalance.vip/
Ok, but I would have presumed linux was also more sophisticated, having been developed over a much longer period of time.

What is it that’s more sophisticated about stuxnet than Linux?
I did send an email but didn’t hear back unfortunately.
As always my take on this is that if you don't care about portability, why even bother with bash?

My rule of thumb is that if your script becomes too complicated that you find POSIX sh limiting, it's probably a good hint that you should rewrite it in a proper programming language. Bash scripting is an anti-pattern in my opinion, it's the worst of both worlds since it's neither portable nor that much better than POSIX.
You hardly have to create a new protocol because you don't like Signal. XMPP exists... You can even use the Signal encryption in the form of OMEMO, although it might be a too complicated for good standardization.

>...if you want to support voice or video chat (please don’t), that’ll complicate things even more.

But not very much. If you define a method to securely establish a shared secret then this sort of thing can be an entirely different standard hopefully implemented as a separate binary running in a separate security context.
If they would have went with a regular roofer a year ago they would have avoided price hikes on standard materials. Now they face higher costs both ways.
The CPAN modules availability can be worked around using App::FatPacker.
https://metacpan.org/pod/App::FatPacker

That's what I'm using for github-keygen for maximum portability.
https://github.com/dolmen/github-keygen/
That was just in the abstract, what you see on the first page clicking the link.
Node uses a JIT compiler (V8) and is not interpreted. This is why it's so fast.

You could compare it with PyPy, a just-in-time compiler for python.

For example, on my machine, the same program runs in 2:12 min with the regular python interpreter, and in 1.57 seconds with pypy.
CCP is also very popular among people and companies. Or the republican party. When you have money and power your popularity increases. That's why all the fines are mostly theater shows.
While I agree, this reads as "faster horses."

Though I would be for it, half of the US will vehemently oppose funding "fake news" with tax dollars.

That leaves "ditching the horse altogether" as the only option.

What does that look like?
Ask HN: Good resources for transitioning from SDE to project manager?
There are more people in the world than you. You might do everything perfectly; other people won't. Especially users who have yet to learn about these pitfalls. If you haven't run into this, either you're lucky enough that it doesn't apply to your situation, or you haven't become aware of it or tried to pay attention to it. I know I've seen people try to run Bash in their Mac's zsh (not necessarily deliberately either; some programs just run the default shell) and watched it crash and burn. I'm not condoning it, I'm saying it happens whether you and I like it or not, and you can either blame the victim (which I guess wouldn't be the first time I see this happen), or you can do something about it.
Taxes are hardly the issue, it's the fact that in high-density and high-income areas, there simply isn't enough supply for the demand.

I'm from Slovenia and, ignoring the capital, which has a huge housing shortage (not much room for the city to expand), it's still quite common for people to own apartments. It's definitely decreasing, like everywhere in the world, but not unheard of. I also never said anything about a house - that's a completely different story.

From what I've heard, normal apartments basically don't exist in big tech centres in the US. You either get an expensive moldy hole in the wall or a huge new development that even a C-level will have a hard time getting a loan for.

Again, all of this is just from my perspective with the parameters that I care about. I know it works for many people, but the US really just isn't for me.
The American Jobs Plan Will Make Our Infrastructure Crisis Worse
Private Home Directories for Ubuntu 21.04
Something is seriously wrong there.

Even on an ancient computer once I turn off menu and window animation the start menu and small folders open with 0 spinning and probably less than 20ms.

Maybe your “fresh install” has a bunch of bloatware and virus scanners?
absolutely. court will do enforcement of the clauses and will apply remedies for damages if a tort is found. doesn't make breaching contract against the law, unless a law is violated while breaching the contract (i.e. fraud)

so by contrast you think the ever given being late against their delivery contract is illegal?
Which can be used as an excuse to dismiss her without putting Facebook in trouble for discrimination or retribution.
Thanks for sharing! Solutions to this problem in the vein of jq and optics were precisely why I started the repo above.
I don't know if it applies, but what you're talking about sounds like Promissory Estoppel.

https://www.law.cornell.edu/wex/promissory_estoppel
what controls what thing can and cannot be in a contract
Amazing it was only 60 years ago.

My favourite Gagarin story was when he visited Manchester on a rainy day and they wanted to replace the open top car for a car with a roof. Gagarin said no that if the people waited in the rain then the least he could do was sit in an open top car
> Are we going to execute

That sounds excessive even for actual genocide perpetrators. I strongly doubt many of the proponents of this campaign want to sentence anybody to death.
A few reasons:

I was tired of the cost and dysfunction of the SFBA.

Shift towards remote work makes me far less dependent on physically being in the SFBA.

The nice parts of Miami, relative to the SFBA, are shockingly clean and safe feeling. Even the rough and dangerous parts of Miami are still cleaner and feel safer than SFBA. Miami has its share of crime but it tends to be organized and less random and to be blunt, if a bit amoral, far less likely to affect me.

I really enjoy the vibrance and density of coastal Miami. Reminds me of Singapore.

I love warm weather and beaches. The Pacific Ocean is prettier than the Atlantic, but the Atlantic is far warmer and swimmable most of the year.

I grew up in Philly, Miami isn't quite Philly / NYC / Boston but still has more of an East Coast vibe.

Tax benefits to Florida.

My 81 year old mom lives in Boca, so this is far better for family.

My fiancée is Brazilian so this is closer to her family and there is a huge Brazilian population here.

Even though I've always been politically active, the last few years have been exhausting. Miami's dominant political culture is pure apathy and its nice that not every aspect of has to be dominated by some political issue or another.

As for Brickell, its a great way to "start" in Miami. For us, we wanted a simple move where we could rent an apartment for a year before figuring out where to settle more permanently. Its incredibly walkable, safe, etc.
Menulog to pivot towards ‘employment model’ for all couriers within coming years
I think the main thesis still works, as long as we add the caveat that the programming needs to be in a language and environment that the programmer actually enjoys.
first man survived going into space
The rise in totalitarian measures justified by protection of 'the environment" is striking me as a great cause for concern.

The legal actions undertaken to force climate legislation are setting a dangerous precedent that can be used by any other group wanting to force their own pieces of legislation through.
Facebook is worse than state-controlled media in those countries, and they have a moral obligation to stop doing business in oppressive countries. People know that state-controlled media is biased, but oppressive leaders can demand censorship from facebook at whim and nobody knows about it.

And i would not be surprised if bribes inside facebook are involved , as some of those countries are known to run extensive bribery operations e.g. https://en.wikipedia.org/wiki/Azerbaijani_laundromat
>The SHA-1 pre-image resistance would prevent that.

No, I'm talking about computing something much less ambitious than solving pre-image resistance.

Consider the example SHA-1 hash[1]:

SHA1("")
gives hexadecimal: da39a3ee5e6b4b0d3255bfef95601890afd80709
gives Base64 binary to ASCII text encoding:
2jmj7l5rSw0yVb/vlWAYkK/YBwk=

Embedded in that hex is "95601890" ... which could be somebody's driver's license number. Now that the number is publicly visible via some legitimate purpose other than illegally publishing drivers license numbers, we can then argue "How can a SHA-1 of a empty string illegal?!?"

It's a similar concept to creating "vanity" public hashes for Tor or bitcoin addresses or finding a hash that has a certain number of leading zeros in "proof of work". Embedding arbitrary illegal information that way is more computationally feasible with brute force than perfect pre-image attacks.

The underlying idea of the hack is the same : Find some way to make illegal data be interpreted in a totally different way that _is_ legal. It's very hard to do for large amounts of information such as 9 GB mp4 rip of a Blu-ray disc -- but easier for small amounts of information... such as the DeCSS C source code converted to an "interesting" prime number.

[1] https://en.wikipedia.org/wiki/SHA-1#Example_hashes
Tolkien is 50 years dead, The Hobbit's copyright expires in 10 years. I think it's fine.
> Guy Rosen, a co-founder of the spyware company Onavo, is now Facebook's "vice-president of integrity"

Isn't that just the perfect match, based on how Facebook defines "integrity"?
Lumi (YC W15) is reinventing manufacturing – work anywhere
sure, but then you have the overhead of packaging all that junk up vs a single .sh file.
Skeptical != wrong

https://www.merriam-webster.com/dictionary/skepticism

https://www.merriam-webster.com/dictionary/wrong

If there are factual in accuracies with my claims, I am happy to be proven wrong. That's how I learn!

I just need proper citations.
What about more clearly identifying when a comment, like, etc is made by a page instead of an account, and include the account(s) managing the page in its transparency report?
Tinder Makes Its First Match in Antarctica
Show HN: Dorik – Design and Host Beautiful Websites Without Code
In order to mitigate the latency of using nginx as a reverse-proxy, I recently added a feature to a Haskell application: instead of listening on a TCP port, it can listen on a unix socket. It's not only faster, it also avoids the congestion problems of TCP, and adds security (unix user and group permissions).
Finally. There are too many unaccountable destructions, from Deep water Horizon or that Bopal chemical to all the abuse inflicted on the ocean. Sadly I doubt there is much of a chance that the main abusers (China, US) join in...
It's not a loophole if you can drive a truck through it.

That's like claiming that abusing slaves was a 'loophole'
I couldn't reel off the details but China is probably a good example. As you say, it probably comes pretty naturally in a command and control style economy.
“Ambiguous Objects” that change their appearances in a mirror (2018)
One point that the article does not state directly, but implies (or assumed the Reader should know) is that the majority of jurisdictions have codified the right of incumbent hospitals to veto any new hospital buildout in the same area.

Think about what that means for a second.

Can you imagine a world where Burger King gets to decide whether a McD can open across the street ?
It's time to read the article.
What are these totalitarian measures you speak of?
Snake: 15 hours from the idea to play the final game
"Any time I have to do any serious shell scripting at work,"

Right when this happens, that very second, remember there are hundreds of other languages that can do anything bash can in a readable fashion. EG. os.system() in python. If you are writing more than 3 lines of bash you are doing it all wrong.
I use shadowsocks-libev for everything these days. It's UDP so unlike TCP it isn't quite as vulnerable to, say, central government or ISP mediated forged TCP reset packets. It's way faster than a ssh socks proxy too since it isn't limited to one connection. And it's tiny and requires very little CPU resources and only about 2 MB of ram.

It's getting less and less funny that I have to use the same methods as chinese citizens living under a dictator for life just to avoid my ISP attacking my HTTP connections.
I would call the second or third person copying what he's doing "cheap", I wouldn't call what he's doing cheap.
I don't know if this is some stream-of-consciousness writing exercise but this article seems confused. On the one hand, he complains of lies, trolls, neo-traditionalism and their technological proliferation, but, on the other hand, "I want a First Amendment" becomes his clarion call towards the article's second half. Does this person realize the subjects of his polemic are all covered under the First Amendment? I'm not particularly partial to India's illiberal democratic populism. Far from it. But I don't see how the author expects that having cake and eat it too is a feasible solution.
Show HN: Dipa – a framework for efficiently delta encoding Rust data structures
The fact that this whole discussion exists and everyone appears shell shocked that Daddy Elon is gonna go back on his words or that he used PR and blind faith to his advantage tells me that there's nothing to add here other than my original comment.
Fair point. I see everything through the lens of my cloud / SaaS niche but Go is now used far more broadly than that.
> This problem is not exclusive to bash, try copy-pasting python 2 code into python 3.

No, it is highly exclusive to Bash actually. In Bash, even one-character mistakes have a high potential to cause catastrophic damage. Just splitting or globbing on the wrong character can wipe your filesystem. As well as issues like these, where your string being '!' suddenly causes the command to be interpreted entirely differently. And Bash has modes that keep going when there is an error so it's not like you'll even know you've encountered an error or get any kind of visible crash + stack trace necessarily. It just keeps trashing everything further and further. These are extremely wildly different from Python.

> Surely, no domain in IT is idiot-proof.

I would love to know what happens when you say this to a user who pastes your Bash in zsh. Do you tell them your code isn't idiot-proof? Is everyone who ends up running Bash in zsh for some reason or another an idiot?
A data scientist fired for poor performance because she didn't perform some perfunctory tasks while she dedicated herself to investigating and uncovering all these fake bots.
The ICC is a terrible place to try such a crime if the goal is to have a real impact on carbon emissions.

Four states that aren’t members: China, India, Russia, and the US. Four states with the largest carbon emissions? China, India, Russia, and the US - on 2020 figures (0), these four states account for more than half of the world’s carbon emissions.

(0): https://www.ucsusa.org/resources/each-countrys-share-co2-emi...
Rice and Beans in the Outer Darkness
Just because a brand isn't "mainstream" doesn't mean they're small.

the root of the issue is audio is highly subjective so what sounds good for you may sound awful for me. Confound that with other variables such as amps and dacs (tubes, class A, "warm" vs "cold") and it's a total mess.

Second headphones ARE measured with a clear metric, you have frequency response graphs and distortion graphs which paint a objective picture about how the headphones sound.
We have Deepwater Horizon/BP oil well disasters, companies raising foods crops using fertilizers and herbicides, and people eating hamburgers.

All of those impose environmental destruction at some (very different) magnitudes. Which of those must a world leader prevent in order to avoid running afoul of the tribunal? If everyone avoids Deepwater Horizon scale events, are we done, or do we start to go after cow farts next?
The problem with globalized environmentalism is that you eventually run out of other countries' police officers.

We can barely enforce the three international laws that exist today: "don't wipe out groups of people (genocide)", "don't build nuclear weapons", and "don't just start wars". We've seen all three threatened in the past year (Ethiopia, Iran, Azerbaijan respectively). The more "international law" you tack on, the less legitimacy any international law has in the first place. And the account balance doesn't look good.
There was a site posted here a couple of years ago where you could select an area in OpenStreetMaps and it be would stylize and carve it into a piece of wood using a CNC machine and send to you.
Hot take: A bit more totalitarianism is not a bad thing. Currently, mainly outside of the US, companies have too much of a free rein to do whatever they like - in Brazil and China it's even government mandated. Corporations destroy the environment while not paying their dues, and they need to be reined in.

This does NOT directly affect the general population, which should be the most afraid of totalitarianism or a 'strong' / 'big' government. But the general population has a relatively small contribution to environmental destruction.
> A great many people with six- and seven-figure salaries who dabble in spirituality may be facing a comparable shock in the months and years ahead. Spirituality is taking on the status long since accorded to rice and beans: flags marking territory that has been defined by elite culture as outside the pale. Back when the well-to-do were emoting about the diet of the poor, to suggest eating rice and beans was to define yourself as insufficiently loyal to the status signals of privilege; in the near future, using tarot cards, practicing meditation or yoga, and failing to agree enthusiastically enough with the latest denunciations of spirituality by allegedly serious thinkers will land you in similar trouble.
'For all mankind' shows if the space race continued; brings to heart what these people felt after going up and to the moon only to be stuck in earth orbit maximum for the next 40 years.
Taipei 101
Our educated liberals hate Californians just fine, thank you.
I don't know what you're referring up. Did we ever end up sending a dead human body into space?
Lufthansa also sells tickets to connecting train rides to flights and as far as I know, they take the responsibility for delays (which is common occurrence with Deutsche Bahn unfortunately). I'm not 100% sure though.

Still, as you've said, it makes more sense to book a connecting flight than a train ride, because of the ease of checking in.
20 Activities that increase my creativity as a developer
You also probably won’t be missed by most people either, yet nobody would say your death would be justified.
I wonder if it's possible to run a linux vm (ala jslinux) in browser, connect them to the network via a proxy to allow the apps inside the linux vm to make arbitrary connections (I think I saw a jslinux clone that uses some form of proxy to allow tcp access from inside the vm, but forgot the name), then run a kubernetes worker node in them. Then you can try to make the page viral somehow and then enjoy your huge and free kubernetes cluster!