skysight-inc/HackerNews huggingface dataset:
I wholeheartedly agree. When I was learning to program, I couldn’t listen to music at all, any kind— I found that it disrupted my thought process and interrupted my train of thought. Many years later, I find now that when I’m writing code that I know how to write, and am just dealing with the implementation, listening to EDM keeps me “in the zone” quite well.

My coworkers find it endlessly amusing to tease me for listening to bass music, or as they call it “trash compactors having sex” while writing code. I admit that it’s odd, specifically the intensity of the music I’ll listen to while writing stuff as mundane as a login panel, but it works very well in regards to keeping me focused and on task.

To this day, though, any music with any lyrics at all is a no-go. I can’t tune out the words, at all. Luckily, EDM seldom has lyrics to speak of in the first place, so I that problem is solved quite cleanly for me. It is quaint, however, when I take my headphones off at the office to greet someone walking in / say hello and I realize how bizarre the sounds coming from my headphones are in the context of my brightly lit office.

I hope that I give off a vibe closer to Christian Bale as Michael Burry from The Big Short, but I doubt it.
If you have any pieces of code you can share, I'd be interested in seeing what Go code looks like in equivalent Rust with tokio.
Last I checked, destructuring created 4-5x as many bytecode instructions and a potential GC pause. I'd think this could be detected and optimized easily enough, but I guess there are bigger problems for the JIT devs to solve.

A quick profiling seemed to indicate that just a bit less than 10% of the JS time is being spent on the DOM rather than the calculations at hand. I wonder how much of that could be reclaimed simply by running the calculation in a web worker.

I suspect the bitwise AND operator every loop is another big performance issue. Normally, the JIT would leave the loop iterator as a 31-bit int, but because it is stored in a shared object, I suspect it must (f64 -> i31 -> AND -> f64) every time. A local variable that updates the object variable every 64ms and resets to zero would probably be faster.

The decPixel function should use a switch statement with values of 0, 1, 255, and default so it only needs to branch one time. This is probably a decent performance win too as around 15-20% of all time is spent here.

EDIT: I should praise the author for using a ternary instead of Math.max() as very few people know that the ternary is literally 100x faster. I wonder why this optimization was never made as it seems common enough.
What a great nostalgia blast! This game occupied so many cycles of my early teenage years. Thanks for the memories!
I feel this is a bit of an 'algorithmic fallacy'.

If you have a few algs. you need to run under the hood, preferably with few cross domain calls, that can be expressed mostly using a small bunch of native types and not a lot of maps/string etc. then something low-level like WASM might help.

But that doesn't match most real world scenarios very well.
You'd need a runtime for managing green threads even if you didn't have a language with GC.
> here in Eastern Europe.

Heuristics can be wrong.

For example, your profile says "Auckland", but you seem to be in Eastern Europe which is almost as far away as one can get from New Zealand.

(So far away, that I believe there are no nonstop flights between New Zealand and Europe because planes can't fly that distance non-stop with a full load of passengers and luggage.)
you mean the xbox?
Interesting points, although I’m not sure what they have to do with European history or invention of the steam engine. I can only presume you’ve benefited from a level of liberal arts education that I sorely lack.
The only reason to believe that karma exists is that we have an emotional desire for it to exist.
That's the same where I live, but there are plenty of motorcycle learn-to-ride classes that cost maybe $200 and provide the motorcycle. On the last day of the course, a person from the state comes by, supervises the testing, and (if you pass) signs the paperwork to get your license.

It's about as easy as it can be; if you want this Aptera thing a motorcycle license is not a barrier.

What concerns me more is that they have their factory in Carlsbad, CA. I don't think there are too many worse places to put a factory if you have a price point to meet, and I doubt that there is any space to expand.
Another sci-fi book that portrays such a world is Freedom™ by Daniel Suarez: https://en.wikipedia.org/wiki/Freedom%E2%84%A2
Wow that thread is a dumpster fire with showdead on.
Yeah, we can use gas plants until batteries become economical, but why use gas when we could start the switch to a low-emission alternative now. The risks of Nuclear are tiny compared to the existential risks of delaying emissions reductions.

Biogas use isn't practical to replace existing gas supply.

I honestly really wish renewables + batteries could take over but it's too early. Aus has heaps of Uranium, is geologically stable, has strong regulating authorities and geopolitically secure. The perfect spot for low-emissions Nuclear which is practical and possible now in all respects except for politically.
> the biggest danger will be inattentive drivers.

I suspect the bigger danger will be vandalism. I will admit that the robots that wander my local grocery store looking for messes to clean up (or at least to alert humans to) make me irrationally angry. They get in my way and distract my attention, and it makes me want to just kick the *$%# out of them. I suspect I'm not the only one who feels this way, and the more robots get 'out in the environment' without anybody watching out for them, the more people will damage them on purpose.
Here's what I did and I highly recommend it, if you don't already have a network:

Goto meetup.com or any event/meetup website. I found this Python ML meetup group (could be any technical group), joined, and went to their weekly weekly conference (more than a hundred in attendance). I'd sign up to go up the stage and talk for a couple minutes just introducing myself and what I did. After I got off stage, interested people would come up to me and chat with me. There definitely had been a few collaboration propositions.
Articles like this are complete noise.

Image how clean the air would be in large cities if we had 100% EV.

Los Angeles and Mexico City would be much more livable.

Of course most people won’t be driving a Hummer EV.
Spot on. Ingress was fun when there was engagement, and it largely came down to whether or not your local community was particularly lame. However, that it was even able to succeed as well as it did had largely to do with not being particularly popular, in particular among the minor population. They'd almost need a 21+ age verifier to avoid the disaster that'd come with a game of that nature that actually grew to large scale. I'd love to see Shadowrun as an AR GPS game, but it absolutely is in this boat.
Probably concern that he was becoming unhinged enough to put commercial contracts at risk.

There are more... fitting... positions right now for a raving nationalist lunatic, I'm sure he'll land on his feet in the DPR or LPR.
Slaves might explain lack of interest in labour saving technology in general, but the steam engine in particular mostly excels at stuff which slaves couldn't do (high speed transport) or enabled production processes particularly well suited to slave labour (textile mills vs craft-textile production). The UK's Industrial Revolution began with slave-picked cotton being spun on machines attended by abundant unskilled labour and powered by watermills, a technology the Romans (and many other non-industrial civilisations) exploited with smaller scale machinery.

The Romans valued research and engineering highly enough to be way ahead of both contemporary and successor civilisations in many aspects of it and have people willing to document their pure research into steam (which as the article acknowledges, turned out to be at best orthogonal to the pure research that got us pistons and condensing engines), they just didn't have all the intermediate inventions like high quality iron, rail lines and spinning jennies to make large scale use of steam that the British did 1500 years later, the same level of demand and competition for new products etc etc. But the abundance of cheap labour was something they actually had in common with the British Empire; it's just the British Empire used it differently (and displaced even more cheap labour by killing off craft industries as a result)
What are the advantages of this being its own language vs a DSL?
What do you mean specifically?
Kinda like Windows Server Core but for client GUI Windows would be nice. I feel like Windows Professional isn't really professional enough for my taste. The included features lack and the defaults are awful.
> 4-5 weeks coding and polishing up the onboarding process and getting payments ready

I don't know when Linen was first created, but these days you can get most of this done much more rapidly.

Check out Laravel Spark[1], for example, where all of that billing stuff is neatly abstracted away so you can focus on your product

[1]: https://spark.laravel.com/
well... I ended up 'cancelling' via chargeback anyway.
Whataboutism. But I’m curious as to the roots of your perspective. Which books, specifically am I missing out on?
If the genre was remade today, we'd have Minions instead of Worms.
Sure, but Rust can have a runtime, and presumably Rust on WASM does.

If you don't have a runtime in Rust you only get core.

https://doc.rust-lang.org/core/

This has obvious effects (you don't have an allocator so you can't have String) and more subtle effects (your slices don't have a sort() method! However they do have a sort_unstable() method) but while it's probably a reasonable environment for the firmware inside a custom $25 gizmo it's not a very comfortable one for general purpose programming.

To deliver a bit more, for example an allocator, you're bringing in a bunch of platform specific code, which, just like the Garbage Collector for Go, you did not write.
On my phone Firefox I occasionally get a surprisingly stable "Infinity" readout. Am I seeing a timing sidechannel mitigation in the flesh or is that just my news-fed brain imagining explanations?
Clearly the state media building Putin's image has been effective. If his martial arts ability is anything like the propaganda clips state media shows of his "daily" gym routine - where his form suggests it's the first time he's ever stepped in one - I don't think Zelenskyy has much to worry about.
Doubt it.

Assange is a bad faith actor that has shown that he has no problem kissing Russian boots to attack the US.

With Russia's invasion and desire to genocide Ukraine, associations with Russia are looked upon much less kindly.
How to Fail at Serverless: Serverless Is Stateles
The real MVP is always in the comments. Thanks! What has our "open" web become...
Disclaimer: I'm the founder of Forest Admin (https://www.forestadmin.com).

Wow, I'm impressed by the number of solutions out there. Back at the beginning of Forest Admin, we were alone on the market, which is generally not a good sign. But our perseverance paid off, and it was definitely worth it in the end!

Alright, so why Forest Admin? :)

Because we only focus on the admin panel use case. Not the entire internal tools world. In this way, we are able to provide a fully-featured SaaS Admin panel out of the box. No need to build it, nor with code, nor with low/no code tools.

Even if you "are too specific", we have designed our solution accordingly with 2 things that are part of our DNA from the beginning:

1/ We generate all the backend code required to an admin panel. All CRUD routes, filtering & search, dashboarding, permissions, etc. Everything is automatically generated in a few seconds based on datasource introspection. In the end, the generated code is just a standard REST API, so you can extend/override it without any limitations.

2/ We pre-built the admin UI with every admin standard features available out of the box, with a big focus on providing a great UI/UX possible for operational people. We obviously also provide all the low/no code features to customize pretty much anything. We also provide a feature called "Workspace" (which is generally the core of what our competitors do) that allow users build custom views using drag'n'drop of UI components from scratch.

About SDLC - it's provided out of the box at Forest Admin:

- For backend code - you can rely on Git.

- For UI code - we provide a feature called "Development workflow" (https://docs.forestadmin.com/documentation/getting-started/d...) that allows you to have different environments (e.g. dev, staging, prod, fork branches, merge them, etc.

In this way, even companies with hundreds of onboarded users (including douzen of devs) can use us in a scalable way.
All that's required to emulate "no inheritance" is a broker.
> I can only presume you’ve benefited from a level of liberal arts education that I sorely lack.

Wikipedia and the library are available to you too.
But then you'd have to write PHP...

(I know, users don't care about tech stacks, but if I'm going to be developing the product over time, I definitely do care what I'm coding in)
Ah, commonsense."news", the Bari Weiss platform. Excuse me while I go elsewhere for reliable news.
I've found it to be good -- way better than Teams which doesn't even offer any ability to see the messages adjacent to the one containing the search term if it's more than a few months old: useless if one message has a question, the next has an answer, and you only have the knowledge to search for the message with the question.
Jon “maddog” Hall on dress codes for geeks
Minecraft Earth's big failure was being just too bloated for most hardware to handle it. I was running a fairly current Pixel phone and in one of the AR modes (build or adventure) watching the battery drain was like time lapse photography...never mind how hot the phone would get in the process. Microsoft jumped the gun with software that the hardware wasn't ready for; I'd hope they try something similar in a few years when things have had a chance to catch up.
Comparing physicians' performance to peers promotes burnout
Of course, but if you've pledged away exec inheritance is obviously not a problem at all.
The things that we often fight over are becoming less serious problems.

Energy? Fusion is almost there, finally. Money is pouring into it because it actually looks like it's happening now. We'll see it in our lifetimes. Solar, wind, and batteries are booming everywhere. Fossil fuels are always located in some patch of land, some piece of a country, and someone could own it all or fight over it. But the new energy tech can go wherever it's needed. There's no need to fight.

Health? I think the SARS-CoV2 pandemic was a resounding success. We proved out a technology- mRNA vaccines- which can make a vaccine to any protein in days. We saved millions, maybe hundreds of millions, of lives. All the delays in rolling it out were due to safety checks and logistics. This same technology is going to be applied to cancers, possibly HIV, and who knows what's next. It's huge. And it's one of many techs that are happening today in health.

Food? In the last decade, food has become the cheapest it's ever been. Farmers are going broke because there's just too much competition- sucks for them, but wow is that great news for the rest of us. Hunger used to exist because of scarcity. Now it only exists because of greed. I think we can fight greed more easily than scarcity.

Even the prospect of nuclear war- which is at the highest risk in decades- is not as high as it's been in the past.

It's a bit like looking at the economy for the last 6 months and saying "My god, it's the end of economics!" while ignoring the previous 12 years of boom.
People with low BMI aren't more active, they are just less hungry, 'run hotter'
What would be the point of killing Abe after he's already out of office?
Drew has the right to cancel his projects, but I really hope others don't cling to the hopes of "the perfect rollout" with their projects.

Startups and side projects are messy and sometimes things don't go as planned. Contracts get canceled, DoS takes down your homepage when you launch losing all those free leads, people leak new features and your sixth deployment erases most of the production database.

There are a lot of great ideas that start out as bad as the first release of thefacebook, AirBnB, Twitch and Youtube. Still, they iterate on these wonky, almost-working sites and end up making something great.

YC pushes this idea constantly; put something in front of people and iterate. Drew was following that advice and I applaud him. https://www.youtube.com/c/ycombinator/videos
It's like in Blackjack how you're not supposed to hit on a 16. Even tho it's perfectly within the rules, its so statistically unlikely you'll win that the other players at the table will get mad at you for taking "their" card.
Fair enough; "I wanted to try out X" is always a valid reason. It's just that compared to C, things like Unicode support, argument parsing and JSON support are already part of D's standard library so no dependencies should be required for those.
He's still effectively a journalist being thrown in jail for doing journalism. From Europe, even given all that's going on, the optics are terrible.
Why NASA's James Webb Space Telescope Will Activate Astronomy's Next Great Era
Iceland is the way
Espressif really has a fun ecosystem - I built status lights for our team using tiny pico and a bunch of Neopixels from adafruit. Very nice with Wi-Fi to setup
The rust code is 3x as long and a lot more complex too.

In theory, static typing would correct the biggest performance issues in JS (use monomorphic functions, don't mutate objects, and limit arrays of just one primitive/object type).

In practice, TypeScript allows and encourages you to create types that are horrendous for performance.

I'd love to see a comparison using AssemblyScript (basically stricter TS for WASM). I'd bet it's nearly the same speed as Rust while still being a third of the size.
Yeah, that seems to be becoming the new "sent to Siberia", although I very much doubt he'll be placing himself directly in danger, unless he had no choice.

Either way, he picked his poison long ago.
But you wouldn’t have been able to build it in two weeks if you hadn’t built a lot of similar stuff previously?
Just try to reason with an alternate axiom. You don't need to believe something to reason about it, and the results may be different from the string of failures that characterize utopianism so far. The conflict this comment describes doesn't make any sense unless you interpret the example as "all secular people," or "all libertarians," which is doesn't register as thoughtful. Is it so difficult to imagine thinking things we don't already believe?

There are lots of religious libertarians, but they wouldn't characterize themselves by their political ideology because their politics aren't their identity. They can't be, again, unless they've been seized by one of these anti-ethos ideas where their identity becomes the artifact of what they have chosen to oppose.
Furthermore, what you are creating is a situation where people who are having a tough time at work will no longer get the benefit of the doubt because abusers like yourself will have poisoned the well.
It's just some showy twitter influencer dream speak. He has to put forth bold ideas that get likes and rt's. In reality, how many of the local/state/federal laws that are implemented by real people working together in the real world does he depend on to survive? Pure libertarianism never works, things just tribalize and then externalities are pushed on the rest. If you are at the top, things are good, if you are at the bottom things are terrible. In our current system it's like this too, but at least the worst things can get have a floor imposed by our laws.

Plus face to face interactions have so much value. Online interactions are just so transactional and so much of what evolved into our DNA is lost.

I've also never understood what could enforce online contracts in the real world. Like who verifies the NFT is for a house etc.
That's fine but the problem is that more and more people want to force you into playing as if you're on a grand final... in a random multiplayer queue with only a hint of a hidden rating.

People want to win every match and disallow experimentation to not endanger their record.

Natural result: a certain kind of people leave and find alternatives and never come back. Like yours truly here.
Fdroid with these repos:
- fdroid
- guardian project
- newpipe
- corona contact tracing
- izzyondroid
The ESP / ESP32 series chips are just astonishingly useful for their price. You can build out a device with a camera / wifi for incredibly cheap with them.
Well… me for one? We were limiting the Covid exposure of my daughter’s grandparents as much as possible and the school’s masking policy helped limit that exposure vector. And another, the teachers and staff, who we care about greatly.

I don’t know that masking in schools was the best idea. In my limited purview I think it was a good idea in our child’s school, because things seemed to go well overall. I was responding to the GP who appears to think it’s idiocy to even countenance the idea because there are no studies, when there are, and that it’s so wrong that it’s a form of superstition.
> I’m baffled as to where that reputation comes from.

Aside from the awesome community that rust has, don't underestimate the power of marketing. Someone should ask Mozilla how much was spent for rust development.

Sun microsystems spent about $500 million in 2003 to push forward Java. https://www.theregister.com/2003/06/09/sun_preps_500m_java_b...
I appreciate the prompt initiated when I tried leaving
I do not know. Nor do I particularly care.
Data Security in 2022
By team they actually mean automation - at least the AI was kind enough to verify that the AI agrees with itself.
Exactly.

Install Linux and LibreOffice on your PC and keep on working.

Alternatively, buy a Mac and use their office suite.
I used Levels, which integrates to Librelink from Abbot.

Levels just puts a nice UI on top of Librelink, like scoring meals and days, finding associations between meals and giving you tips.

I stopped using these because they are expensive (at least 100 per month if I only used Librelink, think it depends on country as my moms buys hers in Colombia not the US) and I was just looking to learn about certain meals/timing/etc.
As I understand, the idea is to only have manually curated high quality domains. In that regard, ranking is entirely secondary to BM-25. Might work, but it leaves out a lot of long tail sites that (in my experience at least) often have very good results. It's really the middle segment where most of the shit is.