skysight-inc/HackerNews huggingface dataset:
Everything that TS does JS libraries do better without the horrible tradeoffs ... sadly MS has invested so much into promoting it that it's now almost a requirement for all software development.
Good sales pitch for a freelance web developer
I had covid 2 weeks ago, and I paid extra for a 2 hour food order from Walmart. I wanted something I forgot on an order I had made somewhere else. After 3 hours I got notice that some of the impulse buys I added were out of stock. Which is fine, but the only reason I added them was because they showed them to me. Then after 6 hours there was no word from them, and I knew the local store was closed. So I just canceled the order.

I understand the retail employees are busy and things don't always go as planned, but there should have been some automation in place to help them here. Like don't offer items that are low stock, and automatically issue refunds on the 2 hour purchase charge after 4 hours. Maybe even automatically include an extra credit, as an incentive to try again.
https://www.bbc.co.uk/news/world-europe-56340159

yes, yes, not an operator - the point is, whenever they have an inkling that something remotely dirty might happen, they run for the sea. Supposedly they don't do it anymore, but personally I wouldn't trust the French MoD to tell me the time of day - they have a massive history of lies, deceit, and coverups.
It's not like the planet survived, it's more like people went on with other similar services. It's not like the use disappeared for six hours. This service disappeared but people kept doing the same things elsewhere. The problem is more about people's behaviour and our world and expectations.
Don't remember. Is anyone doing that in production? If so, what does it cost?
“You can’t catch me” lands on your mobile
Hi all,

Juste a little message to announce my game based on 2020 lockdown : You can't catch me.

https://www.youcantcatchmethegame.com

During the second national lockdown in France, in early December 2020, I had the opportunity to introduce my 9-year-old daughter to many video games that I played during my teenage years. From discovery to discussions, the idea came up for a video game about the lockdown that we were going through. What could be better than making fun of something that has turned our lives upside down for several months.
Because I work in the “digital” domain and have a touch of everything, I took up the challenge we set out for ourselves.

The player takes on the role of an inhabitant of an urban city, whose mission at each level is to make daily purchases or pick up their children from school. But be careful, the police are watching, and may at any time slow down your progress, or even penalize you with a small fine.

You can’t catch me is available for free on major mobile platforms, an in-app purchase unlock all the levels :

* iOS : https://apps.apple.com/us/app/you-cant-catch-me/id1571087862
* Android : https://play.google.com/store/apps/details?id=com.vincentogloblinsky.youcantcatchme&hl=en

Happy gaming !
That reminds me of a custom Linux device driver that I worked with in the past. It implemented "mmap" so that a user application could map a ring buffer into userspace for zero-copy transfers.

It used lazy mapping in the sense that it relied on the page fault handler to get triggered to map each page in as they were touched.

This resulted in a latency increase for the very first accesses, but then it was fast after that since the pages stayed mapped in.

The solution?

Read the entire ring buffer one time during startup to force all pages to get mapped in.

I eventually changed the driver to just map them all in at once.
Japan's not a paradise in every way, but this is exactly why my family has settled here. The lifestyle possible in most of Japan is very difficult to replicate in other countries and invaluable to general quality of life even if you have to compromise in some areas.
It seems like someone makes a “novel” discovery about Roman concrete every few months. I’m curious what the real reason for that is.
I may be wrong but isn't on some mobile CPUs (perhaps Qualcomm?) the modem chip is the first chip on and the CPU is a peripheral.
It may be tricky in Windows 10 right now, see discussion here: https://www.reddit.com/r/bashonubuntuonwindows/comments/q6lp...
FWIW you can have all of these on the coasts as well. For example, if you can afford a suburban Boston house, you can find any number of small towns in New England where you can afford to live and have a small walkable community (that is to say, in absolute terms these communities are expensive but in relative terms for New England they are not).

The problem this is missing is that "walkable" doesn't actually include everything you need to live. Jobs are the most obvious one, for those who don't have remote work or their own business, which is to say for most Americans. You'll also probably end up driving when you need to do serious shopping because your town center's general store isn't a Wal-Mart. Similarly for any number of specialized purchases or services.

In any case, small-town living and city living are very different. What's impressive about Japan is bringing a walkable, livable urban form to a mega city of 30 million people. When American towns start growing into cities (or when they are informally annexed into a larger cities' urban region) they usually do so by converting farmland into car-accessible suburbs, which is the problem.
Drawing Graphs with Sketchviz
Sure any rewrite has those benefits, but it's also become a huge liability with a truck factor of 1.
A crude analogy I use is "just because one enjoys sex doesn't mean they would enjoy being a prostitute". To get back to liking coding again I had to do something without deadlines or pressure of delivery and something I just enjoyed doing. That happened to be writing small utilities in F# in my free time.
IQ factor? Japanese are pretty smart.
Thanks for being specific.
Show HN: Mesh network with systemd and BATMAN Advanced
Mind diet linked to better cognitive performance
After like 256mb it is less of an impact when using readytorun. Some of the lambdas I have are webhooks so latency isn't as important and when it's user facing 512mb seems to be a sweet spot.
Memento Mori

https://en.wikipedia.org/wiki/Memento_mori
Utility types are useful for example in the React API. You have a "state" defined as a set of properties. Then you have a setState() method where you return the set of properties you want to update, which may be a subset of the full state. So if the type of the component state is TState, then the return type of setState() can be defined as Partial<TState>.
Building sprawl on green fields is the default, it's legal nearly everywhere. Head out past the current exurban boundaries, and it's easy to plop down acres of single unit housing structures.

These tall buildings are illegal nearly everywhere, and most importantly, they are illegal where they make sense to build, near job centers.

This difference, between what is legal and what is illegal to build, is why the alternative to these towers is sprawl. There is no other plot of land where they could be built, but people still need housing.
Thanks for stating the obvious. Now go and look at big cities where a car is impractical and unaffordable. Guess what! People manage by using public transport.
I agree that they are lots of bad things about our excessive consumerism. Given human nature, I don't expect that to change at scale without a world event. There is one positive to the deliveries that is often overlooked. The energy used to drive to the store to pick something up and bring it home is generally multiple times more than all energy used to move that item previously. Having a company optimize 10 deliveries in one trip loop can greatly reduce that energy use. Of course, this could be minimized by limiting trips and going shopping when you are already near stores. However, that doesn't match our normal "want it now" patterns. Just saying that there are environmentally worse than things than same/next delivery and that is another variable in the equation.
A lot of stores used to do things like close for part of a day to do inventory. I assume there is still some syncing up during the night or whatever. But I also assume that, as with many things, many stores have probably been willing to trade off a degree of accuracy for reduced costs.
Are you actually living in the US or in EU and working for an EU company?
Are you mixing up Opus with something else? By many metrics, it is better at delivering quality than just about any other lossy audio codec.
In context it reads as parent disagreeing with grandparent's statement that a "leader [who] cannot emotionally bear to give up engineering work and focus on leadership work… signals a lack of maturity" by saying "[Musk shows] it's not true in every case."

So my quibble is simply that "proof leaders do X" doesn't disprove "doing X is bad leadership," despite parent's implication to the contrary.
I'm more bothered by the fact that Medium is a content farm whose offerings are neither rare nor well-done.
The defining feature of these effect systems is "resumable continuations". Essentially, at the point where you catch an exception, you have the option of resuming the code which threw the exception, and you can tell it how to proceed.

So, whereas exceptions only jump backwards in the stack, resuming a continuation sorta lets you jump forwards again, back to where you were. It's really powerful stuff.
OP here - what I found fun about my Django projects was that I used very little javascript. Mainly bootstrap and a dash of htmx. Modern browsers are freaking fast at rendering html and with a light payload and proper CDN setup, it feels like a SPA with 1/10th the work.
which languages do you want to work on?
is it javascript and/or tracking free?
It's on the same level as the Hololens 1.
So fraud seems the wrong word. Overhyped? Yes. Fraud? No.
I've only skimmed the article, but the idea looks to be "Kernel methods" [0] (and showing their equivalence in the infinite middle layer width limit?).

If anyone has more insight into the actual idea, I would appreciate an explanation.

In the article, there are two advertisements to older articles. One is "New Theory Cracks Open the Black Box of Deep Learning" from 2017 and the other is "Foundations Built for a General Theory of Neural Networks" from 2019.

[0] https://www.quantamagazine.org/a-new-link-to-an-old-model-co...
The Death and Birth of Technological Revolutions
I personally like k8s a lot, but my general approach is to fake it until you make it and only add things once it's clear why I need them.

I have a few old boxes that run VMs. Some of these VMs make up a virtual k8s cluster, but almost everything I need runs on bare VMs rather than on k8s.

When I find something particularly annoying to administer, I move it off a bare VM and onto k8s.

The main thing this gives me is a migration path off of "a bunch of custom shell scripts" toward something I believe will be useful in the long run.

A bunch of shell scripts and rsync will work for a long time until they don't. And when they stop working you'll be in for some pain.
I guess the parent commenter meant to say hydraulic limes are inferior in terms of breathability compared to hydrated lime. Which is entirely correct.

As always, it's a trade-off. Anecdotally, we did the base plaster layer on our straw bale house using hydrated lime for better breathability. We'll probably make the top coat slightly hydraulic using trass.
The world contains a substantial amount of perversion. Just make sure that what you code for a public will hardly be possibly used for ugly purposes (you could probably club a seal with a teddy bear, but it would be difficult: try building teddy bears instead of clubs). But when you code your own projects, the right value of coding should be evident.
Not solo but I head a tiny tech team (4 engineers) so we don't have bandwidth for DevOps stuff. Here's our current state.

We are all in on AWS.

0. Tech stack: NodeJS, React, RDS Aurora, Redis, S3, Route 53, SES, Lambda and a few more.

1. 3 EC2 machines behind an ELB. Deployment is scp + cd <deployment-directory> + ./deploy.sh prod

2. Aurora takes care of everything around DB for us. Backup, read/write replica etc., etc.,

3. No CI; our development cycle isn't rapid enough to warrant investing in CI.

4. We recently moved some of long running tasks to Lambda. There's definitely a big value here so we'll invest further on it.

5. Also, recently, we experimented with an internal service on "ALB + AWS Lambda"; it's a sweet combination so we'll invest further.

6. Frontend is hosted on AWS Amplify. It's an underrated nifty service; highly recommend it.

7. Datadog is for monitoring. It's quite good but a bit expensive.

I can tell you from my experience that CI, auto-rollback etc., are overrated for smallish teams given their development velocity. Even if you have to do once or twice a deployments per week you can do it manually, don't need to wade into the CI territory. And unless you have prior experience steer clear of k8s.
> I think that Architecture is the most visible beacon of civilization, and I don't like what it tells us about ours.

This is a very one-sided view. The same argument can be used with other items as well, say shoes for example. Sure 200 years ago shoes were much more durable, but they were also so expensive that not everyone could afford them.

Same goes for housing. Sure, you can build beautiful long lasting houses today, but they'd be even less affordable than the modern "ugly boxes". Then there's changing requirements as well. I live in a 100+ year old house and while it's medium to smallish by today's standards, it used to be a twin house back when it was built...

In the original layout, rooms were tiny by today's standards not to mention insulation (or lack thereof), heating (wood and coal ovens in every room instead of central heating etc.), fire protection and plumbing.

It's much more expensive to modernise an old house and bring it up to code than it is to build a new one that's designed to meet all current requirements from the start.
It's a big deal when Facebook goes down. This is why: https://www.stonekettle.com/2021/10/recap-october-4-2021.htm...

People want to talk to their friends. They want to keep up with what their friends are up to. Sometimes they want to do that in ways that you, specifically, aren't a fan of, but that's fine - different people are different. But they want a place they can go and see "Oh, Dave had a kid. Oh, Agnes got a promotion. Oh, Cameron went to that new pizza place and it looks really tasty!"

This means that either we design something decentralised that's as easy as Facebook to get onto use, or we're going to just end up replacing Facebook with something with essentially all of the same characteristics as Facebook.

It's that or regulate it. In many many different ways across many different countries. That won't be much fun either!
Another use case to consider is pods. If you’re using Docker/Kubernetes and you have 10 pods, then you technically have 10 in memory caches. The chance of any one of them getting hit is random. Using redis centralizes this.
From what I can tell, people want "larger selection" but without "scuzzy third party marketplace crap". The 3rd party stuff is a huge reason I've started shopping less on Amazon.
Never going to work. Someone will cheat the system by creating multiple identities in order to get more than their fair share. Besides, how do you even measure what’s fair automatically.

And likewise, automatically distributing money per dependency will just make people split projects into multiple parts to get more of the money, or to add fake dependencies.

Donations need humans in the loop to decide where the money should go.
User-driven design and evaluation of Liquid Types in Java
CPU allocated to Lambda functions scales with the memory allowance [1] and you can use power tuning [2] to find the optimal values.

[1] https://docs.aws.amazon.com/lambda/latest/dg/configuration-f...

[2] https://serverlessrepo.aws.amazon.com/applications/arn:aws:s...
You’re not wrong, but language evolves. What’s convenient in the mouth of native speakers today will usually become grammatically correct eventually.

It would be neat to title blog posts in mock Elizabethan English though:

“Miscellania of Out-Most Significance to the Young Man Who Desireth to Learn the Merveillous Type-Scripte”
To me, the answer depends on where you are in your career and what you are looking for. If you're a junior dev looking to spend 2-3 years adding some experience and cool tech to your resume before moving on, then sure.

If you're senior engineer with ambitions of spending the rest of your career there as a senior executive, then that is an entirely different question.
Tool for predicting pedestrian flow expands its reach
"Long-term study of Melbourne, Australia, shows how urban development and change affects pedestrians, not just automobiles."
Here is a little AWS doc describing what parent is talking about. Personally, I had confused "provisioned concurrency" with "concurrency limit" since I don't work with cloud stuff outside of hobbying.

https://aws.amazon.com/blogs/aws/new-provisioned-concurrency...
You can link purchases to your MyLowes after the fact - but it is a bit ridiculous that you have to manually do so.
Upwork Is a Much Better Platform to Find Workers Than Fiverr
pay comparision websites suck. never found them reliable.

i dont have sources but as I said. i was hired for that cash and already hired multiple people for that amount myself during my tenure as Director at a boutique consultancy

edit: check this: https://www.codeguild.nl/software-engineering-vacatures/?spe...

first result. java dev 93.5k

second: 95k + 5% bonus
What a great article. One point missed here is the hereditary link of Shinzo Abe to his grandfather, Kishi, who was a war criminal. It is amazing and absurd that the supposed patrilineal links to the sun god remain today. Perhaps the very power of such ideas are their obvious fallacy that is asserted as a show of power.
Yeah, Germany threatens its own digital sovereignty by letting dinosaurs do digitalisation while falling asleep at the job
I'd really like some kind of architecture picture describing what runs where. Regardless of whether it's promoting the cloud service why would I want that to run a rPi service?
A picture might explain that.
not to mention that exceptions as flow control is frowned upon in java, so while there are similarities, they are different in designation.
I run https://oikolab.com - it's a weather data service with global, hourly historical weather data from 1950 to 16-day forecast. It launched about a year ago and I think it's probably the largest data offering of its kind.

I don't have dev ops experience (I still don't know much) so a lot of what I did was to exhaust the limits of the setup before implementing any new infrastructure, sort of learning as I go along, with many 'oh, so that's why they do this' moments. I've read about K8 but still can't see when I would need that though.

A lot of what saved effort for me was to use off-the-shelf component whenever I can. I was quoted $10~20k to build a Django website for user & API management to connect to my back-end but it was much easier to use Azure API Management service (~$400/month), which also came with simple, reasonable looking web front-end that I was able to launch within a week.

Before moving things to cloud (Digital Ocean), I've also exhausted what I was able to do with simple NAS servers (overall I processed about 200TB of raw data with ~1TB/day on-going using what I call a 'poor man's HPC' setup) - luckily I'm based out of Hong Kong so had access to fiber-optic internet at home.
I was able to do this on Ubuntu 16.04 with CUPS. It was surprisingly easy. I just googled and followed some guide on the first page of results.
I love web scraping, and I used to download many images through a series of scripts that crawled throughout a certain website.
I was also quite surprised, other benchmarks I‘ve seen before have shown it to be just slightly behind Python.
??? China has border disputes with all its neighbors? No, not even the majority of neighbors. I mean, China has a ton of neighbors. But only a handful (less than half) have disputes, and some of those disputes are quite theoretical.
Totally agree with this. I do big corp work and the problem space is totally different from what is needed for a single developer.
Are they not diverse enough because of skin-color?

Again, that was the argument the person I was replying to was making, not in any way the argument I was making.
> That said, I am probably the only one of our team who visits HN. Or reads blogs about programming topics. For many people at my office, writing code is simply a job. You come in, do the job, and go home. There is no blogging about work. No answering surveys.

This sounds like a dream to me. Coding/programming is purely something I do for income. Do you have any advice for identifying a company where the culture is clock-in/clock-out, vs a culture that's more focused on the 'tech ninja' coding-fan kind of thing?
Will Smith (of Tested/Maximum PC) mentioned in one of his recent podcast episodes [1] that GPU vendors tried to add dedicated power supplies to cards, with their own AC connection, a while back (mid 2000s or so if I remember right). Consumer/industry pushback killed it before they hit shelves and the vendors focused on efficiency instead. I don't see the same pushback happening these days.

1) https://techpod.content.town/
Keep in mind that in the States health insurance is a function of full-time, reasonably well-paid work. When this ceases, you have, I think, 18 months of COBRA which lets you pay 100% rather than 20% of your previous health insurance while you look for work. This number can grow rather large as one's age and/or family increases. This also acts as a problem-to-surmount when retiring before 65.

Housing costs might/will be higher in parts of the States than elsewhere, and one pays in life quality to get the cash at times. It depends on what you're interested in doing I guess.
Dynamic Process Isolation: Research by Cloudflare and TU Graz
I wonder how hard it is to do a bottom-up conversion of the USA to 230.

If the "all-electric" branch of the environmental movement are right, we'll eventually need to adopt the superior European kettle technology. Getting everyone on the same plug would be great.
Harvard moves Chinese language programme from Beijing to Taipei
Pretty sure that he was implying that if you already have a GPU then you should mine during the winter instead of using conventional heating.

That's how I read it at least.
Ask HN: Which SaaS product you use is overpriced?
People survive by using public transport.
Yes, it has a name for it as equatorial bulge:
https://www.nationalgeographic.org/encyclopedia/equator/

It was observed in other planets first:
https://en.wikipedia.org/wiki/Planetary_coordinate_system#Eq...

https://en.wikipedia.org/wiki/Post-glacial_rebound

So, it could be quite possible, that even with sea level rise, crust rebound will play bigger role around poles and there might be some new lands in the sea around north pole - as it is quite shallow ocean near Russia and Canada.
43, IC. Seems no problem to me carrying on as IC, can look to big companies for prestigious senior IC roles, or work at pre-IPO companies, so same choice as ever.
> ...Sure kind of defeats the purpose of serverless but hey, enterprise software.

No, no, no. It's "hey, Amazon/Microsoft cloud engineering". They should be amazing with whiteboard interview exercises though.
Or, failing to find expected objects embedded.

By report, the Peruvian block faces lack the embedded marine animal shells found in natural limestone. (I have not examined them myself.)