skysight-inc/HackerNews huggingface dataset:
Excellent work and work of art. It was a pleasant surprise to see Svelte being used for this.
>Visual Studio 2022 is one of the best IDE I've used

I consider being cross platform a valuable feature of an IDE. Do you not?

>Windows is also not a requirement unless you are using old Windows-specific frameworks like WPF.

My day job includes a lot of this. Hell even winforms is still very much alive.
And even if the likes of WPF or winui was old aren't they still the graphical subsystem for desktop being pushed?
I suppose then there's Maui being worked on but I believe they decided to fuck over
MauiKit with that one's naming.
SpaceX fires employees who wrote open letter complaining about Elon Musk
Experiment results confirm anomaly, could point to new elementary particle
Apologies, Paul. When I saw your 2017 keynote (https://www.youtube.com/watch?v=dk2AMwc4e2k) from the Linux Audio Conference, you seemed less enthusiastic than in other talks you've given. Maybe I was reading too much into the message you were trying to convey; as I say, apologies if that was the case, I have nothing but respect for your work.
If you need to reduce the size of a screenshot it's often better to keep it as a PNG and reduce the number of colors. 256 colors nearly always carries all the information needed without blurring the edges or the text. Often 128 or 64 is fine. Don't use dithering - it harms the compression ratio, so you may as well use a few more colors instead.

Often just applying lossless PNG optimisations using a tool like https://imageoptim.com/mac will sometimes save a large percentage, although it can take a minute or so for the tool to finish.
Yeah either you'd have to maintain the generated spec as a versioned artifact hosted wherever is most convenient for you, or the CI could actually generate the before and after specs based on the PR diff. If the calculation of the spec is computationally expensive (it shouldn't be) then the latter approach could be a problem.
Note to the website authors: the carousel with examples is not usable on mobile - trying to scroll the code swipes away to the next item. Would be better as just a series of example blocks.
quoting the github readme:

> In general, ante is low-level (no GC, values aren't boxed by default) while also trying to be as readable as possible by encouraging high-level approaches that can be optimized with low-level details later on.
Wikipedia: Birthday Problem
I believe the non-equijoin will cause problems for Materialize today (I don’t work on our optimizer team, so I’m not 100% sure and don’t take this as authoritative). We might turn that into a cross join followed by a filter.

I will answer that for sure later today when I’m back at my desk.

If you changed that back to an equals sign, yes, we could incrementally maintain your query.
I remember sitting in these lectures thinking, why not just use a function without all the boilerplate? And a decade later the programming world finally came back to some semblance of sanity.
The only issue I see with long term nuclear waste warning is that you will most definitely have humans who will seek out these "cryptic but scary looking" structures and potentially unleash said nuclear waste.
> If your C++ program exhibit undefined behaviour, the compiler is allowed to format your entire hard drive. Or encrypt it and display a "plz pay BTC" message.

No, it isn't. That's a completely made up fabrication. And if you had a compiler that was going to do that, then what the standard says or if there's undefined behavior is obviously not relevant or significant in the slightest.

The majority of the UB optimization complaints are because the compiler couldn't tell that UB was happening. It didn't detect UB and then make an evil laugh and go insane. That's not how this works.

Compilers cannot detect UB and then do things in response within the rules of the standard. Rather, they are allowed to assume UB doesn't happen. That's it, that's all they do. They just behave as though your source has no UB at all. As far as the compiler is concerned, UB doesn't exist and can't happen.

When a compiler can detect that UB is happening it'll issue a warning. It never silently exploits it.

> Real and meaningful security checks have been removed as "dead code" because of signed integer overflow (which is undefined behaviour by default).

Real and meaningful security checks have been removed because the security check happened after the values were already used in specific ways, not because of UB. The values were already specified in the source code to be a particular thing via earlier usage. UB is just the shield for developers who wrote a bug to hide behind to avoid admitting they had a bug.

Use UBSAN next time.

> even if it could easily be well defined, like signed integer overflow on 2's complement platforms.

Signed integer overflow is defined behavior, that's not UB. Also platform specific behavior is something the standard doesn't define - that's why it was UB in the first place.

It is kinda ridiculous it took until C++20 for this change, though
> WFH..it seems like..by my observations..has lead to increasingly isolationist tendencies.

I've never met my friends more than during covid. WFH means we could meet before work to go to the gym together, meet in the evening in a local bar/park.

Ditching commute saves me at least an hour a day in term of prep/travel time. The need for a work/life separation meant that when I was done I didn't want to stay home but preferred to go outside to do more social stuff.

Now I have to go back to the office once per week, I just sit there with 5 other dudes, typing on our keyboards, nobody talks besides the occasional awkward "weather chat". After the day I'm somehow exhausted and only want to go home and do nothing instead of going out and meeting people
the parent comment means something like render based off of homomorphic encryption.
It's not the length of the line.

It's the duty cycle of the rolling stock.

Running a trainset four times along a 100 mile route, or 40 times along a 10 mile route, you're still travelling 400 miles.

And the stop frequency is likely far higher on the urban route. It's the acceleration that costs, and batteries only save you so much there, even with regenerative braking.

Add in heating/cooling loads, air handling, etc., and there's a lot to consider.

About the only place batteries make sense on rail is where you're moving a heavy load one-way down-grade. There are operating quarry and logging operations which effectively work as battery storage. Laden cars (or trucks) run downhill, whilst regenerative braking charges the batteries. Empties return uphill, slowly, on that charge.

Other than a Soylent Green operation from a mountain resort, few commute rail systems have a suitably matching travel pattern.
If you live in Switzerland (or I guess also outside, but not sure if your insurance will cover it then), you can give Aepsy (https://aepsy.com/) a try (disclaimer: The founder is a good friend of mine, but it's a great service)
> We'd know it by now if that were true.

My brother, we have a tanking fertility rate, rapidly declining testosterone levels and sperm counts, and widespread sexual development issues causing intense social conflict. It is already much worse than lead.
Given the year over year growth from Tesla for 13+ years in a row it seems a bit silly to suggest he doesnt know what he is doing.

He took direct control of a company when it was going straight to shit and now its by far the largest EV company on the planned and they are still growing like a startup.

The public perception that everything Musk does it to optimize short term stock price seems to me totally and completly wrong.

I think far more accurate assesment would be that he focus on long term planning off the core limitation his companies are facing. And that will be positive for long term.

And so far this has proven out very successful. I can give many exapmles.

And in that he pays sometimes for not doing as well on the sideshows. Aguable that is the only way you can even consider running multible comapanies like that.
Rust Apache Arrow and Parquet 16.0.0 Highlights
Privacy is not a binary state, but rather something of a spectrum ( and partially a reason as to why Google and others try different avenues for siphoning data ). Every little bit helps a little bit depending on your tolerance and skill level. I genuinely do not expect my mom to run FF with appropriate plugins from a scrubbed VM each time she wants to check something. But I can give her some sane defaults instead.

I agree with your general point, but ignoring an issue just because there is no 100% solution is not reasonable either.
How to collapse values of a factor in pandas
This is an area where pandas is bery far behind the R frameworks...
Interesting. Do you find that the mathematics of delays shows soliton properties? I know that highway traffic does.
Most small planes still use 100LL. The local airport I fly cessnas out of only has leaded gas.
Even if, everything you wrote is true. This sets up a horrible precedent.

Sure today Jullian Assange. Tomorrow a future-Watergate journalist. And after that anyone that dissents.
Even though it is mentioned in the article, it deserves more than just mention. I find the Async LINQ extensions somewhat lacking. I need to have IAsyncEnumerable all the way down: returning an array in `SelectMany` is not possible. Sometimes you mix and match with synchronous code and the `ToAsyncEnumerable()` isn't elegant.
>I never did quite understand their obsession with hairdresser licensing but all their institutions push it.

Marketing. It's highly relatable to larger swaths of the population.

There's plenty of other licensing things that are even more asinine but they don't have the broad mass market appeal.
John Oliver (I know he's not everyone's cup of tea, but he does his homework) did an episode on these, last year: https://www.youtube.com/watch?v=9W74aeuqsiU
How would you “plan” for a brake failure?
I think you should really shut down working for six month and stay away from all of this. You really need to understand that the world is not gonna end in the next 5 years and given your particular situation, you would be able to handle not working for at least one year.

Once you're not in this race, you will probably engage yourself with other things and you will start developing a clarity in thinking about this whole feeling.

But this is definitely something you need to implore otherwise it can negatively impact your mental and physical health.
> Are there any directives to the Operating System to say - “here keep this data in the fastest accessible L[1,2,3] please”?

I'm probably the worst person to explain this.

Long long ago, I took a parallel programming class in grad school.

It turns out the conventional way to do matrix multiplication results in plenty of cache misses.

However, if you carefully tweak the order of the loops and do certain minor modifications — I forget the details — you could substantially increase the cache hits and make matrix multiplication go noticeably faster on benchmarks.

Some random details that may be relevant:

* When the processor loads a single number M[x][y], it sort of loads in the adjacent numbers as well. You need to take advantage of this.

* Something about row-major/column-major array is an important detail.

What I'm trying to say is, it is possible to indirectly optimize cache hits by careful manual hand tweaking. I don't know if there's a general automagic way to do this though.

This probably wasn't very useful, but I'm just putting it out there. Maybe more knowledgeable folks can explain this better.
Try launching on Hackernews, product hunt, indie Hacker, email some creator (with large following to try it out), try doing it in AppSumo, Upload a video of it on youtube.

These are just top of my head. I am sure there would be many
Only if it is very long.
Especially when, like this tool, the guy starts calling home 5 min after start (attempt caught by LuLu without taking a single screenshot). Supposedly is only performance and usage metrics,... but who knows.
I've never seen `rlwrap` before, thank you. I am adapting this to my workflow. I use Org mode, but as it's still the idea is the same.

Thank you!
> Bug fixing priority, tech support, and integration consulting are the proper places to monetize

I know this is a widespread business model, but it's always seemed backwards to me.

Having my customers pay me more when I produce more bugs and lower usability? That sounds like a reward for doing a bad job.
The idea that we are only now seeing growing pains is wrong. Service has always been a major issue. As far back as Model S it has been a consistent topic.

The base electronic, motors and batteries seem to be pretty reliable for most people. They had very few major issues with those things compared to most companies much smaller EV efforts.
Unpopular opinion: I don’t think we are destroying the planet. There is global warming and there is doom and gloom climate change perpetuated by the media. ESG corporations are spinning this hard too.
begin/end is so C++. You get the parts, please use them responsibly and if you don't connect the ends together correctly you get random failures or a crash :)

With a 1990s lens it's a revolution, now, not so much.
It is probably the anchor for everything else. The plane had scheduled a flight plan based on that departure time. Check in might close consistently X minutes before that, but sometimes not. I have been at an airport (pre covid) 3 hours early and only just made it on the plane due to airport chaos.
I'd say the case of C strings is more a case of a bad abstraction C has (at least historically), rather than lack of one. But the things that expect them are just the standard library (which doesn't have many useful general-purpose things anyway), so you can write your strings as a pair/struct of char*+length or whatever else you may want just fine.

Small string optimizations, while nice (and probably do average out to being beneficial), aren't always needed, and the extra generated code for handling both cases could make it not worth it if you've got a fast allocator, and can even make some operations just outright slower. (and if your code doesn't actually have strings anywhere near hot loops, all you get is a larger binary). File paths, for example, are often large enough to not fit the small case, but still small enough where even the check for whether it is small can be a couple percent of allocation/freeing.

Being error-prone, though, is something that I can agree with. That's the cost of doing things manually.

(I'd also like to note that malloc/free are a much more important case of a bad abstraction - they have quite a bit of overhead for being able to handle various lengths & multithreading, while a big portion of allocations is on the same (often, only) thread with a constant size, and said size being known at free-time, which is a lot more trivial to handle; not even talking about the cost of calling a non-inlined function spilling things to the stack)
Org mode has a table feature that does most of what I'd do in a spreadsheet anyway.

https://orgmode.org/worg/org-tutorials/org-spreadsheet-intro...
Let's just hope we're sufficiently inefficient to be worth killing instead of reprogramming.
>unless something has changed recently

No, it's even worse -- there are even MORE ways of doing the same thing now.
That's definitely quite curious: I am sure pure Python could have been heavily optimized to reach 2 minutes as well, though. Random number generation in Python is C-based, so while the pseudo-random generators from Python's random module might be slow, it's not because of Python itself (https://docs.python.org/3/library/random.html is a different implementation from https://man7.org/linux/man-pages/man3/random.3.html).

Call overhead and loop overhead is pretty big in Python though. The way to work around that in Python is to use C-based "primitives", like the stuff from itertools and all the builtins for set/list/hash processing (thus avoiding the n^2 case in pure Python). And when memory is an issue (preallocating large data structures can be slow as well), iterators! (Eg. compare use of range() in newer Python with use of list(range())).
This isn't a precedent. There's been some extraditions for decades, each a case with specific details. This is also one case with specific details.

The slippery slope fallacy is a fallacy for a reason.
There is a good argument over the use of limited resources, but, as we likely all know from experience, best product does not always win -- the default product wins ( at least to a casual user ).

I have some minor beefs with Mozilla, but not for fighting MS over defaults, because it is a bad use of those resources. Last time I checked, Win10 still has a very annoying tendency to reset defaults after update ( please correct me if I am wrong; it is possible this was finally corrected ).
Long distance point to point buses yes, shuttle buses yes, local buses certainly not!
Amazing work! I'd just like the final table to be interactive as soon as it becomes visible, but it's a great site.
> You're putting too much pressure into things that are completely outside of your control

Here’s the thing, they’re not! There’s multiple things you can do here. One is that you can choose your battles. Part of life is accepting that you can’t fix everything, or even devote all your effort into it. That isn’t to say “just give up”, it’s more that you should find the best thing an average consumer can do here and just do that. Vote. Eat vegan. Donate to Ukraine. Whatever it is.

But, one thing you can do is dedicate an above-average amount of effort into a few things you really care about. A lot of people find this to be a good way to find fulfillment, perhaps it might work here too. You can’t make your impact on everything but you can definitely aim towards fixing something.
Correct horse battery staple

I use that.. so not exactly that ;)
> While IMEI number may sound rather irrelevant for a common user, however, it becomes a grave security concern as it makes it impossible for cops to intercept criminals.

In the same way that not wearing a tracking collar is a security concern, because it makes it harder for the police to spy on you? We really should invent a new word for "security" that is actually "security against the user".
This sounds like a pure benefit to the user. Hopefully the "problem" will continue to grow.
Anna Sorokin Wants to Change 'Scammer Persona' by Selling NFTs
Have you tried to google it? It’s the first result.

https://support.apple.com/en-us/HT201236

Screenshot shortcuts and functions are here.

https://support.apple.com/guide/mac-help/take-a-screenshot-o...
> the implicit operator in a sequence of two expression without parentheses could be string concatenation rather than function application

You can design a language which uses `e1 e2` to represent any binary operation you like, but I'd argue that function application is more common than string concatenation, so it's more deserving of that syntax. Plus, it plays nicely with currying.
> This has been an incredibly difficult decision for me

Could you elaborate on the “incredibly difficult” phrase? What pain did you go through to make this decision? Do you mean this is a risky move for you?
What new car comapanies in China opetate at larger scale?

I dont know of any. Are you calling Geely or BYD new? And and they are not that much larger kn scale.

So please, show me the sources.
The corollary of “the customer is always right” is “fire any wrong customers”.
But it’s not the “ideocracy” hassling you about trying to start a family, it’s young urban people on HN who think children are optional or something about climate change. I was fortunate enough to meet my wife in my 20s and have our three kids already, but it doesn’t always work out that way in our modern age. I hope you and your wife are successful.
> I also had a normal job + an hourly gig in the evenings + studying for a master degree. I'm not exactly sure what changed but I stopped caring about that race of needing to be productive 100% of the time. It's a fallacy, I think at some point I realised I'll be alright even if I lose everything, I just need food and shelter and I should be able to afford that in most scenarios. I think it had an ego component as well, at least for me, it was about being "successful" as external validation. As I matured I felt naturally more confortable with my situation and it passed ... I hope it will for you as well.

And once you come to that realisation, you can start living off some of those savings just to chill out and not be "productive". While in reality that's probably what you need.

Worst case scenario for the OP is probably finding another gig in a few weeks.
More than 25% of British Columbian workers work in the technology sector [1]. While the sector has been growing for 30 years, things really picked up in the last few years as Silicon Valley firms branched out in search of employees, often as a way of getting around the problematic processing of work visas in the US.

BC has several great engineering and computer science universities and a long history of public support for the development of the tech sector. It’s nice to see the Archive choosing to locate here, since it sort of validates that BC is perhaps no longer a third rate tech backwater.

1. https://biv.com/article/2022/05/bcs-biggest-technology-compa...
I don't understand this. It makes sense "because ML"?
>What makes the government more bureaucratic than a business?

It's telling that you rattled off a list of companies that have local monopolies or duopolies where they operate.

Look at the incentives at various points in these organizations and the answer should be glaringly obvious.

The government lacks big stakeholders at the top insisting upon being in the black. Bureaucracy always wants to expand. A C-suite who wants to make a fuckton of money counterbalances that more directly than the feedback loops that control costs in government.

If you want to reduce the number of variables further look at the contrast between local governments (who are less abstracted away from the source of their money) across municipalities of varying wealth.
Iirc, with our current partner bank Evolve + technology provider Synapse, ACHs and wires have “Synapse” as the sender name on a certain field, instead of your business name.

This is (as far as I understand) wrong. Fortunately
it usually doesn’t break anything, but Circle is more strict about this saying the business name.

We have a new partner bank we just launched where we have full control of the ACH stack, where we’ve resolved this. Also trying to fix the issue with the existing partner.

Caveat that I didn’t check this answer with anyone, since it’s early.
You are correct, I have write3 installed on my phone and need to use it on the desktop too for that same reason.

I keep having dreams of making a linuxnote for OneNote files since the file format is technically open specs, but as they are super complex and I've barely opened a hex editor before I just don't know what I'm doing enough to actually try parsing the bytes of an arbitrary file yet.
Genuinely astonished

For me, the Ribbon is what made Office unusable. I've used MS apps since the MS-DOS and Xenix days. I remember the old MS menus (2 lines, bottom of screen, summoned with Esc) to CUA transition, then the horror of WinWord 1, then the passable WinWord 2, then the actually quite nice WinWord 6.

I still run Word 97 on Ubuntu under WINE. Works perfectly.

But after Office 2007, it is totally unusable for me.