skysight-inc/HackerNews huggingface dataset:
I think that I and all non-technical folks around me experience issues with applications performance daily. I think that sometimes "making it work" should include some particular performance metrics. If it is not fast enough it doesn't really work. Now "fast enough" is something to be defined and different depending on the application part.

Far too often I see applications that assume low latency and unbreakable Internet connection. They seem to do almost no caching at all. For example thumbnails.

Also many of applications will be almost unusable (or trigger OOM) when you try to work with a big file. Sometimes a big file has merely tens of MB, sometimes problems start with a 3MB file. Those are the issues that occur without thinking about performance from the start - memory is free, you can copy things around, everything will fit in RAM.

One more thing. When your application consists of a client and a server it may turn out that you will put yourself in a corner when not thinking about performance early on. Everything will work without any troubles at first and then it turns out there are some latency issues with more data and you can't easily upgrade the client for example. Or you had an architecture that allows to spin up more servers and handle the load closer to the client, but it can cut your margins.
Fast DOOM WAD renderer in 999 lines of Python
A re-implementation of the original DOOM WAD renderer, based on Leonardo Ono's Java implementation, and compiled with Shedskin for a 100-time speedup or so.

http://blogfarts.blogspot.com/2023/02/fast-doom-wad-renderer...
Trader Joes has pure stevia
Yes. "From 2019-2022, pedestrian deaths tripled in Vermont!" sounds alarming and then you see it went from 1 to 3. It's still bad that people died, and bad that it's more, but that would really be reaching for clickbait territory.

And is it even a rate at all? They give number of fatalities, but how does that compare to the number of pedestrians? Or rather number x time spent walking? Car statistics are often given in terms of total miles traveled, for instance. A total is not a rate.

Totally agree our streets are way too dangerous, and being a pedestrian can be terrifying. That really needs to be fixed.

But not in a misleading way. If anything, things like this might scare people out of walking, meaning less pedestrians, and therefore less reason to solve it. That's counterproductive.
Time the lights and the crosswalks to the lights.

Do not _artificially_ lower a speed limit (people will drive the speed that feels safe) nor _artificially_ make a roadway more dangerous (it will be more dangerous).

Or even better still, build a separated pedestrian way. Skybridges, underground shopping district tunnels, all sorts of engineering solutions exist for isolating pedestrian and vehicle traffic entirely which will maximize safety and in climates with adverse weather encourage year round walking.
Tools do not manipulate users so your assumption must be wrong just by logic.
Any 15-year-old justification should be looked at with a suitably tilted head.
They could! But was this an inked deal when negotiating? Or even mentioned?

And now you have made it more complex, because "Games featured" with only Ms Pacman sucks, so you need to get a variety of stakeholders on board, so more meetings, etc.

And who codes the pinball games? Engines exist, but...
They are locking in their fist-mover advantage, but not for long. Everyone and their dog are currently training other AI models which might be even more competitive, some of them open source (like it’s happened with Stable Diffusion).

See you on the other side.
7 bits to encode characters of one byte is for ASCII compatibility, ASCII of course being a 7 bit encoding.
https://www.producthunt.com/posts/predictive-investments-by-...
I don't like most of these "principles", as anyone can verify by looking at my previous comments, but this article is cherry-picking to its utmost level of unfairness.

These "clean code" principles should not, and generally are not, ever used at performance critical code, in particular computer graphics. I've never seen anyone seriously try to write computer graphics while "keeping functions small" and "not mixing levels of abstraction". We can go further: you won't be going anywhere in computer graphics by trying to "write pure functions" or "avoiding side effects".

These "clean code principles" are, however, rather useful for large, corporate systems, with loads of business process rules maintained by different teams of people, working for multiple third parties with poor job retaining. You don't need to think about vector performance for processing credit card payments. You don't need to think about input latency for batch processing data warehouse jobs, but you need this types of applications to work reliably. Way more reliably than a videogame or a streaming service.

Right tools for the right jobs, people need to stop trying to hammer everything into the same tools. This is not only a bad practice in software, it's a bad practice in life, the search for an ever elusive silver bullet, a panacea, a miracle. Just drop it and get real.
The simplest thing that could possibly work
Walking, sprints uphill/sand dunes, reverse walks in sand, golf, coachbuilding, dogwalking, gardening
Oh no. There will be AIs everywhere. AI CEOs. AI generals deploying AI autonomous weapons. AI hackers. AI information warfare specialists.

Science isn’t about why, it’s about why not!
Wikipedia says "L-Glucose was also found to be a laxative..."
Yay, yet another contrived example to support somebody's position that a process which works fantastically in at least 90% of the time - and yes, I say 90% of the time (as a low-ball) because there _is no perfect process, framework, ideology, <insert x here>_. Everything has compromise. The compromise to make all code chase performance at the cost of maintainability is rubbish as a blanket choice, but may be necessary in certain niche situations.
Good to hear. Hopefully kids learn the value of original and thoughtful concepts that inform not only AI renderings, but the quality of whatever creative work comes after raw ideas, such as script writing.

I can see storyboarding for film will make use of this. Although having the characters and background remain consistent from scene to scene is something I don't know how can be done, if every submission is a roll of dice.
From a different angle, if a character is seen drinking a Coke Cola, is the film paying for that shot or Coke Cola?

As I understand it, yes! Otherwise, it is a made up brand, with the goal of no freebies.

And consider, if this wasn't done, who gets to pick the brand. The actor? Are they already affiliated, and thus, getting kickbacks essentially?

Did a writer, the director, props guy, get cash on the side?

So, it is fake generics, or paid brands...
If political parties are treated like religion then what else do you expect?

Here is a very interesting observation:

https://www.youtube.com/watch?v=xOgiTPllJe0
Very likely!
> The biggest headache with Debian was installing laptop workstations was that WiFi needing firmware blobs required complicated instructions and contortions that made it a million times harder. But that's now solved: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-in...

And the official installer is going to provide the non-free firmware now (and non-free firmware will also be in a separate non-free-firmware section of the repositories so you won't need to enable the whole non-free section anymore)

https://www.phoronix.com/news/Debian-12-Installer-Alpha-2
I always interpreted it as needing to become richer in following generations until reaching a generation composed of the idle rich able to live comfortably on their inheritance and thus able to study those things unlikely to be remunerative.
Literally my first result : https://scribblediffusion.com/scribbles/omrpgn4kfnh3nh3lz62q...

are you generally an unlucky person? :D
youtube video if unclear in subject:

https://www.youtube.com/watch?v=171AQx7l43s
Does he? If anything, it is the definition of "Clean Code" that is somewhat special compared to previous usage of OOP and other paradigms.

Casey's definition of simple actually reminds me of the cliché by Rich Hickley. It's simple, but it's not necessarily easy.
P&G CFO believes dropping profits had more to do with beards being more popular than anything else: https://qz.com/1680613/pgs-gillette-writes-off-8-billion-as-...

I vaguely remember a somewhat cringey commercial but, did you have evidence indicating this drove down sales further?
Add a decent macro system.

Or any meta programming facility.
Duolingo has 500+ employees, surely they can afford a 5 person Spanish team to actually write content for their most popular language?
I downvoted for the edit.
Probably because the authors are not native in English.
Do you know if hidpi and fractional scaling work well in gnome? I do admit your sway setup looks pretty slick. Share your dots :)
I'm genuinely curious, is there other ressources you would recommend to use?
I've been learning Japanese for 2-3 months on Duolingo, and I do feel I'm getting more and more comfortable with the characters.
I will start taking lessons with a teacher in April when i move there, but I wanted to arrive with some base.
Wha? I recall learning things like this in 5, 10 minutes of play. Joysticks are intuitive.
Not sure for CRT's but TFT flickering can also be edited out afterwards, as seen here after ~22:40: https://www.youtube.com/watch?v=ivrlU73VcHw&t=1359s
I think you have misunderstood what this issue is about. The Java Language Specification already specifies that Java programs are written using the Unicode character set and that letters in identifiers can be drawn from the entire Unicode character set. The issue is that there are many ways to encode Unicode characters and that a single encoding is not used across the code base. The suggestion is merely to normalize this encoding so that all files use the same, so as to not confuse the tooling and complicate the build process.

Edit: Source: https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html...
I was curious to see if the UK had a similar rise, nope a 14% fall in the same period of pedestrian deaths (slight rise in deaths of cyclists and car occupants though):
https://www.gov.uk/government/statistics/reported-road-casua...

As an aside the article title is sensationalist to say the least - according to the article the US saw a 18% rise in pedestrian deaths in the same period.
Beavis: "huhuh, or like, would you trip a homeless man?"

Butthead: "heheh, yeah, or like, would you, heh, kiss a dude? Heheh, just a random dude?"

Beavis: "huhuh, or like, would you fart in their mouths?"

Is this...interesting to you? Should I keep going?
For something like TPM, IMO, using a memory safe architecture should be table stakes nowadays. I would go further: the design should be as simple as possible to achieve its requirements, and the implementation should be formally verified.
>Write slow code now, profile and optimize later is how we got all slow software because second step

We got slow software because we were ok to get slow software. If being fast is not in requirements it means it doesn't matter (for whoever is responsible for defining priorities). Places where performance matters it is never sacrificed.
Don't use notion.

We went with notion and while it was kind of fine in the beginning the performance has degraded more and more. Sometimes things do not load at all or it takes forever.

What does notion do? Instead of fixing performance they work on Notion AI to make writing easier. Not sure how other people are using notion but I am never writing in full sentences or paragraphes anyway. It's a way to store notes and bullet points 90% of the time.

Anyway, most important for me is to have a way to create a kanban board. Discussions can happen async inside of the tickets which is a kind of documentation in its own.

What I have learned is to start with as little structure as possible. Most people don't ever look into notion or a wiki ever again and everything that's being put in there is basically dead in this moment. Even worse than no documentation is often wrong and outdated documentation.
I would say start with stuff that runs
on the command line and needs few or
none external libraries.

A command line game would be fun! Tictactoe, wordle, text adventure game (you move N E S W from room to room, to solve a puzzle plus some other actions)
>Sadly Intel didn't make the NUC a standard.

They didn't? Admittedly I don't know that much about it, but the Wikipedia page is very thorough. I don't remember IBM making the PC-AT a standard either; it became a de-facto standard because everyone just copied it, and the ISA bus was open. I don't see what's stopping anyone else from copying Intel's NUC form factor.

The difference between the 80s/90s and now is that there isn't a single 800lb gorilla for everyone to copy, and for some reason other companies just don't care to take the stuff Intel has done and copy that. According to the Wikipedia article, Gigabyte made their own version of NUC that was similar but not the same, so of course parts aren't going to be compatible; when companies are doing this instead of just copying a single big competitor, then there's no de-facto standard, just a bunch of competing and incompatible standards.
Well, they get back that people stay in the RHEL universe isntead of Ubuntu etc. How that all plays out in the long term is of course hard to predict.
Promotions.fyi – Learn How Top Companies Do Performance Review and Promotion
No, it's not simple. Changing most of a country car fleet, drastically reducing traffic, changing the infrastructure, changing the population mindset, overcome the cultural wars (this is the most important thing to change). From outside, it seems that this is part of the (new) US mythology. This is really difficult to change.
I don't think the tradeoff here is between clean-but-slow code and fast-but-dirty code. It looks more like extensible-but-slow vs fast-but-locked-in. This is pretty obvious - that's why you need the indirection! It's not to satisfy some arbitrary aesthetic principle of cleanliness, it's to make the concept of a shape extensible to anything the calling code wants.

Within one codebase the two behave the same because you can just go rewrite your functions, but if those functions are locked away in someone else's library the "dirty" code flat-out prevents you from ever using more shapes than the library author implemented. Want to add a rhombus? An arbitrary polygon? An ellipsoid? Something defined by Bezier curves for some reason? Well, you just can't; sorry champ.

It's an interesting tradeoff to consider, though. Perhaps we write code like library authors too often, or optimise for extensibility when it isn't needed.
A great way to reduce the legibility of the code; not very useful beyond that.
I have a 2000 days streak... I finished the Japanese course twice, all gold. Now they changed and I am at unit ~45/90. It will take me ~45months to finish it again.

And I am still not able to understand even a basic Japanese dialogue

I wonder if Rosetta Stone is better
There is. The first one is that the code with the switch pattern can only process simple shapes. Let's say you want to get the area of a donut now. Well, you need to change the whole code to compute the area of the union. Or imagine that there are other places in the code that need to know the area of a single shape. Do they need to copy/paste the same code?
Looks like a really useful tool. A lot of codebases I worked in waste a lot of effort adding tests that just try to capture some golden expected values. As these aren't necessarily tied to product requirements, they often change and require devs to change the tests to match any new output. I can see a tool like this greatly reducing the time spent on these tests while providing better coverage and detecting more regressions.
With respect, you are the minority - and a vanishingly small one at that. I'm talking about typical end users. The *buntu family should be appealing, but Linux folks disparage because reasons. For folks like you, there's Fedora or Debian.
Exactly: Amazon wants a monopoly on counterfeit goods.
That's fucking terrible.

A compressed log file can be implemented with append only writes.

A hash validating defragmenter can be implemented in case the compression tree becomes too lopsided.

(It's a log file, if it's not small enough that you can store two copies, you're logging too much.)

The reader itself has zero need to perform writes, letalone where it can corrupt the binary.
Sorry I meant that the scanlines are horizontal, not the guns.
A local copy is a good step forward for content you truly care about. I don't think there's any service you can really count on the decade long term. Meanwhile, I still have the music and photo collection from all my life. Is is a worthy pursuit? The more I grow, the less I think so. Does it work? Absolutely yes.
I just leave airplane mode on all the time and have a short screen timeout. I also use wired headphones. It's certainly usable as an mp3 player. The extra functionality is a bonus that I very occasionally use (I have a cheap sim card in it).
Microsoft Soundscape – New Horizons with a Community-Driven Approach (2022)
My hot take is that React doesn't directly _cause_ slow performance, but that React is so well marketed as a first place to start for new programmers that the bar for quality is much lower than other industries (like game programming, or even "vanilla JS" which is increasingly seen as an advanced approach).
Yep, shared flats with housemates for over a decade myself. People's expectations are unreal.
Windows is still using WTF-16 for filenames, right? https://simonsapin.github.io/wtf-8/#wtf-16
If CYRILLIC SMALL LETTER A deserves a code point despite being so similar to LATIN SMALL LETTER A, why doesn't a Japanese character that actually looks different from a Chinese one get a codepoint? And the idea that something can have the "same meaning" across two languages is very wooly.
Same guy who made the overlooked Dino Wars. :)
someone who wants to experience hell can try to work in the same job with someone who has the same style as this blogger.
The tech tycoon martyrdom charade
Hi!
You are right that we had to clarify that "100 times better at retrieval".
Btw, we have plans to tune models, evaluate, and publish results in different tasks (zero-shot ImageNet classification, etc)
You are completely changing the problem. Remember, this is an example, the code does the same thing in either implementation.
Guessing its not much of a 'thing' in the US but in the UK you have a harness that goes around the dog onto a stiff bungee type cord. It plugs into the seatbelt and allows them to move around on the seat but stops them being launched through the window if you have a crash.

I'm not sure why anyone would be against protecting their pet like some of the other comments here though. Can't work out if its stupidity or ignorance.
Luxo: A robotic Pixar-style lamp that jumps (2021)
Slightly off-topic, but I highly recommend Inside The Machine by Jon Stokes if you'd like to understand a bit more about how CPUs work... it's an extremely accessible book (I also knew next to nothing about the hardware world)
My real advocacy is we should use the same level of eminent domain effort we took when we cut cities in half to build freeways out to winding suburbias full of giant malls to center life around driving and transform the cities again.

It takes a lot of bravado and gumption to seize control of destiny like that and I think Americans at least have collectively lost that kind of imaginary.

The modern apartment buildings are endemic of it. They are the closest thing you could get to the Jetsons; 30 feet of parking with the first floor of residency literally in the sky. They look like concrete fortresses with iron bars protecting parked cars. The only way in and out of the urban prison is to use your car as a key. If you're on foot, it's some side door.

These things are extremely hostile to community building and offer the same clinical separation and isolation narrative of the redlined suburb of the 1950s. It's the lonely by design individualist approach to cosmopolitan living and personally I find it repulsive.

Better, friendly buildings, fewer cars, more green space, this is all possible. Tokyo pulls it off pretty nicely. We just need to exercise the political power to make it happen
Duolingo has as much connection with real-world language learning as Minecraft has with the real-world construction industry.
Im pretty happy with my 88 ford as well but have the opposite problem - am more worried about getting it to start at all
Brilliant, this is just the sort of advice I am seeking. Thank you so much. My concerns with notion were correct.

> What I have learned is to start with as little structure as possible.

That is really interesting, would you care to zoom in on this, would love to hear more?
Which is why dog harnesses exist for cars - not really rocket science.
Blame the lack of a proper linter instead of blaming the person who wrote the code?
Tangent off your tangent: Do you have one hose at each pump at your gas station and you just select which grade of fuel you want? I've never seen that before. In the UK they have multiple hoses, and you choose which one by picking up the right hose.
It's nothing new. Most of us might think one instruction will only do one thing but it's actully much more complicated than that. Instructions can actually be broken down to multiple steps and some of those are in common. And thus modern CPUs have a concept of μOp which refers to aforementioned step. What and especially how an instruction does things can be updated by uploading a new firmware to the CPU.
That works for big hotspots, but not for the tiny papercuts that make every little thing 10x slower.
You can use the app as a second factor. But you’ll need to transfer on your pc
I would be glad to wire Canonical some money, iff Canonical would offer a subscription that would relief me from some of the remaining pain of running Ubuntu.

Most importantly that would be running a VM for MS Office, Adobe and Autodesk without all the friction of having a complete desktop inside another window, managing shared folders etc etc. I'm already paying VMWare $80/yr for a shitty experience and would be glad to switch.

Alternativley, just charge for premium support for individuals that actually helps out.

I'm not a financial advisor, but is running ads and bothering people with all this snap BS really the best strategy they can came up with?
I threw in some keywords in my comment, not in vain, but very conscientiously.

If sentience is hard to define, we can "take it apart" and try to reason about its individual components. I threw some of these possible components there to drive the discussion.

Does GPT have Intention? I'm absolutely sure it does not. My dog definitely has.

Does GPT has desires? I'm sure it doesn't. I'm conflicted about my dog.

Is GPT capable of judgment? I'm sure it's not. I know my dog has some modest capacity for it.

So, can GPT demonstrate Will? I don't think it can, and will ever be able to. So I'd never consider it Sentient, not even to the limited, partial, sense I could consider my dog to be.

This discussion is important because when AI starts to "make decisions" it must be absolutely clear to everyone involved that these decisions are not rational, nor emotional, nor instinctive: they are simply reproductions of statistically probable outcomes based on its inputs.

You can use an AI to help determine if the text of a law contradicts a pre-existing legislation, but you can't ever use an AI to determine if a law is fair, ethical, benefitial or detrimental.

My biggest fear is not AIs going rogue, it's people like this "former Google employee" spreading misinformation and influencing important political decisions based on poor, misinformed judgment, as we've seen multiple times in the past with everything from GMOs, Nuclear Power, Climate Change, Vaccines and so forth.