skysight-inc/HackerNews huggingface dataset:
I agree that "ignoring the situation completely with unpredictable results" is also bad, although I might be able to see some situations where it would be difficult to write a spec in a clear way that was more precise.

However the problem isn't just that compilers ignore UB, they actively make use of it! In the example:

if(p == NULL)
write_out_error_message_and_exit(0);
*p = 0;

The NULL check is removed by the compiler because of the undefined behavior of writing to NULL. Instead of ignoring that the code might write to NULL, the compiler does the opposite, and assumed that p cant be NULL.
I don't know. I pay <50€ of electricity bills every month for an appartment and family of 4.

I do not remember paying much less before induction, but I do not remember.

This is not a big issue for me, though
PDFs for printing are great, and they make a nice portable envelope for my vector originals, but I despise them as online or eBook formats.

For eBooks, I've settled on reflowable EPUB. I guess, in some cases, we may want fixed format, where PDFs might be useful.

For online, I prefer HTML, usually as a continuous page, and with "pretty print" (@media print) CSS. I find it annoying that the page-break-% CSS rule seems to be ignored by just about every browser, or at least, interpreted badly.

I really have gotten a lot out of the NNG folks; in particular, Don Norman, but they do like to kick anthills.
They fit my feet pretty well vs. other brands I've tried. YMMV.
> Times have changed. People don't want stable jobs anymore

I agree with this, just think it's missing important context. People don't want "stable jobs" because nominally "stable" jobs are anything but stable anymore and most of the other benefits have been eroded.
Not the parent, but I recently released my own workout app that does mostly the same kind of thing they describe [0].

I've been using it personally since COVID started (Same period of time that I developed it from a simple "May as well learn Flutter" app to something decent) and I've made good strength progress.

The website has only been up since yesterday, and some of the info is still placeholder (like the review from my Mum, haha). Any feedback appreciated.

[0] https://repfiniti.com
Just because I'm happy to pay taxes doesn't mean that I'm happy with the ways that money is spent. But I can recognize the inherent need for _some_ entity to serve in this function, and I'm glad that I have one that I can participant in.

There is literally no citizen in the world that is completely happy with their country. That is part of being human. Because our views are so diverse, it's impossible to form large groups of people without those types of disagreements.

I didn't get a choice about being born, either, but that doesn't mean I'm not going to do what I can with what I have instead of pining for a reality that will never exist.
I get why prefer old but works over new and fancy, but what about new and works? They could trial new technology for five or ten years in parallel with the old before switching gaining both the stability of old and proven and the future-proof-ness of "new and we think it will stick but it might not". The reason why it isn't done this way is probably cost, but at what point will the difficulty of sourcing the old tech and people who know how to use it become the more expensive option?
For Firefox I am using an extension called auto tab discard (https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...). It will suspend tabs from memory that have not been opened for a given time but you can easily open them again by pressing the tab. You can also whitelist some domains to prevent them from being suspended.

Give it a try. There is also the great suspender for Chrome.
> from the inside. [...] Taiwan always wanted independence.

Taiwan is independent.
Apple could offer a single consent dialog for a bucket of third parties, like they do for all their internal organizations.

To say otherwise is to say that just because Apple has vendor lock-in they deserve trust.
In his 1998 book, "Interactive Excellence," Edwin Schlossberg identified one key aspect of large group dynamics: A sense of audience. Particularly how much more enjoyable it is at, say, a concert, when you can experience—see and hear—others in the audience.

I have yet to see any remote technology that comes anywhere close to representing that golden sense of audience.
PyTorch Lightning masterclass- scalable deep learning framework [video]
The Gemini protocol? It's a cool project but I think for anything to get big it would have to remain compatible with current browsers. The idea is a crowd-sourced embrace-extend-extinguish, except the opposite of extend.
While what Quarkus promises sounds delightful, the actual dev experience is still not something I'd recommend. The amount of libraries one can use is still very limited. The compiler errors when one chooses to step outside of the approved list of supported libraries, are very cryptic (or non-existent). In my case, I tried to use Apache Freemarker for templating. I could've tried Quarkus' own templating library, but it didn't exist at that time. What was worse, I had to shut down nearly every app on my 16 Gigabyte, 6-core machine to compile the image! If I didn't do that, compilation would fail with no useful info. The Quarkus team does a wonderful job of demoing a Hello World example. I was just unable to achieve the same success. I love what they're trying to build, so I'll check back with regularity. Our one Quarkus app is using OpenJDK 1.8 for the time being.
I use safari on a similar Mac with no problems.

Also this probably isn’t what you want to hear but I also got a headless desktop recently for all my dev related work... that made my Mac a lot faster!!
I mean maybe what's motivating the golden age of fitness is the golden age of fatness. That's what's motivating my efforts. Don't want to have to buy new jeans again.
"Interim Recommendations for U.S. Households with Suspected or Confirmed Coronavirus Disease 2019 (COVID-19)"
https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-si... :

> On the other hand, transmission of novel coronavirus to persons from surfaces contaminated with the virus has not been documented. Recent studies indicate that people who are infected but do not have symptoms likely also play a role in the spread of COVID-19. Transmission of coronavirus occurs much more commonly through respiratory droplets than through objects and surfaces, like doorknobs, countertops, keyboards, toys, etc. Current evidence suggests that SARS-CoV-2 may remain viable for hours to days on surfaces made from a variety of materials. Cleaning of visibly dirty surfaces followed by disinfection is a best practice measure for prevention of COVID-19 and other viral respiratory illnesses in households and community settings
I can't recommend this enough. Here is an option for Firefox users: https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...
I don't think it should be compared to etcd since it only offers best-effort consistency while etcd is strictly consistent.
Ask HN: Is it wise to combine a personal passion with a professional focus?
I'm at a bit of a crossroads in terms of my career. I've been an entrepreneur and a software developer for some twenty years now. After some professional ups and downs, I'm now doing consulting work, with a bit of programming thrown in here and there. But I'm realizing my real desire is to do much more software development and design work than I'm doing right now (or have been doing over the past three or four years).

I'm also passionate about music and have been making electronic music as a hobby for many years. Electronic music production has been a great creative outlet for me, one that is especially important during times when I'm not designing/coding.

Lately, I've started thinking that perhaps I should combine my passion with my professional focus. There's tons of interesting companies that make music software, ranging from established ones like Ableton to start-ups like Endlesss (which is awesome).

My worry is that doing this might kill my passion for my hobby. Electronic music is a creative outlet for me. If it becomes too closely associated with my day job, will it end up wrecked?

I'm curious about your experience with this. Has tying your professional focus to a personal passion led to compounding benefits of interest, depth, focus, etc.? Or has it been a problem for you?

To make an analogy, I suppose it's a bit like considering going into business with your romantic partner.
> it's misleading to call equity compensation "getting paid"

I would say that compensating an employee with a financial instrument of known value is in fact the exact same thing as getting paid.
Wiki rot is real, but this is a terrible idea.

As others in this thread have pointed out, if you have a page (or twenty) in your wiki that capture information about arcane information that doesn't have even yearly applicability -- yet still may have applicability -- by deleting it you've willfully destroyed some organizational knowledge.

Just as bad would be cases where editors don't even know if the information is still important, but due to the timestamp choose to delete it.

This is as about as close to "throwing out the baby with the bathwater" as it gets.
The problem with wikis in organizations is that they are a bit too unstructured.

When a company is small they are great, but they accumulate cruft, the people who wrote the pages leave, they get disorganized, no one knows where to put pages, no one can find anything, etc, etc.

So when you look up something in the wiki you don't know whether it is up to date or not. Maybe it contains a procedure written by the support staff which you need to follow when X happens but the developers have changed the subsystem so it is actively dangerous now?

As orgs grow and their data grows you need a more structured place to put it than a wiki (or the shared filestore for that matter, ewww). One day you'll have Compliance requiring that docs are kept up to date, organized properly and owned by somebody.

Eventually you'll end up using a more sophisticated tool like Confluence which can enforce ownership of pages, enforce structure, archive pages which aren't updated and generally tick the compliance boxes.

(The above my personal experience from growing a company from 0-50 staff ;-)
I am always surprised that these systems are not more friendly to engineers, since they were built by them. You'd think for their own sakes they'd stick in a system like xkcd.com/806/
But I don't trust Apple to never make mistakes, so I want to be warned when the collect more data.
If there were lots of people like you, soon there'd be publishers inventing the "ad background", the "ad paragraph" and the "cookie consent cover page"
golang is not modern nor fast evolving.
Yes, a major pita. Mainly afraid of not groking the bus and driving the bus at the same time as the 68k. The working idea is to use a bunch of some sort of voltage translator chip (finding the right one for this is the pain point), and imposing constraints so that if the CPU is driving the address or data bus as signaled by e.g. /AS or the R/W signal, then the translators won't drive it. With a bunch of 74s or a CPLD in the 5v side.

I didn't have that one PDF, so I saved it for safe-keeping with my other 68k stuff. Thanks.
It’s also not that simple. Uber does not operate in a vacuum. There are other companies against which Uber is competing for executive talent and one of the variables is compensation. If Uber started offering much less than its competitors, then they would be at a significant disadvantage in hiring.
Sure, the high command was delusional or had nothing to lose, but for the most part german units surrendered in massive numbers throughout 1945 especially to the western allies. Same for germany cities, where civilians usually put up 0 resistance and were revelieved to see the war end. There is no comparison possible imo, just look at the number of japanese war prisoners vs those from germany
>It’s possible that this is a temporary situation. One source in the mobile marketing industry who requested anonymity said that Apple is using an “archaic” attribution engine they built years ago, and they are currently upgrading their code to comply with the new rules. The thinking is that Apple Advertising will eventually be compatible with SKAdNetwork, a framework Apple built for advertisers. SKAdNetwork enables completely privacy-safe advertising attribution, meaning that brands can know which ad campaigns worked, but they won’t have specific, granular data on which people viewed an ad, clicked an ad, or took action.

If they're going to use SKAdNetwork then they're tying their own hands as well.
The framework for this is called “Transparency, Consent, and Control”, and providing these options for system apps would check the box for all three of these things. Of course, you have to trust Apple to do it right, but like you said you already did that when you bought the phone. This, this isn’t about trust, but the reasons I just mentioned.
If you don't believe that the speed of light is a physically measured quantity, then replace that question with whatever physical constant you prefer (charge of an electron, gravitational constant, current mass of the earth, etc, etc). Do you think those numbers should be copyrightable? The charge of the electron is particularly interesting as there was actually a lot of debate over that number because some of the original experiments were flawed.
I dont think that has caught on to use anything other than referring to a Apple Made tabelt device

Tablet is still the naming for other non-apple devices though it seems the market has given up on them instead perfering larger phones
Having now done all of this yourself, do you think the amount they charge is reasonable, given how incredibly painful it is to do this on your own?
Training a classification model on MNIST with PyTorch
I was fat before the pandemic. I continue to be fat during the pandemic. I will be fat after the pandemic is over. Fitness is for other people.

I’m doing great, thanks for asking. I drink good whiskey on my porch while I watch the bomb ass explosive sunsets that Florida is so famous for. I shoot projectile weapons into an earthen berm. I listen to my favorite synthwave playlists. I eat good food. I go to the beach.

Just because I’m fat doesn’t mean I’m doing poorly. In fact I’m willing to bet that I’m happier than most posers who go around telling everyone that they do CrossFit. (That my iPhone has capitalized CrossFit is alarming in itself...)
One of the most important things post independence was to ensure Indians had the capability to make things on their own. This meant achieving a high degree of domestic capability(Only Indians making things). There had to be a system to enable this happen. At times you have to slow growth to ensure you meet other capabilities.

It's not exactly a conspiracy.

Besides globalization itself is a relatively a new phenomenon and we did get started on that.

Also merely blaming these policies for slow growth is wrong. India has a range of socio-religious problems, which just can't go hand in hand with requirements for high growth economies, that is things like high quality public education, equality of access to opportunity, a degree of fairness in society and focus towards larger goals etc. India is just not there yet. Even domestic political goals are just something else.

Basically India is trying to make Biryani out of Idly batter.
Edit: Is there any way to prove that Google isn't/hasn't unfairly penalized this site?

I'm more willing to suspend Hitchens Razor when a well known defendant has such a long history of doing much worse.
It works when everybody is singing love songs in rainbow coloured clothing, but at the end of the day there are bills to pay and only a few lucky ones get to live from donations and they surely aren't arriving at the bank with donation extracts for a credit renewal.
Thanks for the comment. Haven't read that book but that is the basic philosophy we have been thinking about. We are hoping our technology can provide that kind of ambience.
PyTorch Lightning: The lightweight PyTorch wrapper for ML researchers
It would force insurance companies to compete on healthcare plans for everyone, and give employees the ability to choose their plan.

Right now employers get a discount for pooling their employees together for insurance, and as an employee you either take that discounted plan (which your employer pays part of) or go out on your own which is almost always significantly more expensive.

Getting rid of the bundling and pooling would actually make the insurance market competitive and give people a choice. It would also mean that having good health care is no longer something your employer holds over you, increasing your ability to change jobs, walk out of a bad employment situation, or go out on your own as a freelancer/contractor.

Getting rid of the employer health insurance advantage this way, or via a more radical single-payer system, would actually boost self-employment and very-small business, who currently have disadvantages in getting or providing these benefits.
I did something similar on my HP28S, writing such a question on top of a programmatically generated bitmap background, made of some hearts pattern (boolean pixel art, really).

She declined since she was interested by one of my classmate, which I already knew, btw.

Tech does not solve every problem, but I was proud of the result anyway!
It's broken :) This is mildly internal for now, and needs a bunch of bug fixes before release.

The behaviour I would expect for this is that the 'devtools' part of the path shouldn't be clickable - as there isn't any documentation markdown in that path of the repository. I'll see if I can implement this today.

EDIT: fixed.
> The Charge-Coupled Device or CCD, now universally used in digital cameras,

Not any more:

https://en.wikipedia.org/wiki/Image_sensor#CCD_vs._CMOS_sens...
It is wise of you to document this mess, it will surely bring about good.
Amazon might convert old Sears and JC Penny stores into fulfillment centers
You don't need to migrate. Keep it compatible with current browsers. Users will reap the benefits of the lightweight sites regardless of what browser they use. It would sort of be like AMP that way. But over time if you get enough major sites with compatible versions it would become useful to have a browser that only speaks the lightweight web, and that's when things could start to snowball. At no point do you need big companies or browser vendors to do anything other than not break current HTML/CSS compatibility.
Teaching Computers to Recognize Humor
The other side of the fitness coin is diet, and the two hours a day returned to me have been instrumental in improving that. People may come out of quarantine simultaneously less fit and less fat.

Fitness-wise, there's only so much you can do with a 4-8-month-old in a third-floor apartment, but jogging a couple miles with a stroller is kind of nice at any rate.
Bridging the broadband gap: Connecting the truly last internet mile
2-column PDFs are fine when printed, or on a tall full-size screen. But on a 16:9 screen, smartphone, or small tablet they're annoying, since you have to zoom in to read the text and then do a weird diagonal scroll between columns every page. For all of these cases single-column half-width with twice as many pages would generally be better.
I'm a complete outsider, but from my perspective Indian manufacturing seems poised to doubly benefit from increased export at China's expense, and 'patriotic' local sales (even required by legislation in some cases).
We are not using "their computers". We are using our own computers. Apple made them.

I realize Apple likely doesn't feel the same way. I also think this is kind of an "of course Apple does that." A great many people pay money for this particular experience.
How efficient would the spending need to be before it's considered "effective"? Personally, I would rather the government spend "ineffectively" and cover everyone than the current situation
tl;dr I am so tired of this stupid idea, it ignores the simple fact of work. Not all work is equal as not all people are of equal ability.

It is damn easy to declare someone is underpaid or overpaid. Especially when you don't have to write the check. Far too many assume they can do the job of the over paid because they truly understand all the aspects of the job.

Sports stars, movie stars, state leadership positions, and more, all follow the same trend. So what is your point exactly? Seriously go look up what some county managers make and get back to me, here is a hint, it is not uncommon for many to make over a hundred thousand and quite a few approach a quarter million or more and you can damn well bet there are people working in your local government earning minimum wage. Why aren't people here bitching about overpaying government employees? Upper admin in any government is big bucks but that school cafeteria worker certainly isn't seeing a fair share are they?

As in, all work is not equal nor does it deserve equal pay. Never has, never will. Would you accept the same pay especially if it had to be lowered to insure the receptionist earns similar to you? What about the cafeteria worker? Yes I am going there. Why not. If we are going to declare a CEO makes to much then we cannot stop there after all we would be hypocritical. If anything the owners, be it shareholders or individuals, decide what is paid our and theoretically could take every dollar after what was decided as fair compensation was achieved
Just need to look at all the other instances.
This is a pretty terrible idea. I've run a wiki at work and a lot of the information is outdated but a lot of it is also still really relevant even given that the page has not been touched in 3-5 years.

Somewhat wiki related but on the software side - I created a very basic plugin for wikimedia that solves a specific problem and because I did not have any commits in my github repo for 3-6 months they flagged my plugin as "do not use" and "unmaintained". It was frustrating to put something together in my free time and to have the community basically shun it because there were no new features I could think of to implement. I think documentation is the same way - creating friction by deleting, hiding, or even obtrusively flagging pages as "old and invalid" can make people not want to use your system.
This is good, difficult advice. I'm working on an app, and it's so easy to go off the feature deepend. I recently spent a week trying to do data import/export - an un-requested feature by my 20 users. That time almost certainly would have been better spent marketing or otherwise finding more users.
Check into their ads data policy sometime - it's much, much, worse than the incumbents. but it's buried on the 3rd page of a PDF so they just got praise for releasing the PDF when it came out, only a few noticed
I do think this also has to do with personal preference, too.

Even when I'm working in an IDE that has great debugger support, I tend not to use it. I just prefer to put println's in a bunch of places, then run the code, and look through the log to see what happened.

I just find it easier to see a full log of the execution that I can open in Emacs and search through than to step through.

However, one thing I'd love to have is the ability to effectively capture the entire execution of a program, and be able to display it in log format, but then be able to jump into what the execution context was at the time of a particular log line and inspect things/step through what happened.
Illegal and unethical can be the same -- they don't have to be, but it's not wrong to discuss cases where they are.
Reminds me of a stripped down version of Hazelcast.
You have the same options to disable location data for the built-in Camera app that you have with any other app.