skysight-inc/HackerNews huggingface dataset:
> I don't see how those two statements are connected at all. Smart people don't even trust statements coming from American politicians, and Iran is a second-world country.

It's not like every country that used to be under the USSR's umbrella has untrustworthy politicians. There tends to be more than average, yes, but that's true for the US as well.

Actually, does that include Iran? I think you might mean they're a third-world country.
Wow that is awesome, thank you! I'll have to check it out.
Suppose you've just had a newborn. The doctor offers to perform surgery on your child which 10% of the time kills them, and 90% of the time extends their life expectancy 30%. Do you agree?
That does sound like the upper classes saying no foreign holidays for the hoi polio - a return to wakes weeks.
Nice Work, Post looks good.

It also sounds much better than "Paring Malformed XML" ;)
Yo if you can't solve a problem for now, then temporarily focus on other things. Even Einstein (or whoever that person be) once said that you can't solve problems in the same headspace you've came up with them.
You fellas can be the exception in that you're not inept but you found a use where nobody else really has (or discovered).
I don't know whether Lombok routinely generates source or bytecode, but its “delombok” command can definitely generate the equivalent Java boilerplate for whatever you use.
Okuna.io
mIRC could not do inline gifs. You had to draw everything in ascii. Is that not a reason enough to spend several $k in a device to handle this?
I like it too and I think due to connecting the mail app to my gmail all my notes end up on gmail under a "Notes" tag which is very convenient.
Jack, a former arms merchant, who would sell anyone a gun, and land scammer who conspired with a lawyer to steal the land of Monterey, stole the recipe and named it after himself. https://youtu.be/xvJYKXYTzHM
If you don’t know about it already, Apple has a C extension for closures that they call blocks: https://en.wikipedia.org/wiki/Blocks_(C_language_extension). They’re incompatible with function pointers, though.
HTML Isn’t Done [video]
It's not financially possible to fix this quickly. You're talking about tens of trillions of dollars in new housing, at a minimum. Then all the commercial, infrastructure, etc. on top of it.
I often tell my voice assistant to STFU and how useless they are... funnily enough Google responds and accepts it has not ironed out all of the bugs.
An interview on what makes Postgres unique (extensions)
This has the opposite effect that you think it will have. A person with many, many enemies would have many prospective buyers which would drive down their expected borrowing costs, which then materially benefits them. It's the same reason why the cost of capital of companies disfavored by ESG mutual funds is higher (and they are thus punished) -- fewer people are willing to buy their stock.
They have export features so in theory you’re not tied down.
Just did the same thing. Greatest benefit of standard notes is also that the notes are just plain text.
Where ex.act.ly can I buy consumer debt?
It’s a GNU extension, and not quite the same as a destructor, but __attribute__((cleanup)) might be useful for your use case.
The only time I ever use it is when I'm cooking and my hands are dirty (and usually just to get some measurement conversion), or when I'm wanting to start navigating somewhere quickly before driving. I've found it wholly useless, frustrating, and slower in all other circumstances.
Cinnamon (on Mint).

The defaults are, by far, the closest to my needs.

Also, more importantly, I've been using the "traditional" desktop for 2 decades and I just can't change my way - the taskbar+menu is my crutch.

On lower end machines, it's xfce.
Years ago, someone showed me a python tool for build automation that was written in an imperative style although it was declarative underneath. Like a builder pattern. That looked pretty promising, but I have misremembered then name and so can’t find it again.

I’d rather have something like that for infrastructure management.
Is there anything like this that is Vim-centric? Pretty please?
GCC doesn’t, but Clang does: https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
I use Siri to set alarms and timers since that's far and away more convenient than opening the app and switching to the right tab and futzing with the time dial.

If I've got my phone in my pocket and my hands full it's helpful to be able to tell Siri to turn the flashlight on.

Aside from that I don't think I've used it for much. I get the weather from the radio already, and don't care to search the web with a voice assistant. It'd be nice if she'd read me my text messages but she flatly refuses to do that.
> Isn't that exactly what an effective shill would say?

Of course. There's no telling how deep this conspiracy to point out publicly available facts goes :-)

> No requirements can ever prevent an accident.

That's not what I meant by requirements. Boeing came up with a set of rules for what the software must do in each situation. This is called the requirements specification for the software.

Anybody who contracts with someone to write some software comes up with such a specification.

> What other underlying reason could there possibly be for MCAS to exist at all?

There's nothing at all wrong with the concept of MCAS. There's a long history of flight control augmentation in jet airliners to make them behave better. In fact, you cannot control a jetliner at all without augmentation, it's too fast and heavy. It's the implementation that was faulty.

The B-17 was perhaps the largest successful airplane with no augmentation, and a strong man could barely handle it (source - my dad was a B-17 pilot).

The 757, which I worked on, has fully powered controls. The control column just opens and closes valves. In order to prevent the pilot from inadvertently making violent maneuvers a hydraulic "feel computer" was added to push back on the stick to fake the behavior of a manually controlled system. The forces it imparted had to be dialed back to accommodate the advent of female pilots, which caused some worry that the men would overcontrol the airplane. Fortunately, that turned out to not be a problem.

> OK, but do you see how someone could come away with that impression?

I not only never defended MCAS' design, I wrote that it was faulty several times. You should ask the someone why they conclude the opposite.
On certain platforms there would be no equivalent function.
Yea, if we're talking about money supply I suspect the phone comparison might be apt in a slightly different way.

I haven't seen anyone touch on it in this thread, but I've read opinions where people have blamed companies for hoarding all of the newly available cash, especially for stock buybacks.

If there's any truth to that, it would make sense, since companies can usually get better rates and first dibs at market level loans/ bonds/ etc than small business or individuals.

In the phone analogy, (if we assume there's some value having multiple phones) this would be like a new dialing prefix being released, and companies buying up the numbers hundreds at a time at bulk rate discount, leaving little or no additional numbers for individuals.

So supply was increased, but the businesses hoarding new numbers prevents any quality improvement if the network.
For non-toy projects, those strengths greatly outweigh the language's flaws.
Corner Beach front plot for sale in Strandfontein
Corner plot for sale
416sqm
Beach front plot
R795 000
0836247129
info@lakeproperties.co.za
http://www.lakeproperties.co.za
No. Doctors are not bureaucrats. They have a 1 on 1 relationship with a patient and they do want to help them (this fact seems lost on many people). You don’t need to incentivize them to do the right thing, it is more that perverse incentives interfere with how things should be, for example performing pointless revascularizations.
But here's a question - supposing that this functionality was moved into a hypothetical library "pe.dll"/"pe.exe", how would the kernel load this library or executable?
Wouldn't one run into a catch-22 situation?
I use Google assistant to set reminders. It's so much more convenient than clicking through and typing the same thing on my phone especially or even my laptop. Literally works in 3 seconds. It's great!
I've had better luck with patterns that take lambdas (and internally do the try-close) because they're impossible for users to screw up.
I agree it's a much bigger problem than just the boots on the ground watching too much 24. But the "September 11" focus in the latter half of your comment is itself part of that problem. If you're talking about historical effects, at least refer to the date with the year attached.

FWIW "copycat attack" is just yet another minimally-plausible scenario that propagates fear.
War Is a Racket, by Major General Smedley Butler
Nixon killing nuclear space propulsion for no known reason? You mean the Orion project and thousands of nuclear bombs in space? I’d say keeping space nuclear weapons free in the face off with the Soviet Union counts as a known reason.
I've tried a bunch of markdown editors and writing tools (Ulysses, Ia Writer, Byword, etc.). I keep coming back to Vim for writing and Marked 2 for previewing and converting to PDFs, HTML, Word, etc. Is Noted just another markdown editor written in Electron or does it bring something truly unique to an already crowded field?
https://wikipedia.org/wiki/Victim_mentality
I was a big Apple Notes user, but I've read horror stories about losing notes in upgrades, which bothers me. Exporting notes for backup is tedious, too. I've switched to Notion for notes and it's been excellent minus one thing: it's slow to start. Otherwise I haven't really missed Apple Notes.
What does Vim-centric mean? Not asking to disagree, just wondering what this refers to. Thanks for any clarification.

I don't use vim, so it's just a matter of curiosity for me - but it's always interesting to hear what kinds of tools other developers like to use.
I've used a few pojo-gen libraries, but they've never had good integrations or workflows with IDEs, and they usually led to a flakier build. Editing the definition file was never as good as editing a real class.
The End of Babies
Yeah, I've been eyeing that as a good gift for family. Or myself. I like the old-school stuff that isn't tied to movies or whatever.
Ethereum and Computer Language
The skill floor is under the house: I have a 3-series BMW that was having odd engine hesitation but not throwing any codes. The dealership's mechanics could not fix it! They ended up throwing a ludicrous amount of parts at my car including some very expensive items such as a new transmission, new transfer case, new fuel injectors, plugs, coils, fuel pump, wiring harness. The bill, which was covered by the warranty, totaled over $10,000 and they still had not fixed the issue. They finally called in a guy from an Audi dealership and he fairly quickly diagnosed the problem as a faulty oxygen sensor. They had the car for nearly 60 days while I drove a brand new 4-series loaner car. So BMW did right by me, but holy crap I have never ever seen such lousy troubleshooting!
Another point on smaller cars. Robotaxis allow tuning the size of the car to the workload. Commuting? Two person car. Shopping with the family? Sedan. No need to make everyone pick a car that meets their general needs any longer.
Havana celebrates 500 years of foundation
(You want for_each not map, by the way)
I felt that Evernote was becoming increasingly constraining and slow/flaky, so after trying a few alternatives (text files/dirs, SimpleNote, Apple Notes, BoostNotes, Zim, etc), I've made a leap of faith to Joplin.

My requirements: multi-platform, multi-device, auto-sync (more than 2 devices in free ver.), tags, webclip-ability, preferably markdown format with code rendering. Text diagramming such as PlantUML is a big plus. The idea of owning my notes is very appealing.

My early attempts at synchronizing encrypted notes over OneDrive experienced repeated hiccups (stopped syncing for no apparent reason), so currently trying without encryption. Win10 and Android clients seem to chug along just fine, but the Linux client shows weird errors in the log - trying to hunt down the root cause.

The fact that Joplin is WIP and open source is encouraging. I'd like to be able to have separate DBs, e.g. for personal and business use.

ADDED: forgot to mention that the lack of dark mode on Windows EN client was a constant source of irritation.
Every time an article on configuration languages gets posted here there's always a chorus of pooh-poohing. This is a solved problem, just use YAML/JSON/XML/whatever. Just use the same language as your app. Just use bash.

I don't understand why people hate on new languages so much. Learning a language is pretty easy, at most a week or two of concentrated effort. On the other hand, we put years of effort into software projects. If learning a new language would make us 10% more productive with a sizeable chunk of the work, that's a HUGE WIN.

Configuration at scale is something new and we don't have good ways of doing it yet. Inventing new languages and tools to make it easier will be hugely rewarding; WAY more than a 10% improvement. Some of the stuff we invent won't be perfect. So what? Let a thousand projects bloom, we'll see what works and what doesn't. That's how our profession advances.
The URL points to a footnote and should be changed to http://www.uvm.edu/~tstreete/romantic_chasm.html
It’s a bit orthogonal to monomorphization, but I believe C++ compilers can occasionally deduplicate identical template instantiations, where “identical” means they compile to the same assembly even though the types are different.
Author here. I write this article to clear up the discussion about Ethereum prospect. There's a lot of hype and attack. I hope this analogy can help people find common ground.
Interesting read. Thanks for sharing
Honestly, they need to put it into layman's terms.

The exposed function calls of an API are meant to be implementation-blind.

Let's say car-company A builds the first ever car that's operated with a steering wheel, gas pedal, brake pedal, clutch pedal, and shifter.

Then, Company B comes along and - both to create a complete control system for the car AND to potentially benefit consumers who are already familiar with those controls - also uses a steering wheel, gas pedal, brake pedal, clutch pedal, and shifter.

The steering column and its inner workings are completely different. The gas pedal activates a V8 combustion engine instead of an I4. The clutch pedal triggers a dual clutch for faster shifting between gears. The brake pedal activates disc brakes instead of drum-brakes.

The appeals court is, in effect, saying that Company B has violated copyright because, when faced with the same problem, they came up with a solution that looks very similar on the outside. They turn a blind eye - willingly or unwillingly - to all the new engineering that went on to improve the product and create a new expression of an automobile.
It's Arabic script, though, isn't it?
> but at least the @Data annotation makes it much more readable IMO.

Record types for Java are being worked on, and we should be getting them hopefully at some point in the (near) future.
This can be tricky. You can end up being liable for income tax of the debt that's been forgiven.
The only thing that makes me keep looking for an alternative to Apple Notes is search.

1. You can't restrict search to just one folder.

2. You can't use tags (would be better than folders) and search by them. I have a partial work around (I just type #tag and search for that) but it does't work that well -- the search correctly filters for "#foo" but shows "foo" highlighted in the sidebar...and doesn't scroll to the match.

A small amount of additional functionality would pretty much nuke any need for Evernote or any of these other apps (though exporting is...tedious).
I have been using Notable.

https://github.com/notable/notable

https://notable.md/
Super great, super interesting to cheaper components for the i/o. And bonus for me, I discovered the Recurse Center while reading and clicking. https://www.recurse.com/manual
One of the greatest audiobooks, too. Narrated by Derek Jacobi, so you know it’s top-notch.
Yes, it cannot be done in a platform-independent way. That's normal for quite a range of things that C is still more than capable of doing.

quadmath isn't supported by every architecture or platform. That doesn't mean the compiler is stuck and can't make use of it on the platforms that do support it.

> Whilst this can't be done in a platform-independent way, C does allow you to do this, doesn't it?
> Power lifting is a specialization.

Starting Strength is not powerlifting, and strength is a general adaptation. The fact that you do not know this makes me think you haven't read the book, and therefore are not in a position to argue against it.

> Few power lifters can do calisthenics staples such as muscle ups, flags, and front levers.

These are skilled movements and must be trained. If you're stronger, learning to do these things will be easier and quicker. (Since they are ultimately strength-based movements, as are most things, and strength is a general adaptation.)

> So, since the barbell method is not the only type of strength

The only type of strength is to produce a force against an external resistance. That's what strength is.

> Linear progression is dangerous. Within 8 months, a beginner will be hoisting hundreds of pounds in their squats and deadlifts.

Good, that's the goal. Their bodies adapted to the external stresses and became stronger. Now they've grown and are physically capable of lifting hundreds of pounds. How is this a negative?

> Not all of them will have proper form

We're talking about four basic movements here. Anyone that is persistent and possess enough intelligence to read SS (and is young enough) can, in fact, do these movements. Certain cases do need a coach, but that's the exception. (Except for very old people--they seem to require coaches.)

Anyway, I don't really understand your thesis: again, the data is telling: weight training is just about the safest form of physical activity. It's also just about the only form of physical activity that lets you precisely, numerically increase the weights such that you become stronger in a controlled, measured way. If you really believe that doing gymnastics (muscle-ups, flags) is safer than squatting, then you're delusional. (And the data strongly agrees with me here as well: injury rate for gymnastics and gymnastics-like sports (cheerleading) is rather high.) If you believe the physical benefits of doing gymnastics exceeds those of weight training, you're extra delusional. (No incremental loading, the lower body consists of muscle bellies that are just too large to load effectively with bodyweight.)
Well, I'm specifically saying that it's not sure to be wasteful compared to a more informed decision.

That's a general fact about the world, that making decisions on incomplete information does not necessarily produce worse results. Sometimes things turn out better than you expected and sometimes worse.

People are often significantly biased, but that's separate from the issue of not taking "everything" into account.

It also seems obviously wrong to say that a negative externality is or should be considered in isolation. It's just silly to say that people who experience negative things only experience negative things or that any category of things that includes negative things must be net negative.
Idiotic. Written by someone who has never come within ten feet of taking a risk in their life.

Of course the majority of entrepreneurs don't get rich. The problem is that it's impossible to know in advance which ones will, and the ones that fail essentially sacrifice themselves for the benefit of the collective.

What a patronising piece by a complete know-nothing journalist.
Yes, although it's not usually a case of doing the same thing with new tech and getting better results. You'd have to have some hint that oil might be there from the first survey.

But my experience is mostly not-seismic, so I'm not sure how the survey parameters would be adjusted for a revisit.
Somewhat meta but I don't think I've seen a relatively popular story here that has the majority of the comments gray before this one. Did this article strike a nerve or something?
Ok, so the use case you have seems to differ from how dynamic libraries are currently designed: if you have a plugin interface, you’re the only one who controls loading (and hence unloading) so it makes sense to have those operations actually revolve around your whims. But with dynamic libraries you’re not necessarily the only user of that library, so depending on dlclose to actually unload the library is not really something you can do.
This is clearly the worst crowd possible, except maybe people with speech disabilities, to ask this question. Just look at how many people don't like it.

I really can't make myself talk to a machine. I even abhor the phone answering services that insist that I speak instead of punching numbers. I my household the only person that interacts with the Echo/Alexa is our 3 year-old daughter. She finds it funny.

On the other hand, the voice assistant devices are selling like crazy, so people are interested in them.
less costly can still be enormously costly, and young people don't generally have much leeway either
Ask HN: What's your opinion on software patents?
What do you think the pros and cons are? Have you had any particular positive/negative experience involving software patents?
I use Siri for timers and alarms; ask for the weather, and for, sending text messages and calling when I'm on the go. My GF has been a heavy user of voice transcription on her phone, but when she got an Apple Watch she really ramped it up. It is a pretty good way to use the watch, especially if your AirPods are connected to it.
Stenting costs an average of $25,000 per patient; bypass surgery costs an average of $45,000 in the United States. The nation could save more than $775 million a year by not giving stents to the 31,000 patients who get the devices even though they have no chest pain.
I found that Notion had great features, but I found it to just be terribly slow in general. The app takes upwards of 25 seconds to open on my phone, and even on my computer where the app opens quickly, I still can't flick back and forth between different notes without the app trying to re-sync with the server and slowing everything down.
For me, that's not what distinguishes a product from a feature. There are a lot of paid Windows apps that Microsoft could roll out any day, but they're still products, by which I mean a discrete, usable thing that people are demonstrably willing to purchase. POS terminals are definitely products.

As a contrast, consider Glympse. They started out in the early days of smartphones doing location sharing. Or Swype, with better virtual phone keyboards. Or Shazam, for music identification. All of them were interesting features with novel tech. None were products, though.
Apple Notes is wonderful until you decide to replace your MacBook with anything else and attempt to get by with the painfully slow iCloud web version of Notes. The same goes for Apple Reminders.