skysight-inc/HackerNews huggingface dataset:
It depends how you count the unit/integration tests, really.

If you've got a general rule which must apply across an entire system, generate the necessary tests so that they fail granularly and don't require messing around to find the exact case which breaks. IMO that's one test, just applied to a range of cases.

An example might be mappings for Entity Framework (or similar ORMs, etc). Auto-generated migrations simply do not work if you need to limit migration downtime and maintain certain data invariants (which can't be specified in the schema, and yes, those always exist). So you need to write database migrations manually. This introduces risk of desync of entity mappings and schema.

So don't just spot-test roundtripping entities (a nontrivial system will have hundreds and something always gets missed). Instead, write a tool to introspect the DB schema and the Framework's mappings, and check that they match sufficiently closely. Every time someone adds an entity or property or something, it's already covered.

Similar cases exist when dealing with any interface between separate systems, especially when you don't control one of them. If you're regularly mapping between two models, use something like Automapper which can be asked to verify its mappings to check that every property is handled in some way.

(Granted, Automapper doesn't catch everything, but it builds a model that could probably be introspected over to spot encountered bugs and check that other possible examples of those bugs don't exist. Doing so generatively catches future additions of possible cases for free. If you're really paranoid, define some means of marking manually-written tests which cover each case, and test that a test exists for each case.)

Computers are really good at force-multiplication. They should trivially be capable of spotting other instances of known categories of bug. This is not hard to do and doesn't require wooly nebulous machine-learning shit: we've had introspectable ASTs since the dawn of compilers.
Wanted: an EV with the looks of the Mach-E, performance of the Kia EV6-GT, the software of Tesla, the battery of GM, safety of the LIDAR-equipped Volvo XC90, and the warranty of a Hyundai. All for less than $45,000 with a $7500 federal tax credit.
Because aluminum-air batteries are not rechargeable, they're fundamentally inferior to hydrogen fuel cells (which work in nearly the same way!). At least with hydrogen you can refuel the airplanes with a liquid instead of having to use a physical battery swap. Also, even higher energy density that doesn't gain weight during flight.
> Ugh, when will they learn.

Let's admit it: they don't have you (or me) in mind!

It's not that they have to learn; why would they care about you (or me)?
I'm not a fan of their products but they are certainly free to focus to whatever costumer group they see fit. It's not like nowadays there aren't alternatives to windows.
Thanks for the feedback. Not moving away from plex anytime soon then.
True, but perhaps the checksum doesn't need to be computed if the timestamp didn't change. Or perhaps the checksum is always computed in the same way so you can just store the checksum.
Not usually in the US unless it’s at an Airport. Although larger metros may have specialists. A couple friends of mine are firefighters in a very large city and they will help other counties or cities out with special situations. It all depends on what department has what specialists.
Dice-O-Matic
Maybe the data retention policy of OP is the real problem. Sound like a data hoarder/virtual messy to me.

When ever I take pictures on a trip or vacation, i go through them at the end of each day, delete most of them and keep maybe 2 or 3 max, beautify them and the rest goes into the bin. No matter how long the trip, i try to only keep at max the 15 best
Pictures. All filler no killer. That way I am comfortable to show others pictures of a trip without boring them and I also like to look at them from time to time as I know those are the best moments.

At the end of each year we create a calendar with photo collages of 4 to 6 pictures per month. The calendar goes to relatives and we create a photo book from the print outs. That is what gets archived.
Is it really that hard to just ignore these things when your parents say them? I have Republican parents and I just smile and nod whenever they say something crazy. It's extremely easy.
I'd like to more about this. Can I use this?
> That's seems pretty bold and probably dangerous, no?

Its not dangerous in my experience. The more dangerous angle for me is this belief that it is impossible (or hopelessly difficult) to build a secure system.

The reality is that it is only possible if you are willing to take total ownership of the entire vertical. If you control every single byte that enters and exits your enterprise, you can prove that things are secure. Is it practical to do this in all cases? No. Is it feasible in theory and in certain cases? Absolutely.

If you buy into the 3rd party hosting game, you instantly lose control over the critical variables you would need to in order to create the opportunity for these sorts of guarantees to exist in the first place. You (and your customers) will be stuck wondering about side channel damage and human factors that you have no direct control over. When you own the hardware and the real estate it is parked on top of, you can start to reel these things back in really quickly with powerful policy frameworks (2-person rules for critical changes, mandatory checklists, etc). These sorts of policies seem to work really well for very tricky areas like keeping our nuclear weapons from doing inappropriate things.
My parents did same thing, they made parenting seems like such a horrible thing. Made me wonder why anyone would ever have any kids. I never wanted any kids until my wife convinced me after 10 years.

Now I know parenting is hard if you do it as religious duty to your god, family, country etc. But if you choose to become parent, like when you choose to pick up a new project or hobby, it is pure joy, even the hard parts. Yes you will be tired running marathon, but you will not say that you made a sacrifice. And unless you are trying to monetize you hobbies, you don't expect anything back.
It distinguishes between the person who uploaded the video and YouTube hosting the video. How YouTube exerts editorial control to promote some videos or delete others is not relevant. This is a good rule. HN couldn’t possibly exist without it.

There’s been a lot of really bad information on 230 from people who ought to know better.
The obvious fourth possibility is "you're wrong to feel shitty about this and should find a way to feel good instead". But of course, that's precisely the possibility that the framing of toxicity excludes, because both "you're wrong to feel this way" and "it's unreasonable to ask me to change" can only be expressed as "that's not toxic".
https://archive.is/bQSSR
well, being able to print to a local printer or access a local usb-drive is making use of the "capabilities of the device", and certainly within the grasp of boring good old technologies over RDP
Reddit started out as a text-based discussion forum for use on desktop and has slowly morphed into endless-scroll-of-images/gifs/streams on mobile.
That's a good, healthy way to look at things in general. When I was younger, I also was more bitter about life circumstances, especially with family, as we were poor, but beyond family as well. As I got older, I realized finding the blame and feeling angry might feel good, but it doesn't actually improve the situation. It's really best to just find out how to accept things and find corrective actions, regardless of fault.
Young, Dumb, and Broke: Why Outdoorsy Types Suck at Money
The Facebook post this article links to[1] paints a pretty different picture. The table "Top US Publisher Domains by Reach" suggests a pretty balanced mainstream news diet to me.

Also, I was quite surprised at the apparent popularity of Steve Harvey who apparently, by reach, has the third most popular Facebook page behind "The Dodo" and "Rick Lax" neither of whom I've ever heard of.

1 - https://about.fb.com/news/2020/11/what-do-people-actually-se...
The other side of this essay is that there are a lot of abusive parents out there.

Part of the reason a lot of children go no-contact nowadays is similar to why there are so many more divorces -- economic and societal structures now allow people to leave their abusers.
Don't forget that government institutions invented the internet, then companies messed it up.
It's a different license. There's no way VM could cost $7/month. More like $70/month/
Are they illegal or just uncommon because they could be abusable? As if they were illegal wouldn't things like rewards for a hole in one, or "guess" how many the beans in a jar would be illegal? Plus aren't most carnival games technically 100% skill?
I imagined it and it looks like SSH.
> Twitter is great when it comes to transparency

Are you kidding? This is an incredibly opaque and user-hostile company.

edit: I am one of the moderators of /r/Twitter on Reddit. Come look at my subreddit if you want a feel for where my opinion is being drawn from. This company is in absolutely no way transparent.
Same reason I wouldn't even think about a Powerwall (or anything like it, not picking on Tesla specifically) inside my house. If it could be in an outdoor enclosure a safe distance away, maybe.
Maybe its just me...I have been staying away from my parents in a different country since the last 13 years. With a wife and a toddler, I still feel uneasy if I don't speak to my parents twice a day. Even though we don't have much to talk about every day, it's just the feeling of seeing them and hearing their voice which calms me down.
It's the same idea of green hydrogen. Only hydrogen allows you to use pipelines instead of physically hauling everything. You also don't have to worry about the battery physically gaining weight as you fly.
Stacker is definitely rigged: https://www.youtube.com/watch?v=ofEb9fM8m0Q&t=214s
> Didn't Hume already prove we cannot invent anything not related to our prior experience (which ultimate goes to the universe's natural laws we experience).

Do you mind elaborating on this, or pointing to some resources where I can read more?
Yes, absolutely that's a constant component of the "factioneering" as well. My spouse points out that my family tries to use me as Switzerland to broker between their respective dysfunction whenever there's a crisis (e.g. death in the family, financial problems, etc.). There was a point in time where I took that on willingly and dutifully because I'd think, "Well, somebody has to do it." But, as they never took these moments as teachable ones to sort out their own issues with themselves and then consequently with others, I just hit points where I was sacrificing what I loved for what I didn't, and I stopped. It turns out that, nope... somebody actually doesn't have to do it. As long as you can get yourself outside the blast radius, life goes on. I suppose, unfortunately, that then becomes the goal and challenge... how to stay outside the blast radius. Hence, estrangement.
Yeah, the amount of metro/central land railroads use is surprisingly huge.
Think at hypervisor level. Most VM solutions support some form of memory deduplication. VM level cloning wouldn't be too far from that model IMO.
Perhaps the most relevant distinction is between "moderation that the users have a choice about" versus "moderation that the users don't have a choice about".

If a site wants to hide all posts/videos that promote some unpopular political belief, or use offensive words, then implementing that censorship as the default user experience is perfectly acceptable, as long as users can choose to opt out of that censorship.

There might be multiple reasons why a given post/video could be censored, and perhaps there is a small burden on sites to tag every single reason rather than mark it for censorship at the first excuse, but I think that a lot of the tagging work could be made the responsibility of the user who uploaded it.

Such a system would hopefully make moot the slightly disingenuous argument that "If sites can't ban political opinions I don't like then they also won't be able to ban spam". Obviously sites would be allowed to put neutral resource limits on users, to prevent DoS attacks.
That abstract is nothing but Freudian psychoanalytical lingo.
With today's broadband standards being so slow, this is a nightmare waiting to happen.
Gee, who would have thought the culture on Twitter is experienced as hostile by some (ie all normal people).

Never once in the last years have I opened the app without closing it 10 mins max later in exasperation of disgust.

It really brings out the worst people, it brings out the worst in people as some of the worst people „bring out“ Twitter.
Yes. With unsteady and infrequent but purposeful action, move the very bowels of the earth.

I mean, accomplish a lot, politely, eh hem.

Excessive steady and consistent work has rendered me delirious, clearly. I’ll see myself out.
I think they are currently subject to FTC rules against deceptive advertising -- isn't that the basis of this lawsuit? However, FTC rules are only enforced civilly by damaged parties, IIRC. I don't think the agency engages in any proactive enforcement of false advertising laws. But someone please correct me if I'm wrong.
> We used to call this going to church.

Elementary school was the same. Military service with enforced conscription is also similar.
Excessive dust can trigger false alarms. They make heat detectors for spaces like garages and attics.

https://www.homedepot.com/p/Kidde-Firex-Hardwired-Inter-Conn...
I struggle with this a lot.

I keep thinking: "Those who are really great and relevant, they don't need to go talk to strangers, it is strangers who go and approach them"

This fuels negative thoughts about not being relevant enough so it's better to postpone any active social approach towards strangers up until I'll be relevant enough that they'd be approaching me instead.

I somehow feel that this is a consequence of teenager me being in awe of Led Zeppelin, Black Sabbath, Metallica, Guns n Roses and Aerosmith. Getting the aforementioned attitude: "If you are good enough they'll come to you and you'd not have to do anything socially...just showing your talents"

Approaching strangers would be a defeat in a sense. Admitting that you are not good or rare or relevant enough to be approached by them instead.

Maybe that's why my favorite country is Brazil and the Amazonas region to be specific
I just wish people on the internet would discover the difference between "everyday" and "every day."

(Bonus points for "setup" vs. "set up" - a common foulup.)
Point by point:

1. IQ is going to be in the 120-130 range for MIT and other FAANG target schools (https://www.iqcomparisonsite.com/occupations.aspx and factor in the GPA necessary and those correlations). If you are NOT from those schools, you are less competitive and have more to catch up on (like me). Whatever you say, either you had a lot of study free time or your IQ is higher than you think, as IQ translates directly to learning speed, especially on computer-related tasks.

2. Big deal. For a young student out of school? No, it's the rational choice, though a lot of people out of school/college NEED to work to keep the bills paid. For older people - dedicating a good 3-4 hours a day is going to lead them to underperform at work (at least it would for me), so it's kind of a big risk.

The pay increase is also "debatable", arguments like COL, vesting, decrease in quality of life due to commute, relatively-high (by non-FAANG) standards salary, taxes, etc come up. And that's without mentioning potential kids.
Plug-ins are the new pinto.
Most arcades I’ve been to recently use prepaid cards you top off with a credit card
You are welcome to build your own browser or computer or whatever! You can even modify an existing open source one.
> Apple punts to disgraceful shit like peek-a-boo UI

Just had to teach a relative how to save images attached to an email into Photos with macOS Mail: move around the mouse cursor somewhere above the email body and below the headers towards the middle, and a magic menu will appear with a paper clip on the right that reveals "Export to Photos".

Why?
Hi friends, I'd like someone with extended programming knowledge to comment on the content of this video.

1 - Is the comparison fair? What I'm thinking is that his terminal might do a bit more in regarding to rendering comparing to Windows Terminal, but Windows Terminals might do other things that his terminal can't do.

2 - If his reasons hold (that it is indeed relatively easy for a professional in MS to make the terminal a lot faster), then why do you think MS is not doing that?

Thank you!
We're going to remain an independent company, not be acquired. We've got a strong underlying business and tons of future growth (code search has very low penetration today, and we're working hard to change that).

If Google acquired us, would you be more or less likely to use Sourcegraph?

If Google had a competing product, would you trust it more or less than our product (assuming all else is equal)?

I believe the answers to both questions point to Sourcegraph being most valuable as an independent company. :)
Neither. Once knowledgeable people get a read on these type of things, they can usually handle it. The OpenAI Dota 2 "team" was open for the public to play -- it was certainly very good, but multiple teams beat it, sometimes even multiple times in a row. It was great at cheesy stuff like superhuman Force Staff plays that humans could never reliably pull off, but could be beat through macro pressure.
I had one project I was working on for a client where they thought they were super important and confidential (NVM they were neglecting all of the real security best practices). One of the things they decided is that as part of the project everyone would have to move a VDI solution in a different network and then everyone would have to do all their work from this network, in the name of security. The problem was I was only interacting with the cloud side of this project, working with the actual cloud public API, so everything I was working on was already public facing and didn't care about network concerns.

I ended up writing an email to the decision markers in the project outlining why "1) I didn't want a VDI 2) A VDI would take me forever to setup properly for my workflow anyway* 3) It would do nothing for the project's security to have me working on a VDI and 4) It would be a pain in the but trying to work on a VDI.

I was told that my objections were valid and true but I needed to work on a VDI anyway. It was at that moment I stopped caring about the project.

I did end up winning in the end however as when I finally agreed to do it (not my money the company was setting on fire) they asked me to send a list of what I'd need my VDI to be setup like. So I sent them a list of everything I'd need to mimic my current working environment and what I was doing now, including a Linux OS (The VDI solution was Windows only) with X11 and i3 setup. A full Doom Emacs configuration, special developer libraries and tooling, and several other items. With a long list of alternatives I would need installed if my first choice wasn't available, with specific versions, etc.

I sent off that email and they said they'd set me up with the desktop environment I need and let me know when it was finished being created. I am still waiting for that email letting me know it is setup, and happily working from my real machine until it does become available.

The moral of the story is sometimes the easiest way to thrawt management incompetence is to throw it reams of useless busy work that it will be festering away on while you can get real work done.
HSTS preload list is absolutely different thing. It has nothing to do with reputation, anyone can add his website into that list. And yeah, the entire point is to set it apart visually, so scams are easier to detect.
If you are the authority yourself, you can just commit to not giving out certificates outside a specific domain.
> Why does it need to be specifically solar? Use electric from the grid,

The vast majority of grid electricity is still produced from fossil fuels (at least where I live).
My experience is the same at dedicated arcades, but not at the random machines in shopping centres etc.
But there is a delete button for tweets...
Americans, to Blackrock CEO: We're coming for you.
>The James Damore fiasco is a great example of the internal political culture rearing its head and how it impacts who's comfortable speaking up and steering the company's culture

I'm willing to accept the premise that Google could have neoliberal pressure on the company (I don't know if I would consider the pressure you allude to be progressive or left leaning). That said, James Damore's memo, if you've read it is not a good example of it and I believe he was rightly exiled for it. The memo is poorly sourced and poorly argued. It reads like someone who doesn't understand Dunning–Kruger is.
I kind of agree. The tech demos are nice but that's not really dogfooding. Unreal has Fortnite and the rest of Epic's catalog. I remember when Unreal was known for buggy vehicles - not since Fortnite started with the lowly shopping cart almost two years ago and that's a criticism I never hear now.
This is the true answer to this entire thread.
The Romans emphasized respect for elders in the extreme.
I agreed, but what if I don't like the way something works because it doesn't match my mental model or whatever? Why can't I change it? Or why is it prohibitively expensive to do it? The core issue is cost of course.
How about "login" vs. "log in?" :)
sorry but is the BBC late to the party? I have seen articles about this as early as dec 2019.

French article: https://www.lesechos.fr/amp/1159576
I really wanted to thank you for making such a great piece of software. I always use it in my code documentation!
Facebook execs not happy own data showed it perpetuates right-wing echo chamber
As far as I can see there are Electron apps for all major desktop OSes, that's pretty much as cross-platform as it gets, for a desktop app.
> Same here, but Microsoft, having source code all the way to the client

That right there is the reason they are doing this. It's not about customers or what people want it's about keeping control of the whole stack, and the power that comes with that.
You can. It’s called Linux.
im not so sure... IMHO if you spent 20+years in school and are up to your ears in debt and cant find a decent job... thats a big failure to me.
> universal Cloud account sharing an 'experience' across multiple devices is something I will gladly pay to avoid

Are you objecting to the idea of having a more seamless experience across your devices in general, or the fact that typical implementations of that idea mean giving your data to a cloud provider, for 'sync' and 'backup' purposes?

If I divide your comment down this line, I agree with you that I don't want anything to do with any of the OSes that do this today, including this one from Microsoft; however, I think it would be great to have a way to seamlessly sync and access my data across devices if it doesn't rely on any external infrastructure (whether p2p, self hosted, etc).
Every accomplished musician in the world would disagree.
"If you want to know what's important to you, pay attention to what you pay attention to."
Is it 1:1? There are a lot more KWh in a tanker truckload of jet fuel than in the same volume of batteries.
I put a nest smoke alarm in my garage over my EV. Since I don't have a ICE vehicle and the temperature doesn't drop much in my area it seems to work fine after 18 months.
This is definitely not the right comment but as a vegetarian… steam vegetables are disgusting! Grill/bake is so much more delicious.

And, after committing the sin of telling you that I’m a vegetarian in my first sentence, I hope it can be useful for someone :)
Wikipedia co-founder: I no longer trust the website I created