skysight-inc/HackerNews huggingface dataset:
As anything it is just a tool in our toolbelt and should be used carefully.
If our system contains same user validation in 2 places, changing it in 1 place may lead to issues, which are difficult to discover. However forcefully implementing DRY everywhere can lead to coupling and lack of separation between modules and influence deployments, and work of different teams. Its more difficult to build context of the implementation, if one needs to jump from file to file. There’s a balance to when to use it or not.
Completely agree. This is a low quality blog post.
Music for airports is my favorite ambient Eno. I have this part of my brain that notices odd (to me) choices, and some of his ambient stuff has sounds/patterns that break me out of the zone, but music for airports works as intended. Love Eno, and I think this is a "me" problem, rather than an issue with his work.

Unless I need a sense of urgency, random recordings of bird songs (especially mockingbirds) are my go-to for background noise for work.
Nope, C++ and Fortran are.

The bindings available in Python can also be used from other languages.
Generally PM as celebrity isn't as popular in the UK as it has been in the USA. Less of a figurehead, although Johnson wanted himself to be.

So what that means is that the government will continue to run things. It's not like impeachment of a president.
"Duplication is far better than the wrong abstraction" - Sandi Metz

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
> In France, top positions in the administration are usually filled by people that are technically excellent and have gone through the system of grandes écoles (ENS, ENA, X, ...)

That's a misconception. ENS has two branches, science and literature. ENS Sciences is technical, the other isn't. X (Polytechnique) is an engineering school in theory, but in practice very few of its students become actual engineers.

ENA is essentially a law school; it's even less than that, it only teaches how the French administration works, not law.

The one thing these schools have in common is that they are extremely competitive, and select for extreme dedication (and a bizarre capacity to study with high intensity at an age when other people are dating or partying).

But at the top level of the French government you mostly find only énarques (= people who attended ENA); they are not technical in the least, "don't have a clue about technology", but think they know everything. It's a terrible, terrible system.

Source: am French.
It already exists, but they don't want to learn other languages.
It's good but not good enough.
I do live in the heart of Europe but not in the EU. Best of both worlds I guess.
You want to do that with the cooler water that is coming back to the power plant after the heat is delivered to the customer. Thus you use lower value heat to melt the streets. Assuming you do combined heat & power, as a bonus you get a small benefit on the power cycle as you get colder water into the pwrturbine cooling.
That would be C++ and Fortran actually.
Good friend of mine had influenza and is still coughing. Whats your point?
The ‘sand battery’ explained: Insulate a lot of sand and heat it with an electrical element (300-500°C). When you need the energy back, pump air into it and you get hot air to power generators and heat buildings.
Germany planned to use gas to bridge times with little wind and solar power to be able to turn off nuclear energy. Not smart but true. The new plan is to build even more renewables. and massive storage capacity, a very optimistic undertaking.
It's not the only option and it -is- better than coal or gas.

Solar, wind, hydro and geothermal are going to be important parts of the mix (perhaps even the dominant parts in many places of the world) but all have unsolved challenges that are much more difficult than nuclear. Storage ofcourse, the world is almost already maxed out on what hydro it can build, geothermal is only viable in very few places in the world. Solar is gated on Chinese polysilicate and cell production unless some other country wants to step up and make what is needed.

Don't make good the enemy of perfect. Nuclear is a very good option to killing off fossil fuels in addition to the obvious renewables.

It also provides key features that they don't, like being almost entirely independent of weather and geography, good in places like Japan that are hard to build other renewables after they max out on hydro. They have no space for solar, wind is hard to build with their terrain, off-shore wind is hard because they have too many tsunamis and adverse conditions etc.

Renewables good, nuclear also pretty good, coal and oil bad.

If nuclear is replacing coal and oil we should be happy, if we are building it -instead- of cheaper renewables despite having the correct sites, enough storage and enough supply then I would be against it but we aren't. The economics of renewables should put them at a consistent cost advantage to nuclear except the cases where they aren't viable - where nuclear should be able to slot in.
Very much yes, if you are fluent in both C++ and python, it is just easier to rewrite in the former than deal with FFI.

Unfortunately sometimes you have to provide a library for consumption to programmers that only speak python so you don't have many options.
If your domain is already on Route53, you can replace Netlify with AWS Amplify and save another 10 mins…
Except most of them are bindings written in native languages, being scripted from Python.
Search, replace it with a single call to unified method when there are more than enough repetitions in the code.

Probably people just call it 'Refactor'.

The requirement changes and you refactor it to meet requirement.

And that's all you need to do to avoid premature generalisation.
Intel does a fair bit of exclusivity deals to prevent vendors from making certain pairings. It also didn't help that amd mobile CPUs were budget options for a long time. Manufacturers haven't caught on to the demand yet really.
> And yet Germany, after two decades and close to a trillion dollar in renewable energies, has one of the most expensive

Do you have any sources? Last time I checked, Germany and France weren't that far apart, if you remove taxes out of the costs. The thing is that Germany has a lot of Taxes that have nothing todo with how we generate the electricity. I.e. 90% of the electricity tax (Stromsteuer) goes into the government pension fund.
Extend AWS IAM Roles to Workloads Outside of AWS with IAM Roles Anywhere
There is a unique downside to NFTs, I just realised.

In order for it to mean anything, the NFT blockchain cannot be managed by just one server. And further, not by the entity which sold you the thing.

So we need maybe all streaming services to each have multiple blockchain servers, all supporting the same chain. Then we know one org cannot play games (rollback the chain, try to take back purchases).

We'd need all studios/media producers to agree that this meant "sold" too.

And lastly, we'd need to separate "sold" fees from "streaming" fees, so one could buy, but streaming services could get paid for front end support/platform/ongoing streaming costs.

And naturally, in this world, you could download any copy of this media.. and store locally, and forgo streaming costs.

But for all of that to work, you'd need something else. Laws stating that, basically, if the NFT servers were ever discontinued, a static copy would be provided, and all would gave ownership validated forever ... or the content creator would give up all copyright on the media.

In other words, you sell without physical media, you must use a blockchain, and once you do that you must always provide servers to verify, or you lose all copyright.

That last bit is important. It puts the burden on the content creator. Sell digitally, and you must make sure it's a real sale, or else.

Anyhow, my point in all of this is the immense downside.

A public copy of everything you watch, listen, read, tied to your public ID.

There is no other reality. Schemes of non-ID based authentication are blather, because to truly claim ownership, your identity must be known. And even if some method to separate ID from chain ownership are hatched, it a hack a day world, your ID->chain ID will get out.

There is no anonymity in this.

Which means everything you watch, read, view, would be public knowledge. The chain, by its very nature, must be viewable by everyone, all the time.

Right now, this info is very dispersed, spread over providers and sellers. And if you have any doubt of the value of this information, to profilers, the government, note that post 9/11, there was an immense fever raised by librarians, for the US government wanted a record of all books to be kept, and who checked them out.

So any NFT/chain plan, means all your ownership data, ready to be used by the government for profiling you, by banks to profile you to determine risk, by political opponents to discredit you, and more.

In a sense, this is very dangerous...
This looks nice. Nothing wrong with this
That is only true if nothing has changed in the last twenty years. But in that timeframe alternatives to nuclear have dropped in price quite a bit and know how about nuclear has retired.
It means to remove the parts of the virus that allow it to replicate or cause harm, I think often that's done by removing some of the genetic material of the virus, but it can also be done by damaging its envelope or other methods that would prevent it from being virulent (aka replicating and causing harm)
Matebook 16

Amazing laptop. I'm never going back to a small screen or a non 3:2 screen

Very hard to source though. Had to have it shipped specially from China
Never mind just TikTok, why did the children have access to smartphones at all?

But then, I think that’s where you’ll find your answer. This technology pacifies, or at the very least occupies.
How often do you really write the same piece of business logic code in multiple places?

I think discussion is that mostly it really is different code that only superficially looks the same.

I don't like pizza example.

But I have seen more issues because people were trying to cram code that looks the same in one function than some bug needed to be fixed multiple times because code was duplicated.

You also have layers of code and DRY best applies to things like "SaveStuffToDatabase" or framework code. Where a lot of business code can still be better off duplicated because usage will evolve in different ways like: CreateNew vs EditExisting - there is a lot of business cases where when creating new entity you want to set some values that should never be available in Editing - but saving to database should be just saving to database...
That is just fear mongering. We have no evidence of nuclear being built in-place of cheaper renewables. Until we do it's just FUD.
Navigating Choppy Waters
"The fabulously beautiful planet of Bethselamin was so worried by
accumulative erosion cause by over ten billion visiting tourists per
year that any net imbalance between the amount you eat and the
amount you excrete while on the planet is surgically removed from
your body weight when you leave; so every time you go to the
lavatory there, it is vitally important to get a receipt." - HHGTTG

Living in a tourist destination is a mixed experience. On the one hand
you have a beautiful city to enjoy. On the other hand you can't really
enjoy it for 6 to 9 months of the year because your neighbourhood is
over-run.

At a conference in Rome I met a Venetian who told me those cruise
ships are the bane of their lives. She wanted to move out for health
reasons, because the constant stinking miasma of marine diesel from
dozens of ships. They are also HUGE, like floating cities, that
literally darken the skyline. The tens of thousands of visitors
dropping litter and blocking the pavement to take selfies are just a
minor inconvenience.
You can, there is a small part accessible by cars via bridge which is basically only expensive parking and bus terminals.

And that implements GP's suggestion, but it turns out this is not enough to limit the number of daytime visitors.
Just listen to Stars of the Lid and everything will be ok.

Try not to fall asleep though.
Sounds like they should reenable for him, it might be safer for the other road users to have the AI in control instead of him.
The same for a MS-DOS Clipper [1] application written 30 years ago. Sorry, with all due respect to the wxWidgets contributors, aesthetically wxWidgets (like many other UI libs) is not for 2022.

[1] https://en.wikipedia.org/wiki/Clipper_(programming_language)
Service retrieves your dead loved ones' tattoos and frames them
"Your mother was a hamster and your father smelt of elderberries." Insult?
I'm puzzled about why nuclear is deemed less satisfactory than dependence on Putin's Russia for the energy requirements of the world's 4th biggest economy.
Now that we agree that nuclear is a better future, we need to talk about where to source fissile materials, and what technologies can make it so safe we won't have to think twice.
I'm similar with non-English hip-hop. For all I know, the MC could be calling me every name under the sub, but damn... Italian and Japanese hip-hop flows so well!
Shall I say it ????? I have something in mind that has to do with mandates.
I was an active user until 2 years ago, when I quit my last enterprise software job. They had a cross platform (including embedded systems) enterprise video security system, a suite of applications all written in wxWidgets. They screamed, they were so fast. They had to be, for our enterprise clients. But those same clients had typical "give me candy" managers, and they complained about the ancient native interface. That company chose to ditch wxWidgets, put everything behind a server I wrote, and then hire some over priced web agency to make them a web interface they charged 4 times the expense of the development entire enterprise software suite.
> "All these ideas are great. But remember that the fundamental goal here, is to send a POST request with a single JSON object."

This. A million times this.

IMO, the single most important principle is still "Keep It simple when you can, make it complex when you have to."

A system that is simple can be grokked quickly, meaning it can be debugged quickly, modified quickly, new developers can be onboarded quickly,...

Yes complex systems have to exist. Some tasks are complex, and require complex solutions. BUT: Complexity should come into play when it is necessary.

It is perfectly okay to design simple solutions for simple tasks. Yes, sometimes this means ignoring things like DRY.
Sydney is flooded, again, as climate crisis becomes new normal
I'd rather send an amount of money to the actual creator (without intermediaries) and still pirate the content just because it's more convenient.
I may or may not be super knowledgeable on the subject have the KDE Slimbook team considered going full with ARM chips instead of the x86_64 processors?

I keep reading how ARM is more "efficient" and lower power consumption altogether. I also noticed that some Windows-laptop devices are shipping with ARM as well. (Windows on ARM not being new if you have been following Microsoft closely)
Donations, swags and limited editions existed before NFTs, they did not suddenly get studios to create content under the public domain.

NFTs are not a new economic model. I'm not sure what they are, but they definitely don't solve this.
But it just wraps the native controls...? You're effectively saying that native controls are not for 2022...
If that was why, they should say that, they don't
https://www.kernel.org/doc/html/v4.10/process/coding-style.h...
> If I can trust what make_pizza does

You can't, unless it's in a standard library or a core dependency used by millions of people.

That's one of the reasons why functional code is generally easier to read. A lambda defined a few lines above whatever you're reading gives you the implementation details right there while still abstracting away duplicate code. It's the best of both worlds. People who's idea of "functional programming" is to import 30 external functions into a file and compose them into an abstract algorithm somewhere other than where they're defined write code that's just as shitty and unreadable as most Java code.
These days megaparsec might be a better way to get started as it has built on Parsec to improve the speed and documentation.

https://markkarpov.com/tutorial/megaparsec.html
https://hackage.haskell.org/package/megaparsec

However it does rely on some GHC extensions, which makes things a bit more complicated for beginners, so for simplicity's sake it might be easier to start with Parsec and one of the old papers that goes with it.
More companies are trying out the 4-day workweek. It might not be for everyone
Or at the very least they should be designed in such a way that it optimizing them later is still possible.
I dunno, the only thing I came away with here is that the author either doesn’t know how to write decent code, or deliberately obfuscates the problem by writing obtuse stuff.
huh?? none of this makes sense.
>The flag bearer of FOSS is Richard Stallman

Open Source was literally created as an alternative to Stallman's Free Software.
So stupid to hate nuclear energy. you dont need to be a rocket scientist to realize how good deal its. Where i am from a lot of activists hit the road and blocked many nuclear plant from bein built.

Brainless activism is destroying democracies around the world
And yet weirdly, those non-technical people seem to have accidentally stumbled on the solution that the whole world is moving towards, while the highly technical French have forgotten how to build nuclear and even their most ambitious goals include using less nuclear and replacing it with the stuff the ideological German's came up with, because it's better. And it wasn't that long ago that they were threatening to scrap the whole idea of nuclear if the industry didn't produce one on time and budget, which still seems to be the main problem, they've just been given another chance to fail.

Weird, it's almost like these ideological people were listening to experts, but you didn't like what the experts were saying, and so you labelled 'following expert advice' as 'ideological' to help you continue to ignore expert opinion.
None, I have an AMD Ryzen laptop with a highres display (1440p), and there are with 4k displays. It's just that a loooooot of laptops you're seeing are going to be rebrands of these ones.
> There are lots of them.

I need names. Especially those that don't require a long history of GPU programming or PhD in a related field to even get an interview. Bonus points if they're not a startup that is about to fail and is desperate to hire anyone who wants work on cool stuff for free while it lasts. Even better if they have a business model that is not cryptocurrency, HFT or just hoping to get acquired.

Yes, I'm more than a bit disillusioned with the field. We could do much better if there hadn't been some people who made a lot of money on the "move fast and break things" or "nobody got fired for buying X" attitudes. I was trying to communicate those things as if they were commonly accepted attitudes but not really true. I think I failed. Sarcasm never works on the Internet.
My experience writing TCL native extensions made me realize, this kind of languages are only good for scripting purposes.

Anything where performance matters should be written in languages where JIT and AOT compilers come as standard options on the reference implementations.
Are Skoda cars with DSG transmissions reliable in Europe?

They're unreliable where I'm from.

Otherwise, they make fabulous desirable cars.
I switched from Visual Studio to Vim ca 2013 mainly because the key bindings and macros made me feel a lot more efficient. I've tried Vim plugins for a number of editors including Visual Studio and Rider throughout the years. So far each one has had some few basic pieces of functionality implemented but not nearly enough to replace Vim. I feel like you need quite a large and well-rounded portion of its functionality to make a worthwhile replacement.

With all the news I've seen about Neovim over the years I keep meaning to try it out at some time. I mainly haven't because there's nothing broken with my current setup and it seems like an investment of time and effort to reach a similar setup: I have quite a few changes in my vimrc and am using a number of plugins which I would need to get working or find replacements for.
You could also buy the DVD/Blu-Ray/UHD and rip it...
Anything that has the word "purchase" in it should be legally mandated that there be a way for users to access it indefinitely: in this case, perhaps making it possible to download with some sort of offline DRM. (You can do this, say, with Audible books that you buy.)

Anything which is cloud-only and may disappear at any time should be labelled something else, like "lease".
I agree. I’m only using “word” completion from open buffers and include lists to save keystrokes. Makes you read, think and choose instead of blindly walking through dots in hope that some combination works. But I also had a good experience with ctags (in 10k+ projects), for quicker navigation.
I've GMed one-shots of Spire: The City Must Fall, Night's Black Agents, and Lady Blackbird, and Honey Heist (Lasers and Feelings hack). Running one-shots of Trophy Dark and Night Witches soon.

Haven't decided on a system for the next campaign, maybe Spire, Night's Black Agents (or other Gumshoe system), or one of the many excellent PbtA games.
Germany was the main push behind "burning wood = renewable energy"
I've heard good things about Savage Worlds but have no experience with it.
Plus something like C++20 and hot code reload (VC++ and Live++), make it quite easy to do so.
Even better IMO (although devolving into pseudo code):

pizza_base = {
crust: "thin",
sauce: "tomato",
cheese: "regular",
toppings: []
}

hawaiian_pizza = pizza_base {
toppings: ["ham", "pineapple"]
}

pepperoni_pizza = pizza_base {
toppings: ["pepperoni"]
}

def make_pizza(pizza):
requests.post(PIZZA_URL, pizza)
Unless you're poor…
TypeScript-Based URL Shortener
CPython and the Python design in general clearly show that writing clean code and optimizing later is significantly harder and take much more effort than keeping optimizations in mind from the start. It doesn't mean you need to write optimal code form day one, just that you need to be careful not to program yourself into a corner.
And install React-Router, Redux, set TypeScript
I had colleagues that went through École Polytechnique and the Corps de Mines (usually reserved to the top 2 graduates of a given graduating class of several grandes ecoles) that then went on to work for the government. And I think it's still mandatory to work a certain number of years in the administration after going through some of the grandes écoles, not sure if that was changed (I graduated in 2012 so it was a while ago).

Of course not everyone is graduating with a technical degree, but coming from Germany where top politicians often don't even have a finished university degree and high-ranked politicians are regularly found out to have been plagiarizing their PhD work it was pretty impressive to see a working elite system. It also has some negative aspects and nepotism is a thing as well (in the sense that people who went through the system know how to game it to get their children in with high probability) but it's much better than what we have here, in my opinion.

Germany was and still is scared of anything that can be considered elitist as people always associate it with the elitism from the Third Reich.
By your answer we can learn that:

1. you're german

2. you hate nuclear for ideological reasons
The grande école aristocracy in France isn't desirable either. It's a form of nepotism.