skysight-inc/HackerNews huggingface dataset:
The name "debugger" does not reflect what it does. A debugger does never remove the bugs that you put in your programs.
Your broom example is flawed and in no way a match to the situation.

If you build a broom and I ask if I can see it and you say yes you can see it and you are free to make another one like it for yourself and make more to sell for everyone else, then you can't complain about them doing it.

As for the "they didn't envision", then it's entirely their fault. If they put their code online using default copyright law, this wouldn't be allowed, they specifically picked a license that allow it.
As far as languages go, Rust is better at resource management than C. Especially GObject C.
One more reason to cancel it, rather than pushing it under unfair conditions.
Where do you live? Don't you think some folks from your neighborhood would appreciate some local services? A local goods exchange (craigslist-like), a local chatroom, and a local media library full of movies and documentaries? It makes even more sense if you can do it on LAN, which can be an incentive to develop your own local ISP (which you should do for other more serious political reasons anyway)... :-)
Did you link the wrong video? You linked a top 10 list that SpaceX did not win.
According to [1] Netflix supports "Safari up to 4K on macOS 11.0 or later"

Of course, you also need to be on the 'premium' plan, have a fast-enough internet connection, be watching 4K content, have the T2 security chip, have an HDCP display, and so on.

[1] https://help.netflix.com/en/node/55764 https://help.netflix.com/en/node/23742
The article shows how to plot a real-time graph of values to web browser from Hibou Air Quality Monitor using javascript library chartjs.
Hello HN,

I've been watching everybody refining their Wordle strategies and I thought we could skip some intermediary steps and get straight to the bragging rights with customisable and shareable results.

Please don't take this the wrong way - I am barely a hobbyist coder and I quite enjoy the daily Wordle challenge without cheating. I was just messing around on a lazy Friday afternoon and thought somebody might get a kick out of this.
So XFCe == GNOME and LXDE is GNOME or KDE, depending on which version we're talking about?

UI toolkit doesn't equal a desktop environment. There is tons of stuff in the GNOME ecosystem (some of which it will make a lot of sense for System76 to reuse, no doubt) that can be entirely ignored when you're using GTK to, essentially, draw your UI widgets for you.
No and for your own sanity you probably shouldn't.

I've recently realised I've had 4 people in my life who would definitely fall under varying combinations of sociopath and narcissist and looking back with hindsight they've not changed in any positive way whatsoever and most other people we both knew have moved away from them - https://www.vice.com/en/article/evg45k/narcissists-will-even....

The best way to deal with these people is to slowly move out of their lives - find out what they have no interest in and visibly show interest in it as something that occupies your time.

There's plenty of less exciting, less drama filled but more deserving people in life to give empathy and your time to.
Although I strongly disagree with pron's point, format strings aren't limited to printing them to stdout. There's format!(), for example, which returns a String for further use, and you could even write a sql_query!() macro, which creates an SQL query from a format string:

let query = sql_query!("SELECT * FROM users WHERE id = {}", user_id);
query.execute();

Of course, this isn't a valid argument against format strings, because you could just as well write a function which does the same thing without language-level format strings (although it would be a lot less flexible than format strings):

let query = sql_query("SELECT * FROM users WHERE id = @PLACEHOLDER@", user_id);
query.execute();

EDIT: Actually, it would be possible to write a Rust macro sql_query! which takes a format string and creates a sanitized SQL query from it. That's because the actual string interpolation isn't built into the language, only the format_args! helper macro [1]. This macro doesn't insert the arguments into the format string, it only associates the placeholders with the arguments and returns a struct which can be used to create the output string – or a sanitized SQL query.

[1] https://doc.rust-lang.org/std/macro.format_args.html
If you're interested, the original forum post (2018) is here: https://www.phoronix.com/forums/forum/hardware/processors-me...

I totally agree with you, for what it is worth.
The drill to destroy locks is proper security theater. If people knew how easy it was to pick a lock they wouldn't trust security. Drilling takes time and makes the lock look better than it is.
The video equivalent of exact audio copy?
IIRC, 11 was fully free, including the phone call. Edit: I think the vocal equivalent (where you had an actual person at the other end, that could even connect you to the number you were asking for, was free too)
The McCarthy paper on Lisps is also interesting and reasonably easy to follow (I'm not even a CS student).

http://www-formal.stanford.edu/jmc/recursive.html

Full title is - Recursive Functions of Symbolic Expressions
and Their Computation by Machine.
> No, what I am saying is that mandating them is a stupid idea. Everyone should be free to do a personal benefit/risk assessment before undergoing any medical procedure.

And I absolutely agree. Apart from specific situations (e.g healthcare workers) no one should be required to get the vaccine.

But requiring it for crossing borders or playing in a tennis tournament isn’t a mandate. It’s a requirement for a very specific activity that people can just choose to not do. Sure, it’s his job - but such is life.

Remember that vaccines were always mandated for travel, going to university etc.

> I can see, how the vaccine may be utterly pointless for Djokovic, while it may be very important for others.

I don’t think it’s pointless. Protection from vaccine helps even in the recovered, healthy and young. But whether he should get it or not isn’t really relevant, what’s relevant is that Australia required it and they can’t exempt him due to past infection (apparently).

Also, one shouldn’t let an antivaxer free from criticism just because he got the disease and no longer feels he needs the vaccine. He was against it to begin with.
Probably pretty hard. It's not a transparent patch to the drive's normal read routines but a parallel low-level API. Then they wrap that in their own high-level userspace API libdriveio (which you'd have to patch dd to use).

And once you've pried the data out of the drive's hands you still have to decrypt it.

https://forum.makemkv.com/forum/viewtopic.php?f=19&p=96988
https://forum.makemkv.com/forum/viewtopic.php?f=19&t=24312
I agree. I would like to be rewarded in the knowledge that I've made something good or useful for my fellow humans. Hopefully they can take it further and give something back. Expecting me to monetize it, to exploit my fellow humans for my own gain, is an insult.
"The doctor told me I have a brain tumor. I don't feel sick. I ignored him. It's been two weeks and I feel fine."
> I don't know enough about this particular topic to form an opinion here.

To be fair, I don't either, depending on what's enough. I base this on what I've read, heard and experienced regarding GCs, query planning, and a lot of runtime "magic", that often end up being over generalized black boxes in many practical cases. In turn, this led to a Renaissance of simpler systems that are predictable, easy to reason about, and tweakable for the specific domain. Just my observations.

> But in general, when there has been a scientific consensus regarding programming languages it turned out to be relevant for the field.

I have a different view of academia than most people, so not expecting agreement here, but scientific consensus in a field like programming language theory should be rare, in fact I'd expect much more vigorous debate. This field is so young, incredibly complex and has common surface area with industry use cases and our mental models.
How quickly do you guys whip out the debugger when you encounter a bug?

I often can figure it out by reading the code (I'm the quickest jump-to-source in the wild west!) quicker than I can from inserting print stmts or hooking up a debugger.

I've also decided that I dislike having my IDE be my debugger, I prefer having an entirely separate UI for that. Maybe this is because I use Emacs and DAP mode and gdb is quite poor there, I'd rather use something like gdbgui.
> Watch good foreign films and spin them into Americanized versions

That's the entire history of Hollywood and american music industry. Those businesses who wouldn't like us to share made their fortunes on entirely borrowed things from other cultures. Many of the great revered american singers copied note-for-note traditional african songs, for example.
Why do you think Hitler was Hitler?
Is the YouTube algorithm corrupt by sponsor?
get a new MAC .. A New PC .... open a YouTube without any account .. and let it run ...
After 1 day you will fall in religious, militarist, bullshit music and stuff ...
rarely in astrophysics, mathematics or philosophy.
Is Alphabet a pornocrastic company made by evil?
Very easy but my understanding is you’d end up with an unplayable disc still because you need to perform decryption to get a file ffmpeg can play. That said makemkv does work on ISOs of discs made with a libredrive
> Then perhaps this is the place to start, developing new technologies that reduce the barrier to entry for independents.

Meh. Similar to music production, filmmaking itself has become ever more affordable on the technical and on the software side, DaVinci Resolve is available for free (and the Adobe suite for ~60€ a month), and thanks to digitalization distribution is relatively painless too (since you don't have to produce and copy literal reels of physical film, but can ship around Blu-rays or SSDs).

A feature-length film however will always need many hundreds to thousands of hours worth of work for everything from planning over shoots to post-production, there isn't much that can be cut there.
Just last year I had the pleasure of starting a new project and deciding on software architecture for it.

First try had a Dependency Injection framework, with automatic creation of instances at the time the request was routed to a dispatcher class, because it was the default "best practice" of the framework I was using.

Soon realized that I was relying on magic object creation which was too magic for my taste, and also only happened at one preset point in the request cycle, which was not flexible enough, and would not let a subcomponent have its dependencies managed without involving its callers all the way up to the request dispatcher.

Second try toned down the magic by using a Service locator and passing it all around. Quickly realized that all the code was burdened by passing an extra param for absolutely no benefit. If whole chains of functions are passing the same param without making any changes to it, and it only ever takes a single value in the whole program, you may have reinvented global variables, badly.

Third try decided to bite the bullet and embrace carefully managed global state. The running environment is global. So the SL might as well be a single global. This stage did not make it into code because...

Why would you want to create a single monster class called SL or "Context" or some such, artificially bringing together all sorts of unrelated things like your DB hostname, your AWS credentials and your password hashing secrets?

If you follow object orientation as a dogma, then sure, you have a problem rooting the whole system of creating objects. Just like in religious dogma, if every existent has to be created by a previous existent, your logic inevitably leads to ask for a first existent with God-like powers. So the Service Locator becomes the demiurge or creator God of object orientation...

In the end I decided OO is not my religion. I write modular code, but whether a module is implemented as a class, or a folder with a few closely interrelated classes, a bag of functions, a whole bunch of closures, or something else, is an implementation detail. What I know for sure, from John Ousterhout's holy teachings, is that I want my modules to be the right size, not just minimal, and certainly not "single function", so they encapsulate as much complexity as needed while presenting a small and clear interface to the rest of the word.

Which means, in the case of my project, that "get me a DB handler" becomes a static method of a DB management class, which knows all about DB management: where the credentials are found, what things should be done differently in production or development, how to reuse DB connections, etc. Over time this class can grow to accommodate and encapsulate more DB-handler-management logic, such as getting connections for writing vs connections to a replica for reading, or returning mock DB connections for integration testing, and whatnot, without overextending its scope.

And whatever code needs a DB connection, just calls DB::get().
If you can install an AC, then it’s not hard to use them for heating as well. Heat pumps get better COPs when heating, than cooling.

You would expect a COP of 2 for cooling (I.e. 1000W of electricity removes 2000W heat), and a COP of 3 for heating (I.e. 1000W of electricity produces 3000W of useful heat).

For heating a number of options exist from cheap electric heaters (which cost a lot to run); to gas or oil burners which require more infrastructure to build, but are cheap to run; and of course heat pumps, either air or ground sourced.

For cooling, your only practical options are a heat pump, or an evaporative cooler if your in a dry climate. Both are more experienced up from than an electric heater, and require infrastructure.

Finally insulating a home to retain heat naturally produced by those living inside can significantly reduce costs, along with insulating the humans (coats, jumpers etc). But cooling will always require a active component to move heat, and addition energy input. Although with good building design you can scavenge some of that energy using stuff like the stack effect.
Whistleblowers are protected from retaliation due to disclosure by law (they don't need to risk their job), I'm not sure a golden parachute would afford much extra protection.
It really depends on a lot of things. Debuggers can completely throw off timing, concealing the bug you're after. Debuggers may tell you that your program state is messed up (doh, sure), but not how you got there. Figuring out how you got there isn't necessarily any easier with a debugger than with generous logging. If anything, it can be much harder. Figuring out where exactly to break or which particular instance of a million dynamically allocated objects to watch, etc. is no easier with the debugger than it is reading the source code.. Single stepping sucks when you don't know where your things go haywire. You spend too long in the wrong part or speed right through the problematic part. So you gotta restart and do it all over again, rinse and repeat if there's a pile of abstractions between where you are and where the problem is. ($deity/printf() help you if you're looking at a task composed of tiny asynchronous events and any attempt at stepping forward in the code just throws you back into the guts of the async executor, ready to pop off a completely unrelated event from the queue.)

If anything, I think debuggers are nice for simple, borderline trivial programs where everything fits on a screen and there's a handful of variables to keep track of. (These tend to be the programs I rarely need a debugger for though, and the debugger isn't necessarily any faster than a bunch of print statements). They're nice for getting stack traces or figuring out the contents of RAM and sometimes that's just what you need, but often that's just working your way backwards towards the real issue, without having a way to rewind time.

rr might change a lot of that, if it's available for your platform..
Right. Bindings instead of (procedural) assignments. Perhaps: valof(<expr>) where(<bindings>)
Or just combine the arrays in the wordle source (being careful not to look too closely at the word order in one of them).
Seems that another thing to consider is multiple usages of same letter. Eerie for instance. So if the first try gets a single letter, this does not immediately mean that one should not try multiple letters.

Considering that eg the letter e is used very frequently, one might try words with more the one e, for instance?
Off course this does not mean that I have a different, best strategy, only that it might be more complicated.
I know it would need to allocate memory, but from a user perspective that allocation isn't less visible when using f strings instead of the format macro.

In your example I would return a String and generate a warning, because the f of the string isn't used.
I don't think I've ever heard anyone arguing that people shouldn't have reliable access to food and shelter. My complaint is when people start getting shelter in much nicer parts of the world than I get to live in, for free. If people want to fall back on the generosity of others they should be shuffled to the least desirable shelters and given last pick of the food. Anything else is unfair to people who are working hard.

To reverse "you cannot tell people that working in fast food or in customer support is mandatory to eat and have a roof on your head" - I can absolutely say that people willing to work in fast food or customer support should have priority to choose their homes and dining habits before people who rely on public largess.
The alternative is servers that get hammered during downloads, as opposed to swarms where the download health improves when more people use it.
I think for quality news you ideally should avoid Reuters and just try to find sources on the ground. Im my opinion Western news agencies failed in a big way in the Syrian war. I also believe Western news sources fail in a big way with reporting news around COVID (probably due to the Trusted News Initiative [0]).

You should be able to find some decent news sources on Twitter. Joanna Lillis seems like someone to follow regarding situation in Kazachstan:

https://twitter.com/joannalillis

I would suggest to also follow Herald Doornbos and hos wife Yenan Moussa for news regarding the Middle-East.

https://twitter.com/HaraldDoornbos

https://twitter.com/jenanmoussa

Sadly I don’t know good people to follow regarding news from Ukraine and Russia, but you might encounter good sources while following aforementioned profiles.

———

[0]: https://www.bbc.com/mediacentre/2020/trusted-news-initiative...
Some people seem to develop an allergy to the frequency, the way some people are sensitive to MSG or Gluten while others are unharmed. There haven't been many studies that I'm aware of but I've met enough people who reported these symptoms that I don't think they're making things up.
It also reminds me of certain episodes of the The History of Rome and The History of Byzantium podcasts where they depict the collapse of complex systems when the breakdown of security occurred.

During times when Roman security was good - the economy could develop complex systems of trade, which developed coinage, mathematics, architecture, and all sorts of specialists and artisans.

When security was no longer reliable due to the influx of raiders, piracy, and hoards of barbarians, all of those complex activities ceased.

The most complex aspects of society are always the first to collapse when security disappears.

...and eventually a "fend for yourself" attitude permeates society - which becomes a feedback loop, and it's no longer the externalities that are destroying security - but internal actors.

We were lucky to have a safe and stable society for so long that we are shocked to see mass looting. Once it's gone though, it is takes generations to rebuild that.
Well yes, if we could only train new employees for 20 years in the specific curricula of the organization, as that is how long we spend getting pi and calculus into the heads of kids.

On the scale of lifetimes, I don't think we can refer to it as "churn" as understood in the context of a modern company.

I'm being facile, of course. Developing a good library of knowledge as you propose is hard, takes a long time and many iterations and there is the unfortunate matter of time taking it's toll on the relevance of such recorded knowledge (esp. in our line of work). Not to mention costs. Even academic institutions, who are in the business of doing exactly this, guard their staff with tenure (some of the staff anyway, the big boys)
It was still centralized in the sense that you had to connect to a server because a Minitel had no computing and no storage (so no p2p). Benjamin Bayart's "Internet libre ou Minitel 2.0?" goes to great length to explain the consequences of that.
You can construct a SQL client which doesn’t accept normal strings in either language but how would Haskell be different otherwise? It can’t magically tell what you’re going to do with a string after formatting it.
Watching a kid while working is not really possible. They get into too much.
GTK deprecated Glade, so it's really not the fault of the Rust bindings. But to be honest, Glade's only useful if the language doesn't have good syntax for creating widgets defining properties on those widgets. Creating GTK applications purely in C is a nightmare. Vala makes it manageable. Rust also perfects it with tools like https://docs.rs/relm4-macros/latest/relm4_macros/attr.widget...
HTML is/as a programming language
What happened to us, as a society, that we cannot imagine eating without first exploiting other people?

Maybe we should just let everyone eat and not expect them to first prove themselves worthy of not being left to starve.
> Because the phone network can't be hacked, perhaps?

No comment.
Depends on defintion of "can".

Physically you can.
Legally not.
If your IDE is anything like mine, you will have a little button with a bug on it. You don't click it, even out of desperation at any point in your career? I get really tired and demotivated working with people who are like that, you have to hand feed them everything. Come to think about it, using the debugger is probably the best indicator I've seen if you are a good programmer or not, I've never seen anyone bad at programming use one.
> Employers destroyed the loyalty and they need to fix it.

I agree. I don't think that there's any incentive to do that, though.
Isn’t that‘s just an input sanitization problem? If you chuck raw user input into some sensitive piece of code, you‘ve lost - doesn‘t matter whether its passed as a string or not. I don’t see how Rust‘s comptime string formatting is a pitfall here?
You can download UHD disks if you want.
I only have a 7 year old 1080p projector @ 100", so for me a 10 - 20 GB rip is fine.
Another tip: Don't focus on results, focus on the process.

I know it may sound esoteric, so to speak, but that helps.

Do it because you know it makes you fitter, or keeps your body at a certain fitness level, don't do it to gain a perfect body.

Look at a lot of movie stars. They train like a Berserk for a role and afterwards slack off and become fat again.

Just enjoy the warm feeling of accomplishment.

I do that with all my spare time activities and detaching myself from the result oriented (paid) work mindset has worked wonders.

Also: Motivation doesn't necessarily come before the work. For me just starting gives the motivation (so it's an equivalence or even an inverse implication of the form: Motivation follows (the start of) work
Don't forget about this abomination: https://en.wikipedia.org/wiki/Cinavia

"Why has my playback gone silent?"
I think such appeals are futule, they are not gonna run out of employees.

We created a system where employees have zero say in what a company does, so the rest of society has not deal with this issue.