skysight-inc/HackerNews huggingface dataset:
Companies have relationships with their large clients. They aren't just suppliers and more like partners in their business.

Maybe it's different in strict commodity markets but this knowledge also allows you for better cooperation. From little things like when to set service windows to large infrastructure investments for which you might want some buy-in before they happen.
Electricity is a limited and vital resources so usually it is tightly regulated who gets to use electricity. If the government doesn't like what you say you will do with the electricity then you wont get more than a typical home connection.
1) Turn the basement into a granny flat if it has a separate door. If you live in any metropolitan area you can charge pretty good rent for it.
2) Probably it's starting to get common now, but 240V to the garage in case you want to add an EV charger.
3) 240V in the kitchen if you want to add an induction cooktop or wire in a UK-spec 2kW electric kettle
4) Echoing the people who say to put in wired Ethernet. WiFi sucks if you have a big house, especially one with courtyards meaning long halls and bad signal
the trickiest stuff is just dealing with epubs, converting epubs to html. i can't say how long it took me because it's something i did gradually, always working on it whenever there was a problem with a book i wanted to add.
The third per capita by your link.
Real "ufos" are not from another planet. They are also not of human design. They come from outside the consensus material universe.
I have seen infinite scroll paradigms that simply load the next bit of content, causing the page to elongate, causing the bar to shrink and reposition. This is fine to me as the bar remains in exact sync with the document.

I also think the scroll bar is an entirely desktop tool, and as infinite scrolling most benefits mobile, this is a moot point. Nobody on mobile uses the scroll bar.

Personally, as a middle-click-and-hold'er, I do not use the scroll bar. I just went through my pages and frankly I'm surprised how the bar looks. I honestly never look at it or use it.

As this article demonstrates the scrolling on mobile as well, I have to point out that your complaints are sadly more of edge cases w.r.t. to the products we're making for the general public.
All those topics are unimpressive? I’ve spent quite a bit of time trying to teach myself them.

I’ve seen several Stanford courses (e.g CS229) so the low course number of 168 would seem to indicate that it’s taken within the first couple years of college.
Could be this one? https://youtu.be/tCMs6XqY-rc
Currently the immutability of Bitcoin is its core value proposition. Once that's gone, it becomes just another another altcoin, so the community will fight against the move to PoS.
You're of course right.

But also, are you shipping all the logs? Of course you're shipping application logs somewhere searchable, what about gc logs, syslog, kernel logs, etc? Is it never necessary to run ad hoc commands on your production systems?
> Do you really think they'll be cooking up fresh new interview questions or just going on leetcode and picking their fav question so that they can get done with the interview and get back to their sprint deadline?

At my FAANG, all publicly available interview questions (published on leetcode, interview prep groups, or anywhere else) are prohibited. So yes, people do come up with original questions, and then get those questions reviewed by their peers.

The benefit of leetcode is to re-familiarize yourself with algorithms that you might not have seen since university days, and to practice staying cool and coding under time pressure. Not with practicing the answer to specific questions you will be asked.
The free market as a religion is a phenomenon that’s pretty unique to the US, though starting to metastasise around the world too.

American polarism (e.g. if you suggest there’s a single negative consequence to capitalism you’re automatically a communist) is spreading at the same time. I think we should all be concerned about the consequences.
The problem, with limited electricity supplies, is the amount people will pay to mine bitcoins may be more than the amount available pay to heat people's homes, or power hospitals.

Increasing the cost wouldn't fix that problem.
Are different coins or use cases more aligned with different political ideologies?

I guess that is getting close to what Balaji Srivanisan calls the network state. Different virtual states with different ideologies.

Wow. Put all the cyberpunk stuff immediately into nonfiction.
JSX being more easily typed is not a coincidence though.

React was not built with JSX in mind. React was built with JavaScript in mind. JSX was simply syntactic sugar. In fact, JSX was entirely optional at the beginning and all the initial React documentation had examples with and without JSX.

https://web.archive.org/web/20131118055243/http://facebook.g...

The key point is that JSX being syntactical sugar on top of a system designed to return JavaScript is what makes it work so well with Typescript and Flow. The key insight here was that components should be described using JS and not HTML. JSX was invented as syntactic sugar to make this more palatable for scores of web devs who had only used HTML. It is this decision to settle on JS vs HTML that directly led to JSX fitting in so nicely with Flow and TS since those are designed with JS in mind.
My iPhone (11) does this every time I shower. I never remember to charge it before.

Got a waterproof phone specifically to listen to podcasts and make notes in the shower so I'll just have to deal with low power mode for a few hours.

.. sometimes a quick blast from an air compressor will sort it, but this is my personal property and I don't advise anyone do anything ever.
Android is parallel to Windows, except on mobile and arguably worse because of the hardware disparities and non standard cryptic driver implementations.
Works on brave (after scrolling past a few ads)
The right abstractions?

React's functional components are a monument to concept over practicality, and the overall ecosystem is a hot mess.

Populating initial state should not be a difficult special case. Handling state changes should not be a choice of esoteric extras. These are just basic requirements of any reasonable application.

React got quite a bit right, and it seemed cool at the start, but at a certain point the enthusiasm for "concept" diverged from actual requirements.
Awesome! I wonder if I can use this to replace jupyterhub for my small data science team. The jhub kubernetes architecture is (roughly) -

Proxy —> hub —> spawner based on selected image —> container with /user persistent PV

But the image needs to be spawnable by jhub (i/e it needs to have some variant of jupyter-server-proxy installed), and currently that limits you to JupyterLab, RStudio and openrefine.

If you can port-forward with containerssh you could bypass the whole jhub proxy / hub / spawner rigmarole and simply

Select image -> containerssh w/port forward -> start the desired dev environment from inside the container -> get to work.

Then you’re not limited to jhub-compatible environments, and you don’t have to manage the complexity of jhub.
Local Russian lawmakers called for Putin's removal from power
Android is a slow motion train wreck.
> political donation the highest form of return of investment that exists

Which is why it should be banned.
What’s with the hyperbole? Following North Korea? And following China with their concentration camps? Everywhere? I don’t know. The US has been on a civil rights uptrend in the last 100 years. Such short memories.
Agree with sibling comments; tags aren’t worth much to me.

The best outcome I’ve had for finding stuff in notes related to a particular concept is just by grepping through my notes, which are just plain text (and/or markdown) files, in a directory, that I “manage” with vim. If I know that I want something to be findable in the future I just make sure to sprinkle some keywords in the note. Since it’s just my notes and it doesn’t need to conform to any formal system, I can also drop images into the dirs (diagrams, screenshots, etc) and either link them from markdown or just name them so they come up in a ‘find’.

For a long time this even worked well when I had irc logs saved near the notes so I can grep them too, because I often remember having a conversation but not the details. But now with less irc and more slack/etc this isn’t as fruitful.
Aren't we talking about something AGI-like with this last sentence?
About Tech Worker Unions Pt 2 – I Would Never Know [audio]
There are a variety of inflammation pathways and signalling proteins. It's possible that IL-8beta has a uniquely high cancer inducing potential, and that when blocked, other signalling proteins can still generate appropriate inflammation for proper function.

But ya, long-term effects are going to have to be studied. Luckily, it looks like IL-8b inhibitors are used to treat other chronic diseases, so we can pull some data out of there (though a lot of them are auto-immune, so the validity of extrapolating to a more healthy population is maybe questionable).

It's also possible that we can develop a more precise approach that moderates the signalling response of IL-8beta without fully suppressing it.
The Multiverse: Science, Religion, or Pseudoscience?
fully agree. I remember at one point I studied the Perron-Frobenius theorem because I was analyzing a problem in a different domain but mathematically not completely dissimilar to PageRank, and it was crazy to think that a trillion-dollar company had come out of that bit of math.

> Many (if not most) ML practitioners would profit from thinking more about the information-theoretic links between lossy compression, regularization via norm, and channel capacity to this day.

yes. don't forget compressed sensing there too
Facebook feed, Twitter algo, TikTok...
You can ask your subconscious a question, forget about it, and receive the answer later.

It's really cool.
> Banning PoW would benefit Bitcoin

Since Bitcoin relies on PoW, banning PoW effectively bans mining Bitcoin. On the surface, why that would make Bitcoin more popular is nonsensical, but I see two interpretations, and I’m guessing you mean the second one:

1) Banning PoW mining in the US, like they did in China, severely limits industrial-scale Bitcoin mining in another big part of the world, lowering the total mining incentive, and moving mining out to places where people don’t object to it and where electricity is cheap and in excess: this somewhat lowers the total hash rate, conflicts less with our growing energy demand in populated areas, but more significantly makes the environmental cost more abstract to people and thus easier to swallow. It’s a lot more upsetting to see a power plant down the river mining Bitcoin than knowing they come from somewhere called “the cloud”.

2) Banning PoW mining in the US could somehow incentivise towards a PoS transition, like with Ethereum. I don’t see that happening for Bitcoin. Sorry.
Miguel de Icaza has always been a fan from Microsoft technologies, that is how Bonobo happened.
> Banning PoW would benefit Bitcoin; it's the main thing preventing it from becoming more popular right now.

It would be interesting to see some real numbers on that claim. For me, much bigger would be volatile value, lack of places to spend it, weekly stories about people losing life savings because off coding errors and whatnot and just generally that it seems to be an interesting solution to a problem I don't have.

PoW is in there somewhere, but nowhere near the top.
> Even better would be to tax all industries fairly, according to their greenhouse gas emissions.

I mean, that would mean exponentially more expensive food…

https://news.un.org/en/story/2021/03/1086822

My take is we need to allow unlimited emissions of carbon dioxide and nitrogen (reduction in other stuff though actually toxic). It increases food growth (plants love carbon) and arable land and decreases poverty. Plus cheaper energy means improved quality of life and technological advancement.

We have centuries of known fuel sources and can move to nuclear any time we wish.

A carbon tax effectively increases human suffering for the hope of reduced temperatures. In reality, the cost is passed to consumers and there’s no indication it will reduce global temperatures.
Thank you very much!

Link to the "alternate proof" is here: https://drive.google.com/file/d/1IEe81c4UF10abSRpV0SUVKVbrgk...

Will also have him email you the link, in case you don't check back here.

Have also updated the contact in my profile. Sorry about that!
It really is an excellent movie, and understand that social engineering is the heart of hacking.
Because they need to forecast power requirements ahead of time. Maximum efficiency of resources is not just smart for greenhouse emissions it is smart for not spending more money than necessary to supply power.

Additionally, they need to know which clients to restore power to first (hospitals and essential services) and who can wait (commercial buildings on a weekend? Back of the line)

Note: it isn’t that they know exactly what the power is used for, but they sure know the general purpose (residential, industrial, critical service, tech, etc)
Ask HN: How often do developers fail at their task?
In your experience, when a developer is assigned a task, how often do they fail? I know my own failure rate, but I'm curious what it is across the industry.
The Marxist, post-capitalist, green manifesto captivating Japan
It is not the same as trying to mimic a style. It is cloning the essence of a style and making it readily available to anyone who asks for it.

Sure, it's not copyright infringement, but you could argue that this takes away from the hardship the original artist had to go through to perfect their style.
Ask HN: JavaScript Save Editable PDF
Except that picking the most restrictive option prevents two components that are using the same less restrictive semantics to communicate with each other securely (without throwing exceptions or silently mutating data), e.g. Java <-> Java, AssemblyScript <-> JavaScript. To illustrate, if one would design a Component Model for Java, restricting to UTF-8 would make the Component Model for Java a hazard for Java. The same effect happens in a multi-language Component Model, where some languages then work and others don't. Hence "pick the best option" falls short. The argument in all these questionably stonewalled discussions is basically to allow these languages and use cases to exist, which could be as trivial as to make UTF-8 the default if the WASI folks so wish, but also have a Boolean flag for "don't eagerly mutate on WTF-16 pass-through". Yet, even though trivial and rather obvious, this has been fought relentlessly since 2017, and surely one has to wonder why this vehemence.
I have been trying to implement Given URLs solution.

Can anyone please help me ?
This article takes me back to a time when I worked in Revenue Management for an airline. Amadeus was one of my mains tools.

One interesting aspect of the GDS is that they made efforts to have a better GUI, with point and click options, to facilitate the steep learning curve of the tool.

That effort was botched because of the existing use base was so well used to the DOS-like command interface that they simply ignored the GUI. A similar thing happened to Bloomberg and their terminals.

When I moved to tech and had to deal with experience revamps I always took this example with me. Even though you might have a better experience to users, do not underestimate the lock in of the current users to your existing UI.

Another great example of that is the now infamous Dig revamp....
While I agree with banning the turning of as much power as Malaysia uses in a year into pretend money, I don't think this is going to work.

How do they plan on doing it?
But see also what happened with Qt and its license issues. That didn't happen with Objective-C, but nobody could predict the future at the time. There are some advantages to controlling your stack.

Also, pointing at GIMP's UI seems a little exaggerated, when the primary difficulty was keeping track of all the floating windows. GIMP seemed to have been designed in anticipation of a major advancement in window managers (not just tiling, but size-aware) that never materialized (the irregular packing problem is NP-Hard). Other Gtk apps never had this problem, and GIMP eventually switched to panes, thankfully.
> One of the purposes of a scroll bar is to indicate how long (and/or wide) some piece of content is relative to your window. Another purpose is to indicate your current X/Y position within some piece of content.

Seems fine to me? New content is appended, so the length and your position changes. Scroll bar reflects what’s going on. What’s the problem?
This is ahistorical.

Proxies have been around for at least a decade (here’s a 2010 talk about it

https://youtu.be/sClk6aB_CPk

)

React hooks have been around for less than half the time as that.

Proxies for setState would be a terrible idea in React for the simple reason that non state variables also exist in React functional components and have dramatically different behavior than state variables. Proxies would make them both look basically the same after initialization which would lead to a ton of bugs as devs lost track of which variable was a state variable and which one wasn’t.
This specific link does not contribute to that because it is pure speculation with no evidence.
AOSP, Android Open Source Project

But it isn't what regular people mean when you talk about Android. In the say way you could say that MacOS would be Open source if they had almost the same name with Darwin https://en.wikipedia.org/wiki/Darwin_(operating_system)
Honestly, hoarding carbon certificates and selling them for a big profit is more effective at curbing CO2 emissions than any carbon offset program.
It’s based roughly on the price of the market value of the land. Land in the middle of nowhere by a radioactive dump is not worth much, vs land in the city center. It has nothing to do with agricultural productivity.
> Once closed, wipe it clean and start over

This is exactly the kind of cancel culture that Oberlin demonstrated toward the bakery. "They did something unforgivable! Eliminate them!"

Organizations have problems. People are imperfect. Society needs justice. But cancel culture is a mob mentality that goes far beyond justice and is harmful to society.
Can you rollback updates on Android?
No, it doesn't just happen to resemble it. Animal Farm is a very direct allegory of the Russian Communist Revolution. Napoleon the pig represents Stalin for example. The Wikipedia page covers it fairly extensively: https://en.m.wikipedia.org/wiki/Animal_Farm
...I agree, it's pretty obvious that this thread has gotten to the point where particulars don't matter any more.

As I recall, "bytes" didn't exist in Python 2.5 but were brought in in later versions of Python 2.6 and Python 2.7 when Python 3 already existed to provide a more continuous upgrade path for those still on version 2. You could get in the habit of using "unicode" and "bytes" and then the switch to Python 3 would be this "just renaming" thing. ...but that was the end point of the process, not the starting point.

I'm not an unreflected Python fanboy. I don't like many of the new developments since version 3.5. But I've spent 2003-2018 with Python as my main language, and 2018-2022 being forced to use Perl 5. And that has left me with the impression that Python fixed pretty much all of what was wrong with Perl 5 in a way that the Perl-community itself never managed and doing Perl 5 instead of Python 3 in 2022 is basically all downside, no upside.

I also admire how well the switch from Python 2 to Python 3 was executed, compared to how poorly Perl is doing in the switch to Perl 6.

I predict that the Python community is going to fall apart over the next 10 years over feature creep and losing its identity, trying to be all things to all people, with people subsetting it in different ways to get to a sane subset of the language, similar to how people are doing with C++.
Indeed. The Fuji APS-C cameras are a delight because of their small size and excellent handling (lenses too; you can fit a couple in a jacket pocket).

FF cameras are great, but a totally different thing.
I found one particular example of the opposite change quite annoying. In the TV Show “Suits”, the premise is that a character Mike has incredible photographic memory, can to read books and evidence at unbelievable speeds. As the show went on, this unique trait was almost completely removed. I think by season 3 it was just gone completely, turning the show into a regular law drama.
Similar experience working on moving from mainframe terminals to web-based UI in the early 2000s. The former was just much faster and more efficient.
I've been using https://github.com/F1bonacc1/process-compose with great success.

It's a userspace process orchestrator/scheduler that works across all relevant platforms, supporting daemon processes and k8s style readiness/health checks.

In combination with nix flakes, it quickly reduced my projects docker-compose usage for easy-to-configure services.

This gave huge performance benefits for the M1 Mac folks on my team especially for CPU intensive processes thanks to native binaries.

For maximal ease of use, the remaining docker-compose containers are started/stopped as a process-compose task.
Quite meta :)
Why not mine on renewables?

Throw a solar panel array up, maybe a wind turbine or hydro?
I'm confused what exactly allows a president to ban certain uses of electricity?

Could a president similarly ban computer games? Or (computer accessed) porn?
> but it's to protect the kids you know...

Yeah, but the big question still remains, do they protect me from terrorists as well?
I'm using a chrome extension to add infinite scroll to HN[1]. It's great.

[1]: https://github.com/toddw/hn-infinite-scroll
Ask HN: How do you use the internet in unusual ways?
As an example people seem to have started using reddit for product reviews.

Here are mine:

- I tend to add "github" or "gitlab" to my searches to find a webapp/app so I don't have to deal with Adtech.

- Going to google scholar to search for meta-analysis studies in order to form an opinion on a thing.

What's your unusual hack for the internet?
Yea, as I get better educated and more experienced at my job, I'm thinking more and more that the lessons of the past 5-10 years are less "serverless is the future" an more "the real gains are things like immutability for deployments and reproducibility". As a general rule, I try to reduce as many "moving parts" as possible.
> Almost nobody under the age of 40 works in the "deep weeds" anymore (firmware, kernel, casually "Ring 0 and below" spaces)

A lot of the best people I know in that field (low level stuff) are younger than me.
> you haven't really solved the "it's more profitable to make digital goods than physical ones" problem.

why isn't digital goods just as useful? I dont think you can just assume that making physical goods is _always_ going to be better.

Let bitcoin miners mine. tax carbon emissions from energy usage, and let the free market choose the right allocations based on prices, demand and supply. The free market works when externalities are accounted for using regulation.