skysight-inc/HackerNews huggingface dataset:
I can't tell if this is a profile or satire:

> But Hastings told me that she impressed him, during a business trip to Delhi early in her tenure, by insisting that they leave the grounds of the five-star Imperial Hotel to eat at a “hole-in-the-wall that had epic food.”

Is this the person they've set to take the fall for Netflix shovelware?
> Shein has repeatedly come under fire for just about everything you can do wrong with a company, including [..] high levels of toxic chemicals in its clothing

Comparative advantage: outsource your industry to someone that can do it cheaper, so you can focus on what you can do better. Both come out ahead.

That your trading partner is doing it cheaper because they're literally selling you poison is not part of the model, and doesn't stop economists from extolling the virtues of liberalizing trade.
Curious to hear more about the team/problem. (I’m a mathematician in the middle of trying to convince companies that I’m useful)
That’s chronological but still algorithmic.
what is going on here? You have multiple variations of this post in the new feed.
I generally think it is worth it. In React+Redux, Typescript enables a lot of help in the IDE and catches a few problems or bugs.
Because the wind providers have already sold that electricity in an energy auction. So the grid has to pay them for electricity, even if they can’t use it.

One of the big points in the article is that there’s a single energy market in the UK that doesn't consider location. So it’s possible for wind providers to sell energy from locations where it can’t be used. An obvious fix is to introduce multiple energy markets for different locations, so the price of electricity drops in areas where there’s excessive production, and not enough transfer capability.
In a word: YES.

Update TS regularly to avoid making updates hard and lagging behind to much. Unlike a runtime framework, updates are unlikely to break things at runtime, so there are no reason not to update very often. If some external types are wrong or annoying, don't forget _any_ exists and simply brings you back to the crappy situation you'd have without TS (well admittedly it adds transpilation costs, but it's still type checking everything else, which is well worth it).

I think TS is nearly the best language that could be done given the constraints of being fully compatible with JS.
I would not claim to have enough information about twitter being overstaffed? They might have a lot of technical debt, which can cause the need for more people to run it. But that is not "overstaffing".
This is one of the best comments ever in HN. Every engineer should understand this. Users don't care about what's behind. They care about whether it works and its easy. All the rest is irrelevant to them. We engineers tend to think 'but if this particular thing X happens in the code/stack and causes this particular problem Y, it will cause a Z% percentage problem and this will affect the user experience'. But in the end, for the overwhelming majority of the cases what ends up happening on the user side ends up being something unnoticeable to the user. Causing a lot of time to be spent for something that the users dont care about.

It feels more like we engineers use such logic of 'better code/application' to justify ourselves doing what we would like to do and build with the code than anything else that is related to the user.
Same model with random tweaks applied.

Just because there is a new toy doesn’t mean capitalism gave up.
It's not surprising at all. Given the intermittent nature of wind/solar power, it would be a huge waste of transmission network capacity built to the maximum producing capacity.

So, unless a storage facility is available, you will continue to see lots of wind/solar power get discarded as it's the most economical way: it's much more expensive to shut down or reduce output of other type of power generation such as gas or coal plants.
> i) Like a framework, you are at the whim of TS devs as it gets updated (edited)

I have been using TypeScript for almost 6 years and not experienced this problem. Like everything else keep things simple, don’t chase trends, and so long as do right by your product everything will be smooth. I also don’t waste time with large SPA frameworks.

> ii) Libraries are badly documented

I don’t use many dependencies. The DOM and Node type definitions are extremely well documented and inspired me to write better documentation.

> iii) Error messages are hard to follow

For me this depends on the complexity of a given object or type definition. When things are primitive the error messages are more clear. My only suggestion is to keep your interfaces primitive.

> iv) It requires yet more transpilation

I use SWC as a TypeScript stripper. My nearly 50kloc project takes about 2seconds to covert to JS, which pushes out my total build time to about 2.5seconds.
The guy is young and a professional athlete, so assume he was vaccinated. I've also known someone to have heart attack before covid vaccinations were a thing, young person too. Doesn't mean anything. The only reason this is even being discussed is because a bunch of people have leapt on every single high-profile death or health incident and raised hell trying to tie it to Covid vaccinations and doing the "just asking questions" thing to try to make people doubt themselves. Apparently this has worked on you.
The text to speech function at the top of the article is the actual product but they are not going the extra mile and record it again for the other speed multiplier like x.7 or x2.0. You can clearly hear the mp3 struggling, especially at 0.7 speed.

It would have been interesting how they perform in comparison. The fact you are able to adjust the voices is even one of their selling points. I really wonder why they haven't done that
> Einstein equations are difficult to use, so we usually split the results in two models, FLRW (empty space) and Schwarzschild metrics (around matter). Computing the equations leads, respectively, to expansion and gravity. And it's not like there's one and the other, with gravity fighting expansion. It's "one or the other".

Arguably splitting a complex model of reality in two for convenience and saying that it’s “one or the other” is also an over simplification.

By the way, the same wikipedia entry also says things like “gravity binds matter together strongly enough that metric expansion cannot be observed on a smaller scale at this time.”
For each case like NOTAM database going down, there are tens of thousands of applications running on the web and outside the web without people obsessing about its architecture.
It only looks like that if you're not observing the math from all four Earth rotations simultaneously, i.e. from the four corners of the time cube.
What’s energy consumers got to do with it? As a (theoretical) investor in energy I don’t give two shits what the cost to the consumer is gonna be, as long as I get paid. Hence curtailment is always a great investment (for me).

Obviously it’s a shitty deal for consumers. But they’re not investors.
That is true for almost every technology related to energy. We can't satisfy global demand for solar panels or wind turbines or batteries or other forms of storage either. We also can't satisfy demand for heat pumps or building insulation.
Gnuplot does that too.
I checked my Connected Apps list and can still see Tweetbot there, but it said I approved those permissions back in 2011, is ”Tweetbot for iOS” the same as the current Tweetbot available in the App Store?
Why do you breathe without monetizing it? What's the point?

Why do you take a dump without monetizing it? What's the point?

Why do you listen to music, or watch a movie without monetizing it? What's the point?

You must have a very sad life with the world view that you have.
Did you write that blog post? Cripes, it is amazing. What a brilliant idea. Thank you to share. My brain is wired for C++ templates, and the technique makes good sense!

To your last point: Why not C#? It is interesting did not mention it, as TypeScript came from Microsoft R&D (as I understand).
In practice they are next to useless, the expressions are not very...expressive (just try it in the AWS editor). I suspect a LLM would be able to infer the context or we can use prompt engineering to generate the appropriate tokens encoding emotions for the intermediate neural codecs directly (Mel spectrograms are so passé now post Vall-E).
This isn't to say Google becoming the guardian is appealing; plenty of nose-holding to be had there too. But considering the absolute ineptitude and even hostility Mozilla has shown towards users over the past 1~2 decades, I'm glad they aren't the guardians to anything anymore.

Everything Mozilla touches dies an undeserving death, so I hope they continue to spiral further down into irrelevance and an eventual dissolution.
where experts are correctly identified

So never?
Anyone here that uses a strategy like Memory Palaces (also sometimes called "Method of Loci" I think)?

I would be especially interested in whether people apply this technique to stuff different from memorizing lists/sequences.
> What programming language would you choose if you wanted to make a modular monolithic architecture?

i'm sort of cheating, but: if you add more context, the decision will likely be easier. what's the architecture for? what are the key constraints of your context that you need to optimise for? is modularity the primary constraint, or is it secondary or tertiary to other concerns? e.g. if the architecture will be used to build engines for fancy AAA games, where memory bandwidth is a major consideration, maybe your choices are limited to C/C++ so you can squeeze the most out of the hardware, and make use of existing middleware. if your monolithic architecture needs to be adopted by a company that has 1000s of developers who are familiar with java, then maybe to make it easier to sell internally, it needs to be implemented in java, so the switch cost is reduced for teams who you're trying to convince to adopt it. if you're building some saas thing, then you are probably going to end up using javascript for some of it. if the architecture will be used by teams with large numbers of recent grads / junior devs to deliver projects or ship features, maybe it's best if the language doesn't contain too many huge foot-guns.
Kuzu looks very interesting: https://github.com/kuzudb/kuzu

Discussed here yesterday: https://news.ycombinator.com/item?id=34358912
I think it's actually a limitation of the Raspberry Pi Pico only having 2MB of flash space while some other RP2040 boards can support up to that 16MB. Reading SD cards with the PIO might be a bit much so the project README mentions the 'next-gen' version with added RAM
Already happens unfortunately. Usually because the fines for failure to produce when you’re actually called upon and much smaller than profits from pretending to have production capacity.

With regards to fraud, doing this deliberately would be fraud (but good luck proving it). Building the equipment and then failing to maintain it, and failing to test it, that’s just bad management…
The low-cost supermarket cheap brand of olive oil comes in plastic. This company is marking up the price five times yet still manages to mess it up, so they write a lazy apology email and gets a bunch of free advertisement in the Wall Street Journal.
I love vim. I've been using it for almost 20 years now.

I agree with you about code entry speed, that's not the point.

I think the easiest way to put it is that vim is 0% task loading. I never have to expend any energy dealing with it, making it do something I want, finding some button that moved around, etc. Vim just works: in almost two decades, I have never once encountered a single bug or change in behavior that I found irritating. Seriously, never. I just write code.

99% of the code I have written both personally and professionally in my lifetime was written in vim. That's the other win for me: all that muscle memory is still beneficial, now and forever. Its a much more universal tool than any IDE.
A plug: if you are looking for TPC-style application-level benchmarks for database systems, check out the LDBC Social Network Benchmark [1]. It has workloads for both OLTP and OLAP systems. We designed both of these to prevent many of the common benchmarking mistakes. To ensure that implementations follow the specification and their results are reproducible, we have a rigorous auditing process (similarly to TPC's benchmarks) [2].

[1] https://ldbcouncil.org/docs/presentations/ldbc-snb-2022-11.p...

[2] https://ldbcouncil.org/benchmarks/snb/
I suspect it's because the number of people who install signal, briar, tor or v2ray is small, but the number of people who buy iPhones is large, and apple's defaults really matter.

If you take means to hide your activity, and you're in the minority, then that's a signal that you are suspicious. If everyone does it, dragnet surveillance stops working and it becomes harder to get information out of everyone, and the metadata of who is hiding their tracks vanishes.

I have a strong ideological objection to being spied upon and take measures to mitigate it. It's not easy though, and I'm probably in a minority. The government wants to keep it that way.
Facebook had downtime on all services, globally... for like 7 hours 2021, facebook is how many orders of magnitude bigger than Twitter?

And a regional outage vs the internet claiming twitter would be offline completely?
Elon is a fan of the chronological timeline, so I
would take a pause there and consider. He even tweeted out instructions on how to switch to it and away from algorithmic.
Hard to imagine why a hash and false meta data couldn't be created for a doctored picture.
All wrong. Admin tools are not fixing the root cause. Instead they are only making the operations more efficient.

The way to scale is to focus on eliminating the need of manual operations/admin tools by giving the power to the users of your products. Focus on self-service. Sure, not everyone should be able to overwrite an arbitrary value or change an important setting but that is easily solved with granular access rights.

In my team, we never want to create a feature that only devs or support team can use. These exclusive features create the need for us to operate them instead of staying focused on engineering.
Nothing to do with any of the above. Purely a function of how the energy markets in the UK work. There’s no contract providing you with a long term guarantee that the current situation will continue, and the grid doesn’t care if you go bust.
> but the types in TS are always _logically_ correct. As in absolutely correct

Erm...

type Test = Array<number>;

const xs: Test = [];
const x = xs[0];

What's the type of x, according to typescript's default behavior? It's number [0]. What's the logically correct type? Some sort of a Maybe<number>, which typescript doesn't have; so a number|undefined instead. Most people don't use typescript at that level of soundness, both because it would be painful, and because typescript doesn't have it as a default.

[0] - https://www.typescriptlang.org/play?#code/C4TwDgpgBAKhDOwoF4...
That’s because you’re running tortoise on a CPU. It does about a sentence a minute on my 3090 gpu. It’s also quite good if you pick “high quality” and train it with 10 sec clips at the framerate and bitrate it asks for.
I effectively believe at a deep internal level that everything will work out okay in the end, and that I'm vaguely guilty for having done something. Objectively neither of these are true, but the former keeps me sane while the latter motivates me further.
Earlier: https://news.ycombinator.com/item?id=34361591
Is that the Commonwealth and its major colonies…
I thought the same but having worked 2 years close to CIOs I have realized their job is quite hard as it is. CIOs have to navigate hundreds of technologies and each vendor wants their cut, sometimes US startups are the worst… so choosing an old established technology still makes sense for most of IT people to manage tech and vendor risks… not a great answer, I know.
No, the reason Germany is burning more coal is because they stopped importing gas from Russia and supply France with extra electricity while they repair their nuclear reactors. It has literally nothing to do with the volatility of wind power.
How to turn plummeting birth rates into extinction birth rates.
This discovery of the early galaxies seems to make “huge-looking iPhones far away” xkcd obsolete.
That assumes the problem of building wind far away from usage changes, right now most new wind is still being built in Scotland, and the problem will get worse not better without also investing in transmission
Django AdminTools has been' updated since 2021. Is there an alternative that you use?

+1 on ActiveAdmin. We recently switched from Rails to Django and AA is something I'm severely missing. The DSL is terrribbblee but once you learn it, omg so fast to do anything.
I'm unsure if it is running as good as before. I have noticed more issues over the past week than I ever have using Twit.

Particularly, a nasty bug that keeps the timeline refreshing while scrolling and is constantly moving content around on the screen.

Curious if anyone else has run into something similar.
> static typing is a good thing [...] My issue is with the amount of extra work it places on developers

This is one of the eternal complains about type safety, somehow mitigated by type inference. I believe it is totally worth it in the case of Typescript.

> i) Like a framework, you are at the whim of TS devs as it gets updated (edited)

As a language, it has proven quite stable. Even if development stopped tomorrow you could keep the current version forever.

> ii) Libraries are badly documented

It is inconvenient but, since they are js libraries, they are compatible. You do not need specific ts examples, although it is extra nice.

> iii) Error messages are hard to follow

Did not run into this issue myself but fair enough.

> iv) It requires yet more transpilation

tsc compiles ts into js. Depending on what you use, you could get rid of webpack etc. and just use tsc.

In summary, for me Typescript is totally worth it. All this lost time you mention is different from the lost time adapting to x framework or y packer update, since it reduces errors down the line. It might feel like it is slowing you down, but you can always use any for certain modules and type things at the interface. It is still your decision what to type, the language gives you the tools to do so.
What I'm trying to drive at is whether there is any satisfactory way for a CEO in this position to "take responsibility for their actions" without raising your ire. What would they have to do? Then we can look at whether that's a reasonable thing to expect of someone in such a position.

My initial instinct is that this line of argument is more like venting than it is any kind of real suggestion for behavior change.
(A bit )off topic - chatGPT managed to infer your email address based on this comment. Required some hints though - most likely due to my lack of experience (first try).
I was curious to see how it can improve indexing in general.
Same, but I imagine doing it in a country house with a table looking out into a lovely garden, and a mountain path nearby for long walks thinking about things.
I have kind of done that for last few months. Chat GPT helped immensely with that. I recently even asked if it's worth it to go back to academia. Still exploring that.

A few things that I recently understood or read about.

- Fermi Paradox - with help of chatgpt https://imgur.com/a/LuVV6iK

- How the age of universe was calculated.

- Redshift

- How age of solar system was calculated. I previously thought just like the universe is expanding, so is solar system. Turns out that is not the case. The distances have been more or less fixed. (i thought sun would be losing some mass, weakening gravitation for that to happen, nothing like that).

- Exo-planets.

- a lot of nuclear physics.

- Parallel universe theory according to quantum mechanics.

- gravitational waves (how to measure ripples in spacetime https://www.wired.co.uk/article/catching-cosmic-rays-virgo-i...)

- Theories around nuclear fusion and how ML, High Temp super conductivity and more precise chips are making advances possible.

And so on.

Will add one special mention to this: https://www.quantamagazine.org/why-this-universe-new-calcula... (this universe exists because it has the highest entropy is a layman summary of the article)
Sure, technically, chronological ordering is an algorithm. I wonder what you would want.

¯\_(ツ)_/¯
The switch to Metric in the US was made easier by a personal decision of Carl Johansson... (backed up by wikipedia)[1]

In the early 20th century, the U.S. inch was effectively defined as 25.4000508 mm (with a reference temperature of 68 °F (20 °C)) and the U.K. inch at 25.399977 mm (with a reference temperature of 62 °F (17 °C)). When Johansson started manufacturing gauge blocks in inch sizes in 1912, Johansson's compromise was to manufacture gauge blocks with a nominal size of 25.4mm, with a reference temperature of 20 °C (68 °F), accurate to within a few parts per million of both official definitions. Because Johansson's blocks were so popular, his blocks became the de facto standard for manufacturers internationally, with other manufacturers of gauge blocks following Johansson's definition by producing blocks designed to be equivalent to his.

[1] https://en.wikipedia.org/wiki/Gauge_block
Unfortunately there is no big copper plate in the ground connecting all of the UK. Transmission capacity between different parts of the grid is limited.
What are people using graph databases for, and what do your queries look like?

I've read about them briefly but I have to admit my imagination fails me as to how it would look in the real world.
Chromium doesn't run on most embeddables and is very memory and power hungry.
Currently it looks like 3rd party apps have been cut off, not the Twitter or the API being down. So I don't consider it out of place.
Biden taking “absolutely wrong approach” to crack down on Big Tech, critics say
I fail to see how it would be embarrassing to improve their product. Is it embarrassing for automakers to release a new car with new technology that's better than their last car?
I've been working with JavaScript for 20 years. And 5 years with TypeScript. And, well. I still am not convinced.

Too much overhead for me. I really dislike typing obvious things and boilerplate. Probably my fluency with JS is to blame. I don't need to see types and autocompletion. If I really need to — I just go to the source and inspect the source code, that is how I familiarise myself with the interface. I also think this makes one a better developer.
It's all fun and games until you are slain in the street because people chose to regard you as subhuman after a little bird told them so.

Disseminating politically extreme misinformation kills people - look no further than Russia, where a state run propaganda campaign has made people no more stupid or immoral than you or me support a vicious war of aggression against their neighbors.
Because when they built a wind turbine they assumed all the time it's windy they would be making and selling electricity and that's all part of the calculation that made it a worthwhile investment.
Thank you. Have been thinking this for ages, but just never get around there. This is the push. I really will go work on my Shakespeare, starting tonight.