skysight-inc/HackerNews huggingface dataset:
Ask HN: How do I stop being such a bad student
I took a job this year at a startup. I decided to do this full time and try do my undergrad in the evenings. This might have been manageable, but I forgot once again that I am me, and not someone else. I have done almost nothing of study, to the point that I'm not even sure what modules I'm taking. And our University wont let you carry on classes to the next year. Essentially causing me to have to repeat the year if I fail my exams.

This is my second time as undergrad. I first started as a physics ug, dropped out. Spent a few years doing sweet little, went back to do a ug in computer science and now I'm in the same position.

I was diagnosed with ADHD in November, but waiting lists have meant that nothing, no counselling or medication has come my way. I spend my time reading, writing and coding. I've started numerous side projects and finished none of them. Because of this repetitive behaviour I cannot do anything that I don't see as 'productive' out of a complete fear I'll never achieve anything.

I want to do some good research in the area that I'm interested in. I'd like to do a masters perhaps. But I'm 23 at this point. Some of my class mates next year will be 18. I need a bachelors at least. I could drop out, start a company in my area of interest, which is what I want to do anyway. But even if I try I'll probably get bored, quit, have nothing to my name and be back at square one again.

What to do? Where to go? I've run out of ideas at this point.
Can't edit this comment, but, "SVG emojis" -> "emojis as SVG favicons"
Software Engineering Body of Knowledge [pdf]
No need to worry about your App Sleeping again on Heroku
Oath or no, if you could save 3 young people’s lives for one old person’s life, wouldn’t you do it? If I was a doctor I would at least want to, I don’t know whether it would be feasible.
You shouldn't repeat unsubstantiated rumors like that. Can you even name these disappeared scientists or know anything at all that could be used to verify those stories?
This is great as charming! It’s this stuff that I actually want on YouTube.

I’ve just found that making things with my hands is the best way for me to relax and get a break from everything digital. I’ll be binge watching this tonight.
Several US utilities back out of deal to build novel nuclear power plant (2020)
I used to think a Tesla was beyond my reach completely but then I started doing the math on how much gas I was buying per month with a regular car, how much I was spending on repairs and oil changes etc. All my time working on the cars. Driving old run down pieces of crap until the inevitable head gasket failure that costs more than the vehicle is worth to fix. I said enough is enough I’ll get a damn car without a head gasket!

I live in a state with some of the cheapest electricity in the USA, the Tesla Model 3 is almost free for me to drive and I can charge in off-peak times for truly mind blowing MPGe values. I also hadn’t thought about how the car retains its value. My gas cars depreciate rapidly. My brand new Tesla cost 40k when all is said and done and used Teslas several years old were going for 38,500 or so. The test drive of the Tesla sold my girlfriend and I on it completely. It was the first car I’ve ever driven that felt like what the future should and could be like.

http://chooseev.com/savings-calculator/
There are plenty of malls in SF Bay Area that actually have good & healthy options instead of McDonalds. That's a solvable problem -- just like how some tech companies have amazing cafeterias.
Lead in an appropriate container is probably a good idea. Tungsten is denser, but lead is less expensive.
hate to nitpick, but NYC's median household income is ~$58K -- nearly double the figure you cited.
This could give a new purpose for abandoned mines all around the world. The shafts already exist and are no longer in use, they would only need some repairs.

I grew up in one such city, there were "covered holes" everywhere.
> SLS/Orion are close to finished

I'm not well versed in this field so forgive my ignorance but I remember learning about SLS in middle school and being told that it should be operational in 4-5 years. I'm about to graduate college. Do we actually know if SLS is close to finished or are we just taking their word for it?
yeah this sounds like a pendulum but geared on the y axis instead of the x. in fact a pendulum seems more practical since it doesn't need a shaft, just an enclosure. I suppose a pendum is itself is just a special case of flywheel anyway.
Yup, the multiple felonious banks like DB, HSBC, and JPM that are still allowed to operate with slaps on wrists from US/German/British/etc regulators that are fractions of the profits received (and continued cash flows) from felonious activities all trace back to Russian control. No other explanations/theories of what is going on here are possible.
Not to disagree with your underlying point, but I think it might be more constructive to frame the problem as a failure to internalize the costs, rather than a focus on money. Ultimately we do need a fungible way to compare solutions, and money is the simplest way to do that. We just need to figure out how to effectively internalize those externalities to the price.
Gravity and electromagnetic forces are somewhat similar, they both have infinite range, decay as 1/r, one key difference is that the electromagnetic force is 10^36 stronger than gravity [0]. Just for that reason I'm always immediately skeptical of projects of this type.

[0] https://en.wikipedia.org/wiki/Fundamental_interaction
That was a slick trailer. Looking forward to it! Happy with the focus on accessibility.
Hell yeah, keep up the good work!
Windmills have been making usable power for millennia. They are well understood.

Tidal energy has been tried time and again and nobody has managed to make anything that would work at scale.
I don't know about Ruby, but saying Scala and Rust put everything into the language is just totally incorrect. Both are designed with philosophy of building minimal set of features with very strong expressivity. For example Scala 3 removed a lot from the language and unified many features.

As for Rust. Is there inheritance in Rust? No. Overloading? No. Global or static (like Java static) variables? No. GC? No. Exceptions as the main error handling feature? No. N ways of casting to a different type? No. 5 or 6 ways of building dataclasses like in Python? No. 20 ways of packaging / building a project? Again - nope. I think this is already enough to say they didn't put everything into the language, and they are actually very careful not to introduce unnecessary features.

Actually I find Rust quite small, compared to e.g. Java or C++, but it has much better expressivity.
The article makes the observation that "loved languages don't have legacy codebases". Also, using Ruby as an example, it postulates that "once a language has enough legacy codebases, it stops being a loved language".
That’s the point of luxury goods in Europe. They are not payed out of wages but out of your (inherited) fortune.
The propaganda from the nuclear lobby was never to be believed. Solar has been in widespread use for more than 30 years, wind for millennia.

Fusion will work long before we will have tidal energy plants worth writing about.
That’s irrelevant. If you just treat organ donation as an exchange system, an “organ-bank club” if you will, you don’t need to bring judgement into it.
I have no objection to organ donation at all.

I think the idea that someone might see with my eyes after my death to be a beautiful one and I’ve been a lifelong card carrying organ donor.

I object to presumed consent.

A gift is not a gift if it’s not freely given.
How about to retrofit wind turbines?
They are tall, strong, and empty inside.
No I mean all world banks have a presence in NYC bc it's the finance capital of the world. NY Times in reality is a shill shop who caters to big money and in-vogue politics.

Russia's not as bad as the media makes them out to be.
I agree that we should be maximally wary of ethical considerations here, but a uniform mass of cells is a uniform mass of cells. We do know when important structures develop.

For example, one of the most important cell line in research is called HeLa, which was harvested from a woman with the same initials without consent from a cancerous growth. Since then, it was grown to a huge biomass (couldn’t find exact number). Other than the lack of consent which is obviously amoral, would you consider research on this human cell line bad?
Does anyone know why it uses only 2 rather than 3 rotary wings like on wind turbines?
Ok, so I tried it as this would be a useful tool for me. When clicking download all get as plain text in my browser is this:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">ðŸ±â€ðŸ‘¤</text></svg>

Am I missing something?
Compare with “home” games that aren’t really home games? For example, Manchester City had a home game in Budapest this year (https://www.bbc.com/sport/football/56343751)

Clubs also sometimes are banned from playing in their own stadium, or can’t play there because it is being renovated.

Another idea: look at Inter Milan versus AC Milan or Genoa vs Sampdoria matches. Those clubs share a stadium, so they play their away games in their home stadium and vice versa.

You could also look at players who, after a decade or more at a club, switch clubs and soon thereafter return to their former home stadium to play an away match (yes, yet another confounding factor, and such players are extremely rare in today’s football)
Interestingly the average car price in the US crossed $40K last year.
So, it's a market failure? Nobody has predicted the shortage, stockpiled and sold for 1000x the old price?
Your comment is naive for several reasons.

For compliance reasons, many industries are required to install AV. On linux, most admins just install Clam-AV on directories that change for that compliance checkbox.

However, on linux, the likelihood of a virus is small, so really it's a waste of resources. If you're doing data center egress filtering, you'll know when unwhitelisted outbound connections are initiated that you have a problem.

Obviously on Windows it's more of a necessity. (One of the reasons is that most hackers target Windows because that's the more immediately lucrative OS.)

Regarding "rely" and "failed", if you have a port exposed to the Internet, there are no guarantees except that you will get pwned.

The closest to perfection I've seen is in major Japanese companies, where they close all ports except 25, 80 and 443, and use packet and application inspection on those ports.

But end-users obviously get annoyed. (When I was doing a contract in Tokyo, they pulled an ISP T1 directly to my desk so I was exempt from their internal IT policies - I was literally on the open Internet.)
The resources that get poured into Blender are coming out of pure desperation. The companies that pay for it have to have some tool that is suitable for their work and supporting Blender is simply cheaper than doing it from scratch.
Great question, GeoDjango with leaflet seems popular.
Dear Internet,

For 25 years you've pleaded for an SMTP replacement. But all you got was SaaS, sans interop.

Now at long last, here it is. (We're so sorry it's taken so long, but we're only human!)

TMTP is a sane network protocol for email, to end attacks and promote productivity.
You can download client and server, written in Go, from the mnm open source project:

https://mnmnotmail.org

Why now? The cybercrime crisis, a huge portion of which is facilitated by social engineering attacks via email.
They’ve had the Prius since 2012, I thought?

https://en.m.wikipedia.org/wiki/Toyota_Prius_Plug-in_Hybrid

128 thousand total cars globally
I worked on the emscripten/wasm build of boxedwine. I can answer some questions.
The project has been around in some form for 9 years. It was originally in java, then straight c, now c++. Main author previously worked on jdosbox. I previously ported jdosbox to become jsdosbox (via GWT) a decade ago.
That’s because you don’t apply until you have your whole data package. There is no “apply as step 1” it’s “you submit your application when it’s complete”.

https://www.fda.gov/media/97321/download#page13
This is a Linux in the browser. It's there to run WINE.

Absolutely incredible project!

(Also, it's in the browser sandbox so you don't have to worry about viruses)
Is that wrong?
For me assembly is formatted version of what my hardware can parse without further abstraction. Any other way everything is assembly. I can find an assembly C-compiler && I can find a C-python compiler == python is assembly...
But I would find the challenge interesting if you're asking "how advanced of instructions can our hardware handle these days"
VanillaView is a JavaScript library for building user interfaces
uhm, bringing up natural as an argument in defense of the creation of sentient beings heavily implies that you consider everything natural as good.

since we obviously agree that murder is not good, and you also agree that not everything natural (by your definition of natural) is good either, using natural in support of your argument no longer works.

this doesn't invalidate your argument. we can still discuss whether creating sentient beings is acceptable or not. just arguing whether it is natural or not does not help us here
Does it have to though? It would still be a PR miracle even if it was just a non-functional showpiece. I would even say that sending a battery pack up there just for the meme of being able to remotely drive it around is not worth the potential risk of compromising the mission (IIRC the Roadster had most of its electronics stripped out before launch as well.)
There’s nothing a city (or state) can do that will not result in higher and higher expenses from other cities (or states) sending you their homeless. It’s the same problem as providing healthcare (or even just mental healthcare).

In the absence of federal action, the solution thus far has been to use police to harass homeless and keep them moving along or sequestered in certain areas, or to live in suburbs that you need cars to survive in.
> You could argue that the difference between pre-birth and post-birth fetuses is fuzzy and arbitrary

If you don’t view the “attached” women as a living person that can die from childbirth..
Also, there is a very real difference between a first trimester fetus and a third trimester one. The latter is only ever aborted when the life of the mother is in danger (eg. with mothers less than 18).

Just a nitpick.
Expat typically means emigrant, not immigrant.
The concept of "Servant Leadership" is not exactly new [1], Many people are not in the position to argue with their boss when they frame it as an adversarial relationship - That you owe something to the boss for your pay, that it's somehow a privilege they are granting you to work for them. There's no way to prevent those kinds of leaders from having a successful organization except by refusing to work for them and out-competing them, and fundamentally: Crime does pay, sometimes for long enough to starve legitimate competition out.

[1] https://en.wikipedia.org/wiki/Servant_leadership#History
> so you see the first statement as, "animals are people too" instead of "humans are just animals."

You're assuming a lot yourself by telling me how I interpret the point about the line between humans and animals, and (in fact) you have assumed incorrectly.

The article includes a quote about how they intend to follow "all the ethical, legal, and social guidelines in place". So I don't think the point I made about their stance being contradictory is way off base. Of course, they could actually be aliens from the planet Omicron Persei 8 with zero genuine concern for human or animal life. Or whatever.
Audi is that way.

But they have a different problem - they are now making some "trendy" design changes that are screwing all their models equally. No physical buttons, virtual cockpit, "futuristic" styling of the dashboard that makes it look like a glossy fridge door, the replacement of B&O with Sonos, etc.
This thought process is why the idea of positive rights is incoherent.
> I’m not even sure where the incentive is in your example—it’s just trading off one life for another.

The issue is that the patient needing the organ might die before the potential donor.

Edit: this is under the assumption that the potential donor is very likely to die of their current condition.
I think the other direction is implied, that is someone not being biologically human can be considered conscious and “human” like a chimp, or some hybrid chimera monkey-human.
Or it could be governments returning a favor. Remember the "backdoor" channel Kushner talked about with Russia?
Trucks can be used for towing or hauling large and heavy goods. I am yet to see an electric vehicle do the same and retain any notion of a practical range.
I’m here in the UK and we have limited supply of anything but he AZ vaccine which we make here, so it’s a slightly different story. We can’t choose what jab we get. You just get an appointment and get whatever you get when you arrive.
Yeah, but nobody's killing them on purpose (I hope!).

It's just that those regions are warm and humid, and this creates great living conditions for mosquitoes.

To make things worse, many countries in these regions are poor, so they can't afford treatment or prevention (pesticides to kill mosquitoes, draining swamps, etc.).

Rich countries in the same regions most likely don't have big problems with malaria (or if malaria is still a problem, it's probably a minor problem).

It's just "bad" geography (from this point of view) and poverty.
So are all the other rights.

> Death:
Yes. As practice, you have to start out learning to believe the little lies.

> Susan:
So we can believe the big ones?

> Death:
Yes. Justice, mercy, duty. That sort of thing.

> Susan:
They're not the same at all!

> Death:
You think so? Then take the universe and grind it down to the finest powder and sieve it through the finest sieve and THEN show me one atom of justice, one molecule of mercy. And yet... you try to act as if there is some ideal order in the world. As if there is some... some rightness in the universe by which it may be judged.

https://www.quotes.net/mquote/1016567
I think you mean "any number of alibis".
For annotation UIs on the web I would check out how http://geojson.io works, the implementation is on GitHub: http://github.com/mapbox/geojson.io
I’ve seen some jobs (rarely) that use Prolog but not many. I’d love to know if anyone on HN uses a similar language in prod?
I should do that to my tenants :-D
Bad article. Bad title.

Every tetanus shot I've had involved a very intense sporting or outdoor injury that needed stitches. The cohort getting these are vastly more active than those who don't, in a way that's far more accurate than self reported "exercise."

Basically everything good is correlated with lower dementia risk; it doesn't take half a brain for any of the authors to have realized this.
> a NIMBY type effect, but in reverse

We call that selfishness :-)

And we can't force people to help others, no matter how much we dislike the attitude.
The List of Color Palette Tools for Web and UI Designers – DesignXplorer
On x86.

The linked article loaded very, very slow. Original (?) bloppost: https://blog.can.ac/2021/03/22/speculating-x86-64-isa-with-o...
Total cost of ownership makes the electric car much more competitive than simply just looking at the price at purchase.
I'd like to understand what you mean by doing it many times - do you mean for different areas of the world? I haven't thought about API access to the bundles in detail yet, but you can contact me via email at brandon@protomaps.com if you have some idea of what you need.
I've watched the video as far as Timothy Gowers sets out the problem. Now here's my attempt at a mental-arithmetic solution plan:

1. For any n, attempt to do an LU decomposition of the Pascal matrix P into the product of lower-triangular matrix L and upper-triangular matrix U.

2. By symmetry, these should be mirror-images of one another in the leading diagonal.

3. det(L) det(U) = det(P), which we know is 1. Also, by symmetry det(L) = det(U), which must then be either 1 or -1. The simplest approach would be to guess that is 1 and that the leading diagonal is all 1s.

4. Induct the first 3 cases, by mental arithmetic to reach:

1 0 0 1 1 1 1 1 1
1 1 0 * 0 1 2 = 1 2 3
1 2 1 0 0 1 1 3 6

5. Guess that L and U are also Pascal's triangle arranged as rows and columns respectively.

6. Compute the bottom right corner for a couple more cases as a check:

1^2 + 3^2 + 3^2 + 1^2 = 20
1^2 + 4^2 + 6^2 + 4^2 + 1^2 = 70

... seems OK. So I guess, for the bottom right corner there's a binomial identity something like:

$\sum_{k=0}^n \binom{n}{k}\binom{n}{k} = \binom{2n}{n}$

and a more general version of that identity for the cell (i,j) with 0 <= i, j <= n

$\sum_{k=0}^n \binom{i}{k}\binom{j}{k} = \binom{i+j}{n}$

on an (n+1) x (n+1) matrix.
Where are all the usual haters?
Previously for that link (208 points / 65 comments):

https://news.ycombinator.com/item?id=26584118
Afslankingsproducten
If you dare to venture, need to follow deep rabbit holes. Look into: work of Harold Aspden (and his coworkers & previous research partners), plancks equation origins and drop offs, dewey larson physics, piesel electric effect origin and drop offs, the adams motor, ellen brown, what maxwells equation actually determines and where it selectively isn't being used
And here is a repository from someone that translated it to Javascript (also has C++ version) https://github.com/CapelliC/hitchhicker-prolog
As usual everyone is fixated on price when the real hurdle will be scale. If we're going to replace our existing fossil fuel plants we need at least as much capacity. A quick grep in the article tells me these guys have a plan for a 4MW plant that involves a 1km shaft. That's the same order of magnitude as a single wind turbine, which is already one of the worst ratio of power output per quantity of resource and land use.

For reference (https://en.m.wikipedia.org/wiki/Coal-fired_power_station):

> As of 2018 coal power under construction was 236 GW, planned 339 GW, and 50 GW was commissioned and 31 GW retired

If we want to replace those new plants we'll need 100.000 of those shafts. And that's not counting the existing plants, and the other fossil-fuel based plants. Think of the quantity of concrete that involves. That's just insane. If we want to actively tackle electricity generation we need to use the most efficient low-carbon tech that we already know.

Also, we already have gravity-based systems, only nature does all the work of raising the payload for us in gaseous form, and we let it fall in liquid forms. But it takes so much dam place.
Don't love it. Would much rather:

git push origin f1:f1
git checkout f2
git merge f1
git push origin f2:f2
git checkout f3
git merge f2
git push origin f3:f3

Merge is generally less effort to handle conflicts too. I see cherry-pick as a last-resort option for fixing certain complicated scenarios.
I have no idea of the details as to why, but in all the years I've used emulators, turning off the audio has always increased the speed of emulation in emulators that are struggling.

I realize Wine is not an emulator...but...same shit.
What are Shopee’s rivals upset over?
useful info, tnx! I started using call record app from https://apps.apple.com/us/app/call-recorder-icall/id14470989... it has a 3 day trial version. It helps to record incoming and outgoing calls, has unlimited duration of calls and helps to share and manage all calls.
Tamu Massif
How do I tell Zellij to passthru Ctrl+ArrowKeys ?