skysight-inc/HackerNews huggingface dataset:
> By design exception handlers are handlers of exceptional events, which due to their exceptional nature either lead to a controlled recovery or controlled exit.

Exceptions are commonly used for events that are not really exceptional. In Java there is a precise distinction about them (checked vs unchecked exceptions), in C++ not.

Commonly libraries (not the C++ stl to be fair that rarely uses exceptions) use exception for things that are expected during a program execution: a file does not exist, a network socket closes, a resource is not available, the user interrupts the program, etc.

You may say: well, you should use exceptions for the first kind of error handling and error codes for the second, problem is that adds even more confusion, since you have some error conditions that may throw an exception and some other that may return an error code!

The simple solution is to not use exceptions at all, and the best way to do so is to use a language that doesn't have exceptions (such as C, but also Go, Rust, Zig, in general the trend for new languages seems to be to not have exceptions, and probably there is a good reason behind). While most C++ compilers let you can disable exceptions, but that will turn any throw of an exception into a panic or worse undefined behavior for code that uses them.

Especially in C++ exceptions are even implemented in a way that makes them more dangerous to use compared to other languages (such as Java):

- there is no indication about the fact that a method may throw an exception, rather there is the key noexcept that signal the contrary (that is all methods may throw exception except the one marked with noexcept, and there is no way to know which kind of exceptions a method may throw)
- you are not forced to handle exceptions (in Java for checked exceptions you either handle them locally or have to declare in the signature of the method that it may throw exception)
- exception introduce an hidden flow of control that may create various bugs impossible to spot (especially if this hidden flow of control passes trough libraries that you don't know what they do, and may for example have allocated resources that are not freed during the stack unwinding).

Having exceptions in low-level languages to me is a bad idea. Having them in higher level languages it's less of a bad idea because you have other form of protections, but still you can avoid them even there (I tend to not use exceptions in TypeScript, and prefer to return a Result type, and wrap any standard library function that may throw exception in this)
BeatServer – Runs like celery beat but using Django ASGI
I feel like writing this in LaTeX is a way of saying, "someone should study this."

My takeaways are the 20 hours a week. That's a hard wall to break through, beyond which you can't really consolidate, I'm running into that, and I don't have any BS to put up with.

On finding an advisor -- why would a graduate even apply to a school without having selected a research interest / target? Undergrads are all research-exposed, so I don't know why you'd subject yourself to more if that wasn't your purpose! Yikes! What happened to the 3-4 LetRecs to even get in the door?!
Thanks, yes, it’s mine. Makes me happy you like it and maybe will find some value from it.
Exceptions are typically understood to apply to exceptional events that just shouldn't happen. The only language I know of that treats them as control structures is Python (ok, lisp as well come to think of, but they seem to be very different things from C++ exceptions. I have no experience with these).

> Arguments about which programming to use on a philosophical level are always hard because it's, in my opinion, effectively a psychological argument

If you treat them other than language convention expects, maybe that's a problem.

I have read up on the original exception designs and talked to the originator of these (Brian someone, I can't remember his surname). I believe I'm not misrepresenting him to say that he looked on exceptions as 'should never happen' events. However they have come to be seen as treating errors a bit more forgivingly (eg. network dropped) so in some cases a fresh attempt can be made. That seems reasonable.

As others have said, they're your last ditch attempt at doing something sensible, or perhaps trying to recover, when the impossible happens, so sqrt(-1) is an exception. Excepting because of a failure of a user to log in is not (true: that comes from a dr. dobbs article).

This is a good discussion https://en.wikipedia.org/wiki/Exception_(computer_science).
Ask HN: Job hop or wait for more offers?
Hey guys, got a bit of a career decision, and not sure what makes the most sense.

I am a junior dev doing mostly Java, wanna switch to low level programming, started the job hunt but the only offer I have so far is for another Java position (a lot higher salary though)

My current team is very relaxed, so I could keep interviewing and waiting for exactly what I want, but the current job market looks terrible. I could job hop again in a year or two after taking this new job, maybe when the market it better.

Is it better to wait for what I want? It doesn’t seem like many places are hiring junior devs right now, but maybe they will in December/January.
That’s just the latest justification for the lack of critical thinking around what actually constitutes a right. Those “negative vs positive” rights people don’t seem to have any problem with the “right to an attorney, if you cannot afford one then one will be provided for you”. It’s always been an incredibly disingenuous argument.
I've been wondering for some time if it would be possible and effective to delegate all administrative and process responsibilities to line managers. Remove the IC from the planning documentation process entirely and let them plan their own execution however they see fit within each Sprint.

The only responsibility for the IC would be stand ups with their manager to discuss progress and agree to future timelines. The ICs wouldn't have to go to any other Agile meetings or write any business/project planning docs. Manager would scope and write all IC tickets.

I think you would very quickly see a culture change with regard to process work. Having sole responsibility for both creating and completing the process work, it would be in the manager's best interests to make it efficient.

I've never seen an org try the above, but it doesn't seem crazy to me. I expect you'd still be able to attract managers through increased compensation and opportunities for career progression.

Note: I'm not saying the IC forfeits all planning discretion, I simply mean it would be the manager's responsibility to write it up into whatever documentation is required by the org, track progress, rewrite the plan as necessary, etc.
Yep. It all started with the ozone hole alarmism.
The seasoning has no problems with acidic foods, you do not get a metallic taste units you leave the food in the pan overnight. Once seasoned it does not rust easily but even if it does this is not a problem, just clean it with some cooking oil and use it and the rust is gone. Clean it while warm and it'll dry by itself. Use some fat and your food won't stick - you need fat anyway. No problems with overheating plastic pans giving of noxious substances, no need to buy new cookware every other year. Cast iron doesn't warp like carbon steel does either, it stays flat and as such works better on old-style cast iron resistive electric cookers.

Source: my own experience using cast iron cookware for the last 30+ years, cooking on induction first, a wood-burning stove for the last 20 years.
Do you believe this expands globally or only within sociopolitical boundaries as they mutate?
Isn't the round trip efficiency of compressed air terrible? You lose a lot of energy as heat when you compress air which you then have to resupply when expanding the compressed air to avoid things freezing over.
> Imagine if we did the same thing with, say, water: privatized it and then "democratized" ownership of it.

We're watching this happen before our eyes.
I never used pencils, but mechanical pen and t-square and friends. I remain convinced that engaging the entire body in the design process is superior to the experience of CAD. What may be interesting is updating the drafting table itself to be an active surface. It may be worth a business plan and getting funding for a startup.
Then build more. Where I live we have been building wind turbines like crazy for the last 10+ years, and as a result wind is most of our energy mix. Only Texas has more wind generation, and that is a much larger state. (Kansas is right behind us)
Searching For Neural Networks With Low Kolmogorov Complexity (2020)
As a task runner, why is it better than a bash script? Being able to run tasks in parallel is like the most fundamental feature I would expect from a task runner. Being able to skip over tasks that don't need to be done is a close second.
‘Living architecture’ could help the world avoid a soul-deadening digital future
Yes, but I don't think this is just a recent trend.

In Hong Kong, we spent over half of our income for rent [1]. Median per capita floor area for accomodation of 15 square metres, with some people living in subdivided flats with per capita floor area of 5.3 square metres [2]. The average waiting time for public housing is 6.1 years [3], note that public housing are government provided housing available with lower rent for low-income households, which are much cheaper and larger than subdivided housing mentioned previously. The median house price is about 20 times the median family income [4].

Yes, we know that this is a problem. But the government officials don't have incentives to tackle this problem. In fact, about 1/5 of the government income comes from selling land [5], so they probably can't fix this problem and keep the same spending without increasing tax. Let alone many officials are related to this sector or hold many properties.

[1]: https://www.thestandard.com.hk/breaking-news/section/4/17694...

[2]: https://www.bycensus2016.gov.hk/en/Snapshot-09.html

[3]: https://www.scmp.com/news/hong-kong/society/article/3177511/...

[4]: https://www.chinadailyhk.com/article/119131

[5]: https://www.budget.gov.hk/2019/eng/io.html
Who Judges the Judges?
Yes, I'm with you.

(Also... they are not the only business that is unethical).
yet another proof that microsoft has not changed. they try hard to put up a facade, but it is quite transparant to anyone really looking
> Decentralized doesn't work so well for places that require a high ratio of electrical power to solar radiance

Yeah, another example that comes to mind are flats - the roof is a bit small to cover all residents' energy needs.

As always in life it seems that "it depends" but I think you are right about remote places. It is of course always better to have electrical grid since you shift the maintenance to someone else (as long as the power delivered is reliable and cost effective).

The one issue I can think of is current grid may not be able to handle many small energy producers - they can be cut off when peak power is a problem. In those cases individual prosumers would benefit from having a local battery storage system that fit their needs, even when connected to the grid.
I just use Zoom with Chrome via browser. No need to install it.
just breathe
Google Meet has never worked for me. Not once. Across many browsers, OSes whatever. It simply does not work.

MS teams I think worked once.

Skype is ok.

Zoom works every time.

Want people to use something else? Make a thing that works.

Edit: if you have also had problems with everything besides Zoom have you also ever held a security clearance with the US government?
Doesn't this also mean you ingest all that wonderfully scraped material?
How to find Product Market Fit?
It’s hardly trust based if enforcement against those who break the trust is so sporadic.
Of meat and men: why the American barbecue is about friendship not food
It is possible, but it misses features. For example, the thing that I ran into recently is that web zoom cannot switch between multiple camera's of another person on the call -- e.g. if they have some fancy conference room setup.
But property, in its derivative sense, and by the definitions of law, is a right outside of society; for it is clear that, if the wealth of each was social wealth, the conditions would be equal for all, and it would be a contradiction to say: Property is a man’s right to dispose at will of social property. Then if we are associated for the sake of liberty, equality, and security, we are not associated for the sake of property; then if property is a natural right, this natural right is not social, but anti-social. Property and society are utterly irreconcilable institutions. It is as impossible to associate two proprietors as to join two magnets by their opposite poles. Either society must perish, or it must destroy property. - Pierre Joseph Proudhon
Amazon affiliate links contain a "tag" query parameter, these do not appear to be affiliate links.
I guess you can add the same keybindings to zellij and you are good to go.
I highly doubt they ignored considerations of how their envisioned government would affect future society and vice versa.
There are other kinds of communists than tankies.
Ballistic table calculators can be used by insurgents/guerilla fighters and even by regimes you or me personally oppose to.

Do we need to hold ballistic table calculators' developers accountable?

What if these calculators' developers submitted a PR to SQLite source code or just a feature request and SQLIte devs got it done, are SQLite developers also culpable by proxy?

Where do you stop your "they knew what they were doing"?
Does Bake support dependency expression / parallel execution? Those are killer features that keep me on Make for general-purpose automation.
Farmers love wind farms on their land. Once the windmills are up they farm most of the land as before, and get a nice lease payment from the land they can't farm.

NIMBY is the town folks who have to look at them, but don't really get any benefit from them. A few farmers refuse to lease their land for wind turbines, but there are a lot more who have run the numbers and are trying to get someone to lease their land for wind turbines.
> People have been landlords throughout history

Cite? In all parts of the globe or just some?

> renters can only rent if they can pay.

Well, I mean, where the word "landlord" European feudalism, this was not exactly the relationship. The landlord took a portion of the peasants production, but non-producing members of the community still lived on the land too.

I'm not sure what you mean by "special". But it's certainly not unusual for people to exploit other people, sure.
As a consultant, I have to use whatever video conferencing software that the customer uses. I refuse to install any of them on my work Mac and I use the web versions.

The only video conferencing software I have installed is Chime [1].

[1] yeah I know. How do you say where you work without saying where you work.
The secret is that if you’re good enough pretty much any company can be what you want. Most people don’t really know what they’re doing so if you are good and just build stuff that is useful I’ve found that people don’t really get in your way.

If you try to ask for permission and write up docs, etc etc then it’s a pain, but if you just _do_ it resistance becomes a lot less.
This is silly: the estimates are rounded, because there's huge uncertainty. It's a very long way away from "these plants will come online on these dates". Perhaps "2045 plus or minus five years"?

We all understand how difficult software development time estimation is, right?
Disruptions in supply chain cause food scarcity and/or rise in food prices. For one thing, if shipping costs 5-10x what it used to, it means food will be more expensive and some people may be priced out of buying it.
The prioritisation of the profit motive above all else is the defining characteristic of capitalism, so I think this distinction of corporatism is not meaningful. I would challenge you to find an era of capitalist economics where profit didn't lead to perverse incentives.
Introduction to Statistical Learning by James, Witten, Hastie, and Tibshirani is one of the most popular books for gaining a fundamental understanding of machine learning. All of the code and exercises are presented with the R programming language. In this repo, all exercises are completed with Python, the most popular language today for machine learning. Recreations of some of the examples in the text are also provided. Each chapter is presented as a separate Jupyter Notebook.
Implicitron: A new modular, extensble framewrk f. neur. impl. repr. in PyTorch3D
The poster above you (whittingtonaaon) proposed raising taxes on secondary, tertiary, etc. homes. That makes sense to me but "investors" looking for easy prey would surely hate on such solution. It's not like no one could have thought of this until now.

I do not say this with the US in mind.
Down voting is a way of expressing disagreement. Nothing anti libertarian about that.
One could very well ask for the source of the (default for a lot of people) belief that the lockdowns were a net benefit...
A Taste of Roc: a very fast functional language
You can no more be “a bit” corrupt than you can be “a bit” pregnant.

They’d just pocket the monopoly and continue BAU. More profitable in the short term.
Even just co-CEO organizations have usually been a disaster. Companies can and do delegate decision-making--even to the point of having relatively autonomous divisions. This can work reasonably well. It can also mean that the CEO is mostly involved in financial engineering (GE, private equity much of the time) or you end with warring fiefdoms competing with each other (Ballmer-era Microsoft).

Large companies can accomplish things that smaller companies cannot but keeping the ship reasonably on course is a really hard organizational problem. When I was an analyst and spent a fair bit of time with senior execs at tech companies, I often saw how much fragmentation and lack of coordination there was among different groups. But my wonder wasn't that this existed but that the companies were able to function at all.
There's no way to use that optimization if you need to be in two or more lists at the same time.
Yes, please stop posting ad-hominem attacks like that. If you have nothing to contribute beyond them, just refrain from posting.
I only use Zoom with chrome (because I don't allow their apps anywhere near me) and they are just barely usable there.

They made that very hard by pushing their desktop app. They also broke audio on Linux very often. Another long running bug is that after you've muted yourself in the meeting for long enough they start to think you did not give them microphone access and refuse to let you unmute yourself.
> Unfortunately, in Japanese cooking, there are approximately 100 times more cutting techniques and names.

And then proceeds to identify and name them using English cutting techniques and names.

There aren't "100 times more names". Every language will have those names.
The feeling is not past tense. I don't think many people disagree with you: the current precipitous drop in fossil fuel supply in Europe happened too fast.

It wasn't exactly voluntary.

All the more reason for haste in replacing&phasing out of fossil fuels.

It's better to do it on one's own terms.
No, because governments' ability to procure it for the needy is a very separable problem. But let me play Devil's Advocate: agriculture, the foundation of the food supply, is one of the most commoditized markets that exist. Does this bother you too? Why not? If it's because food is generally a smaller part of income, highly responsive to market pressure to keep prices low in addition to some stabilizing subsidies from governments, why can't real estate work the same way?
This will just push people to get their ISOs from other, less reputable, sources. Truth is only a minority verifies the hashs of their ISO. What Rufus should do is compile a list of known hashes for every untouched Windows release and then warn the user if they attempt to flash a tainted ISO.
I mean, plenty of them do, actually...

I agree with you, and I think what takes it apart is starting to think about the fact that humans are social, it is not really possible to be fully human apart from a community. The idea of an independent individual unreliant on anyone else as a starting point, which I think is the basis of this "negative vs postive rights" framework, is a myth, is not how humans work. The questions are what kinds of communities we want, how we want to relate to each other -- not whether to.
Ah, so you are in fact claiming that KKK can only ever have one motive for doing anything. I find that quite absurd. Notice that with all the words that you have written here not one of them is about the actual case being discussed, wonder why that is.
I'm not sure we have another decade for each nuclear plant to get built, either.
Sorry, this is a strawman argument. You just claim without proof that all of these people have no problem with some random right and therefore the argument is disingenuous?

There are definitely people that don't think a right to a free attorney should be a right. There are also people who think that it's okay for this to exist but doesn't necessarily correspond to the same level of a right as a negative right like free speech. These are entirely consistent positions to hold.
Most money in real estate isn't made on selling people 2nd homes. Unless I misunderstood your comment and you think corporations and investors shouldn't be able to own more than a single home at once(so landlord abolishment)?
Property crowdfunding (online trading of dividend paying shares in individually managed rental properties) has been a thing in the UK since not long after the the financial crisis.

This website[0] lists 18 companies in the property equity category, and I know of at least 1 more reputable firm not on the list.

The reality is that low yields, tax changes, and new regulations have recently made being a small time landlord a lot less attractive, which inevitably means big companies with economies of scale and tax efficiencies are going to start moving in on the industry.

[0] https://thecrowdspace.com/directory/real-estate-crowdfunding...
In the U.S. walking has even been criminalized to some extent for those in out groups. For instance, if 4 black teenage boys walk together in an affluent, white neighborhood they can expect police to stop them. Walking is so rare that a small group of people walking together is seen as something out of the ordinary. I think it’s bad for society to be set up this way.

https://illinoislawreview.org/print/vol-2017-no-3/the-crimin...
Teflon is inert unless you really overheat it.
Just now: 10,000 steps plus a scooter ride passed the boring parts of downtown which I'd already seen. Just ordered Persian food at a tiny place in a cute neighborhood there's no way I'd have walked to, and not on the subway line.
Because you need a home to live in, the same can't be said of securities.
Season with flax seed oil. People try olive oil and think seasoning doesn’t work.

The ‘unhealthier’ the oil, the better it will season!
10 years seems like a short time, what if we make it 30 years - same as solar? You would need to update it roughly once during your lifetime.

The other idea is having small communities that manage their own energy needs. Meaning 1MWh energy bank for 100 homes instead of 1GWh for 100 000 homes.
Every property tax I’ve ever paid has that property. At least the first one is lower than the rest. It’s frequently called a homestead exemption or a primary residence exemption.
Induction, on the other hand, works great with cast iron.
Just use flat bottomed pans on an induction stove. Works great.