skysight-inc/HackerNews huggingface dataset:
> I find it almost always better to write dumb code like this until I it does what it needs doing

Same! Then I abstract. But others never get past cut & paste.

> DRY is about knowledge representation, not about repetition or boilerplate

err, isn't it exactly about not repeating yourself? I mean, for the ultimate aim of representing the thing better, don't repeat it everywhere, ergo encapsulate?
I heard it's also for SEO purposes, more keywords to show up in search engines
"Mypyc is currently alpha software. It’s only recommended for production use cases with careful testing, and if you are willing to contribute fixes or to work around issues you will encounter."

At least for now, I wouldn't use it in production.
Treat them with respect, sure, but set clear boundaries. There's a lot of parent that try to be reasonable and respectful to their kids, going into long rants about what they did was wrong and all that, but at some point you need to be curt, direct, and blunt, and take a stand.

Like on the car road trip, instead of dragging it out with individual pieces of candy (that'll take forever), stop the car and give them a Stern Talking To. Interrupt the flow of the moment.
The pragmatic conjugation of the German language maybe does not lend itself to an air of romance, but yes I definitely got that wrong.
> It seems like looking for a reason to be indignant about something and really
scraping the bottom of the barrel.

Not a very helpful or nice comment. Do yo have anythig useful to
contribute to a sincere discussion?
Honestly most chips in cars won’t have much to do with the infotainment system. One of the first places that chips got added to cars was fuel injection system. Most of the chips in cars are in there to micro optimize the way the engine runs so it runs cleaner and more efficient. That is pretty much why they are roiling back the emission standards because without chips for new cars or spare parts for existing cars those optimizations are going by by.

To your question about security, I’m sure they use microchips for modern braking systems too, so you would loose some security there.

When it comes to price, I don’t think you would win much there either. If you remove chips to make things more affordable you won’t save as much as you might think and have to come up with new solutions to problems that have been solved over the last 30 years with chips. Cheaper cars aren’t really getting produced much because they don’t get bought enough. To many people want to “represent” with their cars and spend more on them because of that. That sort of killed a wider selection of cheaper cars.
I think Yanis Smaragdakis Onward! 2019 paper fits here "Next-paradigm programming languages: what will they look like and what changes will they bring?" https://yanniss.github.io/next-paradigm-onward19.pdf

He has done a lot of work using datalog and argues, convincingly in my opinion, that it is reasonable that some of the elements of datalog-like programming will be part of the future. For example, that there is a very simple way to express a relational-join and the underlying machinery figures out the most efficient way to do it, just like a DB query optimizer does.
"Do a common thing, but wirelessly", is the same level of worthless patent as the old "do a thing, but on a computer/the internet" of the 1990s.

I get that the wireless tech itself is patented, but using it for existing applications should not be patentable.
Which isn't hard. Support can increase it, but there are some proviso's such as increased deploy/boot time
Love the design, very clean and simply! Has everything I need, and nothing more. Looks like you got the server load under control too. Bookmarking this
As the co-creator here I'd like to add that Joyride is taking the very first baby steps here. We hope a lot of people want to try it and provide feedback to inform our next steps.

NB: The video has a target audience of people who know Clojure and its strengths. Especially how the REPL is used. I hope HN will see beyond the parens. =) It should make some sense anyway. Especially if you have some Emacs scripting experience, because that is where most of the inspiration to Joyride comes from.
> IANAL, but ripping a CD that you own and then using that digital music yourself is legal - providing the songs to someone else (who hasn't paid for the album) isn't.

I am also not a lawyer, but I'm pretty sure that providing files you ripped to someone else ISN'T legal, even if they"ve paid for the album:

https://en.m.wikipedia.org/wiki/UMG_Recordings,_Inc._v._MP3.....
(For non-negative v) v^2 is less than one if and only if v is less than one. That's why the probabilities have to agree in our specific case.
Well as the renter in these situations, at least with cash you can see the place first. If you pre-pay into a dirty airbnb, good luck getting your money back.
Ask HN: How to Build a Minimal Drone
Where to find requirements/components.

Anyone know some resources.

thank
This has been the same for all culturally accepted biases. Theyre all completely ok until theyre suddenly not and then a maelstrom of controversy accompanies its transition from ok to unacceptable.
I think the simple answer is given enough planning, time, resources and the right kind of leadership and precise execution that brings it all together, you can ensure that something as complex as JWST can be made as well as it did.

Development for it started in 1996 and it was expected to launch ready by 2007, only for it to be delayed 3 times until it launched in 2021. During that time $10 billion was spent on it, and an estimated 10,000 people worked on it. With all that time and resources it’s not really a surprise to me that everything worked as well as it did.

I don’t like to think of it as a miracle or luck (although luck obviously plays a role, it always does) per se because that takes away from the long term planning, effective management, and extremely good design and engineering decisions that made it all possible to begin with. In the end though if the people who worked on it weren’t fully invested in the process, and didn’t believe in the purpose JWST serves then it probably would’ve failed no matter how much time and money would’ve been dedicated to it.

I wish my answer was a bit more technical and not so vague in general but I don’t have any skin in the game, so this is just my opinion and not exactly a qualified one at that.
I raced solar cars in college. One car we built had a solar concentrator system made up of 1D parabolic mirrors. This was a several hundred thousand dollar system due to the use of specialized concentrator cells, and required multiple team members to temporarily move to LA for months to delicately manufacture the cells in a Spectrolab clean room.

The concentrator mirrors had to be aimed within about 2 degrees to aim the light onto the active area of the cells. I tried using a pair of photodiodes as the sensor, and it worked well in early prototypes. We flew out to Australia before the system was fully integrated into the car, though. In the real setup it just wasn't precise enough. On top of that, the aerodynamically shaped acrylic window surfaces created weird refractions and reflections that made the accuracy poor as well.

I had a couple weeks to figure something out, with a bunch of PIC18F4680 MCUs on hand, and access to parts from Dick Smith's. I ended up buying a small PAL security camera to experiment with. I went to a nearby photo center and got some overexposed film negative to use as an IR-passing filter. With enough layers of film, the camera image was completely black other than a white dot when pointed at the sun. Looking at the analog video signal on a scope, I was able to rig up a couple fine-tuneable voltage dividers and then use the MCU's dual comparator peripheral to generate interrupts on sync pulses and on white pixels. I could then count scan lines, and detect scan lines with the sun in them, giving me a Y coordinate precise to a fraction of a degree. I also got an X coordinate by timing between syncs and white pixels, but I didn't need it for control. I then mounted the camera on the concentrator mechanism, and wrote a basic PID controller.

It worked pretty well, and we were able to happily concentrate sunlight while driving at highway speeds.

It turned out the linear servo mechanism had a design flaw, where it would lose too much mechanical advantage at the extremes, and in the presence of road vibrations it would jam. We discovered this fairly early on in the race. Luckily I had wireless control of the motor over our telemetry system, allowing me to keep the motor from burning out. We drove a couple hours with the system jammed, taking the power hit over losing race time. Someone realized we would be driving over a "cattle grid" soon, and we had the idea to try running the motor at full torque to see if the shock would be enough to unjam the mirrors. It worked, and we suddenly started getting several hundred watts of additional power! After that day, we tied a string to the mechanism and routed it up to the driver cockpit. Whenever the mirrors got stuck after that, we simply radioed the driver and they gave the string a yank.
Wikipedia is somewhat federated, just not in the same way that the fediverse is.

Each language edition of Wikipedia is its own little island that connects with the others. Then there's Wiktionary, Commons, Wikisource, Wikibooks, Wikiquote, Wikisource, Wikivoyage and Wikidata. They all have their own policy, moderation, culture etc. but they all connect with each other.

They all link a bit more like how IRC servers come together to form a network - it's a closed system of federation rather than it being open to the world - and the Wikimedia Foundation does sit on top providing a level of governance and technical support.
GPS for the oceans: A system based on sound waves could transform marine biology
> Why wouldn't they?

Because they shouldn't be about making money. They should be about encouraging innovation.
Nice! I really wish we could have a CLJS -> JS compiler in pure JS (something like TypeScript) and no need for JVM or JVM libs.
Yeah, write unclever code then refactor. Unless you know the domain well don't try to get smart upfront. I do this repeatedly, pushing the abstraction layer higher on each rewrite. I rarely start out with the abstraction first. [Edit: as the abstraction starts to take shape, it feels 'right' and 'elegant' not at all forced]

> I think I read somewhere that the worst code comes from the wrong abstractions.

I'd say no, it comes from cut & paste :) seriously
Crazy. You dropped civility in your hypothetical when you called the example a transphobe.
In Europe they are even cheaper as we don't have high tariffs on Chinese panels. I can buy a 350W panel for €150 including taxes, or €100 if I go to the equivalent of Craigslist and don't care about warranties.
But the screen estate isn't even close between three monitors and a laptop. A nice middle ground is a laptop with a dock with monitors, that way you have the external screens when you need them, and can also be on the move, on the same computer.

Of the three main things you do, i think only watching things is comparable between macOS and Windows/Linux. Gaming is nonexistent on macOS, unless you stream ( either a cloud service like Stadia/GeforceNow or locally from a PC with Steam in-house streaming/Parsec), and i can't imagine doing game dev somewhere you can't even test.
It sounds like you don't like being a manager. I don't either, which is why I've remained an engineer since 1996.

Your career takes up a HUGE chunk of your days, so you have to decide: Is more money and status important enough to burn out doing a job you hate, day in, day out?

When you finally retire, nobody's going to care what you were in your past life, and engineers make plenty. So why not optimize for the long game?
Netflix layoffs hit Tudum, its editorial arm, just five months after launch
Just Stop Oil protests might be encouraging more climate action, survey reveals
>Because of something called P/E ratio

It is not.

It is about guidence for the next quater - Apple Posted Another Great Quarter. The Next One Might Not Be As Good. (apple themselves say)
How to deal with an AWS Outage at an American enterprise
100%. I don't know where the seemingly common believe that being a kid is easy. It's simple in the sense that you have no choices to make, but that lack of choice is exactly what makes it so difficult. Being an adult is so much easier than being a kid because you can care for yourself and self-determine
Sina Weibo, China's Twitter analogue, reveals users' locations and IP addresses
I'm not criticising making money. Just s/business//g and it reads better.
>Should I seek professional help?

Perhaps. It might help you focus on what's in your control.

>I have 25 years of industry experience and I feel I should mentor people instead of moving JIRA tickets around.

I'd advise show, don't tell. What I've tended to notice about people who get trusted with more responsibility in any dimension is that they tend to do two things:

1) take responsibility without being asked.
2) find higher and higher leverage things to work on. They don't do everything perfect, but find out what their boss/employer truly values and double down.

Judging by the fact that you were offered a promotion choice in the first place (albeit you think you chose the wrong door), it seems might have just forgotten how to do what you've already known in the past.
You don't need that at all in Rust, all pointers are unique by default.

My initial remark was regarding the ergonomics of reference counting, naturally for values greater than 1.

The reason is exactly that, ergonomics and developer productivity.

A reason usually taken into account when picking programming languages for a project, if multiple options are available.
This exists and is called self-hosted ClojureScript. To be clear, you don't need that nor do you need a JVM to write joyscript scripts, as the scripts are interpreted by SCI, a Clojure interpreter:

https://github.com/babashka/sci
"It seems to be standard practice in Europe"

I'm in my 50s in the UK and I've never had anyone ask for a photo during recruitment and I've also done a lot of hiring for multiple companies and they certainly didn't ask for photos.
Not to mention Gold also has actual industrial and other uses!
https://web.archive.org/web/20220427182255/https://www.econo...
A huge part of the web is Facebook, and it has videos. Lots of them. Even if we confine ourselves to “hypertext” (HN for example), it needs scrolling, and that’s not smooth enough on e-Ink, because slow refresh rates again. Documents are sometimes long, and that again needs scrolling. Which is again, bad.

The fact that it could be done in practice doesn’t mean that it should.
What on earth is this from a business perspective? Take a social media company that's more successful than twitter and start producing commodity consumer electronics. Yeah, fuck scale, screw network effects, let's get into that market. Maybe one day they can be as valuable as gopro. And by as valuable as GoPro, I mean 45x less valuable than they currently are.
> These findings indicate that countries with high levels of mask compliance did not perform better than those with low mask usage.

That could be because the majority of masks (e.g., the ultra-cheap blue ones) are - per the CDC - all but useless. That is, wear a mask (that's no mask at all) and you're all but unmasked.

Oddly enough, currently, (e.g.) Philadelphia reinstated an indoor mask mandate, but made no requirement for an effective mask (according to the data / science).

It makes no sense.
At this point the famous „correlation is not causaution“ quote is so abused that its on par with „goto is bad“. Studying correlation does not dismiss the research itself
I often come across bogus patents when i come up with small business ideas, but the cost for reexamination is so high as to bar entry into some domains (from $13000).

Why are the costs so high to point out a mistake in the decision to grant a patent? Is the reexamination fee reimbursed should the patent be found invalid?
Poppler finally has support for embedding fonts in PDF files
I use it for all sort of things:

* Vocabulary in different fields

* Concepts in maths, physics, comp.sci.

* Geography

* People I want to remember (both historical and more distant relationsships)

* Some useful numbers (e.g. visa card number)

* Silly things (like the periodic table)

* Programming languages (syntax and similar that I might otherwise forget, and useful standard libraries and third-party libraries)

* Useful tools and ideas/concepts I want to remember

I make my cards atomic. No long answers. And I avoid having a large workload - I add new cards at a rate such that I review about 60 +- 30 cards per day. It takes me ~15-20 minutes, and I find it very much worth the effort!
Having worked in finance, what surprises me is this stuff doesn't happen more often.
The revival we need, urgently, is of recorded music income

Why? That ship has sailed. In 2022, as in 1922, 1822, 1722 etc musicians will have to earn their income by playing live.
An invisible way to hide a signature comes to mind. Until the ownership comes into question no one will be aware that the image itself contains all proof needed.

You could do something like Eurion and hide a pattern that only copiers can identify. Or do the same as color printers and encode hardware and user information as a pattern.

DOOM 2016 hid satanic images in its sound files instead of other images, of course that was only an easter egg and not really useful outside of confirming that computer games are evil.
A commonly used way to create an discrete sine wave efficiently is to use an IIR oscilator. If it needs to be long running, use a real sin to correct for rounding errors every N samples. If you're using something like Q30 fixed point that correction doesn't have to happen that often.

https://dspguru.com/dsp/tricks/sine_tone_generator/
One more focused on micro-SaaS: https://www.microns.io
Yeah, it was a bit like that. We lived in/out of it for a year, it was a little Mitsubishi box van from the 1980s; and pretty much we lived outside it with tarps and tent-poles, set up camp out the side and slept inside. It was in Australia, so you wouldn't want to sleep on the ground, and occasionally kangaroos would come through and tear down the tent..(I got into a stand-off with one that knocked over our table in the middle of the night once, thought someone was going through our stuff, jumped out bare naked in the desert with a samurai katana I kept under the bed - but I was drunk enough I saw the beast and retreated into the van and let the thing be)
Check out Apple Design Award winners and dribbble. Everything is flat UI so don't expect it to blow your pants off.
It is not always easy to find, but generally speaking, I find Mark Twain's advice very apt: When you find yourself on the side of the majority, it is time to pause and reflect.

In complex situations like what you describe, there are almost always more actors and/or forces at play than may seem at first glance.

For example, many cases of domestic violence are perpetuated by the victim and/or aggressor being victims of not being able to find alternative housing easily, not having the tools/upbringing/training to cope with their situation of forced cohabitation without violence, generational abuse, and many others. It's easy to pick a side and distribute the blame 100% and 0%, but reality is almost always more complicated, there almost always many more factors than may seem obvious at first.
The Gig Economy Project – Analysis
The fact that we've had prior "events" and didn't /don't understand the strengths and weaknesses of the public health tools (e.g., various types of masks) is worrisome.
Look at that subtle off-white metadata. Oh my god, it even has a watermark.
Doctree
> Sure they have the most popular stuff

That sounds like you need to try bandcamp, because they are missing the most popular stuff ;)
The advantages and disadvantages of a work-from-home policy
The Study:

"How virtual meetings can limit creative ideas" : https://www.nature.com/articles/d41586-022-01197-x
Companies rely on memory of people to overcome the bad PR they had. It's been just 3 weeks this post https://news.ycombinator.com/item?id=30926834 made headlines in HN. Now we will see Airbnb as a company making meaningful change, invalidating the claims from ex-employee's post.
i find it incredibly hard to believe that you "didn't ever do anything wrong on purpose" since you disclosed the fact that you were once a child. are you perhaps meaning something along the lines of "didn't ever think that things i did on purpose were wrong" instead? the thing that upset you when you were punished would then be that your definition of wrongness was different to that of the person punishing you?

most kids want a combination of 1.) approval from parent(s) and 2.) stuff that makes them happy and when 2 conflicts with 1 there can be issues, and it is a rare child that seeks only approval from their parents in all circumstances, as you also point out.
> Anyways, I highly doubt windows would be the preferred gaming platform today if they didn't value this backwards compatibility. God knows that the OS sucks in so many areas. Most people would love to switch to something better, but the fact that windows makes it so easy to develop something and have it just work for 25 years clearly has a large impact on how many developers it attracts.

This is interesting as a comment, because trying to run older games on Windows 10 is actually very difficult and is not tremendously successful without third party/fan patches & compatibility layers.

eg: take an at the time very popular game like The Sims 2, and try to run that on Windows 10. If you have a disc copy, SafeDisc/SecuROM probably no longer function and you can't start it at all (this affects lots of older titles).

Get past that and you'll get it to run, but it won't recognise your hardware and will lock itself to super low settings, and modern GPUs & modern GPU drivers have a tendency to make it just crash or render incorrectly. Fixing those requires fan patches or the use of DXVK.

Running it on CPUs with multiple cores can make it just crash.

This is just one game, but the story is pretty similar for a lot of games from 10+ years ago - there's an amount of backwards compatibility, but it's not nearly as rosy a story as it first appears, and older games seem to be a particularly bad case for it. There's a whole wiki about getting games to work right - https://www.pcgamingwiki.com

We can always find technical reasons and deficiencies in the original apps that explain why these games break, but "someone didn't write it right 15 years ago but it kinda worked then by accident" doesn't help the end user.

edit: oh, and from my personal experience, it's worse on Windows 11 than Win10!
Our cost-effective platform to integrate your CRM with Social network
> But the worst part was that it took a week or more to get a crash dump from them, because their lawyers insisted on examining everything to make sure it didn’t contain any sensitive information.

Coredumps can be pretty large and full of junk, so I wonder what the lawyers were doing when they inspected them…
For me it is a curved function.

I started in the Tiger/Leopard era (2007) and I loved the hardware and OS X. After the introduction of the iPad there was a slow and painful decline, culminating in the terrible butterfly keyboard and really buggy macOS versions. I dabbled in Linux desktops again and mostly prepared to abandon the Apple ecosystem.

The last few years Apple seems to care about the Mac again. Apple Silicon is awesome and the last two macOS versions have been stellar for me (especially on M1 CPUs). The macOS ecosystem is very exciting again.