skysight-inc/HackerNews huggingface dataset:
On Slack I gave it a go as well, my naïve idiomatic solution turned out to be 50x faster from the get go.

Times are all from my laptop using the same test input and running on JDK 11.

Baseline smt-8: Execution time mean : 2.386019 sec

My first attempt: Execution time mean : 48.977240 ms

(defn smt-8'' [times-vec]
(loop [res (transient []) pointer-1 0 pointer-2 7]
(if-let [end-element (get times-vec pointer-2)]
(let [start-element (get times-vec pointer-1)
time-diff (- end-element start-element)]
(recur
(if (< time-diff 1000)
(conj! res [(subvec times-vec pointer-1 (inc pointer-2))
time-diff])
res)
(inc pointer-1)
(inc pointer-2)))
(persistent! res))))

With performance tweaks: Execution time mean : 23.567174 ms

(defn smt-8''' [times-vec]
(binding [*unchecked-math* true]
(loop [res (transient []) pointer-1 (int 0) pointer-2 (int 7)]
(if-let [end-element (get times-vec pointer-2)]
(let [start-element (get times-vec pointer-1)
time-diff (- end-element start-element)]
(recur
(if (< time-diff 1000)
(conj! res [(subvec times-vec pointer-1 (inc pointer-2))
time-diff])
res)
(inc pointer-1)
(inc pointer-2)))
(persistent! res)))))

Less idiomatic as I'm using an array: Execution time mean : 1.678226 ms

(defn smt-8'' [^"[J" times-arr]
(binding [*unchecked-math* true]
(loop [res (transient []) pointer-1 (int 0) pointer-2 (int 7)]
(if (< pointer-2 (alength times-arr))
(let [start-element (aget times-arr pointer-1)
end-element (aget times-arr pointer-2)
time-diff (- end-element start-element)]
(recur
(if (< time-diff 1000)
(conj! res [(mapv #(aget times-arr (+ pointer-1 %)) (range 8))
time-diff])
res)
(inc pointer-1)
(inc pointer-2)))
(persistent! res)))))

All my solutions produce exactly the same result where it includes both the list of elements and their time difference.
Although it is a noble attempt, I still feel that they would be better off replicating the Astra Zeneca vaccine. It is based on the old , tried and tested vaccine technology and does not have excessive cold storage requirements like the Moderna vaccine .
Interview with sci-fi author Andy Weir about writing Project Hail Mary
Yea. I <3 my Model 3, I have a reservation in for a CyberTruck, but the idea that a completed FSD is valued at $100k is almost as crazy as the idea that we’ll see a completed FSD within the next decade.
In case it wasn’t clear, the offensiveness of the confederate battle flag is assumed: I don’t think there’s a counterposition that’s worth seriously entertaining. Put another way: it’s outside of the realm of serious conversation to dry to pull a fast one with relativism when the subject is something so cut-and-dry.

If you feel offended by other people saying that they are uncomfortable with things (which, again, doesn’t clearly translate to “virtue signaling” to me), then that sounds like a “you” problem. It’s worth introspecting on why others’ feelings affect yours that much, and why that comes out in such breathless language as “authoritarian,” “weaponization,” &c.
And yet no one else is even close, or trying very hard.
> In my experience the core values of agile were fine. Where agile often went off the rails is when people implemented agile in a way that contradicts the four values. Definitely not pure garbage.

In my experience, "agile" went off the rails the day it was conceived. I've yet to see a legitimate implementation of "agile" that wasn't a cheat in some way. Specifically, any organization I've encountered that claimed to be successful as an "agile" organization wasn't actually being "agile"...they were saying they were "agile", but would abandon it where it conflicted with actually getting work done.

> Please don't speak for me, thank you. I've done well with agile, and continue to do so.

How could anything I wrote be construed as "speaking for you"? Pretty egotistical on your part to assume I was. Based on past "agile" posts, I expect that there will be considerable pushback on what OP presents as empirically proven truth.
Thanks! Channel seems to be http://www.youtube.com/channel/UCg3qsVzHeUt5_cPpcRtoaJQ, FWIW.
Are you building a product that competes with these core processors? Or are you building a complimentary product?

As a software developer with a degree in finance, I'm always interested in the new projects out there.
Even without automation. Just make a list of blurred alphanumerics, then match every blurred character in the picture against the character list. with some patience probably doable in a single day
Do that 200 times in a row and the extra movements start to add up.
It should be explained to public how such exploit take place, with open sourcing necessary parts. Otherwise there is no way for us to know it wasn't intentional at first place.
I am not meaning there is a possibility like Apple as a company decides to put exploits. However governments can easily do it with single engineer at right place.
This isn't the 1900s. You can measure how well an ad performs and how well it converts into a sale.
Ask HN: Are you a Digital Nomad? If yes, what are the pros/cons?
Ok, here's one owner.

https://www.plainsite.org/dockets/4lmsbyy8k/albuquerque-dist...

Also, just check Tesla forums if you want high volume evidence. You are hereby proven wrong.
“Stick with it” is by no means what I said. A time tracker isn’t an end-all product - you start with it, then spiral out based on customer feedback. I’ve seen plenty of companies start that way and succeed, even time tracker and job posts.

High competition is also not a red flag by definition. It’s a strong indication that the market exists, and as a solo or bootstrapped founder, that’s a HUGE time & money saver.

Low value to users isn’t necessarily a issue on itself either - you start with something with low value, then value-add as you grow. There’s room in the world for vitamins and painkillers.

There’s room in the world for red sea strategies and blue ocean strategies. In none of these worlds is “not doing projects in the first place” a good idea though, no matter if they fail. The best way to never succeed is to keep dreaming and never try :)
I've yet to meet an "agile" proponent that didn't act like a religious zealot.
I would have commented that if you didn't
Bacteria is natural.
Actual rocks sitting in the bottom

https://glitchndealz.com/wp-content/uploads/UPC84140411420-L...
How is it common sense?
I bought FSD for my Model 3 and my mind is not blown. Amusingly, I prefer the known behavior/bugs of the pre-beta to the totally bananas mistakes that the beta makes by trying to be smart. And that’s a bad state for Tesla to be in, because other manufacturers are catching up.

Automatic lanekeeping on the highway and stoplight stop/go were groundbreaking when Tesla launched them, and these are the features that I get the most value from. The rest of FSD as currently demonstrated is parlor tricks.
No, there is void under the bedrock.
I've never taught, so naturally I'd defer to you on such matters but I feel completely the opposite. I suppose it depends on what year students you're teaching too but for me, elements of functional programming first clicked for me in Python precisely because I could compare how to solve the same problems in the same language so differently.

I didn't get as lost in the incidental differences between languages like how do I print or import function, etc. but just how I might implement just one part of my program more functionally, how it'd help me reason better about that chunk.

I suppose it shows that I rep Java and Python all day, the champions of compromise, jack-of-all-trades languages.
> gave me the idea of rubbing Elmer's glue on to it

Not to diminish your inventive skills but I'm pretty sure this was known back in the mid 80's when I was doing rockets as a kid. Googling it shows it to be a pretty common technique going back to at least the early 2000's.
Quite a few go-arounds at SFO today due to weather along with pilots reporting their wind shear alarms activating during taxi to runway, maybe most inconvenient was Aeromexico having to divert to FAT (Fresno) after two go-arounds:

https://flightaware.com/live/flight/AMX668/history/20211024/...
This is the only thing that makes sense. What if your battery is dead? Not having access to the menu would be ridiculous.
I love this answer. It implies that manipulation and reason/common sense are in a kind of arms race. If humans are actually getting better at spotting B.S., just not as quickly as orgs are finding new ways to manipulate them, then maybe what's programmed can be de-programmed.
While I know chiropractice is filled with quacks, some of it genuinely helps people. I’ve watched a series on youtube where people with very bad posture recover then are unrecognizablly much better after a few treatments and it’s quite authentic as well. I don’t think banning it would be a very productive endavor.
Homeopathy is kindof a quack but placebo isn’t so if people swear by it let them be, it doesn’t bother me in the slightest.

The only solution is education. Who gets something out of education can get better odds but at the end of the day people will do what the believe is best for them. Covid conspiracy theories and the reluctance to vaccinate is a very good example on how stubborn people are. Spending resources to fight against that is not the best use of resources imo.
Why the Four Agile Values don't work:

1. Nobody applies rigor to anything complicated anymore. The only way you can produce anything that works without rigor is to only produce very small things that you can prove work. So you can produce a lot of very small work and say "I'm developing so fast!", and meanwhile all the components connected together can be a tire fire. Short-term wins and long-term pain. This applies to a lot of the Agile process, but also the avoidance of processes and tools. Processes and tools can help or hurt, depending on how you use them. Even Agile is a process.

2. Working "software" is completely meaningless. What is actually valuable is a working solution to a user problem. I can make a program that very reliably spins in a loop forever, doing nothing. Who the fuck wants that? Not a user. And a large system, which is what a lot of software today is written for, cannot be connected together, operated, troubleshooted, etc without documentation. Nobody's going to be able to run your software or fix it when it breaks if they have no documentation, because they didn't write your software, so they have no fucking idea what to do with it. So we end up with a lot of unmaintainable widgets that don't solve user problems.

3. No software developer actually collaborates with a customer, because software developers have never cared about a customer. They care about their precious code, their algorithms, their design, their bugs, their tests. They don't care if the customer hates the software. I have literally never heard a developer utter the words "so how does the customer like the software?" This whole rule of customer collaboration is just an excuse not to have to think about a contract.

4. 'Responding to change' pretty much just means 'push out shit software and wait for bug reports'. For the first year of operation, Agile software is garbage. Because there was no coherent plan, it doesn't work for the customer, it isn't maintainable, and the other parts of a complex system that it operates as a part of will constantly break in weird ways. We don't need to make a plan, so we don't need to figure out how this thing is supposed to work, so in 6 months when we finally get around to a customer use case, we'll realize this architecture never would have worked within the constraints they're running it in.

Software development is not 'too damn complex'. Software developers are just lazy. We know that, because developers brag about being lazy all the time (I do too). They have these huge egos, and they believe that they're intelligent or talented because they can design an efficient algorithm or create 'beautiful code'. But the end result of all that code is what matters, not the code itself.

Agile is simply a 180-degree reaction to decades of work in developing processes that result in reliable solutions. The processes got complicated, so the software developers said, "fuck it, i'm just going to wing it". And as a result, most modern software is less reliable and more complicated than decades-old systems that are both simpler and solve more problems.
Also the PS2 is closer to 20 years old, not 30. Unless I'm missing something (20 year old console using 30 year old rendering)?
What, those robotaxis that would "for sure" happen by the end of 2020 but somehow, mysteriously, didn't:

https://www.thedrive.com/news/38129/elon-musk-promised-1-mil...

How many units of belief do you have left in the true believer tank?
Android is an even larger attack surface when political people don't take any of the precautions you mention, which they most likely won't. The President of the United States does indeed have a specialized phone that is modified by WH staff to either be only for phone calls or only for twitter/news (which means 2 phones)[0], but they're still iPhones. As long as there's not some 0-authorization 0-click vulnerability in the things used (as in, reportedly, neither iphone did texts), it'll be secure enough, but that's still limiting its usage and isn't want any politician is going to do. Just stick to a desk phone for secure comms.

0: https://www.politico.com/story/2018/05/21/trump-phone-securi...
Hopefully it's not 6k + your personal safety.
We have better access to disinformation now, too, though. There have also been great strides in the fields of convincing someone to buy something they neither want nor need.

Even if there's only a sucker born every minute, the web makes it easier to find them than hoping they come to within earshot of you or read your pamphlet.
Seem to be back up now. (At least, I'm getting successful page loads.)
Yep. I'm just suggesting that it's tricky to evaluate FFDH groups for different applications (for instance, with SRP), and there's less clear guidance about which to use, while with curves the popular curve choices are pretty intensely studied and argued about.
The best one I have every seen is O\apostropheRourke for a car rental in France. I have no idea how they thought that was a good idea!
Yes, but that's an abstraction that VS Code removes.

I envision, with all this no-code babble, that the future "average coder" of 10 years from now will be a click-monkey.

Sadly, most people like not knowing things. I theorize that it empowers them to keep their brain free of potentially useless clutter.
What does it mean to “hack asymptotics”?
That's not the answer to the homelessness. There's plenty of housing everywhere just sitting by to drive speculation. Building ghettos/camps is just for giving rich people good conscience that they don't have to see homeless people when they go out on the street.
The water use of a farm is miniscule compared to a city in the desert.
As someone who has lost track of drought info. Is this still a net-positive for the region?
The https://WhatHaveYouTried.com guy backtracked after a few years in the linked follow-up article, ashamed of giving the geek world another way to gatekeep and tell unworthy people to get lost.
IMHO, if a framework isn't well documented, I avoid it. It means they probably didn't think it through very well and it will soon be unmaintained.
"Don't sell out" is nice and easy until someone slaps fifty million dollars on the table.
For mé its 7 years and maybe 10 projects, although they werent equal nothing ever flew... I dont have many regrets tho.
Tell that to those guys who made the 1500 slot machines.
I think I recall Chomsky saying something along the lines that the financial press is the most reliable because it isn't in their economic interest to mislead their audience.
Getting invested is a trap. You could easily end up with more problems than what you started with, and there is no real gain in taking such a risk.
Almost all the “ideas” in your list are “make X with Y”. They’re not unique by definition. It’s a nice exercise for the brain, but you won’t really ship anything people use that way.
There are multiple ways to arrive at that.

Here's one version of the napkin math.

According to AAA average cost of owning a car in US is $8k per year.

Average driving in US is 12k miles per year.

A $25k robotaxi with 1 million mile battery can provide the service for 10 cents per mile.

That's $8k of value delivered for $1.2k. Let's round it up: $8k - $2k is $6k of profit per year.

This is to replace a single car which is, on average, 2 hours of driving per year.

So assume 8 hours of "paid" driving gives us $6 * 4 = $24 k of profit per year.

You can plug your own assumptions. I think those are pretty conservative but let's round it down to $10k a year profit.

At 10 years per car that's $100k profit from FSD software.
> kill me already.

They tried, but you didn't buy the product?
Ironic that Apple limiting their apps in the same way they limit 3p apps would've likely solved this vulnerability, unless the attack was only "0-click access to full chat.db"
A sealed class ought to have no methods, so it is plain old data. Then there's no purpose to overriding it.
They paid $10,000 for intelligent cruise control which comes on a Toyota Camry and other cars at no additional cost.
That's how Google used to do things back in the day! I still don't get how in the hell could personalized ads be more profitable. All I've heard is the "we'll keep showing you ads for toasters after you bought one because you'd buy another if the first one breaks" meme but where's the hard evidence on personalized ads getting more clicks?! Contextual at least intuitively seems to make way more sense.
It's nothing new to me rather than the affair between Kalckar and Wright, which might also be known for a long time but nobody deemed it's related. Watson looked down on women is also kind of well-known.
Because the inability or unwillingness of commenters to separate unrelated context from the matter at hand is frustrating and distracting. It does seem like virtue signaling to me because the original commenter goes off an unrelated tangent.

"this word you've used has reminded me of something I don't like and so I'm going to complain about it instead of discussing the actual topic."

Speaking personally it bothers me because it implies either the OP intended to be offensive, or that it was careless to use language that's not devoid of any other context. Neither are reasonable in this case, so it's feels needlessly intrusive, and distracting.

I probably wouldn't feel this way if they commenter attempted to show an assumption of good faith by asking if they considered the context others might have related to the word 'pimp'. Instead of asserting it's outright wrong to be willing to use it.

> I'm not a fan of it is this context. And I hate it in this other context. Obviously the word itself is always a bad word to use. Because the context I care about it clearly the most important.
This explains my question. How much does Google pay for its own ads on its own platforms? No way to check. Easy to manipulate. But this is a whole lot worse.
What? Barring the stack, everything's essentially global in assembly. Like you can touch your process whole address space from anywhere!
Not directly related to this project but in a similar spirit.

Recently, while exploring france’s national geography department (Institut de Géographie Nationale [1]) website, I came across a page [2] which allows anybody to download a Minecraft world representing any 25km^2 area of France.

The page lets you set the precise center and many other parameters such as whether to include buildings or even stylistic options.

The maps are generated on the fly and make use of a combination of the department’s own datasets (digital elevation, road networks, land parcels, building dimensions and height, and even forests).

I wish they would release whatever code they use for the terrain generation as I’m sure the open-source community would enjoy extending it with OpenStreetMap data!

[1] https://www.ign.fr/

[2] https://www.ign.fr/minecraft/
Previously description of “super-wood”. (Also university of Maryland)
https://umdrightnow.umd.edu/umd-researchers-create-super-woo...
IMHO, any language worth learning has a large enough user base in both corporate and academic settings and that there are books written on it. That's my criteria. If it doesn't have at least 5 books on Amazon, I'm suspicious of it (and from real publishers, and not publishing mills). There's too much wheel-reinventing happening for me to get excited about new languages.

In the last decade I've spent time learning five sufficiently novel languages: Scheme, Ada, Erlang, Rust, and Go. Three of those are from the late 70's. I'm really glad I learned Ada and Rust. I started using Ada for embedded programming, and I'm trying to find more opportunities to use Rust because it so robust. I only studied Erlang, Scheme, and Go because smart people I knew told me I should investigate, but I have not used them.
How to change careers
"We are recreating the entire planet in Minecraft"

Nice move, then we can all move to Minecraft, when we are finished with this planet and have used it up.
It's whwt that has really evolved into. We used to live in a much simpler (and secure in that manner) world where there were no smartphones, even GPRS didn't exist, all important communication were done on physical medium.

That became much more inconvenient as technology just progressed to a point where 99.9% of the society couldn't resist using the smartphone, rightly for many purposes, including many of us here too.

But as OSs (and even SoCs) became more complex as more features are added (well, I can't think of Apple or Samsung execs on stage saying "hey we didn't add any features this year" so it has to go this way naturally) flaws are inevitable.
Yes, you get users who have linux as their 'daily driver', as opposed to those to dabble in it a bit on the side :)
Would daily doses of ASA help?
Sure, but how far does that go?

If I try to assign an int value to “3.2” will the language silently fail with null, or a round, or a floor, or a ceiling? Some level of understanding is necessary. I want it to also be reasonably explicit.

Java time library doesn’t meet that standard until Instant.
So I think the confusion to my mind is the following:

1. I didn’t buy my car to have it drive around on its own working a day job

2. I don’t want to absorb the insurance / maintenance hit of having my car be a road warrior while I’m working

3. My Tesla cost closer to $50k than $25k

4. I do not live in an area where taxis are a major mode of transport

I’m sure there are people in the world that could get $100k of value out of a robotaxi. But I don’t think they’re the median or mean purchaser of a self-driving car.
Everybody who cares has already stopped using Facebook.
> While I know chiropractice is filled with quacks, some of it genuinely helps people

That could be the Placebo effect, but my opinion is very much biased by my experience of quacks, it's sad to see older people fall for what quacks write.

> The only solution is education.

My friend's sister is a nurse, so I thought he'd be more educated about it. Turned out that he's terrified of it now from her stories about blood clots.
At present, it's _not_ clear that lidar would solve their issues, because from the FSD beta footage that we've seen it doesn't look like the problem is with _perception_. Perception-wise, the car seems pretty solid, but its ability to shoehorn a given world state into something it knows how to react to seems shaky. We can see examples of this where the car gets confused at funky intersections (e.g., multiple sets of lines that look like crosswalks) or challenging left turns (it can resolve cars with enough fidelity it seems, but is missing a policy for turning into the median first).

If it were as simple as "their system would just work if there was lidar" I'd bet there'd be a lidar test fleet of FSD teslas that would train the lidar-blind cars in a sort of shadow-mode, similar to what was done for vision-only replacement of radar.