skysight-inc/HackerNews huggingface dataset:
The gold standard for avoiding ambiguity is to normalise to a format with month names: so for a US-centric thing, you’d normalise “06/09/2021” to “June 9, 2021”, and for the rest of the world, you’d normalise it to “6 September 2021” or a similar format. This is one way of clearly describing what you’re doing. But if you’re definitely doing numeric dates, then you need to label it to at least minimise the scope for confusion, like writing “DD/MM/YYYY” above or below it. (Another option, shown by the OP, is splitting day, month and year into separate text boxes. I have mixed feelings about that technique, as it suffers from expectation issues: if you shift focus automatically as you type, you’ll upset some users, and if you don’t you’ll surprise other users.)

As an example of doing all this well in practice, I like how snoozing an email in Fastmail for a custom period of time works. You get a little popup with a date text box and a time text box on one row, then below it a couple of renderings of the date and time it’ll snooze until, and the Save button on the right of that. If I type “tuesday” into the date text box (which it interprets as “next Tuesday” since it needs a future time), the two lines below change to “Tue 25 May 8:00 AM” / “In 3 days 9 hours”, and when I then blur the text box, its value is normalised to “25/05/2021”. (I also feel like mentioning that when the date is in this normalised format and there is no selection, the Up and Down keys work as you might desire, wherever your cursor is in the date field, increasing or decreasing the date by a day, month or year, and keeping the cursor in the same position. nmjenkins does a thorough job on this sort of interaction design, he was a pleasure to work with when I was at Fastmail for a few years.)

(This is all proper-endian dates because I have Fastmail in the British English locale. If it was in American English, it’d have normalised to the middle-endian abomination that is “05/25/2021”, and the first description line might have been similarly ordered differently, though I haven’t confirmed that one.)

Of course, the types of values you should accept will vary by the semantics of the date. If you’re asking someone for their date of birth, parsing “tuesday” is probably not useful or helpful!
I like Tailwind so much. I wonder if there is a checklist of CSS things for common components such as buttons so that I can just follow that and get everything done with Tailwind without thinking much.
Yes, if you are a local US newspaper.
All the C-like languages (probably Rust is the best modern example). Filled with random characters that means bunch of different stuff, instead of just having a lisp-like structure where most things are just normal function calls. Making conditions a separate syntax instead of just a function will never make sense to me.
I don't understand why the first operations of a CNN are FFT-based decomposition into spatial wavelets. This is basically all the first layers are doing anyways. In fact the filters usually learn both an edge and a centroid at a given orientation. You can get both at the same time with complex wavelets.
Picking a CPU is not just about the CPU architecture. It is mainly about the ecosystem around that processor. ARM has a huge amount of IP, bus fabrics, compilers, operating systems, boot loaders, and people you can hire with knowledge of all of that. There are far more people out there with ARM experience than SPARC. I don't really see anybody interested in POWER outside of IBM and the chips they sell.
I’ve seen this more times than I can count…

A lot of people think of CSS as if it’s not code itself. Modularize it and create patterns like you would for any other piece of code(ie. react components), and it becomes fairly straight-forward to do things that would normally take 100+ lines of code in JS, in just a fraction of the time and code.
Do you remember the posts about people dropping dead in the streets, people skin turning black, or massive cement mixers "disinfecting" streets? There was plenty of fake news going around.
Yeah, my current car came new from the factory with no radio. Every few years I upgrade the electronics like it was a B-52. It's...nice.
Data scientists are too comfortable with R, while software engineers won't touch it with a ten foot pole. So to move forward in the career you allude to, definitely use Python in your current role as much as possible, and push yourself with engineering-like tasks/skills (e.g. volunteer to work on that CI/CD pipeline, don't just use numpy but understand how it writes to memory, etc.).
Well Tesla does it and their customers love waiting hours for software updates (I'm not being sarcastic, this is literally what we found through benchmarking)

I kept pleading that we don't have the marketing that Tesla has, our customers don't want to think about updates. Not to mention OTA costs money. Tesla can do it because they are sinking money and only have a few hundred thousand cars. My company sells millions of cars per year, OTA is significantly more expensive.

I'm not saying my company does OTA often, but the word Tesla cones up more often than it should.
From a well-to-wheels standpoint, EVs are barely more efficient when you take into account power generation, transmission, and storage losses.

Obviously, we want our EVs powered from renewable energy. In that case, unless we go nuclear, in my opinion energy will become that much more expensive that using it to transport ourselves in massive, heavy wheeled metal boxes will be out of the question.

I'm sure you'll object to this, so I'll start by pointing out that most of our "renewable" energy sources are made in China using brown coal and awful working conditions.
The 9.9 Percent Is the New American Aristocracy (2018)
Bitcoin averaged 300% returns YoY the past decade (most other crypto followed to a degree, or did similar or better - with some doing worse).

Anyone looking for a trading strategy, automated or not, needs to consistently beat such numbers to do anything other than lose money versus just buying and holding.

Given prior (lack of) success in every other market this kind of thing has been attempted, makes this a hugely tall-order. The most successful quant firms all average well under 100% returns, even with years of experience, armies of experts, and loads of investment in assets and infrastructure.

Buying and holding crypto already outdoes them (massively). Why take on greater risk and spend time to try and get yet more out of such a market?
So what are the full implications of that? I hate FISA too, but most non-EU countries have FISA-like structures in place as far as I know.

Sublime Text 4 just came out. That's based in Australia, where courts have similar data access, including the ability to require companies to circumvent encryption. Part of the purchasing process requires providing an email and other billing information.

Is it legal to sell Sublime Text 4 to a European? If Sublime Text was based in the US, would it be legal to sell it to a European citizen? What you're implying is that the EU can't legally have access to the majority of US-based Internet services, and that just seems so extreme that I feel like I wouldn't be hearing about it on Hackernews if that was the case.

But I don't know, I can't really confidently say you're wrong. Maybe it's just been under-covered, or I'm just not paying attention to the right news sources. At the very least, this can't apply to business-necessary information, right? Otherwise, it seems like you're saying that EU data in general can't be legally exported from the EU to most of the world, which seems like it would be a massive problem for the majority of the software industry.

There are a lot of software services based in countries with intrusive government data access: Fastmail (Australia), DuckDuckGo (US), Github (US), Itch.io (US). You're claiming EU residents don't legally have access to them? Again, I don't have any basis to argue that you're wrong, it's just... why wouldn't that be covered on basically every single tech blog if that was the case?
Russia to sell Soyuz space module
Translating humor often requires a license with the source material that isn’t present in adventure or technical translations - a perfect example would be Asterix and Obelix, where so many of the names are puns that have to be translated- do you preserve the literal meaning and lose the joke or do you preserve the joke and lose the literal meaning?
> There's empirical evidence, loads of it, that this simply isn't true.

Source?

> unlike every other modern language, it allows identifier shadowing

1. All dynamically typed languages allow this, all/most REPLs even for statically typed languages allow this, even if regular code doesn't.

2. This is not syntax, at all, this is semantics of immutable value declaration+initialization.

> but if dozens of identifiers are littered across a huge function it can be a challenge to keep track of which one is which

Littering dozens of identifiers across huge functions is going to be a problem, no matter the syntax. It's a programmer's job to manage complexity by utilizing various kinds of techniques, including syntactic sugar (true), but also factoring the code into manageable chunks, using higher-level or better suited for the task at hand abstractions, and so on. Syntax on its own is, in my experience, the least impactful technique for managing complexity, at least before going into DSL-land (but then it's syntax+semantics).

Another thing worth mentioning is that lots of general-purpose languages give you exactly the same constructs, just spelled differently. Simple examples:

for (x : list) { ... }
foreach (x; list) { ... }
for x <- list do ... end
for x in list: ...
for my $x (@list) { ... }
for x := list { ... }
list each(x, ...)
list each: [ :x | ...]
(loop for x in list do ...)
(for [x list] ...)

All the above denote exactly the same construct, with very little variation in the number of tokens. Can you tell me if you think one of them is better than the others - and if so, why?
Right, but this applies to job postings. Current employees don’t require any additional work as they’re already hired.
I did it, it was fun but made some problems with/for people working full time
Pigs Are Hotter Than Bitcoin
Latency. Latency. Latency!

It's hard to measure, so nobody does.

Throughput is easy to measure, so everybody does.

Latency is hard to buy, so few people try.

Throughput is easy to buy, so everybody does.

Latency is what matters to every user.

Throughput matters only to a few people.

Turn on SR-IOV. Disable ACPI C-states. Stop tunnelling internal traffic through virtual firewalls. Use binary protocols instead of JSON over HTTPS.

I've seen just those alone improve end-user experience tenfold.
My curent company shares an email about open promotional opportunities every 6 months. I am continously amazon how on hackernews expecting basic decensy from corporates is a 'terrible burden'
New Opportunities for Space Companies – Casey Handmer's Blog
At some point you still need to make someone responsible for disposal. And they may act improperly whatever the economic model adopted. Ultimately we need well run countries with laws and enforcement. And a culture that supports that.
Tell that to my hemorrhoids that make me cry -and what‘s with making it pleasurable to stick stuff inside this dirtiest part of our body???

Evolution sucks.
Buying a car or riding a bike isn't a choice. It's something forced upon residents by the local zoning plan.
You mean, sue an employer in another state who doesn't want to be subject to Colorado laws? Good luck with that. When CA passed AB5, lots of employers refused to hire people in CA because they didn't want to be subject to AB 5. This is how it works, employers choose whether the hassle of dealing with the state's regulations is worth the benefit of hiring employees in that state.
I haven't heard of batteries dying on old EVs being a problem. Usually battery pack replacement is due to faulty cells from production, which manifests during the warranty period most of the time. I know degradation was a problem with old Nissan Leafs, since they had no proper cooling, compounded by the fact that they started with a tiny battery to begin with. I've heard of replacements being done there, but a lot are still driving around with the original battery 10 years later.

I'm pretty sure we could still use our EV for daily driving with 70% degradation (of 30kWh), since we can charge in our garage. Probably more reliable than an old ICE car too.

The bigger the original battery, the higher the degradation can be tolerated without the car being useless. So the problem will decrease over time. There is also a big focus on long-lasting batteries in battery R&D for EVs. Ref Teslas million mile battery/drivetrain.

Some EVs also make it possible to replace individual cells or submodules of the battery. Though I haven't heard of that being done in the real world yet.

Remember that if you DO replace the battery, you can get a car that's pretty much as good as new with regards to the drivetrain. The inverter and motor is likely to outlast the car anyway. It may even be better than new, in terms of range, if the replacement battery has a higher capacity, which could be possible if replacements are made with a next-generation battery technology.
> I am very, very bad with CSS and can't wrap my head around it, but tailwind allowed me to create a very pretty, responsive homepage

Congrats, you now know CSS! It sounds like I'm joking but honestly, Tailwind is essentially composable shorthand for CSS with a design system applied. If you grok Tailwind, you understand the concepts of CSS, you just might not know the full names for all the properties and values.
US inflation, the elephant in the room (2019)
Narcissism is associated with entrepreneurial intention but not business success
It's a matter of resources.

Animal testing has found hundreds of vaccines against HIV that work in primates, but none of them have worked in humans.

How is that a useful thing to spend time on? You have a model, and it's proven that your model doesn't work: I would expect you to throw away the model.

You could spend those excellent researchers and science budget on anything else, and expect better results.

(I get that all drugs have been tested on animals out of legislative requirement, but I hope it's clear we are talking about using animal models for de novo drug discovery).

For a business-oriented forum, I find it hard to understand why people see this as valuable.
This is like saying an alternative to learning how to cook is to sustain yourself on takeaway.

Tailwind might be nice, but most projects will require in-depth knowledge about CSS.
If they haven't already they should make a leaderboard for tool-assisted, even entirely tool-generated runs.

Building a near-optimal solver for a problem like that would be a really impressive feat by itself. It could perhaps be used as coursework in areas like planning or finite element analysis, maybe even spark some novel research.

I love a good cheat, especially when it shows as much ingenuity, effort and elegance as doing it properly. If it weren't for the obvious health risk to the athletes, I would have proposed an entire sports leagues where pharmaceutical companies can duke it out with novel performance enhancing drugs.
The original Apple I / II before the Macintosh used the MOS 6502 processor.
LOL. What? If other states do this, then employers will just have to comply. The only problem right now is that CO is kind of by itself.

If a company is going to outsource they were going to do it anyways.
Well, you wouldn't be sued because you banned hiring from the neighborhood. You would be sued for discriminating against a protected class under a paper thin veil of banning a location.
Hydrovolt is establishing a ((...)) battery recycling hub in Norway, laying the foundations for a circular supply chain for electric car batteries in Europe.

https://hydrovolt.com/
Keeping your car much longer is actually a good idea : the more you keep it the less likely you'll buy another one. Not buying a car looks like the best solution to me.
Mobile games are indeed 90% crap cash grabs and dark patterns. But given the absolutely immense amount of mobile games available today, those 10 remaining percent still contains an insane amount of good games.
Why? I totally understood it. Then again, I have a background in chemistry, HPLC-MS, NMR, AA, FTIR, so I'm used to the idea of "breaking a mixture into orthogonal components."
Yeah, they should sue the state of Colorado. Or just leave and go to another state.
It looks like a squeezable honey bottle that can prolapse (not what I expected to write on HN today).
Insightful to see DigitalOcean as the example company here.
KELM: Integrating Knowledge Graphs with Language Model Pre-Training Corpora
I feel like they fumbled the ball a bit. Vscode was flailing for a long time before I finally switched away from sublime text. Sublime text had ample time to move the needle on the problems they had for years and ignored.

I don't think I could go back at this point, there isn't any real drawbacks staying with vscode and it's more likely to work with my companies processes.
Does anyone know of a quick & easy PowerShell script I can run on Windows servers to disable Spectre mitigations?

The last time I looked I found a lot of waffle but no simple way I can just turn that stuff off...
I would find that highly likely, for some reason Activity Monitor is often flaky.
Is 6 months enough? Can't spots get filled between that time?
What do you look for in a founder and how is it fundamentally different to a VC? Any examples of investments you made. Some angels became eventually super successful and then set up their own VCs. Would that be part of your plan later on?
Best Venture Capital Firms List (2021)
Sending plastic waste overseas was an idea of the recycling zealots (people who recycle even in situations where it is worse).
Could you give an example?
(not trolling - genuinely would like to see where the Venn Diagram between framework and CSS lie)
I gather that it's true that ARM hasn't been as good about backwards compatibility as some of its competitors, but was ARMv8 really so much of a jump from ARMv7 that one can't count it as part of the same line of processors anymore?
Here is a recent survey, with a more positive number of about 37%, see question 10.

https://isocpp.org/files/papers/CppDevSurvey-2021-04-summary...
Admittedly I’ve never been very good with CSS particularly the “newer” layout stuff I’ve never really used or learned.

That being said I’d rather use CSS than the abomination used for styling in WPF.
Just thinking about it logically and you can see that it is. An angel has put signifigant personal investment into a project, they want to see it succeed both for themselves and for the entrepreneur according to their vision. In that sense it is a partnership. With VC's increasingly today its possible that the investment in the business is some type of metastrategy for their portfolio so they may not care if one particular business succeeds or fails.
> Exchanges frontrunning you and manipulating the market

This should not be a concern, just don't HFT your trades. Play longer time-frames (like a few months between a buy and sell); and don't use leverage.

> exchanges just taking your money and running

There are many established/regulated exchanges which have guarantees as good as the traditional exchanges.

> prices crashing without you being able to sell your assets

Maybe that's when you should buy?

> Cryptocurrency is NOT a market you want to be in.

I have been in this market for 6 years, and I was able to generate double digit yields every year (even on bear markets, actually these were the most profitable).
The Lithium scarcity scare reminds me of all the peak oil hysteria (which I'll admit I succumbed to as a teenager.. 2009 being doomsday back around 2004 I think). You can't use existing reserves as an indicator. If there's a higher need for lithium, more companies will look for it, more will be discovered and more mines will open. Probably prices will go down eventually due to economies of scale and new mining techniques (see Teslas battery day presentation for example)
Which most - there is most as in number of cores shipped, and most as in number of organizations who have a license.

The second I have no doubt you are correct - I know of several organizations that have licensed ARM just to ensure they have a long term plan to get more without the CPU going obsolete again (one company has spent billions porting software that was perfectly working on a 16 bit CPUs that went obsolete - there was plenty of CPU for any foreseeable feature, but no ability to get more). These want something standard - they are kind of hoping that they can combine a production run with someone else in 10 years when they need more supply and thus save money on setup fees.

The first is a lot harder. The big players ship a lot of CPUs, and they the volumes to make some customization for their use case worth it. However I don't know how to get real numbers.
Is there a good scientific/safety reason for which Tesla's batteries are held together by polyurethane cement, as opposed to something easier to deal with?
That's a nice site to learn. This is my goto reference (they even sell it as a poster).

https://css-tricks.com/snippets/css/a-guide-to-flexbox/
"Anticompetitive" is an invalid concept invented to manipulate people. It's not a coherent concept; it doesn't describe something specific in reality; it doesn't have a useful purpose in honest thinking.

But I agree with you that CO has committed a rights violation.
> favorable to employees

Is it really though? Complete transparency in salary ranges also means that every other employer can see exactly what their competition is offering. I can't help but worry that this will lead to a sort of "price fixing" that will actually drive wages _down_.
I agree that suffering is a risk that we should balance.

Your point in the other comment was that you would cause suffering to and sacrifice "hundreds of billions" of primates for a small chance to heal yourself.

That's clearly not balanced. I personally don't think that animal testing as it exists today, and given the complete lack of direct results that it has to show us, is balanced either.

Do you really value yourself, as a human, trillions of times higher than a chimpanzee? I don't and won't respect that. You saying that, out loud, only makes me wonder how much you internally value other humans.
My point was that the comment I replied to is using USD while LHC most likely do their budget in EUR or even Franc. So clear indication that the author of said comment probably lives in the US, who I don't think is funding the LHC.

But to answer your question, I absolutely care about the budgets for the military or the police, or any entity really, as long as it belongs to my country.

What the US spends it's money on I couldn't care less, although it sucks the government there is so reluctant to actually pay for services to the humans living there and instead spend the money on military. But in the end, not my business so I don't really care either way.
What's the incentive to improve on the status quo? The infrastructure is established, the costs are low. Improving requires quite a few up-front investments and overall higher operating costs.

It's hard to convince modern companies (i.e. those who focus on profit above all else) to take such hits against their market value.
This is quite common. Corporations know the long game and are willing to pay in the short term to get it. Another example is those grocery stores that closed last year after hazard pay was mandated at the height of the pandemic, citing unprofitability. Unprofitability! Of a grocery store, one of like three places where people were spending money in 2020!
Right. We disagree with the article.
Virtio-GPU and QEMU graphics in 2021
Curious how wide the salary ranges can be. Are there ways companies can just provide a wide range and get away?