skysight-inc/HackerNews huggingface dataset:
If you're writing a calendar app, then you should probably store the triple of `local time`, `time zone name`, `version of time zone database used to look up time zone name`

https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a...

and

http://www.creativedeletion.com/2015/03/19/persisting_future...
Why Sahil Lavingia is betting his company on the rise of the creator economy
Rumor no more [0]
No sane person should want the state marking them an enemy. Playing that game quickly becomes a contest of who'll be the first to blink. And you will in the end, blink.

[0] https://nakedsecurity.sophos.com/2020/06/12/facebook-paid-fo...
This seems mostly irrelevant to the example in the post.

Why does it matter who wrote the copy constructor? In the author's example, they did not write a copy constructor, they USEd std::string.
It's certainly a nice tool if your country is falling apart. Nearly every other asset class is less accessible, transportable or secure against seizure than Bitcoin.

When countries descend into chaos or go full on authoritarian the best option is often to leave, but there might already be capital controls. So what can you take with you? Stocks: good luck if held by a broker in the country. Physical gold or cash: good luck at the border/customs. Foreign accounts: hard to come by for most people even in the first world due to regulations. Any serious amount of money is very hard to move between jurisdictions, especially in times of crisis, through traditional means.

If you believe your host country doesn't own you and you should be able to relocate to wherever you are treated best, Bitcoin can be a good tool if you were unprepared so far (e.g. because you didn't think a crisis could hit _your_ country). This might not be a use case for you today, especially if you are happy with your country and it is stable. But don't discount that the situation of others might differ.
Yeah, buy a linux certified laptop and you're done. You want the ability to hop hardware without paying the price that you might have to configure the OS to suit your workflow/hardware. Even the king of multiplatform PCs windows 10 you will sometimes experience issues until you install the right drivers.
I thought they meant "oldest OS easily usable by young people of today", but I might be wrong.
This reminds me of the neon sign craze of the 50s. After the novelty wears off, it's garish.
That neon was torn down in most places, thanks largely to better ideas around mixed use development where constant bright lights are a problem.

People need places to feel part of society, and it's fun to visit, but living in a mall/amusement park/sports bar/Tron has negative health impacts with all the over stimulation.

By now, high density, ecologically sensitive, mixed use cities that have a focus on overall quality of life, rather than dazzling, are more impressive. Chinese development can pull ahead there with a focus on transportation systems.
If the routine is truly going to consume the widget, then you’re paying for a copy within the routine if you take the parameter by reference. Unfortunately that’s just kicking the can down the road.

I’d prefer code like this use the move operation to make the code reasonably efficient and maintainable. Then, only after its proven the line is on a critical performance path, it can be further optimized later.
I half blame them, but also Linux that explicitly doesn’t care about binary compatibility of graphic drivers, unlike Windows.
Transit Agencies Build Slicker Trip Navigation Tools to Boost Ridership
Yes but this article is not about the hazards of using new/delete. It’s about the hazards of custom copy constructors. Simply using a common type like std::string is sufficient to trigger that hazard even if you never write a custom copy constructor yourself.
Folders opening "in place" was a deliberate design choice called spatial file management or so [1]. It has its downsides and IIRC I wasn't a huge fan, but I wouldn't call it incoherent.

I don't think anybody misses Windows 95 in terms of technological quality, but there was actual deliberate and well-researched design behind its UI.

[1] https://en.wikipedia.org/wiki/Spatial_file_manager
i see crypto currencies as the only decentralized entity to act as a counterweight to the big corporations that make a living from tracking and snooping.
I believe this was C, so presumably it’s not?
Version archived 8 hours ago: https://archive.is/lhFF2
Are cheaper eggs just as nutritious as organic or free-run options?
Best practices are for beginners. Experts don't think about rules.
Storing UTC Is Not a Silver Bullet (2019)
The benefit that the tech industry has is that each person carrier their addiction in their pocket and are mostly alone when they look miserable, desperate, and compelled.
If SiteA loads script/image from SiteB for logging hits, is it deemed tracking?
That sounds a great deal like every single person. Let he that is without sin, cast the first stone.
Google Cloud is similar (perhaps the same). I run sites there that involve arbitrary code execution by our users, and periodically Google support contacts us to report cryptomining violations. I don't know exactly what Google's heuristics are for triggering this, but their reports to us typically include the ip address of a mining pool that was contacted by one of our virtual machines. My impression is that mining typically involves a network connection.
"Best practices" are often just "common practices". In other words, this is how we do things here, adapt. Nobody ever investigated how "best" they really are.

It's actually the more senior devs who go beyond and investigate how things could be done better.

I agree that certain standardisation of practices need to exist. I would rather work with someone who calls even imperfect practices as "standard practices" and had an initiative on the side to explore better options vs working with someone who insisted on "best practices" because of their insecurity and shaky authority.

Zealous adherence to "best practices" is actually a good sign of immature developers.
> The article’s a bit of a troll piece, so I’m going to ignore it.

It's what we call "humor," actually. Ignorance of humor acknowledged.
Do you suppose Delphi would have wider adoption if it were open-source? E.g. are the Delphi language features and ecosystem compelling when compared with more widely adopted languages with a community governance structure?
So does Ubuntu. I've installed it on a few family's computers without any issues as long as the hardware wasn't brand spanking new. The defaults are fine and it makes a good secure machine for the (younger) kids to use the internet on for those families who limit their kids time on the internet.
VPNCloud is Open Source, which is a huge advantage for me.
FYI, you can use ctrl+l to get the path bar as just plain text that you can edit.
Since loot boxes are not allowed in Belgium. I sold a couple of them and got >50€ ( in relativity out how much I earned with a online game, that's 100%)

That's quite a lot of money for something useless. Even the steam market has some stock characteristics.

https://steamcommunity.com/market/listings/730/AWP%20%7C%20A...
> Only reject a "best practice" if you understand why it was there in the first place.

I'd agree with and extend your remarks, if you can clearly document why you're creating your own best practice, then its OK. Or rephrased in a negative sense, If you can't clearly write and permanently document an explanation, then you probably don't have a good reason.
My kids just type the calculation into Google.
NetCDF
There’s a world of difference between writing tests for a rest api endpoint vs other types of pesky code. Too big a difference really. Writing a bunch of tests for your utility methods like a DateFormatter is obvious, but if you shackle up other abstract implementations with tests and strict type checking, you can easily make a piece of unalterable code (maybe that’s the point). The question is, what is the value in doing that? Why shackle up all parts of your codebase when only a few parts are critical?

I’ll admit that I also lack (and have lacked) guidance on testing.
Expected some breakthrough but seems to just be a software to do what was known:

- even with GPU it takes forever on a good password:

"However, a non-standard combination of symmetric cipher and hash function (e.g. AES + Whirlpool, or Serpent + SHA-256) requires trying all possible combination of ciphers and hash functions. This will be significantly slower; about one password per second on the same computer equipped with a single video card"

- leaked encryption key on RAM, hybernate, swap files might be used and are fast (< days) no matter how big your memory was.

Those who used Truecrypt and use VeraCrypt , in general, know how to choose a good password.
That author's blog post sent me down a rabbit hole of insanity with YAML and the PyYAML parser idiosyncrasies.

First, he mentions "YAML 2.0" but there's no such reference about "2.0" from yaml.org or Google/Bing searches. Yaml.org and wikipedia says yaml is at 1.2. Apparently the other commenters in this thread clarified that the older "YAML 1.1" is what the author is referring to.

Ok, if we look at the official YAML 1.1 spec[1], it has this excerpt for implicit bool conversions:

y|Y|yes|Yes|YES|n|N|no|No|NO
|true|True|TRUE|false|False|FALSE
|on|On|ON|off|Off|OFF

But the pyyaml code excerpts[2][3] from resolver.py has this:

u'tag:yaml.org,2002:bool',
re.compile(ur'''^(?:yes|Yes|YES|n|N|no|No|NO
|true|True|TRUE|false|False|FALSE
|on|On|ON|off|Off|OFF)$''', re.X),

The programmer omitted the single character options of 'y' and 'Y' but it still has 'n' and 'N' ?!? The lack of symmetry makes the parser inconsistent.

And btw for trivia... PyYAML also converts strings with leading zeros to numbers like MS Excel: https://stackoverflow.com/questions/54820256/how-to-read-loa...

[1] https://yaml.org/type/bool.html

[2] 2020 latest: https://github.com/yaml/pyyaml/blob/ee37f4653c08fc07aecff69c...

[3] 2006 original : https://github.com/yaml/pyyaml/blob/4c570faa8bc4608609f0e531...
Your Health: Put Air First
Max Blumenthal on the Uighur Genocide
Did you seriously compare rape and murder to cryptocurrency? C’mon, man!
Spotify uses AI to have 248M product versions
I would expect "sound money" to have a fairly stable, predictable value in terms of real-world goods and services for which it can be exchanged. I haven't observed that to be the case for Bitcoin.

Being "at the whims of politicians and fed officials" seems in practice to provide much better stability than being at the whims of a horde of reddit "investors" (or a cabal of Chinese miners).
I wish you can give another try, much has changed since then.

For me Debian Testing with Gnome is being a very nice experience (enjoyable ride).
I'd rather not comment on current popularity of Delphi, Free Pascal and family. I won't touch commercial situation with a ten feet pole either.

But I would like to mention what exactly made Delphi so nice to work with: language enabling design-time information, run-time type information, flexible memory management (some of it automatic, but also possible to do it manually), 95% of time safety but still possible to mess with internals, component architecture, clear exception handling and a very nice community.
I use Preview for merging + deleting pages which is rare but useful but otherwise I use Skim.
Some semi-formal methods for this:

https://en.m.wikipedia.org/wiki/D%C3%A9rive
It's absolutely subjective / personal. That being said, (non-mobile) OSs are less crucial, provided you have a browser. For a while I was having to move back and forth between Win and Apple. Being more browser-based made that less friction-y. Frankly, I think that's universally a good position to be in. That is, ultimately I don't care what OS. I'll be okay.

Humans adapt. It's what we do. Yet so often we mistake wants for needs.
One of my major issues with Stallman is his tendency to see things in black and white, and it's ironic he's now being sorted into the "bad person" bucket.

In truth, he's said some stupid things, some of the worst of which he's admitted he's wrong on, and others that he "lost the forest for the trees" and still doesn't see the larger perspective. I take everything he says with a grain of salt while acknowledging he's done a lot of good.

Uncompromising voices are important for overall discourse, but those voices shouldn't be in positions of power.
How do they sail into Russia? They would need their own AIS transponder and a valid ship registration, the Greek/Turkish maritime zone and the Black Sea has a tone of coast guard and military activity and you need to Lee-register/declare traversal.

Going into Russia through the northern sea doesn’t seem to be viable either.
Like making drugs and alcohol illigal. Declaring something illigal doesn't stop it. It still has value - therefore it will continue on without you, and then only those that deal illigally get the benefits of crypto.
Since you are so hung up on denotations, may I suggest a couple of official, sanctioned, orthodox definitions (right up your alley) of words the dwelling upon of which might wrench you from your obstinance: https://www.merriam-webster.com/dictionary/connotation and https://www.merriam-webster.com/dictionary/pedantic.
Completely agree. Even further, the biggest problem of this list is that the items can fight each other. Your best testing strategy doesn’t save the company from bankruptcy if the deadline to have something done is next Tuesday. Honestly I kinda saw the first item in some of the authors guidelines. Not everything works for everyone else, that includes #4
Nice! Still compiles with a minor modification: added a break on the default case of a switch. Time signature is wrong when playing though.

Edit: Fixed: add "frequency = frequency/2;" after the comment /* Set the output frequency */ in file audioIO_Linux.c
Do you mean when one peer is behind multiple layers of NAT? If so that's not a situation I have myself, but I'll keep in mind.

For regular nodes behind a single NAT I've personally found it worked remarkable well. Maybe I've been lucky on UPnP support with routers or something though.
I call them "Medium Developers" - they have a medium amount of experience, and get a lot of their knowledge and dogma from Medium articles :)
You put it quite nicely. But this is exactly the viewpoint I am questioning.

I have listened to this viewpoint (and at some point I have held it myself) for the past 20 years. And year after year it is clearly proven wrong.

Today Chinese companies such as Huawei, TikTok, DJI, Xiaomi are absolutely world class technology companies. Ten years ago Chinese companies of this stature were unthinkable. Yet somehow we question whether Chinese companies will be capable of producing a highend microchip, now that we via our sanctions have create a halfway sputnik moment for them? Whether they can create an international blockbuster movie?

Could it be that we in the west are speaking out of prejudice? That we think we know what modern Chinese communism and Chinese culture is? And we just assume it is going to degenerate into some Soviet style bureaucratic, corrupt, degenerate mess.
This problem will resolve itself in 5-10 years when people move to proof-of-stake blockchains. There will be no more demand for proof-of-work cryptocurrencies and attacks like this are no longer economically interesting.
AirGrid | Senior Backend / ML Engineers | London or Remote | Full-time | £45-100k

We're hiring senior backend and machine learning engineers to help us build a more private ad funded internet.

Our platform allows for publishers to allows users of their site to keep their data local and secure, whilst still benefiting from customised experiences. We do on device machine learning to segment a publishers traffic into segments / cohorts without exposing raw user data to any party in that supply chain

Apply @ careers (at) airgrid.io!
I admittedly haven’t read the article, but this seems fishy. Surely some animals aren’t trying to go anywhere specific?

“You gotta be careful if you don’t know where you’re going because you might never get there.”

- Yogi Berra
Considering policies that prevent someone from enriching themselves from the ruin of others isn’t just based on “not liking it.” It’s a fundamental decision about the ethics of the society that we want.

Basically everyone agrees with that which is why the question is over how much enrichment should we allow from how much ruin.
There is an open source implementation: https://www.lazarus-ide.org/

I don't see it getting wide adoption, but it's not bad for open source. But compared with C# (which is basically Delphi as it should originally have been, by the same designer) - nah.
It seems fairly obvious once you trace the funding on a lot of nodes. Plus that court case that got dropped with the child porn guy - they dropped it because they refused to show how they found him. 0day most likely.
They are probably referring to concentration camps and forced sterilization [1]. The situation is described as a genocide by some human rights organizations [2].

[1] https://www.haaretz.com/world-news/.premium.MAGAZINE-a-milli...

[2] https://www.theguardian.com/world/2021/mar/09/chinas-treatme...
Dont underestimate Ethiopia. Few countries have such a potential in Africa.

The Track record of the Egyptians against Ethiopia is also not very good https://en.wikipedia.org/wiki/Ethiopian%E2%80%93Egyptian_War
“Best practices are non-negotiable”

In my experience (over 20 years) rules are meant to be broken. You can’t have a set of meaningful rules that can’t be misfits in some cases.

“Write unit-tests!”

- on a shell script?

- for my playbook?

- on that static html-css?

- on my docker config?...

You’ll learn that best practices are great guidelines when you begin. Once you’re seasoned you’ll know what’s right... that’s what make you senior. You don’t ignore them, you use them wisely.
> The feeling of dread that settled onto my stomach at that moment has never been matched by any other computer event in my life.

Consider yourself blessed if that’s the most dreadful computer experience. I’ve had severe anxiety induced by:

* user errors, e.g., why is that “rm” command taking so long? or “Save As” over-writing an important file

* software bugs, e.g., “no boot device found” after the most recent Windows 10 update

* hardware errors, e.g., USB flash drive suddenly becomes unreadable
I find it hopeful that we could use this knowledge to entirely skip the complexity of deploying novel machines to repair damage and go straight to instructing the existing biological systems to repair the damage. Biology already contains all the necessary processes and hardware to tackle cancer and limb and organ regeneration it just appears to either lack the top down direction that we could give it or perhaps it simply has different priorities than the ones we prefer.
Windows 10 + WSL would have been a better thing to switch to.
+1

For the juniors on my team, the next question I always ask after the answer "it's best practice" is always "why is it best practice?"

It's fundamentally important to understand why something is best practice, so that you know when it is not the best course of action.
We do learn these by recognizing what actions usually comes before this outcome. That's how we learn the causality. That's how we learn the wrong causality as well (required outcome after praying, that's how we created all Gods).

We see what did we really do to get this. We often don't have any idea. And we put any label we find most appealing and plausible based on our previous assumptions.

Machines can learn to do the same by going back one step by answering "What could have happened before" in terms of probability.
plus it generated a single exe file that would run anywhere without installation or 20 dlls in the system directory
ZeroTier is also Open Source
I've mentioned something similar elsewhere in this thread, but I really don't see why someone would choose Linux if their daily work revolved around marking up PDFs, editing Office documents and sending email.

I do these things on occasion (maybe once a quarter). When the time comes I drop the file on a suitable machine, do the work there, and get back to my real job (writing software that runs on Linux).

Conversely, if I was still developing iOS software, I would not insist on using a Linux or Microsoft machine. It's just not practical.

I get that people think the PDF/Office/Email should be on-par with Apple/Microsoft on Linux...but they're just not. I wish they were too, but I'm not going to spend my time making a Preview quality Linux app. These are objectively hard things to do. Most folks developing for Linux have other priorities.
Requiring javascript to read a simple article doesn't seem very pragmatic.
It looks like it is intended behavior in Excel.
Profs help push program claim is math 'racist'; it requires a 'right answer'
Excel allows people to maintain data all over the place. From golf league data to job actual data compared to estimates to so much more. And, excel is accessible enough that tens of millions (or maybe more) of people do it.
Preview is one of the most underrated pieces of software in the world today.

I make the assumption that Quicklook uses Preview (because surely it must).

Being able to hit spacebar on just about any kind of selected document/image type file and see a near instant look, multiple pages and all, is so important. Once you don't have that (move to the Windows world), you realize how much you miss it. And you can, with a small bit of effort, add capabilities for additional files such as Markdown.

Being able to open a PDF or image in a fast, reliable native viewer, and even do some level of editing (such as quickly adding a signature!) is super useful.

In terms of reliability, every time over the last 20 years (some distant, some recent) where I tried to live with a Linux desktop, things would stop working after a short while. Meanwhile, I have lived on my 2014 MBP since 2014, going through multiple OS upgrades in place - no wipes/reinstalls - and find it just as performant as ever. It is in most use cases more performant than my 2017 _much_ higher spec Dell XPS 15 (in Windows or Linux boot mode).

There are still some things I hate, #1 being that when I cmd-tab to a window which is minimized, it doesn't raise that window. What is the f*cking point of cmd-tabbing to an application if you don't make its window visible!? This I have never understood. But generally speaking, macOS on Apple hardware is unmatched by any alternative.
I would say it would have helped...but that wouldn’t happen. Borland as a company depended on Delphi as a revenue source.

Microsoft and Sun did not. So they could both give their products away for free and open source them, plus keep people working on those products.
Why and Where You Can Learn C Programming for Free
To my knowledge, pokemon card packs are not designed to be as addictive and easy to spend money on as possible in the same vein as loot boxes in video games. Additionally, the requirement to go to a physical store (or order online and wait upwards of a week for shipping) is likely a mitigating factor.
Nix could allow for home installs, however. It would make it useful in a lot more situations.
What's there to get under control? It cannot get out of control.

GH Action have a timeout of 60min already. A PR with about 5 jobs running for 5 hrs is nothing to gain for the culprit. The repo owner certainly finds out soon enough, and reports it at GitHub to block him. GitHub doesn't even need to start a mass scan for such losers.
Azure is such a huge server farm, nobody should care about a few 1hr miners, who get eventually thrown out.

But the easiest mitigation
would be up block outbound traffic to the miners IPs. These are well-known.
These light shows don't continue throughout the night.