skysight-inc/HackerNews huggingface dataset:
Pragmatic optimism is the best. You don't delude yourself that everything is okay when it's clearly not, but you know that you can handle most challenges thrown at you and you use the best methods suitable for handling any problems. You are only negative if it's worth being negative about. And this is about the things that are changeable and you are negative so you would know what you have to change or improve. You give benefit of the doubt to people as much as is reasonable.
Guys can you stop the "hello from Hacker news" comments? its spam.
> Bricks and stone provide abysmal thermal insulation

Even 80-90 years ago, brick housing in wester Europe was made with walls of two layers with an air/insulation cavity inbetween. Current practices usually don't use clay bricks but aerated concrete [1] which has great thermal insulation, plus insulation layers on top.

> what does "much more solid" windows mean exactly

Triple-glazed windows with well-insulated frames, rather than single-pane push-up windows that leak heat like a sieve. Massive difference in thermal and acoustic insulation.

[1] https://en.wikipedia.org/wiki/Autoclaved_aerated_concrete
I grew up with desktops with big ass full sized keyboards and gravitated towards 60/65% over time. It's just much more comfortable to use.
Thermite.
Piezo ignition. Bonus points for using a Raspberry Pi gpio to do it from a crafted SMS.

Do keep a fire extinguisher in the room below though, it's more effective than you think.
It's as if he has confused the cute little imaginary kitty cat with the evil old real lawyer, and he thinks you're ferociously going after an innocent kitten.
Flowrite's viral referral program – How we 8x'd our weekly signups
Tried running rails on it? Its like 10x slower then mruby still in my experience.

It is the same issue I've seen with jruby and rubinius back in the day: they claim it is as performant or faster than mruby, but then you port a simple rails app and it hardly even manages to start the server. Not sure what these ppl are doing for benchmarks, but it ain't representative
I hope a more convenient way is created. I've deployed some projects via Sonatype in the past. And while they are friendly and responsive, it's a complicated process that involves manual approvals by them (for your first release), setting up gpg keys, etc. It takes days for this to happen. It's a big reason jCenter became so popular: it removed a lot of the friction for publishing a simple jar.

One thing with jcenter is that you can actually propagate your jars to maven central if they meet minimum requirements (like having javadoc and sources and the right meta data). Many popular jars are actually propagated to maven central that way. I've done that with one of my projects and it already is in maven central. Once there, it will stay there.

The issue here is not Sonatype but the fact that the Apache Foundation is understandably very selective about which companies they allow jars to propagate to maven central. Unlike python, ruby, node.js, etc. there is no public repository where you can sign up and publish your jars. Instead you publish to one of a select few of repositories they replicate from, which effectively means Sonatype or JCenter.

For a long time, Sonatype's repository for OSS jars was the only way to get into maven central. Basically you publish your jars on their repository and then some time after that, maven central picks up the changes. I expect the Sonatype people will be very busy in the next months dealing with the fallout of JCenter disappearing. So, expect some delays. That may be a good moment for them to reconsider some of their processes around this.

A more modern/user friendly way would be helpful. Maybe Amazon, Microsoft/Github, or Google could step up and provide something. Or all of them. Or maybe they can even work together to make that happen. After all, MS bought npm as well.
The most pristine and elegant piece of software ever written won't get in your way in the first place, people notice software only when it fails.
This seems interesting from a legal point of view as well:

Is an app downloading, but never displaying, creative commons content infringing on copyright (by not showing correct attribution and violating the CC terms)?

Besides copyright, could this be considered theft of service?
But if you're able to collect those plastics it would be better to send them to a well managed landfill rather than make them into bricks.
That would be great, e.g. a customizable laptop keyboard with an open source firmware :-)
There’s a lot of stuff to do and configure. You need to set up ssh forwarding and some times it may mean configuring firewalls, ssh keys, or VMs/servers.

GitDuck is just one command, the other peers don’t need to do/install anything and very easy to control permissions (read only vs read+write)
Steve Jobs told Google to stop poaching workers (2012)
Then why Trump supporters walk with the Confederate flag in hand?
My experience too. I was shocked how terrible Python ecosystem is.

For example stuff like dependency confusion i.e. public package with potentially malicious code overwriting private package are impossible in Composer by design.

https://twitter.com/seldaek/status/1359417655762055171

But pip, npm and RubyGems failed to protect against dependency confusion. So Apple, Microsoft and dozens of other companies pulled malicious code.

https://medium.com/@alex.birsan/dependency-confusion-4a5d60f...

We are very lucky to have awesome Jordi Boggiano in the PHP ecosystem.

He is doing gods work on Composer and Packgist.
I'm well aware a sustained fire will melt and burn the bricks. The question is how fast and how easy it is to ignite.

Sand has a lot of thermal mass, so with some insulation against surface fires (PE surface is easy to ignite) - say a proper coat of paint, or maybe some plaster - a lone kindling would not ignite the bricks. A proper fire will, but then you should be running away anyhow.

Still, if I were a firefighter, I would not approve of such building materials, unless the shoddy construction is well known, so noone dares go inside, mainly because it's likely to collapse and turn in to a bunch of hot burning goo. Luckily, they seem to use it for pavement.
>> none of the code on this page is something anyone would actually write in production code on purpose.

I mostly agree, but there is one example where I thought it is important to know and remember:

for x in range(7):
def some_func():
return x

Here x binds to the (outside) symbol x, not the value of x at creation time of the inner function.
If I want to share the text between devices then I need to send the link? What is stopping me for sending that long via text, slack or other messaging platforms?

I am trying to understand the use case here.

Some feedback:
- Add ssl.
- The url will always start with `default`, you can use uuid to make it unique.
It was relatively rare to see SQL in idiomatic FoxPro of old, and more typical to work directly with indices, or use SCAN .. ENDSCAN. That was partly what made it so fast.

2.0 was the first version that changed it, to some extent, because it included the Rushmore query optimizer, which was actually pretty good. But veteran developers didn't trust it much even so.
Because A doesn't automatically follow B.

Fewer children is better for the environment; that doesn't mean one has to favor population control. It's easier, more democratic and probably at least as effective to enforce equality for women in education and economics, and the lower birthrates follow automatically.
I don't know about you, but when I'm programming I probably spend 95% of the time thinking, so making navigation faster won't affect my overall efficiency much.

Come to think of it, I'm also thinking while typing and navigating so I'm not sure this would save any time at all.

It might _feel_ faster though, which might increase the well-being of some developers.
VPNs are a thing.
We laugh now, but plenty of people believe in Warrant Canaries...
If you landed on "they don't have much experience", they'll probably get there, it will just take a few more years...
Before cryptocurrencies, ransomware was a tiny fraction of what it is now.

Cryptocurrencies have allowed ransomware to grow massively.
This Reuters article is from 2012, but that might be obvious to readers, given the mention to Jobs.
> And that in a world where few make it to adulthood, people tried to have more children?

It's pretty well-established that it isn't poverty per se but gender equality that predicts birth rates.
> How much energy did it consume to mint all the physical metal coins we have in circulation?

At lot less than what it takes to mine bitcoin. And bitcoin is a tiny, tiny, vanishingly small fraction of "all metal coins we have in circulation".
Why the upgrade cycle will never end (2015)
Rutger Bregman on human nature, Covid, Biden, climate emergency and Davos
Yes - in many languages x is a new variable on each iteration of the loop. Python re-uses the same variable each time, because the loop does not have its own scope.
I miss Eric Naggum. His rants were absolutely epic. I was terrified of inadvertently offending him on comp.lang.lisp so I always thought extremely carefully before posting anything :)
Maybe a bit biased opinion here, but you could start with this blog post, and see whether you go more into C/C++ fuzzing or web fuzzing from there:

https://blog.code-intelligence.com/the-magic-behind-feedback...

https://github.com/google/fuzzing
How do you lock all dependencies to a hash?

Let's says if one of packages that you depend on decided to depend on some third package. The maintainer of that third package decides to stop maintaining it and gives it to someone else. This someone else decides to inject bitcoin mining into the third package.

How will you know with pip that you are not pulling malicious code into production?
Well if nate_meurer is wrong about what the public record says, then Ron Ponton can very well use his connections to get the Brewster County Sheriff's Office to force him to roll over and write an obsequious apology and publish it on Facebook for many years, just like he did to his ex-lover. He's not just an innocent kitten who can't stand up for himself.

https://www.facebook.com/photo.php?fbid=802064459817968
There is not a lack of demand for energy. New forms of energy production are not being delayed because nobody wants them.

Adding to the demand at this point does not help anything or anyone.
> That being said, I really hope that Go's core team understands the drivers of its popularity and doesn't compromise the operational side for the sake of language improvements. Although higher-typed languages have no trouble achieving good runtime performance, it seems like there's a fundamental tradeoff at compile time.

Indeed, this is part of the reason the generics have been so long in coming to Go; you can find discussions about how to implement them as far back as 2009. One of the reasons they aren't using `<T>` to indicate them is specifically because it drastically changes the speed of parsing (since you would need to figure out whether that `<` is a "less than" operator or a syntax for generics).

I can't find the reference right now, but there was a quote in one of the early discussions that was something like:

The Generic Paradox is this: You can have slow programmers (no generics; programmers have to do their own code duplication), slow executables (where you do loads of unboxing), or slow compile times.

EDIT: Found the reference; the exact quote is: "The generic dilemma is this: do you want slow programmers, slow compilers and bloated binaries, or slow execution times?" [1]

The Golang generics proposal was specifically designed to try to reduce the "slow programmers" effect while avoiding either of the other two effects as much as possible.

[1] https://research.swtch.com/generic
The golden age were the 8 and 16 bit days, where game genres were yet to be invented and publishers were keen to take anything that came their way, and we were creating stuff that were told the hardware wasn't capable of.

Modern games, in whatever form, most of the time are just watching yet another x-men remake.
> Evaluate a startup equity offer as an investor would

this is not possible to do. Nth+ employee is almost nothing like an investor: no leverage, almost never access to the same amount of information and very last in line to cash out due to liquidation preferences. Basically, you have roughly 1/100th of leverage and information a typical company investor does so it's almost always a leap of faith, maybe based on some proxy observations. Sharing the cap table with an employee is something I've never heard of, unless maybe you're employee number 1 or so.
Great UX, great tool.

I wish "shuffle" truly randomized the settings, rather than cycled through a dozen presets. Maybe separate button to shuffle just the patterns and not the colors? Color shuffling is where most of the ugly outliers would come from.
The first enterprise Java app I was a part of, failed out of the gate because some external requests were too long and exhausted the thread pool (100 by default).
Apple needs to keep ports open for diagnostic purposes even on "portless" hardware.
^^^ this

If you are constrained by the speed of your typing while "programming", you are not really a programmer, you are just a secretary with a typewriter.
>The article is dull, but the fact that the "ball" of aging science is finally starting to roll is interesting and very welcome to me.

I'm also quite keenly interested in not dying, and I'm also sick of people talking about "a cure for cancer" being possible but "a cure for aging" somehow not, let alone a healthy discussion of researching mitigation for aging to keep people alive long enough to receive the cure.

But, I feel like that - the ideology, even if I quite like and agree with said ideology - is the only thing this article has going for it. The article's link could 404 and nothing of value would be lost, as long as nobody touched the title.
I doubt many mainframes are running Debian.

IBM recommends Red Hat, SUSE or Ubuntu. All three come with commercial support contracts. If you are already paying big bucks for a mainframe, it seems far more likely you'd go with one of the IBM-recommended distributions than go with Debian.

(Ubuntu may have an interest in keeping Debian on mainframe alive because doing so helps them in offering Ubuntu on mainframe.)
To me it sounds like you have less keys but workarounds that you may prefer.
But can they image the mindworms and xenofungus?
> And if you're going to cite FAANG salaries and recent stock performance, then to be fair you need to compare it (also utilizing hindsight) to the fastest-growing startups with the best stock performance.

Most count their FAANG stock with 0 growth. You still get 180k for junior, 250k for mid level and 350k for senior per year.
TUI in FoxPro for DOS is more nostalgic still:

https://twitter.com/dosnostalgic/status/826566061793345536

It even had a visual GUI editor, and a visual report editor:

https://imgur.com/a/174ZAww

What's especially interesting is that UI code was actually compatible between DOS and Windows versions, so long as you didn't use any platform-specific features (which were mostly Windows-specific, so most DOS apps could be ported very easily).
There exists no technology, and there has never existed any technology, that has such an abysmal rate of utility to waste as Bitcoin does. It is singularly inefficient in the history of mankind.
TL;DR The thread doesn't name the specific app, but it's Indian, likely a social Android app, probably Say Namaste or Mutton TV. The right app was found by installing apps and checking the connection logs.
Taking charge of our evolution / genetics has always been humanities future and there is absolutely nothing wrong with eradicating disease and optimizing us however we see fit.
> Eventually, the bored teenagers in the small towns are going to do it just because.

Not just locally. If you're trying to mess up an industrial system to see it mentioned in the local newspaper few days later, you may just pick a random system from Shodan, note its location, and check their local newspaper.
> JS has an equally bad concurrency story as Ruby. Maybe even worse.

This is absolutely false. Yes, JS is single threaded, but all IO is async and happens via a worker pool. On top of that it is 3-10x faster than Ruby for most tasks due to the insane amount of development effort that went into the browser runtimes, it’s often within 50% of C speeds.

And then the entire ecosystem is async. This is why you’ll see JS frameworks near the top of TechEmpower benchmarks achieving massive concurrency numbers, and also why nobody recommends any kind of CPU-heavy workload in node.

Imagine Ruby came with Puma built-in, and all libraries only exported async interfaces.
Also excellent built-in documentation, complete with samples and F1 context help. I pretty much learned FoxPro from scratch entirely from it.
Any idea why they don't name the app?
> a car where the gas mileage decreased proportionally to how far you’ve driven since the car was made.

Torturing metaphors: it's more useful to say that the gas/mile (kw per block) fuels all 21 million cars simultaneously, not just one car, and ensures that all the roads they've travelled remain useable, and that anyone in the world can use a car at any time and verify the journey it made and the cargo it carried. Further, each car can carry an arbitrary amount of cargo (the value of the transaction).
You can try ReasonML/Bucklescript/ReScript. WARNING it may spoil you, by compiling in fractions of a second and make waiting for tsc miserable. Only do it if you have a high frustration tolerance.
Wikimedia is simply trying to be polite and not to publicly shame the company.
The shortcut for toggling display of hidden items in Finder is `Command + Shift + .`. But you're correct that it's not documented anywhere which is a big point of frustration. There's tons of incredibly useful undocumented macOS features.
This argument may justify that staggered keys are better for one hand and much worse for the other hand. Your hands are symmetric, why would you want an asymmetric keyboard (split or not)?
I don’t recall ever saying it wasn’t work, so I’m not sure why you’ve taken the discussion in that direction.

It is work, it’s just not the cynical exploitation that’s being implied. The intent is that both employer and candidate mutually benefit from it. Evaluating the output of these assignments is also work given for your mutual benefit, and it’s typically seen by multiple people, which makes it a non-trivial amount. Both sides do speculative work for the evaluation stage, in that sense.
We are aware of JQF and the jUnit integration is the best part there. We opted to taking the "Fuzzed Data Provider" approach to be more compatible to the approach in C/C++, Go and Python...
Nicely written article and very interesting read!

> To be sure that there was as little background noise as possible, I ran all tests after a fresh reboot, making sure no unnecessary background processes, such as Windows Update, were running.

This made me laugh =)

In a more relevant note, probably worth pointing out to use production builds and running the browser in safe mode or with a clean profile (i.e. without any interfering extensions).
What you cite appears misleading to me - the text by Greg Kroah-Hartman talks very clearly about interfaces within the Linux kernel, not interfaces between kernel and user space, such as the syscall interface, which are stable. If you want to read the position of the lead Linux kernel developer on breaking user space APIs, here it is, in all caps:

https://linuxreviews.org/WE_DO_NOT_BREAK_USERSPACE

And here is the rationale why:

https://unix.stackexchange.com/questions/235335/why-is-there...

- you see that it makes perfect sense for a programming language like Python, too, to make only backwards-compatible changes (except perhaps if there are severe problems with a release).

In the same way, it does not matter how things are implemented within Python, but it matters a lot that the user interfaces, which includes in this case the syntax of the language, are stable.

And the fact that Python contrary to that does break backward compatibility - sometimes even in minor releases -, and continues to do so, is a reason that for my own projects I have come to the point at avoiding python for new stuff. There are other languages which are more stable and give the same flexibility, even at better runtime performance.
ShareChat may be? Or some video apps like TikTok
It could provoke an angry mob, which doesn't help anybody.
> 12. By this time, we had isolated the app and were convinced that this is the one that is fetching the image on startup. We could not find the image anywhere in the app, confirming our theory that it fetches the image but does not display it.

The analysis stops right when things start to become interesting. I was hoping there'd be a decompiled code snippet to see what the app in question is actually doing with the image, since it's not displaying it.
Eh, I wasn't pushing a narrative. I'm not even from America, so I have no horses in this race. It's just not comically dysfunctional anymore, and back to being real politics. The politics may be controversial still but it's hopefully just policy, not subterfuge, scandals and insurrections. I guess we'll see though!
> [...] We will thus hold back the banning of the url for now, awaiting for confirmation of the desired effect to reduce the potential harmful impact on the application users. Given how much "sample code" we found around the internet using that url, it might still be a good idea to merge the patch later just to prevent this from happening again.

Looks like a case that the developers carelessly copied and pasted some "sample code" into the app...

> [...] it seems that there is no good way to get in touch with them through email (I sent an email to all publicly available channels, only to get back an autoresponder that assumes I'm an user of the app and asking for my phone number). I eventually resorted to DM their CEO on twitter.

Resorting to Twitter for support is increasingly common. The importance of having an "abuse@" email (and possibly some social media bots to DM all sysops when a mail arrives)...
> You cannot drag fullscreen windows from one monitor to another. You cannot drag a non-fullscreen window to a monitor which has a fullscreen window.

I think that there's a concept that just doesn't click with you (which is okay), but it does click with me.

There's actually no "fullscreen window". If you make an app fullscreen, the app creates a new "screen" (for lack of better terms, maybe it's called a Space?). The app and the screen are now one.

You can't drag a fullscreen window from one monitor to another, because there's no window for you to drag. You can only drag the whole screen (in Mission Control).

You can't drag an actual window to a fullscreen screen (eeh), because that screen is an app and is not supposed to contain any windows.

This feels intuitive to me, I use it with joy and I miss this concept badly when using various Linux DEs.

(the other stuff you mentioned are real bugs that can sometimes happen, yes, no problem with that -- but I've also had plenty of those in Ubuntu and others)
I'm not sure if you are aware of it, but check out MIT 6.824 on opencourseware (pick 2020, not 2021).

In Lab 2 they provide you with a frame for raft with RPC, etc. already in place leaving only protocol for you. Lab is also split into 3 logical parts - leader election, append entries, persistence. Highly recommend.
I was going to say -- the way you write a lot of "generic" code in C is with macros. Coming to Golang from C and having neither C-style macros nor proper generics was quite painful.
I wonder why the post discusses the pollution of gold mining with all costs included while for bitcoin it's only the energy consumption of running the network.
Wouldn't the comparison make more sense to include the hardware production, hardware lifetime, etc costs of running the bitcoin network as well?