skysight-inc/HackerNews huggingface dataset:
I don't think it is edge cases as much as aspirations and pretence.

To take your examples, I want a large dining room and guest bed because they signal popularity and I can imagine all those people coming over. I also want a pickup because I can tell myself that I'll weather the next zombie apocalypse, or I'll imagine transporting building materials back home and build that outside sauna my now divorced wife always wanted. That will show her. Or something.
Have you considered working overseas? Not a felon but I've worked for companies in Dubai and Singapore which didn't require background checks (although it's possible the government did a background check without explicitly mentioning it as part of the visa application process).
SEEKING WORK | REMOTE | WORLDWIDE

Location: Serbia

Remote: Yes

Technologies: React, Next.js, JavaScript/TypeScript, Node.js, TailwindCSS, Jest, Cypress, Prisma, PostrgreSQL, MongoDB, Docker, C#/.NET

Resume/CV: Available on request

GitHub: https://github.com/nemanjam

LinkedIn: https://www.linkedin.com/in/nemanja-mitic

Email: nemanja.mitic.elfak [at] hotmail.com

I am a full stack developer with a Master's degree in Computer Science and 4 years of professional experience with JavaScript and C#/.NET. In the last few years my main focus has been the React/Next.js ecosystem, followed by Node.js. I am a JavaScript professional and a Python beginner interested to get more exposure to it. I have also worked with ASP.NET in the past which is not my primary focus at the moment. I have a basic understanding of DevOps tools.

A quick and easy way to assess my current skill level, the quality of my code and documentation, and my preferred tech stack (Next.js, TypeScript, React Query, Prisma, Postgres, TailwindCSS, Docker, Github Actions) is to check out my latest project: https://github.com/nemanjam/nextjs-prisma-boilerplate

I have experience working remotely for startups within globally distributed multicultural teams.

You can check out my other projects at https://github.com/nemanjam . I have detailed resume available, you can tell me about your project by email: nemanja.mitic.elfak [at] hotmail.com or by LinkedIn: https://www.linkedin.com/in/nemanja-mitic .
If they settled for an acquihire, then it must be the best out of all the alternatives - which means it's as big a payday as they'll ever get.
Electric cars have less range, cost more to purchase and take a very long time to refuel, compared to hydrocarbon-based cars.
> Could there be an economic inefficiency where it's cheaper to rent every day than buy?

It's never going to be cheaper to rent daily than to buy. Renting daily has you paying the amortised purchase cost and a little extra for the costs of the rental provider (real-estate, offices, employees), and then a little more for the profit of the rental provider.

If the rental provider charges only what the amortised purchase cost is, they'll be out of business in a few days, if not hours.
It sounds like the types of trips you're referring to are different from the types I'm referring to.
I've idly been considering how to score this with more languages, with far less memory. I'm thinking, buildpacks on a Raspberry Pi.
Why would you clean?

“I discard cache and it is so slow, aarghhh”
Try Google. Refer to quarterly reports by mentioned companies. There's also some fun comments from the likes of CEOs of VW and other companies commenting on the undisputed lead in manufacturing that Tesla has over them. VW actually used this as a reason to motivate some recent layoff rounds. There are lots of other reports.
Did you not read the article? A major point in the article that this thread is based on is that electric cars are 28% more expensive than ice cars.

If you're going to spend $30k you can get an excellent ice or an entry level ev.
I permanently damaged my family’s tv with a car loud speaker I was playing with as kid. It left a big blemish, colored shadow shape and since we were kinda poor (didn’t know at the time), we lived with it for ages… oh the guilt!

Was fun to understand the election beam was being deflected a magnetic field at the time tho
This would make for a really fun challenge in SQL, too.
I am a senior software engineer, I made this free tool for humanity, feel feee to use
> You can buy CDs that return over 5% APY right now (giving you a $500/year budget without even touching your principal)

Not really, because your principal loses value because of inflation.

If you buy that $10k CD, you get $500 out per year; you pay a couple hundred bucks of that in taxes, leaving $300. If inflation sticks around 3.2%, you'll be losing $20/year before you spend anything.
I canceled an order for a Model 3 and went with a Kia EV6. (sibling to the Hyundai Ioniq 5) Best car I've ever owned.
This isn’t the blockchain. All of that can be easily reversed
But instead of spending the money on a house big enough to host those dinner parties, you could host them at a fancy restaurant, with better food and the ability to spend the entire evening with the guests instead of in the kitchen.

And for hosting occasional guests an extra bedroom, plenty of solutions exist for creating temporary sleeping space in the living room, while leaving your own bedroom to the guests. A small inconvenience to pay to save out a whole bedroom to pay for and maintain. There’s also the option of going on vacation together, which can be a really fun way to spend the holidays.

Plenty of landscaping places will deliver to the home, much more convenient, and cheaper overall when you can downsize your vehicle of choice. I ended up making life choices that let me not have a car at all, and I spend that money on traveling instead.

My point is: I find life to be more comfortable when treating edge cases like edge cases, and finding an appropriate solution. I see so many people maxing out their house and car within their budget, and then talking about but never doing things they really want to, like that far away vacation, or that expensive hobby. I never quite understand why.
The first 2 are not so silly as these "unused rooms" can have other functionality. The dining room becomes an office, or a retreat. In a crisis this extra capacity could be accommodation for an out of luck friend or relative, or rent out the room.

The 3rd one might be more silly :-)

I agree people should consider how much of an edge case it is though, and make a good decision. Even if "well it is an edge case but what the hell". Owning a Christmas tree ain't so bad.
Strangely, the first paragraph "the EV myth" has nothing to do with EV's, but is spot-on:

a doom loop of consumer preference: Drivers saw the
vehicles around them getting bigger, so they wanted bigger
cars to make themselves feel safer. Automakers argued
that this was proof that people wanted only big cars,
so they cut small models and made existing vehicles bigger,

But it was just profit driven by the pricing power to get bigger margins from lack of competition at the low end.

That happened for lack of political will: when gas first went to $4-5/gallon in the U.S., politicians should have promised to keep prices there or higher with taxes, to pay incentives for people to buy cars that are smaller, fuel-efficient, or carbon-free.

Now we're stuck with 10+ years of SUV-sized vehicles.
Red Hat Evaluating x86-64-v3 Requirement For RHEL 10
That depends on project and scope of the project.
Yeah it sounds like the nature of your trips there are quite different from what we would do here (mostly low mileage game drives), so not as applicable to you.
Soft on criminals is not usually a vote winner.
I don't know what packages enable it but Doom Emacs is set up so that in the M-x minibuffer it shows the primary key binding for a command next to the name, if it exists.

I've found that this helps me to memorize ones I reference, even if it's only memorized for a couple hours.
To be fair, “as much as a small RTOS can be” means “not at all similar” from a perspective of someone who wants a Linux handheld with a keyboard.

640KB memory might be enough for everybody, but not for what most take for granted on Linux.
There is another thing at play with maxing out on your house, which is that in many places it is a damn investment (unfortunately) and the primary residence usually has tax-free gains, and things like being not means tested for certain benefits. So maxing out on the house can perversely let you do that travel a few years down the road. It's not great, but that's the system.

Housing might be a long term ponzi but we'll see I guess :-). As long as they keep devaluing currency it is not a bad bet. Especially in a metro area.
The CCS network isn't bad, though it's not as good as Tesla. I drove from Texas to California and back in my Kia EV6. Of course, that's on major interstates, but looking at the map outside of large cities, it seems like the Electrify America and Tesla Superchargers were all in the same towns.
Their oil per citizen is not equivalent. Norway is producing 0.38 barrels of oil per day per citizen, while US is 0.034. That's over an order of magnitude difference. Could the US do better? Yes. Is Norway well run and has an abnormally high amount of oil per citizen? Yes of course. Yet your claim is still mostly false if US was run just as well.
The real trouble was that most of the flight crew ordered the fish.
Oh well, that's even worse. If I understood correctly, that means there are two timestamps t1 and t2 from each radar pulse, which difference in seconds is computed as `f(t1) - g(t2)` where g somehow truncated to 24 bits instead of the full 48 bits. I don't exactly get why f and g are different enough to cause the truncation, it might well be that f and g are correct but the final subtraction missed lower bits of `f(t1)` instead.
Just because English isn't my mother tongue, and because I've made the effort to translate both the documentation and the application labels into English. In fact, the README.md starts with a link to the "English documentation". The application can be used in both English and French, through a method of auto-detection of the language used by your browser.
Thank you for your interest.
From a pure performance perspective it’d probably be quite slow in comparison to a dedicated implementation for this task. Especially as it wouldn’t fit in memory.
Sounds like an awk problem tbh.
> Chains are for snow. They’ve got nothing to do with clearance.

Yes, and you were the one who mentioned chains in response to clearance issues. GP was asked to provide examples, and did. That's not arrogance.
I'm pretty sure someone is going to tell you you'd better rent rather than buy one.
If you're going to flare up every time someone does something unprofessional, you're definitely being unprofessional. It is like politeness; someone else not having it might change how you behave but usually it doesn't.

And there is a difference between acknowledging it and causing a scene. Rank and file employees engaging in a political attempt to topple the CEO is certainly unprofessional. That level of manoeuvring is purposefully causing damage.
I'm not misrepresenting what you said, I'm refuting it. You established a chain of logic like so:

If something affects the share price, then it is relevant to business operations
Musk's tweets affect the share price
Therefore Musk's tweets are relevant to business operations.

I provided a counterexample (interest rates) of something that affects the share price but is not relevant to business operations. So the first condition of your argument is false and therefore it is not a sound argument. Simply because Musk's tweets affect the share price, this does not necessarily mean they are relevant to business operations (to the extent that they are protected discussion about workplace environment).

I've read the letter, nowhere does the phrase "hostile work environment" appear. It sounds much more like a small group of employees are demanding that management implement DEI policies, management doesn't want to, the employees wouldn't shut up about it and so they got fired.

Discussing a policy could fall under workplace conditions, I suppose. But they weren't fired for discussing it. They discussed it, they got an answer, they wanted to keep on discussing it. At some point I think management is allowed to make a decision about whether they're going to implement a policy or not. It's not a legal requirement like "fix the safety straps" either, so at what point do you tell the employees to either let it go or get out? Are the required to allow employees to endlessly spam communication channels after management has made the decision about a policy?
What bike model do you have? And what addons are you using for the trips with kids?
That's your choice, and it's fine, and I'm not going to criticise it, but just suggest that sometimes (not always, and depends on what you consider "better") it's possible to cater for both the day to day case and those edge cases better if you make your starting choices more around your day to day needs.

E.g. maybe your parents staying specifically in your house is too important for you to give up, but for those whose actual need might well be to want to spent holiday time or the occasional long weekend etc. with family or friends, many places you can finance a lot of trips and big fancy AirBnbs for all of you together for the savings from a smaller mortgage.

For some it might similarly be even more of a highlight to throw the parties in a lavish rented location or fancy restaurant (but again: it might not be; if part of your enjoyment is to host at your home, that's your choice).

Depending on how frequently you need that truck, you might be better of renting/signing up to a car-sharing service.

Sometimes people genuinely want to be able to handle the very specific edge case and that's fine. But often people also just haven't considered the cost of buying for the edge cases vs. the cost of renting on occasion and what it might allow.

I wouldn't want to suggest you shouldn't make decisions that takes your edge cases into account, but I find to me at least that there are often alternative ways of addressing edge cases than people's "defaults".
> Fair enough; perhaps it'd be worthwhile to throw a compiler error if both reflection and trimming were attempted.

The tooling already generates warnings for any spot in the program that uses reflection _in a way that cannot be statically analyzed_. Fixing code to make it work with trimming is equivalent to fixing warnings. Here are a couple case studies: https://devblogs.microsoft.com/dotnet/creating-aot-compatibl...
Don't EV cars calculate all that for you and tell you where to stop to charge up again?
A lot of environmental harm is caused by unnecessary living. It's kind of annoying people continue to live their lives.
Use date of news article instead of query date

/* ``````````````google news```````````````` */

<MODE6>\[13,\"[0-9A-Za-z]+\"\],\"[^,]+,null {
w=0;y=0;z=0;
for(x=0;x<yyleng-4;x++)
{
if(yytext[x]==93)z++;
if(z==1)if(yytext[x]==44)z++;
if(z==2)if(yytext[x]==34)z++;
if(z==3)if(yytext[x]!=34)z++;
if(z==4)if(w<255){desc[w]=yytext[x];w++;};
}
}
<MODE6>,\[[0-9]{10}\],null,\"[^\"]+ {
fwrite("INSERT or IGNORE INTO t1 VALUES(006,'",1,37,stdout);
fwrite(getenv("query"),1,querylen,stdout);
fwrite("','",1,3,yyout);
for(x=2;x<12;x++)putc(yytext[x],yyout);
fwrite("','",1,3,yyout);
for(x=20;x<yyleng;x++)putc(yytext[x],yyout);
fwrite("','",1,3,yyout);
for(x=0;x<w-2;x++)
{
if(desc[x]==39)putc(39,yyout);
if(desc[x]!=92)putc(desc[x],stdout);
}
if(w==255)fwrite(" [TRUNCATED]",1,12,yyout);
fwrite("');\n",1,4,yyout);
}
Wow, I didn't even notice that. My mistake then.
Sure, is there anyone forcing them to buy EV if it does not fit their need?

Most people in Manhattan would not need a car at all.

Most people in LA would should be much better off driving an EV.

And those who live in places where an EV is not sensible or even feasible do their thing.

Why do you need to fight against adoption?
How can you have peace of mind whilst burning the only inhabitable planet for life as we know it?
> It is frustrating when seemingly everyone around you is on a different page than you are.

And yet its their priorities that are wrong?
> Your binary is not the only binary in the system and other services may be running as well.

Technically yes, but these days most of my machines are single purpose VMs; database/load balancer/app server/etc, so it still seems weird not to take the fastest.
that all seems correct; the issue i had was not that python is less flexible than ruby (though it is!) but that it required a lot of mental effort to map back from the set of point-free array operations to my original intent. this makes me think that my trouble with j and k is not the syntax at all. but conceivably if i study the apl idiom list or something i could get better at that kind of thinking?
With the monetary and opportunity cost of renting (hassle, unpredictability, risk) it makes sense very very quickly to just own an ICE car for the predictable edge cases.

Have you rented a car recently? It’s a nightmare half the time.

In engineering I’d call that a high risk single point of failure.
Just add one yourself? I mean it even has a speaker cable. That said an esp32 isn't that good for audio just from a practical standpoint.
Either you're an outlier or I am, but I don't have the data to tell which.

We host a few people, often using our dining room, at least once a week and often more. Sometimes two people sometimes twenty. Sometimes dinner, tea, craft night, board games, dungeons and dragons, birthday parties, whiskey tastings, family visits.

We aren't exceptional in this among our friend group - everyone shares the fun and stress of hosting.

I'm not in some exotic culture either, just a medium sized city in the southeast US.
This whole sub-thread in general makes it pretty obvious to me that there are a bunch of people who love petty authoritarianism.
> like single digits F

Wait, so in conditions that wide swaths of North America reliably get every year, the car doesn't charge? How is that not a deal-breaking problem?
> My point is: I find life to be more comfortable when treating edge cases like edge cases, and finding an appropriate solution

And that's fair enough, but I find the tyranny of "it works for me so you're doing it wrong" very real. In many areas, but in particular with electric car range discussions.
> What’s “actual AI”

Is Ibn Sina (Avicenna, year ~1000) fine?

> [the higher faculty proper of humans is] the primary function of a natural body possessing organs in so far as it commits acts of rational choice and deduction through opinion; and in so far as it perceives universal matters

Or, "Intelligence is the ability to reason, determining concepts".

(And a proper artificial such thing is something that does it well.)
I think this depends a lot on the EV infrastructure around you.

Driving an EV in the SF Bay Area is super convenient -- I know all the chargers off the top of my head and maintaining enough range is second nature to me now. I regularly road trip my Model 3 as well without any issues. I don't even look at the miles, just battery %.

I recently got an ICE car for fun on the weekends and thinking about gas, oil changes, preventative maintenance, and repairs has been way more stressful than charging.

Give the infrastructure a few years to catch up. Now that NACS has taken over in the US, things will only get better.
The rule lawyer in me wants to spend the first run spinning up a background daemon that loads everything into memory, pins it there, and maybe even prefetches everything into cache as the subsequent runs perform basically a linear scan (you never have to pagemiss if you have an oracle!).

> write a Java program for retrieving temperature measurement values from a text file and calculating the min, mean, and max temperature per weather station

Depending on how far you want to stretch it, doesn’t precomputing the result on 1st run count too? Or pre-parsing the numbers into a compact format you can just slurp directly into rolling sums for subsequent runs.

Not the slightest in the spirit of the competition, but not against the rules as far as I can tell.

Edit: if we don't like pre-computation, we can still play with fancy out-of-the-box tricks like pre-sorting the input, pre-parsing, compacting, aligning everything, etc.

Edit 2: while we're here, why not just patch the calculate_time script to return 0 seconds :) And return 9999 for competitors, for good measure
She indeed worked as an intern at Dyalog last summer [1].

[1] https://www.dyalog.com/blog/2023/10/dyalog-23-day-5-the-end-...
Nice. But the beauty of GP's approach is that you don't need to issue another open syscall to open argv[0] in order to access (read or mmap) your code but instead just piggy back on what the kernel just did for your entry point anyway.

Except for the beauty of the approach, I'm not sure what the practical advantages are. Are there cases where a process wouldn't have permissions to access its own executable or argv[0] value is unreliable? Can you exec on a file descriptor of a deleted file?

EDIT: or would /proc/self/exe always point to something the process could open?
Just wait until you learn what the oil industry has done.
Give me a decent public transportation grid for my day-to-day commute, and I will only use my car for where a train cannot take me. For obvious reasons, it will be an HEV or a PHEV. Well-planned and well-funded public transport will obviate the need for e-waste nut buckets with a range of wind-up toys.
Then, your VM is not the only VM sharing the bare metal. Same thing applies, only on a slightly higher level.

As long as you share the metal with other stuff (be it containers, binaries, VMs), there's always competition for resources, and your average time becomes your real world time.
Honestly this is kind of sad to me. One of my greatest joys is the frequent gatherings of our friend groups... Sometimes even tea with "fancy china."
How to Control JavaScript's Strict Mode
I guess the website was hug to death by the post ?
I can't wait to have a look at this new ESP32 product, given the praise in the comments here.
It’s as much a science as mathematical physics, I would suppose? You can make predictions (scaling of an algorithm, correctness of a concurrent algorithm) and test them empirically.

Some people might call pure math a “science”, but this is at the very least applied math (ie more connected to physical reality than pure math).
> Though the new-vehicle sales figure is high, data from Statistics Norway indicates the total share of EVs on Norwegian roads in 2022 was only about 20%

I followed the link buy couldn't find the source for this claim. The linked page talks about Registered vehicles (many of which will be car#2 etc), while https://www.ssb.no/en/transport-og-reiseliv/landtransport/st... about miles driven isn't split into EV/fossil. Anyone see where the 20% comes from?
Because they’re known to be collision resistant (it’s a primary requirement), whereas non-cryptographic hashes are not, so now you need to evaluate each function individually for this property which is a hassle. And an unnecessary one, I doubt the computation of the hash is what genomics are bound on.
> I do NOT recommend being upfront, unless there are no formal procedures in place and being honest actually helps. We are talking about your ability to feed and shelter yourself, so give up on the “honesty” thing. I have -never- been able to provide for myself after having been “honest”. [edit: after reading felonintexas let me update this. If someone point blank asks, tell them. Don’t volunteer this information. There is nothing to be gained]

No better advice has ever been given on HN, from minor things to major stuff. Never volunteer any information about yourself to anyone in the office beyond what is required to complete your job. Never say too much about previous roles and keep it very general.