skysight-inc/HackerNews huggingface dataset:
> A dozen lines of nested types are like a dozen lines of source code, and I generally recommend treating them the same if they aren't legible: poke it with a REPL (in this case, try to declare a variable or new type that should work if your understanding of the types are correct) and see what the tools say.

None of these actions make types documentation. The necessity to do this makes them a hindrance at best.

> I think people tend to under-declare their types [i.e. they'll do "Record<KeyType, Array<{name: string, address: string}>" instead of "Record<KeyType, EmployeeRecords>"

Oh god, so true :)
I worked for a home automation kind of thing a few years back and... it's hard. The part I worked on in software was fun, but it's just so difficult to deal with the lead times and difficulty of updating things and doing customer service.

More power to you if you're making a go of it.

Years ago, I worked on these, and it was so much fun, because of the variety of (smart) people involved, from tracing the light rays through the machine to motors, firmware, and all the rest. https://www.icare-world.com/us/product/icare-eidon/
> I understand this position, but I do see several trackers ("telemetry") get blocked by uBlock on my bank's website.

Which is why I'd leave uBlock whitelisted. I never said I want to block all extensions!

> I doubt Mozilla will hire someone to monitor the changes to banking URLs around the world

uBlock effectively does this for advertising domains. Why is that any different?
New Glenn has a potential path to compete with Starship eventually, with BO's work on making a reusable version of its second stage. It's years away at best, but it's arguably more than anyone else is doing.
This is fun! Look like SQLite is getting all kind of Network protocols recently
What is next ? Will SQLite learn to speak MySQL ? Oracle ?
OpenPC – Easily Run Playstore on Windows
The metric to look at is
viewers per dollar. If Foundation or The Expanse drew in viewers for the millions per episode spent on them, that would be one thing. But if you spend a tiny budget of a couple hundred thousand dollars, max to make an episode of, say, Naked and Afraid, and got commensurate viewership, if not higher, what would you choose, if you're running a business. Combine it with the fact that reality tv contestants don't receive residuals, there are no union writers to pay, it's obvious which direction the American TV business is headed because reality tv is a ridiculously better deal for them. Get the theme song recorded as a work for hire as well and it's pure profit for Discovery.

It's not great for the industry but culturally, we're not supportive of strikes worker rights, especially if the media tells us it's okay to hate those workers for being "rich" Hollywood folk (most writers are struggling), and doesn't point out we're supporting scabs by watching reality tv.

We may all want to watch Ballers or some other a tv show starring The Rock but he's the highest paid actor in Hollywood and is able to command a share of the revenue from the show. It's not publicly known for him, but the TV show friends had their actors earning a million dollars per episode by the end of it, and they get paid residuals for every time the episode gets watched. Meanwhile in a race to the bottom, reality tv show contestants are often (sometimes literally!) fighting for table scraps from the tv studio. A one time appearance fee $25,000 or lower - and the beauty of it being a contest is you pay the losers even less,
if at all! Hell, some of them do if for the exposure and the experience and go home with nothing other than being able to advertise for their restaurant with that claim to fame for their restaurant.
You don’t need an “opinion” about whether Musk is blocking Twitter links he doesn’t agree with.

That’s an easily verifiable fact that you could have found out about just by reading the link you refused to read.
>But seriously what if modern OSes were as responsive and resilient as QNX?

Look into Fuchsia, Genode, and Managarm.
What? No. I've never used incognito mode for that purpose. I still want my banking site to be able to, for example, drop persistent cookies (for example, to indicate I'm comfortable bypassing two factor on that device).
It isn't what I think it is?

Oh.

Then it must be:

command ls -F directory | grep -v '[/@]$' | nl | tail -n 1 | cut -f 1

(-:
I don’t think active noise cancellation can work like you are hoping. Active noise cancellation works for a target location (your ear’s location) not for a general area. It works by wave superposition cancelling out the wave for the target location. But the waves won’t cancel at any other location.

I think you want something more like metamaterials that can be put on walls for homes and offices. Like https://www.smithsonianmag.com/innovation/new-material-acts-...
I thought the primary purpose of web workers was that the browser can run the workers in parallel to the main thread. As the spec says:

> [Web workers] allow long tasks to be executed without yielding to keep the page responsive
I'm not saying this is your intent, but it is a pretty privileged and insular take.

If new events or a new policy change unfairly affects a (neighbor|friend|minority group|stranger), is it a good thing for the unaffected to plug their ears and go about life?

I don't mean to suggest following the news 24/7 is a solution to this, but I also do not see how it's healthy for every person to ignore everything that doesn't personally affect them.
While I've not noticed any settings being ignored, I suggest to use policies(either GPO or "policies.json" when it comes to telemetry. As for experiments I've been running ESR for so long that I don't even know what these are supposed to be or do.
I am making and selling an eink smart screen.

It can display a google calendar.

You can also point it to any url that serves an image.

Is it okay to post a link?

https://shop.invisible-computers.com/products/invisible-cale...

I am planning to release more applications for it and I am opening the platform for 3rd party applications.
Let's not forget mozilla prioritized renaming master password to primary password before adding back in print to Firefox mobile, and it's still missing..5 years later...
Beginner's mistake!
And the number one secret: making it easy to use Linux drivers.
I think this depends on the field. For example in CS, my advisor straight up told me multiple times to stop worry about class work. His exact statement is that "There isn't anything more that you will learn in classes that you won't learn in greater detail doing research".

His logic is that when you are doing research, you are pushing the envelope into new territory that can't be taught in a classroom. When you are in a classroom you are learning old material that is already well-known and established.

This is very true in CS. But far from true in Math and Physics where there probably is a lot of advanced learning available in classes. The few classes I had that he actually endorsed being "worth your time" were Math classes focused around encryption (of which I took 3 different ones).

But my advisor was unique because he was 100% there for the research. He only taught because the university forced him to. He lived and breathed research and that was the only reason he was in academia. He was truly passionate and worked 10+ hours a day on research, but thats why he was there. He had a very low opinion of classroom teaching.
Location: New Jersey, USA

Remote: Yes

Willing to relocate: Yes (USA only)

Technologies:

Back-end: Django, Flask
Programming: Python, Go, Java
Databases: PostgreSQL

Résumé/CV: https://drive.google.com/file/d/1Vq46hguogt95H7yHTgUZzrWDmdU...

LinkedIn: https://www.linkedin.com/in/arjun-hm/

Email: ah795 [at] njit [dot] edu

I'm a CS graduate student at NJIT. I've worked as a backend developer for three years. Currently looking for co-op/internship.
Every department I've worked in mandates 2 supervisors to mitigate against this, because it's reasonably common for people to move departments, go on sabbatical or just quit. Even with tenure, life happens and people need to leave their jobs. In theory, the department shouldn't allow advisors to take on more students if they're close to retirement though.
I haven't looked much at Brave, does it have nested vertical tabs and bookmark tags? Those are my killer features that I really don't want to give up.
> it does not follow that there is absolutely nothing after clinical death.

Where's your evidence?

What if I claimed when you die you are reincarnated as a zebra on omnicrom-5? Why is that more or less reasonable than an explanation some religious leader made up one time when he was high?

Anyone can come up with some ungabunga, but unless you have evidence there's no rational to believe it.
Depends on the company. Sometimes you get extra interviews in addition to the generalist ones.
Sadly this seems to be the most likely considering how the US is ran
Twitter was locked in a chaotic doom loop. Now it’s on the verge of collapse
> who's to say that an artificial neural network should not be allowed to do that?

If I'm the creator of the work, I get to say that. That I have no means to enforce that is precisely why I've taken all of my work off of the public web.

> There's no realistic way to differentiate web access for human purposes vs. AI purposes in the long run.

Right, which is a very serious problem.
> success

Can somebody elaborate on FreeBSD's "success"?
once configured, I have always had my settings honored

totally different experience, FF ESR decided to update itself just the other day and break a bunch of stuff out of the blue, because of course moz://a knows better what I need and when I need it. It is very sad people like me need to put up with this abusive behaviour because the alternatives are worse
Well a) you can indeed literally replace gas by biogas, b) your article suggests that we can't quickly replace Russian gas with biogas, which is true. But there's nothing that can quickly replace Russian gas, we can do a whole bunch of things (imported gas, imported electricity, imported chemicals, renewables, efficiency, heat pumps) but even that isn't a perfect short term fix.

But it's already at 5% of the electricity grid, and that's about what would be needed in a mostly renewable grid. That's the only use of gas we want long term, the rest should be phased out anyway. It's a big, epensive engineering project, but not as big and expensive as building lots of nuclear.

As your article says, think of it as a way to get rid of methane emissions from farming, with storable energy as a bonus.
It's not shame, but IMO if you value your time very little than sure dumpster diving can pay off.
I can see the need to deactivate some extensions on certain websites. For me that's mostly a "make the site work" workaround than a security feature but anyway.
I can recommend using different browser profiles for specific setups (e.g. banking). Linux Mint has the Web Apps feature (https://www.makeuseof.com/how-to-create-a-web-app-in-linux-m...) that lets you configure different browser profiles and as a bonus it turns the web site into a desktop app.
The downside of it is that each browser profile needs its own config, i.e. you have a lot of repeated overhead and you need to reinstall extensions into every profile. But on the flipside I can control which extensions I want to have in there.
Separating two things isn't necessarily expensive. Think of coin sorters that just use gravity and different sized holes.
OVH, Shadow and Qwant join forces to create a European Google
> init system (with real PIDs).

I like FreeBSD's init system too, but what do you mean about PIDs?

> WiFi drivers don't work unless it's a ThinkPad I think

That's not it; FreeBSD works fine with the wifi in my Dell. I grant that the driver coverage is probably more spotty than Linux, but it's just on a per-device (card/chipset) basis.
That's because you are human and have rights that a computer program doesn't
>However this feature can be disabled, or otherwise overridden at this time by the end use

Key words "at this time". In a few versions maybe they take that away and you can't block ads ok YouTube because Google threatened them.

Building the capability and hiding the options in the about config is opening the door to a lot of bad decisions later on.
Very much on point. Where else can you get payed for doing essentially whatever you like for a few years?

At least for me, that was actually worth the hardship. Although there was a lot of hardship. It was still an incredible, and ultimately empowering, experience.
I have really good analytical skills which I leverage to tackle issues in large scale system piecewise. I have to suspend my skeptical mind and switch to blue hat thinking to come up with something from scratch. Then I take it apart and iterate over it. I don't think large scale system design is a straightforward process and pretending it is so may very well lead to living in interesting times.
I have often wondered about this: does padding and chopping to context size along arbitrary boundaries have lasting effect on the overall data (due to misalignment at the ends, some words or lines getting chopped in the middle, etc.) Does that net out, because we do it consistently, or do we lose vital information that's compounded across the entire training data set?
Show HN: Pallas – The Future of Truth
https://en.wikipedia.org/wiki/Bret_Victor
I remember reading that it causes some problems related to fishing because the fish all migrate further out.
I did some experiments to find out what is the bare minimum I would need for remote work (VPN+RDP). It turns out it would be possible, albeit a bit slow, on a Pi B (512MB of RAM) using OpenBSD or FreeBSD. The latter was a bit faster.

With Raspbian, I would need more memory (1GB did the job).

On the negative side, there aren't as many packages for the BSDs on ARM.

Anyway, it got me interested enough to buy an x86 laptop just to run FreeBSD.
If this were a camera that identified when and for how long a software engineer showed up to the office and notified their employer of "unwanted behavior", how long would it take for that story to end up on the front page of this site and torn apart as invasive and infantilizing?
Wet bulb isn’t an issue in notoriously dry Phoenix. If your power goes out in Phoenix you jump in a pool.
I work on software at a hardware startup that is designing and manufacturing a next-generation electrolysis plant for the production of green hydrogen. My personal experience has led me to believe that opportunities to participate meaningfully in climate tech are exclusively available at hardware companies. Anyone attempting to solve climate change with software is at best skimming value off of the work being done by others in the physical world, and at worst creating markets for corporate greenwashing.
We make the world's best baby car seats. https://www.kioma.us Fatherly Magazine calls it "The Car Seat of the Future". It's been crash tested, flight inversion tested, flammability tested and mom tested. It is full of patented innovations to make kids safer and parenting more enjoyable.

It required lots of material science, production techniques, supply chain adjustments, and a surprising amount of software (to model dynamic stress, and to run the robot and CNC trim paths). Once you get to the point you can clearly articulate your BOM and Specs to a manufacturer for MOQ=50, things get a lot easier. At the prototype stage we built everything ourselves, but now we use OEM manufacturers.
Frankly, the fact that it survived 30 years (and is still very actively used and developed and deployed) counts as success in my mind.
Correct, I believe it originated with Microsoft via .Net in the mid-2000s and was picked up by the JS ecosystem much later. The fact that Microsoft had a hand in async/await’s emergence may influence how people feel about it.
Thanks for the reply. I am still having a hard time seeing why "turning up the number of threads" doesn't solve this. Maybe for languages with JIT runtimes where each process occupies a larger piece of memory, that could be a problem. But then I see virtual memory coming in, because as you say, most of those processes are doing nothing.

I think I'm going to do some research and see what benchmarks/measurements I can find.
The tradition of async programming goes back much further back than JS. Doing async I/O — usually referred to as event-driven programming — has been a popular technique in C and C++ for decades, with epoll(), kqueue, libevent/libev/libuv, Boost Asio, ASE, and so on. A lot of modern C software is built on async I/O, notably projects like Nginx, Memcached, Tor, Chrome, ntp, Redis, etc.
What I mean is that if preserving invariants across function calls is important enough that an async call can break it, you want the invariant to be enforced statically by the compiler and you do not want to rely on visual inspection of the source to confirm lack of reentrancy.

Once you do that, you do not need a call site annotation that a function can be preempted as the compiler will check it for you.

Rust is uniquely equipped to enforce these guarantees.
You still have to lift all the coins.
A "heat pump water cooler" also exists and is better known simply as a water cooler. You know, the one that people gossip around.
The way to switch career directions is to get a new position...or morph your current position (the worst that could happen is you get fired and then you get a new position anyway).

Grad school is the other way to reposition a career.

However, you have a day job so you can do the things you dream of doing. So if you dream of playing with C, play with C after work. Just like you would play the guitar or golf.

Good luck.
Show HN: Cheerleader AI – A group of bots that encourage you
I built a tool called Cheerleader AI that uses GPT to provide personalized motivation to users. You type something, and get a whole group of users sending you encouraging messages. I've always loved the motivation I'd get from friends encouraging me, and I wanted to see how it'd feel even if I knew the responses were AI generated. Turns out, it's still decently satisfying and actually has helped me restructure my thought process during the day.

I'm currently working on making the responses have a bit more variety, and I'd love to hear any ideas or suggestions you all have to make this tool better.
You need to bring the coins uphill in the first place.
This is an overly cynical take. Ultimately all of the power in the US resides with the voters. Yes they are susceptible to manipulation, however they have the tools to resist the manipulation if they so choose.

It's a fallacy to think that because one person can't single-handedly change the world that change is impossible or that people in aggregate have no power. It is this fallacy that is at the center of trained helplessness.

It is the idea that if people want cleaner streets, they are incapable of sweeping them. If they want more supportive communities, they can't walk out their door and help someone.
Also when HR approaches me about it, I tell them their rules are stupid, but I am willing to educate them and show them how to write the correct rules, if they ask nicely.
Do you need a password on your gaming machine? What is your threat model?
> Are regular expressions hard to read? Sometimes they can, especially if you haven't gone out of your way to take deep dives. Are they not perfect for a lot of parsing tasks? Sure, there are definitely things people shouldn't use regexs for that they do, like validating emails. At their core though, regular expressions are one of the most power dense tools we have in pretty much every language. The insane stuff you can get done (sometimes in a way that would be frowned upon) in so little time if just incredible.

The real crowning use case for regular expressions (at least in terms of parsing-like tasks) is when you've got formats with varied delimiters. So one format I was parsing this weekend was basically header:field1,field2,field3"data"hash (with a fixed number of fields). Or another format I work with is suite~split/test1,test2@opt1:opt2^hw1^hw2#flags1#flags2 (most of the elements of which are optional). Regular expressions shine here; using primitives like split don't quite cut it in these formats.

And I think this also is a major cause of why regular expressions tend to become unreadable quickly. If you look at parsing via regular expressions as a whole, there's basically three things that are being jammed into one expression: what are the delimiters between fields, what is valid in each field, and which fields are optional. These are basically three separate concerns, but most regex APIs are absolutely terrible at letting you separate these concerns into separate steps (all you can do is provide the string that combines all of them).
It also lets experienced developers who are inexperienced with the code base become productive faster. It's a boon for anyone who hasn't been there since the start.
This guy talks a lot of crap. See his website for examples, and don't waste your time with him

<<<There is one significant drawback that should not be understated. Algorithm design using topology manipulation can be enormously challenging to reason about. You are often taking a conceptually simple algorithm, like a nested loop or hash join, and replacing it with a much more efficient algorithm involving the non-trivial manipulation of complex high-dimensionality constraint spaces that effect the same result. Routinely reasoning about complex object relationships in greater than three dimensions, and constructing correct parallel algorithms that exploit them, becomes easier but never easy.>>>

http://www.jandrewrogers.com/2015/10/08/spacecurve/
10x BOM? Why is the bar so high for profitably?

There are manufacturing costs, marketing and inventory risk. But still… what am I missing?
Yeah, true. But it turned from a "we don't have enough of element XY on Earth to build that" to a "it sounds kind of expensive" problem. As it turns out people did the math already and building the hydrogen infrastructure is probably not prohibitively expensive, in fact it might turn out to be reasonably cheap. There is a tradeoff between overbuilding renewables, improving the grid, making the demand side more dynamic, and storage.
Germany is exporter of electricity and importer of the fossils it burns to make it... Brilliant...
I heard of one but the guy went back to do his degree when he was in his late 30s. He came in with a game plan, executed, got out.
Probably very dumb idea, but would it be feasible to just pump and sprinkle sea-water on hot, dry desert and let it naturally evaporate, and then collect it as fresh rainwater back? i.e. how much water would you need to evaporate to have a noticeable increase in rainfall?
So is my own site: https://twitter.com/rauchg/status/1652093980958683137

Scores need to be adjusted by and looked at through the lens of complexity. Next.js powers some of the most sophisticated web applications in the world, not just your blog and mine.

e.g.: the instant you bring "necessary evils" like display ads, your scores WILL suffer.
I believe this, yes.
I see that shipping to Europe is not yet supported. Do you have plans soon?
It's not tricky, but it's a lot of work, which is a kind of difficulty.
That doesn't make them a buzz word.
I found this:

https://deno.land/manual@v1.35.0/runtime/http_server_apis#ht...
Zuck is very fit and already had a cauliflower ear surgery from an MMA session.

Musk will get his ass beat hard unless he commits time to mastering BJJ &| Krav Maga.
Literally nothing I have ever read about Nintendo makes me think this would even give them a moment of pause as they sue the author into oblivion. (This is a comment on Nintendo's behavior, not the legality of the author's actions.)