skysight-inc/HackerNews huggingface dataset:
"Back in my cell, after the guard locked the door, I sat on my toilet bucket-where I could stealthily jettison the note if the peephole cover moved and unfolded Hatcher's sheet
of low-grade paper toweling on which he had printed with rat dropping, without comment or signature, the last verse of Ernest Henley's poem Invictus:

It matters not how strait the gate,
How charged with punishment the scroll,
I am the master of my fate:
I am the captain of my soul."
Why Resume Parser Is Still Your Recruitment Software’s Best Friend?
It said I was 16 years younger than I am. Which is nice.
Only in the 21st century does bare metal programming mean C. Back in the 20th century we used assembly, or microcode if we were doing the actual processor. C was a high level language.
You should add more information like benefits. A title like 'location-based social messaging' is very clear to me because I know many of these already. Why another one? Why did not of the others ever make it big time?
Wow. It really needed this response to the xkcd comic for the vision of Matrix to click with me. Matrix just went from "just another messenger who happens to have bridges to others" to "possibly the only communication software you’ll ever need" in my mind.

Although I was well aware of Matrix for years, that particular intention behind it somehow never got through to me.
Looks very useful. Your main website has this twice on it:
"Vanila crew is in love with Meteor.js, which is latest technology based on JavaScript (Node.js). It gives you fast, realtime, scalable applications which work on all modern browsers and devices."

It's possible that you wanted to make the second instance "It makes your applications fast, real-time, scalable and able to work on all modern browsers and devices" ;)
Let's see what happens to Rust in another 10-15 years. I suspect there will be people talking about it having too many features which make it hard to read and maintain and that they look forward to migrating to the new and simple "Mend" programming language.
Supporting a misbehaving NAND ECC engine in the Linux kernel
Types are being used to create those things. But it's not OOP as many people understand it. (Inheritance, everything via method calls etc.)
I’ve barely been able to keep my dog from going nuts with the quarantine + the California smoke we’ve had to deal with for months now. That and many other reasons. I don’t begrudge anyone their family decisions, but my partner and I definitely made the right one for our situation.
In the US you mean? Kid is probably quieter if can see the parent closer.
Well yes, C++'s destructor behaviour doesn't work if you don't use C++...
I think these questions about stack unwinding are valuable.

If you really do actually want answers, you should probably, in this order, (a) study the actual proposal in detail and not confuse it with an imperfect reference implementation, (b) check comp.std.c for previous discussions on the topic and maybe ask there, (c) see if there are other previous discussions involving the members who proposed this (maybe the standard committee has some semi-public mailing list or something?) and maybe ask there, (d) contact the email address given in the proposal. In all cases, it's probably a very good idea to stay as civil as you were in this post, not as confrontational as you were above.

I'm stressing that you should study the proposal because some of the things you got hung up before were not properties of the proposal but only of the reference implementation. Besides the longjmp issue, the dynamic allocation issue might be in this category as well. The proposal doesn't mention DEFER_ENOMEM, I think a compiler would have enough information in any case to allocate the needed space on the stack.
Soo, 5000 qbits, ey? Then why are not those D-Wave already owning all the bitcoins in the world? I mean the biggest encryption used by wallets are protected by 4096 bit length, which is just a shy below 5000. Isn't quantum suppose to fly in microseconds at cracking public key encryption for that length?

I call this snake oil.
That chart is highly confusing. For example, if a family has three children spaced 2 years apart, they would only contribute to the three children part of the plot for just over half the time that they contribute to something other than no children part of the plot.
Fast-rotating stars at the centre of the Milky Way could have migrated
Sourcegraph: Devs are managing 100x more code now than they did in 2010
I wonder if it is or will be possible to set this up without littering the repo with another configuration file.

In the past, I've done a couple one-off scans at https://lgtm.com/
TVs may be “smart” but they are becomingly increasingly user-hostile with regard to tracking and force-feeding advertisements. I want to have the option of using devices that respects my privacy. Hopefully, I’m not alone and there continues to be a market demand for sudh user-friendly products.
What Is Sortition?
Ask HN: How does your on-premise data analytics/processing stack look like?
I know that many companies and many data analytics or data processing solutions are in cloud and many can be also found in online articles. However I believe that there are many companies that can't use cloud and they have to do everything on their private, isolated infrastructure.

Also there are companies that don't have to deal with "big data" but they do need some data analytics solution, either batch or stream, probably for such companies some lightweight setup is enough.

I'm interested to hear how these companies/teams have built their data analytics/processing solutions, using what technologies etc...

The parts of the stack that are most interesting are:

1. What do you use for ETL (how do you import data to your warehouse)?

2. Do you have any kind of data quality reporting?

3. Which DB(s) you use?

4. How do you present your data?

5. What are the pros and cons of your setup?

Thanks in advance!
People should spend more time learning what OOP actually is all about, hint it isn't just MFC and Qt.
Show HN: Topic Play – a platform to discover educational videos and channels
You mean that we're going 2 decades back with the difference that XML based programming is replcaed with YAML?

Java people must have ptsd flashbacks
Which is what plenty of people do across the industry with C++ compilers, they code like C.
I thought the problem had some limited applications. Wasn't it something like modeling the quantum states of hydrogen?
It's quantum annealer, not a universal gate system

https://medium.com/quantum-bits/what-s-the-difference-betwee...
Assuming several subtitles in different languages, will the viewer be able to select a language? Or ideally even preselect one based on the location?
I think it's probably worth comparing NY to Madrid, for a counter-example of what could have happened if lockdown had been ended earlier.

There's a really good FT article on this here: https://www.ft.com/content/b9653470-8779-4037-86ad-96edfcd6f...

Overall, Madrid opened much quicker and is now in the grip of another outbreak.
Show HN: Negotiation as a Service
We just did a soft launch of crayika.com, to help small & medium sized cos who don't have a dedicated "buyer" role but use a lot of SaaS tools. We have a few customers, mostly referrals so far.
>"Violently average"

.. neither validated nor insulted.
1 - The tradeoff between latency, throughput and memory-use of tracing GCs is universal and language-independent. Some implementations may be better than the others, but I haven't seen an implementation that is good in all three aspects.

2 - I've seen this repeated on the Internet many times, but there is little scientific evidence, and the one available is quite contradictory. I recall a paper where authors argued that replacing the old-gen collector with reference counting actually improved performance. So this is definitely not universally true, and depends on many factors such as imposed constraints on memory overhead and usage patterns. It is easy to make GC good when you only create short-lived objects and allow it to use 10x more memory than needed. But things get pretty hairy when you also want low-pauses and low memory overhead and objects live longer (e.g. cache-like use cases). Also the number of reference counted objects in C++/Rust programs is typically orders of magnitude lower than the number of GCed objects in GCed languages, so even if ref-counting was less efficient per-object lifetime, it is not globally less efficient.

3 - Agree, but "value types" have been present in C/C++/Rust/Swift/D/C# and dozens of other languages for ages, so, unless you're forced to work on a legacy Java project, why wait? You can become productive in Rust in less time than they will be able to ship Valhalla.
Hey HN, I made a web app to discover educational videos. It shows you which videos are trending and the channels that are popular for different topics like startup, development, ..
My idea is to add a lot more topics in the future. Would love to hear your thoughts and happy to answer questions.
Where our economy is, for the young
https://imgur.com/a/W1rH6h9
Dynamic range of analog is still unbeaten without multi-exposure fudgery...
The soft I have the most performance issues are Firefox, LibreOffice and Aperçu (don't know its original name, but it's called that way in French -- Apple's PDF viewer). All of them written in different, non-GCed languages. Usuall the problem is abuse of abstraction layers, more than abuse of a GC. And your javascript examples are a good example of that. GCed languages tend to abuse dynamic allocation and dynamic dispatch, even when it's not needed (there is more garbage to deal with).

However I agree the idea only a few software need to run fast is bullcrap.
youtube tv is sold in the US, not in the UK. youtubetv subsidizes the cost of the dongle in the US and not in the UK. much like netflix also subsidizes the cost of the dongle. Apparently, google is valuing its ability to push youtube tv with it a lot.
Surely (even) if it was deposited here 2.5 million years ago, it would have taken an insanely long time to get here.
Sounds like different definitions, not not-even-wrongness. Parent commenter even mentioned it's akin to an accelerator.
That's already happening. You don't need to "move" people. More and more people live in dense cities.
They are still different: 'using', 'with' are tied to scope, RAII is tied to lifetimes which in turn can be tied to scope but do not have to. It also applies to every object and subobject transitively and implicitly, without having to implement some special protocol [1].

[1] if you are implementing something like a container and dealing to raw memory you might need to call destructors of subobjects explicitly, but because it is needed to correctly reclaim memory, it is almost always done and all standard containers do it already. On the other hand in python list doesn't implement the context manager protocol.
I'm going to post this as a top-level comment rather than an answer, so that nobody feels under attack. I don't know Kovid other than from being a Calibre user and from reading about him (mostly here on HN). But I do find many of the posts in this discussion, way more insulting and close minded than anything I have read written by him.
And again, my signal friends have moved to telegram.
aka "Find the JTAG" and upload someone else's precompiled firmware, it's way better than root access and just as safe in the hands of a novice!
The cloud is not going to replace local storage until low-latency, high-bandwidth internet connections become widespread and you can do iSCSI or similar with your cloud service. This is not going to happen anytime soon.

Until then, clouds operate on a best-effort basis, some of which rely on hacks or break common use-cases (I can't put a Git repo in iCloud for example, and it doesn't perform well with lots of small files, and accessing the iCloud folder from the terminal apparently has problems). Why is iCloud still not a supported target for Time Machine, Apple's official backup solution for macOS?
Looking at the Samsung TV ads fiasco, First Gen Google TV, new Google TV, Apple TV,

It seems the whole TV viewing experience, both hardware and software is still mess, just like it was 10 years ago. I guess Steve [1] described it best, the lack of Go to Market Strategy.

I sometimes wonder why cant we build a Tuner that works on all International market.

https://www.theverge.com/2012/11/29/3704270/how-apple-can-bu...
For a nerd? Probably not.
The Biggest Polluters Are Hiding in Plain Sight
Yes. Even putting aside the monetary cost of the seats (which if you buy second hand is fairly minimal - around £30 in the UK), the time-cost of researching and buying them, installing them (in yours, and grandparents' cars), taking them in an out the car if you're using the car for other things, doing up the fiddly catches on each car trip, is pretty high.

We have one child under two and I reckon it's probably cost a good (working) day of time in total, which quickly adds up when multiplied across the population. This should at least factor into the discussion when considering what the law should be.
Sigrok/Pulseview is also compatible with that fake Salae logic analyser hardware if you want an open source solution.

https://sigrok.org/wiki/MCU123_Saleae_Logic_clone
Not everyone could afford a horse before the automobile. Most people only had their feet. And modest families were much more numerous than today.
No, because they caught their cases incredibly early, and were entirely willing to aggregate pretty much all data they could get to track spread, and do things that would have caused riots in different cultures (like the US).

I mean, look at how little people trusted the Google-Apple contact tracing model vs South Korea where they actually track everyone using QR codes and get mobile data to trace chains of infection.

It's a very different culture, and it appears to be based on their more recent experience of pandemics (like MERS and SARS). Note that Montreal has done pretty well here too, and was one of the few places in the West with a SARS outbreak.
As I understood it, this is where herd immunity comes in. The term got a bad reputation due to some politicians wanting to archive natural herd immunity, i.e. just letting the disease infect everyone - and accepting the resulting death toll.

But in the end, herd immunity is what we want to archive - through vaccination, like we do with any other disease. So I believe if enough young, healthy people are vaccinated, so that herd immunity is archived, this will also lower the risk enough for old and vulnerable people so that restrictions can be lifted.

Of course what's true is that the virus will likely never die out like SARS did and will stay with us forever in some form. However, it will likely be less deadly (through mutation and our knowledge of treatment) and we can make it less contagious (through vaccination) - so at some point hopefully it can be managed like an "ordinary" disease and not like a natural disaster.

But this means the end of the pandemic is less clear-cut than if the virus would simply die out. So scientists and politicians will need to find good criteria for when the pandemic can be declared "over" and restrictions can be safely lifted without them having to backtrack a few months later.

What will definitely stay though are changes in psychology and personal outlook and a profoundly shifted overton window. Locking down all if society if a threat demands it is now back in the table of options. However, this doesn't have to be bad it's done in a regulated and democratic fashion.
It was sort of unloved for a long time which left the opening for something like iTerm to get popular in the first place.

I'd honestly would go back but can't give up the iTerm Hotkey Window (global hotkey, semi transparent terminal quickly slides out from the top of the screen).
The one example I gave in the parent comment already addresses everything you talked about.

Yes you can use a Python context manager (that's what you're referring to) to lock a mutex, but you can't pass that context manager as a return result of a function and be sure its __exit__ method will be called appropriately in the three situations I mentioned (immediately if result thrown away, at the end of the function if stored in a local variable, later still if returned from that outer function).

In fact I don't think you can return a context manager from within a "with" block at all, even accepting that the parent function will have to manually reuse it in another with block, because its __exit__ method will already be called in the inner function. Technically this is true in C++ too of course because the object in the inner function will have its destructor called, but its move constructor will be called first giving you an opportunity to clear out its internal state (this is why my example used a unique_lock rather than a lock_guard). Things are even better in Rust: the bytes of the object are directly copied to the new object's footprint and the original destructor isn't called, so you don't even need to set up a dummy "empty" state.

> The only thing that the c++ method does really well is memory management (e.g. unique_ptr), because free() can't fail.

Mutex unlocking usually can't fail (and if they do, there's usually not much you can do about it). Same with closing network connections. Closing files can fail, and for some programs it's very important to know when that happens, but for many others it's not important at all. Python's chained exceptions are very nice, but not so important that their absence from C++'s exceptions (or Rust's panics) makes those languages useless.
I think what's extreme is the amount of extraneous ingredients that are added to sliced "bread". These recipes are not "refined" to meet any criteria that have to do with quality of the product- they're only there to improve the ability of the product to return a profit.

In any case, let me be clear: I didn't say anything about Nikes not being true shoes. My comment is about fake bread. I also didn't say anything about who makes bread and for how long it's made. My comment is about ingredients added to fake bread that are not needed to make bread and are only needed to produce a product of inferior quality to true bread so that this product can be sold at a cut price and displace true bread in consumers' baskets etc.
if STL is OO then everything is OO.
Dear Github: I do not want to talk to sales for something listed on the pricing page for $21 per month. Thank you.
about as outdated as the uniform: https://www.jacksharp.co.uk/12603583-88977-photo-5

Assuming the Securitas of the time didn't dress like that, this'd be more up to date: https://cdn.unitycms.io/image/ocroped/1200,1200,1000,1000,0,...

Massey-Harris is now Massey-Ferguson, but still makes tractors and manure spreaders. It's a single person job now:
https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Ma...

The steps across from the Alhambra are gone: https://www.google.com/maps/@46.2028417,6.1463583,3a,90y,180... but Chillon (like Lavaux?) hasn't changed much :-) https://www.google.com/maps/@46.412932,6.9292024,3a,75y,180h...
D takes the spirit of RAII slightly further too in having scope guards as a first class concept.

Not as safe as proper RAII but very useful at the site of declaration to write scope(exit) close(file); or similar
The problem is, you can't know in advance whether a given piece of code will ever need to grow in the future or not. I've seen way too many "one-off POC prototypes" eventually be used in production because they did the job. And then they need to be updated / extended a few months later "because we should deal with that new corner case too, now".
There's also a polyfill
https://github.com/webmachinelearning/webnn-polyfill
I've mentioned it before, but Reddit is so incredibly, unbelievably user-hostile nowadays that I don't understand why people use it. I understand that it provides some with a sense of community, but they've shown time and time again that they don't care what you think, they only care about what they can extract from you. Communities not advertiser friendly are destroyed. Others are quarantined, and users shadow banned for showing wrongthink. They no longer let people view nsfw boards without logging in, just so they can gather that juicy data on people. The majority of top posts come from the same old users, generally paid content creators.

It's really time for a good alternative to Reddit to arise. They are ready for disruption.
It's amazing how entitled and ungrateful some people are. If you don't like it, don't use it, or fork it, or patch it, or whatever. Just don't spew vitriol at someone developing free things for the benefit of others.
They provide the compiler metadata about a type. For example if you have a std::vector<int>, there is a value_type trait for this that deduces to int, i.e. 'this vector holds ints'.
> But recognize that everything contains the seeds of its own destruction.

This doom and gloom scenario has been around for centuries. In the beginning of the 20th century people were worried about overpopulation and how it was going to make the whole world starve. Now we are worried about being too rich for our own good and the defects of our lifestyles eventually killing us all. In 100 years they will see us as completely paranoid.
CPython uses reference counting and gc. It's the worst of both worlds: the expense of refcounting, and faux determinism until some innocuous code change causes you to hang on to a reference.
My attractiveness dropped 2 points when I put my glasses on.

Interestingly enough no other metrics were affected by wearing glasses.
3D Biometric Authentication Based on Finger Veins
Funny but so true. I sometimes joke with my wife we can't have another child because we would need to buy a larger car. We have three kids, 18, 8 and 4 so it is already uncomfortable.
All the cars I see coming, I see them before they arrive
Okay good catch. Care to submit some PRs? :) I could use your help
Cambridge University Makes $4.5B Fossil-Fuel Divestment Promise
This is a fallacy of aging developers. Sure, some concepts resurface, but the same way you can't step in the same river twice, things are never the "same".
One example would be functional programming - sure, the concept was there since the 50s, but what did they use it for? What was the ecosystem? How did the functional aspect affect the tooling, the libraries? In these terms, FE itself is not revolutionary, using it in certain contexts, and with certain frameworks it is.
Only 20 years late, to the point where I think the design is almost outdated already (concepts can almost be done as a library if you provide the right tools a la dlang std.traits)
> permaculture farms

Where are these magical permaculture farms that solve all problems and are cheaper to produce than every other technology out there?

It would be wonder that such a solution would exist and literally no single country in the world has converted to it.
That's the point of the website. To show how govs an companies use AI to try and classify you are normal or not.
In my opinion living on the country side is a luxury. Sure, feel free to live in a small town, but please pay for all the externalities yourself.
> # uncomment for a colored prompt, if the terminal has the capability; turned off by default to not distract the user: the focus in a terminal window should be on the output of commands, not on the prompt

:eyeroll:

What a horrible attitude. The point of coloring is precisely to help users focus on the output that matters, rather than forcing them to parse and reparse a chunk of stuff they don't care about. If the prompt is colored, my brain can filter it out much faster than if it isn't.

By all means disable color by default for backward-compatibility purposes or to err on the safe side, but don't lecture people with rubbish arguments...