skysight-inc/HackerNews huggingface dataset:
"Hey, Google, use every discernible iota of my personal information to build the foundation of a Chinese-style, authoritarian, digital dystopia, because I'm too lazy to learn basic, self-managed organizational skills."
You can't grow food faster. You can only make more of it which requires more resources. The jobs being created today are mostly poverty level jobs or high end jobs and this trend is expected to continue which hollows out the middle class. Pure unemployment numbers aren't useful since the expected date increases with a tighter labor market haven't been happening at all. Once worker wages became decoupled from the value that they actually created, none of the idea that you're paid what your with was valid. Now you're paid what you can negotiate which depends entirely upon how much power you have. Most workers have none.
> Second-class-citizen APIs are always trouble.

An unlikely absolute: nothing prevents the second-class citizen from gaining traction and eventually becoming first-class.
what about mortality rate after? probably lower than baseline as well
I think this is a pretty solid pattern when displaying global things (messages, alerts, snackbars) in your application with react and redux. Would love to know what you all think, thanks!
Dynamic pricing in practice: is it for everyone?
Freaking finally.
> I'm going to look into any local and/or open source solutions in this space.

Share if you find anything. The only other solutions I've found so far are:

Apple Photos - requires having Apple devices

Plex - meets neither the 'local' nor 'open source' requirement as it sends your photos to some other random cloud provider to scan

If you can find anything, or if anyone else does know, please do share!
Accepting your premise, is there a non-corrupt alternative in the region?
It's not even to keep people driving cars. It's just the new normal. Even if we stopped driving today we're still going to bake Paris in the summer. The damage is already done. Think of it more like a fine for destroying the environment.

A more reasonable shortish term solution is to air condition large communal buildings and allow people to camp out overnight when the temperatures become inhospitable.
Document dump. Not software-related, but someone needs files for diligence and either has some obnoxious request list or wants something you'd prefer they not really know about; you just dump literally everything on them in terrible formats to potentially obfuscate negatives and consume an enormous amount of their time. Many people will find whatever they need to check the box and move on. It's a dick move.
My local supermarket has recently rolled out scan-and-go (is that the proper name?), where you carry a scanner around the store with you and at the checkout just return it and pay. It's funny because at peak times there is a queue of people at the self-service checkouts (which were supposed to make shopping quicker), but with this you can walk straight past them and pay. I just pick something off the shelf (and weigh loose produce), scan it, and put it straight in my bag.

I'm surprised it has taken this long to roll out, as I remember in the mid 90s one supermarket trialed it, but then they abandoned it, and twenty years later it's back.

IMO this gives most of the benefits (admittedly theft may be easier, but it's no different than regular shopping), but non of the they-are-tracking-everything-I-look-at privacy issues.
I've been receiving threats through social media for a few months now by anonymous trolls. Kinda sucks because I never know when/if they are going to start a harassment campaign in real life. I've seen them do it to others, it can be disruptive but is not the end of the world. I kind of wish it would just happen already so I can move on with my life. It's hard to start any new projects if you don't know if you're going to run into a ton of new problems for a few months unexpectedly.
Why are cars relevant here? Weren't most of the people who died from this elderly anyway, less likely to be driving?

I think the most dystopian idea would be Exxon not paying for their crimes against humanity, but rather allowed to continue lying to the public about climate change, lobbying governments to reduce their penalties.
>> Royan has frustrated some of his investors by sitting on some of their money rather than investing it in startups — while almost certainly raking in millions of dollars in fees for himself.

its the first time i hear about legal consequences of not doing anything to the funds' money. the investors are free to leave the fund if they are not happy with the management, right?
What are the different kinds?

I am considering psychedelics as I read Ketamine is suppose to be quite effective with depression. Might be a bit hard to do that though
Language both enraptures and deceives us
You should try using dark mode extensions like DarkReader if you aren't already. I have it enabled on most sites and it works almost flawlessly.

[0]https://darkreader.org/
SEEKING FREELANCER | Bangalore, India | Reverse Engineering / x86 arch | Onsite only

We at Vayavya Labs provide embedded software solutions across Automotive, EDA (Electronic Design Automation), Semiconductors, and Communications domains. We are looking for freelancers with a passion for reverse engineering, device driver development to be a part of a highly motivated team which works on Obsolescence Management of mission-critical embedded systems.

The lifetime of many mission-critical embedded systems is quite long and often requires replacement of the underlying hardware components (processor cards, network hardware, sensor cards etc..). Most often, the exact hardware component in the system would have gotten obsolete and would need to be replaced by similar hardware. Getting the same application software to run on the new hardware requires developing the device drivers for the new hardware as per the design of the older drivers. This often requires reverse-engineering the old driver code and/or binary patching.

Key Technical Skills:

* Strong in C and Data Structures
* Good understanding of x86 assembly language and x86 system architecture
* Experience in working with reverse engineering tools such as IDA pro, Ghidra
* Experience in binary patching

Key Non Technical traits:

* Excellent problem-solving abilities
* Ability to learn and adapt
* Not afraid of failures, persistent and loads of patience
* Self-managed

Email: careers@vayavyalabs.com
I really wish Apple would make a standalone fitness tracker. (They'd rather upsell me a Watch, but, still...)

Just give me all of the Health-related aspects of the watch without anything else. It doesn't even have to have a display — I can view Health data on my phone. I LOVE my Watch but there are circumstances where a mechanical watch is the way to go.
In all honesty, no I'm not. Two weeks ago I went to my GP to diagnose a light swelling / discomfort in my left cheek.

He gave me two rounds of antibiotics and it seemed to get better. Then recovery stopped.

GP sent me to the ENT. ENT also isn't sure what it is but is sure that the first suspicion was incorrect.

Tomorrow I have an appointment in the hospital for a biopsy to make sure the change in tissue is not malignant.

So I'm unfortunately not OK, I'm shit scared for what is up ahead.

Thanks for asking, since I haven't had anybody to talk to since Wednesday where I got the news that it might be something way worse than what we expected.
I lead the Zulip project, and we would definitely have been excited to do the work to make Zulip available. Unfortunately, they didn't contact us.

After seeing this blog post, I emailed the OP yesterday offering to add whatever they need to evaluate Zulip (which sounds like is just SAML authentication work that's was already on our near-term roadmap). He replied that they're too late in their evaluation process to consider Zulip :(. I really wish they'd thought to get in touch with us about this concern.
The pay difference doesn't matter one bit. You need to get out of the current job.

If they offer anything over 40k take it! You might even want to consider explaining you want to get out of your current job, and are willing to take less pay. The risk is that it could sound like you don't think you are a good fit.

I hope the interview goes well! Good luck!
Neat work! Question from someone who's familiar with RF atomic clocks but not optical -- how do you steer a laser in frequency? For RF, it all comes down to VCOs: if you want a different tune range or different frequency, you just pick a different VCO.

But for lasers, I thought the frequency was driven by the energy difference between electron states for a given species? How do you synthesize an arbitrary frequency for a laser without something crazy like a FEL?
DIY Apple U1 indoor location tracking
Scrolling yes, but not scrubbing. The latter is a feature that people use for navigating very large pages (e.g. I may remember the rough location of some section of some programming language spec that I'm looking to consult, but the spec is 500 pages long)
Everyone has their comfort zone or in this context empathy zone, some people are very empathetic, some don't know how to show empathy or care towards others and that is just a personality thing, we shouldn't hold that against people. Think of it the other way, most people reading here and replying at least care enough to show concern and empathy, some maybe more empathetic than others. To counter your point about Suicide Prevention People - at least doing that is still better than not giving a shit about those who need help.
As a software developer myself, I always wondered why it is considered a stressful profession.

- Most of us aren't going to kill ourselves or others in case we screw up. The stakes may be higher for people working with safety critical systems, but such systems often have multiple safeguards.

- Most deadlines and time pressure are completely made up. So what if we don't deliver on time? It is not like the fate of the world depends on the new software version. It may be different for sysadmins though.

- We usually have some flexibility. We are not like bus drivers who will leave people stranded if we don't show up on time.

- Our skills are valuable, if you are somewhat competent, you are pretty much guaranteed to find work in your field. Maybe not a dream job, but at least something better than a minimum wage gig.

Maybe that's a combination of artificial pressure with a high concentration of people who have difficulty coping with stress. Anyways, I am not particularly stressed, and neither are most of my coworkers and friends working in the field. Some jobs look much worse to me: medical (people can die), construction (risky), art (highly competitive market), ...
Because then in most cases you bypass 2 factor authentication through sms for people's accounts. And then steal their social media handles or anything. Sites like Twitter only allow SMS 2 factor authentication, so currently no way to avoid the issue, which is why even the CEO was just hacked. One has to assume they are working on real 2 factor authentication. That will help people in the know stay protected, but the average person or simply enables sms 2 factor authentication will still be vulnerable until a company like Apple or something automatically offers 2 factor app for all sites that support 2fa.
Yep, ISO C should get an optional library, that embedded systems may want to skip, offering things like: dynamic strings, linked lists with iterator, an ordered dictionary data structure with iterator (API will be like a hash table basically), a PRNG that is not a joke. With just that it will feel like programming in a different language.
This assumes a spherical signal propagation. But signals from antennas, and even from many natural emitters, aren't spherical. It's also possible that the signal is highly directional, like a jet. So, I'm pretty skeptical of these power estimates. For sure the transmitter has a lot of power, but how much exactly? I don't think we can really tell.
HTML emails are a blessing. Receiving them allows me the ability to quickly glance at an email from an unexpected sender and immediately recognize it as a marketing email or cold sales, and send it to the spam folder without needing to read a single word.
> And they're all used extensively.

That's the key. MicroPython is significantly less dynamic than full Python, and would be much easier (but still not easy) to write a fast JIT for. Unfortunately such a JIT wouldn't be very useful - MicroPython won't run much code that hasn't been written specifically for it. Without the dynamic features, MicroPython is essentially a different language from regular Python.
I know one flash programmer who suddenly found herself without a job and in a tough situation. She had to completely learn a new skillset: HTML5 and javascript and the Front end web. It took a whole year for her to get up to speed and get a new job.

To prevent this from happening to me, I like to keep an eye on which technologies and programming languages are in highest demand, and which direction they're moving in terms of job demand. So, I created this app that measure programming language demand based on job postings and analyzes on a city by city basis, cross-referencing with salaries posted: https://skilldime.com/
I'm not really sure what's the point of this exercise instead of a regular FizzBuzz. Dealing with strings in C is tedious, error prone and results in very verbose code but it's not really difficult per-se. What is this testing for exactly?

If I had to do something like that in a real program I'd very much overalloc a few bytes (because why not? If those small allocations really become a problem in your app you probably want to use a custom allocation scheme anyway) and then just snprintf the result into it. I'd go even further and say that code that would micro-optimize this to save a couple of bytes at the cost of maintainability shouldn't pass a code review IMO.
> very difficult for python to realize when a line is indented incorrectly. It just assumes that if a line is indented a certain way, it was intentional.

How is this different from some language not realising that a statement should be inside of the curly brackets instead of outside?
Potential for growth, probably. I may have more ambition than to make more than $45,500 per year for most of my career. I'd rather make six figures, save, and retire to a comfortable lifestyle. I've worked plenty of 80-hour weeks towards that goal, and I will doubtless work plenty more.
Funny that on cnet you get an opt out screen for their tracking that is totally unresponsive on my phone. And they worry about google.
I only learned math up to maybe the level of a decent BA student but I feel like when you take a math course you learn how to “do a trick” (pass the exam) and then actually learn the material when you take the next course, where you need to figure out which parts of your last class you apply to “do the trick” in the current class.

So my question is what level of calculus is retained, and if students who take calculus then advanced calculus or introductory analysis or whatever you’d call it retain more.
Many areas around the world have storm shelters or bomb shelters.

Perhaps laws requiring community centers also function as temperature extreme shelters could be instated.

The laws would have to also provide funding to install and maintain AC and Heating systems suitable for the population around that area.

Additionally, if a business doesn't have AC or heating during extreme temperature alerts, it should close for the safety of the workers.
The part of ECON101 that I remember most distinctly is that we kept doing supply and demand curves. We kept doing that until the professor was absolutely sure that everyone knew what happened when supply was infinite, or when demand was inelastic, or when supply was a hard fixed quantity but the needs of the market kept growing.

It's really basic stuff, that's why it's a 101 course. However the realities of that kind of course should be remembered and applied to things like "rent control" that acts as an outside influence on where the curves meet, but doesn't actually change the supply or demand directly. Knowledge that would help with assessing the possible intended and unintended results of different laws.
> For example, you can't really reuse the v8 codebase to create a Python JIT

Actually, come to think of it... V8 also runs WASM right? Right now I think WASM is missing a few features (like garbage collection) which Python would need to be efficiently compiled to WASM, but once those are solved...
> it could be poor social skills.

Is this an area where you can improve? My social skills are abyssmally non-existant... I am in a suprisingly similar situation to satokemas, all but the fact that I do not ever doubt "why bother" (I love the world) and I go to high school— I don’t work, that is.

I’ve been alone for two years in school now, although I just recently got one friend that is very understanding, though I guess I’ll still be alone almost all the time, this last year of school.

This is sad, I don’t like things being sad. Therefore I want to do something about it...
Finally fulfilling a ~2013 request that is basically a style sheet. Better late than never I guess
Why is this HN comment-section worthy?
maybe... though, I think even at that age we are all the same with respect to losing things that you had. i think though that if you are letting your kids do lootboxes before they have earned the money to open them it's probably too soon anyway.
Oh man, completely muting a user would be amazing.
I think memccpy is an improvement, so I support it, but it's still complicated to use in practice. The article gives this example for a copy followed by concatenation:

char *p = memccpy (d, s1, '\0', dsize);
dsize -= (p - d - 1);
memccpy (p - 1, s2, '\0', dsize);

Notice that you have to recalculate dsize (correctly without one-off errors!), it assumes you have dsize itself, and this doesn't detect overruns (which in many cases you should do).

So real-world code would look more like this:

// dsize is the space *available* in d, including \0
size_t dsize = sizeof(d); // if d is an array
// ...
char *p = memccpy (d, s1, '\0', dsize);
dsize -= (p - d - 1);
if (dsize <= 0) goto overflow; // handle overflow
char *q = memccpy (p - 1, s2, '\0', dsize);
dsize -= (q - (p - 1) - 1);
if (dsize <= 0) goto overflow; // handle overflow

It's a little easier to understand than strncat/strncpy versions, it doesn't unnecessarily read its inputs past where they are needed like strlcat/strlcpy do, and it's more efficient than snprintf. So yes, it's an improvement and I support it. However, this is still rather complex; in particular, it's way harder to understand compared to code that uses snprintf, and certainly harder to understand than pretty much any other programming language higher level than assembly.

So let's accept this improvement, and keep striving to do better.
I recently experienced months of sleeping problems. Where I wouldn't sleep for days. Or would sleep a few hours. I would be exhausted and my head would hit the pillow and BAM adrenaline and I can hear my heart pounding and I'm awake. It got so bad I would go into the basement and destroy a wall that I kept repairing. I would cry in frustration. I started to have suicidal thoughts. It was harming my marriage and made me a crappy father.

I've seen a psychologist before for other things but there's just something about me that makes me stubborn. I should have seen one again but I never got around to it. I kept self-justifying that "new idea X" would be what fixes the problem.

I think the issue was subconscious because if you asked, I couldn't tell you what was bothering me. But I think it might be about being this pillar of my family, the sole breadwinner, and had a toddler and a baby and a mortgage and a new remote job all within 2 years. Everything piles on and there's a ton of good reasons to feel anxiety.

Anyways, you know what ended up changing everything and making me sleep like a baby? World of Warcraft Classic. I used to never find time for gaming. Or games would never keep my attention. I would always wander off to the huge list of things I need to be doing to be a good worker, dad, housekeeper, husband. But I got into WoW for chuckles and got hooked on having 3 hours a night to just do stupid pointless stuff in a fantasy world. And now falling asleep feels so different. My brain is relaxed, replaying some of the moments from the video game in my daydreaming imagination. And before I know it, I wake up rested and energized and actually looking forward to experiencing the next day.
Not for me, nobody looking at my computer except for me and I have Slack now in dark mode, I have Dark Background and Light Text in Firefox (also dark mode) and custom dark style sheets in Stylus where they are available and good.

Maybe it's because I'm getting older, but staring at a blinding white computer monitor inches from my face all day as a software engineer HURTS. Like, literally hurts after a while.

Dark mode is much easier on the eyes.
I grew up in Boston and it actually had a wonderful public transit system - assuming you're a comfortable in the city and not fearful of who you'll bump into on the bus.
I also recently built something in this vein... It's a library that will automatically screenshot a page and put it in one of those device frames...

The idea is you can use it as part of your test / build process to generate deterministic(ish) image assets...
That's a great analysis to put things into perspective. When we are in the middle of Stressful situation, it's hard to take the larger perspective. I've also come to realize that time cures everything and every situation no matter how bad or even good will come to pass.
We must all speak for ourselves and not assume.
From Communism to Coding:How Daniel Dines of UiPath Became First Bot Billionaire
”This would be the result of trying to copy a string to a buffer that is too small.”

C doesn’t have the notion of “size of buffer” (yes, arrays have a size that can be queried by sizeof, but only at compile time). You would have to fix that, first.
Isn't Pyodide just an interpreter that runs in the browser? So it could never be significantly faster than the regular Python interpreter?
Buy an old-school audio recorder, with voice-activation. Record everything your boss says to you or about you. Save and back up any e-mails or written notes. Speak with your co-worker peers about the boss's behavior.

Take your documentation to your therapist. Or to an employment lawyer that offers free or affordable initial consultations.

Do not stop applying for jobs with different companies.

I wouldn't go to HR. They work for the company, not for you. If they were doing their jobs effectively, you would not be suffering this abuse in the first place.
std::string has its own share of problems, but at least it's useful for C programmers as a warning on how not to implement a string library (for instance: a string shouldn't be important enough to give it its own allocation, it shouldn't be mutable by default, there should be string manipulation functions which are actually useful in real world situations instead of being an academic exercise, and so on...).
Dark Background on Light Text extension is great and you can customize the colors.

Also, try Stylus with the "Hacker News Readable Dark" style.
> The CTO and a few people on that team reached out and said "let me know if you need anything"

Good. So, be sure incorporate this into your disclosure. That will mitigate potential Red Flags to new employers.