skysight-inc/HackerNews huggingface dataset:
Machine learning trivializes p-hacking. Take a database of random datums. Pick e.g. 3 input datums at random and map them against one manually chosen output datum. Run the machine learning system and observe the error rate. If it decreases below some value 'p' you now have a [most likely completely spurious] correlation. Spin up an explanation for it - the more sensationalized the better. Claim that the process was done in the reverse order, claim it's science, publish -- you now have a ground breaking hypothesis that was validated by experimentation.

One of the big reasons that the more modeling, variables, and filtering in a study - the more you should discount it. It's too easy to prove something when there's nothing actually there.

An even bigger risk here is that you can engage in the above process and spot check against other data sets to see if it can be validated elsewhere. And you can find correlations that are predictive, yet are in no way whatsoever causal. If we took a sample with enough data on all individuals in the US you'd be able to find some correlation that people who have an E as the second letter in their name, a last name of five characters in length, and went to a high school whose third letter is 'A' have a 23% higher earned income average than those outside the group. And it predicts going forward.

You'd be mapping onto something that obviously has nothing to do with these variables in and of themselves. Perhaps the real issue would be it's simply a very obscure proxy to a certain group of individuals in a certain subset of educational institutions. But the problem is that this is only obviously spurious (even if predictive) because these sort of variables clearly cannot have any sort of a causal relationship. When instead you only look at a selection of variables that, in practically any combination, could be made to seem meaningful through some explanation or another - you open the door to completely 'fake' science that provides results and even predictivity, but has absolutely nothing to do with what's being claimed. So people might try to maximize towards the correlations (which are/were predictive) only to find nothing more happens than if people started actively making sure the second letter of their children's name was an E and legally changed their last name to 5 letter ones.

---

As a pop culture example of this something similar to this happened with video game reviews. Video game publishers noticed that there was a rather strong correlation with positive game reviews and high sales. So they started working to raise average game scores through any means possible, eventually including 'incentivizing' game reviewers to provide higher scores. As a result game reviews began to mean next to nothing, and the strength of the correlation rapidly faded. Because obviously the correlation was never about high review scores, but about making the sort of games that organically received high review scores. Though in this case we already see "obviousness" fading, since there was some argument to be made that the high review scores were what was driving sales in and of themselves - though that was clearly not the case.
JS_ARG is a string. If you want an array, just split it on space or some other character of your choosing.

E.g, `:alias only_first js -p window.alert(JS_ARG.split('|')[0])`
`:only_first this bit | not this`.

NB: untested, posted from 'phone.
Show HN: Precise boolean search over many collections
Pharma Company Pfizer to Partner with Government on Drug Resistance
Lean in US supermarkets tends to be, as you said, 10 or sometimes even 5%. I buy 9% because I've found lower than that impacts the taste too much.
I have to write it for the web already. Writing a native Android and a native iOS app is additive if the web version is "good enough".

There's no scenario where I only have to write two native apps. Perhaps there is for other people.
I think old.reddit.com's interface is more user-friendly than HN's. Why should I leave the page to write a comment? Avoiding JS just for the sake of avoiding is just blind fanaticism under the pretense of being faster and more lightweight.

(The new reddit redesign is a resource hogging abomination riddled with needless SPA bullshit, but the old reddit design was pretty clean and minimal and yet an SPA.)
I'd rather compare it with one family which bought their children a box of Lego or a similar construction toy while the other gave them access to a scrap heap with broken mopeds and lawnmowers. The Lego-endowned kids will make interesting constructions which don't really serve any purpose but stimulate their creativity while the scrap-heap kids repair the mopeds and build go-karts with the lawnmower parts, maybe one of them puts a chain saw engine on a skateboard or something similar. This also stimulates their creativity with the added advantage of them gaining access to a whole world of possibilities while teaching them skills which can - and often will - be of benefit later in life. Nothing against Lego, mind you, but I know from personal experience which of the two gives more satisfaction in the end, at least for kids resembling the one I was.
The problem with plasic bags isn’t so much that they go to landfills, but rather that they end up going into the wider environment where they pose significant dangers to many kinds of wildlife.
Very refreshing! What do you mean by no builds though?
China also tolerates civil unrest and civil disobedience as long as it's not directly challenging the authority of central government. Official name for it is "mass incidents" or "mass frustration".

There are almost 200,000 of these incidents every year. Several of them grow into large demonstrations with barricades, sit-ins, and rioting. They are usually reactions against come companies, local government, land seizures, or some corrupt individuals.

As long as people don't demand changing of the system, government often gives in at least a little. People can be changed, more investigations, some government actions can be cancelled.

It's clever way to bend without breaking. Allow people to show their frustration against things that are wrong but control tightly what kind of targets are allowed.
E.g,
https://chrome.google.com/webstore/detail/ghosttext/godiecgf...

(Edited to fix link)
You misread the comment. They meant "you are not their [China's] target"
Proving without knowing: Zero knowledge proof
Debate is Stupid
Probably the cooling fan not running. The cold air doesn't circulate so the drain line freezes up and overflows into the refrigerator. It's not hard to replace yourself or a repair guy can probably do it for around $200 parts and labor.
Native apps allow Google to collect much more information than they can via the browser. They also allow for a wider range of advertising opportunities.
It's a term and concept that came out of essentially sociology writing by a number of different people in the late 90s and early 2000s.

As the linked article suggests though, it's not clear it's a particularly useful term. The digital immigrants are often more tech savvy in at least many respects than the natives because they once had to be. And most of the people I work with in tech have had absolutely no problem fully incorporating the rideshare, social media, video/ music streaming, and mapping apps into their everyday lives even though many first encountered them as adults.

Are there age-based differences in media consumption etc.? Sure. But that's much more about generational preferences and habits than having grown up before the Web.
I can’t imagine that the Google Play Store is a huge revenue generator, relatively speaking of course.
this!

It's almost my story as well.

My microwave I had for 8 years (and I got it second hand) stopped working. A quick inspection + watching a couple of YouTube videos revealed that a plastic latch inside the door got broken.

It would have been very easy to replace it if only it was still being sold. Extensive search on the internet showed it was not :( :( :(

If only I had some time (well a LOT of time) to reverse engineer the existing latch and 3D-print a new one... But I did not.

So, I had to put the microwave outside on my curb. I attached a note to it saying it works well if the latch is fixed and also attached the broken latch.

I was happy to see it was gone in a few hours. I live in a city (Montreal, Canada) so I guess it helped my microwave to not be wasted.

I wish 3D-printing technologies - or more precisely, a technology that helps to create 3D specs out of an existing object - would be more advanced. Well, I did not do an extensive search about it so I may be well mistaken :)
Yes, that's what I said in my comment. But if you choose that path, you automatically have to deal with the problems from both worlds. "How do I configure webpack?", "Why is babel not working?", "How do I do _this_ or _that_ in React or Vue or whatever?". Going the hybrid approach is choosing to deal with the problems from both worlds.
The Testing Introduction I Wish I Had
Not even the people who write the software understand what patterns are being found. All they can do is point to the results that seem good at a glance.

This isn’t really true. For example, we can pass in an image to a convolutional net and see which filters are activated; this can give us a clear indication if it’s edge detectors that are activating or textures or specific shapes (eg a dog would activate edge detectors, textures that look like fur, and shapes that resemble a dogs face). We can also train models to disentangle its representations and make specific variables stand for specific things (eg for a net trained on handwriting,values in one variable can represent the slant of writing, another one the letter, another the thickness, etc.). There is also a ton of work being done in training causal models. We also have decent ways now of visualizing high dimensional loss surfaces.

the field has come a long way since 2012, and the whole “it’s magic, we don’t understand why it works or what it learns” is no longer true.
I think looking at opportunity costs is important. still, different chores make different demands. the value of my time at, say 10pm after a long day at work is less than at 10am. mrend at night, code during the day.
Based on the intro I thought I was going to build a SimCity style city, then have it played as a song.

It's more of a way to display midi files, and some sliders that can suppress some of the data.

Not what I expected, but interesting on its own terms.

I hadn't heard of glitch.com before. Is it a common project site for these sorts of experiments?
Or microservices.

Or nosql.

Or containers.

Or graphql.

Free tech is not zero cost tech. Size your stacks to your actual needs.
Not by default. The big frameworks are first and foremost client side frameworks, which means in an extreme case the server is just sending down <html><script src=.../></html> (basically), and the client framework handles all of the rendering/data fetching.

BUT — with a bit of work, you can set things up to do server side rendering. It requires you use Node at some point in your server stack, and you essentially call the library (on the server) and run their RenderToString function (each has a slightly different implementation).

There are frameworks for this (next.js, nuxt.js) or you can roll your own - it’s not terribly complicated.
I couldn't disagree with this article more. Developing SPAs is easier than server-render applications. The problem is React, Redux, and other such libs make this more complicated than necessary. React is all about surgically making the smallest possible change in the DOM to refresh the page. But is that really needed? Most of the time it is not. Why not re-render the whole page? This is what happens in the case of server-render applications any way, right? Turns out 99% of the time it is performant for the SPA to rerender the whole page. Instead of Angular and React, if you use simple libraries such as UIBuilder ( https://github.com/wisercoder/uibuilder ) and MVC router ( https://github.com/Rajeev-K/mvc-router/ ) you can build simpler applications that work well and are super easy to develop and maintain. Each of those libs is less than 500 lines, so super easy to learn and use.

This article says traditional web servers are stateless, but in the case of SPAs servers are stateful. The opposite is true. Traditional web servers have session state, but in the case of SPAs the servers can be stateless because all servers are responsible for is persistence and query/search.

This article says maintaining browser history is a mess in SPAs. Not true. The same MVC architecture that works so well on the server can be done just as easily on the client, see this lib: https://github.com/Rajeev-K/mvc-router/

This article says server-rendering has fewer more mature tools. That may be true. There are so many new tools for SPAs. But you can ignore them and build SPAs trivially using the libs mentioned above.

This article says server-rendering is better for SEO. Not true anymore. Google and Bing crawlers now execute javascript to crawl your content. This is more work for Google and Bing but not more work for you.

If you know how to do it SPAs are the easiest and best approach because all the server needs to do is implement persistence and query/search using a REST API. If you later need a native mobile client this approach is already more compatible with mobile than if the server renders HTML in addition to persistence and query/search.
Using "ground" to mean something that isn't actually run through a grinder, and "ground beef" to mean something the is created differently than what people have called "ground beef" is intentionally misleading. I honestly can't even imagine how anyone can see it any other way; it's baffling to me.
With some duct tape and a machete, you could try to hack together some python to make a drone that tries to hack pythons.
Hello, do you have an email address to contact you for more information?

Also do you have junior or mid-level openings?
Putting it on display isn’t using it.
I admit I've never been in a divorce but the idea of marrying someone who could come to respect me so little as to ruin my life would be a non starter.
Tip to save on lawyer:

Read contract yourself then get back to company and request to either remove all one-sided clauses or make them equally two-sided.

Also - add clause stating that unless you paid in full and on time - all IP belongs to you.

Most contracts try to pull the blanket one way.

Once done, then call your lawyer with resulted paper.

Much less work for your lawyer to do.
This person gets it.
BlackBerry got $40M boost from Ottawa to build primary OS for connected vehicles
If you want to stick to JS, then Node + Express is a fine stack. You can always use React to add functionality to specific parts of the site if you find you need to later.
Consider that maybe there are uses for software where the web isn't necessary and isn't even the first choice.

You're a hammer, so everything is a nail. The reality is that the web is a horrible choice for a whole lot of things. It's a document platform with parts of an application platform shoe-horned in and bolted on, and the result looks like a garbage fire to people who come from the land of native software.
I tried some the other day. It tasted precisely like a shitty fast-food burger. Which is to say... ground meat with "lean finely textured beef" mixed in.

Impossible Burger tastes the same as that product, and is made via just as industrial a process, so don't switch on those accounts.

You want to stop eating meat? That's a perfectly fine reason! But switching because of LFTB would be pretty silly.
I didn't know this was an issue. After some research, I found that this is correct and not only do they not allow it but it seems they've shut accounts without contacting the account holders first. Appreciate the heads up.
What is IR? I’m sorry I don’t understand what you are trying to say.

It is my belief that one positive result of the Trump’s Presidency is that other nations have to confront the reality that Americans are willing/able to elect an incompetent psychopath. This forces them to realize that they can’t rely on American stability. We have become erratic and unpredictable. Hence they will need to become less reliant on the U.S. I see this as a good thing.

I see the U.S. in a state of imperial decline and I’m glad for it. I’m not a supporter of Trump but I try to be objective and won’t deny that he’s done some good.
This is pretty complete but I’ll add a few more:

-rich formatting. It’s easier to scroll through your notes if the headings and sub-headings stand out. Also, automatic bullet lists with multiple indentation (I do a lot of these)

- ability to add pictures / screenshots. Comes in handy if you’re taking notes in class and you have the slides or pdf at hand. You can add a tricky diagram right into the notes, and draw over it if necessary.

- small timesavers, like the ability to mark a line as a to-do item (Ctrl+1 for One Note on Windows); you can then filter according to the to-do tag. This effectively gives you a centralized to-do list which you add to from whatever you’re currently working on without switching context. Or if you write an operation (e.g. “1+5-2”) and add “=“ One Note will compute that for you. Saves you the hassle of switching to another app. Or hitting tab to create a (rudimentary) table.

I also use mind mapping tools when trying to organize a large topic and I’m more interested in the overall picture than the details. I find that a mind-map/tree-like outline + notes or specific documents for the leaves or subtrees works well for me.
Xkb gives me eight different layers just on the shift keys (not the control keys etc.). Just takes a ton of time to learn because Xkb is borderline arcane (:)) and because you have to do everything manually if you want something beyond “swap control and Caps Lock”.

If time is money I wouldn’t be surprised if I could have saved a lot of money by just buying a mechanical keyboard with good on-board firmware and programming. At least I have a hard time imagining that the programming would be harder than on X.
If you have your heart set on FAANG, you should certainly go to school and get a strong foundation in everything CS to has to offer. Go to the best school you have access to and supplement that with online learning.

Good news - it's easier than it used to be to get a job at FAANG companies. I have friends that started at google and they unanimously agree that it's easier now than it used to be to get a job offer. Some of that has to do with the size of the workforce (as in some of these companies need 5,000 more CS grads than they used to need).

Age should not hold you back. There are plenty of 35 year old programmers.

Degree value is undoubtedly going down, but it's still extremely valuable at FAANG like companies.

It's not a waste of time. You will for a fact learn some new things. It's not the best use of your economic opportunity in the short run. Letting go of 4 years income is something you should not do lightly.

Do it if you can afford to do it. After all, learning as much as possible has some value just for the sake of it.

We all have different dreams. Be the last to give up on yourself.
What feels wrong is that "fewer calories, less fat and more fibre" doesn't more nutritious to me - it sounds like cardboard. There's a lot more to nutrition than the (harmful) "fat = bad" meme. In the general case, home-cooked food, made from raw vegetables etc, definitely isn't less healthy than processed food.

Nor do I understand the classism argument - cooking food from raw is enormously cheaper. Maybe it's different in America, but in the UK £10 worth of ready meals will feed you for a few meals, while £10 worth of judiciously selected ingredients will feed you for a week.
Did you find the statistics for this? Mine certainly did when I studied there, and it was required.
$24.8 billion in 2018[1].

[1]https://www.statista.com/statistics/444476/google-play-annua...
right, surely lack of discernment about marriage deserves a little prison-time.
> Gulp, CoffeeScript, BackboneJS, and SASS, all of which have been superseded by newer tools. Avoid the Javascript fatigue by not relying so much on Javascript!

What ? These are all javascript things, right ?
News web site can return part of the page (e.g. news article) to decrease TTFB, and then load less important content (e.g. news recommendation) after.

As author said, it is tradeoff.
One problem we're having with the hybrid approach (Laravel + Mithril) is not being able to reuse common UI components between php & js rendered parts. Laravel has blade templates, and mithril is coded similarly to react.

The other problem is deciding which to use when starting a new feature or section. A page may start out fairly static but end up needing a rewrite when the specs change and start requiring more dynamic UI elements.
So, finally learned what PEP stands for. It’s Python Elamination Program, which is “not currently accepting new python removal agents” (https://www.sfwmd.gov/our-work/python-program)

I’m mentioning that because that page has a few strong contenders for the “meaningless graph of the year” award. Did you know that the total length of pythons eliminated was over twice the maximum depth of the Grand Canyon or that their weight was less than that of two male African elephants?

So, if you take a male American elephants weight of pythons stupid enough to be hunted and place them head to tail, you can make a rope that allows you to abseil the Grand Canyon.
You could use Blazor to export to webassembly, but it includes the entire .NET runtime, so the payload is huge.

It's a bit silly to say you quit when you topped 60mb in your node modules directly, something you never have to look at and doesn't represent what gets built in to the final app. There's tons of dependencies when dealing with the .NET toolchain.

There are hundreds of directions you could go in, and I consider that a good thing. There are choices, but there are recommended paths for beginners as well.

It sounds to me like you're hating on a toolchain that you don't have any experience in.
RSS is not really a discovery medium, unless you subscribe to link lists though. Facebook and Twitter do have the advantage that they surface 'interesting' stuff that you previously did not know about, at least in theory.

This is why I think that having a search engine that would search only in the 'cool' (read: old-style) web.
Looking through the website... is there a link to the Patreon account?

All of the Patreon links so far just seem to be hugely overboard "sign up" ones, with nothing linking to the actual account.

Guessing I didn't spot something obvious? :)
The old Reddit design isn't really an SPA. It's just server rendered with a bit of Ajax for interactivity
I’m telling you from experience that’s wrong. We did it at a project with just 15 or 20 developers, starting from day one of development. Literally the first thing we installed was chaos monkey before doing anything else, even before getting Jenkins running.
Hahahaha hot milkshakes. That is so revolting but so accurate.
This is the only reason we have an SPA to begin with-- small team writes a single frontend and deploy to web, iOS and Android via Cordova, Windows via Electron, and (previous) Chrome OS via the now deprecated Chrome App APIs. If we didn't need to support the full experience on all these devices, SPA would be way overkill.
I would rather change a page if and when it is needed by a new feature than over engineer up front.
The concept of a SPA is a total hack of web patterns. I predict in a few years we'll refer back to SPA's the way we do now to AJAX or DHTML.

We're getting closer to the best of both worlds, where we SSR pages and then "hydrate" them with JS components. The tooling around this isn't great yet, but it's definitely all there.
>Recently she bought me a new mechanical one.

As opposed to a non-mechanical sewing machine? What does this mean? Guessing you mean one with metal gears unlike the plastic-geared junk sold new in most stores now?