skysight-inc/HackerNews huggingface dataset:
The idea was that all countries could choose a timezone (which may be different to the current one), e.g. Spain could choose UTC, UTC+1 or UTC+2 (or indeed split into UTC-1, UTC and UTC+1 depending where), but it wouldn't be able to change in Oct + March

However the proposal seems to have stalled

Brexit hasn't helped, as the UK would certainly not do what the rest of Europe did, and that would lead to a time difference in Ireland, which would be bad.
Breaking VeraCrypt Containers
Nikola founder sells shares for $49m
> I do not excuse Richard Stallman’s remarks, nor do I challenge the actions of both the MIT Media Lab and the FSF for terminating his positions with them.

Well, you kind of are...
He's also been vilified, justifiably, by those who know him, too. He's an asshole, and his behavior doesn't require knowing him personally to observe.
Horrible people do horrible things. That is both unfair and unfortunate. I agree that horrible people are not unique to start ups, but unless completely bootstrapped even founders are beholden to someone. Even more unfortunate is that a founder owns a significant part of the company and so cannot be dismissed without some excessive reward.

Yet, that is the risk of being an early stage employee.
thanks for letting us know that you were a die-hard feminist, because I certainly only care about t-shirts and old labels, not actions here and now.

another supportive voice to let "hackers" go on with the culture of misogyny and discrimination, a front page hit!
"Finite" doesn't seem like a meaningful distinction here, if you're a kid at the limits of "production and stock" buying trading cards, you probably have a problem already?
Seems the old adage of "beware of blog posts bearing gifts" strikes again.

For blog post masquerading as a how-to on securing Postgres, the fact the article only fleetingly mentions the word "function" once is not cool.

One of the biggest things you can do for Postgres (or any database for that matter) is enforce the use of stored procedures ("functions" in PG-speak) rather than direct SQL queries.

SQL Injection attacks are common as muck. Stored procedures are a quick and easy way to mitigate them.

Stored procedures also have the added bonus of allowing the DBA to remain in control and ensure a higher quality of SQL query rather than upstream devs sending all manner of unoptimised SQL queries.
TDD does work quite well if you follow it. Why do you think it doesn’t work in practice?
I don't think RMS is a villain. I think he's a person who helped create a lot of what we appreciate today, but if he's missing the social skills to be a good representative of the open source / free software community, then it's time for him to step aside and leave it to others.

It's pretty clear that he's been willing to do whatever is necessary to further the cause of free software -- today, that would mean stepping away from the FSF and leaving it to doing the business of promoting free software rather than having to cover up for his mistakes.
> std::string is a good example

Yeah, so USE std::string in your classes, then no copy constructors written by you will be needed. If you find yourself heap-allocating things explicitly with "new", then you are almost certainly doing something wrong.
Discussed at the time: https://news.ycombinator.com/item?id=19249373
How is renaming poor? You can batch rename and a simple click on the file name allows for renaming. Last time I used Nautilus, you still had to activate file renaming with a keypress or from a menu and that had to be done in a moat window. Viewing properties in Finder is easily done with cmd-i or viewable in column mode.
Look buddy, your experience (having a bad time) with Linux seems to be quite frustrating, I couldn't find one positive comment about Linux from you in this post.

Maybe I'm very lucky with Linux, but I don't agree that it is as bad as you are saying.

I'm sorry for you, maybe you should stay with windows indeed. :/
To me the biggest one is not understanding and solving the actual problem that needs to be solved. Instead people will solve problems that the business doesn't have, or technical issues that doesn't exist. Or just some mildly related more fun problem instead.
Building an April Fools Joke Using Cloudflare Workers
Same, and Im running AMD Threadripper 3970x, 32gigs of RAM and an nVME. It takes almost 60 seconds to load.
I’ve seen that at the slots. People just staring.

what got me was I saw someone win, the sounds and light where amazing, but I think I was more excited than the winner.

If you play a lot maybe you get immune to the sensory overload that is a casino.

If you gamble the game I like to play is craps. It’s more social and a more fun way to loose your money.
"Murder" by its definition has to have intention in it.

Framing "the great leap forward" as murder qualifies as propaganda in my book.

It was indeed a horrible, human life neglecting catastrophic event, conducted by fanatic extremists imposing their ideology on others. Or rather a series of it. In effect manslaughter on mass scale - yes. But you cannot compare that in honesty to the holocaust - where with gas chambers the clear intention was to murder an entire race.

Such framing is not helping anything, definitely not with communication.

And about the list of chinas wars ... did you actually compare that to

https://en.m.wikipedia.org/wiki/Timeline_of_United_States_mi...

?
I got a System76 Darter Pro for work, preinstalled with Ubuntu. It worked perfectly. It booted directly into a graphical display manager. All drivers worked out of the box. Not sure what else there is to say here. That sounds like what you're after.

For reasons, I ended up installing Arch on the same laptop. It was your typical Arch experience, but I was able to get everything working, including fiddly stuffy like keyboard backlights, and monitor backlighting. Keyboard hardware controls all function. And this was with existing Arch packages. I didn't have to go hacking anywhere.

If I had to levy criticism, I'd say the preinstalled Linux options are at the same price point as Apple, and no where near Microsoft. Yeah, it's going to be harder to find an off-the-shelf $300 laptop with Linux preinstalled. I can say the same about a Mac too.
but why should they?
For example, you may have a rule that you need CI to pass to merge a branch to your trunk.

But maybe CI is slow and flaky, and a business test fails on a PR where you've only changed the README.

Sure, you can say "well, the rule is to only merge with green CI" and restart the failed job, but you can also think "well, I can merge this".

Maybe it's ok, maybe not, but I think you should trust your fellow developers with doing the right thing rather than berate them "you didn't follow the rules!"

Only a sith deals in absolutes.
Senior developers learn that everything is negotiable
While I can agree with some of the points made while gritting my teeth, the way this is written somehow puts me off.

It feels as though the author has taken an authoritive, slightly condescending stance towards his readers. The message it sends is that the author is out to invalidate his readers, judge them, not take their hand and teach them. I assume the intention was otherwise, but it is not presented as such.

It reeks of a junior with strong opinions rather than an old software jedi that intends to teach us the mastery of the art.
Compare with the Dart stream API: https://api.dart.dev/stable/2.12.2/dart-async/Stream-class.h...
Or if you prefer JavaScript, try qjscalc from QuickJS [1].

[1]: https://bellard.org/quickjs/
It’s free in the sense that there are projects where as long as you are operating an antenna feeding data, you get access to a feed of all data for free with the only restriction being you can’t compete by just restreaming the complete feed.
All I can say is I hope she enjoyed writing this pointless article as much as I enjoy my pointless walks.
Isn't Russia the only one that has tried that with ships?
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5079212/#sec4ti...
I lived in Australia for a year and very much enjoyed the walk to the bus stop each day. So many colorful birds, meeting people, everything was always interesting. Perhaps because I was in a different country, but gosh it was fun.
Those can at least hold value over time as you're buying something tangible that can be traded or sold. And I don't get the feeling that going to the local newsagent and buying a pack with your pocket money sets you up for the same kind of addiction that microtransactions and loot boxes can.

I don't really think that they're equivalent. If you were to make a Pokemon or Yu-Gi-Oh game that encouraged you to buy digital versions of those packs to make any progress in the game, then I think there would be a better comparison. The fact that those are online-only means that the house can essentially rig the game on the fly and engage in many more unscrupulous practices to keep you hooked. Made all the more easy by having a payment method directly linked.

It doesn't mean that physical CCGs have no addictive properties, of course.
What's this? Some sort of 98.css[0] type thing that mimics an oldskool browser's UI? Because the site is vague on what the UI elements are supposed to be for.

[0] hhttps://jdan.github.io/98.css/
Rivian’s charging map is wild, adventurous, and way less risky than TP’s
This is literally the first search result on DDG: https://www.usaspending.gov
> they are reporting this while he is still being just investigated and hasn't been charged yet smells a little too convenient

That’s what makes it investigative journalism. It’s one of the reasons journalism even exists.
I love how the Web freedom advocacy killed Flash and in the process made native mobile games the new center of indie games as the Web keeps failing to provide a mature alternative to Flash/Away3D.

Zero assurances that a WebGL page actually works, given the browser, OS, and possible list of black listed devices.

No debugging tools, SpectorJS is the only surviving one.

While WebGL 2.0 lags behind GL ES 3.2, WebGPU at least a decade away to even reach WebGL 1.0 market share.
We’re defining success wrong, and it’s hurting our happiness
Yeah. The T-Mobile G1 lacked multitouch gestures. You could hack them in though as the hardware supported it. I think it was a patent issue or someething which was why it was left out.
When they are going to tackle dopamine addiction from sites like Instagram or Facebook and how much productivity the country loses to that? Not to mention other health risks and problems. All that compounded by paltry taxes paid by these platforms further sucking energy out of everyone.
The link shows almost six orders of magnitude more energy per transaction.
I'm sure in smaller less populated countries that will work, but in denser, much much larger countries it won't. Think USA, Brazil, China, India, Russia....
Yep, I have one computer with black electrical tape over the blue LEDs, and another where I added a resistor in between the motherboard and the light.
Once you have two NATs, you can either try to punch holes (ZeroTier tries that), use UPnP (ZeroTier does - see below) or relay traffic using dedicated machines (ZeroTier does that as fallback). I successfully used ZeroTier to connect multiple devices behind NATs.

VPNCloud seems to only do UDP hole punching and doesn't have the ability to relay via a third party. At least in theory, ZeroTier should handle cases that VPNCloud doesn't.
> business- and team-focused (read: doing what they are told)

"Doing what they are told" strikes me as the antithesis of being business and team focused - particularly the former.

A non-business focused engineer is mindlessly implementing the solutions the business asks for, without taking the time to understand the problem, motivation or mental-model of the business.

A non-team focused engineer is narrowly implementing the tasks that end up assigned to them, with no interest in what the rest of the team is doing, and not engaging with the wider team to challenge and contribute to what they are doing.
Yes, NIMBYs
It “does actually seem to work” at my workplace.
In the Netherlands gyms have been closed for months and if you complain the excuse is ‘just go for a walk’. It’s not entirely optional if the only option for exercise is going for a walk or (adventure!) a bike ride.
Designing a New Windows Shell
WebGPU is at least a decade away from being available in a way that we can rely on it, they are still arguing what the shading language is supposed to look like at syntax level!

For any serious 3D that isn't displaying 3D renderings on a commerce shop, native is the way to go.
I have also seen the other extreme. Where people are overly paranoid about the app throwing any exception and try to capture everything that could possibly go wrong until the heat death of the universe. Handling every error somehow, often without understanding what is supposed to happen in this case. So you end up with things being in weird states and secondary effects for what would have just thrown a fairly easy to troubleshoot exception otherwise.
I agree with you. A month ago I found myself in a debate about the moral equivalency of the US empire vs CCP. My opponent seems to think that any form of power is equaly bad and that the goals and intent does not matter. Therefore, US and China are ''both equals''. I fail to understand how can this form on one-sidedness can come from...
Wait, are there people who don't use Kathmandu in their unit tests? It's virtually impossible to mix it up with anything else as it's 15 minutes off from an even hour.

This isn't so much to make sure your code is right, but to make sure your test is correct and not passing because you made some subtle error with time zones when writing the test that causes it to pass incorrectly.
Don't use build tags for integration tests
Even if you are aware of the why, you need something (wisdom, extensive experience, etc..) to be sure when to enter into confrontations whether or not a particular best practice should or should not be used.
Publicly reprimanding past, present and future colleagues in order to boost your own standing by setting goal posts may be a bit of red flag, for my money at least. Writing about specific issues, with examples, to teach a general-rule, ideally in a humble way, rather than setting goal-posts, would be more productive.
> What's this?

From the site:

> In February 2019, in celebration of the thirtieth anniversary of the development of WorldWideWeb, a group of developers and designers convened at CERN to rebuild the original browser within a contemporary browser, allowing users around the world to experience the rather humble origins of this transformative technology.
No,your skepticism is warranted and I'll back you up here. "Best Practice" is a common excuse I hear from juniors to justify cargo cult coding. The example of "testing" being evoked a "best practice" is strained. Testing is not a "best practice", it's a basic step in software design where you have accountability for results. It can be done wrong.
Article is behind a paywall for me. But is it consensus at this point that Trevor Milton is a charlatan?
This is why I use combination locks.
That's a bummer, still works on mine running android 10. But as we all know with phones, YMMV
That's not really a worry, it's relatively easy to tear down thermonuclear devices and then pitch the plutonium into the deepest part of the ocean.
Wouldn't it be great if Crypto was just a giant honey pot. With the intent of creating cyber criminals who think they can get rich with crypto money but instead just end up putting tons of effort into mining coins rather than doing other simpler crimes.

I think if half the effort spent here was spent learning finance, the bad actors would have more money.
Crypto energy use should be compared to that of capital markets trades if anything. No one is using crypto as a medium of exchange.
Illegal is the appropriate word when you're looking at something that's draining resources (electrical and human) in every major country and providing nothing of value in return. (I've made some nice money from crypto speculating, but that's not making the world better, that's just taking advantage of bigger fools.)

Proof of work systems, which by design compete on wasting resources, need to internationally outlawed.

If people want cryptocurrencies to keep going, they can get a move on finally fucking migrating to these alternatives systems they tell us are just around the corner. If none of the major networks are able to do so, they shouldn't exist.
I think we don't know. The term best practices is now so overused that it's lost its meaning and usefulness.

On a similar vein... whatever it is you're doing, it's an anti pattern.
I don't understand why those support agents for Microsoft just threw their hands up in the air and asked customers to go through some special process for reporting the bug in Excel. Why are they not empowered/able to report the issue on behalf of customers? It's so clearly a bug in Excel that even they are able to reproduce with 100% reliability.
So tired of these. Are founders really this dumb today that they are incapable of grasping trade offs when it comes to both people and platforms?
researchers also found that greater physical activity at the start of the study lessened APOE e4-related cognitive decline two years later by an average of 0.007 points.

So that sounds meaningless to me. Throw the numbers into the statistics machine I guess, but I bet a decline of 1.33 isn't meaningfully different than a decline of 1.323, even if you can confidently say you measured the difference.
Reminds me that the reasoning behind austerity came from an Excel calculation that didn't include all the relevant rows :~/

https://www.theguardian.com/politics/2013/apr/18/uncovered-e...

https://www.bbc.co.uk/news/magazine-22223190

https://theconversation.com/the-reinhart-rogoff-error-or-how...
I believe I read that he's moving to Austin, so Tesla could be a next step.
> I think this is a good thing provided it doesn’t take from people’s annual leave allowance.

I work at a place that, while not academia, is heavily linked to it via research, and so given that many of our external collaborators at educational institutions have a 'winter break', the company has been giving us between Christmas and New Year's off—in addition to our vacation time.

It's "ad hoc" in that the time off is not officially in any one's contracts, and is announced in Q4 sometime, but I've been here several years and everyone just expects it. Us IT folks do still need to be vigilant of alarms and such.

Vacation is nice, but if you do truly go offline, one tends to have to dig out of one's INBOX when getting back. If everyone is off at once, that's less of an ordeal.
For the first time, scientists find X-rays coming from Uranus
As somebody who has been creating or supporting websites for mathematicians for two decades that support running arbitrary code (e.g., Pari/Magma calculator, Sage notebook, Sage Cell server, CoCalc), this is very much the case. In fact, https://sagecell.sagemath.org/ finally had to be locked down much more in the last few days due to abuse by cryptominers.
I judge my Linux experience starting in Summer 1995, the year I got my first Linux distribution, Slackware 2.0, that makes a couple of years in experience.
Most likely nobody decided to have file:// access the network. Most likely, someone decided to make file:// the scheme for accessing files, and someone else decided to mount the network as a file.
If you want no misunderstandings, be explicit. This applies to YAML and life in general. There's an annoying but fairly accurate saying about assumptions that applies.

If you want something to be a specific type, you better have an explicit way of indicating that. If you say quotes will always indicate a string, great. Of course we know it's not that simple, since there are character sets to consider.

The safest answer is to do something like XML with DTDs. But that imposes a LOT of overhead. Naturally we hate that, so we make some "convention over configuration" choices. But eventually, we hit a point where the invisible magic bites us.

This is one case where tests would catch the problem, if those tests are thorough enough - explicitly testing every possibility or better yet, generative testing.
Small nit: you get wool from sheep, not cotton :). Otherwise, that’s really interesting and I didn’t know that was a thing!
Australia is fucking great. A shame about their draconian immigration VISA laws.
A Low Signal Detection of X‐Rays From Uranus [full paper]

https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2020JA02...
The saddest thing I ever saw with my own two eyes was at a blackjack table in a smaller, rural casino. I was at a table with my sister and we were playing $5 and $10 rounds.

A man walked in with a duffel bag on his shoulder. It was a chilly day outside but he was in just jeans and a T-shirt. He walked up to the table, pulled a $100 bill out of an envelope, and put it on the table for a cash play.

Busted. -$100.

He pulled out another bill and played another round.

17, dealer had 20. -$100.

Third and final bill.

20. Dealer blackjack.

He didn't say a word, or show dismay, or really have any expression at all. Just slung his bag back over his shoulder and walked out.
There should be a rule 0: work, don't talk.

Usually when people are focused on working and working together fast, the converge on pragmatic efficient solutions.

Of course 'together' is subtle here ..
> He takes everything literally and doesn’t necessarily take feelings and the reactions of others into account when making statements that are outside the bounds of his expertise in free software.

But he is not dumb. He could take those feelings into account, if it's not possible by being emphatic then by using rational deduction or simply by taking the advice of people who are emphatic and tell him "don't do this".

If I could learn that so could he. If he doesn't want to learn that it just means he doesn't care how his actions affect other people. That means he's an asshole (if not something worse).

Being an asshole is also not a problem per se. But then you have to accept how people react to you (again, this is also rationally comprehendable even for people lacking empathy).

But it also means if you are in a PR position where you need allies for advancing the cause you're fighting for then you are not a good fit for this position.

Alienating possible allies is the worst you can do in a PR position.
Concurred that it is consensus. Though there is a bit of chicanery going on as well.
> The only way this discovery would help the hacker, is if they intended to force a security audit of the karma system and/or the move to GitHub.

I agree. Of course I can't be sure of anything here, but to me this commit seems suggestive that there's other injected code somewhere since mid 2017.

You also make a good point on attribution. I had considered that too and if not wanting to take credit could tell us anything about the author.

For example say you were an intelligence agency that knew about this access and knew it was being used by an enemy. Perhaps you couldn't let php know about the vulnerability without exposing that you had access to other data allowing you to know about it. Creating this commit could be a way to share knowledge without it being known where/how it was found.

Of course that's all wild speculation.
My dear, maybe you should stop assuming you know anything about the experience of others.
I’m not OP and do not want to state whether TDD works or not, but in my experience it would increase development work significantly on apps which have complicated state machines as their business logic. It would probably end up being less work overall, when we factor in all the bug fixing work, that would happen after such an app would’ve been released without TDD.