skysight-inc/HackerNews huggingface dataset:
I used to be in the "implement from scratch" side, but these days my position is a lot more "it depends".

My approach to deciding if using an external library or write the code goes more or less as follows:

a) Limit yourself to a few big libraries that are widely used and well supported.

Especially if you work with a language where it is trivially easy to publish a new library, let's say javascript, you will find that even if you are just an average programmer half of the libraries you have access to have worse code that you would have written (so your point 1. is not necessarily correct)

Also using a library has a number of costs with it: increase in code size, time wasted updating it when needed, learning how to use it, understanding its documentation (if there is any at all), understanding why it doesn't behave how it is supposed to, checking github for bugs not yet fixed, etc. (so the effort spent in your 2. point is not necessarily bigger)

This cost is reduced is the library is a quality one, and also if you use a good amount of it, so my second point is

b) try to avoid a library if you just you need to use little of its functionality

Not only it may be cheaper to re-implement the part that you need, but adding a whole library means that you give charte blanc to other developers to use all the other parts of that library. This may be something that you want to avoid, expecially if the library has varying quality and not all parts are well-written. On the other side, if you know that you will probably need other parts in the future, it may be better to use the library instead.

My third rule is

c) keep in mind your team

If most people in your team already know a library, the cost of using it is greatly reduced. On the other side, if it new for most of them, it may be easier for them to maintain custom code (relates to your point 3.).
If you're in the US, then it is a normal system. :)
That math doesn’t look right. I think you are confusing out of pocket maximum with premium. Your premium depends on the people covered, their ages, tobacco use, the state you’re in, etc. It can definitely be more than 12k per year just for the premium.
That a horrific mistake that MIT nitwhits used to teach students at the end of 6.001 - how to write opaque, horrible lisp programs in languages such as "C".
Your comments are very interesting, and I'd like more input/thoughts about such issues.

However, from your description of the Alice/Bob part, I'm still confused whether you realize that nobody is (or can be) quarantined in the proposed scheme?

The case you describe would, as I understand it be:
"Bob is then advised by his own app not to visit his parents and be careful about not infecting others". A bad joke, sure, but not something that can "send him into quarantine", since nobody on the server side knows that he is in any danger.

I may be missing your point here - but if I am, please clarify and bare with me;-)
Wrangling data around is highly sought after - don't undersell it! One idea would be to write about your experiences learning and implementing data transformation in your industry niche, and advertise a consultancy service to help other companies with similar requirements.

You specified you want to earn the money on the side and you allude to not wanting to trade time for money, so it's a perfect arbitrage opportunity to get client work and outsource it, positioning yourself as the manager/architect.
Precious metals unlike cryptocurrencies are physically tangible. In the event of a massive economic crash that causes policy to swing back to gold backed currencies, you can easily use it as a valid form of currency and is borderline a universally understood currency beyond culture, race, language, region. Cryptocurrencies aren't like that.

Look at Argentina's crash in the 90s or 00s (can't remember exactly when). The middle class was literally wiped out. It's why people don't save, they just buy assets with value in preparation for the next collapse cause the perception is the government will inevitably lead it to ruin again.

Anthony Bourdain's episode of parts unknown in Argentina really showed the mentality really well.
As an anxious person, I actually found it calming to watch the math of it all.
How will mitigation measures by country influence the COVID-19 epidemic? [pdf]
It is. For example, in the third example:

foreach file load %./ [if not dir? file [write/binary join ftp://user:pass@example.com/ file read/binary file]]

Those two sets of [ ] are the block! datatype, which is an array-like type. "foreach" is a function that takes an identifier and two block!s ("load" returns a block!), executing the second for each one in the first.

Quick example showing it:

>> something: [print val]
== [print val]
>> foreach val [1 2 3] something
1
2
3
>> append something [+ 3]
== [print val + 3]
>> foreach val [1 2 3] something
4
5
6

The second example in the oneliners kinda shows this as well, but I suppose it's not obvious without knowing more of the language. The outer block! is actually a separate dialect being passed to the layout function as data, that the layout function parses and handles. What's normally thought of as rebol is called the "do dialect", because that's how you run a block! as code:

>> X: [print 1 + 2]
== [print 1 + 2]
>> do X
3
>> X/3
== +
>> X/3: to-word {*}
== *
>> X
== [print 1 * 2]
>> do X
2
This is just empty negativity.

That people use Javascript in places they aren't forced to use Javascript should make you wonder what the upsides are for them instead of assuming they cannot form any valid preferences of their own, unlike yourself.

For example, Javascript is one of the few languages that actually delivers on "async everything" and has a very simple Promise abstraction (like Promise.all()), and that makes it better for me than building networked services in similar languages (PHP, Python, Ruby). It's also one of the few dynamically-typed languages with a bolt-on static type system that actually gained traction.

You might not care about these things somehow, like maybe you only write C and Python because you work with embedded systems. But I think it's time to stop calling it garbage in honest conversation.
Thrilling if you know who he is. Also nice not to hear the awful (to me) mid-Atlantic accent favored by American public speakers until about 1995
Many of the regulations were from previous administrations and have already been rolled back.

They have shipped 1.5 million tests out to universities and private labs w/ more being made.

They have created a way for 3rd parties to create their own tests. LabCorp and Quest are already up and running. Many others will be ready Monday.

I'm just happy the administration shut down traffic from China early on, even though the move was labeled as xenophobic, which is silly.

Politicizing is evident when you ignore all the good things and highlight a minor mistake (initial CDC testing limits due to a bad ingredient)

I just don't get what this gets you, especially when they are doing the thing you want them to do.

I'm not sure what else you'd like to be done.
BuckleScript’s author works for Facebook for years now.
It's only silly if you don't apply a reasonable character limit in your definition.

I would say < 80 is definitely a one-liner, < 100 is more-or-less a one-liner, < 120 is really pushing it. After that, you're cheating. Even Java style guides cut you off after 120.

12 of these "one-liners" fail even the most permissive of these criteria, but, y'know, YMMV. None are over 140.
I think I recall someone mentioning there is one that you get if you send an empty User-Agent.
Cognitive Covid
Wait, so how much did Dell buy it for?
OpenWrt 19.07.2
> But Gmail showed us that web 'apps' are useful.

Gmail is terrible. It's slow and most people prefer the static html version.
> Excluding apps submitted prior to the sandboxing deadline

I'm not.
Clearview AI app was reportedly used for fun by company's investors, friends
Its performance is so horrible that even on a high spec machine with fast internet, you have plenty of time to click the "switch to plain ol html" button. Which is actually more in line with the performance I'd expect from a glorified file drawer.
Nah, ECS probably got backported. On top of that, ECS as a term suffers from multiple personality disorder - there are different architectures with differing goals all bundled under the same name "ECS".

See: https://news.ycombinator.com/item?id=21897824.
Hasn't Intel bought the company that was on the brink of producing those CPU-memory combos?
Unfortunately, I haven't been able to find the name of the company or an article about it.
We forget that Khrushchev had literally said "We will bury you", banging his shoe on the table on international TV. He wasn't fucking around. Von Neumann knew many, many people tortured, killed, or sent to the gulag by the Soviets.
1.2M Microsoft Accounts Hacked, Made the “Same” Mistake
> Govt has nothing to do with that and in many cases (In the US) creates barriers to entry prohibiting private industry

Nothing. Pretty strong and unorthodox stance. You can't think of a single thing the government does that permits advanced economies to exist? Or any economy, really?
Read John Regehr's blog, eg https://blog.regehr.org/archives/213

Read "Who Says C is simple?": http://cil-project.github.io/cil/doc/html/cil/

Take up a different language :-)
QT for MCUs is proprietary
Essential reading:

https://blog.regehr.org/archives/213

http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
> They can be more polished but these days how many apps are using a cross platform framework and/or just wrapping a WebView?

There's still a decent number that aren't.

> You can upload and download files from Safari on iOS.

The UX on this is significantly worse, even if you consider iOS 13's new downloads manager.
Somehow everyone I know is happy with GMail and find a full-featured email client incomprehensible. I can't stand GMail's slow UI.
Oil plummets 30% as OPEC deal failure sparks price war fears
First programming language I learned, back around 2000. I still use it often for my personal projects.
Your take on things is interesting as one instance of 3blue1brown's point in the video: if everyone is worrying, you don't have anything to worry about. But if no one is worried, you should be worried.

You seem to be taking a position of "Everyone else is worried. I assert that my non-worry will be proven to be the correct position." Yet, your prediction that the redditors are excessively worried ("panicky") will only be borne out if those who worry are sufficient in number and intensity to keep downward pressure on the exponential multiplier.

There's a worry vector field around the Earth here, I can feel it. I wonder what you get with the line integral?
I knew I had seen it earlier and was wondering why I couldn't find it…
As much as I advocate for web apps, sadly I have to agree with this, gmail is maybe one of the worst examples to use. Especially once they launched the new experience, the performance has been god awful. And frankly thats part of the reason I refuse to use Angular if the company that designed it cant even optimize it properly.
Not anymore. That restriction has been removed [PDF link]:

https://www.fda.gov/media/135659/download
Would you pay their fee for generating the page on the server?
Ah, a little explanation would help
You could. Now, you can't. Because a) known brands are pulling their own shenanigans, b) white-labeling of China manufactured goods on Amazon, et al. essentially turns into a DDoS on the idea of brands.
#undef strcpy

Yikes…
Looks a little like FORTH, but with batteries included.
Here is what I have discovered after grinding at that process many times: You have to find a mechanism of internal feedback and drive the project through that.

What I mean there is, simply, when you get the idea and your first instinct is to seek confirmation from others, you've already erred by basing the entire thing on the whims of others. Even if you get them to become stakeholders with a substantial interest, they are still most likely operating on their whims. They go to the meeting because they are obliged to have a meeting, and the extent that they care is simply the extent that you have entangled them in it. You cannot rely on others in this regard; they can be great friends in most aspects of life and still be utterly perplexed by your ideas, even if they start seeing them working in practice. We all fly to our comfort zones. But this means that being a good student, a hard worker or a loyal friend is not sufficient to cross the threshold into realizing something original.

What you can rely on to make that crossing are tools of logic and reason: first do some philosophy and determine your thesis. Find principles, themes and references to give it structure to hang the work off of. Make sure it coheres in an explicable way, with logical premises: compare everything pair-wise, make diagrams, whatever you have to do. There are a lot of possible "systems" but having one is the important thing. You do not want to be in a position of blind faith in the idea alone, and a strong high-level concept has the power of making it easier to rationalize, explain, and argue for a certain way of doing, thus eliminating your doubts.

Once you have some starting point, generate requirements with binary true/false factors: it must have this, it cannot have that. Sketching out requirements can tell you something about the principles you have in mind so it helps to cycle between the two a bit. But you don't build a solid project just on requirements because those are so often subject to whims: "why do it that way?" "meh, felt like it." You instead challenge each requirement against the broader idea to ensure that it works at scale.

From the aggregate of binary factors, key metrics to focus on also appear. And as you do requirement generation, the motivation to do the work appears naturally because you have to do it to answer the question!

And of course, doing this, it becomes a marathon, not a sprint, because it quickly takes you out of the space where you just grab off-the-shelf solutions and slap it together. You start going well out of the comfort zone to answer your question. Now you have experiments to run and research to follow up on. The principles and themes of the project never change once established, they only become more refined and nuanced as you evaluate what the best means of achieving them are.

And I think that is, in essence, how you do it. You can achieve something resembling a successful creative work by accident, but if you stick to a principled approach your chances improve sharply.
Ah, my old nemesis, the shifted space. Haven't been bitten by one of those in a while. Thanks for digging that up!
I feel like I acknowledged that in my post. Most relevant concerns for “why don’t you just leave” are around having enough money to pay for basic needs, having other jobs, or finding a place that works for your geographic situation.

This guy got a huge salary in a market with tons of demand while working from home. There was no particular urgency to leave, so he could have casually looked. It also seems like he would have stayed there if he wasn’t let go.

And from the look of it was still writing about it years later.
I, too, use git commit messages to document the reasoning behind my changes. But I'm unsure if my colleagues even notice, since they regularly write bad commit messages like "Fix bug" and things like that. Also I regularly find my commit messages got lost, since the reviewer squashed several commits into one.

Do you have any tips for establishing a culture of good commit messages?
The "steel man" version of this argument is that, if you're embarking on a new codebase which you have good reason to expect will grow to be large, have a very good reason to write it in C, or use a more appropriate language.

There some reasons to do it, but fewer than there were when most of the projects you've name-checked were started.

I'll skip the part where we review what the other options are, this is HN, we've all seen that thread before.
Commodity DRAM latency is mostly array line dominated, not due to proximity/distance, see eg https://ieeexplore.ieee.org/document/6522354

Also eDRAM is difficult to scale
Low cost home testing kits can go beyond SARS-COV2 and track other diseases all from the safety of your home. Why go to the hospital where you could possibly be infected by other people with infectious diseases or infect the people around you.

Personally, if it is low cost enough that I don't need to use health insurance then I am all for it. Health insurance is good enough until surprise they don't want to cover you or you get surprise bills in the mail from the hospital.

Gates Foundation is absolutely forward thinking. I like it a lot.
Bill Gates is a great man.
I had the opportunity of playing with a Vectrex , a month ago on the Gameon exposition. Really interesting machine. and very unique graphics.
Tech feudalism sounds pretty good about now. I trust bill gates to manage this far more than I trust our government, which so far has been worthless.
Suppressed means there is continued transmission, contained means that’s stopped. Rabies is suppressed with a continuing threat from wild animal populations. The recent Ebola virus outbreak on the other hand is an example of containment in action, with zero active cases at this point.

The only long term success for suppression is from a vaccine. Contained on the other hand means every infected person can gain immunity and the virus would then run out of new hosts.
I also recommend https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Cod....
So what? Why are you trying to assess the relative harm of a fabrication with anything at all? 3) is just nonsense that distracts from real discussion and yet there are people here defending it. I just don't understand.
Not really that clear. Im sure the gates foundation is pretty legit, but if scammers started selling home testing kits that didn't work that could definitely be a threat to the public interest.
I've wondered about that too, but their satellites are close to the ground - 620 miles vs 22,236 miles.

I don't know how far away the average cellular tower is, but I imagine line of sight could be a better signal than a closer occluded signal.

Wikipedia says cell tower range on hilly terrain can be 5 miles, while on flat ground it can be 30-45 miles (which is still over the horizon).

What I wonder about is how many phones per satellite is supportable.
There are a lot more cars, running on much greater speed, for a lot longer distance, with much greater weight, then humans walking on spiked shoes.

The masonry hammer runs on much greater speed, with much more force, a lot more often then the human steps on the peace of concrete being taken apart.
A new home for Jeremy Bentham’s auto-icon
If you company has a bug tracker like this internally and you maintain the project "in the open", please don't do this. I'm looking at you, Google and Apple…
to quote ragnar "happiness is nothing"
"What" is also equally important. But it's covered in the diff itself. Often, there's no need to repeat the diff in text form.
That's where the "springiness of the sidewall" I mentioned comes in.

Normally (with inflated tires) it doesn't play much part. But with flat tires it can come to dominate.
I do

Netflix, Prime Video etc etc
I would assume a project somehow related to travel. Seems fairly self-explanatory, especially if you look at what it contains.
omg no. Stop obsessing about this dragon. I'm not sure I've ever met it in my life (you know, other than segfaults from NULL dereferences which are UB too).
Yeah; I haven't gone low-carb but i track what i eat, and carbs are ~40% of my diet. So, not low, but lower than many. I've definitely played around quite a bit with making sure i up my protein and fat consumption, and it is pretty remarkable how different fuels work differently in your body.
There is a version of DB2 for mainframe, but it’s a totally different codebase as I understand it. The operating system on a mainframe provides a lot of what modern app developers get from their database and caching systems, generally with better fault tolerance and availability. So if you have an app built for mainframe, it often will not have an external database dependency. Doing transactions can just look like writing to memory or files.
I think for Elon Musk, developing space technology is the real business, and if the internet service generates cash flow, it would help defray the costs. If it happens to be profitable, that is just gravy.
There is market for reliability, security and scale in compact size, so they can get new customers.

Companies like Robinhood may discover that it's actually cheaper to by reliable and secure hardware and write software into it than try to write fault tolerant and secure software over COTS hardware.
From (probably slightly misremembered) stats I've seen, it has approximately 40x the hospitalisation rate, but only 10x the death rate of flu

So yes, lower hospitalised mortality rate but only because so many more people are hospitalised
> It's slow and most people prefer the static html version.

The only people I've ever heard talk about the static html version are a few HNers. I'd wager 99% of people don't care, don't mind their email client's first load being slow (they just keep it open in a tab anyways), and don't even know about the static html version.
If anything sets a bad precedent, citizens starting testing themselves and each other, what could possibly go wrong (sarcasm)...

Should we test for flu, cold as well? All other diseases? Should you only be allowed to be somewhere if you tested yourself within the last N hours ... etc .. because that is the next step, looking at each other with suspicion.

When did you last test yourself? Did you not test yourself? Why not? What are you hiding? What kind of citizen are you? Get back there and start testing yourself.

Are you going to test yourself every day? When you sneeze? In the morning, in the evening?

Stop living in fear. Nothing will happen to you.
Because people want iOS (which has more and better apps) but with control. This is specifically about Apple controlling too much on their phones, and why that's acceptable.

HKMap needs strong offline support since it's an actual map showing dangerous/important areas and people. It also used mesh networking for updates from other devices. Neither is possible on Safari.

I would say that apps aren't as blocked as easily as a website either, but Apple proved that wrong which is the reason for the question on their control.
You mean UpMem or Venray Technology?
It could be. I would have said that the reason was that the name of the software was the TIM, and at some point, the repo had been restructured so that the code for the main app was in a subdirectory rather than in the repo root, but that could easily have been a cover story.

EDIT Ah no, it couldn't have been that, because i met several of the developers who had caused all the problems in the code, and none of them were called Tim or in a basement.
Spending his money to protect himself from contracting illness.

And the objectivists rejoiced.
I always asked for an English version of the letter in addition to the German one. It then loses all the nuances and just looks nice.
I feel like all of those concerns are nullified if you just don’t quit your job before lining up another... which is what people usually do.
Forbes writers have been instructed to quit the clickbait
I think GP poster means “both Pivotal and VMware were owned by Dell.”

IIRC Pivotal’s stock price collapsed, it didn’t seem to have much of a future as a public company, and so Dell consolidated it into VMware to save face.