skysight-inc/HackerNews huggingface dataset:
A browser plugin is a pretty heavy weapon. It gives a lot of power over your browsing to whoever controls it. So I would not use one just to read rss feeds.
Show HN: SSVM – Speed up your Node.js apps with Rust and WebAssembly
Raw performance (the lack of) is always a contentious point for JavaScript, especially in our post-Moore era of computing. Node.js gets around this issue through extensive of use of native libraries and modules written in C, including the V8 JS engine itself.

But as application developers, how do YOU create high performance functions? Write in C and run as a NAPI module? Write in Rust and run as a V8 wasm? Well, there is another (better and faster) way now!

The SSVM is a fully featured WebAssembly VM (https://www.secondstate.io/ssvm/) that is optimized for server-side applications.

You can write functions in Rust, compile to WebAssembly and run in SSVM, and access it as if they are JS functions in Node.js. Easy as pie. Give it a try! (https://www.secondstate.io/articles/getting-started-with-rus...)

By rewriting computationally intensive functions from JavaScript to Rust, developers could achieve 10x to 100x times performance (https://www.secondstate.io/articles/performance-rust-wasm/) gain in terms of startup and/or execution speed.

BTW, Why not just use v8? For starters, SSVM runs much faster than V8 (https://www.secondstate.io/articles/ssvm-performance/) and it also supports more server-friendly extensions than just WASI.

Any issued and feedback are welcome. Checkout the GitHub link: https://github.com/second-state/SSVM
There's a "Use <MY_MOBILE_NETWORK> billing" option in the Google Play App's Payment Method settings on my Android phone. I'm in the UK. (I haven't used it so I don't know how it works)
>The only thing I do differently is that I only subscribe to subs I like and live happily inside my filter bubble

I'm pretty sure that's how Reddit is supposed to work.
Soundtrack for this story: https://www.youtube.com/watch?v=tbNlMtqrYS0
Just In Time for 2020!
Ask HN: Anyone from Apple here? It's impossible to enroll the dev program
I tried multiple times and it's the same problem: "we have been unable to obtain payment for your recent Apple Developer purchase."

I used the same card that I use to to buy apps from the app store - and I tried with other cards too but with no success.

And I'm not the only one... https://developer.apple.com/forums/thread/126314?page=25

The bank says that they didn't get any payment requests, so the problem seems to be at Apple.
I didn't find the article intellectually stimulating or thought provoking. It's the type of thing my "I'm in my freshman year of my sociology degree by the way" friend would share on Facebook that most people would scroll past and ignore. I clicked straight to the comments hoping others shared my opinion, and glad at least somebody did.
I would also be ready to pay for a signed copy of this story. I’d frame it up in the office :)
Yes, but then you’re still supporting the additional platform components. If you’re using those services, that’s reasonable but if you have other tools you might reasonably want something smaller which doesn’t require you to learn and support things which you aren’t using and which delay upstream k8s releases shipping.
I initially reacted very negatively to this article but decided to entertain the idea anyway and I have to say I'm convinced of the idea that they are overrated.

Now I'm not saying that they are unnecessary and i definitely believe they are needed but i do think they are overrated.

I've worked on many buggy systems that had very good unit test coverage. It was only with sufficient integration testing that were able to prevent constant regressions.
Does not really require you to drop to a lower-level language for performance, unless you really need to use assembly for something.

OCaml is great for the application level stuff, and also performs quite well in general. But for building fundamental parts of the stack in which perf is important (like the multi-threading runtime, the garbage collector, etc.) you need to drop down to C++, C, or Rust.

OCaml is definitely much nicer to use than C and C++. But I don't find it that much nicer to use than Rust TBH.
Well ~/snap is pretty terrible but I am almost as annoyed with something like ~/.tmux.conf and no support for the XDG Base Dirs Spec or setting the config path.

With tmux it seems like this is finally possible with version 3.1 or by compiling it yourself but I remember being annoyed about this years ago.

I dislike a home directory cluttered with dotfiles just as much as that snap folder choice because when do we actually ever not list the hidden files?
Is less because there are a few 10x programmers, and more because there are a whole hell of a lot of 0.1x programmers.
Do you have many fishes?
I see unit tests as executable documentation. So it's nice when code you're getting familiar with has good tests. That said, I don't write them myself, except when the code is complicated and difficult to predict, but then I'm more likely to refactor it.
There are exactly 0 fonts built in to browsers. You could try using fonts installed on the system but that tends to devolve in a cross-platform compatibility mess.
Knowing that some component provable works correctly is underrated though. I would favor

- 33% unit tests (of well-defined units, such as functions that compute some subtle math logic, or read/write marshalling)

- 33% integration tests (requiring multiple components to work correctly to achieve the result)

- 33% business tests (automatically steering the entire application like a user would and testing the result like a user would see it)
In the year after the iPhone was announced, blackberry stock tripled to 140 dollars a share. They had record profits and revenue.

It’s currently $4.

You can be a dead man walking even while your financials are fine.
The market misprices worker health.
Good idea.

TypeScript is too Java/C# for my taste. Rust feels more OCaml-ish.

It has more predictable performance than JavaScript and often it can be better.

If Rust gets a bit more ergonomic (via language or crates) it could be a good alternative and finally save us from the horrors of Electron/Slack/Bitbucket/etc.
Ask HN: How to get an engineering position with CV showing product experience?
So COVID-19 sucks, and it's time to start looking for a new position. I started at a startup 9 years ago as an engineer and I was either the best engineer or one of the best for the first 5-6 years, back when I was doing engineering work full-time. Designed and implemented large systems from scratch, that are doing well in production nowadays: great uptime, still meeting functional requirements, and flexible enough to support new features easily.

I don't regret this personally, but it might have been wrong for my engineering career: I then had several roles that aren't hands-on engineering. I was a technical product manager for a cool product that I helped create and launch. I had a team of 4-5 engineers, but I personally wrote a major component myself because it was really sensitive and had to be implemented using tech that the team wasn't familiar with. They were over time introduced to it, and today they maintain it successfully, even if I sometimes help with code reviews - but for the initial launch it was much faster for me to write the first version. After that I moved into a people management role managing several product managers and some architects, which taught me a lot and I did it really well.

So now my CV shows for the past 3+ years that I have management and product experience, and I get rejection notices from Greenhouse almost immediately for positions that I apply for. I don't want to lie and remove these product roles. I also think my varied experience makes me a better engineer: one who understands the customers, the business, the sales process, and the complexities of team work, better.

Other than reaching out to anyone I know on LinkedIn and hope to skip the initial HR barrier, what can I do to get my next job?

I'm in the US, in a top-five city.
For enterprises (Fortune 500), Tangoe does this and integrates with your accounts payable. Even does the payment processing.
Memory Testing: Mbist, BIRA
The Shock Doctrine
Unit tests are not integration tests.

Of course if your integration tests are lacking you'll have problems but this does not tell you anything about the value of unit tests, just that integration tests are obviously valuable.
No Humans Involved: Mitigating a 754M PPS DDoS Attack Automatically
I read it and I already knew that I had this discussion a bazilion times, just like every comment in HN probably won't be anything new to me.

Some topics are just made to be discussed forever
While that is true, a whole lot of anthropologists when he went on his first expeditions also laughed at the idea of pre-European contact across the pacific, and whether or not he was right about who visited who the evidence that his claim that there was pre-European contact was true keeps piling up.

Of course he certainly went too far with respect to many of his claims, but he's not the only one with egg on their face in that respect.
If it's not tested then it's broken.
And the remaining 50%: making it easy for people to give you useful feedback, such as error messages giving a web link to a user-friendly bug tracker. Ideally the link already fills in the stacktrace and system info.
Only the other week we were doing some testing on a new HCI (hyper-converged infrastructure) I'm doing the network for. At the end of the test period, we were having some storage sync issues. Everything seemed to PING ok, except my colleague happened to notice large jumbo frames over 8000 bytes were getting dropped. I double checked that we hadn't inadvertently changed network configuration. It was only by chance we had another test looking at transceiver signal levels that a customer engineer saw an alarm on RX level. It was then we remembered one test was to remove a module. I then noticed some error counts. We shutdown that particular link until we could visit the site. Sure enough, that fibre wasn't quite clicked in anymore. There was enough of a bridge across the fibre air gap for shall packets, but just wide enough so large packets statically couldn't be corrected enough to work.
Good. It's hard to think of any other cases / examples where breaching a service contract which doesn't also lead to a crime is directly punishable under a statute.

I suppose it would be like the manufacturer of a blowtorch saying "this can only be used to blowtorch X,Y and Z" and then calling the Feds on you for using it to toast the tops of your creme brulee.

Or you tuning a pressure washer up to a higher than agreed upon pressure and discovering that there's some flaw in a component. You may have lost the warranty, but haven't broken a law.

But even those aren't great analogies
I can imagine you can argue in favour of any statement, given your custom, ad-hoc anecdotical use case.
However, in general terms, unit testing (together with a very clear domain design) are the most solid pilars of your software.
WebAssembly with Rust is sometimes bigger and "just as fast as JS".

But it's way more predictable, no more crazy 95th percentiles.
You mean Roboto everywhere? Maybe I have a preference for Lora in the headlines because it goes good with another font in mass text?
Fonts are commonly underrated but take a look at some cooperate identities ... you recognize Mercedes every time you see a truck with ads of Mercedes on it because of what? You guessed it right ... fonts. This wouldn't be possible if everyone would use Arial, Verdana and Times New Roman or even Roboto.
Thanks for your input.

I, personally, didn't touch the article - and from the title, I could guess I'd probably feel the same way towards it as you.

However, my actual comment was literally to just make a correction that posts on HN aren't limited to what the parent had listed.

There's a lot of regulars on here who really don't know that. Obviously, they're in no way malicious, but Dan tries to correct them by urging them to read the guidelines when they make it obvious they haven't... thus, so will I.
It’s not gonna cause the kind of runaway effect that allowed the Chernobyl reactor to get that hot, from what I can tell.
Except for technology ruining it: https://en.wikipedia.org/wiki/Space_Shuttle_Challenger_disas...

The argument for some ship disaster is not analogous either.
What’s with the recent HN push against unit tests? Yes you need other tests too, but they serve a purpose. You can’t build on bad foundations! And the search space of integration tests is larger so it’s much harder to have good coverage of non-happy paths
Kualitatem ( Kualitatem) – Ello
I don't see altruism, but alignment of different interests.

Summer of Code is a huge project they finance, seems altruistic but is a recruiting&marketing tool.

Publishing libraries like protobuf and abseil serves to drive standards in directions they like.

Chrome/Chromium drives the open web, ensures their say on standards and gives the ability to set them.

Android/AOSP brings leadership in mobile devices to them. Again driving standards to their needs and preventing Apple from making the mobile world a google-free walked garden.

SDKs for their services - obvious.

And to be clear, that is by no means bad. And that potential abuse of their position has to be controlled (i.e. when setting web standards to their likings) is mostly independent from their software being open or not.
> For example there is rarely a need to test every single function.

And that's where the bugs end of being.

People suck at writing code so it needs to be reviewed by peers and thoroughly tested. If you said that in an interview for code you'd written then I'd point to the door.
> I don't know how we get from here to a place where these problems become solvable (or even what that place looks like) and from there to a world that is actually going to sustain us again.

Austrians argue that this is the inevitable force of nature. Basically that economic plans are inherently under-informed.
I disagree with the notion that making your code testable in isolation serves no other purpose than to write unit tests. It very specifically forces you to think about how and why each piece of code is coupled with other code, and generally requires you to make this coupling as loose as possible, to make testing in isolation possible. Loosely coupled code is also easier to reason about and easier to refactor. So testing doesn't just provide you with the value of tests, it also nudges you toward a saner architecture.
See also: Neutral vs Conservative: The Eternal Struggle https://web.archive.org/web/20200205183339/http://slatestarc...

"The moral of the story is: if you’re against witch-hunts, and you promise to found your own little utopian community where witch-hunts will never happen, your new society will end up consisting of approximately three principled civil libertarians and seven zillion witches. It will be a terrible place to live even if witch-hunts are genuinely wrong."
I agree in principle, though in this particular case io-ts does not tend to produce incomprehensible code. Maybe if juniors use it, it would, but it's easy to encapsulate the IO codecs in their own modules where the functional style of io-ts/fp-ts does not leak out to other parts of the code and only types can get reused.
Functional Code with no side effect should be unit tested.
Integration Code which glues various components together should have integration tests. If you feel like you need unit tests but have to create too many mocks, you have merged functional and integration code, separate them out.
KSX Male Enhancement Pills Review
There are various and convincing preferences you can welcome, the guideline KSX Pills Advantages are according to the accompanying;

Utilize this may get a raised degree of Testosterone.

Make the essentialness level up, and increase your meeting time.

utilize this Pills will augment nitric oxide too.

Make your penile region overflowing with circulation system.

It will give indications of progress and harder erection.

Not simply this moreover bolster the allure and improve your sex drive.

May expends fat and offer a weight decrease sway.

Taking this can makes your penis size better.

How to Use it?

The bit of this KSX pills is so common, you basically need to make 2 pills stride by step with water. Besides, yes don't outflank the supported bit.

https://scamlegit.com/ksx-pills-review/
Copying, refcounting and locking work within the exact same semantics. They're among the most typical tools that are used to transmit or share data, so I'm not sure why it should be strange to see them used in most real programs?
Unit tests are insurance for later refactoring and library upgrades. This let's you avoid premature abstractions as you can easily swap out lines of code and verify you didn't break the app. This is especially important when you aren't the person doing the future refactoring.
When and Why Startups Should Outsource Talent
Unit tests are not a goal, they are a tool. Striving for 100% test coverage is nonsense, not testing your software at all levels is bad. Middle ground and moderation are where it's at, not a black vs white choice. Just like every other tool you should understand it's strengths and weaknesses and you should apply it properly, not dogmatically or it will bite you.
There’s quite a lot flexibility in Apollo. You turn turn on condensed lists, adjust text size, adjust thumbnail size (or hide them entirely), etc
All these details should be covered by https://docs.redislabs.com/5.2/rv/how-to/creating-aws-user-r...
It was a fascinating find for me as well. Great example of modular design.
Blazor vs. Traditional Web Apps
With Digistore24 you can sell and promote. Digital Products; Find more here
I've done similar. I used to use Quiver[1] for years. It's MacOS only. Then in October, I was forced onto a Windows machine for work. I tried Joplin as it was the closest in features, and it has built in encryption.

What I eventually ended up doing was moving to vscode. I use it my main IDE for the last couple years. I have a linux vm running for all my development, with vscode remote ssh.

- I keep a folder for each month
- I have a file in each month called YYYYMM-dailies.md, level 2 headings for each day
- Notes that grow too complex for the "dailies" get their own file in the folder. A number of these might get polished and copied into a document site somewhere.
- Sometimes I'll make a subdirectory of "snips" with small scripts or pseudo-scripts (stuff to copy/paste)
- The integrated shell lets me paste commands into my dev vm and copy the results back into my notes.

A feature of this is that while it's not really "synchronized", I can vscode-remote-ssh from multiple machines, or just ssh into the vm to get my notes. You can use rclone or keybase+rsync to backup the notes directory (or keybase's git if you want to check notes in).

Another

[1]: https://happenapps.com/
Agreed!

I guess people at MS test and quality departments use I7 with an SSD driver. If so, it's bad. If not it's simply hard to understand, if we leave corporate politics aside.

To me, the calculator has always been more or less OK, but the Image Viewer is a clusterfuck.

With the old viewer, it's almost instantanious opening by clicking a file in windows explorer. The new one is slow as a crawl. The first time may take 5 or 6 seconds (in a 7 year old laptop). The next time is down to 2 or 3. Compare that to milliseconds using the native app. I've never felt the need to use an specific image viewer, but now I'm happy with Irfanview, as fast as the old app, and full of features.

How do such things pass triage stages?
Switch Off the Internet on Sunday (Germany)
It’s a tax on debt issuers. Anybody loaning money will have to charge a much higher interest rate or they’ll get back less than they lent out.
How can you be so certain? The project is barely 6 years old and so many APIs are JUST reaching v1. And companies are still using mostly barebones K8s, we are yet to see how RedHat, Azure differentiate on top of it and we get to see all the "distros"
Well of course this application is dangerous. Without a doubt, it is subject to hacker attacks, despite the claimed end-to-end encryption technology. Obviously, hacking an account is not difficult. https://utopia.fans/blog/is-whatsapp-safe-and-secure/
this is our take on it: https://eng.rekki.com/unit-testing-at-rekki/t.txt

TLDR:

* test your core, make sure your core is strong
* don't test your http api
* don't mock
* don't test writing and reading from the database
* don't complicate your code to make it testable
* ... unless you deem fit
Something I found when I used the redesign is it has the same addictive quality as Twitter. It's hard to pull away. Reddit is even worse paired with an engagement-driven design because it has the depth Twitter lacks if you find the right communities.
Type Is Your Right
I agree with both your posts, but I want to share an exception. At the Post Office, almost all the smart people, who have their shit together, are carriers and clerks - the blue-collar jobs. The difference in pay between workers and management is small, and it's very easy for OT to push carriers/clerks above management. This is not a secret within the Post Office, so it only makes sense to go into management if you're shooting for upper management, which most don't reach, or you just hate physical activity or like telling people what to do.

Most of the people who go into management seem to do it reflexively. They see the word promotion and go for it. As you can imagine, they don't even get a respect upgrade, because everyone knows the cards.

Of course, the Post Office has a relatively strong union - particularly by US standards. That's the major hurdle for most blue-collar jobs. They don't even have a seat at the negotiating table. Without a coordinated voice and some power, workers take first offers. Companies can afford to pay shit wages the same way that factories during the Industrial Revolution could afford to work people to death.
It's always a question of balance and return of investment. It's good to aim for 100% coverage, but it's a diminishing return exercise and it may not be particularly valuable to reach it, so in practice it usually remains an aim.

> If you said that in an interview for code you'd written then I'd point to the door.

That's an extremely arrogant thing to say. Any experienced dev will understand my point, so...
Why humans love pie charts (2018)
That's a great point. In the past maybe people wanted to improve the city because that's where they lived, and saw themselves living. There was a comment on HN years ago that I still remember where they compared working in the Bay Area to working in the mines - when people would come over to the New World for a few years to make their fortune, and then go home rich. If you view yourself as a temporary resident, then you're probably not that interested in becoming part of the community and improving the place where you live. Why would you if you're going to take your FAANG money and move to cabin in the woods in a few years?
I thought the site would have been done after spez abused his admin rights to edit user comments.
I strongly disagree for the reasons listed in the article; it induces the construction and testing of abstractions which exist solely to enable testing, and do not enable simpler reasoning.

Refactoring is even worse. Refactoring after you've split something up into multiple parts and tested their interfaces in isolation is far more work. Any refactoring worth a damn changes the boundaries of abstractions. I frequently find myself throwing away all the unit tests after a significant refactoring; only integration tests outside the blast radius of the refactoring survive.
Given enough people or money, everything goes to shit. On and offline.
CEO of motherboard maker MSI dies after plunging from headquarters' 7th-floor
it's something I've been meaning to learn for a while but never quite found out how to go about it. Pointers are welcome.