skysight-inc/HackerNews huggingface dataset:
Train a 4096x4096 Neural Network with NectarJS, something you can't with Node.js
Hi all,

NectarJS is becoming more mature every day : the memory is managed in real time without garbage collector and the performance are good.

To demonstrate what we can do, Wesley (from Discord) created some neural networks examples.
The 4096 x 4096 nn example gives a JavaScript heap out of memory with NodeJS, but compiles and run fine with NectarJS : https://i.imgur.com/4BjDAgM.jpg

You can find the code here: https://github.com/NectarJS/nectarjs/blob/master/example/nn4096.js

Right now, NectarJS supports most of ES3, but we need help to improve NectarJS and make it better:

- Improve the std libs
- Libuv integration for NodeJS support (started with fs.readFile as a POC and working fine)
- Custom parser to self compile NectarJS
- Supporting fully ES3, ES5, ES6 ...

NectarJS is fully open source, so don't hesitate to join us on Discord (https://discord.gg/cpe2UuN) or IRC (https://kiwiirc.com/client/irc.freenode.net/#nectarjs) and Github to (https://github.com/nectarjs/nectarjs) to help us to make it better.

Thx
Nope, it's a native app. It used to look like one too before they ruined it.
>The original article clearly did not find any discrimination against white male.

How do you interpret women getting 10% more callbacks if not as discrimination against males?
Anybody know if this is still a problem with the new APIs?

https://twitter.com/patrickwardle/status/1318465421796782082
_Theoretically_ Catalyst was the solution to this, but nobody (except Twitter, badly) went this route.
Genshin Impact, which made $100mm in its first two weeks as a free-to-play game simultaneously released on iOS, Android, Windows, and PS4, is remarkably important in this context. If Apple can ride the "convergence of console gaming and mobile gaming" wave that Genshin has shown to be a path to massive profitability for AAA game studios, it can suddenly become a relevant platform for the next generation of games, while completely bypassing the chicken-egg problem of "we won't port games to Mac because the market for games on Mac is small."
That's unfortunate, because on Linux the shells tend to use ">" for a continuation prompt, where you can not enter complete commands.
If I could get an Intel NUC-like device that could run Windows games at the level of a Snapdragon 835, and get it under $500, I'd be pretty happy right now. I'd be able to tell Facebook that their enterprise Oculus licensing can go stuff itself and buy Windows MR headsets and these dream NUCs and be happy in life again.
> resize to cover all the area between dock and menu

That is usually not what people want; they want it to cover the screen.
Thanks for sharing. This is really cool. And I'm slightly surprised that Pycharm uses the exact same codebase as IntelliJ, just with a different run configuration [0]. It makes perfect sense of course, but I was pleasantly surprised.

[0] `To run PyCharm Community Edition, please use the provided run configuration "PyCharm Community Edition"`
Google Cloud Run / AWS Fargate. You upload a Docker image and you instantly have a service with auto-scaling, load balancing, HTTPS, etc. It works with any programming language thanks to Docker.
This single guide is the reason why, after many years in tech, I finally “clicked” on programming.

I still love Ruby and use it all the time.
To clarify, is "Stripe Subscriptions" a subset-of/component-of/deprecated-into "Stripe Billing"?
Well, this works just great: https://i.imgur.com/PZEnuDM.jpg

There's a product called "null" without an icon.
SQLite Status Report 2020
Half-life ~10 minutes, which has a mean of ~15 minutes. Per https://en.wikipedia.org/wiki/Free_neutron_decay
And my favorite:

- Pinned tabs are actually pinned tabs, not a small tab at the side of a single window that can still be easily closed
Apple always seems to update the build by one, this one is 20B29 instead of 20B28. I can't imagine the difference are all that severe, Apple isn't pushing an update.
>Don’t wanna pay? Don’t go to the store.

Is this supposed to be an ironic comment? Because if it is not, I'm concerned for your knowledge about the situation.
Right. Theft would require Apple had something (like money) already in their possession and Epic took it from them. This isn't what happened here regardless of the stipulations in the contracts between those two parties.
I read about this long ago, possibly in the Blit era, possibly in ;login: (other order, other reasons). It's old lore, but not widely known, so I try to mention in when the subject of prompts comes up.
That multiple usages of the same concrete types requires changes on multiple places. For small programs, the di container itself can probably be skipped (i.e. instantiate an object graph by newing up). For larger programs, this is too cumbersome and therefore error-inducing.
One untold truth about the geniuses in Silicon Valley
I think its a form of value-based pricing.
> Where you come down on it should be based on the law.

The comment that you responded to included facts that would support the idea that Apple's behavior is against the current law.

When they said that " said marketplace constitutes 50% of the consumer market"

This is a reason as for why Apple is breaking the law. It is an argument that Apple has significant market power, and is engaging in anti-competitive actions, which is illegal.
"Everyone is an idiot distracted by shiny things except for me"
Here's a few besides Heroku I'm keeping an eye on:

* https://render.com/

* https://www.digitalocean.com/products/app-platform/

* https://www.koyeb.com/ (announced today)

* https://vercel.com/
With them sunsetting IE what's the alternative? Surely there should be a browser that cannot be uninstalled right? I agree with the rest of your issues, but if Edge is ever to completely replace IE it should remain installed no?
Previous thread: https://news.ycombinator.com/item?id=23769930
We did that for a couple of SAAS. In fact, we even extracted this out to an internal library with a web UI. If anyone is interested, let me know and I’d be happy to open source it. It’ll have to be run in its own server and process.

But for full disclosure, my latest project just bit the bullet and accepted the extra 0.5%. Wanted to see how it goes. Could always switch if I found the need.
Ask HN: What happens when the Federal Reserve ends the SMCCF at EOY?
Do you think banks will decrease their lending, and corporate and individual spending will begin to decelerate faster?
There's also some potential for selection bias in the drop-out rates:

>The numbers of drop-outs after one, three, and five years of follow-up were 76 (19%), 104 (26%), and 132 (33%) in the HIIT group, 58 (15%), 76 (20%) and 101 (26%) in the MICT group, and 61 (8%), 95 (12%), and 156 (20%) in the control group.

In other words, the entire observed effect may be due to HIIT being better at making unhealthy subjects drop out of the study.
Tree rings may hold clues to impacts of distant supernovas on Earth
"No parallelism" is probably what was meant.
We stayed put actually. At the end of the day, you need a processor that charges low fees, provides easy tools to handle chargebacks and refunds, provides tools to automate sweeping balances nightly, and doesn't go down often.

People don't switch processors often, so building out an integration once every 10 years isn't a big deal if you design your integration correctly.

That, and I assure you, your customers don't give a darn about which processor you use.
You said you side with Apple, but why? Better analogy is that Apple is a country with a single party, no elections, that dictates who can make money and how much tax they pay. These ecosystems need regulation to enable multiple stores and open APIs.
Microbenchmarks are meaningless. Where are the benchmarks of real-world applications?
You got it, yep; I should've been more precise about what I meant by self-hosting.

Smartphones and data plans would provide the bare necessities for self-hosting; in many cases there's abundant computing and bandwidth resource available to them. Many packages/containers are small and downloaded infrequently - any much data capacity, I expect, goes unused.

If and when smartphone-hosted resources become insufficient, a cloud VPS like your approach would be a next logical upgrade. Beyond that, corporate/foundation-based sponsorship and dedicated servers and bandwidth.

The key would be to make it near-seamless to migrate between those different environments. Namespaced source code repositories and packages appear to have worked well for the likes of GitHub, GitLab, NPM and Docker Hub, so perhaps following similar conceptual design ideas would make sense.

A few areas of concern would be:

- How do you keep end-user devices safe if they will be hosting content for a wide audience?

- How do you react to credentials and other protected content being posted if repositories themselves are a distributed network?

- How do you achieve discoverability and search of content in a distributed environment?

... not to mention whether the effort and migration to such a model is worth the benefits.

I tend to think it would be, since it aligns the incentives around spending, increases hardware utilization, and increases resilience by removing single points of failure.

That said, I also imagine there are well-founded and sincere arguments for continued centralized code and container hosting that are valid and worthwhile (not least of which: it's where we are, and it's relatively straightforward to reason about).
We switched to 4-day weeks
I use KeePassXC to store and create my TOTPs. If needed, I can (painfully) type the underlying hash into any app.
I absolutely do not understand purpose of the folowing

https://live.european-language-grid.eu/catalogue/#/resource/...

https://live.european-language-grid.eu/catalogue/#/resource/...

Since when strict eBNF grammars are useful for natural language processing?
You can have a per-project git config, which to me is a more convenient solution.

For my work repo I configure the repo to use my work identity. For my personal repos I use my personal identity.

I do not need to switch identities when using the same repo.

Doing this, you only setup your identity once per repo not every time, which is safer/less error prone. i.e.: you wont leak your work email on github by accident.
I also find it quite strange. I remember my teachers telling that we're making a little bit of progress in software engineering research, but comparing it to the state of research in fields like Math or Physics would be like comparing a fully grown man and a toddler.

In other words, we hardly know anything
Writing quality tests is often much harder than writing quality software, and I find quality unit tests to be significantly harder than e2e or integration tests, so if I can only write software for which I can also write quality unit tests, I am greatly reducing the space of quality software I can write.

Yes, one solution is to make the software more complicated in order to make the tests less complicated, but the other solution is to just use fewer unit tests. Note that I'm not advocating not testing (my motto with software is "If nobody tested it, then you can be certain it doesn't work."), but One good e2e test can often replace dozens of unit tests.

I find that E2E -> Integration -> Unit form a scale from "easy to write, hard to run" on the e2e side and "easy to run, hard to write" on the unit side.

There are exceptions; testing that you can sort N objects in M microseconds is a trivial test to write, and potentially a challenging requirement to implement, and a unit test might be completely appropriate there. However, for the general case, I find unit tests to be too often trying to make a square-peg fit a round-hole, and then saying "okay we'll shave the corners off a bit so that it's easier to fit in this hole" rather than saying "maybe we should use a square hole"
I've created local users several times. It's not super clear I agree, but definitely doable in the last month or so.
I am developing QuestionOf. I had to create a new parse of markdown (.md) and it was difficult to think in each detail.

Sample:
https://questionsof.com/enem/to-protect-you-and-your-fellow-...

https://raw.githubusercontent.com/alexandregiordanelli/enem/...
Thanks pc! OT: You're very active, and usually one of the first to get involved, in Stripe-related discussions on HN. I'm curious how you manage this. Do you lurk HN all day like me and spot the new Stripe-related threads, or do others at Stripe let you know when they see a Stripe-related thread?
> Safari 14 has resolved an inconsistent, tedious bug I kept experiencing (most often on reddit): changing the URL query parameters in the address bar and hitting return immediately resulted in the page merely being reloaded. Had to wait a solid second or so before hitting return to have a decent chance of getting the correct page.

I've experienced something similar before Safari 14: when opening Safari for the first time and quickly pasting the URL to the address bar and hitting Enter, the URL would just disappear and I'd hear a bell sound. Had to wait a second to paste the URL and have it actually go to that page. These little things contribute to a general feeling that the browser is not polished enough for everyday use.
And in the sense of formal wear, it has for decades. Other than James Bond, I don't think most people have any need to own a tuxedo and rent one in the handful of times in their life when they need it.
Man I still haven't even left Mojave for Catalina. I don't think I'm gonna be changing OSs until I buy a second or third generation ARM Air that comes with whatever they're calling the 2022 Mac OS.
This is funny timing for us - we are currently looking at implementing a subscription service and were already looking at this price. Even so, 0.5% fee is miles away the cheapest option. (Most others want a fixed fee per month plus .8%).

Is there reason for us to be scoffing at the new price? This is still a fraction even of processing the credit card.
Oh yeah totally forgot about and now people can play it on their Macs. Crazy moment really
Suppose project B uses lax tsconfig settings. Now suppose strict project A imports from B. If A uses B via d.ts it may be ignorant of most of B's choices. But if A uses B as source, A's strictness settings will now attempt to apply to B.
Every body is asked some thing close enough. At higher levels, often focus is not on coding, but enough depth of design where a person of such profile might end up educating the interviewer - while satisfying their requirements.

That being said, ability to solve coding problems efficiently (not necessarily spit A* graph algo in sleep), but a decent close to real life coding challenge is fair game.
Would the company actually benefit from chasing after a Capital B Buzzword? The most useful skill an engineer can develop is not learning the latest fad, it's learning what this company needs right now to get the most benefit from their tech.
Except Apple isn’t a country, it’s a company, so this analogy is useless.
Bedrock Edition is primarily targetted at the consoles (where running the Java-based Java Edition was difficult). Java Edition is still worked on (and runs on Linux) and they are trying to achieve parity between the two versions.
Tite esboça seleção com quatro novidades para duelo contra Venezuela
Tabs store context (history, cookies, container, etc, with tree-style tabs also parent & child tab relations) that bookmarks don't. I'm not sure about Safari (since I don't use a Mac) but on Firefox you can set up tab discarding (via extension) that unloads unused tabs. So there's a lot less incentive to use bookmarks when you can just leave a tab open forever. Really the only reason to use bookmarks instead of tabs is for synchronization across devices.
LOL!!

Or even worse - could you imagine how many lines that would be in C++ ?

Yowza!
This. Developers aren't getting credited or promoted for writing documentation, or assisting in the process.
Kairos Aerospace, founded by some Palantir and Lockheed alums, also operates in this sector, combining Lockheed's hardware expertise with Palantir's chops for satellite surveillance. Check them out!
I remember it being said in a few places that exercise doesn't actually affect all cause mortality until about 10 years after beginning a regimen. So, I'm not surprised by the non-statistically significant result after 5 years, especially in such an aged population.
did you pay anything for it? what would you recommend?
Loss of ublock orgin is the real dagger for me. I haven't found another adblocking software (apart from maybe DNS adblocking via pihole) that I trust the same as ublock origin.
With a known quantity like Guido, you just try to convince them how fun it would be work at Microsoft.
How do you like breaking the web one page at a time with angular?
The old butterfly keyboard that was prone to failure is history.
The claims are plenty substantiated.

I wrote a lot of C# and a lot of Go. C# has so much more ceremony that it is more verbose and it shows even in the code we're discussing. You just have to be willing to look.

Fair comparison between C# and Go is actually very easy. Those languages are so similar that you can transliterate a given benchmark from one language into another. Then benchmark those versions.

There's just no way that on an average program Go (language statically compiled to assembly with a very competent code generator) will loose in performance to C# (which compiles to bytecode and then JITs that code at runtime using a much weaker code generator).
Udemy and altMBA co-founders return to edtech with cohort-based course platform
That is a very good point I failed to make. Before I adopted my dog, she was sharing a small room of around 100 square feet with another dog, and I don't think she ever got to spend any off leash time outside. Now, she has 10x the space, all to herself, and we go to the park every single day that it's practical to do so. She's undoubtedly happier than she was then; it's obvious just by looking at her.

The shelter I adopted from is a no kill shelter, but, keep in mind that "no kill" really means "fixed capacity." If the no kill shelters are full, guess where all the stray animals will go?

Here are some sad statistics from a 1997 survey of 1000 animal shelters by the American Humane Society:

> In 1997, roughly 64 percent of the total number of animals that entered shelters were euthanized — approximately 2.7 million animals in just these 1,000 shelters. These animals may have been euthanized due to overcrowding, but may also have been sick, aggressive, injured or suffering from something else.

> 56 percent of dogs and 71 percent of cats that enter animal shelters are euthanized. More cats are euthanized than dogs because they are more likely to enter a shelter without any owner identification.

> Only 15.8 percent of dogs and 2 percent of cats that enter animal shelters are reunited with their owners.
25 percent of dogs and 24 percent of cats that enter animal shelters are adopted.

See http://americanhumane.org/fact-sheet/animal-shelter-euthanas...

And, as far as anecdata go, when my dog entered the shelter I adopted her from, she was pregnant with 12 puppies that were aborted. While I love puppies, I am glad they did that, for multiple reasons. Most important among them is that when we're destroying millions of animals a year, we don't need 12 more dogs in the shelter. But, secondarily, I am glad they did it, because if she had had the puppies, she would not be leaving that shelter for several weeks, which means I would have had a harder time adopting her. :)
Typescript for python?
Does anyone have the original link this was submitted as? I looked at it earlier today and thought I should look at it again later but now it points to much less interesting commands.
Before you dive into the inevitable recommendations of websites and YouTube channels, I strongly recommend A Mind for Numbers by Barbara Oakley. I can almost guarantee you'll find it worthwhile. Don't dive into doing hours of exercises first.
I still have this issue on my MBP'15 and it drives me nuts (I use a headset daily that uses USB):

https://www.reddit.com/r/apple/comments/anvufc/psa_2018_macs...

It's basically not completely reproducible and is random.
Possibly. I'm not aware.

In any case, unless they got truckloads of money for that, performance would still be under S&P500.
Thats certainly invalid. People with 20 years of experience or more, are asked questions based upon the role they are interviewing for.

If you are applying for a principal or higher engineer role and your job involves coding, you are asked coding questions. May be not just focused on a complex bookish algorithm only, but rather more close to a real life distributed programming / synchronization problem etc. for example.
I've been using Svelte for the past few months.

It's possible I haven't hit any of the downsides yet. With that caveat out of the way, I will say that I absolutely love it after using React for about 5 years. Here is why:

1. It's simple. The API can be read and fully understood in a day or two. The documentation is clear and their examples are simply wonderful. Seriously. Go through their tutorial (https://svelte.dev/tutorial/basics) or their examples (https://svelte.dev/examples#hello-world) or even their API docs (https://svelte.dev/docs). It's all well-crafted.

2. It has CSS modules built-in. You don't need to install anything or configure anything. You insert a style tag, write some CSS, and your component gets style without stepping on global styles.

3. It has state built-in. It has a dead simple state protocol. You can even recreate a redux clone in about 20 lines (https://monad.fi/en/svelte-custom-stores/).

4. It's compiled, which means it can do things other frameworks can't. Which also means you get actual messages from the compiler telling you what you are doing wrong and what you should be doing. The messages I've seen so far from svelte are easily some of the best compiler messages I've ever seen.

5. Minimal edge cases. There are a few edge cases (e.g. arrays and reactivity), but it's fairly easy to know when you're hitting one.

6. Way more flexible than React. Event forwarding, event modifiers, boolean class names (i.e. class:large adds the "large" class if "large" is bool and true), ability to create generic actions that can be added to any DOM nodes. Animation support built-in. Variable binding, makes it a breeze to create any form.

Sapper is going away, but SvelteKit is being worked on. If you really need more than Rollup+Svelte.
That argument is like the railroad antitrust cases of a century ago. "The New York Central Railroad is giving shippers a marketplace of users with large freight terinals, fast locomotives, and railroad sidings already connected. A big cut is well worth deserved, and the contract terms seem pretty fair."

(If you think Comcast is bad, read up on the history of railroad monopolies.)
https://en.m.wikipedia.org/wiki/Compulsive_hoarding
> The XKCD comic on Python package managers/Python environments is not an exaggeration.

Thanks, I haven't seen it before. It's really quite close to the state on my home machine:

https://xkcd.com/1987/

It's not that I couldn't eventually resolve the current state, it's that at the moment a few programs I regularly run work, in spite of the different dependencies they have, and I know that starting "cleaning up" will cost too much time.
Usually the last build seeded to developers is what goes out to the public.
My pet conspiracy theory is that Docker was created in part because Python code is un-shipable otherwise.
This link doesn't match the title....at all
I think for most power users, they probably generate significantly more than €73 in value from the computer every day (or maybe every hour), so they are probably not thinking too much about that savings.

(Of course, power savings are important in their own right for mobile / battery-operated use cases.)