skysight-inc/HackerNews huggingface dataset:
> Maybe education will help.

You mean, Red education to get the Blues to see the error of their ways, or Blue education to get the Reds to see the error of their ways? People really don't want their enemies' values taught to their kids. We are seeing massive pushback against Blue education now, which was the key to Virginia's governor flipping red. It may be the most important issue of the 2022 elections. Did I mention how much people hate their kids being indoctrinated in values they think are evil?

> Maybe small nations work way better. As far I can see this is the case. So maybe splitting up the nation into even smaller states would help.

Yes, if Saudi Arabia doesn't let women drive, we don't need to invade and conquer Saudi Arabia. We can can grant asylum to Saudi women who are unhappy with this arrangement, and just leave Saudi Arabia alone. Even if they behead people.

>Think on a gay child in a radical state that demands forced conversion therapy.

Agree. Ultimately it means giving up on the idea that the US is going to fix the whole world. We stayed in Afghanistan, it seems, to make sure the girls can go to school and that gay men are not killed for being gay. I don't think this was the right decision. At some point you have to say "I hate how those people live, but I'm not going to try to change them."

Honestly I don't know a single friend of mine on the left who is willing to say this. I have friends on the right, on the other hand, who want nothing more than to be left alone. They don't care how many abortions people have in New York or what kind of stuff is taught in New York schools about how evil Europeans are. But the reverse is not true, every single leftist friend I have is absolutely committed to making sure girls in Alabama can also have abortions and that they are taught the evils of Europeans in the Alabama schools. For there to be any peace, the left is going to have to give this asymmetry up, and learn to live and let live.
That’s a very long and wordy advertisement for using coscreen.
For backends, I typically use ID generation in the application layer (the backend). And with ID generation I mean the HiLo generator from Hibernate (or NHibernate). By default the HiLo generator will still use a monotonic increasing number, possibly with gaps. (Either way, as long as you expose some form of monotonic increasing number in your api, enumeration attacks could work. The correct way is to simply not expose the original id if that is an issue: you could expose some kind of opaque token in the api instead of a literal id.) The advantage of the HiLo generator is that the ORM knows the generated id up-front and does not need a round-trip to the database to determine it. So it can generate more performant queries. Also, contrary to UUIDs it does not have the disadvantages regarding indices. The only reason I have ever used UUIDs was because of a requirement that external clients needed to generate the ids.
Tried searching for a problem I had earlier today. Got only one web result, a “quick fact”, a YouTube video, and the final result just asked me to sign into GitHub. Definitely not coming back, seems pretty useless
Uploading passports, ID's and more to airlines?
Travelling internationally from the US after not having done so for about three years. I was surprised to get hit with a request to upload all of our passports, a second form of ID, and other documents to the United Airlines portal before travelling in a few weeks.

My immediate thought was: "No way in hell!".

I used to travel internationally at least once a year. Did so for probably twenty years. I'd just show-up at the airport with my passport and flight documents and that was that.

My concern: With all the data breaches and security/privacy issues, how intelligent is it to scan and upload such important and detailed information into an airline's website or mobile app?

Overthinking it?

Trust me, I'm an airline?

I am also wondering if this is a legal requirement these days or just the airline trying to be helpful? In other words, can you opt-out and just go to the airport with your documents?

And then the obvious question: Are they just going to scan the stuff at the airport anyway and store it in the same databases?
I imagine this can be defended again pretty easily with a lint rule that prevents these unicode characters in variables. pretty ingenious little hack though.

The eslint rule id-match, which require identifiers to match a specified regular expression, would be useful here. For example:

"id-match": ["error", "^[a-z]+([A-Z][a-z]+)*$"]
Why Being Irrational Will Benefit You?
There is still ownership, it is just that the sequence is owned by the table, and not the user that created the table.
Why can’t these schools make simple electron apps with these things disabled? I thought these are solved problems instead of landing duds in Chrome!
> but then you just end up moving your head around a lot (what a pain in the neck!)

If moving your head causes you neck pain, you should get that looked after ASAP!

Generally, a static posture over a long time is really bad for your health. Make sure to stretch, fidget, move around, change your posture a lot when working with a screen.
Students will not learn to experiment with technology if they are blocked on every attempt.
Why were they gone forever? This was on a Monday afternoon?
Also night is a pretty good time for grid load since wind does decently at night, and power use is very low. (since most offices/factories don't use power at night)
But perhaps they will get by in life by finding clever solutions that circumvent common expectations through curiosity and familiarity with technology.
I would like to learn more about how insurance companies do software engineering.
No that's wrong. There are plenty of ways of achieving carbon neutral energy production. Fusion is one of them, but it's unlikely that fusion will be a particularly cheap source of power.
Influenza vaccines have a rather poor efficiency record. In a good year 50-60%, in a bad one as little as 10-20%, i.e. mostly useless.

https://www.cdc.gov/flu/vaccines-work/past-seasons-estimates...
Simple: iPhones. If you aren't worried about iPhones then ignore safari all you like.
I hope so. I missed it the first time around. 90s kid also building an NFT technology project.
The difference is none of those things are freely available for purchase?

That’s the key here - these companies are already selling this information. The govt is just saying “cool, we’ll buy it too”.
PyGaze – open-source eye-tracking software and more
> I know people that play games to sell their gold for real money, against the platform blessing, risking getting banned.

Why would game developers ever implement a system that lets you circumvent the rules?

> Also the same NFT can be used in different games, no need to change anything from game developers, just reuse NFTs.

What? They still have to write code to interpret the NFT in their game. They still need specific integrations for every single token they need to support, and they also control what that token is. If they choose to interpret your really expensive sword as a common one, well, tough luck.

This is just centralisation -- entirely.
"Interpretation

Vaccination reduces the risk of delta variant infection and accelerates viral clearance. Nonetheless, fully vaccinated individuals with breakthrough infections have peak viral load similar to unvaccinated cases and can efficiently transmit infection in household settings, including to fully vaccinated contacts. Host–virus interactions early in infection may shape the entire viral trajectory."
Supergrain: Headless BI for Modern Data Teams
> Colocated systems tend to work very well at first when the original engineers who set it up are all still at the company and it hasn't run long enough to start encountering rare failure modes. They quickly become a nightmare when your engineering staff turns over multiple times and nobody can remember who knows how to do what on the colocated system or if the documentation is up to date or not.

And AWS systems do not have to face the same problem? Is it easier for a new staff to come in and modify a millions worth of AWS system than a colo system?
Google Forms lets you set an answer key with correct answers which are not exposed client-side in the responder view[1]. Teachers complaining that students can see "answers" are using a different feature[2].

[1] https://www.youtube.com/watch?v=IUulhc5D4dg

[2] https://support.google.com/docs/answer/3378864
It's definitely a good way to get familiar with solving real problems with a new programming language. I can recommend this approach.
He set up a self- directed IRA as an investment vehicle and purchased PayPal stock. This was questionable if not outright illegal because it was not an arm's length transaction. Arm's length transactions mean that you don't have a relation to the selling party. If he had invested in a company that he had no relation to it would have been unquestionably legal.

As far as I know, this is still a viable tax strategy, but most people will have extreme difficulty finding opportunities to invest in extremely early stage companies and must be accredited investors.
Your model is overly simplified. Nuclear runs into the exact same issues in the other direction as you try to scale it to take over more of the grid. Frances nuclear reactors where at 70% capacity factors vs 90% in the US even with France exporting and importing vast amounts of electricity with the rest of Europe. It’s really not Nuclear vs Solar it’s simply Nuclear’s high cost and thus inflexibility that’s at issue.

Current electricity demand is heavily biased to daytime use even with cheap nighttime prices causing people to shift demand to use that. Start to ramp up solar to the point where daytime demand is higher and a great deal of nighttime demand drops off.

Grid storage isn’t cheap enough to store energy at current nighttime rates, but it’s cheap enough to have a balanced grid backed by hydro, wind, and solar even with zero fossil fuels. The tipping point to cheap daytime rates and expensive nighttime rates isn’t inherently better or worse, it just reflecting the future economic reality.
Small GPS Datalogger
I had a similar experience, but in my case it was less that the school was blocking particular sites I wanted to visit, and more that there was a single very-slow proxy server for the entire state's educational system. So I ssh tunneled to my home instead.
Show HN: Legal Workflow Platform
Existing legal industry workflows are fundamentally broken. Current solutions in the market are optimized for business functions or too complicated to use, leading to low adoption. Legal professionals also use massive email threads, tools not meant for the legal industry, and spreadsheets in every matter they undertake, wasting time, resources, and money. Akroda solves this by allowing teams to seamlessly collaborate, optimize and share information -- all on one easy-to-use platform.
Does anyone know why Python chose linked list for its frames vs an array like Ruby? I imagine both choices have their own advantages and disadvantages.
When I meditate hardcore then after a session, I also look differently at light.
Animals of the Future
> But most people need the simplicity and convenience of a few clicks in order to give it a proper try.

... how about zero clicks, by showing search results when someone searches in Chrome using your search box?
Yes you can* for new projects I would go with ceph+nfsv4

*) https://hadoop.apache.org/docs/r2.8.0/hadoop-project-dist/ha...
75 dollar turkeys??? Where in the country are you?

Turkey here is retailing for $1.51/lb grocery brand, $1.94/lb here for brand name with curbside pickup. Slightly higher than normal but nowhere near $75 for a turkey.
The device is called a tempering valve. It's already necessary if you want a child-safe temperature in the bathroom, because such a temperature is below the leigonella-inhibiting temperature of the storage.
This issue and example used are more about data validation and escaping characters.
But I didn’t give the students a programming problem. I gave them a software project to solve a problem I have, which involves UX and PM work along with some coding.
The DOD cares but that doesn’t mean the specific bureaucracy being mentioned (which may be at the company) really cares, besides not getting in trouble. Once you start crossing these different organizational boundaries, incentives get complicated.
going abroad is initiative too

and actually there's very little initiative there too,

seen it too many times, comfortable at parents place / not desperate, why bother going abroad
No. They provide a lot of extras and privacy protections. It's actually a pretty good browser, although I prefer Firefox with my favorite 3 or 4 plugins. I use Brave sometimes just to see where it's at and the occasional site that can't be used with Firefox (even with user agent swapping).
On one of my projects, my supervising attorney assigned me to collect documents as part of a litigation. This antiquated, manual process required me to comb through massive email threads, spreadsheets, and multiple folders to find documents.

I went to him, frustrated, and I asked if I could find an easier way to collaborate and keep everything in one place. He approved my spending, and when I went out to find a product, everything I encountered was either too complicated to use with too many options or too expensive.

That's when I realized that I wasn't the only one in the market looking for this kind of solution. As my team transitioned to a hybrid in-person/remote model, a collaboration tool became necessary. Akroda helps legal teams collaborate, communicate, and commission their work on one platform.
Also because there wasn't anything deemed secret there, as the passwords were salted and encrypted. Knowledge about password crackers and crypto became widespread only much later. The pw encryption algorithm was also pretty feeble, a version of some ww2 era rotor machine IIRC.
Not to mention that linux-pam's `[success=2 default=ignore]` isn't even standard, I think OpenPAM only has the five control flags required/requisite/sufficient/binding/optional. (One may reasonably despair as to the difference between "required" and "requisite".)

It's almost as if PAM were developed before the invention of the if-then-else construct in the 1950s.[0]

[0]: https://github.com/e-n-f/if-then-else/blob/master/if-then-el...
> Your model is overly simplified.

You are correct that my model is simplified. I ignore the issue that demand isn't really stable, and you need some peaker plants.

The problem is that Solar isn't really a good solution for peaker plants, because those need to be reliable. So I don't think this simplification undermines the tradeoffs I was describing, although I agree that in the space of peaker plants, there can be some combination of solar and gas to handle peaks when it is sunny and also when it is not sunny. Just be prepared that you need enough gas and coal to cover all the generating capacity you are getting from solar and wind, which is again very expensive.

> grid backed by hydro, wind, and solar even with zero fossil fuels

This requires a lot of hydro, more than most nations have together with really punitive electric rates when there is an absence of wind or solar. I mean, massively punitive rates, because demand for electricity is highly price inelastic. So be prepared for rates to go up 10x or 20x or even 100x when there is a stretch of windless days with weak sun. I think there is a reason why no nation has gone this route except oddballs like Iceland with their reliable geothermal.
>But I am very hesitant to accept broad doomsday predictions by climate scientists which involve a mix of economics, society, politics, etc.

My assumption is that climate scientists actually see the most extreme examples of changes to environments that are most sensitive to it, and this (to some degree) exaggerates their extrapolation of the effects to the rest of the world. This tends towards alarmism in the same way that computer security experts see the internet as one giant mass of exploitable holes teetering on the edge of catastrophic collapse.

Watch the documentary Chasing Ice. If "climate effects on glaciers" is your niche expertise, the future looks very short.

I mentally dial the doomsday predictions back a bit to factor in "the rest of the world", and it still looks pretty bleak to me.

Additionally, I factor in the qualifications and 'source of income' of those arguing against it. There are a lot of radio and TV personalities who are vehemently opposed to "what science has to say", accusing climate scientists of the self-justification of their chosen career. I find that to be one of the most pristine examples of hypocrisy in existence. It's also inescapable.
I’ve seen systems that had to track only two types of things - one started at half the value and went up; the other started just below that and went down. Think 500000+ vs 499999-
What are you looking to learn about? I can get some links together tomorrow and send them over to you :)
No news here, it was never meant to generate any useful energy.

In general, yeah in those 36 years so much was done about alternative ways of getting electricity without consuming fossil fuels (let's be honest: no one is worried about global warming. it's just a way to present a plan of how to crush Arabs and Russians in a way sellable to liberals). So much that we don't need that thermonuclear thing anymore.
all new TVs should support it, I know my LG does
Child Is the Father of Man
As shown in the changelog, the bug was filed by a user @amplifiedit.com, and was seen as a worthwhile bug to fix by Brian Malcolm "Taking ownership as the client team in BVE will work on this item"[0]; however, it was stalled for nearly 3 years until Eric submitted a patch for it[1]. While Google thinks it's worthwhile to fix, Microsoft is trying to have a faster-than-usual rise in adoption for their new Edge which is based on Chromium, so that means fixing as many things as possible that their business/EDU customers complain about.

BTW Google already allowed MDM (device) admins to disable devtools, but everyone involved in the issue also wanted it to disable view-source since it allowed students to look at the HTML.

0: https://bugs.chromium.org/p/chromium/issues/detail?id=895462...

1: https://bugs.chromium.org/p/chromium/issues/detail?id=895462...
A further serious answer for those unfamiliar, the .so files are all found in a PAM module search path. You can replace a search-path-relative path (pam_blah.so) with an absolute path to a .so file if you wish.

auth required /etc/whatever/my_pam_module.so
Python has always been used as a nice layer over various C libraries so when ML started taking off and people started using GPUs to accelerate training and inference it was a natural choice for acting as the high level code for interfacing with the low level GPU code.

There were some other DSLs that were being developed at the time but the ones that stuck were the Python ones. [1]

1: https://terralang.org/
Using polling to identify polarization originally caused by polling. Clever? Or unintentional irony?

I stopped reading when the authors identified Facebook's "like" button as the culprit of accelerated polarization (during Obama's 2nd term).

Um, what?

While I regard Facebook and Twitter as pure unalterated evil, they cannot be held more responsible for today's toxic polarization than corporate media. To believe Haidt's thesis, you'd have to completely ignore the slope of decades of build up.

I've read Haidt's prior works with great interest. Alas, his works amount to nothing more than self satisfied just so stories, telling fellow concern trolls want they want to believe.

An actual historian's take on the how polling toppled political parties and begat polarization is Jill Lepore's book "If Then", which details the role of Simulatics. For more context, read Ezra Klein's "Why We Are Polarized"; how academics advocated and then reformers inacted polarization to increase accountability (to voters), how sorting and polarization inadvertently led to a "stacking" of our identities, creating "superidentities".

As for Facebook and Twitter, their unique crime is using ML -- finding the difference that makes the difference -- to weaponize disinformation and profiting from the resulting lies, hate, outrage, and death. Dorsey and Zuck implemented a totality of rot and destruction that Edward Bernay couldn't dare dream of.

PS: "Death" might be too strong. I'm not certain that Zuck directly profitted from genocide or teen suicide. Those might just be collateral damage vs intentional.
Millions of people are losing their ability to work. Can't be hired unless they have an irreversible medical procedure, can't be hired based on quotes for race, banned from social media, etc

Do you understand?

This is cartoonishly extreme and it is reality; I know multiple people living this experience today. Lost their job and can't get another one in the field of their expertise.

People are in their own bubbles and not listening to those outside of their class / social circles. IMO this is the impact of having half of the views being censored on social media.

So, I guess we agree in part.
Just to play devil's advocate a bit...

There's plenty of chemical waste from fossil fuel use and petrochemicals that may be very long lived and cause actual health impacts if inadequately stored, too... with basically no efforts made to apply the same sorts of criteria of quality and longevity of disposal of waste.

So effectively, we compare the (not fully known) costs of really mitigating the long term impacts of nuclear with outstanding storage ... to doing nothing about greater impacts from fossil fuels (both short term impacts and long-lived waste).
>The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.

- Tom Cargill, Bell Labs
Hardware is cheaper at scale too
The same reason that Python is heavily used in scientific computing.

ML/AI/Scientists aren't systems people. They don't want to care about memory management/parallelization/etc. - they want to write perfect little mathematical poems which get executed on a perfect Turing machine.

Python is good at that. Thanks to the efforts of actual systems people, its libraries (numpy, scipy, etc.) run quick enough to be practical on a lot of workloads.
With the current state of most websites, there's very little to be learnt from viewing the source anyway.

On the other hand, with the current state of the source, one sees oneself having to use the debugger to get the damn things to even work.
Right, but was that what the students asked for? I doubt they thought that they could launch a successful product in 2 hours worth of work.
There is a survivorship bias at play here. You experienced the startups that survived long enough to need to evolve their tech stack, and presumably the 'mad scientist' tech stack had some part to play in that.

> Home built web frameworks (which apparently aren’t “bloated” and “slow”)

Well, let me show you something: https://code.djangoproject.com/ticket/31624

This is a performance regression of Django's ORM for deleting rows from a table, a query that should be about as simple as it gets:

delete from tbl;

And yet it's orders of magnitude slower because it somehow generates a bloated query. So yeah, let me tell you, the frameworks that people are using off the shelf–there's a pretty good chance that they're 'bloated' and 'slow'.

> piles of bash scripts because they never heard of Salt (or whatever is the latest config management tool)…

Well, that's kind of the point, isn't it? If you're trying to get a project off the ground as quickly as possible, you kinda don't care about 'whatever is the latest config management tool', you will use what is already in your toolbox that will get the job done.