skysight-inc/HackerNews huggingface dataset:
Isn’t this the whole point of using file descriptors? As long as you have an open file descriptor, the kernel resource it references should remain stable. And if the resource is unexpectedly destroyed from under the process’s nose, the file descriptor should report an I/O error the next time you try to read or write from it.
In our project we call this a "doc fix", fix the documentation to reflect the buggy behaviour of the software, my favourite and least effort kind of bug fix :-)
Sometimes the water decides to do that on its own.

I've ridden through Chiang Mai after a heavy rain when the streets were all a foot deep, so you'd get a nice foot wash riding along and despair for your flip flops when stopped.

And if you strayed too far from the car in front or cut a corner, you'd find the 4 foot deep drainage ditches and 12 foot deep canals along the sides of the main roads.
App doesn't exclusively refer to mobile applications, in this case I meant the web application.
If 1kWh of gas is 6 cents, and a 1kWh battery is $100 and lasts for 10,000 cycles, that puts the price of the battery at 1 cent/kWh plus the charging cost (2c/kWh for solar)

In addition, for Europe, the key part of removing Russia from the energy equation is worth a hell of a lot of money.
Apps here (Israel) -- local Venmo alternatives & banking apps -- are as smooth as Bitcoin apps if not more. In addition, all local Venmo alternatives have 0 fees and 0 signup cost (they're all operated by banks due to financial regulations but have 100% interoperability with any bank & credit card).
Exactly. It should enumerate them when the player opens settings. Or at startup.

But even if it wants to do this, why is it doing it on the main thread!? :(
If we plane the earth nice and smooth all over it will be covered with water.

Besides that, and assuming you only meant the continental landmasses the windspeeds would go up, because wind 'rolls' across the land due to it being slowed down by surface irregularities, so if you get laminar flow the speeds will be higher. Would you propose to build everything underground?
Unlock – open-source Web3 alternative for memberships
Also, in this case that 'doc fix' instantly declares a number of airfields to be impossible to fly to in that particular aircraft.
Yes that should have been part of the commissioning plan. But then Germany also killed the plants early meaning any lifetime plans for the material to be slowly removed had to be massively accelerated due to political posturing...

But then I forgot Germany built all it's reactors on fault lines and in the path of tornadoes or other natural disaster paths rather than places closer the the rheinland...
You really should never eat shellfish from unknown sources, because these are either from unsustainable farms pumped full with chemicals to keep diseases in check or from the sea. Either way, very dirty food in more than one way. If you really gotta eat shellfish, get it from local closed-cycle industrial farms. That's of course more expensive, because you're paying for what you're getting.
You might enjoy: https://alt.pavethe.earth/
once_cell does the same with a closure.

Improved const evaluation has also eliminated some uses of lazy_static.
Small Basic would be more appropriate than VB.NET https://smallbasic-publicwebsite.azurewebsites.net/
Solar is not renewable, at some point the sun will die.
I also experience it as an interruption, versus a distraction. I'm an ideas guy, and ideation is my biggest strength. This causes a flow of internal conversation with my best self and it matters a ton that I handle this properly.

My approach is to choose to not let these conversations slip. I do this by writing down whatever I need to on a piece of paper next to me. I find that because I'm working alone I don't get the feedback I need. By writing it down I can switch back, and this serves a purpose other than to simply not forget it. It allows the thought to continue and I don't get stuck. Maybe I write a list, maybe I write a task, maybe a diagram. Many times it's a question.

Because the internal dialogue flows better my other present at-hand work can resume sooner after the interruption. In the meantime, I'm having a debate on the side about whether it really is a better idea than what I'm doing, and it gives me room to consider things in a more reasonable way, without the pressure of mental logjamming.

I switch back and forth. Each time I am giving the proper focus needed.

Also, these are generally for me not troubling or repeatedly negative thoughts because in moments when those kind of thoughts are present I stop everything and it gets full attention to get resolved. The situation then is it's not so much a logjam but the river itself has run dry. Gotta get that figured out asap because it not only affects present ability to work but future as well.
Alas, it has become quite clear that whether the pandemic will continue or not has virtually zero correlation to what a certain segment of the US electorate does or does not do.
Not with PG. A couple weeks ago I was working on a project that used truncation cleaning, the test suite took 3m40s. I switched it to cleaning with transactions and the the test suite ran in 5.8s.

Truncation cleaning is extremely slow, not only because the cleaning is slower but because you actually have to commit everything your test code does.
Update your JIRA ticket.
I don't know what's misleading about it or how the arithmetic is weird?
Yes, I hit it a lot during my Z80 days, too. I also had to do manual memory management using a memory-mapped page register. We all have our constraints we must operate under, and a bag of tools to help deal with those constraints.

But "unsigned by default" won't save you here; all it does is give you a little more breathing room for your special case code (and hey, maybe that doubled positive integer space is all you needed, in which case congrats).

But all of the other problems are still there. That's why I'm saying that "unsigned by default" is backwards. It should be "signed by default", and unsigned for special situations that warrant it.
Proposed solution for marine debris by utilizing on-board pulverization system
Nice! We also did something similar:

Demo: https://europe.motis-project.de/

Project site: https://motis-project.de

Source: https://github.com/motis-project/motis
Perhaps, English isn't my first language.
I can't understand why you would complain about censorship when discussing this book on a public forum. Can you explain to me so I can get my head round this?
Are email priority levels also related to this?
>No one wants to take a PhD in git command line flags.

Yep that's why i still use bitkeeper....and it's great :)
Java technically doesn't even have non-array bytes (or short), all types are just that integers: either 4 or 8 bytes. So if you see a declaration of byte/short (and often times char) is likely a mistake.

The correct way is using ints, e.g. "int x = b[i] & 0xff;". Pretty much you should do math with int and long only. java.util.Integer/Long nowadays have static methods to work with unsigned types if you need them.

Once you remember that you need (the annoying) "0xff", you'll be free from errors. It has been there for 24 or so years. Other than that wrap your arrays into ByteBuffer and use provided utility.
Was the Ridley / Chan book peer reviewed?
If you find something illogical and meaningless, take the time to explain why.
Three Ways to Be More Rational This Year
Is there any evidence for that? Graphs of US health costs over time show very little if any difference in the growth pattern from before the ACA and after the ACA.

I think people conflate two separate issues when considering health care costs in the US. The first is high costs. The second is increasing costs.

There is no doubt about it when it comes to high costs. We pay more than other first world countries for comparable levels of care.

When it comes to increasing costs though there isn't much difference between the US and many other first world countries. The US rates rise just a little faster than the rates in the other G7 countries, for example.

It's been this way for a long time. Here's how much various counties' costs went up from 2000 to 2018: US 2.3x, Germany 2.1x, France 1.8x, Canada 2.0x, Italy 1.7x, Japan 2.6x, and UK 2.6x. The US costs relative to 1980 were in 1990, 2000, 2010 2.6x, 4.4x, 7.7x, and 10.2x. For UK it was 2.0x, 4.1x, 7.5x, 10.6x. France did better: 2.2x, 4.1x, 6.1x, 7.5x.

Much of the focus on health care cost reform is on the high cost compared to other countries, with the assumption that we are doing something wrong that the others are avoiding and this is what leads to our high costs.

But our costs were about as much higher relative to the others 50 years ago as they are now. It is just that it wasn't as big a deal back then because costs were much lower as a percentage of GDP then both in the US and in the other first world countries.

In a sense then the US isn't actually doing much worse than the rest of the world (see note below). We are just farther ahead on the same curve they are all following, so we've reached the point where it is painful first.

This is not good. It means that fixing this is going to be a lot harder than most reform advocates think.

Note: when I say we aren't doing much worse this is just on costs. We are way behind in access.

Here are a couple of past comments with cites for the above numbers [1] [2].

[1] https://news.ycombinator.com/item?id=20923851

[2] https://news.ycombinator.com/item?id=22127566
Are there publicly-published guidelines anywhere on the appropriate uses for each level (R,P,I,F,FO) ?
Why UISwitch is only meant to be used as an accessory view in a table view cell
But SVN had cheap and quick branching.
even if you could update state* once you gave access to anything it's out of your control as it might be cached somewhere else.
This is why I mentioned for future changes rather than what you already allowed.

And you are right twitter can still have that clause, and they can cause they have somethign to offer (i.e. a userbase) but if the content of everyone would be somewhere else other competiors would be able to offer it and then competiion for users would tend to make those terms more accessible to those that care enough to read them.

* you can by doing it as in an event sourcing system. After all blockchains+smart contracts are similar to a giant state machine
Forecasting the World in 2022
> In other words, web0 is web3 without all the corporate right-libertarian Silicon Valley bullshit.

Yikes.Since when decentralization has been something different than a right/libertarian position?If anything not having centralized power is specifically that.

I see this train of thought from figures like Tim Pool (and even much "higher" intellectually speaking,not gonna name them), who seem to think free software and/or decentralization is a social and left-leaning issue and proposition.It's not, if you want to bring politics into discussion at least be accurate about it.Owning your own data,not being censored at will and having more control is a right/libertarian position, or at least not in anti-thesis with it.However people seem to think the internet is/can be used somehow as tool of revolutionaries against the state, that's not how it works(at least right now, where you don't have access to it w/o the government knowing about it).

Maybe it's only referring to the disgusting SV corporate aspect in the economic sense from things like NFTs, but this is vastly overblown.Corporations are not the ones selling the most NFTs snake oil right now, people are.Corporations only want to facilitate this sh*t show, I don't have a problem with that as long as the network is not centralized by them.(which is not, but people kind of pretend the internet is decentralized which is rather funny)
> being proud of one's economic transaction history would be awesome.

I sincerely doubt we'll ever see that. First off, Venmo has already tried to apply the social media formula to transactions. I don't know of a single person who reads their Venmo feed just for fun. Next, most transactions are boring and not worth sharing. "John bought toilet paper and Q-tips. [Like] [Retweet]".

You state that the move to hyper-publicity that we've already seen hasn't reached it's peak for usefulness and yet there are already widespread conversations about the dangers and pain that this hyper-publicity has caused.

If we reach a future where people are "proud" of their transactions and are sharing them everywhere then we've made a horrible mistake.
Reminds me of The Culture of Defeat by Schivelbusch
https://www.theguardian.com/books/2003/nov/29/history.higher...
Very good book.
A man found an abandoned baby in a subway. It led to an unexpected family
Build tools around workflows, not workflows around tools (2020)
Scary Pockets https://www.youtube.com/c/ScaryPockets/videos

Funky covers of pop songs done by various LA singers and musicians, often incredibly good.

MonoNeon https://www.youtube.com/user/TheMonoNeon/videos

Crazy + amazing bass player plays over music and speech, also recently does his own songs w. videos, and live gig videos.

https://thepiratebay.org/search.php?q=user%3ASpud17

Non-english series torrents posted by TPB's Spud17, with english subtitles. e.g. recently watched Manayek (Israel), Vida Perfecta (Spain), Aruanas (Brazil), Thin Blue Line (Sweden) - all seriously great. (I always read the user reviews on IMDb first, to find out which are the ones to watch.) Before him, Snowhiter was doing a similar great job about 2012-19.
when it's aligned interests without a formal discussion/agreement between different parties, I don't think it's fair to call it a conspiracy, rather purely selfish incentives at play.
There weren’t any secrets involved; the manuals are public.
Canadian healthcare is scary, and it's made worse by these politicians that always go to the US for care.

The joke is that it's gotten so progressive that no one gets better, we all have to equally suffer. You can see clearly how this situation was mishandled.
Reminds me of when it seemed like a reasonable thing to do to host a website on the world wide web from my home network.

The web was always decentralised, but various motivations and reasonable tradeoffs caused it accumulate a lot of crap. Maybe the point is that Web3 isn't really different in this respect.
Clearly BlackICE was just far too cool a product name for IBM to handle.
No fully true, there is gitk and git-gui (both part of the full-git-package)...but yeah no "publish to internet" checkbox there ;)
Ask HN: Best resources for pure HTML/CSS web development
Having grown tired of of JS overengineering hell and more dependencies than lines of code, I'd like to go back to the basics for a bit and make a website using just HTML/CSS

What are some good resources to master modern HTML/CSS?
“Blockchain” is a class of technologies. I don’t think I would even call it a specific technology. It’s more akin to “packet switching” than it is akin to “Ethernet” or “TCP/IP”.

I can understand some critics’ opposition to cryptocurrencies on public policy grounds (although I think most critics are too broad in their critique), or their opposition to NFTs based on the fact that many NFTs are bullshit don’t represent ownership of anything at all (although I think that will not always be the case).

What I don’t understand—and where these critics loose credibility with me—is their rejection of the entire class of blockchain technologies.

If you don’t want to use a blockchain to build your app, fine! Don’t do it!

But if I want to build my app with a blockchain integration, or using a blockchain to store a portion of my data, what’s your problem with that?

To me, it all sounds very similar to, “don’t build your app using Microsoft tech, only use open source” or “don’t use NoSQL for storage, use an RDBMS instead.” It’s like a new version of those ridiculous religious wars people would have over technology preferences, only now higher-stakes and even more passionate.
This seems like a step in the right direction. It establishes the principle that the government has a say in healthcare pricing and patients must be held unharmed. Obviously it doesn't cover all cases. But it does bring us closer to a single-payer system or at least a cost-regulated system, which I think is demonstrably a good thing based on its success in other parts of the world, and more importantly, the abject failure of the American system to both protect from financial ruin and provide the best care.

I hope to see the day when nobody avoids care - preventative and acute - due to cost. It costs lives, and in other cases diminishes lives. I avoid care myself, despite having health insurance and being relatively high income, because you can mysteriously get a $1250 "room fee" added onto a $300 bill to stick a camera up your nose for 5 seconds when an ENT casually suggests it, which actually happened to my partner during a simple consult recently (you can buy a similar camera to hook up to a smartphone display for $10). This sort of "surprise bill" and outsized costs for trivial diagnostics with almost no cost to the providers needs to end. When I made less money and had no insurance, I didn't just avoid care, I went without it entirely for years. We should avoid that as a society, it comes with high costs - the cost of more significant care later, the loss of labor force, and the loss of quality of life and family.
Netflix docudrama.
With that in mind, it might be more effective to write a BASIC REPL in Javascript (I’m sure one already exists) and then run the original programs.
Blockchain is a nice technology for having distributed consensus databases. NFTs are a good tool for protocols, identity and uniqueness in a decentralised system.

So they want decentralisation and reject some key technologies and tools to enable it?

I think it's time we dissociate the the technologies from its use. Blockchain is more than a ledger of monetary transactions. NFT is more than NFT art.
Sorry there, that was so obvious but I was so upset at the same time. I should have flagged it and walked away.

Not sure if they are pure trolls though. You can sometimes hear the same discourse IRL. I can’t stand them.
Ah, as usual. Developers thinking they know better than users.

As a developer, I hate that attitude.

The developer talked to the user, decided they understand the problem, then written their understanding in stone for the users to bang their heads on.

--

Side note: your users found the solution to this problem was offsetting your altitude by 2000ft at the start of your flight so that you can always work with positive values throughout the flight. It sort of works, most of the time, but will surprise you when you want to deploy new feature that reconciles current measured altitude with radar altitude with GPS altitude and with Google Maps. How typical technical debt.

This workaround does not cover the case if you find yourself in an emergency and so you could not have planned the offset beforehand. You will need to file a ticket requesting approval to change your altitude mid flight. You will have to explain to the approver the reason for this non-standard change and wait a week for the next CAB meeting to convene. I almost feel like working for a bank again.
I'll be honest. I just walk by abandoned babies. I don't need that hassle in life.
The point in the article was to prefer composition over inheritance, which is sort of like using OOP “the right way”.
It didn’t discourage OOP as a whole, nor do I think it should - making a game without objects would be a nightmare.
We watched this over the weekend and found it very well written given what we're learning about ourselves as a modern race. Beautiful ending, also.
Not only that, but the price is not adjusted to the local cost of living, making it more expensive to poorer nations. The payment gate isn't as high for every one.

I can't justify an internet that hinders the free flow of information.
The Internet Archive:

https://archive.org/

I delight especially in all the old books.
> Just relying on cameras will not work.

If it’s good enough for us (two small cameras and two microphones all mounted right next to each other) why is it inherently infeasible for a computer?
This is an artifact of typing. Is your 16 bit value all ones? Then it might represent -1 or 65535 depending on what you believe the type to be. Perhaps it represents some sort of colour instead.

When working in an untyped environment, this sort of question doesn't come up. If the value is intrinsically unsigned then that is what you and hence the program assume those bits mean. If the value is intrinsically signed then that is your illusion. Any ideas about overflow are entirely in your mind. You tend to see techniques used in an untyped environment that would never occur to anyone in a signed environment. It's all just bits.
I wish I had the patience to play such game.

Factorio can already entertain me for hundreds of hours, but even factorio can become a bit boring once you built a large base.

I'm really looking forward the UI revamp that will be sold on steam.
I agree. I don’t expect a hundred pages of text, but this “manifesto” fits into two tweets.
That's assuming the History books even report it. What matters is who wins the narrative at the end of it all.
WunderHub: Share APIs like they were NPM packages
> When you talk rent in London the first question asked tends to be "bills included?".

In my entire life I have only seen bills included in properties that were rented room by room, i.e. each room has a different tenant. I have never seen that for entire property rented to a single tenant
I always felt like the possibility to operate in a hostile regulatory space is a bit of a strawman

for one, blockchains still use the "regular" internet infrastructure at the bottom. If said nefarious government wants to shut down the usage of a web3 service they don't care about the "decentralised" nature, they just cut it on infrastructure level.

as for the legal entity, this is a boon as much as it is a threat to running a service. The dominant stakeholders or miners in your network hold executive power here, the main difference is that you'll have no legal resort if things go south.

in short, i might give you a _possibility_ to evade bad actors outside your system. But it cuts away any regulatory recourse you'd had against bad actors _within_ your system.
I looked this up, check https://answers.microsoft.com/en-us/msteams/forum/all/how-to...

You can at least set it to flash only once (better than constant blinking).

People calling you on the phone is another story and part of the company culture I believe. In my case I don't get phone calls from work, only teams calls and those are always scheduled in advance.
It absolutely is a revenue maximizing exercise by hospitals and physicians.

SF General isn’t in network for any insurer. Let that sink in. Why? They mostly treat indigent, so shit, insurance has nothing to do with it most of the time. Otherwise it’s revenue maximizing. And this is a government run hospitals. Let that point sink in too.

And I wouldn’t give physicians such an easy pass. I had conversations with a few community oncologist practices and they know the game very well. Ask them to take a 1% cut in revenue and you’d think you were throwing them in the poorhouse.
But then your function should check if the value is within reasonable parameters.

If it was an int at the function signature and you got -1 what would you expect to happen? It's the same thing.
Hey all, just playing around with an idea based on some pain I'm feeling while working remotely. Getting tired of Slack, Discord and Zoom. Yet most productivity tools are a bit overkill or suck the joy out of working with my team. GitHub discussions is pretty good but its tied to GitHub itself. Felt like there might be some room to try build a totally isolated side hack that people can fork and run themselves.
You need a large amount of electricity for a short term event - say a festival or a building site. You wheel in a hydrogen generator, powered by hydrogen from renewable electrolysis, job done.