skysight-inc/HackerNews huggingface dataset:
It goes beyond microcontrollers to every step up the chain. You want to optimize you system to hit the cache at every level as much as possible. The processor and its cache. The database and its cache. Web servers and their cache. Because going outside of the cache at any level usually incurs a performance hit orders of magnitude worse.
Brave browser has a built in torrent client, IIRC.
The problem is they always switch around between each other so I'm not sure that would solve the problem.
The idea with CSS-in-JS is that you don't use selectors. Since you are constructing DOM nodes individually, you don't need to select them. Styled components can accept props, which lets you style dynamically (e.g., using an array index to replace `:nth-child`).

With regard to media queries, it depends on the library. For the library the author is using, the media queries are defined inline: https://www.styled-components.com/docs/advanced#media-templa...
It's a pretty shitty weapon because many countries have the capability to launch a bomb to the satellites and the satellites are way more expensive than the bomb.
I know how the sausage is made, so I know that making a full web app work without JS isn't at reach for most teams/products.

By knowing how the sausage is made, I'm also aware that the line marking the aforementioned certain point is often drawn too early, at informational (i.e. document) stuff where HTML and CSS are fully capable on their own.
> Conventional LRU uses linked-lists and when the LL no longer fits in the L1/L2 caches

He refers to the LRU-like policy of the I/D cache itself.
Consider also an FM band-stop filter and an LNA, apparently makes things so much better. Even with the antenna removed I can still hear FM broadcast, ruins the whole band. I've just ordered those two, want to test it with NOAA reception.
This is what I'm doing at the moment, but dragging around 2-3 desktops every time I wake my laptop is an extremely draining experience.
> “all software has bugs... blame still lies at the feet of those people who choose to exploit the bugs...”

Nice analogy!
>Have you ever seen someone write something to the effect of “I would use Go, but I need generics”? Perhaps we can infer from this that many of the people who are pining after generics in Go are not, in fact, Go users.

This is the sort non-adhominem adhominem attack that makes these debates so tedious.

Obviously, someone deciding not to use Go for lack of generics after giving it a serious try would end up not being a Go user. Does that invalidate their opinion?

The logic of this argument is strikingly cult-like. Any criticism coming from non-adherents is automatically disregarded on the basis of it coming from non-adherents.
Off topic, but I really like the new site design, particularly the Appearances page!
Misinformation on an individual basis isn’t often harmful.

There are millions of demonstrably-false ideas floating around. I live 30 miles from an Alien Welcome Center...a place devoted to welcoming aliens when they appear.

The problem is when fringe ideas become weaponised into culture at large.

This article seems to focus more on the individual cases of misinformation rather than the more general social problem - finding ways to fight remarkable falsehood with dull truth.
I think the counterpoint to this would be Google Search. The core product is incredibly simple from a frontend perspective, but the backend is world-class engineering.

I think making information usable is hard. This means that the burden of the development falls on whatever is making the information useful. If you simply can query an API and get stuff back that's valuable because the data is already processed, UI is pretty easy (aka Google). If your backend is returning raw data that needs to be organized and displayed, and users need to be guided through complex processes that are just simple CRUD operations server side, you have a much harder UX/UI challenge. Most things fall somewhere in the middle.
I will probably never opt-into a language for the rest of my life that is not-hybrid (able to be functional or procedural).

Because hybrid is objectively better than only supporting one.
I hear what you say, but how tiny is tiny and how moderate is moderate? Can we blame the people for not willing to put their lives at risk, albeit small?

Can we blame parents for not willing to put their children's lives at small risk for saving some other adult?

I believe that should be the subject of the discussion, not whether vaccines cause autism (apparently they don't) or whether pharmaceutical corporations are greedy (yes, they are like any corporation).

And - as a separate, but related question - what do we do with religious exemptions here?
,,In other words, natural selection and cyborgization as humanity spreads throughout the cosmos will result in species diversification. At the same time, expanding across space will also result in ideological diversification''

I see the opposite happening already. There was a comparison on instagram made, that concluded that the cafe places all around the world are converging to the same look. There are still tensions between countries, but the number of people killed in wars is exponentially decreasing compared to the number of people living.
Why do you think CSS-in-JS has only caught on in the React community?
Again, that is not true. They are not cognitive tissues but beef. You could call it Processed Beef if you want, but it doesn't have a vastly different nutritional profile.
Sweet. Sounds like a $200 monitor cable is in our future.
Sometimes you don’t have “an IT organization”. Think demo day with an IoT device. God bless ngrok.
Works out of the box for the most recent version of CRA, as well.
I really like https://web.skype.com, nothing to install or update and it's got a lot of features, plus it runs under Ublock's purview and it inlines YouTube videos.

But I see a banner often saying they've replaced it with something Chrome-specific. :(
Yeah, SEP is very useful but can have a slightly awkward perspective on these sorts of things. I intuitively think of physicalism as "That which is real is that which can be brought to the attention of the senses (directly or indirectly)". You need various caveats and elaborations to account for hallucinations and the like, but that's the basic idea I have in my head.
Bringing up C invokes my suspicions about this debate: It's really people with totally different use cases talking past each other.

C doesn't have generics. Java has extremely limited generics. In both cases, it means that it's annoying and difficult for me to write a decent math library. I have to choose among making it support only one numeric type, implementing many copies by hand (one for each numeric type), or using some sort of ugly code generation tool - who knows what in Java, the preprocessor in C - to implement all those copies.

Which might not be a problem for everyone, but, for my use case, it's annoying.

(Deliberately avoiding the "generic library of data structures" use case because, while generics are what brought that to most of us (edit - in the world of static typing), it would appear that Go's handling that case just fine without them.)
This is definitely a low-end estimate. To build a good product takes a team of four senior people (2 back-end, 1 front-end, 1 UX) 6-12 months including the iteration and modifications. Let's say the average salary for a senior person is $120k / year + health insurance and benefits, office, etc. We're already at $240k for 6 months or $480k for 12 months NOT INCLUDING health insurance and benefits.

Don't tell me that a dev shop can do it much faster/cheaper. I've worked with a few of the TOP dev shops out there and you always get more bang for your buck with FTE who have a vested interest in what you are building.

We haven't even discussed sales and marketing yet.

This is just the cost of shipping something that works, not the cost of getting to Product/Market Fit.

All-in I would say getting to Product/Market Fit can be anywhere from $1M - $6M for SOFTWARE depending on the complexity of the new market.
I clicked because I thought it was about the Simpsons... Next time I'll read the whole title before clicking.
>The technology is there to allow us to have both without too much compromise either way. That's great!

Except it's not there, there are compromises, mainly around durability and repair costs. In my experience modern macs laptops are more fragile than older ones and cost a lot of money to fix when they break. Sometimes they break due to design compromises and even more design compromises up the repair cost through the roof (see complaints about the display cable for an example).
The only words that should ever come out of your mouth and float to a cop’s ears are, “I’m invoking my rights to an attorney, and silence.” Rinse and repeat as needed, and ignore ideological arguments from strangers on the internet that don’t have your best interests in mind.

Oh and “ghetto-like” wasn’t necessary.
Good question.

First, I'd look at setting up automation and boundaries. If I'm launching a new service and it's insecure, hackers shouldn't have free reign in the datacenter, say to send RPCs to any other service they want. It should be like a public cloud. Or if a config file was edited in a way that's malformed, the solution might be to have automated tests that run as part of presubmit. There should also be clear documentation of dos and don'ts that you wouldn't have to understand all the implementation details to use effectively.

Beyond that, some checks will always be required. My post was intended as more of a "if possible, do this instead of that" than in a binary sense.
Of course it isn't an essencial feature, all the older timers here had to code with programming languages without generics support for a couple of decades.

By the way, C has minimal generics support since C11.
Just mentioning The Coding Den which has over 9k users, might be interesting as well :) https://discord.gg/code

(Not trying to promote btw, it's not my server)
Creating a Portfolio with Gatsby.js?
I'm curious about the Arduino mistake - do you have a reference or URL?
What's the alternative?

The problem is very well known. Without any proposed soluation, the article would be very uninteresting.
In practice, I think a lot of people have found that you can rarely do a complete overhaul of a website’s design using only CSS. Even if you could, it would be impossible to feel confident that your changes look reasonable across all uses of said CSS. So if you’re doing a big redesign you will usually have to work with logic anyway.

I think there’s truth to your second point though - reusing styles in parts of a project that does not use the same framework. Something like Tailwind CSS can be a good option then.
With regards to climate change and global warming, what about putting this in between the sun and the earth to block some of the energy reaching the planet to allow it to cool?
It is not the same product. The product you mentioned are used in different areas for different purpose.
Apart from the silliness of pretending there won't be future wars, there is an assumption here that space colonists will be even able to communicate with each other. The ones who travel fastest can be constantly outside the spacetime cone of the others, and if they re advanced enough even their lightcones. the universe is vast for everyone to live long and prosper, and sometimes kill each other.
If you make sure your site works without javascript as well(unless it's actually an app) it's fine by me.
C does have generics since C11, although relatively constrained.
Is the resolution high enough to see any man made stuff?
In case anyone else was wondering what BEM is:

http://getbem.com/
I haven't read that book, but on the topic of US foreign policy in general, most people I know here in America realize it's a lose-lose effort that we must continue to lose. When it comes to helping other countries, we go from "not enough" to "too much" seemingly overnight, but there never seems to be a "just right".
Your reasons sound similar to those given for standardizing on in-line styles as much as possible. Both methods are ways to subvert or work around the cascade. I would like to hear from you why you think the cascade works the way it does, and what aspects should be preserved so as to not 'throw the baby out with the bathwater' while adopting these new methods. Thank you!
This is the reason why China finds it acceptable to act as they do in quite a few things, such as attempts to enlarge their EEZ. In their mind, they are just doing what USA did too, so it's a fair game.

But they do not understand, refuse to understand, or simply hold irrelevant the narrative manipulation that is necessary to pull it off, and this is something US excels at. The 'spreading freedom' meme is just one example; another example is 'we do it, and after that we declare it illegal for others to do it' - US committed significant war crimes, such as fire bombing of Dresden and Kyoto, and was never held accountable for it.
Thanks! And now I'm sharing back out as well.
Well they're usually bigger. IMHO 1080p for monitors maxes out at about 22-24" before it starts to look blurry, after that you want 1440p, until about 28", which is when 4k starts to make sense.
I used to write full blown applications in Assembly as well.
It doesn't really matter how the JS components are styled if NoScript users aren't loading JS, though I assume you know that and are just trying to make a point that sites shouldn't be using JavaScript.
The proof is in the charge of the accusers. They accuse that there is a wage gap. Can they show a study that is properly peer-reviewed and includes all basic criteria together?

Each time we have this discussion, it derives into « Ok women are not paid less because of their gender, but because they work less. But they’re prevented from working, by social prejudices! »

Which proves my point, and sidesteps the question onto social prejudices. Concerning the question of social prejudices, it’s again a blanket accusation, and each argument has been repealed, but it’s a long discussion.

In each discussion what we can easily prove is that:
- Women work less as soon as they marry a man. When they marry a woman, they earn more. When they are single, they earn more. When they have kids with a lesbian, they work more. The only case they work less is when there’s a husband, and that’s valid even before the first birth!!! All of it points to social expectations that women are not expected to work when they are in couple. Sorry for the « social construct » ideology, but the man is vastly made a slave of the woman in marriage, which would explain all of the above, including the wage-gap-because-they-work-less.
- All in all, girls are treated better at school, better marked for the same copy (measured with anonymization, not just because they’re better), taken careof when they fail and even when « feel unsure » (see the whole debat about « women don’t dare asking for raises »– they got help from everyone on that case - while men don’t even get help when they plan to commit suicide),
- Which results in better, both easier and healthier employment for women, and in average women before children earn 117% of men the same age in USA. I don’t even claim it’s infair that women earn more, I’m just tired of feminists being bigoted about male problems: for every feminist figure there is an inequality m that kills 50x more men and has 100x to 1000x smaller budget (see: beaten women, suicide, workplace deaths, in all of the western world).

Again, the burden of proof falls on those who claim there is an inequality. All we can prove is that every single feminist study was reliably proven false on the topic of wage-gap-for-same-work.
Souls, lost and found (2000)
The only answer I've ever got for "why" is "I don't email specs out without a preliminary chat, because fake profiles can lead to specs being stolen and used to take clients".

I can accept it's a thing that could happen and be true. vOv
An algorithm or data structure may be applied to various types of data. There's various ways to handle this. Macro expansion, generics (basically equivalent of macro expansion but as a language syntax), or losing types: void pointers, duck typing, interfaces.

Go puts it's head in the sand and and handles the problem like it's 1970 with the "void pointer" way of thinking. That's fine if you're using a dynamic language (ie python, lisp) and firmly decided your trade offs with regards to types and performance. But if you elect to use a statically typed language, it would be nice to reap the benefits.

Modern C++ is still the only way to go for serious software. Rust maybe in the future as the compilers improve. Go is a no no-go.
And why do you think they care? I bet they've done a lot of extremely careful market analysis and are pretty certain it's an important factor for consumers.
No, I mean programs that you are executing as your own user.
I'd guess you maintain it by replacing the satellites. We're pretty good at maintaining satellites by replacement.
I've actually found the combination of Python, Flask, SQLAlchemy and Bootstrap really good for throwing together quick web-apps.

I usually use wxWidgets (well, wxPython) for the desktop stuff, but I wondered if there was a better way. It just doesn't feel quite as smooth and polished as Delphi/C++Builder/Kylix were.
> Cant repeat it often enough, just never talk to cops. No smalltalk no nothing.

What if you actually did do it, though? Wouldn't it be in the best interest of society if you did talk to the cops/confess?

Otherwise you are just making everyone waste a bunch of time and money doing a dog and pony show that might result in an innocent person being punished for your crimes.
Thanks for the correction, I shouldn't say "generics". But rather "Go programmers don't have user-defined generics, they use interface{}" or something along those lines.

Other than that, I don't think we're in disagreement here.
i think they are using the more general definition of memory according to which e.g. antibodies are a memory
Since you're apparently the head of Google Registry, can you tell me how many .dev domains have been registered for (internal) use at Google?
Tom West Dies at 71; Was the Computer Engineer Incarnate (2011)
As an outsider to this exchange, I think porpoisely intended to highlight the "since I was 5 years old" part in his/her original quote, so that's why your response was interpreted in that context.
Same here with my LG 27UD68P-B. Endlessly annoying. Wakes up probably around ~70% of the time.
They did pop up in short period of time and go projects are generally considered quite stable - how can you achieve those without "basics being solved"? IMHO basics is precisely what they did solve exceptionally well.
noscript users certainly signed up for a subpar internet experience, but its not just them that should be thought about.

Slow internet connections are a reason to think about the experience when loading JS is slow and/or failed. It's not just 'poor people' who have slow internet - 'rich people' on inflight wifi or on the internet on the train can result in things not loading.
Now, yes.

Thanks for asking this, I just finished setting it up.

For anyone reading this:

If:

1. you are on macOS,

2. you used brew to install GnuPG: brew install gnupg,

3. after generating your GPG key pair, these two commands fail...

$ git commit -S
$ echo "test" | gpg --clearsign

...try adding this line to your bash profile:

export GPG_TTY="$(tty)"
That's so true. It would be great to be able to have very limited / very short macros as a compromise.

var a = n1;
if a < n2 {
a = n2
}

vs.

var a = max(n1, n2)

without having to write and make a function call.

I still want something more powerful for error handling like a type that if it is ever assigned non-nil the method returns immediately.

var err autoreturn error

rslt, err = pkg.MaybeError()
All Apple laptops come with multiple standard USB ports.
Go channels are very handy and magnitude of less spaghetti than futures. And goroutines have good performance.

I think people are used to futures etc, that's why the new concept feels strange.

I think the goroutines and channels are the biggest features which compensates for generics.
Deciding whether to open-source a Machine Learning model
The tech that will impact 2019
This argument does not apply to the OP as it does not account for any bookkeeping. I think an actual answer is more complicated and will entirely depend on the definition of “random access pattern.”
You're right, but community support around a certain pattern often makes it the de-facto practice, so defaults matter even for a non-opinionated library (where "defaults" are essentially what tutorials and thought leaders point to)
this uber-h3 has been public for a while, and it brings mixed reaction for me -- it seems like Uber wanted to 'invent' something really cool, as in, the showing off part is every bit as important, or more, than the tech. The reason to point that out is, spatial indexing is one of seriously studied topics in academic geometry. Yes, the classical papers can be a bit much, but there is a reason why they are so -- it really does benefit from that kind of attention.

If Uber needed a different kind of spatially indexed filter and search, then some system that is adaptive to data density would seem like the performant thing to build. Nested-hexagon space is certainly fun, but real car data is distributed in certain ways, that are not rectangle and also not hexagon.
The last two claims of the article are deceptive in my opinion. Starting Apple "could" fix the flex cable, and has "addressed" the keyboard issue. Apple technically "could" , but will they? Also even though they have addressed the keyboard problem, they have not actually fixed it yet.
IIRC this happens because some monitor companies are cheap/lazy and assign the same EDID to all monitors of a particular model (EDIDs are supposed to be unique), making it difficult for operating systems to distinguish between them.
Awesome picture. Well done :D
This is a silly and myopic article. That sounds harsh but I can't think of a nicer description. Moreover, the author himself describes doing it for far less ($10k). I don't mean to be a curmudgeon here, but IMO, I think articles like this hurt more than help. Tossing out a not low but semi-attainable number is just clickbait.

In reality the amount of money varies by many orders of magnitude. It can be as low as $1k (your basic legal costs and some cheap hosting) to as high as $100mil (you need facilities, manufacturing, warehousing, retail channels, etc, etc). Each business is different and how much you will need to "get to sustainability" will vary based on the market niche, strategy, competition, positioning, market landscape, timing, regulatory burdens, etc, etc.

Hell, even for something fairly well defined business concept like "start a bar in a medium-sized midwestern US city" the costs can vary by an order of magnitude depending on the specifics.

Better advice: research your market and plan out what you think you'll need. Estimate the various expenses that lead to revenues, including the time-delays between when you spend and when you receive funds. Then do it again for a less-than-rosy scenario. Finally accept that your guesstimate is probably wrong and go for it anyway!
It's not 'objectively better' to be honest. Offering two ways of doing the same thing can lead to a non-uniform codebase, and can lead to people being 'experts' in functional and others being experts in procedural. And at some point, the procedural guys will get a mindfuck reading the functional people their code.

(We had something similar happen).
This makes me lose my shit every time I want to see a simple jpg image in Windows 10. WHY?? Even my 14 year old linux laptop can open 100+ MB images faster than W10.