skysight-inc/HackerNews huggingface dataset:
My worry is that this has bad long term implications.

Modern computing environments aren't very good, and most of the core abstractions haven't changed / improved since the 80s. Those core abstractions have so much stuff built on top of them now that they're very difficult to change. You used to be able to make a usable operating system in a month or two if you knew what you were doing. Now a simple web browser takes 20m+ lines of code to make. Its out of the hands of anyone with less than $1bn or so to spend - and at that scale the only real contributors are big tech companies. Except for some small features like io_uring and device drivers, linux is developed as if its already feature complete.

So I worry - will we ever replace the crufty parts of POSIX[1]? Will we ever have operating systems and software that can properly take advantage of NVMe and Optane memory[2]? Will we ever have desktop computers which sandbox software by default like my phone does, so I don't have to trust every program, npm library and rust crate on my computer with my data? Will there ever be a desktop class UI library which works across all my devices, or are we doomed to waste 90% of our computer hardware keeping electron + javascript fast-ish?

I'm worried these ships have sailed, and our grandchildren are destined to inherit a computing experience of electron, + more CSS.

In the 90s people would iterate on this stuff by just hacking linux and submitting patches. Now thats really hard because of how tall we've made our mountains of code. By the time you've climbed one mountain, you're halfway through your career. I mean, how many kernel hackers out there are also good at making user interfaces? How many people with frontend experience are even capable of hacking on linux? Its impossible to improve the interfaces between our systems without a holistic understanding. And thats becoming an increasingly rare commodity.

[1] Eg fsync(), and in my opinion the filesystem abstraction as a whole.

[2] Eg https://www.usenix.org/conference/atc20/presentation/bittman
Mind saying which city in specific? Googling only brings up Camden NJ as an example and from what I can tell things got really bad for a while then they rebuilt the police department. Which is, from what I understand, is what calls to disband the police really want.

Ref: https://www.nbcnews.com/news/us-news/new-jersey-city-disband...
I wonder why they chose 3.05 instead of just 3.

The best I could come up with is related to a student using the inscribed n-gon method for computing a lower bound.

The two obvious choices for an inscribed n-gon are a 6-gon and a 12-gon.

Computing their perimeters involves computing cos(pi/3) or cos(pi/6) respectivly.

Both of these are generally found the same way. By bisecting an equalateral triangle, you get a right angle triangle with angles pi/3 and pi/6, from which sin/cos/tan can easily be read.

Once you have the relevent cos, it is straightforward trig and algebra to find

With a 6-gon: pi>3

With a 12-gon: pi>6sqrt(2-sqrt(3))

Using a calculator, the 12-gon lower bound is pi>3.1058...

Computing by hand (which I did), you end up having enough wiggle room to get away with some further approximations; but still need to go through some somewhat tedious computation.

Maybe they were concerned that some students solution for pi>3 that I didn't, but as far as I have been able to see, the extra .05 just makes the problem more messy.
This looks cool but I want dictionary unpacking (or "destructuring") more than pattern matching, hard to live without it after JS:

>>> {a, b, z} = {"a": 1, "b": 2, "c": 3, "z": 4}
>>> print(a, b, z)
1 2 4

# to get object attrs we can just do
>>> {someval} = SomeObject(someval=42).__dict__()
>>> print(someval)
42
We have used https://almond.sh/ to create a Spark SQL interpreter using Jupyter Notebooks - plus a whole lot more which you can see here: https://arc.tripl.ai/tutorial

After seeing many companies writing ETL using code we decided it was too hard to manage at scale so provided this abstraction layer - which is heavily centered around expressing business logic in SQL - to standardise development (JupyterLab) and allow rapid deployments.
> My experiences, especially more recently, have been shocking in how little the average software developer knows about /very basic/ server administration.

I used to know quite a bit of that stuff, had a series of jobs doing it. I gradually moved from C89 to modern c++ over the course of about 25 years. Easy stuff, when you use it daily. But when it's not my job to do server admin, that stuff evolves too fast to stay on top of. For me it's not a high horse, rather, a wagon that I fell off a long time ago
*unless said person disagrees with twitter's political views.
Hacker News jobs portal now with Dark mode
I’d suggest that others simply have a different perspective and that your label of “quaint” is merely your own modern bias.

Edit: In other words, many people are dissatisfied with the contemporary world set up by merchants and bureaucrats. I don’t see it as misguided or quaint for them to look to the samurai ethic as a more appealing alternative. Its historical accuracy isn’t really relevant, as all history is story creation.
> instead of investing it in the well being of their employees?

because the returns of "investing" in their employee's retirement is not a good ROI for shareholders of tesla. simple as that. There's no humanitarian obligation for tesla to make their employee's retirement great, or any other obligation (other than contractual obligation for payment of wages and benefits already committed).

if employees feel that they are short-changed, they _need_ to leave, and let market forces adjust. if they sacrifice their own wellbeing to the "mission" of tesla, that's on them.
It's more common than "sequel" in non english speaking places IME.
Agreed. Though I'm mostly a scheme and C hacker these days, I did Python professionally for about 13 years, and that is a very nice side effect of the whitespace thing. On the other, Python has no decent equivalent of Lisp's let, and complex or nested Clojures of anonymous functions are butt ugly in Python, so now I'm happy with my parens.
Probably a child used the computer beforehand
>Well the main source of turmoil would be in replacing the office since theoretically all the powers in the country devolve from the head of state.

If we just need somewhere for power to divest from, then hand it over to the royal Corgis. If you have to have the fiction of a figurehead to make your government function, better it be something that has no possibility of corruption.
So, 90 of those hereditary peers are elected, just, they're elected by other hereditary peers. So, just because you're a peer does not mean you have the right to sit in the House of Lords, whereas before you could. If I recall, you didn't have to ever sit, but if you wanted to show up, you basically could come in to vote.

The other two hereditary peers are not elected. They have some ceremonial role (though they can vote) that was thought prudent to retain. I don't remember (if I ever know) what it was.
Improving React application performance: React.memo vs. useMemo
A Deep Reinforcement Learning Library for Quantitative Finance
The Green light! It must mean Envy!
The Github support for notebooks is so nice (was linked from the example pic caption: https://github.com/wangfenjin/xeus-tidb/blob/develop/example...)
It’s fine. Python just introduced expression assignment. Why not use that?

match subject
case [first := _, rest := _]
return [rest, first]
Have you ever considered doing a police ride along? Where I live you can spend an entire day side by side with a cop.

My experience showed me some of the horrendous things they have to deal with. There’s some genuinely dangerous people out there - I can’t imagine living somewhere without armed resistance to deal with it.

With that said it’s critical officers form a relationship with the community they’re policing. That’s what good policing is and unfortunately the drug war has made it difficult.
I think you'll be surprised what a government can accomplish when it really tries.

Being able to make laws helps with that.
Yes, compression is a solved problem... one which adds additional inefficiency to an already terribly inefficient technology.

And of course your reply here we is more nonsense that hydrogen is going to continue progressing at miraculous rates while the rest of the world stands still.

Your quasi-religion about this is getting bad.

EVs are real. They are here now and don’t need future-magic to be viable and interesting. Hydrogen is essentially magic beans at this point being sold on promises and hot air.
Most Salesforce Employees to Work Remotely at Least Part Time After Pandemic
One tip that got me hired by Google, Microsoft, and Stripe
> - The headphone is recommended on Reddit.

This is not a coincidence, I'm guessing Reddit is around 1/3 astroturfing to 2/3 legitimate discussion. I don't fault people for doing it, but I'm not going to pretend that Reddit is some pristine haven for genuine reviews.

HN is just as exploitable, but at least the ratio of informative content is higher, and the concerted marketing efforts are better disguised.
Joan Didion’s ‘Let Me Tell You What I Mean’ shows a writer ahead of her time
I didn't hear "vitriol". Your language was more jocular and incredulous than vitriolic or offensive. Those vernacular terms for sexual behaviour are neither here nor there in a site frequented by linguistic, semantic, and ontological virtuosos.

The comment you were replying to doesn't respect "the politeness of this place." It is base identity politics, or wantonly offensive ignorance, couched in some form of "acceptable" language which seeks to describe a logical chain of thought.

But the logic is jello nailed to the wall. It's not even sham science. It's a red neck fairy story. That's why I considered it an abuse of moderator privileges to downvote your comment.

Anybody concerned about the standard of discourse on HN should feel the same, or be able to defend the "logic" you were responding to cogently, which they can't because it is the rhetorical equivalent of a stream of shit from a horses asshole.

If I am to "assume good faith", which is always an advisable thing to do, the bizarre fairy story stream springs from ignorance of "the homosexuals", not malice. The downvoting of your comment is a different matter.
> Economically, it might. It is commonly asserted that the British monarchy brings in far more money than it drains in the form of tourism. I would be interested to know how well this claim stands up to scrutiny.

Only because of Hollywood accounting.

Tourists don't come to England to see the Queen. Tourists can't see the Queen. Tourists come to see the Palace. The Queen doesn't own Buckingham Palace. The government does. If the Queen were to disappear tomorrow, tourists would still come to England to see Buckingham Palace.
The organisation behind it has already ruled there wont be an event this year no matter how thick the ice gets. But people get the “fever” every time the temperature drops below 0 Celcius. This happens every year, it’s a thing.

Also because of next month’s elections some opportunistic/populistic partys are using this event as the hill to die on, hoping to catch some votes and ignoring what people might really be catching in case of such an event.
Yes but that fact alone doesn't tell us how much involvement PG has with this place.
There is no moral stance in big tech. You are a cog in the machine which in any moment can turn to weapon against humanity. If you can rationalise your consciousness out of this, you will find collectivism in a worst form - collective corporatism.
The future belongs to corporations. People are spineless and will succumb en masse. May be its wise to belong to FAANG clan. You will have food, money and prestige.
Or may be is time to join the resistance. :)
> This is another fantasy. It's only true for certain types of people. Are the punishments for crimes committed by police officers scaled based on the likelihood of punishment?

Similarly, most fines don't scale with wealth. So a speeding ticket might be a terrible blow for an impoverished individual, but completely inconsequential for the super rich.
But, oddly, it is also living short != living well.

Almost as if the two are unrelated concepts.
How is headline reflective of what they said ? They said employees can work remotely 2-3 days a week. I mean, 1 day WFH was already the norm. It is adding another extra day to that schedule. Far cry from death to 9-5
> tell me I'm wrong

You are not wrong about me being born in an Eastern European country (no shit, Sherlock, I told about it in this very topic pretty transparently, and mentioned it many times otherwise on HN), but very wrong about all the rest. Ok, except for the fact I am presently in the US (which also doesn't require genius-level detective insight as I also referred to this fact many times). As internet telepathy goes, I give you C- - at least you could read what I write, lesser minds would conclude if I said I lived in a totalitarian state I must have been born in North Korea.

That said, I am not sure what it has to do with my information diet anyway - I assume you are not going to tell me my place of birth somehow prescribes my information sources? That makes no sense whatsoever. Even if you guessed my whole biography right - which you mostly failed at with an exception of a couple of details which I pretty much explicitly told you - you still wouldn't have any idea what my information diet is. And you do not, of course.

> And "state-controlled to the tune of Norway" is approximately accurate, thank you.

Repeating a falsity does not make it less false. Norway has plenty of socialist stuff going on, but nowhere on the level that CCP totalitarian control goes. Not even same order of magnitude.
Twitter suspends over 500 accounts in India after government warning
For any trivia fans out there, I'd recommend giving https://www.watercoolertrivia.com/ a shot - makes running team trivia super easy
pedantic perhaps, but a 13.9% clearance rate does not imply a 13.9% chance of going to jail. it implies a 13.9% chance of facing any charges at all.
Hey, give credit - the Liberals allowed it, the NDP just continued to allow it.
Yeah, this will never take off unless they can get pricing below 1c per call.

Manual data entry for an _entire page_ of text is about 15c, or 10c at volume.
Show HN: Transcribe YouTube video into readable text
yep. nothing interesting here
Not seeing yet.. Maybe it's rolling out? Exciting, tho!
JEP Draft: Unify the Basic Primitives with Objects (Preview)
If you want to understand what makes Chinese culture tick (the good side of it), then go watch this video: https://youtu.be/16Wd5jiu5wA

Then maybe you will get a better understanding why some of those kids excel in school and why their parents were able to buy those houses.
I don't mean to be rude, but what is the point ?

AFAIK the % operator is not deprecated. In fact % formatting being syntactically near identical to C is a feature to me. I use format strings as well depending on context.

% formatting being older doesn't mean it's obsolete.

That said it is cool to design a script to transform your code and any time you spent in the developing of automation is time earned.
The trick is to make every account a throwaway and not link anything together.
I still think we are talking past each other.

My main point was supporting the validity of the relatively static republican position in the PEW data you introduced and later defended.

https://www.pewresearch.org/politics/interactives/political-...

I see your claim that all political parties seek change, and agree with it. Political parties are inherently a mechanism for enacting change (or denying it)

My claims, formulated more specifically are as follows:

1) I think the trend in the figure you presented with a smaller shift in median republican views shift less than median democrat views from 1994-2017 is realistic.

I think you agree.

2) I think the slower shift in mean republican views is because individual republicans are slower to change their social views.

2A) I think republicans are slower to change their views because. This is associated with respect for "authority" "traditionalism" in the framework of moral foundations theory [1]

2A1) I think there are real differences in the average moral values of republicans and democrats. Neither group is homogeneous, but on average, individuals gravitate towards one party or another based on the moral framework they view the world through. I agree this is a two way feedback, were party affiliation and media consumption can also shift ones moral framework.

https://en.wikipedia.org/wiki/Moral_foundations_theory
Maybe the plan is to compete on latency? Say someone wants to regularly extract content from the same kind of document, and wants it fast, like 500 milliseconds.
Flaw in IMDB Verification System
Also, by itself is not an open source license either (it discriminates between persons or groups, point 5 here https://opensource.org/osd)
BSD networking was distributed under a very permissive license, so that would extend to any new APIs included in BSD. You'd have to argue that the BSD license doesn't cover API rights, which would basically be like trying to argue that it's not really permissively licensed at all.

You'd probably have a better argument for GPL violation for non-GPL reimplementations, but I'm not aware of that many people doing proprietary reimplementations of Linux APIs. Hell, even Microsoft stopped trying that when they moved to WSL2.
FYI, the most at risk cars are the second-gen 03-09 Toyota Prius (pictured multiple times in TFA). They have the most rare metals with the easiest access. In my small neighborhood, there's been like 12 thefts reported in the last 6 months, including mine, 90% of them being this model Prius. If you have it, you should install a cage underneath that protects it, around ~250$ parts and labor, vs. the bill for a new cat. converter being ~2,500$.
Tom Stoppard’s Double Life
Public performance is an exclusive right of the copyright holder as per the Berne Convention, which is signed by 179 countries.

https://www.law.cornell.edu/treaties/berne/11.html

https://en.m.wikipedia.org/wiki/Berne_Convention

Enforcement varies.
It's another Cromwell bio, but I think I found a book that could answer your questions on church-state relationships:

God's Englishman: Oliver Cromwell and the English Revolution, by Christopher Hill.

I can't remember any exact books on this, though it was basically the theme undergirding pretty much all of the politics of the time. Sorry I don't have more. It's been awhile!
Yes, that’s an important point; thanks for noting.
> ...it's honestly minimal.

then you compare it to something, which is even more "careless" with memory.
what does this question has to do with honesty?
it's objectively very wasteful. period.

compared to what, though?
well, for one, compared to the amount of data it's working with.
The funny thing is that the article here preaches that ORMs are here to make SQL easier, which runs counter to the perceived benefit that your devs won't deal with SQL once an ORM is in place (or atleast that is how I was introduced to Hibernate). I understand the point, but once I am SQL-aware, kinda don't see the point of having the middle layer.
Google could have killed Facebook with the flick of a switch
It is still like that, however it doesn't help when people just stay on konsole and don't learn what their desktop is capable of.
It's a piece arguing that robots have made human labor conditions worse rather than better, specifically in warehouses

I can't help but wonder if the author and editors are playing on her name a bit with the choice of topic and the headline, though!
Not centralizing -- these providers are colluding in a oligopoly. I think there is an argument to be made that these large providers are creating a situation where they set up barriers of trust that only allow email from each other to pass. Small independent senders are locked out simply by not being part of the trusted club, even if their email is valid and passes all of the standard hurdles (SPF, DKIM, etc).
All I see there is the automatic hold which they took a screenshot of, apparently one minute after it was issued!

What happened in minute 2 to the present? Did Signal ever approve them to post on the forum? They don't say.
The group under discussion, samurai, absolutely didn’t think they were unrelated.
Are Linux Laptops the Future?
I think this would be better phrased as "don't start a [product] business". A services business can't be easily reframed as a side project and doesn't carry the same risks of product-market-fit etc.
I’ve heard it’s a Snapchat filter (apparently there’s a way to use those with Zoom).
What small, growing companies are in the general field of mapping?

Are there companies that fund employees to work on Open Street Maps?
Slow Fashion and EcoFashion
This is cool and I hope they don’t run into copyright issues with the domain, which they probably will. Trademark lawyers basically have to go after violations otherwise they risk losing control of the mark. Maybe GitHub could be nice and license it to the project for free.
You're certainly right. It's generally agreed that Canada could become a republic simply by amending the constitution to outline a new law of succession that established a de facto presidency, that would be "heir" to the monarchy, and then advising the Queen to abdicate as Queen of Canada. Then the new head of state inherits the office of the Crown, and is now the President as outlined in law. Elegant, really.

But, politically, the unanimous consent of the provinces to do so is essentially impossible to obtain, due to the history you mention. Canadians also simply don't care much about this. My impression is that most people are basically republicans by sentiment, but their level of actually caring about this is near zero. I'm in that camp myself. I'd like a republic. But the headache of opening up constitutional negotiations? Gah! That has never ended well in our history.
Major camera company can sort people by race, alert police when it spots Uighurs
I believe that the filter is coming from a Windows/macOS app made by Snap
Engagement, exercise and melatonin.

Be engaged during the day. Use that mental energy. Whatever that means, but challenge yourself and exhaust yourself.

Exercise which is just generally really good for your mental and physical state. Do note that working out later at night can make the problem worse since exercises also causes stress chemicals in your brain and it takes a few hours for those to clear.

Melatonin[1] an hour before bed. It's safe, non-habit forming, dirt cheap, very mild and surprisingly effective in my experience. I take it as needed instead of every night, but I know a few folks take it every night.

[1] - https://slatestarcodex.com/2018/07/10/melatonin-much-more-th...
> Even if you do change your username regularly, your patterns of speech may stay rather similar.

This is so true. There was some guy on a career advice subreddit complaining that he wasn't getting any job offers. As more and more details came out, the guy became combative and refused to take any ownership of his own flaws.

He eventually made a new account, but he couldn't help himself and began making the same complaints and in much the same manner.