skysight-inc/HackerNews huggingface dataset:
I think it's a very appropriate nitpick in this case since it seems like the perpetrators wanted to use violence to call attention to the electrical grid's vulnerability more than actually damage/disrupt it. It seems most likely to me that the goal of the attack was to spur the very conversation we're having.
Not quite the same model, but I use an X230 (2013 model) as my primary machine at the moment (not counting the company-provided machine I use for work). It’s still a really nice machine, easy to service, and they’re dirt cheap on eBay!
It’s not an unnecessary nitpick at all. The way the word is used today, it actually doesn’t have a meaning that you could write down. State sponsored acts of violence against another state has traditionally been described as war. The thing that blurs that particular line today is the blurriness between between agents of the state and private agents resourced by the state (as well as controversy around which states are legitimate states, and which governments are legitimate governments).

The reality of the situation today is that ‘terrorism’ doesn’t actually describe a definable act. Whether something is terrorism or not depends entirely on the political perspective of the person describing it. Destroying property, committing arson and tearing down statues as part of a political protest would be quintessential terrorism according to the actual definition of the word. But to describe it that way in our current political climate would be remarkably controversial. Whenever somebody calls something terrorism, all they’re doing is offering a political opinion. Which seems like a particularly relevant point to acknowledge in a discussion about what terrorism actually is.
Even hacker news itself is black on a warm paper color
Three standard deviations doesn't hit in our life times again
Healthcare and law have additional complexities. Both professions have legally protected secrecy, for the sake of the patient/client. Both also have heavy licensing and qualification hurdles. On top of that they have heavy liability burdens in case of mistakes. In medicine for example, review sites like Yelp are a constant source of frustration as healthcare providers have no way of replying or defending themselves against defamation due to HIPPA (there are many cases when prescription drug addicts would threaten and give bad reviews if they don’t get the drugs they want). There is public data on case outcomes, as well as on particularly bad incidents, but that likely also varies wildly by discipline. A doctor willing to take on the toughest cases when others wouldn’t may be punished by those metrics, and still to better by their patient, if they pull doomed people from the brink. If I could have a wishlist dataset it would be for number of particular cases of each surgery or illness a doctor has treated and how many successfully. With Surgeons, especially, those who get the highest volume of cases in a specific discipline are usually the best, and those who do only a handful of a complex procedure per year are likely a danger to the patient. Each discipline likely needs a specialized data filter.
Yeah I think you’ve got it. At a certain point the happiness returns on money are marginal. And it’s easy uk fall into a trap of “I need more”.

But if you have a humble mind, are a bit frugal, and build something that not only you but the ones you live can enjoy, having a solid base of wealth is really lovely.
> And besides this, most people seem content to compare it with the physical world with (IMO invalid) comparisons of malls, etc.

Are there any major digital stores that disclose the costs of doing business (royalties, fees, etc...) to the customer as purchase? For example, the PlayStation/Xbox Online Store or Amazon Music
Have your feelings hurt so good: linting Python code with these Flake8 Plugins
Herbalife actually makes (labels?) products that are decent enough, so I don’t think you can outright call it fraud.

The seller structure is definitely a pyramid scheme, but I’m not convinced that alone is reason enough for it to be illegal. It’s mindbogglingly stupid, of course. But consenting adults should be free to be as stupid as they want, provided they’re not harming anyone else or doing irreparable damage to themselves.
Can someone recommend (non-fiction) books about dinosaurs that are scientifically accurate and aimed at a college educated but non-expert audience?
Those are better free speech protections than in Germany, where after a mere complaint (not court order) platforms are liable for up to 5 million euro if they fail to remove illegal posts within 7 days, and "obviously illegal" posts within 24 hours: https://en.wikipedia.org/wiki/Network_Enforcement_Act
>sleep is easier to achieve and the quality is great

It's easier to fall asleep sometimes, but I find sleep quality markedly worsened with cannabis, personally. I have to sleep an extra hour or two if I've consumed cannabis prior to sleep.
Dunno, probably not. But "everybody else does it too" isn't a good excuse to prohibit it.
I tip well. It makes me feel good, and I hope makes them feel good, too.
That's why I'm still driving my '04 Expedition. Parents bought it in 2008 and I've been taking good care of it since I bought it off them. Still runs great even though it's now a 17 year old vehicle with 250k miles.

Can I afford to drive a nice new car? sure, but why would I (other than getting way better gas mileage...)? Practically worthless for trade-in, so might as well keep driving it until something really expensive breaks.

It's not like SUV design has changed much. Modern ones just have silver front-ends versus body color.
Yes, you are of course right, technical limitations have had reasons in the past to use suboptimal solutions if we're talking about coloured pixels in CRT or LCD displays even but in today's world with our display technology there's no real reasons to use those other than personal preference.

About the photons, you could look into a regular paper sheet's or book page paper's albedo values and compare that to the light emitted from a led display, it's not even in the same ballpark. Why do you think people enjoy reading on an ebook reader rather than a normal tablet with a lcd/led display?

Artificial light strains our eyes way more than normal sunlight (or even indoor lighting) reflecting off of surfaces indirectly lighting everything for us.
What I've noticed is that JITs often can reach C speed in workloads like this:

sum = 0
for i in xrange(n):
for j in xrange(i):
sum += A[i][j]

And when they reach that milestone, some people call it "as fast as C".

Never mind that that's not what people actually write in Python or PHP. It's a synthetic benchmark, not a real workload.

The workloads in those languages are generally oriented around strings, hash tables, and function/method calls.

And the JITs don't seem to do nearly as good a job there. I tested PyPy on Oil [1] a few years ago, and it made it slower, not faster. And it used more memory. (Though PyPy is an amazing project in many respects.)

[1] https://www.oilshell.org
Exactly, I was just trying to teach someone Flexbox a few days ago. This could've made it a lot more clearer.
The guy is a PhD graduate of a military academy, of course he would be an officer. Graduates of military academies all over the world hold officer ranks.

China has been remarkably successful in developing domestic industries. 25 years ago you didn't see decent Chinese papers in international journals, now you encounter them all the time. Good for them! It would be good if the US also supported its domestic research, but Americans just won't get advanced degrees in the sciences because it's too hard and the pay is too lousy.
By wielding the Futamura projections [0][1][2], any interpreter may be turned into a compiler. Perl is handled as one case. Crucially, the resulting compiler need not be fast; if the interpreter is slow, then the compiler will be slow too (this is a special case of the central meme from [3], "if the N'th Futamura projection has quality Q, then the N+1'th Futamura projection will also have quality Q.")

[0] https://en.wikipedia.org/wiki/Partial_evaluation#Futamura_pr...

[1] http://blog.sigfpe.com/2009/05/three-projections-of-doctor-f...

[2] https://www.gwern.net/docs/cs/2009-gluck.pdf

[3] https://www.itu.dk/people/sestoft/pebook/
Banksy Bought a Yacht
Earnings go up, but so do expenses and responsibilities for most people.

And would your earnings be where they are now if you had a big gap in your twenties where you did a failed startup? (Depends on the experience it gave you, I guess.)
I don't think I've written much about Tarsnap recently. What would you like to know?
i’m confused why people have this impression...

isn’t the expectation for the vast majority of people that the second this pandemic ends, were expected back in the office?

and if that’s the case i can’t really go and buy a home in the suburbs
Finished it and felt like it was perfectly gamified -- used concepts exactly as fast as I was ready to understand them, reused concepts enough that I felt like I had mastered them. Really helpful because I only ever use this property on one thing at a time so I never get practice.
Outcomes are not great for many off these things because they often have poor availability, particularly in quantities that are sufficient to signal quality.

Sure, when a lawyer wins a high profile case, they get more clients, but one case isn't exactly great evidence of quality.
There are also all of the downsides to living in cities (in the US anyway).

(high) cost, noisy neighbors (and poor insulation), zero design for ventilation or privacy. This isn't directly addressed in the suburbs either, but the lower density in the suburbs decreases the effects.

I've never lived in a shared dwelling that isn't an apartment though. Maybe the equally unaffordable condos and such in cities don't suck; however I'm inclined to believe that they share these faults and all of the distractions of others, particularly in cities with mostly US citizens.
Ask HN: Which communities or social media sites do you run?
> you'd think a company with an division dedicated to authentication would support what the industry considers the best 2FA solution: WebAuthn

How would WebAuthn work with someone using a mail user agent connecting via SMTP?
As long as there are still plenty of people making apps for iOS, I don't see how Apple has much incentive at all to change their behavior.

If this stuff is that big of a problem for the average iOS developer, then shouldn't this at least be an opportunity for Google (to attract more developers to its platform, possibly exclusively)? Or no because G has pretty much the same incentives that Apple does? Or is this already happening and I'm just not aware of it?
Ask HN: Tool for getting meaningful data out of database quickly
I work in a medium entreprise that does not have a dedicated data analysis team.

I have a workflow that comes in every week or so, which would be someone high-ranking asking for such and such data, by this and that range of months, with this and that kind of attributes.

We have 3 SQL database (2 PostgreSQL, 1 old Oracle), and usually this involves me opening up my SQL program, writing out the query by hand, and then exporting it.

Sometimes the demand would involve a lot of tables that are scattered.

I have DataGrip which helps me, but I want something better.

I know in my head how it all works, but I would like to know if there is something on the market that lets me:

- Assign meaning to all the relationships of tables;

- Query visually by telling it (e.g.) "all drugs dispensed" after that it knows what "all drugs" means and "dispensed" means; and

- Quickly export to Google Drive or similar share-able avenues.

I can of course write SQLs, but after a while it gets very tedious. I have so many views/functions that I built up to be ready for all the demands but sometimes it gets counter-intuitive.

Do you know of a tool that helps me with this? I've tried these following tools but they seem to pitch for different business use-cases (most seem to pitch for business people who want charts, I don't want charts, I just want my Excel files).

- Google Data Studio.

- Microsoft PowerBI.

- Mode.

- Klipfolio.
I feel the fraud part is when states claim having a lottery will provide more money for schools and then in the following years they cut general education spending.

I even remember hearing ads on radio encouraging folks to "pay-it-forward" by buying more lottery tickets and framing gambling as charitable giving.

"For the children" indeed.
Not having trivially forged headers would be a start.
In fact I was one of the main drivers for moving WebKit to a community open source model and away from helicopter drops of tarballs.
It has a theme picker at the top. You’re probably operating in dark mode, so the theme picker is matching with its dark theme. Use one of the lighter themes for better readability.
but someone who works insanely hard for a long time is always walking that fine line of burnout.
Just a few lines above what you wrote:

> Sudhish Kasaba Ramesh, who worked at Cisco from July 2016 to April 2018, admitted in a plea agreement with prosecutors that he had deliberately connected to Cisco's AWS-hosted systems without authorization in September 2018

How does that sound accidental to you?
I download fillable PDFs. As long as your income (or was it revenues?) is under $1M/year you're allowed to file on paper.

Corporate tax forms change very little from one year to the next, so you can complete 99% of next year's tax return by "look at last year's return and put numbers in the same places". When all the numbers are zeroes, it's even easier.
> I would like to see some good arguments as to why a brick and mortar store deserves a significantly larger cut.

They don't get a "cut" at all, they resell the product at a markup (and set their own prices, so they can even sell at a loss if they want to). Totally different dynamic vs. the App Store.
I actually have such a setup, but I've recently moved to a standing desk, it's just too claustrophobic for me to work in such a reclined position all day. However it's very comfortable for shorter periods of time!
I bought a T420, used, for $200 when I went away to college. I added an SSD to it, making the total around $300.

Six years later, it's still my only personal laptop: it's got all the specs I need[1], and works perfectly with Linux. The only downside to it is finding new batteries; I suppose that's why TFA is building their own ;)

[1]: All I do on it is browse the web, watch videos via MPV, send emails, and program.
As a fellow thirty-five year old, when I think about this type of stuff, I often think about that Tyler Durden quote from Fight Club.

"We've all been raised on television to believe that one day we'd all be millionaires, and movie gods, and rock start, but we won't. And we're slowly learning that face. And we're very, very pissed off."

We'll its silly to think you will be bestowed a spot in the top 1%, let alone the top 1% of 1%. I too slaved my twenties chasing the startup dream. I had some moderate success, but ultimately nothing panned out. I said I'd give that all up when I turned thirty if I never made it big. I did that. When I was 30, I had left the country once, to Mexico. At thirty-five I've traveled to ten countries. I started writing a novel. I don't expect to finish before forty and that's okay. I really turned my focus inward. Something that I do have absolute control over. With the pandemic I started contributing to open source software, I stared yoga. I should probably be doing more, but doing something is a good start. I am not saying not to chase big dreams at all, but sometimes we pivot in startups and we pivot in life.

I am probably the happiest I've been since my mid-twenties right now. That doesn't mean I am in some state of nirvana. I still have a lot of issues and my twenties end really, really bad. But I'm in a good place for me. All in the midst of a pandemic. I controlled what I could. I'm debt free. I have my little open source side projects. I ride the bike, write the code, ride the bike, write the code and occasionally add some words to my little masturbation novel I'm writing. I could lose my job today and not give a fuck and not need to work for two years. I'm pretty happy with all that.
Speaking as a user, I’m fine with that.

I’m not in the App Store to be used as a political/economic pawn for Facebook or other developers.

iPhone developers know the risk and buy in anyway.

Look, in all of human history societies with human hierarchy have enabled, and often glorified, the right of people above them in the hierarchy to exploit those below.

Stop pretending America ever came close to getting that right and instigate political change.

I’m not gonna fight for a better world because a first world tech bro feels screwed out of something he willingly agreed he wasn’t owed.

There’s a whole raft of political problems that impact others that iPhone devs ignore.

Shrug emoji, tech folk. Sorry life in your privilege bubble isn’t all unicorns.
I'm running a T530 as my everyday rig, with Windows 10. I maxxed out the ram and got a ssd. It's fast, I can have numerous Chrome tabs, Sublime, and pdfs open, and quickly switch between them. Youtube videos play seamlessly. I can have multiple Kicad projects open. I genuinely don't feel the need for a faster computer.
The T420 is the last model to feature the traditional ThinkPad keyboard (except for the special 25th anniversary ThinkPad), though it is possible to install the T420 keyboard in a T430. There is still a segment of ThinkPad users who prefer using the traditional keyboard, and some of them are willing to forego the performance and other features of more recent laptops in order to use the traditional keyboard. There is even a market for modded older ThinkPads with newer components, such as the X62 and x210 projects.
Curious how Cyberpunk 2077 will deal with first person POV problems like taking cover behind objects or going up a steep incline. Good open worlds have so much going on that it's usually much more efficient to view them through a big picture 3rd person POV. A dedicated 'real life' point of view like the one that Cyberpunk 2077 has adopted reveals only a fraction of the context that can be gained from the same scene viewed from a 3rd person POV.
Most crimes require mens rea for conviction. That is, the prosecution has to prove beyond a reasonable doubt that you intended to do it. If it's really the case that he accidentally ran terraform with the wrong project/credentials, I doubt he'd accept the plea agreement.
From what I understand, Google, Microsoft, and Sony all also charge 30% for the app marketplaces on their devices. There may be some game-theory pressure here not to lower the cut for risk that the others will do the same and a race to the bottom will ensue.
"Adults should be able to avoid scams/fraud" is a policy that only enriches scammers and fraudsters.

There is zero upside to society for people to be parted from their money (further, for scammers to receive that money) because they don't know about every single scam or because they were unable to do adequate research. Btw, Herbalife points to the fact that it's not shut down as evidence that it's legit. And its onboarding process is 100% high-pressure sales wringer to make you feel like you're about to make big money.

This crap is even more in-the-open here in Mexico, the same country with homeopathy "pharmacies" on every block staffed by people in white lab coats ready to sell you a vial of water that will cure your cancer.
https://en.wikipedia.org/wiki/Betting_on_Zero
What percentage of your combined salaries was 7k?

How many people were playing the lottery weekly?

How many people were playing the lottery with the mentality it was the only way to achieve financial freedom?

-

Do you really not see the difference between poor people gambling daily and well-off people joining in on it as a spectacle?

In case you need it spelled out... it's no surprise the poorest populations consistently end up putting the most into the lottery because of weaker educations, lower financial literacy, bleaker financial outlooks

https://cnsmaryland.org/gambling/lottery/lottery.html

https://madison.com/wsj/news/local/govt-and-politics/wiscons...

https://southsideweekly.com/illinois-lottery-exacerbates-ine...

The story is the same all over the country. It's easy to sit back from a comfortable place on here and say "well the odds are right there, can't they see how low they are??" but it certainly doesn't show strong social awarenesses...

-

The worst part is the most vulnerable people aren't getting out nearly what they put in between a lack of social safety nets and the fact these groups tend to be the most underrepresented in their governments.

https://www.bloomberg.com/news/articles/2017-02-21/where-cas...

> “In almost every case states either earmark the funds for education but then decrease the general fund appropriations for education by a similar amount, or, in more cases, they simply put the money in the general fund,” says Denise Runge, a dean at the University of Alaska Anchorage and editor of Resorting to Casinos: The Mississippi Gambling Industry.

In fact in some cases, these lottery are literally taking from the poor and giving to the middle and upper classes.

There's the merit-based scholarship example in the article, but even cases where funds end up being used on things like "historical preservation"... historical preservation is great, but feeding the hungry and giving the homeless places to sleep feel like much better investments in our populations. There are tons of "feel good" initiatives in a similar vein
iPhone app that allows to test open source UI components without Xcode
One of my buddies who works at Google basically lives in a hacker commune so he can pocket most of his earnings post tax. Not sure quite what he does with it.
The keyboard is the appeal; the T420 was the last model with the classic "7-row" keyboard design. The T430 and later have Macbook-style chiclet keys like everything else these days. It's one of the best portable SSH clients you can ask for, so the CPU power of the ThinkPad itself isn't that relevant.

Some people go the opposite route of modding the old keyboard onto newer ThinkPads: http://www.thinkwiki.org/wiki/Install_Classic_Keyboard_on_xx...
Do you think giving people electricity and housing and education doesn't "go right back into the economy"?
Which specific chair did you get?
Island in a Lake on an Island in a Lake on an Island
Original Show HN: https://news.ycombinator.com/item?id=11213475
Frank Ramsey: A more human philosophy
All superstars will leave if forced.

My friend who is a staff engineer. He lives close to the office.

Before covid, his kids meet with their parents often. They live close to each other.

You can bet that he would not increase the risk of the grandparents getting covid. Not even by 0.0001%. It's a known risk that can be avoided.

Forcing him to come back to the office will immediately result in him leaving.

Working life will never be the same again.
Google F1 Lightning: HTAP as a Service [pdf]
they said in a new yorker article...
> This brings up a slightly related question: is there a language that can’t be compiled?

Not sure if you're asking this platonically, but Futamura shows us that if you can built an interpreter then you can always transform that automatically to be a compiler.

This is used in practice by some compilers today - they automatically produce a compiler from an interpreter!
You might be the one with a weird idea of what a city is. I'd wager most people think of something like the top 20 metropolitan statistical areas by population when they hear the term. In the U.S, at least, those generally all have terrible traffic and subpar transit.
Pretty crazy how this library blew up in the last 48 hours. Lol
Nicely put. Care to share your writing system?
https://youtu.be/wccRif2DaGs