skysight-inc/HackerNews huggingface dataset:
Could depend on the school and the major. Seems like women have an easier path to get into top engineering schools, whereas men have an easier time for top liberal arts colleges.

https://www.washingtonpost.com/news/grade-point/wp/2016/03/1...
>Why on earth should they register as "Foreign Agents?"

For collaborating with a foreign power in attempting to influence US policy. Here's a former director of AIPAC saying just that (in, mind you, the Jewish Daily Forward):
https://forward.com/opinion/395676/its-time-for-aipac-to-reg...

The German American Bund was also an American organization made up of Americans ... and getting its marching orders from abroad in service of a foreign regime. That's why we passed the FARA law in 1938 in the first place. Foreigners are not supposed to influence US elections. Everything you have said about AIPAC applied to the German-American bund when they passed the FARA law. Neither the NRA or the American Cancer Society are advocating for policies for benefit of a foreign power: the German American Bund used to do this, just as AIPAC does today. If you don't like FARA, lobby to get it revoked. I'm sure that will go over well after the Russia hysteria.

There's also the example of the Lawrence Franklin espionage scandal of 2003 for shady AIPAC doings beyond this:

https://en.wikipedia.org/wiki/Lawrence_Franklin_espionage_sc...

AIPAC were pressured to register as foreign agents back in 62, but Kennedy being shot kind of pushed that aside. Ended pressure on them to stop their nuke program as well.

https://www.israellobby.org/azcdoj/default.asp
Not very TBH, I use one to commute to head to the train station. On the way back I have to climb back up the hill omw home and its maybe ~5% grade, and I have to peddle to keep going uphill.

My scooter is rated at 250w (600w peak, which is on the low side) but is incredibly compact when folded, which is a huge plus. Considering upgrading to a more powerful one, but losing the compactness might not be worth the trade off to me — I can fit this scooter between my legs in a packed uber pool (!)
Inland coastal Alabama, same deal. It's great to know how to catch turtles, snakes and lizards with my bare hands. Doesn't come up much while developing software but it definitely balanced out the Super Nintendo time growing up.
That's not wasted time though, is it? It's a chance for a bit of exercise, a bit of shopping, to see your local communities.
"When you have eliminated the JavaScript, whatever remains must be an empty page."

Ah ah! Quite incredibly and sadly spot on.
I partially agree. I think the ban is necessary in part because once we go down the route of private prisons we create massive economic incentives to push people into prisons and keep them there. These incentives will be on top of the incentives that already exist.

So I see this as cutting off a potential source of greater problems down the line.

But you're 100% right, there are already massive incentive systems in place that we need to overcome to achieve real change.

Frankly, I think a great first step would be eliminating prison guard unions or at least putting pressure on them (e.g. other unions refusing to recognize them).
This is C land. You're not going to make it far by making the case that bloat is acceptable.

People have a range of technical and aesthetic reasons for hating bloat and C attracts a lot of them.

Off the top of my head:

- Smaller memory footprints

- Easier reimplementation

- Lower attack surface

- Less room for breaking changes

- Less baggage for when we inevitably wish we could deprecate things
You mean hundreds of scanned pdf files without ocr and password protected with different passwords isn't helpful?
That's not a problem inherent in the bike or scooter.
Scratch-off lottery cards also are set in stone and they're just there, ready to be bought. The odds are known to the public (and probably right there on the card), the card has a fixed value but until you've bought it you just don't know if this card will be worth $0.25 or $500.

That's 100% gambling. And the concept is soooo very similar to booster packs.
that's right, it's only available as a PDF.
Objects and types are mutable after definition, but that's no more severe than what you can do in Javascript. Assigning to .__class__ is like assigning to .__proto__, and assigning to a class's .__bases__ is more or less like assigning to a prototype's .__proto__.

The resolution order is calculated when it's defined. It's calculated again whenever you assign to __bases__ (or a superclass's __bases__). But it's not calculated every time it's used, which means there's no significant performance penalty to multiple inheritance unless you're changing a class's bases very often.

Metaclasses can override the MRO calculation, which we can abuse to track when it's recalculated: https://pastebin.com/NdiA12Ce

Defining Baz
! Computing MRO
Instantiating Baz
Accessing attribute
Changing Baz's bases
! Computing MRO
Accessing attribute

Doing ordinary things with the class or its instances doesn't trigger any calculation related to multiple inheritance. You only pay for that during definition or redefinition. So there's no performance problem there compared to Javascript.

I do agree that basically everything is dynamic in Python. But some things are more dynamic than others.
While you can always bend a turing-complete language to do the logic, it doesn't mean your abstractions carry all the way down to hardware — there is "overhead" or "loss of efficiency" if you will. You get the convenience, and perhaps organize the safety; but it only goes so far.

Well, hmm, I think you're right about the "hardware bending" part but unfortunately you are completely wrong about "Turing complete" part (I'm not sure where that comes in, tb). Indeed, a big factor with all this is that a c/c++ vector extension is pretty good reflection of a GPUs operations (and I'd assume a TPU, it being similar).

To wit. If you look at the assembly code of a GPU (Nvidia PTX), appears is reasonably similar to the machine code of CPUs but some extra sorts of primitives to allow communication between kernels. Otherwise, the code is "SIMD" (or STMD as Nvidia says); Most of a program is a sequence of imperative instructions that are different from CPU instruction in that they're acting on a huge "vector" of values. You really don't "threads" in the fashion that CPUs have - as the GP says. What you talking about is a system that's absolutely "Turing complete" (or as Turing complete as assembler or C on a CPU) but with extra facilities. The parallelism involved is absolutely different from the parallelism of current CPU systems. This is why just everything is translated to c++ which is then translated to PTX.

All that said, people have indeed proposed ways to bend GPUs to make them look more like current (MIMD) systems - see: https://www.microsoft.com/en-us/research/video/mimd-on-gpu/ etc.

But if anything, the "bend the hardware argument" very much work against Haskell etc on the GPU because not all parallelism is concurrent system like.
> I don't think this is "addiction"

I would love if we as a society would use the word "compulsion" for things that are not physical addictions, but I feel like that battle was lost some time ago, so I gave up.
How to? Starting your own business is not easy.
This really. I'm still using OpenGL and it's worth so much to have an adequate truly cross platform graphics API. The gfx-hal people are doing good work in Rust for a cross platform vulkan like api, but it's not there yet.
Taplytics (YC W14) Is Hiring an Engineering Team Lead in Toronto (React/Node)
Check this out: https://github.com/keybase/client/issues/19408
SwiftUI Basics
Oh yeah, you're right. I just looked at the pictures of her holding the printed out books and assumed that was what you got. My bad!
Mac scrollbars are terrible for accessibility. They're way too small, larger scrollbars help users with dexterity/mobility disabilities. I like the windows behavior because for me its reliable, I know where it "is," and yeah I object to "scrolljacking."
Are you writing this comment from prison? What's the internet access like?
So this goes like lotteries and several other things we already write laws about. What we care about is the behaviour. If your product triggers the problem behaviour then that's a problem.

If I go to McDonalds and there's a queue of people buying Happy Meals because they want a specific toy, and they either don't actually take the meal or it goes straight in the garbage, that's a huge problem -> gambling.

If I go to McDonalds and every kid just seems to be eating Happy Meals and enjoying whatever crap they got by chance, no problem -> not gambling.

You might argue, well, how can McDonalds control this? There are a bunch of things they can do to avoid causing the problem and thus avoid triggering an investigation. For example when somebody proposes "Ooh, let's make Toy #3 way better than the others, and then also only give it out 0.1% of the time" don't do that. That's going to trigger the problem. Or if a parent comes in and says they really need Toy #6 and they're willing to give you the price of a Happy Meal for that toy, you should say "Yes" and hand them the toy, if you insist they keep buying Happy Meals to have a chance you are encouraging the problem behaviour.

We see this stuff with other industries that trigger problem behaviour, we say "Don't do that" and we tell them things they should avoid to prevent the problem behaviour. Good actors work very hard to avoid a problem. Bad ones work very hard to avoid getting caught. Either way we did our best to protect people.

For example "Direct Sales" companies are told not to allow their "sales partners" or whatever they choose to call them to build up stock, because that's part of a negative behaviour. They're told to make sure those "sales partners" are deriving revenue from actually selling the product, which is ostensibly the point of their business, not from selling the opportunity to also become a partner, which would be a Pyramid Scheme, also negative behaviour. Invariably the people who own (and profit from) these companies insist the problem behaviour isn't what they want, and yet so often they do encourage it, because of course it makes them rich. Similarly with video game gambling.
Show HN: WebMaestro is a new HTTP Rest client and API testing tool
Hi, Could you tell me how to get the charset-labels.txt file? I am running the code
The state is product of citizens time and resources. We all contribute. So it's a perfectly apt analogy.
That part stood out to me too, because I have the opposite social groups, and I have never felt excluded for liking those things. It's highly, highly worth making the effort to connect to people with somewhat similar interests, even if you're introverted by nature.

There's a community for nearly everything, and having people you can talk to about your passions goes a long way in making people feel less lonely, and has a significant impact on your lifespan itself: https://www.scientificamerican.com/article/relationships-boo...
For years if not decades, imperative OpenGL calls like the ones above have been internally building state objects and command buffers. APIs like Vulkan and WebGPU just expose the state objects and command buffers directly. Part of the issue with OpenGL is that the state is hidden behind the driver (due to how much things have changed since the APIs were specified) and you build the state with a massive number of API calls that often need to get RPC'd into a sandbox or what have you.

A carefully specified API like WebGPU that exposes state objects can allow those to be built outside the sandbox (in user content) and efficiently RPCd in a smaller set of calls.

It is realistic to say those calls go away, even if similar calls have to happen "once". In comparison, when I port native apps over to WebGL I'm invoking dozens of WebGL API calls every time I draw some tris and it's SUPER SLOW. Compared to that the cost of doing some basic setup is a rounding error.
Ok, I understand that there is a lot of benefits to electric scooters. They are fun, convenient, and allow to navigate quickly, and great for the environment, or at least better than cars.
Why not driving regular bicycles? Obesity is a growing problem, because people don't exercise enough. Mechanical bicycle is a great low impact activity for modern life.
Also, bicycles aren't generally allowed on a sidewalk, but I have seen people ride on them sidewalks. The author of the article, who is by the way the indoor enthusiasts, feels that scooters shouldn't be disallowed on the sidewalks. We need to place for people to walk without worrying about being hit by a scooter. We have roads for motor vehicles and we have side walks for people. Let's keep it this way.
I feel like a lot of these things are "I'm a mac-based designer and the world is moving away from mac-based design so change the world"
The primary idea behind this post is to show how you can use OCR technology to one of the simplest problems (LPR). Given how widespread Licence Plates are and how easily you can collect this data. Most other use cases are a little more niche and difficult to relate with.

I doubt LPR will be the primary utility of this kind of tech.
Maybe this is regional? In metro Shanghai, the electric scooters usually have a dedicated lane. In the Pudong area (a ritzy part of downtown Shanghai), electric scooters are forbidden entirely. I got the distinct impression that using these scooters was a type of class distinction.
K2-18
Yeah, and I wasn't born to billionaires. So, we should take all the money from rich people and redistribute and become communist?
I still don't understand how you can expect Americans to be put in some sort of Registry because they have an opinion that differs with yours.
Ooof. Man. Not any stripe of psych or therapist, but I'm not sure you can. I've never found directly trying to change someone's mind all that productive.

I think the big precondition is some combination of curiosity+humility. If they don't already have it, I wouldn't worry about much other than trying to create it. At first I wanted to compare this to opening a door that someone else has to walk through, but I guess what you really want is to teach them how to see doors.

I'm not really into street epistemology, but I read Peter Boghossian's book on the topic a few years back; IIRC he frames this in terms of creating moments of "doxastic openness" where people are willing to re-evaluate what they know. I'm probably torturing the text a little, but I think it roughly boils down to using the Socratic method to help people find things they think they know but don't.

It's a way of unsettling the equilibria or feedback loops they're in.

A thought that may help...

A bit over a decade ago I had a spell of depression that I sought counseling for, and for a few weeks at one point I crossed a little line into "suicidal ideation", and it was a very unnerving experience. My brain saw opportunities for death everywhere I went. I was morbidly amused with its ideas. I (thankfully) never felt any real impulse to take action on those thoughts, but the unnerving part was how rational it (and I) actually felt. I'll avoid details, but my mind was hard at work on very pragmatic details--solving a problem like any other.

I realized my thinking was working fine--but my perception was all askew--and it sort of snowballed into part of my worldview. I grew to find it more fruitful to see other people as roughly rational with varying degrees of disordered perception, and to imagine that we would probably make very similar decisions and think similar thoughts if our input streams were swapped. (FWIW: I'm not calling this an accurate model of reality, just a fruitful one.) I wasn't really aware of it at first, but it's turned out to be an empathy-cultivating framework. It leads me to imagine the preconditions that might cause me to think/behave as someone I'm finding surprising.
So unit testing instead of end-user testing at a system level
> It fought a devastating war to preserve slavery, and this is something it's still proud of to this day.

You're committing a common logical fallacy which is attributing an act to a group and referring to it as a singular entity. You can just as accurately say that "The United States promoted slavery." or "Europe committed the Holocaust."

You know black people are Southerners too and by saying "the South" to uniformly refer to only white slave owners and racists, you implicitly eradicate their lives and contributions to southern culture.

> They have violent protests to preserve statues of Confederate (rebel) leaders in public spaces.

"They" — people who live in the South — also conducted the Montgomery bus boycott and marched to Montgomery.

Jesus, dude, are you OK? No one should be so hateful of such a large body of people.
My mom died after about 12 months after being diagnosed with a GBM and honestly wouldn't even have wanted it to be 15 months let alone 18.

Like knowing the car is going to crash and somebody's going to be dead but then having to watch it in slow motion anyway.
a segway is not like a scooter at all.The segway uses gyroscopic technology to be stable even if it not moving or moving very slowly. This makes segways ideal for malls or anywhere there are a lot of people and speed is not paramount
Army Multi-Domain Wargame Reveals Command and Control Shortfalls
I'll be happy to give it a go once they put their Linux client back out.
What's wrong with something like that? Ok, selling the upside might be stupid, but it also might make sense in some situations. I dont think this product will be wildly succesful and change a lot of things, just a niche thing.
I don't think that claim can be proven yet. It takes a bit for that research to come out to say it may or may not and this is a relatively new product.
You can still kind of have that experience by using ANGLE[1] as your OpenGL implementation. It lets you use the same dialect of OpenGL ES on Windows, Linux, Mac, and Android, with consistent behavior across platforms.

ANGLE is the base of the WebGL implementation in Chrome. For WebGPU, we (Google) are working on a new native library called Dawn[2] that will fill the same role that ANGLE does for WebGL. I'm personally hopeful that Dawn itself can eventually be useful as a cross platform graphics abstraction for native apps as well as web apps. There's also Mozilla's gfx-rs[3] in the same space.

[1] https://github.com/google/angle

[2] https://dawn.googlesource.com/dawn

[3] https://github.com/gfx-rs/gfx
Get off the sidewalk. https://www.wsbtv.com/news/local/atlanta/starting-today-you-...
I heard a very interesting take on this topic on local radio. Basically, on average private prisons are no worse than public prisons as both make many of the same mistakes. The only difference is that public prisons are invulnerable to reform. https://wfhb.org/news/kite-line-september-6-2019-the-busines...
Buy a folding one like the Condor (https://www.micro-mobility.com/en/products/micro-condor) and carry it around. See also: slinging it under the table in cafes, restaurants, pubs, and work. They're incredibly convenient.
A large component of the progress can't be seen because it involves preventing cancer by banning and discouraging carcinogenic materials and practices. People are happy when they can ring that bell but when they never had cancer they take it for granted. Often there is resistance to a ban on things that cause cancer. Sometimes it's justified (needs to be traded off with other things) while other times it isn't.

Also, it's not deprioritized like you make it seem. New cancer therapies form one of the biggest fields in medical and biological research.
We built this app to dogfood our location tracking platform. Places visited, commutes taken, walks to lunches, drives to meetings … really the timeline of movement from place to place. In the end, we had built a number of useful backend libraries in NodeJS and frontend libraries in NextJS. Sharing that out to re-use and re-purpose.
Here in Brazil criminals riot to be transferred to private prisons because the ones ran by the state are inhuman.
It's basically what Datomic (and other Datalog inspired tools) do, checkout https://docs.datomic.com/on-prem/architecture.html
> The problem is with distribution. Social media creates power law distributions of attention. There are a few pieces of writing I wish every human on Earth had read and this is one of them:

> http://shirky.com/writings/powerlaw_weblog.html

I really hope this post was self aware.
This doesnt sound spooky to me, you have to own the housw before you can sell the upside option. Meaning you already have paid your house loan. Very niche product, mainly for old people.
I've always wondered if German speakers are generally ok with "ue"?

I've seen it used on URL's
Good. I like my borders like I like the safety of my home: secure.
If one can't work out the value of education until 50 years after it ends, and education methods change within 50 years, can one ever assess the benefits of education?
Interesting, it very quickly became so normal to me it felt odd we'd ever done it the other way. I find it very weird working the other way now.
> If their prisoner recidivism rate after 3 years was 10% lower than the average public prison, they would get a 20% bonus.

Ah, so the people who profit off of others' misery would be able to profit even further if they treat prisoners like human beings? Great incentive indeed.

> If someone ever proposes such a system, they'll be branded a supporter of "private prisons".

You propose such a system and I don't see how you are not supporting private prisons, so yeah.

But, lets be charitable and assume you don't really mean to support private prisons and are just interested in the well being of inmates, and you'd like to motivate the prison company to do the right thing. How about a structure where they don't make any profit whatsoever (state only covers costs) unless, say, 50 year recidivism rate is below 2%? If that was my company, I'd move heaven and earth to make sure every prisoner left that place an angel. Would you support that motion?
Um, OK I guess stating historical facts is insane and full of hate. Would you like to clarify your statement or are you comfortable denouncing me for knowing my history?

Citations were provided for every factual statement I made.
All These Elements Are Yours, Except Scrollbars. Attempt No CSS Styling There. Use Them Together. Use Them in Meaning.

https://mastodon.cloud/@dredmorbius/102742105247305430
Prison profits are spent lobbying for tougher crime laws. Thus, unnecessarily harsh criminalization of behavior has a strong economic incentive. Having an incentive to turn citizens into criminals is bad for society.
Google has a well-defined SPIR-V execution environment they have been championing: https://github.com/gpuweb/spirv-execution-env/blob/master/ex...
Is everyone in silicon valley a flaaaaaming, communist level liberal? At least Hacker news is frightening so, and I believe a lot of commenters here live in California and work on the industry. I mean, I live in Brazil and it shocks me to see that the mighty US, the bastion of freedom and capitalism, can harbour such idiotic ideas.
I always seen Show HN for interactive things, not articles (which I would say this is), thinking specifically about this part from the Show HN Guidelines:

> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.
odds to get the 1/3, 1/5, 1/7, 1/9, etc. term
and count by alternating digits on the numerator and denominator up to the next even number to get 1/2, 13/24, 135/246, 1357/2468, etc for the first term.

equivalently you just list odds on the numerator and evens in the denominator
These John Oliver docs were very illuminating:

https://www.youtube.com/watch?v=AjqaNQ018zU&t=2s
https://www.youtube.com/watch?v=gJtYRxH5G2k