skysight-inc/HackerNews huggingface dataset:
Thanks for the question - for clarity, this is the file I'm referring to in this reply: https://github.com/Viveckh/Veniqa/blob/develop/shopping-serv...

1. The service is a leaky abstraction, it knows about HTTP status codes and presumably the response body format. The point of separating concerns is to make code reusable, HTTP response codes don't make sense outside of a HTTP call. Similarly, any calling code needs to know that `sortRule` is expecting a MongoDB sort parameter.

2. The control flow is super unclear due to mixing async/await and Promise API coding styles. The `.catch()` call on the promise chain means that the `catch` block will never be hit and the API will always return OK, with the error object exposed to the client in the `responseData` - likely exposing implementation details about the server via the stacktrace on the error object.

There are other nits I could pick, but those are the most important issues and my other criticisms are more a matter of preference.
How cells deal with accumulated misfolded proteins
Sounds like the US.

I've had residents crawl into work in the middle of a enteritis, that I've had to force into a bed in the on-call room, shoved an IV in their arm, and told them not to fucking move until I'd gotten two boluses into them. They were entirely unable to work, and the question of infectiousness was well beside the point. We'd have no one to cover if they actually called in sick.

If someone comes in with the flu, we don't test at all. They get handed a mask and we go on with our work day.
Was there a particular pain point with the confluence page you made for your work team that you wanted to address by building Jargonaut?
Thanks. It looks really interesting.
From the article:

> *None of Hughes’ backup parachutes activated, either, Chapman said.
My anecdote: 2 weeks ago I have a conversation with the a C level in Japan about policy for work from home in case of Covid-19 outbreak. At that time there were less than 10 cases in my country (Vietnam) but I want to have a plan for the worst case: the whole company gets quarantined. The answers from him were disappointing, he didn't think much of that, that there is no work from home policy in our group and I should ask somebody else, it's not his problem. The answers from the local director was worse, he made it sounds like a crime to work from home ('checking email at home sneakily' = kinshi/forbidden). In short they didn't care about it, and had no plan for it either.

Now two weeks later and Vietnam has basically gotten the outbreak under control with only 16 cases despite being right next to China while Japan has more than 100 cases. And out group is scrambling to define a policy for working from home while stopping all the recruitment meetings. And I have told them all about that 2 weeks ago...
The premise, to me, is silly enough that you aren't poisoning anyone. Anyone that would believe it is going to feed off of some other poison. Very few are equipped to hurt themselves or others via "flat Earth thinking".
I am wondering if all these cases emerged because of the large scale investigation going on. Is it possible that the coronavirus is more spread than expected, but there are more asymptomatic cases than what we think?
Are other countries doing the same?
It is quite strange that everything started all together from different part of the country and they didn't find the patient zero.
Ahh, this is an important note. My first thought seeing this post was, "finally, a Spotify for the news!"
Yes it was guaranteed by the bulkheads, and the guarantee has failed. The ship should not have sunk with this amount of damage.

The vessel grounded and continued to take on water, through the propeller shaft and stuffing boxes.[9]

The whole point of stuffing boxes was to contain water in damage like this.

The link you posted is in no way absolves the shipbuilder. Merely states that

The vessel's Spanish designer Navantia received a notification of a critical safety issue in relation to the frigate's watertight compartments

…and the investigation is ongoing.
Masks also stop you from touching your nose or mouth, which many people do without noticing they're doing it.
The article mentions “Simple is better than complex”, but not the next line of the Zen of Python, which I think tells us a lot about that language’s philosophy: “Complex is better than complicated”.

Looking closely, that line says “(not simple) is better than (not easy)”, or more clearly, “easy is better than simple”. Python definitely lives up to this - it’s easy to get started with, but if you look deeply it’s a very complex language.

Go’s philosophy is probably the opposite - that simple is better than easy. This is similar to the philosophy of Clojure, as explained by Rich Hickey in “Simple Made Easy” [0].

[0] https://www.infoq.com/presentations/Simple-Made-Easy/
To add some facts that seems to be forgotten now: Spain was going to give up its last colony in Africa in 1975 (Western Sahara), following UN's resolutions, when Morocco invaded it taking advantage of the dictator's terminal illness.
These are great idioms for writing code in any language.

I'm no longer a fan of Go but still a fan of many of the people the work with it because they also value many of these things.
> Japanese disaster and emergency preparation is said to be the best on the world.

My teacher said that Japan is apparently the best in the world at creating and maintaining impressions. I tend to somewhat agree.
It's allowed for foreigners who has the mainland bank account. But yes, it's impossible without.
Yeah it's mac only. If you're looking for a Linux equivalent, try https://HttpToolkit.tech

Works similarly, but runs on Linux & Windows too, and it's fully open source: https://github.com/httptoolkit
Things like this, i.e. getting random numbers from some real-world process that is supposedly perfectly random, come up every now and then and I keep repeating: There's no real problem in cryptographic random number generation that such a system solves. We have problems with RNGs, but they usually come down to either bugs, boot entropy problems on embedded devices or using an insecure rng for security purposes. None of that is solved by any form of physics or chemistry based RNG.

The claims themselve are also kinda very odd: "Encryption capability better than Mersenne Twister pseudorandom number generator". Huh? Really? You're better than a system that we know is insecure and that nobody should use for cryptographic contexts?
Interesting. Found a Facebook post that has some pictures and descriptions of the backup parachute(s) system. https://www.facebook.com/ScaldedCatSteamRockets/posts/162844... (click the "+4" and page through)

Or see: https://imgur.com/a/C37q14M
Any chance that game runs on a PS4 emulator?
The principles and origin of Go are dear to me, I feel philosophically aligned. Focus on: Dev tooling, simplicity, large scale collaboration, networked services and readability
If you make that little you may actually be covered in the US, too.
Their demonstration game, "Art's Dream" is a masterpiece in my opinion. It has such charm. As Vinesauce Vinny said, it will either inspire people to go out and make their own wonderful creations or discourage people who will think they can't ever come close to it.

I absolutely love the asset sharing and reuse works. I love making little games for fun but my problem has always been that I'm no visual or audio artist.
Water Hammer
Almost all healthy, working-age people won't die from corona. Many of them won't even really notice that they have something other than a cold. Some won't have any symptoms at all.

Perhaps most, and yet the whistleblower doctor in China who died was 34, and just recently a doctor who postponed his wedding scheduled for the Spring Festival in order to go help in Wuhan was 29. So are they very rare outliers or do we just not have a large enough sample size yet?

https://www.businessinsider.com/coronavirus-whistleblower-do...

https://www.businessinsider.com/coronavirus-kills-chinese-do...
LaTeX can do all these things too. What Context brings to the table is a sane UI.
This feedback came from advertising their code, not open sourcing it. Posting it here with this title is asking for opinions on it.
Curated and Daily Updated Forked List of Awesome Laravel Links
Author of Proxyman here. The reason behind of Proxyman is to simplify Web Debugging for everyone.
- Free-Distraction
- Native app, feel like my home
- Ease of use
are the catalyst we ship Proxyman.

Feel free to Ask me anything.
Great how the tech industry, and others, repurpose words so that now even a simple title like 'the Zen of Go' is neither about zen or the ancient boardgame of Go.
That's their problem, it doesn't justify making it easier for them to get more poison.
How to create a time crystal (2017) [pdf]
> On the ground level it probably is

I’d like to put emphasis on this.

There is a huge disconnect between level headed, well prepared and truely heroic first responders, local communities, the general population reacting to a disaster; and the politicians and higher ups.

Everybody knows what’s the right thing to do, and will do it when nothing stops them. But then you get the usual band of corrupt officials, incompetent C* level executives, between a rock and a hard place yes-man middle management.

This disconnect makes any situation where the hierarchy (public or not) is getting bribed or needs to flee responsibility a catastrophic failure.

Earthquakes are the fault of no one, and response is usually stellar. Nuclear meltdowns involve mismanagement, regulatory failings and design flaws so it becomes a shitshow in merely hours.

Here in particular there is also the shadow of cancelling the upcomming Tokyo Olympic hovering about everyone’s head, making the govs choices even more opposed to what the population wants or needs.
Not sure about the fees part, my quick search shows it's 0.6% for businesses to receive money, at the first glance this seems cheap indeed, but there are other tricks in it, unsurprisingly.

It charges you 0.1% for withdrawal once you used up the initial 20K RMB quota, and the real profit driver is its own credit part, if the customer paid using credit from Alipay, which the company agressively promotes to users and urges to be set as default, the fees for businesses then adds another whopping 4%. Would they raise fees even higher? I think they want to. The duopoly raised fees in lockstep before.

It isn't that much different from other card organisations, except theoretically it encourages users to put cash on their platform's various funds and pay with credit it offers so it doesn't need to pay a clearance fee for every transaction. It takes away the protection for customers by credit cards, offers guarantee of receiving money without disputes to businesses.

So it really comes down to the time saving from processing cash vs the cost, since paying with bank cards or gift cards are uncommon in China, and usually you need to type your PIN as it's required by banks even for credit cards to avoid their fraud responsibilities. And the public inertia of not wanting to bring cash they are trying to build.
Another reason would be to simplify CSP configuration.
At the bottom of the sea: a short history of submarine cables
> equally performing women were less likely to be promoted

So they disproved the "wage gap" lie with hard data, and, as if nothing happened, you pull out the next unfounded myth?

Got any hard data?
The amount of value they add

Company X needs to employ two people in a role. The person they employ will add $100 an hour of value to the company.

Person A has lots of money in the bank from a large inheritence and doesn't need the job to live

Person B has desparately needs a job to pat the mortgage

Company X offers both $40 an hour

Person B takes the offer, as the alternative is reposession

Person A says 'no'

Company X still wants that extra $100 an hour of value, so offer person B $50 an hour, then $60. Person B then accepts at $60.

Both person A and person B are worth $100, neither get paid what they are worth, but person A is paid 50% more than person B.
Yes, and most people can't do the most basic administrative tasks on Windows. Still, they stick to Windows. It is irrational.
Thank you for sharing this with us and good luck with your next idea!
> stagnation resulting from bigness is a self-inflicted dysfunction that is independent of size (that is, it doesn't only happen when companies get big)

How could stagnation resulting from bigness happen to a company that hadn't gotten big?
Taking care of code more and more code
Complex Systems Learn and Keep Learning
> In Java, and Ruby, and Smalltalk, the core value that everything is an object drives the design of programs around message passing, information hiding, and polymorphism.

This is certainly not an accurate description of Java…
This reminds me that there's a company claiming to be developing a steam-powered booster for orbital launches. Scott Manley did a video about them a while back [1]. Where this stands on the spectrum between a scam and a real thing remains to be seen, but they did seem to be convincing enough to get some investments and build a test rig.

[1] https://www.youtube.com/watch?v=qT9HBkWGg7s
The server seems to be holding up fine to all the traffic even though it is a solar powered Olimex A20.

https://solar.lowtechmagazine.com/2018/09/how-to-build-a-low...
Even if you ignore that Docker is not a good security boundary.. DoChat bypasses a lot of the protections that Docker does apply. In particular:

- --privileged basically gives it the same capabilities as root

- Forwarding the X socket means that it has full access to your desktop, including keylogging and so on

- IPC isolation is disabled, so it has full access to any shared memory exposed on the host (again, with root privileges)
It is less harmful than, say, them latching onto anti-vaxx or eating Tide pods.
Why not? Seems apt to me.
It would be nice to have “elegance” brought into the picture too. Code is an art as well!
Ask HN: How common is co-founder break-up at pre-launch startup?
Working on an early stage start-up now and everything that can go wrong, seem to go wrong. One co-founder recently bailed, another (part-time) co-founder isn't willing to go all-in. I've been blaming myself for this, particularly my judgment of who to work with.

How common is this? Would love to hear some thoughts and hopefully, encouragement!
but the CLI is not friendly for new users like me couple year ago. I used to be an iOS Developers, who spent most of time to communicate with QA team during the development. QA teams are not willing to use mitmproxy since it's too hard and Charles was the last choice/
Glad to hear you like it! The plan is to charge for a hosted version. (You could still have your own mirror if you want). We want to keep our incentives aligned with those of our users.
Java has Simula-style OOP. The characteristics used there are often used to describe Smalltalk style OOPs: note that Java does not have message passing, and it has primitive types.
This is the exact reason why tech people fail at business - their numbers are way off scale.

100K per hour for 50% of the hours $432,000,000 per year.
Total worldwide revenue of LVMH for 2019 is 53.7B euros. At 100k/h for 50 percent of the time it that mystery IG seller is at nearly half a percent of LVMH revenue.

If you can give an NYC boutique owner targeting a luxury market ability to sell 10-20k for 2-3 hours a week of their time based on your audience and you can replicate it across different subsections of a luxury market, you will be picking up clients until the cows come home. Of course not single client would actually be able to do more than 2-3 hours a week of sales at most because they simply won't be able to get the product needed to resell. The LVMH-like supply chain is corporate and it is not sold via random channels, so each of the successful luxury boutiques has their own developed contacts with the designers/producers who have very small ( measured in single digits ) manufacturing capacity ( it is however or maybe because of it commands LVMH-level and even higher pricing and higher than LVMH level margins).

Tech platform part here is 100% irrelevant. Building the sales platform on a top of shopify would have had the exact same results.
I schedule meetings to start at least 5 minutes after the hour or half hour and end 5 minutes before the hour or half hour. If everyone schedules meetings on the hour, and people have back to back meetings, then you can't expect them to be 5 minutes early or on time, especially if they have a distance to walk and/or need to use the restroom or grab more coffee.
Wow, saucy, i did know about scorpene, but i did not know that the french accuse the spanish of stealing french technology
There is specialized hardware to generate a lot of RNG.
It sounds like these guys were working on the front line, probably extremely long hours in very unsanitary conditions and exposed to extremely high viral loads.

I don't disagree with your sentiment, but I can also see how they would've been in a very vulnerable place.
An excellent decision, I guess. I'm somehow thinking way too much about such details instead of starting any project. In my previous job, we have used PHP at the backend, but somehow, I like the syntax of python much more. And the community and number of projects around Django are just mind-boggling. So you are probably using Django-REST for the API?

With react-virtualized, you are already on the right path as virtual rendering - rendering only the currently visible cells - is the key in regards to the performance of DOM-based approaches. But if you want to reach google sheets performance, there is probably no way around canvas-based rendering (e.g. https://github.com/fin-hypergrid/core or https://github.com/TonyGermaneri/canvas-datagrid). Office 365 seems to use a canvas-based approach as well. The problem with the canvas-based approach is that interaction like mouse clicks and key navigation is a lot more complicated. I think one of the fastest DOM-based grids out there is https://github.com/6pac/SlickGrid. But there shouldn't be too much difference in performance to react-virtualized as both are DOM-based. Often these components are called "grid" if you search for alternatives. Feel free to contact me if you have some specific questions :-)
Past Time to Tell the Public:It Will Probably Go Pandemic, We Should Prepare Now
If anyone is curious, here's that opening paragraph from Star Maker:

"ONE night when I had tasted bitterness I went out on to the hill. Dark heather checked my feet. Below
marched the suburban lamps. Windows, their curtains drawn, were shut eyes, inwardly watching the lives of
dreams. Beyond the sea's level darkness a lighthouse pulsed. Overhead, obscurity. I distinguished our own
house, our islet in the tumultuous and bitter currents of the world. There, for a decade and a half, we two, so
different in quality, had grown in and in to one another, for mutual support and nourishment, in intricate
symbiosis. There daily we planned our several undertakings, and recounted the day's oddities and vexations.
There letters piled up to be answered, socks to be darned. There the children were born, those sudden new
lives. There, under that roof, our own two lives, recalcitrant sometimes to one another, were all the while
thankfully one, one larger, more conscious life than either alone."

-

I must say, I can see what the other person was saying about the style. I could read hundreds of pages of Asimov, for example the Foundation series, but not the above.

You can't really argue about writing style. For comparison I just Googled the opening paragraph of Asimov's Foundation and was immediately engaged and wanted to keep reading.

Of course tastes will differ.
The OP's company targeted luxury market. It has nothing in common with Shopee, Lazada or AliExpress.
I'd say that in 99% of the cases, your users would be better off and your site more useful, if you just used one of the standard fonts.
I find that students routinely divide instead of multiplying, especially if they are asked to solve for something and then calculate the result. For example, $f=ma$ gets transformed to $a=fm$ instead of $f/m$, yielding a large error unless $m$ happens to be near 1kg. Checking units is good way to check for incorrect formulae, but I've found that students who mix up division and multiplication are also uncomfortable with units. The use of calculators cannot explain lack of understanding of units, so I think the problem is more basic.

I've known school teachers, and am somewhat familiar with curriculum. Both are basically fine, and neither explains the problems I see with students in university.

It seems to me that the root problem is that students are never told, in serious terms, that getting the right answers is important. The way we signal importance is with grades. Students who have received passing grades for incorrect work through many years of school can hardly be expected to show attention to detail in university.

America (et al.) may be throwing away a generation of talent, by pursuing what seems to be a policy of unconditional approval. Luckily, there is some hope: my foreign-trained students hand in correct work, with appropriate digits and units. Quite often, they also show how they have checked the work. I don't think it's because their first language was French, or German, or Mandarin; I think it is because they went to schools where learning was still the focus, as opposed to the congratulation for simply being, not accomplishing.
> This would probably take a lot of lobbying and can only work if

Assassinated mid-comment by rival lobby. RIP koevet, we hardly knew ye.
As do code signing certs (for Windows developers).
That helps in some cases, but google would still know what font was requested and when. So if a certain site uses Noto Sans and Montserrat that narrows down which site you visited to ones that use those two. Considering google regularly crawls the whole web it definitely knows which sites match those two. That would be a pretty big group of sites, but the more sites that use the features that google fonts touts as performance gains like subsetting and the display parameter the more tracking bits google gains. The more fonts and options sites use the more unique the request signature becomes.

Basically if you don't want to be tracked the only good way is to not request anything from the tracking companies. As soon as your browser connects to them they have gained something. Use uMatrix to block all third parties by default, and only whitelist what is absolutely critical for the site to work.
> 1) the privatization of data would be a existential threat to their business model

> 2) the majority of internet users are oblivious to the data collection tactics employed by half the internet and I can't picture folks raising pitchforks for "pods" to become a standard.

Both of your points are spot on.

Since #1 would only change if forced, I believe it would need to start with #2 ... which I think requires a _permanent_ social change in the perception of companies that behave like FB... Something even more potent than their recent political meddlings, something so incompatible with western political ideologies and human rights that such companies become pliable and change their business model merely to survive.

I'm not sure what the instigator for such a change is yet, but it will need to make everyone very upset...
Good article, but the best solution to the font problem is to simply use native fonts:

https://www.smashingmagazine.com/2015/11/using-system-ui-fon...

This solves both privacy and performance problems and this is also what Bootstrap recommends now:

https://getbootstrap.com/docs/4.0/content/typography/
In what way? Spotify pauses ads when you mute the volume and resumes them when you turn it back up. Its ads are also louder than the music in general.
100+ Data Science Interview Questions