skysight-inc/HackerNews huggingface dataset:
Do you have a tutorial or article you recommend to read up on x-modifier?
Beyond that, the stuff is often badly made and might accidentally have much larger amounts. https://www.scientificamerican.com/article/hundreds-of-babie...
Funny you should mention that. For my (disclaimer:unfinished) PhD I did a literature survey including 17.000 publications from 1960 to 2018 in order to find a definition of object-oriented programming that would allow us to improve on our fMRI research designs.

It turns out: some 95% of all official ACM/IEEE publications mentioning OOP, never explain what they mean. Some even have oop in their title but then just explain some crude java library, never explaining why oop is a good fit for their problem to begin with.

Finding a good definition is REALLY hard, but there appear to be two departments, outlined perfectly in the book "Object thinking" by David West:

1. Formalist (G. Booch et al.): Object-Oriented Programming is Programming with Objects, Classes and Inheritance

2. Hermeneutic (A. Kay): Objects should be inclusive, are a recursive projection of a cell-like organism metaphor.

Many try to mathematize the idea, use it for analysis and to validate programs, derive some sort of object calculus and care about the mechanisms. Others (the hermeneutic camp) where more about how objects do or do not support your conception of reality so that you can model and simulate it using rocks that we tricked into exibiting calculative thinking.

I found that one ubiquitous definition (Kay's infamous "messaging, local retention and protection and hiding of state-process") isn't helping at all, but people have been struggling to find a clear and consicse definition, which is why Booch and Kay are always put forward.

This is the only thing I ever got out of it:

http://pi.informatik.uni-siegen.de/gi/stt/38_2/01_Fachgruppe...
I'm sure a lot of people continued to keep quiet about their hobbies. Admitting you were doing something against the rules all along when they change the rules to make what you're doing ok seems like a great way to find yourself under scrutiny when they change the rules yet again.
Brain Speed Games to Improve Skills
I've had luck with digital ocean by sending friends emails (who have accounts at major providers) and having them mark it as not spam a few times over the course of a week or two. After that, it worked without issue.
Would have had the same problem if the rewrite was called 2.0 instead of htmx. Hmmm, reminds me of the Angular 1 vs 2+ conumdrum (for which many said renaming would've been better).
Social media platforms have been working to minimize effects of false news for several years now, and such measures are expected by politicians and the public.
Great book. Another interesting wrinkle that’s been somewhat lost to time is that (as the book documents) NT was developed simultaneously on x86 and a RISC architecture (MIPS I believe).
Even my old MacBook Pro 2012 in BootCamp is very poor under BootCamp. Getting the right drivers for it is the worst bit because who knows whether I should be using Bootcamp 5 or 6? The display brightness and volume keys no longer work. The discrete GPU is used all the time so battery life is very bad.

The touchpad works fine though!
If they're messing about with quantum, they really need to be licensed quantum mechanics. Not just anyone should be allowed to touch this stuff, you know... ask to see their certification! ;-)
For sites where a static-site generator will suffice, there is Forestry[1]. It puts an editor-friendly frontend on top of Git. I have thought about this for a few projects that involve folks who aren't very tech savvy, but none of them have gained much momentum (for other reasons), so I've only given it a cursory look. It seems pretty well put together, though.

[1]: https://forestry.io
Not to splice hair, but Google isn't just "surviving", so the amount needed for DDG to survive is probably even smaller than that. They don't need to be as profitable as Google Search (which is much more profitable than the company as a whole) to do well.
> Very few professional developers code in vim or notepad

Notepad++ and vim are the 3rd and 5th most popular development environment according to stack overflows 2019 report [0] and I and many others I know use Vim at least.

> IDE knows types of things, type `myobj.` and you'll get a suggestion list with methods of that class callable from the current context.

I've never used notepad but Vim absolutely supports omni completion [1].

[0]: https://insights.stackoverflow.com/survey/2019

[1]: https://vim.fandom.com/wiki/Omni_completion
You care about that now?? I don’t remember the left up in arms about President Obama’s EOs.
$28M seems like an awful lot for a static site generator. The issue I see Gatsby facing is that the poor developer experience will catch up with them, regardless as to whether they expand their ecosystem (plugins etc). If the developer experience isn't improved, I doubt their money will convince '1%' of all websites development teams to make the switch. Especially if this thread is a good approximation of the mood towards developing with gatsby.

However, it's much too easy to join in with the typical HN cynicism to shiny new things. Maybe Gatsby will surprise us and become a contender within the CMS space before long.
And the winners are:

- 2x double-free

- 8x NULL pointer dereference

- 6x general protection

- 6x slab-out-of-bounds access

- 14x use-after-free access

Naturally it was only due to the current shortage of those mythical C developers that never make memory corruption mistakes.
> The single largest case of voter fraud in this countries history happened in North Carolina in 2018. That was committed by a Republican.

The Chicago “Democratic Machine” laughs and says “hold my beer.”
I don't think the idea of sending 'random' snippets of HTML to a browser and injecting them in to the DOM is inherently bad, and loads of frameworks have done exactly that in the past, but I would say that it does mean you have to be extremely good at managing your CSS. If something can be dropped in to the DOM anywhere where there's an hx attribute that could make managing the cascade specificity pretty tricky.
They’re a solved problem in the sense that the tools exist but that still has an ongoing operational cost to correctly setup, secure, monitor and test – and there are plenty of examples of expensive failures or security breaches caused by people thinking it was an easy solved problem.

Deciding whether you get enough benefit from doing that yourself is a classic business trade off which any experienced engineer should consider.
After ES6, I jumped at the opportunity to write classes in javascript, but lately I've realised I barely write classes anymore, but I write a lot of functions that return functions. And this example is perfect for that.

For example, I recently wrote this:

const labelizeElement = ((element) => element.type.replace(/\s+/g, ''));
const labelizeRelation = ((relation) => relation.type.toUpperCase().replace(/\s+/g, '_'));

const groupByLabels = (labelizer) => (set, element) => (
set[labelizer(element)]
? { ...set, [labelizer(element)]: [element, ...set[labelizer(element)]] }
: { ...set, [labelizer(element)]: [element] }
);
const groupByElement = groupByLabels(labelizeElement);
const groupByRelation = groupByLabels(labelizeRelation);

I needed two functions that did almost the same thing, but not quite. I don't want to write a ton of nearly-duplicate code, so instead I extract the bits that are different, and write a function that I actually need.

So yes, I'm inclined to say that only mutable state needs a class. And the more you get used to working with constants and immutables, the less mutable state you're going to find.

I used to be a big fan of OO, but somehow experience seems to have landed me in the functional programming camp.
"I can use this wrench to drive a nail, what would I want a hammer for?" is basically how this reads.

I'm not saying software can't be written with asyncio, I'm just saying curio and trio are better.
This is also the approach taken by Nim and D, and it is known as the UFCS (Uniform Function Call Syntax)[0], and I agree - it's the best of all worlds.

[0] https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax
What does task manager say is causing the CPU to be used so much that it overheats and thermally limits itself?

Have you used Sysinternal's Process Monitor or Process Explorer or any of the tracing tools already built into Windows to see why it's slow?

If you've got some service running behind the scenes and keeping the machine busy, of course it'll be "slow".
Clothing Catphished Again
Have you ever bought something that looked nothing like the picture
> * Post-Enlightenment: Overusing/abusing parser combinators -- DSL all the things!! -- but all the while, perhaps realising their limits/complexity class.

Have you looked at the Rosie Pattern Language? I think it's quite an interesting attempt at a more "high level" modern pattern language. It's more human-readable and tries to make adding tests as easy as possible (given how monstrous regexps can get, I think the importance of that shouldn't be underestimated)

https://rosie-lang.org/blog/2019/07/18/practicalpegs.html
Courts aren’t part of the executive branch. Independent judiciary is supposed to mean something...
When I played Bioshock Infinite (2013) I had wondered if the Boys of Silence were conceived based on this idea.

https://bioshock.fandom.com/wiki/Boy_of_Silence
That's so weird. I thought it was just a family walking together at first, but then the details are so similar that you get a creeping feeling of unease. I would bet that the colors were changed manually so it was less obvious that the same people appeared in the photo twice.

If you look just slightly to the right of center, it looks like a partial image of the same woman appears again, weirdly cut off and out of scale (just her left shoulder and arm).
Ah, I wondered where it originated. Thank you for that bit of info!
Their previous business was diet supplements.
That's not how the law works. If you don't touch it, even if you have the ability to do it, you remain a PLATFORM not a PUBLISHER.

Any platform has the ability to modify anything on it. Does that make them tacitly responsible for all the content on it? No, that is just silly, and that's the way the law looks at it too.
I dislike Google as a company but their search results are orders of magnitude better than the competition. DDG or Bing are, to me, very bad (aren't they almost the same anyway?)

It's unclear why that is, and why search is so hard, but obviously it is.
Math is about learning how mathematical language is applied to problems. She is incorrect about how the math is applied. Ergo she is wrong. Her intuition is on the right track.

The only "whole" in this case is the entire set of students (or seats or whatever it is that is being talked about).
that only works if you are in a context where you can deduce the type from ctor arguments, which is definitely not all cases (for instance, storing as a member and initializing in a ctor, etc...)
> threading model says that const member methods are thread safe

that's only true for standard library objects, although it is an useful guideline for all code.
Social Media Usage Is at an All-Time High. Could Mean a Nightmare for Democracy
Best Tech Website
you can visit https://www.techxiphoid.com/
Naturally. Where are they? They should be the ones developing operating systems, not these charlatans.
> Even naming it "Windows Subsystem for Linux" is an insult…

The developers of WSL have said* that was mostly a legal concern. Calling it “Linux Subsystem for Windows” (listing “Linux” first) has wider implications for copyright/licensing:

> Just who is allowed to call a product or service Linux, anyway?

> Linus Torvalds has an answer for that: Nobody. Not without his say-so.

> The term "Linux" is a trademark and Torvalds owns it. His assignee, an organization called the Linux Mark Institute (LMI), is empowered to collect licensing fees from companies and individuals who want to use the word commercially.

> - https://www.infoworld.com/article/2671387/linus-gets-tough-o...

*I think it was during a Microsoft Build 2020 Q&A with the WSL team, but I can't find the video on YouTube.
rk9619090@gmail.com
> Memory leaks are not a concern as Nim uses one of several available garbage collectors. The new ARC option works with reference counting instead of a GC.

Using "no memory leaks" and "reference counting" in the same sentence is #fakenews. Reference counting leaks cycles unless accompanied with a tracing GC (at which point reference counting makes little sense).
Here's something that I think was written in the early 1990s. Shows that the leopard hasn't changed its spots much: http://www.davar.net/HUMOR/STORIES/MS-CUISN.HTM
> c) Unsurprisingly, I find DDG's search results good enough. I rarely go to Google, and only when DDG fails me.

Same, my problem is that whenever I search for something that isn't english DDG can't find even the most basic stuff. Aside from that the migration has been pretty painless for me though so I have my hopes up.
Impossible to prioritize which risks to address without considering difficulty and resources.
While not bad advice, I feel that this post does a very poor job of explaining when and why to apply it. The original class, while certainly inefficient, exposed fields and memoizes results, the final function does not. He’s combining two pieces of advice - don’t over complicate your design, and don’t create classes for a single use function - but neither one is demonstrated all that poignantly here.
That could be the answer to the question which was actually asked but if you read the thread again, notice that you’re arguing against a claim nobody made.
The annoyance of trying to connect to a remote system and the entire desktop and all Finder windows locking up whilst there is a network request is the most annoying issue. I can't understand why it wouldn't make the request in a thread with a callback on success/failure - instead it seems to be in the primary thread and therefore hang the machine until it decides it can or cannot interact with the remote network share. Pretty shoddy.
Right, but it's kinda annoying having to turn it on and off, as it remembers and I keep forgetting what I used last.

If I'm searching for programming stuff or similar, I want it off. If I'm searching for shops that sells bricks for my new wall, I want local results.

I've also noticed that even with it on, the "local" indexing is distinctly significantly worse than Google. That is, Google is much, much better at finding relevant pages which may contain variations on my search term when using my native language.

I guess that's just a question of resources, which is fair enough.
>"very broad because they are necessary as tools"
>"diagnostic criteria are meant to be sufficient criteria for diagnosing a disorder"

Aren't these equivalent ideas? I don't think the parent comment was meant to be critical so much as it was to make an assessment. An overall rate of 80% accurate for a questionnaire instrument seems like a fine tool.
EO on Platforms
The BBC is very proud of its neutrality, where neutrality is usually interpreted as "quote both sides, even if one is obviously crazy"
A lot of UI Frameworks need webpack, I had been looking at web components...

You can build Vue applications without bundler... file is JS extension, you use

const template =`
<you html stuff here>
`
"Extending GAI’s conservative matching method to include all 50 states would indicate an expected minimum of 45,000 high-confidence duplicate voting matches"

GAI was unable to conduct a comprehensive review since a complete data set of state voter rolls is currently unobtainable. (it was denied)
For doing math in DuckDuckGo, may I suggest adding !wa to the query, it will redirect the query to Wolfram Alpha and give you a better result. :)
Which languages are you referring to where it's happened many times? Racking my brains but falling short.
Beware, page has auto-playing video with audio about half way down the page.
The National Semiconductor DP8344 datasheet has some details on the Twinax interface and the 5250 terminal architecture as it was a later IC that supported both 5250 and 3270. I've not read the Twinax part in detail bit skimmed over it; it looks like an extension of the 3270 concept.

The topic has come up on Cctalk mailing list (see http://classiccmp.org/pipermail/cctalk/2019-November/051008....), and I think Alan was looking to build what you are talking about but was looking for some help reverse-engineering the higher-level protocol.
Considering the fact that there are five times as many Android devices as Windows devices, and the greater ease of use of Termux compared to WSL. I find that highly unlikely. Anecdotally every newbie programmer I've seen try to use WSL has just ended up installing Linux in frustration.
That would be me, unfortunately I don't have time currently to work on the kernel.
I think it would be cool if one started an online advertising company in 2020 that employs about 50% graphic designers and 50% other and that specialises on providing online JPEG or similar images for websites, and where each add is completely human generated / human curated.

Also, the sizes should be completely fixed like you can choose between predetermined pixel ratios. Like maybe 162x100 or 1600x30 or whatever.

With people angsty with social media, I think it could be quite refreshing to have a trip back in time.
Trump draft order could expose Twitter and Facebook to more lawsuits
Will Facebook’s Work-from-Home Policy Change Silicon Valley?
Ask HN: Is there any semantic search developed on top of Algolia?
Is there any project that uses BERT to improve the search relevance of the Algolia search engine?
Photocatalytic water splitting with a quantum efficiency of almost unity
That's perfectly fine but I'd expect the company, especially a company as large as Microsoft, to at least clarify the situation instead of just brutally ending communication.

I too have been in a similar situation (being interviewed at a startup and being clearly not super enthusiastic about the position being offered) but they decided to go with somebody else they gave me a courtesy call letting me know about it. I think it's the right thing to do.
You obviously did not even read that article.
If we’re talking about an algorithm as a class, the state managed by the class is algorithm state, not the data the algorithm acts on. The data the algorithm acts on should probably be passed as a parameter regardless of whether the algorithm is implemented as a class or top-level function.
Like a chrome extension that sends trackers lots of randomized user actions and garbled data instead of just blocking them? We'd make the data unreliable and render it useless! What an incredibly sly counter-attack.

I think it could take a fair amount of work to be effective (i.e. reverse engineering APIs, formatting payloads, etc) but I'm sure a community of engineers would support those efforts if it were in wide enough use. The problem here is that those engineers may be deterred by the possibility of getting sucked into legal battles. Maybe if it were backed by an organization that could allay that fear like the EFF, Mozilla or the FSF then I could see this actually having a shot of being genuinely effective.
> But, you (Americans) should be angry because democracy has been in backslide hardcore in the US. Europe has dealt with populism before...

Populism is a creature of democracy, what you're talking about is a failure of the republic; which itself is debatable.
Wrong, you can still use VueJS without the vue extension...

https://dev.to/arswaw/create-a-lightweight-componentized-spa...
Have the kids stand up and count out numbers.

Now they know how many kids are in the room.

Then have them go and stand in two different corners. Count one corner.

Then have them stand in three different corners. Count one corner.

Finally the four corners. Count one corner.

Then have the two tables distribute their students to the corners and figure out these elusive fractions.

Have each corner be a Pokemon or something. That should do the trick.
Will give this a shot. Looks like a modern alternative to CherryTree. I find these hierarchical note taking apps useful for organising complex projects which usually require several levels deep of note organisation. I also use Joplin for general note taking and Google Keep for website resources. I'm set.
Isn't completely reliable for me in New Zealand - I do get slightly more NZ-related results with it turned on (it's pretty much useless with it off), but I still get quite a few results (some even with .co.uk and .ca TLDs in the results!) from all over the world.
Tesla Battery Monitoring on Blockchain
Are you telling me MS could not be bothered to even ask Linus? And if there's a fee to pay it? They're a multi-billion dollar corp telling us they love Linux now.

Alternatively, calling it something like Nix subsystem for Windows or maybe just LSW would also do the trick, this seems like a lame excuse.
“Right” and “wrong” also mean “correct” and “incorrect”, which are not moral judgments.
Draft of Trump's Executive Order on Social Media Companies
Powershell has a common language, common help system, common logging framework. It's a very nicely done project.

You can

Get-Help Update-ItemProperty -Example

to get some samples.

It is introspectable, so command line completion of argument parameters just work.

I even saw web based and windows based gui that can probe any powershell command and provide a rudimentary UI with field level help.

You can even find the relevant commands e.g.

Get-Command -Noun PSDrive

gets you all the commands that can act on a PSDrive object.
Manage your images and videos with image4io(59$ Lifetime)
yup, i tried netbooting on the 3b+, with root on nfs and without an sdcard.

> It works well, allowing separate boot images for each individual Pi on your network.

could you elaborate a bit more on that?
Great Diets for Belly Fat
Of course a 5G jammer would do so by emitting even more powerful 5G frequency signals, but I don't suppose that would occur to anyone believing this rubbish.
What Nestlé did was unforgivable. It was clearly lead by psychopaths at the time and we have no way of knowing that is not still true.

The problem is people have short memories and are driven by convenience so will conveniently forget how evil a company is when they show another side. Or sometimes they can continue being evil and people still just do nothing because it's so convenient (see Amazon).

There is not enough direct experience of the evil for our monkey brains to make sense of it. If you see someone kill a baby with their own two hands you will never trade with that person again, they are dead to you full stop. If a company knowingly kills babies by proxy and extorts mothers you get mad for an afternoon then you forget. We need to evolve as a species or find some way to make it more real.
Amazon’s Big Breakdown
The modern military does have some technologists. But they seem to rely heavily on contractors for software development.
“A Washer Dryer Is a Social Distancing Dream Machine”
> 1) Build a better/equal search engine to that of Google

For what it is worth Google has been busy lowering that bar for about 10 years:

- lower quality results

- dumber ads

- more nauseating practices generally

I'd like to no however that last summer the most brain dead ads disappeared and the last few weeks I've seen decent search results (2009 quality) twice.

When Google is good old Google from 2009 - where they return the exact weird quoted thing I seached for - then I actually consider going back.