skysight-inc/HackerNews huggingface dataset:
I have fond memories of Aspect-Oriented Programming, which I feel should've been in this list.

For those not in the know, AOP is basically the Intercal COME FROM statement (itself a pun on goto, ie it's a jump but in the opposite direction) (think that through a bit). Yes, that's a totally nuts idea, but it turns out that with a bit of effort you can formulate it in such a way that you can do conference talks about it and people nod and think "o wow nice I gotta tell the team".

More concretely, AOP is usually a bit of compiler infrastructure that lets you inject code into other people's functions/methods etc and make arbitrary changes. It's nice for eg inserting logging code at the beginning of each method, with the method name and argument. You'd be able to eg define a query somewhere and say "for all methods with annotation X, inject code Y at the beginning of the method".

But naturally, teams that adopted it always had this one team member who thought they knew better and started using it for injecting all kind of behavior-altering code in methods defined far, far away. When reading such a method's source, there was absolutely no way to tell that code was going to get injected. If the AOP crowd was well behaved there'd be an annotation/attribute/etc that would trigger the behavior, but that's not a requirement. I've seen people inject code that sanitized data, which was very surprising if said function didn't actually take user data and suddenly while debugging a string's content had changed and there was no indication whatsoever what had caused it.
Apple allows sideloading on computers because that’s how computers have always been. Introducing a Computer back then that had no means of getting needed software would be suicide for any computer. It had to open because computers for the most part were always open and Apple didn’t have the leverage or starting position like they did with the iPhone.

Something like a Chromebook would have absolutely failed decades ago. A lot of things done today would have failed decades ago and vice versa.
It has 20 different encodings on Pirate Bay alone, quite far from impossible to watch.
Depends on where the electricity is coming from, and debatable if you account for all the externalities in producing the batteries, solar cells for photovoltaics, rare earth mining for magnets, and countless other stuff for way more silicon needed to regulate all that stuff to work efficiently together. Be it for in vehicle control, or smart grid.
No, I don't have a reference. I assumed a gas would take less energy to transport, but mole for mole, I could be wrong.
Just recently my company’s HR forced us to download a payroll vendor’s app on our phones. The app was downloaded from the App Store.
Why run your whole test suite every time? Chances are you’re only really interested in a small set of them, just let those run continuously.
Submitted URL was https://archive.ph/huNwk. It's ok to post workaround links in the thread, but please don't make them the top level submission. We want the original source for that.
When the DNC heavily favors one candidate and gives that candidate unfair advantages (like having the unique ability among candidates to decide how DNC funds are spent), unbeknownst to other candidates and their campaigns, it's got to be called something. If you won't call it corruption and you won't call it rigging and you won't call it conspiring, what would you be willing to call it?
A residue-free approach to water disinfection using catalytic generation
We're pairing on our daily work. So everybody learns about the technologies, tooling, specific parts of a codebase and mindset the other person is working with.
That’s one way to look at the phenomenon. Parents want to have their kids achieve what they could not achieve due to mistakes or because of bad mentoring. They want to give a leg up for their kids. If one wants to win a game that has outsized prizes, people train for it, and they teach kids and grandkids, etc.

Sure, if kids can’t cope up with their pressures, either parents have to give up or some of these kids end up committing suicide.
You’ve fallen into the trap of thinking machine learning = human learning. It’s not at all equivalent. You can’t give GP3 4 years of course work at Carnegie Mellon and get autopilot. Similarly you can’t get a human to consume the complete GitHub corpus and even if they had the time they’d be unable to repeat code snippets they read verbatim with simple prompting.
How to Change your mind is a fantastic book.
Most books which talk about drugs are written by overzealous, hippy types who claim to have seen the light. This was the first time that a serious yet entertaining author like Pollan reported on a controversial subject. I particularly liked his gonzo form of reporting.
It's simple enough take to extract the interface of the S3 calls you make into a definition that you can write a test stub that unit tests can pipe fake data into.
Instant water disinfectant more effective than commercial purification
I appreciate you examining this.

I refused to click the link, seeing all the comments about a JS heavy website that was making fans spin, talking about NSO.

Checking the WHOIS shows a 2 week old domain owned by a masked entity.

- - -

Registry Expiration: 2022-06-14 10:48:17 UTC
Updated: 2021-06-15 23:38:22 UTC
Created: 2021-06-14 10:48:17 UTC

Name: Contact Privacy Inc. Customer 0161891249
> It's really easy to forget to const something, which forces the compiler to do global reasoning or to generate worse code.

Global mutable state is pure evil. Don’t write globals.

It shouldn’t be easy to forget const on a global because a mutable global should produce immediate revulsion and nausea.

(I don’t really consider a const global to be “a global”. So ordinarily I’d just say globals are evil don’t write globals. But I’m trying to be explicit here.)
The answer as always to those questions: No.
What really would have sealed the deal was implementing this in WASM, translating it into Verilog, then burning it into an FPGA
Blender can do that, too, with the "Grease Pencil".

https://www.blender.org/features/grease-pencil/

Here's a short film produced as a grease pencil showcase. At the end, it shows what working with it looks like.

https://www.youtube.com/watch?v=pKmSdY56VtY
Hydrofoil
To add to the history lesson, Herr Doktor Professor Djikstra's infamous "Go To Statement Considered Harmful" should perhaps have been titled "Call Stack Considered Very Useful".

It's worth reading with this understanding, and of course, it is a must to follow through with Dr. Knuth's equally seminal "Structured Programming with go to Statements", in which Djikstra is briefly quoted to qualify and clarify his position on the matter.
Do they hinder refactoring or rewriting?

When I am doing legitimate refactoring in simple steps by the book, unit tests are helpful and speed it up. When I am rewriting, I see your issue.

For example, a sprout method or sprout class refactor do not change the tests.
As the article notes, "There’s quite a similarity between cloud native and Artificial Intelligence."
The larger lesson might be that most people see a product's status and not its momentum?
Discussed at the time:

Implementing Stripe-Like Idempotency Keys in Postgres - https://news.ycombinator.com/item?id=15569478 - Oct 2017 (41 comments)
Its problem is not that it exists, but that it’s a separate statement. In most languages, if you write try, you have to write catch or finally for your program to even start running.

If you write on error resume next, you should revert that soon, but the language doesn’t prevent you from forgetting to do that. Neither, AFAIK, do typical editors. A good editor, IMO, would indent code inside a “on error resume next”, but I haven’t seen such editors.

It does help that its scope ends at function/procedure return (I think), but of course, that means seemingly benign refactoring can change program behavior.

It isn’t too bad when you write new code, but once you start maintaining a larger program, it can bite you.
Yeah it seems to help that you are on an island. The english monarchy has lasted for around the same order of magnitude.
Binance: A crypto exchange running out of places to hide
What I want is tab groups by concept or activity. Let’s say I’m looking for info on a new grill I’d start a new tab session and give it a quick name of ”grill” and it’d group all tabs and history under that. I could expand and collapse it and otherwise go back to other things tab groups.
Write tests. Not too many. Mostly integration.

(ps. Mock only when necessary)

This has served me quite well.
Have you considered Rust? It had neat python interconnect. My team are doing early experiments - offloading tight loops/expensive computations in existing Python inference app to Rust.
If a test is in my way, I delete it.
My sad wistful feeling comes from being over 60, so it's a bit too late. I did give my kids a better life and that's some consolence. I also have empathy for and offer help to people who are struggling. I doubt I would if I hadn't endured suffering.
Get an Instant Virtual Debit Card Online in 5 Mins – MoneyLion
Oh my sweet summer child...
Suffixed. Thanks!
On Error Resume Next is similar to NaN. In some situations the code can be much simpler if after a lengthy calculation one just test for an error result with no error checks in between. In modern languages that evolved into various forms of Maybe/Optional types with various syntax sugar like ?. or Haskel do notation.
IMHO, the main issues of USSR economy in addition to central planning were total lack of economic and social incentives for productive work. Career growth and personal income were almost independent of how a person performed in their daily job. There was simply no motivation (at least in the last two decades of the USSR's existence).
8M euros stolen: Bremen police are looking for Yasemin Gündogan
@gabereiser Thank you & Kudos :)
Super impressive!!! This is SO much work! This brings back great memories from the past when I was installing Doom from, like 12 floppies.
Even more interesting than GPL, what about AGPL?

Perhaps somebody with an AGPL'd project on GitHub and deep enough pockets could force them to open source Copilot...

(No, I don't think that's actually plausible, but the scenarios are fun to think about)
PowerPC to Intel.

The company had very expensive media software suites that became incompatible. This isn’t about word processors and browsers but rather the case of essential and sometimes expensive businesses tools.
or the WordPress boilerplate of the same name https://github.com/roots/bedrock
Only one small past thread:

A Brief History of the Internet (1999) - https://news.ycombinator.com/item?id=5999050 - July 2013 (7 comments)
Interesting. That implies an authoritarian dictatorship is necessary for central planning -- what reason is there that democratically elected representatives cannot operate centralized systems of resource procurement/management/allocation?

Also, aren't Walmart and Amazon technically run democratically by their shareholders? Wouldn't the remedy for a madman running Walmart be a replacement elected by the board?
How PetaBencana is helping Indonesian authorities respond more quickly
There are many programming libraries that would be better than Excel, e.g. scipy implements quite a few algorithms very accessibly, but that's not what OP is looking for.
I also use Time Machine to an external drive.

4TB Sabrent Rocket M.2 SSDs with adaptors don't come cheap. Getting that much storage soldered onto the logic board is even more expensive.
I understand why you might infer that. I had lunch with Brian once many years ago. Despite one of my objectives at DigitalOcean being stopping Joyent, he was very open, very honest, and very polite, easy going, super friendly. I'd caution against using the abstract as a leading indicator for an upbringing, I know more than one person whom come across similar to Brian in their background and outwardly nature, but have had extreme childhood trauma.
I would make an exception for SQLite. Here's how you do it:

- Write your schema so it's compatible with SQLite and your production DB, such as PostgreSQL.

- When you're running tests, use SQLite instead of Postgres to run those tests.

- Use SQLite in production. Go ahead, do it. You don't need Postgres, SQLite is fine. I promise. Trust me
ok, but all of your use cases and priorities are so far away from the original premise of the article that's it's clear your needs are more inline with a regular mac or windows user than a "hacker" or dev... (just saying) it's not for everyone.

Also which video conferencing app "is the worst" seems to be pretty subjective, but tbh they are all pretty crappy and replaceable, i'm not really sure what this has to do with OS choice.
How I Got Rich
i'm probably gonna get flamed to death here, but, i want to share this anyways because maybe i can help one or two folks.

a few years ago i got into bitcoin (don't hate me) and it actually really worked for me.

6 years ago i had 6-figures into debt (due to a failed tech startup) and was doing my best to pay it back while also providing for a growing family (i'm married, have 3 kids).

... shit is hard... even if you make good money as a web developer.

it wasn't until i started into bitcoin where i was able to actually get out of debt and make serious momentum toward my family's financial plans and goals.

the title of this post is a total click bait... i know. sorry, not sorry. but, it's how i actually built my wealth and more importantly the financial system that drives it.

it might help you too...? happy 4th of july... it's about freedom that we do this.

https://john.do/rich/
Those deserts still have a lot of clouds: https://www.esa.int/Applications/Observing_the_Earth/Space_f...

They just don't come together enough for much rain.
How would a free simple social network be sustained? Who would pay for the software, hardware, bandwidth, and content moderation? Asking for donations and volunteers seems unlikely to scale to the level required.
That's the joke, though: that C++ is looked down on with distain and treated as an obsolete language by some members of the younger generation of programmers.
Sideloading is a threat to privacy because it allows apps to ignore the consent requirements the App Store enforces.

As it stands, if any app wants access to your contacts, your camera, your microphone, your photos, etc, it must ask first. Allowing sideloading removes this protection, and apps installed that way could simply siphon all your data silently.

You even describe how that can be the case, but you couch it as being with third-party app stores. While what you say is not false, it is also not limited to that case: the removal of both privacy and security protections happens as soon as you stop having the App Store be the sole source for iOS software.

Yes, of course, a hypothetical "Facebook App Store" with all Facebook apps being exclusive to it would have a higher chance of getting nefarious data-siphoning apps onto users' iPhones than any old random sideloaded app, but it's hardly a necessary part of the threat to privacy. It's just a way of guaranteeing much more widespread compromises of privacy.
Ooh, and another interesting update on his book from a week ago or so: https://mobile.twitter.com/DonaldM38768041/status/1406751034...
This touched on a productivity hack I used when I was younger which really bites me now:

> Paul advocates cultivating a sense of “discomfort” when you’re not working. I’m not going to question it’s efficacy- this is an extremely effective way of compelling yourself into a variety of habits- but this advice extends beyond that.

>

> Doing this might help you work more, but it may permanently impact your ability to enjoy yourself outside of work. This type of mental trick is addictive, and it alters your perception of normal, developing a need to work that is disconnected from your personal goals.

To finish even my boring or tough studies, I oriented myself in such a way that every problem or sub-problem is a puzzle, and every solution is an endorphin hit.

Now I'm so addicted to this hit that my work can reliably give me, that it's extremely hard to stop work and be in the moment in the rest of my life.
This is a bit silly, but ok, since you don't want to use HN as intended , we'll ban the account.

https://news.ycombinator.com/newsguidelines.html
Makes sense. I will add a note about this, thank you
> - using some test coverage report, identify untested cases.

From what I understand, that is not reliable; a line of code can be “covered” – i.e. executed – but still not be tested under all circumstances. If you have pre-existing code you need to write tests for, what you need is probably a tool for mutation testing.
What percentage of Sentry's customers are collecting the data unethically?

At some point the tool vendors share responsibility.

It's like saying it's not AdWords or Facebook's fault there are so many ads everywhere, because it's
the people who pay to run the ads who are at fault.
In practice debt restructuring and those providing the new/bridging loans (often the same banks that gave the old loans) putting down demands.

If the demands aren't accepted, loans aren't provided. If loans aren't provided, salaries won't be paid and city employees will be fired.

The demands will include cutting costs, defaulting on pension plans (and dealing with the legal consequences) and the like.

Since the city is in default, they won't have the same level of autonomy to accept or reject.

Capitalist takeover, basically.

Doesn't happen often though. You can find some accounts if you look for it. Detroit has gone through this recently, but there are other cities that dealt with issues like this in the past. New York had it at some point, though I think they narrowly avoided default by accepting the terms of the bankers.
You don't. Not without further investigation. You need to figure out why they are different.

Sometimes this technique catches bugs on prod that are unknowingly fixed with refactoring.
The new laboratory building has 3000 m2 of BSL-4 space, and also 20 BSL-2 and two BSL-3 laboratories.

https://en.wikipedia.org/wiki/Wuhan_Institute_of_Virology#ci...

But of course the WIV has a few other research centers there.
I had boss who pretty frequently would go around tellong everyone to leave and would make sure he's the last one there. I always really respected his position of forcing work/life balance.
I agree that's a dark pattern and something I hope I have never been (I realize you weren't accusing me of that).

I try to ask questions like, "What happens when X goes down?" What happens when network latency goes up?

I quit a job over this one. I had designed an API for a consumer IP/IR control type thing. You say, "I want to tell that thing over there to turn on." The API does the thing, and then exits. The API does retain state-- but only in as much as it wakes up when it gets a packet from a device, parses it, etc, and makes any internal state changes.

Well, management decided they wanted to demo it running continuously for days at CES. Now if you've never done a demo for CES-- it is the worst environment possible. Networks go up and down, there is so much radio traffic that WiFi, BT, anything are unreliable.

I told them I would need to harden the API, that it wasn't designed for that scenario and most of our tests didn't last more then a few seconds keep in mind that at this time, this was a skunk works sort of thing that had not yet been productized. Also, keep in mind there was an aggressive, aggressive development schedule.

They predictably lost their minds. I know its crazy right? Test for the exact scenario you plan to show to customers? They forbade me for doing any sort of test like that and charged ahead with the demo. A month later a manager dressed me down in front of my entire team. About the bug that they had forbade me to fix.

I walked out and never went back.

EDIT: That turned out to be more of a story about ruthless management and constructive dismissal.
Got 'Error establishing a database connection'
I may have misunderstood your request, but the feature you want (Tab group) was recently added:
https://www.google.com/chrome/tips/#organize
If that were the case, CRT Chickens Little would be able to come up with some evidence of it. Actual evidence, not the amusing video linked above. Which precious white children have run crying from elementary school?

To be clear: I'm sure that (adult) white Americans have been informed of their racism. I'm sure that 1950s lynchings and other uncomfortably recent events have been taught in some history courses. I'm sure that racist aspects of various contemporary institutions have been discussed. I'm sure that you have been very uncomfortable with all of that.

All of those are good things. Stop hiding behind hypothetical traumatized children.
One could imagine submerged floating rail tunnels for going over the oceans by rail. Say about 30 to 50 meters deep to be isolated from the weather, not disturbing the remaining shipping. Also usable as sensor platform, carrier for fiber optics. And enabler for floating cities, resorts, aqua-, wind-, and wave-farms out there.
This may be what you're looking for, I've been using it for a few weeks now and it's really useful. I use it in conjunction with Notion and they have been a power-duo.

https://workona.com/
> but saying distribution is less important than production

This isn't something that I said. I said that distribution does not an economy make. I'm demonstrating the extremely limited value of calling Amazon or WalMart an economy by showing that they are not very close to what an economy is. An additional contrast that could be made is that Amazon and WalMart are generally doing extremely minimal investment as well.
I don't know the overall statistics but the majority of my Facebook friends publish content at least occasionally. Mainly photos of children, pets, vacations, etc.
What is the caution for an appartment?
Palo Alto is an anomaly and an outlier.
There were a spate of teen suicides at the area's high schools, with a lengthy report by the Atlantic.
If Silicon Valley schools are a pressure cooker then Palo Alto is 5X that.
Parents working in high-pressure jobs who think the entire world revolves around tech and consciously and unconsciously passing on those messages to their kids.
A couple years back I was at this place called Hacker Dojo, it is a co-working space, an older, nerdier WeWork, and has a storied history in the Valley. There was this startup camp for kids - teaching 13 year olds how to pitch companies, are you kidding me?
Let kids be kids.
I took 3 months off paid for parental leave and will have taken about 4 additional weeks this year and it has not hurt my performance reviews or career trajectory at all…
When I lived in Chattanooga back in 2011, the Electric Power Board offered fiber to the home with an offer of a Gigabyte up and down---hence the original use of Gig city for Chattanooga. I think this was even before Google showcased fiber to the home (was it in Oklahoma City at first? I don't recall)

We had to have a router with a fiber port to connect, then Ethernet via cat 5 or WiFi.
The only sane use of On Error Resume Next is surrounding one or two specific lines of code where you dont want to let the ordinary exception mechanism be triggered. For larger blocks of code it's completely insane.
Of course compilers warn about this, but too many programmers just ignore warnings. Some warnings can be ignored without dire consequences. The problem is when compilation emits 100 warnings which are not critical it is easy to miss 101th which is critical. And until you'll fix all warnings you cannot build with -Werror.

I like BSD approach here: they use different warning levels (WARNS) for different directories and compile all code with -Werror.
I would imagine that the OS's APIs should be the ones to enforce that, rather than the app store