skysight-inc/HackerNews huggingface dataset:
Not being able to send means they can't use Starlink in Belarus, right? There's no ability to send e.g. HTTP GET, so you can't actually use the internet. Right?
Building Science Fight Club (I follow on IG. There's also a website.) has made me skeptical about these kinds of articles. There's a ton of nuance to doing construction correctly for the particular environment one is building in.
Alright, I'm going to say it - this guy is just a dick and not helping. The majority of the videos on his channel are of him rolling up on stationary cars and giving himself a justice boner because he caught a driver using their phone. The equivalent to me as a frequent pedestrian would be to stand at a stop sign in the neighborhood and claim victory when I catch a cyclist failing to completely stop at the stop sign, or (frequently) failing to yield to pedestrians.

I'm all for cyclists recording video for actual safety issues since it's demonstrably a big problem, but this kind of behavior just makes cyclists look bad.
Three ways of handling user input
American Factory.

https://www.imdb.com/title/tt9351980/

>In post-industrial Ohio, a Chinese billionaire opens a factory in an abandoned General Motors plant, hiring two thousand Americans. Early days of hope and optimism give way to setbacks as high-tech China clashes with working-class America.
Nazarbayev is 81 years old. It doesn't seem likely he'll emerge as the new ruler, even with Russian backing. ...but he might lend legitimacy to any new leader the Russians try to muscle in.
You should see how it works in practice.

Not try to discount your goals, but chasing 8 bits is anachronistic, an ESP32-C3 is a single core 160Mhz risc-v chip with 400KB of on chip ram for $1 qty 1.

Rust can target AVR directly, https://www.avr-rust.com/

Wasm runtimes also available for embedded platforms, https://github.com/wasm3/wasm3
That implies poor training. It sounds like the people involved do not know why they are supposed to signal in the first place.
Ultralight travel is the best. I was first inspired by this post from 2007: https://tim.blog/2007/07/11/how-to-travel-the-world-with-10-...

... In the 15 years since then I've gone all over the world with just an 25-liter backpack. The biggest benefit I enjoy was the freedom to move from place to place without being tied down to a hostel/hotel/town just because "my stuff is there."

Oh and it's a lot easier to sprint through an airport to catch a flight when you have just a small backpack.

For example here's my packing list for a trans-siberian rail journey (which I would've missed if I had to wheel a suitcase as I ran through the airport): https://www.gregkogan.com/journal/russia-trans-siberian-rail...

An interesting side-benefit I've observed: When you return from an ultralight trip, you realize just how little stuff you need to be happy. All the crap in your closet feels more than enough, if not excessive. So you end up buying less step or even donating a bunch of your existing stuff, thus lightening your life overall.
You only never know where exactly it is.
Very jealous of those who can manage this. Personally i have to have one smallish bag just for my medical stuff (CPAP, ergonomic pillow for my neck, bunch of meds, the wrist braces I sleep in so I don't wake up with numb hands....)
And now we have display of "flow-root" instead of clearfix.

However the only reason I ever used the clearfix hack was when using float to do layout. I haven’t done that for ages (i.e. since CSS grew to include flexbox and grid). And I only ever use float to—well—float images inside text where the inside display is always inline. So I haven’t ever seen a need for display flow-root in the wild... Although I’m sure it exists.
Article doesn't seem to differentiate between people resigning and getting let go due to medical mandates. It'd be interesting to see those numbers.
Yes there is performance cost, but removing logs removes your ability to solve problems that happened in production. At best without logging you will have a snapshot of your program at the instant the problem was detected such as a process dump or even just a stack trace. Logs tell you what happened before and while things were breaking.
Yes, of course, that's why I used `push` at first.
I will never understand the obsession people have with hiding their private server names.

If somebody gets any access to your local network, there are plenty of ways to enumerate them, and if they can't get access, what's the big deal?

I get that you may want to obfuscate your infrastructure details, but leaking infrastructure details on your server names is quite a red flag. It should really not happen. (Instead, you should care about the many, many ways people can enumerate your infrastructure details without looking at server names.)
I once did a three week trip to Africa that involved a light aircraft flight into the Okavango Delta in Botswana. We were allowed one small backpack and a small non-rigid holdall that they supplied prior to the trip. So okay, two bags, not one, but still a significant limit given that I wanted to do some serious big-lens wildlife photography. I managed quite well although I had one day of wet very feet when I flooded my only pair of boots. I also grew a beard so that I could leave shaving kit behind.
Is the escort eVest still a thing?
Hello, Guerrilla Mail is in imminent danger of losing the http://guerrillamail.org - a domain registered since 2006, all because a single entity has decided that Disposable Email is "harmfull for the internet"

Are there more details on this? There must be more to it than a disposable email. There are many single-use email domains currently in use today.
I'm not sure it's any more general considering that you have to return an array and also treat an empty array as a 'null' value.

Or to put it another way, if I reviewed code where someone used flatMap for anything other than lists of lists I'd be likely to suggest filter/map or reduce or some other convenient equivalent depending on the purpose of the code.

Something like Ruby's filter_map[0] would do the job, although not with this particular example (because 0 is truthy in Ruby).

[0] https://ruby-doc.org/core-3.1.0/Enumerable.html#method-i-fil...
This looks kind of interesting. I might try this. Thanks.
You might be interested in reading this (very long, amateur, pseudononymous, non-peer-reviewed) analysis theorizing "SARS-CoV-2 presence in China as far back as March 2018." [0]

[0] https://theethicalskeptic.com/2021/11/15/chinas-ccp-conceale...
Local here. Brickell is a great place to start. There are lots of open air shopping and restaurants within walking distance. The mayors, both city and county, have really endorsed new urbanism and Project Zero ideas. I moved back to Miami about 5 years ago. 10 years before that you were taking your life in your hands by walking out the door. But they are building out dedicated bike lanes, public transit, and actual sidewalks.

If highrises aren't your deal across the bay is Miami Beach. The apartments and bungalows are smaller and low slung, the city is infinitely walkable, and you are a few blocks from one of the best beaches in the world. It's still relatively affordable, but not for long.

The actual tech scene is miniscule and feels like I'm at a dentist convention happening weekly. A lot of our co-work, makerspace, and VCs host mixers and happy hours. This is more for new arrivals than anything. Old tech prefers to live out west and north. There is still a lot of radio and aviation tech that happens away from the startup scene. They don't attend the meetups.

Job wise it's not the best. If you come here with remote work contract you are golden. There is a lot of LatAm and Caribbean tech companies who tend to be penny-wise and pound foolish. Salaries are lower because why pay NYC/SV rates when you can get a fresh CompEng immigrant for cheap and who'll culturally be a better fit.

What we do have is a lot of regional sales and finance offices in the downtown core. This masks the fact that they are just the go between and don't have a lot of decision making/innovating going on. For example, Miami technically has the largest number of banks in the US outside of NYC. Microsoft, Google, Dell have a regional office here but no actual engineering goes on there.

At one point career wise I got trapped here and vowed never to return. But wanted to have my family be closer. I had a remote job with a European tech company until that didn't work and now I'm working for another tech company in a different field. A lot of companies are supposedly looking for senior engineers in a city where there barely any mid-level engineers. So the benefits to local talent seem to be wasted and creating some resentment.

The entire tech scene is just a pocket. It entirely fits in a few square miles; almost all of it east of I-95. Living here is going to be a culture shock for a lot of new arrivals. You'll wake up one morning and see Santeristas sacrificing a chicken and that sort of thing.
"I think it's the point that trusted computing is optional"

It is optional the way the Internet is optional; in theory you can live without it but no longer practical. If companies keep pushing these systems, eventually they will become a requirement all over the place. Microsoft's track record with UEFI bootloader restrictions makes it pretty clear what that future looks like: cheap devices used by the masses will be more heavily restricted, while those who can shell out 3-4x the money can get a computer that at least allows them to run whatever software they want to run.

"why should Netflix give you a full 4k stream when you've chosen to disable the widevine extension in your browser?"

Why should Netflix dictate what hardware and operating system I get to run? A basic design principle of the Web, which Netflix relies on to avoid having to provision set-top boxes for their customers, is that anyone can implement a client without first seeking permission. In an ideal world Netflix would have to respect the basic design principles of the Web and of the Internet in order to benefit from those systems, but we obviously do not live in an ideal world.

The largest companies in tech and media are trying to rewrite the rules of the consumer markets they do business in for their own benefit. For the entertainment companies DRM is a convenient way to avoid copyright laws (i.e. the part where copyrights expire and where fair use is a defense against infringement claims), and for tech companies DRM is a strategic play that allows them to control the devices they sell to users and monetize that control by selling DRM features to media companies. The legal and financial structures in place today encourage this behavior, and the concentration of power and lack of effective competition are making it possible.
Have they ever figured out how the Romans made concrete and got away with not using rebar ???.
Modern games have a shit-ton of assets in high quality. That takes up significant space no matter how you deal with it.

Electron generally isn't doing anything more interesting than what we did on Win98 with 8MB of ram for the entire system.
Yes! And I think it's fair to assume that the vaccine spike can distribute widely throughout your body. Long covid and a subset of vaccine injury cases are very hard to distinguish. They present the same symptoms.
In Saughton Jail Part 1
I've seen videos of traffic in NYC. Pretty much, everybody is breaking every conceivable law -- drivers, cyclists, pedestrians -- constrained only by the laws of physics and human / machine performance. Naturally this is coming from a non resident, so I can't speak from experience whether there are local customs involved that keep people safe.

It's not qualitatively different in my town, just less crowding so that people have less of a reason to break the rules. But still, for each modality, the rules broken are based solely on opportunity, convenience, and in some cases self preservation. For instance, cars can exceed the speed limit but bikes can't. Bikes can blow through stop signs because they can. Getting out of intersections quickly reduces the chances of getting hit. Pedestrians walk in the bike and traffic lanes when convenient to do so. Enforcement is triggered by enough people complaining, or a preponderance of accidents.
>But it should be said, it can be dangerous to flash configs from random sources to your ECU.

Yeah, hence my search for a reputable source :/

Do you know what the general process is for tuning an ECU map, by any chance? (If not, no worries -- you've already been incredibly helpful!)
> if looking at a file that might be renamed and stop updating (i.e. log files that are rotated). Without a filename the file descriptor is followed so when for instance access.log becomes access.log.1 your display keeps following access.log.1 not the new access.log which is probably what you want.

I believe that's true if you name a file as well (just tested it on Ubuntu). You keep following the original file you named, even if it becomes renamed; you don't follow a new file by the same name.

Using something like "watch -n5 tail filename" polls every few seconds to show the bottom of a file, and goes for the current file at that filename each time.
> Both Python and Perl made bold transitions, Python from 2 to 3 and Perl from 5 to 6.

Perl 6 (Raku) is effectively a different language. Porting from 5 to 6 would change most lines of code, in other words, a complete rewrite. To ease transition, Perl 6 made it so that both could coexist, but if you want to go v6, then it is all or nothing.

Python 2 and 3 are not that different. You can easily write code that is compatible in both, and porting is often not much more than using 2to3.py most of it is replacing "print" with "print()" and converting between bytes and str.

Perl strategy was that to create a modern language inspired by Perl, in indeed, Perl 6 has quite a few features ahead of its time. And Raku (the new name for Perl 6) is still one of the most advanced language today.

Python strategy was to keep the same language but address a few pain points that require breaking compatibility, Unicode in particular.

Perl 6 took a much bigger gamble.
> Bring it up with your manager and they should push for it if it makes sense.

Wholly agreed, but the word "should" is dual-meaning there. The implication I get from the article is that even if management "should" listen to this feedback and push for change, it doesn't necessarily do that, given the track record of overworking people and having little change in the software since the beginning of the company. It's a little easier to believe they top-down ordered the worker bees to shut up and be happy with the tools than it is to believe they nailed the best UX for 2021 chip-building in 1987...

Sure, sure, sure: they are massively successful and that must mean there are zero improvements they can make to their processes, as the ancestor comment implies. Or maybe, just maybe, they could continue working on efficiency and do even better.
The interesting generalization is that once you realize that flatMap lets you map and filter at the same time is that you can generate arbitrary elements in the output list corresponding to each item in the input list. For example,

ls.flatMap(x => {
if (x < 0) {
return []
} else if (x == 0) {
return [0]
} else {
return [Math.sqrt(x), -Math.sqrt(x)]
}
})

gives you all the real square roots from the original list, doing the mapping, flattening, and filtering all in one function call.
Ask HN: Will humanity fight a doomsday virus with a man-made virus?
Suppose there isn't enough time to develop a vaccine in sufficient quantity.
A toxic lake in CA has enough lithium to transform North America's EV industry
Interesting question. You could also ask - is there anything positive about jail?

It gives you a lot of time to think about your life, that's for sure. I finally had time to think that while I believed myself to be a good husband, I realized I'd actually been a pretty shitty one. It gave me a chance to finally understand and self-diagnose my mental health issues.

I lost 90lbs in the first six months of jail. I went from an overweight 260lbs to a sane 170lbs. That was from being able to strictly control my diet and do a bit of exercise in my cell each day.

If you love reading, like I do, then you can do a lot of that. The biggest problem was access to books. In some jails, e.g. Cook County Jail, you might have almost no access to books unless someone sends them to you from the outside. And if you read a book in three days like I do, then your friends and family might get exasperated at constantly sending you $20 books for eight years. Also, the guards are going to take all your books off you as fast as they can and throw them away. I read over 800 books in jail.

I went to the Hole three times for 10 days a piece, once for telling my wife in a letter that I'd traded a packet of coffee for a stamped envelope, second time for taking too long trading my rice with someone for a chicken nugget, and third time because the jail had a secret intelligence operation running against me (I got all the documents under FOIA eventually) and so the guards threw contraband into my room, right in front of me, and then arrested me for it.

For 10 days at a time, the Hole isn't so bad. I don't know if I would hate it more if it was longer. My first trip there I wasn't prepared and didn't know how anything worked. They had a great selection of books in the Hole if you could get to them. The next two times I went I distracted the guards and managed to grab books before I got locked into the cell, so my time went a lot better. The first time I went they had a policy of putting you in there naked for the first day, but I sued over it, so the next two times I didn't have to suffer that indignity.

You can usually get some peace in the Hole. Jail isn't good for people like me who don't mind isolationism because 99% of the time you will have a cellmate to start with. If your cellmate cannot or does not want to read, then they will try to talk to you for the 16 hours a day you are in the cell awake together. And when you are out of the cell you are likely in a room the size of a standard living room, but with 50 other guys, so you will get no peace there either. Going to the Hole might be your only chance to get a few minutes of quiet.
Ask HN: How would you improve collaboration on Github?
If they wanted to be “the most COLLABORATIVE technical community in the world”, what would look like to you?
You have got to really love a company to be willing to be promoted within it, given that it seems to take longer (as you can be hired for potential, but they want proof for promotion), suppresses your compensation, and requires learning politics.
the dream of digital nomadism
Excellent article! Something I've been wanting to write myself for years. Love the first example: try ... catch(ex), log(ex). I've seen numerous developers do this and it's always unnecessary unless you can't catch exceptions globally. Just log all uncaught exceptions in something like Sentry, or a file for that matter, via a global exception handler. It's not about eliminating all possible exceptions, it's to avoid writing a bunch of boilerplate, since every line of code could potentially fail at some point. In the rare cases where some additional context is needed besides what is always added such as the current user, then of course, log away, but write a long comment about why the exception is caught just to be logged.
Because SSR has a couple of advantages depending on the use case.

The most obvious is SEO and being able to send HTML without any JavaScript.

Doing SSR is also simpler than a well made SPA, generally speaking. Your api can be reduced to post requests, or removed entirely. The routing and navigation is much simpler. Etc.
This guy is just another stalker. There is absolutely no heroic actions cycling through traffic jams and filming bored drivers in cars playing with their phones.

I even more hate governments outsourcing law enforcement to the self made sheriffs. Make a fine for not using turn signals 100€, let few masked cop cars work a week or two in a city and voila, bad driving culture is suddenly fixed. Why does it not happen!?

Edit: would you like another stalker filming you in your house? Maybe you do drugs or beat your wife? You know, filming is very important to prevent the crime. Powerless person just wants to help the police.
Coursello | Washington, DC | DevOps Engineer | REMOTE | https://www.coursello.com

Coursello is a new education company on a mission to make high-quality courses accessible to all students. Founded by a former principal and leaders from LearnZillion, eBay, and Apple, Coursello provides schools and districts with high quality online courses that combine the flexibility of asynchronous learning (learning that can happen at anytime) with the interactivity of synchronous, small-group learning (learning that happens live at a scheduled time via videoconference). Coursello is backed by A-Street Ventures.

The Lead DevOps Engineer will report to the CTO (that's me) and collaborate closely with course designers and teachers. They will be one of the first technical hires at our fast-growing startup! We're looking for someone who can wear lots of different DevOps hats, and be open to learning new technologies as needs arise. We would like to hire for this position by the end of February 2022.

To see more info about the position, and to apply, click here: https://grnh.se/f3a83a8a4us
i am forced to do sudo -s, enter my password and then enter

echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind

this is because somehow my usb is broken on motherboard and it makes cpu 100% with full fan running, some over current issue. this command disables all usb.

the problem is i am forced to open terminal, up, enter password, enter, up, enter, exit, exit on every boot time.

it gets tiring and i found no good way for bash to automate typing password on sudo -s. any ideas?
Obviously there are reckless cyclists, but I see that NYC helpfully posts public (and up to date!) data about collisions[1] which shows that cars and trucks are far more dangerous to pedestrians (presumably even that too-fast e-bike and rider don't have much mass compared to an SUV...)

1: https://www1.nyc.gov/site/nypd/stats/traffic-data/traffic-da...
Those are just the places I've worked. Am I not allowed to speak about my personal experiences? Should I have said "at a high stress rocket company", and "at a FAANG company"? I thought it was relevant and interesting since SpaceX generally ranks high for burnout, and Google is generally considered a silicon valley ideal for comfort, but in my experience it was easier to find a sustainable balance at SpaceX than Google.
The news media is kind of fickle about coverage about anything that doesn't get more ad revenue/impressions. Everyone's filter-bubble affects what they see. At least last July it got a minor boost of awareness from the White House:

https://www.washingtonpost.com/politics/biden-ada-long-covid...

Medically it just seems to fall outside the flowcharts of modern medicine where an "easy fix" or "procedure" is not prescribed. Going outside of the "acceptable medicine" of what insurance will cover is practically a unicorn event. So you'll see a lot of doctors just calling it "anxiety." Functionally, Long Haul Covid has become a huge cash bonus to medicine as sufferers get referred (passed around) from specialist to specialist for more testing and diagnostics that nearly always comes up as "normal."

About the only good news about this situation is very likely once they really get the studies done (and they're going to have to do it, because there will be millions of people suffering from this) they are likely also going to find how to help people with chronic fatigue syndrome (CFS) since all the long hauling symptoms appear to over lap. CFS sufferers already have had the feeling of being ignored/ridiculed by medicine for decades.