skysight-inc/HackerNews huggingface dataset:
Not as advice, but more an inspiration..

Being straightforward with feedback is most often helpful to both parties than beating around the bush to make the person feel okay.

When I started my masters program I was trying to find interesting research projects to work on to eventually write my thesis about. My advisor is a pleasure to work with because he listens and tells me what I _need_ to hear to my face. He once said “You’ve spent too much time on this and the results show they are close to useless or if no value towards your goal. I think you should stop spending your time on this and look at X instead.”. I felt sad and disappointed for two hot minutes, but then I clearly moved on to what eventually became my masters thesis.

Halfway into the program, my advisor quit and I took up another advisor, and he was the opposite wherein I always get soft feedback and spend weeks more effort only to realise that he meant to say it was not worth it.

I took that as a lesson to always be straight with my feedback for people I work with.
How much engineering effort went in to this, instead of other improvements like reducing power consumption / increasing battery life?

I would have bought a Librem 5 but haven't only beceause of the power issues (which is same reason I didn't get a Pinephone).
I kind of disagree with the article's premise - that the fact that Go uses async/await like Js and C#, but presents them as green threads is a good thing.

Imo it creates false expectations in programmers, who are surprised, that long-running compute code doesn't get preempted, since the compiler doesn't insert preemption points.

It also robs us of the possibility, of writing event-driven UI applications, where one can make an asynchronous call on the UI thread safely, which will get marshalled back to the UI thread.
> I think the keyword for what I'm saying is boxing/unboxing.

This is correct. When a function/struct accepts an interface value, it should be able to work with values of any underlying type. Underlying types can have vastly different sizes (from 0 to N bytes), and at the same time, we want to have a single machine code implementation per function, and a single memory layout per struct, known at compile time, to avoid massive code bloat (which we would have if we tried to account for all possible sizes). The simplest way to do it is to make an interface value store a pointer to actual data - pointers are always of the same size, no matter what the underlying type is. A pointer means "escaping to the heap", i.e. we can't safely store data on the stack anymore, because the pointer can be saved somewhere else and used later, when the original stack frame is long gone, which would be unsafe (we'd access dangling/overridden data).

So the main overhead is additional GC pressure because we have to allocate on the heap. Type checking has its overhead, too, but IIRC it's just a conditional branch.
I would have preferred to see it implemented as a spreadsheet in the cloud.
I'm saying that blockchain technology is inherently incompatible with financing, which is the basic and most important function of finance.
The Debian default became Wayland with Buster. Xorg is still supported. The very second sentence of the linked release notes states that Xorg is still installed by default.
Drying clothes? I know in the US you use clothes dryers, but here in Europe we generally hang our wet clothes in front of a radiator.

In a cold house the clothes would take far longer to dry.
Because Polygon is a different chain and people have billions locked in Ethereum. Layer-2 allow users to transfer their tokens to the Layer-2 without trusting a third-party bridge. Funds on L2 are secured by L1.
Is it need or want to live among skyscrapers?

I prefer mountains myself
Thanks! I thought exactly the same. "A book costs 10 hours" ?? oh come on, no, 10 hours is the amount of time you can have the privilege of "wasting" while relaxing in a confy sofa with a cup of tea, while being entertained or learning, _thanks_ to that book. It't not a cost. It's a gift.

Some people need to learn how to relax, forget about maximizing value of everything, and just enjoy the act of doing nothing.
They took down all the servers https://twitter.com/DarkSoulsGame/status/1485210967009071108
There is no such thing as being right in such matters. Simplicity vs. expressivity is always a subjective trade-off. Otherwise, Zig could not possibly be a good language or Rust would obviously be a complete failure, for example, both of which seem like narrow-minded things to say. Sometimes more simplicity, sometimes more expressivity is better. It depends on for whom and for which tasks.
But this messes with the distribution (you now have two ways of rolling a 2: 1,1 and 2,5) and makes outcomes like '1' possible (1, 6), which shouldn't be
I think GOV.UK in general does a very good job of making important information readily available. It’s however extra jarring switching between the clean/efficient style of the online messaging and the underlying public services/offices that are still held together by chewing gum and a fax machine, whenever you have some issue that can only be resolved by persuading a human to stamp some paper (Visas, public records, etc.)
> Zeloof’s family was supportive but also cautious. His father asked a semiconductor engineer he knew to offer some safety advice.

As impressive and independent as this is, you have to wonder if any other gifted child could have done the same feat. The article seems to skip over this point, how many people know a "semiconductor engineer"?
Report RT and Sputnik’s Role in Russia’s Disinformation and Propaganda Ecosystem
It's entirely possible the idea is nonsense, attacking a straw man version of it doesn't show that an idea is nonsense. An idea developed over that period can't be meaningfully summed up in a sentence.
1080 != "4k"

I had a projector as one of 3 screens for a while a couple years ago, the DPI mismatch was extreme so stuff on the "big screen" had to be re-scaled to be useful. The projector wound up showing video or waterfall displays (music or RF) and that was about all it did.
All my logs, if wordpress or not, get constantly hammered with random wordpress backdoor requests. Even if it were generally secure, the one day it's not can break everything.
I do wonder if the power of a distributed database is really needed here;
it gets ~1 update a day, so there's no need to have clever consistency stuff.
Most of the queries relate to either today's data (you open the map and zoom in to see how doomed your area is today), or the graphs showing a standard set of history (e.g. cases over the last year).
You'd think you could extract that data to be static and not require database queries, and only fire up the database for the tiny proportion that go digging in history.
That seems like a people problem and not a tech problem. You can simply not allow clients to install plugins and strip other such capabilities.
In extreme heat I'll just wet a t-shirt and wear that in bed with a fan blowing over me.

This is the UK, so "extreme" is probably laughable, also not so humid so evaporation still works :)
The covid dashboard I've found the nicest to use, is actually not one of the official ones but instead this https://www.travellingtabby.com/scotland-coronavirus-tracker... .

The information is presented clearly and it's easy to see what's going on, although in my case the main reason is the breakdown for Argyll & Bute, which isn't a focus area for the national ones!
Even Wix has a more user friendly UI builder than wordpress does. Every CMS I tried in the past years did.
Minor nit about an offhand comment, but, to be fair, a proper dry aging setup really has minimal to no risk of actual rot. Sanitary conditions and good air circulation will let you go pretty much indefinitely without worry, though from what I've seen of 400-700 day dry ages, you're really not getting much left that's usable as steak.
It's great to be able to pull "bonkers TC" and not feel fulfilled than to not pull that TC and still feel a void.

"All paid jobs absorb and degrade the mind".

And even finding quality volunteering opportinities has been difficult. There's all kind of parasitic behaviour when free money or labor is on offer.
You could have an energy "cache hierarchy" in a vehicle.

Fast but small - capacitor

Medium - battery

Slow but large - fuel cell

Of course it would be quite expensive to build such a complicated car.
Rather probably just a big battery will provide a good enough compromise.
It might make sense for some very high use rate vehicles like buses or trucks.
The capacitor could store energy for one accelaration from standstill to 30 m/s. (Or storing that braking energy).
Batteries and capacitors get better every year too, so the tradeoff points are moving.
For the fuel cell you could use power paste. It's much more expensive than electricity and requires special infrastructure, but it could be fast to fuel which could be a good tradeoff in some situations.
In general the gov.uk website is stellar. Lots of good info, and plenty of thought has gone into making everything clear, accessible and pleasing to the eye. Things generally work in a way that they really don't on most public org websites. The team behind it blog a fair bit about how they've made these things happen.

https://insidegovuk.blog.gov.uk

The only downside is that they often send you to sites run by other, significantly less competent bodies (looking at you, student loans company).
I can perhaps shed some light on this. I am the founder of Moonstream (https://moonstream.to). Our customers use our API to consume on-chain events from their off-chain infrastructure. We currently support Ethereum and Polygon, and run our own nodes on both blockchains.

Polygon is much less decentralized than Ethereum. There are 100 validators on the network. In the future, there will be some sort of scoring and auction mechanism to ensure only healthy validators. Currently, this mechanism has not been deployed. All 100 slots are taken by an in-group of node runners. It is not a pleasant experience to run a node on Polygon and not be in this in-group because the team does not communicate well with anyone outside the in-group. For example, in December, we experienced several days of downtime after the Polygon team made an emergency security patch that took down almost all nodes on the network but only communicated it to the in-group. This outage hit us, Polygonscan, and many independent node operators and was not a pleasant experience. The Ethereum team, on the other hand, is excellent about communicating upcoming changes, even emergency patches. Things really feel much more open and accessible as a node operator on Ethereum than they do on Polygon.

It is hard to transfer value to Polygon. Most exchanges do not support moving value directly to Polygon (Binance is the notable exception). Most use the Polygon bridge (https://wallet.polygon.technology/bridge). Using the bridge to move from Ethereum to Polygon requires submitting a transaction against the bridging contract on the Ethereum mainnet and current gas costs make this very expensive relative to the value most people want to transfer. You pay roughly $100 for any transfer of value, but most people are transferring less than $10,000 in value per transaction. Also, this bridge went down for over 24 hours last week when Polygon released EIP1559 support. I believe this is a major obstacle to Polygon adoption.

Finally, as a developer, Polygon frequently experiences deep reorgs - up to 40 or 50 blocks deep in my experience. This makes it really difficult for conventional servers to work with on-chain state. Ethereum is really much more stable as a blockchain.

Anyway, I'm not really shitting on Polygon. We do deploy all of our own smart contracts to Polygon before Ethereum because it is a production environment and allows us to incubate our on-chain features with real customers and real feedback before we take them to the show. It also gives us ample time to figure out where we need to optimize gas before moving to Ethereum.

The only part that pisses me off is the in-group/out-group dynamics around running a node, but mafias exist everywhere and no blockchain will change that.
Everything you don't personally write is an attack vector.
> And I don't buy "development in Python is faster" even ignoring performance. Maybe for tiny programs but once you get to reasonably sized ones the lack of good static typing makes all changes extremely tedious and error-prone. Plus you have to spend a mountain of time writing tests that you wouldn't even have had to think about with stronger typed languages.

This really rings true with me, on both sides - I mostly (have) only use(d) python professionally; on semi-mature projects with some buried bodies etc. I spend my days wishing it was Rust (or that the JS was TS) thinking that that would be easier, or that the bug I'm fixing never would have existed. But then when I spend my own time starting something for fun, and so naturally use Rust to avoid that, it annoys me that it takes so much longer to get going and if only I'd decided to use Python, etc.
Here is a bit of a backgrounder on what it takes to do any semblance of commercially usable CMOS chips.

https://www.youtube.com/watch?v=5C1P83oO57k
>In what potential world would it ever make sense to start an entire container for each request?

If you wait long enough between requests (~5 minutes), that is what AWS Lambda does, only with a VM instead of a container.
Most definitely! This project was a learning one most of all.
I have thought of reaching out to them.
Get arrested?

I was thinking it would be good for rebels in Africa or the Middle East who get attacked by nation state actors.

This is a low cost anti air deterrent and monitoring system, that can operate remotely, and autonomously.

Don’t poor people have the right to not be bombed?
In theory, because those gazillion C programmers happen to misuse restrict, so in the end it mostly ends up in flames.
I tried a customisation of a keyboard with per-key RGB LEDs, which would light up the key if it was defined on that layer.

As neat as it sounded, I don't think it was very useful.

Once you're use to your custom keyboard layers, you don't really look down at the keyboard.
Trust me it's not better on the other side. Followed my dreams and I'll forever be financially decades behind you (i.e I'll never catch up) unless I win the lottery or something. I'm 100% sure if I were in your shoes I too would feel exactly as you do. The lesson here is to be content with what we have and what we've done. At least now you have the financial freedom to spend the rest of your life more or less as you see fit.
No, anything of value. The thing that makes HN different from any other craphole like reddit is that the comment section in the link is as valuable (if not even more) than the link itself. This is possible when commenters willingly omit any flamebait, dismissive crap (like the comment above), etc.
> (zero cost abstractions!)

You probably mean zero overhead abstractions.
The idea is that you can't outperform it by handwritten equivalent code.
One reason: you have an infrastructure team providing the FaaS solution, and multiple other teams that deploy to it; to whom it is 'a managed FaaS'.
So do you think all the people breathing air right now are stealing it unless they first ask Mother Earth whether they may have it? What should the payment be?
He said nothing of the sort, he claims that the author is oversimplifying utilitarism.
Not that long ago the vast majority of scientific progress originated from rich men doing it in their free time. Does it really matter that they published their results for bragging rights instead of a need to fulfill some goofy academic pipeline requirements? Because those that think that money is the only thing standing between them and meaningful achievement... well, no amount of money will change that for them.
Having a lot of disposable income and very little free time is the biggest driver of consumerism. People try to make up for the little free time with expensive vacations and activities and compulsive shopping.

It also disengages people from society, local communities, public matters and advocacy.

This does not happen by accident.
> This is the biggest deal IMHO. FaaS in CDN edge DCs are remarkably fast and affordable. If you can respond to an API call faster than a request can get through to a load balancer, you're providing quite a UX improvement regardless of cost.

How much faster will this be? I think even for servers on the other side of the planet, the max ping will be something like 500ms. I think most pings in the same continent will be something like 100-200ms. On the other hand, a Node hello world was 164ms. That means that compared to just being in the same continent, you don't have much of an advantage. Python is ~30ms for a hello world, That's better. On the other hand, the "competition" is marked as 250ms for a cold start. That's a lot, and I doubt you get the benefits of being close to the user at this point.

There may be some things I missed, I don't know much about that space.
They do plenty more than that:

- Can section off certain requests

- Can rate limit

- Can catch basic injection attacks

With the wafs that integrate with WP such as wordfence they can also do things like:

- Check for bad file permissions

- Check for bad web server
configuration

- Recieve ruleset updates for zero days that are actually threat surface specific

Having a WAF in place that is threat surface specific isn't as much about saying "its not needed if the code is good" as much as it is saying "the code might not always be good. We are not perfect. I'm at least going to have an extra layer or two of defence to try and stay safe(r) and give me some breathing room between an exploit and a patch".
> It's (or was) terrible in windows when you accidentaly in "Program Files".

I think that you accidentally a word.
Yeah, developing a board game hobby (especially strategic and/or hobby games, not so much party games) and meeting up with friends who also like board games would fill that slot. I have a group of friends that I've met up with on Friday nights to play games with for like 8 years now. And several other groups that meet more sporadically or to play at different player counts. Or you can play them virtually or digitally (for free even) via websites like BoardGameArena. And since the pandemic started there've been a ton of good solo board games that have come out, and I play a decent amount of those too.

At some of those places there might be alcohol present, but if there is, there's not much incentive to drink because you'll play the games better if you're more lucid. And most groups I've played with don't include alcohol as part of the events at all.

But be careful, it's a pretty easy and deep rabbit hole to get sucked into (we're pretty much in a board game golden age right now, tons of great releases every year this past decade), and takes up a ton of physical space if you have an impulse control problem and keep buying them when you don't really have the space for all of them in the house. I may or may not be speaking from personal experience.
https://nira.com/ does this to an extent. They pivoted away from usefyi which provided a way to connect multiple corporate services like Dropbox, gsuite drive, etc and see everything in one place.
Sibyl – Prediction Service at DoorDash (2020)
I'd also guess that not every gifted child has a (huge) spare garage to this and the money to buy the required gear.
Are you using only the answer words as guesses?

I have a decision tree that averages 3.67 guesses [0], so a bit worse than yours, but the maximum guess length is 5. My heuristic is to search for trees by looking at how the guesses split the remaining answers by their match patterns. For each guess, create a map from match pattern to the count of answers with that pattern. Order guesses by the sum of the squares of answer counts (to penalise patterns with lots of answers). Evaluate sub-trees for the top 2^(6 - depth) guesses.

[0] https://github.com/perigean/wordle/blob/main/tree.txt
Bentham or Mills did actually introduce a concept of "quality" to pleasure. Where an intellectual pleasure was considered more desirable than basic "animalistic" ones.
Positive interest rates are by definition short term thinking.

The borrower must pay sooner than later. Investors will not be satisfied with companies that perform worse than the interest rate.
Templates expand, and can generate arbitrary amounts of code. If you, as a developer, don't see what happens, then you might miss it.

Templates can also expand on each type they use, or combination of types, generating much more code, when non-template solutions could have avoided it. Of course, templates could avoid it too, but they're much harder to write and see how they expand.

That said, templates also allow making code shorter and cleaner.

So some people, once bitten by bad templates or bad usage, complain without learning how to use them. Yet another C++ ocean of complexity :)
Step by step guide to running Android Apps in a browser. This is a very useful method to perform UI testing of the Android Apps.
On the other hand, Go’s time format and parse logic is the biggest pile of shit I’ve ever seen in an API.
I have experienced brake failure, maybe twice in the more than a decade I’ve been commuting. Pretty scary stuff when it happens, I feel for her.

I’ve always gotten that broken brake repaired within 48 hours (I live in somewhere that is pretty close to a 15 minute village, and it includes a bike shop, and there’s a bike shop a similar distance from my office), and not cycled in the meantime.

I’d find spontaneous electrical failure a much more likely occurrence than spontaneous failure of both independent brakes.
By the way, Go does have async preemption. It didn't have it in version 1.0, but it does now.

https://medium.com/a-journey-with-go/go-asynchronous-preempt...
Ruby or Typescript. Nothing can really beat these 2 in terms of devX and comfort.
The government has no problem using foreign companies to build its industries, only to cast them aside when domestic competitors have grown strong enough to replace them. The message was: Be on your best behavior, or you could be on your way out.

If you go by Tesla's mission...

Our goal when we created Tesla a decade ago was the same as it is today: to accelerate the advent of sustainable transport by bringing compelling mass market electric cars to market as soon as possible.[0]

...you'll understand that he simply does not care about any of that. If he profits while doing it even better. So from his (or Tesla's) perspective it's a win-win.

[0] - https://www.tesla.com/blog/mission-tesla
https://github.com/publichealthengland powered by a lot of Python and Ruby, nice.
It depends on what the code is actually doing, but you're not wrong in most cases, especially the HN hug of death. I host all of my stuff on cheap VPS servers for example.

Some tasks, though, are just terribly slow. For example, crawling a webpage and taking a screenshot of it sounds incredibly easy but turns out to involve a lot of resource-intensive moving parts. The most common solution I see involves running Chrome in a container and taking a screenshot. That kind of code can easily overwhelm even a moderately expensive VPS with just a few clients. On the other hand, most CRUD stuff and frontend-heavy applications would run fine even off a modern Raspberry Pi.

You can't just let something run, though, because you need to manage system updates. It's something you can easily forget if you have tons of other stuff to do, so the laziness factor also helps defend the *aaS setup.

I don't like serverless, I think it's the next step in more wasteful programming by people who can't or don't want to understand the systems underlying their code. We're at the point where shipping an entire operating system along with an application has somehow become the norm, and I don't like the fact that eventually I too will need to learn this serverless crap.