skysight-inc/HackerNews huggingface dataset:
Even if upgraded, its is so flawed that it is practically universally replaced anyways.

There are two severe issues which must be addressed for it to be saved. First, the type should be float, not int. The former has an intuitive precision, while the latter does not. Not to mention the sign issues. It is very rare to see a timestamp int which is not used as a kind of fixed point float somewhere in practice, but doing so manually gives rise to endless bugs. float on the other hand, can always be in second, which is much more intuitive, and means the downstream apps fix if precision changes is much easier to get right. For these reasons, upgrading to float64 would be substantially better than upgrading to int64, while being better for most use cases, almost always as fast, and require less thought in downstream.

However, I think we can do even better. Int64 is also too small, as the common nanosecond clocks would only give a century of range, which requires adjusting pretty much every algorithm, even if it only ever deals with a few times. And of course, if I dont care about precession, I want the floating point to deal with it for me.

It almost always makes sense to use a time precision exceeding the most common clock with which it will be used, and with a range covering the most common use cases. Most regular cpus give nanosecond precision, but then float64 would only give a few years of range exactly, which is a bit too short for many applications which want exact precision, and use the standard 1973 start. The long awaited float128 however, would be sufficient for billions of years at pico precision, while maintaining low memory and compute costs. Notably cheaper than int32 was originally. float128 simply makes for a fantastic timestamp format for almost every application. Its extremely convenient compared to the clunky std::chrono, works in C and interop, and is very simple to use.

The only downside is that compiler support, while getting better, remains bad.
No. I have chosen the big city (Bogotá, Colombia) and neighbourhood I want to live independently from any employer, so there is no reason to change just because of remote work. For the time being I can't imagine myself living on the countryside or even suburbs.

As my live situation changes over time I will continuously revise my/our priorities and thus place to live, but for now I'm happy where I am.

So the permanent home wont change for a while likely, but unlike pre-pandemic I spend days or weeks at the time on the countryside working from there and from some point on next year I want to spent more time, couple months per year, back in Europe to be closer with family/friends and some aspects of European culture I miss. New work policies definitely make this plan easier. But if I'm committed I would find a way to do this pandemic changes or not.
But it's infinitely pseudonymous, and can be easily piped into more obscure systems.
Its safer to assume all life is conscious than the common assumption that we are somehow special in that regard.
Size of the country is also something to consider. Population of the whole Estonia is fewer than population of a single city in other country. Area of the Estonia is also minuscule.

What works for a tiny state isn't always appropriate for a big state.
Absolutely no... The book is not user friendly for new learners. It's good, but not for beginners. BTW It's 600 pages!
Interesting. So if you want to have some kind of legal protection over your domain, the best bet is buying a .cc domain (from the country you currently live in, I suppose) but no chance when buying a .com, .org domain, right?
If you’re asking about listing a 90% confidence interval guess as to what you expect to pay for a new position: no problem at all (other than if a small market leads alone which might push employers to decide “the benefit/risk of listing this job in Colorado is not worth the research, compliance costs, and uncertainty, so we’ll advertise this job to the other 98.5% of the US”)

If you’re asking about listing individual salaries, I think some employees would object and, unless they signed onto the job with that expectation, as an employer I don’t believe I’m morally right to publish their currently private information without their consent, nor tell them “you can quit if you don’t like it”. (I have absolutely no problem with anyone voluntarily disclosing their own information, discussing it, comparing it, whatever.)
1. Replacing a massive problem with a much smaller problem is significant forward progress. We're replacing gigatonnes of annual CO2 causing an existential crisis with kilotonnes of inert industrial waste.

2. Why do you insist that panels and blades have to be recycled when approximately nothing else is?

3. The recyclability of turbine blades and solar panels is a problem being worked on. They are recyclable, just not economically so. If or when somebody solves the economics problem of recycling, then it'll be solved for blades and panels. If we insist on requiring recycling for blades and panels but nothing else then you are perpetuating obstructionism.

4. https://www.reuters.com/business/sustainable-business/end-wi...
Matrix is crap, though, and doesn't solve any new problems.
I am strongly considering Manhattan. The cost of living is similar to SF but the urban amenities and energy are on a whole other level.

However it’s a bit daunting to get an office or an extra bedroom there at my own expense. I’m not sure I’m up for working from my living room or bedroom.
You aren't required to get car insurance for your benefit, you are required to get insurance to pay off the people you hit. Look at areas with low insurance rates (like Philadelphia) and tell me that's the situation you want.

Meanwhile, title insurance isn't legally required. It's required by your mortgage company to protect their money.
Interesting can you list all the actual nuclear subsidies and the money set aside for plant decommissioning or are you just repeating something you read somewhere? Including those related to nuclear weapons production via state owned nuclear reactors.
I have considered it and can imagine myself moving for short bursts to different parts of the country. I have cats, so I can't go full nomad and don't want to uproot them too much, but I can totally imagine moving between a couple of locations 1-2 times a year if my partner and I felt like it. It just feels so freeing to have the option, even if I don't end up doing it.
How does cortex-m v0.6.7 manage to depend on cortex-m v0.7.3?
It also probably had interesting internal politics. OSM data can be also used by competitors and it kind of admits that Bing Maps right now cannot compete with Google Maps at all. To the point that improving open data available to all is better.

I really need to link https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/

> most of the companies spending big money to develop open source software are doing it because it’s a good business strategy for them, not because they suddenly stopped believing in capitalism and fell in love with freedom-as-in-speech.

and explains why it makes sense.

See also a bit broader https://www.gwern.net/Complement
> such an impactful and rewarding feat is rather achievable, it only costs $10 and almost everyone can afford it.

There are a ton of problems bundled up in this sentence, but I'm not sure I have time to unpack all of them.

But this is not an attitude that I think a game designer should ever have. I don't think we should be building experiences that boil down to teaching players that spending money is the equivalent of overcoming a challenge, I think players should be extremely suspicious of any game or experience that has that attitude towards challenge. Spending money is not the same thing as achieving something or earning a reward, I think it's really bad for us to encourage that kind of equivalency in a player's mind.
KeePass is open source. Who would pay?
Idk. the way I read it:

de-westernization == removal of (modern) western researchers from the topic

Internationalization == adding researchers of many/all nations

Also I'm not so sure about the premise of "says a lot that a non-European archeologist had to do the field work on this site to start to convince the world".

EDIT: I'm also not saying it's not a problem.

I'm pretty sure I have seen "western" docus years ago which point out this problem (in general not necessary specific to that case).
> Do you think employers coercing employees into accepting conditions below what they should normally get is not a thing that happens?

We're not talking about coercion. Concealing the wages of other people in the organization is not coercion.

> You might think, “well, the employees should just get a different job then!”. But don't we want to fix the underlying problem instead of just churning our way through countless jobs?

No, we don't. The way we fix the problem is by choosing with whom we do business. "countless jobs" is a straw man.
Honestly I'm not sure, in ten years Berlin timezone could not exist anymore, in your example you need a special time representation that says "this time in local time, whatever local time will mean in the future". I'm not sure we have that in current date time representation standards, do we? you could still save tz-unaware local time and a location, and figure out in the future what local time means at that point of time and space.
I moved to a cheaper, more remote area. But as a single person, I feel more isolated here and I'm now considering moving again. I don't want to start paying silly money to live close to work again, though (nor do I want to commute).
A Clojure Look at the Problem
Ask HN: Limited opportunities are killing my career
Hello,

I am software developer living in a third world country, specifically in Nairobi, Kenya. I have passed a number of technical interviews without having to struggle so much which makes me believe I am a competent developer. My primary development languages are C/C++ and Python. It is quite possible I am highly skilled in these.

The problem is the lack of opportunities in these lands might be slowly killing my career. Since participating in GSoC in 2014 and 2016, I have not worked on any major project. The projects available through freelancing platforms like Upwork are generally very low quality and most of the clients are terrible.

I would like to know how any of you guys would cope with a situation like this? How do I open myself up to more opportunities? Tips and tricks that I might not have already figured out by now.
You can use local heavies to protect yourself from bullies. That doesn't mean those heavies won't commit crimes in their spare time.
Coal power’s sharp rebound is taking it to a new record in 2021
Years ago I wrote and contributed a backend to graphviz that output MetaPost (I just had a look and don't see it in the source anymore). It was very easy; I found another backend and made a few tweaks. Perhaps you might have a look?
> I suspect the experience varies pretty widely based on what languages you use and what you’re trying to do with it.

I second GP's assessment that Bazel is pretty developer-hostile if you are not Google or have Google's resources to maintain Google's build systems.

Case in point: get Bazel to consume system libraries or vended/third-party dependencies in a C++ project. This is a pretty basic usecase, but it was left as an afterthought in Bazel, and it's an uphill battle just to get Bazel to work with them.

I don't doubt that Bazel can be usable if your entire world is locked tight in repos you control and were all forced to migrate to Bazel. It's the same thing with GYP, another developer-hostile build system spawned there. However, that is not how the world outside of Google works.

The only way I see Bazel become relevant and usable for non-Google/FANG-size orgs is if a higher level build system like CMake supports generating Bazel code, so that all these shortcomings are brushed under the proverbial rug. However, if we get to that, are we really using Bazel, or is Bazel relegated to an implementation detail?
Is there something wrong in particular for using built-in fixed-point types for timestamps?

Yes, overflow/underflow issues and yada yada, but virtually every type can be mised in its own way.
But the momentum behind gradual typing in Ruby is much greater due to the input from Stripe and Shopify.
I moved from Sydney, Australia to France (same company, different team) - has been hard adjusting to a new culture and new team at the same time, but now I've got access to interviewing with companies on this side of the world, which is nice.
Well, yes. If you're not willing to lose 100% of your investment to any security hole that may be discovered anywhere in the entire stack of software running on any machine from which you access your crypto account, you shouldn't invest in crypto.
No, still not unjust. The employee opts in to that job anew each time they show up for work.

To work at a job is to actively consent to that job.
>"The West needs to realize: China does not uphold its own treaties"

"The West" had long realized that the might makes right. Once country has achieve certain level of power the only thing that makes those to adhere to some treaty is their mutual willingness. If country does not see any it can and will ignore it. There is no abstract enforcer up above that can make parties of that level stick to the agreement.
However enabling iCloud on a device via the standard Apple OOBE flows enables iCloud Backup which leaks ~everything on your device to Apple.

I'm talking about iCloud, not HomeKit.
Yes this exactly. I would rather spend my time building cool new features than take on the burden of building and maintaining some over-engineered system to ensure that the card limit cannot be gamed in any way (which is probably impossible anyways)
Would it be possible to share the macro for highlighting topic sentences? I'd love to try that out on a recent draft I'm working on.
Three and EE to provide 4G across London Underground
Russia to Require Netflix to Stream State Television Broadcasts
All true. I learned about topic sentences only recently, I wish I'd heard of them years ago!

I'll add something else I have realised:

Your Gantt chart is not for you.

I hate Gantt charts - they're out of date the second they're created; they take too long to update; there's very little decent free software for them that everyone uses; etc etc.

But your supervisor will probably want to see one. Or your funder, or examiners, and so on.

That's the point: sometimes you just gotta transform information into the format that's expected. From your perspective it may be easier to say "I've completed task X but task Y will drag on for another two weeks" than it is to update a spreadsheet and render a Gantt chart, attach it to an email and stick it in a shared drive. But from the supervisor/funder/examiner perspective, they need a way to very rapidly assimilate complex detail and spot problems.

A lot of academia is about clear communication of complex material. Your supervisor probably has several students, as well multiple projects of their own, teaching duties, management duties, and so on. Your Gantt chart is for them, not for you!

Simple and obvious in hindsight, but it really helps me put aside the grinding resentment I feel whenever it comes to updating a Gantt chart :)
Re: latency, a story... The landlords for a house I lived in once had installed some German European-style electric rads which contained a pile of ceramic bricks. They were far more efficient than regular electric baseboards for obvious reasons. The problem was they just weren't up to the job of handling a Canadian winter. Not because they couldn't keep the house warm enough but because we are prone to extreme temperature swings. From +16C to -20C in 24H is entirely conceivable and happened one winter while we were there. We froze for hours while waiting for the bricks to heat.

The conclusion I came to is that heating systems like this with huge buffering capacity make sense for western Europe where weather systems are relatively stable. But continental climates swing too quickly.
I didn’t permanently move, but took advantage of WFH to spend 9 month closer to family in Eastern WA/Idaho.

I’m not going to lie, it was a pretty eye opening experience going from the Bay Area to a small town. The pace was more calm and I realized I could still get access to 80% of what I had in the Bay Area. Walking by the lake and having people say “good evening” was a nice change. Being able to drive 10 min and be in the middle of nature was great.

I eventually returned to SF, and I’m not sure right now in my life is a good time for a permanent move, but it certainly had its appeal.

I feel like a mid-sized town - has most amenities, some places to splurge and access to an airport would be ideal - the best trade off between what SF offers and what smaller towns offer.

I think the problem is the travel disruption has reall LT thrown things off. If I were to be stuck for 12 months in one place, I’d take SF (or another big city). If I knew I could easily jump on a cheap flight, the smaller cities start to seem much more appealing.
I test for these things when building open source software.

• 64-bit compiles and applications have a 64-bit time_t in Linux. If your distro and binaries are 64-bit, there isn’t a problem.

• 32-bit compiles and applications still have a 32-bit time_t in mainstream Linux libraries, so that old binaries still run. The timestamp is a rolling one; once Y2038 is hit, the timestamp will be a negative one, but one which is updated and is off by 136 years. The workaround is code like this (this is real production code in my Lua fork, Lunacy[1]):

time_t t;
int64_t tt;
if (lua_isnoneornil(L, 1)) /* called without args? */
t = time(NULL); /* get current time */
else {
// Lunacy only supports getting the current time
lua_pushnil(L);
return 1;
}
if(t < -1) {
tt = (int64_t)t + 4294967296ULL;
} else {
tt = (int64_t)t;
}
if (t == (time_t)(-1))
lua_pushnil(L);
else
lua_pushnumber(L, (lua_Number)tt);
return 1;

This gives us accurate timestamps until 2106. If post 2106 compatibility is needed, we can add 2 ^ 32 again for timestamps with a positive value once the Y2038 rollover happens.

• Legacy 32-bit Windows applications using the Posix compatibility layer are not Y2038 compliant. Once Y2038 hits us, the timestamp will always return -1 (in Windows XP, the behavior was to return a number off by 136 years, but this changed in Windows 10). The workaround is to use Windows’ proprietary API for post-Y2038 timestamps. Again, from Lunacy which has a Win32 port:

/* Convert Windows "filetime" in to Lua number */
uint64_t t;
FILETIME win_time = { 0, 0 };
GetSystemTimeAsFileTime(&win_time);
t = win_time.dwHighDateTime & 0xffffffff;
t <<= 32;
t |= (win_time.dwLowDateTime & 0xffffffff);
t /= 10000000;
t -= 11644473600LL;
lua_pushnumber(L, (lua_Number)t);
return 1;

Now, last time I researched this, there wasn’t a “int64_t time_64bit()” style system call in the Linux API so that newly compiled 32-bit binaries can be Y2038 compliant without breaking the ABI by using “time_64bit()” instead of “time()”. This was based on some digging around Stackoverflow just last year, and simple Google searches are still not returning pages saying, in big bold letters “-D_TIME_BITS=64 when building 32-bit apps”.

https://sourceware.org/glibc/wiki/Y2038ProofnessDesign talks about 64-bit support on 32-bit systems as if it’s a future pipe dream, but apparently -D_TIME_BITS=64 works right now.

[1] https://github.com/samboy/lunacy

[2] https://en.wikipedia.org/wiki/Time_in_Indiana

[3] To ruin a classic sadistic interview question for sys admin roles, Linux these days returns both the modification time and the mostly useless “status change” timestamp. Facebook once decided to not move forward because I said that file timestamp was “modification time” and not “status change”; if Facebook is still asking that question, their knowledge is out of date.
I have. The Home Assistant iOS mobile app has embedded spyware.
Couldn't be more timely
Unfortunately, from 2000 to 2019 the world population went up over 25% so there are many more mouths to feed and more demand on electricity.
You are not alone. Especially when it is used in contexts that do not fit its overly enthusiastic upbeat mood the results range from slightly comical to deeply unsettling. Still, in my opinion it is really good from a technical point of view.
Well, why shouldn't people who already use insecure software with vulnerabilities (LastPass) without the possibility to even audit the code also run some code written by other people they don't know?
Decentralization is the way forward
I wrote an image color matching algorithm in Rust
It depends on your target architecture.
For example, embedded development on ARM with stable Rust has been possible since 2018 (Rust 1.31)
I moved from DC to Vermont about 15 years ago. I lost the job I had when I first moved when they eliminated remote work and I refused to move back, and for a while I struggled a bit to find remote work. Ultimately I found a local job which I love and I loved walking in to work every day in all weather, about 2.5 miles. Then COVID struck and the company went remote and has decided to stay remote. As it grows its workforce is ever more dispersed (we intend to stop growing in the near future to preserve the character of the company). I have never regretted my decision. I make much more use of the opportunities the country provides than I did of the opportunities in the city. Also, the rest of the members of my immediate family, and much of my extended family, have made the same decision, so I now live closer to them.
Wait, if you think it’s not correct you must have a source for that. What’s your numbers and where did you get them?
Systems engineering is the discipline that got us to the moon, and builds advanced technology like military hardware.

For other large scale software projects, I think they tend to use enterprise software architecture patterns like service-oriented architecture (basically microservices) and ESB (basically kafka).
I've thought about it but I end up discarding the idea because even if I move, if I want to get another job I'd have to move back to increase my chances to get another job, due to the way the job market works here.
I did this move right when the boosters were rolling out and got a relatively good deal on a two bedroom apartment near midtown. It was the best choice I’ve ever made! I never felt like I belonged in SF, but in New York you can be who you want to be.
Scientific American has a high res version of olaus Magnus carta marina, so you can see all those pesky (sea) monsters up close ;)
Pre-covid I bounced but also set myself up to have relatively stable home bases. This includes resident visas in countries that do not require me to spend a lot of time in those specific countries and international real estate.

At the moment I am mostly stationary but I still have projects and/or goals in at least 4 different countries.
Every version of Mission Hill except the pirated one has the wrong goddamned music!
"Heat pump" typically refers to a refrigeration cycle unit that uses a working fluid to transfer heat from a cold body to a hot body. An air conditioner uses this mechanism to heat the outside of the home (cooling the inside).

Technically electricity is not required, although most of these units, in practice, use electricity, converted to mechanical energy, to power compressors.

Heat pumps are much more efficient than e.g. electric baseboard heating because the energy consumed is used to move heat, rather than to generate heat. The efficiency difference drops in "very" cold climates (ambient temperatures well below freezing) and in those climates the heat pump usually is backed up by a direct heating method such as resistance electric heating, gas furnace, et cetera.
Just looked up Prusa i3 MK3S+. I’d love for such a easy to use CNC setup that can make simple wood design projects. Anyone know any good ones?
Cleaning the glass bottles out and re-using them.
As long as it's not the only idea..