skysight-inc/HackerNews huggingface dataset:
I don't disagree about the penalties of boxing and chasing pointers and moving things around on the heap. And I reiterate my dislike of the ergonomics of having a primitive/Object distinction, especially when it comes to collections.

But I'm skeptical of the argument that the language designers could have improved performance while hiding the implementation details from us. If anything it feels like the reverse is true. Here's a few additional implementation details I'd like access to:

* I want to allocate an object (by value - not by pointer) straight onto the stack (not the heap).

* I want to specify that a class completely opts out of inheritance so that the compiler knows which exact method I'm calling (static dispatch) and can inline appropriately.

* (If tail-call optimisation existed) I'd like the ability to annotate a method as such, and have the compiler reject it if TCO couldn't be done.

> It's led to this perverse situation where it's honestly not too hard to beat Java performance in a dynamically typed language like Clojure or Python, simply because dynamic languages make it easier to encapsulate the implementation details (and therefore to choose a more performant run-time implementation) than Java's type system does.

I'm skeptical of this too. It sounds a lot like the "Java faster than C++" I've been hearing for like 15 years, e.g.

> https://trs.jpl.nasa.gov/bitstream/handle/2014/18351/99-1827...

> Java performance can exceed that of C++ because dynamic compilation gives the Java compiler access to runtime information not available to a C++ compiler.
What filter do you mean? I'm aware of hardware which simulates it, but it costs around 2000 EUR.
>"All of this and more, for £200,000 a year."

Question for the Brits here: how long would it take someone making this salary, and supporting a family, to afford the down payment to a reasonably sized house within 1/2 hour of where they would be working (which I assume is central London)?
Not for throuples apparently.
Another Dating
Yeah, in theory I have 0 problem with people picking through the dumpsters at my place. In practice though trash gets thrown around outside the dumpster for the wind to make a mess of the parking lot with. I wouldn't care at all if they would just pick up after themselves. But they don't - so I do care.
> * The boxes using port knocking would be safe.

No, safer. It is very well possible to brute-force port knocking or eavesdropping the ports since that information is not encrypted. Is it harder? Of course, a lot, but if you think scanning 65k ports on each host on the internet is reasonable, then evading a port knock is very much, too.
Prior discussion

https://news.ycombinator.com/item?id=960838 (2009)

https://news.ycombinator.com/item?id=4503914 (2012)

edit: also discussed at the time in reddit https://www.reddit.com/r/reddit.com/comments/a7xpt/conspirac... there weren't even subreddits at the time!
Ever see a soda or beer can? Pretty standardized. Same goes for a beer bottle, or even a lot of soda bottles. (This is my perspective in the US, but things seemed similar the week I spent in Europe and the week I spent in India.)

1 gallon milk jugs are quite standard, same goes for milk cartons.

When I was a teenager I worked in a dairy. We sold milk in both single-use containers and returnable glass bottles. The returned bottles were washed and refilled. The "problem" is that single-use won in the marketplace. The owners couldn't get it together to charge a deposit on the glass, and lost a lot of money from customers who didn't realize they had to return the glass bottle. (Edit: All of the containers, single-use and returnable, were standard and came from a distributor.)

We really only see unique packaging when some business sees it as in their best interests to design unique packaging for their product. Otherwise, beverage / food makers are just going to buy easy-to-get equipment that fills easy-to-get containers.
It doesn't have to. But ideally you only want to have to produce and distribute a single file.

Also, a lot of people don't consider accessibility when generating PDFs. If LaTeX produced accessible PDFs, the PDFs would be tagged automatically without the author even thinking about it. Of course, it might still not be perfect, but it would be a lot better than the status quo.
Meyer Lansky
It's not uncommon. A web app can call navigator.registerProtocolHandler (https://developer.mozilla.org/en-US/docs/Web/API/Navigator/r...) to become the default mail handler. GMail does this.
> since when they started there was no real technology to talk about

That is flat false, making a automotive battery out of laptop batteries was quite a technology development. They also made their own engines and inverters from the beginning.

> The CEO of Tesla is also well known to be untrustworthy with his promises

Actually the opposite, it is well known that when he says something its very likely going to happen. As most of the things he say, no matter how crazy to turn out to actually happen.

Arguable there is no other human alive in the world today, that when he say 'We are gone do X' that more people believe could actually do it.

> having even being formally investigated by the SEC for stock price manipulation.

He wasn't investigated for stock price manipulation, he was investigated for improper communication to stock holders.

> I don't know the future, but there is a possibility that they will also develop the needed technology to make it all work.

So even after 10 years of consistently laying every year, announcing dozens of technologies that all turn out to be totally fake you still think they can do it. That seems beyond utterly blue-eye to me.
> I do not have a persistent vector, only a HAMT.

Why not get a persistent vector?

> But the double-lookup in two data structures is unnecessary slow.

Not necessarily. You'd have 2xlog(n) and because you wouldn't be storing the data in the HAMT it could be denser / wider and thus better fit in cache. At least that's what happened with Raymond Hettinger's (non-persistent) naturally ordered dict: rather than a sparse array of buckets, the hashmap is a sparse array of indices and a dense array of buckets leading to much better memory density (even more so with an adaptive sparse array where the stored indices can be u8, u16 or usize depending on the number of items: most maps will only need a sparse array of u8 leading to even better memory behaviour for the most problematic part).

> But enumerating the list is in reverse, is it not? Going from the newest key to the oldest key. I want it to go from the oldest to the newest key.

Not if you have a doubly linked list, but that increases your costs in storage and update complexity

> In any case it should be better to store pointers to HAMT nodes rather than keys.

If you're implementing the entire datastructure then yes, I was rather assuming you were on the outside with an existing HAMT.
Each security measure has a value and a cost. Keys over passwords provide by far the best value/cost ratio. Using obscure ports or port knocking or whitelisted IPs are relatively clunky mechanisms that are more expensive and obscure your security posture as much to yourself as to adversaries.
And if you take it on now, Brexit is going to happen and wreck everything, and also you'd have to deal with Dominic Cummings and his bizarre ideas.
How crap do you have to be that, if you're going to fake it, you don't just tow it and digitally remove the cable or put an electric motor in or whatever? It's just a such laughable approach.
Not the OP but I assume what they mean is that if you have network-wide monitoring across a network with lots of servers then it won't be able to easily make sense of what is happening if servers are all using non-standard ports for things.
Phone Wasn't Built for the Apocalypse
Could it be smaller if you used alpine instead of debian?
You are asking for an advice, but it is not clear what is bothering you. You think that you are a terrible developer. What is the problem you have with this?

Do you think this impedes you in your career?

Do you feel bad about not being good enough at work?

Are you unable to follow pursuits which interest you?

Or do you just want to be better and smarter?
As much as I dislike Apple's walled garden, many of these features do seem to be here for the user's benefit. There is market value in a walled garden if it truly offers users something that's riskier on the outside, like payments, ads, and privacy controls.
The solution is more data. Let's see how CA rates compare to that of say... MA, which has a significantly less population of homeless.
I seem to recall a story about how a remote server would open a port only after a few unsuccessful calls in sequence to a pre-determined set of ports right before.

I've always wanted to set up something like this - but it seems like a pain to remember everytime i want to connect..
You're correct that not everyone will be able to / will want to every single job. "X is not for everyone" is true, where X could be programming, or managing, or sales, or teaching, etc. We all have a finite amount of time on this Earth and no one person can learn everything about everything - sooner or later you gotta decide what things you're actually going to do.

So when someone posts something like this, why is it good to talk about impostor syndrome? Because encouraging a growth mindset [0] leads to better results. Saying "Yep, you suck" isn't going to lead a person to try harder. Saying "Yep, it's natural to feel that way, everyone feels that way sometimes, and Science^TM confirms it (aka Imposter Syndrome)" allows people to step back, go easier on themselves, and focus on what they do have control over (time invested, quality of time, how they get help when they're stuck, etc, etc).

One point I'd like to make to the OP: Whether you go into professional programming or not I think that the skills, background, and experience that you're accumulating can pay off. Maybe you decide that you'd rather not program all day. Perhaps you can go into a technical & interpersonal job, like management, or developer relations, or program/project management, or Q+A, etc, etc. There's a lot of jobs in the tech field and having a background in programming will make it a lot easier to talk with programmers.

Good luck to you, whatever you choose.

---------
[0] https://www.psychologytoday.com/us/basics/growth-mindset
I would suggest you to find something that you like and makes use of your programming knowledge. There are things like programing music for example, check the live coding scene that also makes use of programming visuals for a concert. Look for: Sonic Pi, SuperCollider or TidalCycles if you wanna learn more. That is only one example of things that you can do if you know how to code, that would give you a momentum and discover that maybe you only needed more inspiration. There are opportunities making games, visual arts or ton of more stuff to explore thru coding.
Done is better than perfect. This from a self-diagnosed perfectionist.
Yes, pill bugs are also isopods.
You can definitely generate good scientific PDFs from HTML and CSS, combined with tools to generate SVGs from your LaTeX/MathML. I've converted a fair number of textbooks from print to high quality digital and print hybrid PDFs.

The learning curve is pretty high though. If you're not a web developer already, there are better options out there.
There's a lot we don't undestand about mental illness, but I think the brain chemistry theory doesn't hold water anymore. Otherwise we would have been able to take a blood test and say - oh, your serotonin levels are out of wack.

I'm really happy you found a combination of meds that work for you, sounds like it was a long and rough road to get there. There's still things you can do to improve your condition beyond what the meds can do. I have some anecdotal evidence that the app helps people taking meds, but nothing conclusive yet.
the issue with this approach is if you depend on it, it may just go away some day, either with the police called and if they track it back to you, you may be prosecuted under the laws that protect utilities. These are less forgiving than you might think.

It's a big deal to damage someone elses infrastructure, can result in bills and lawsuit to reclaim losses. If the pole owner notices, they may do something (or just ignore it). What you don't want is them tearing down your stuff without notice.
> Maybe a bit nitpicky but I think port-knocking is in kind of a grey area. You can think of it as a kind of password where you have to know the correct series of ports.

Yes.

But you also have to know that port knocking is enabled at all. That's the obscurity part.
His music has been incredibly stale for years though. Maybe as a result. Longtime listener.
I wish all the best for my counterparties who provide me liquidity. I congratulate you on your returns.

Parasitic parties who skim transactions without providing liquidity are just sucking money from pension funds to transfer to the very wealthy. They're pickpockets.

Edited to add:

When you executed the trade you described, you did so speculatively - you were in the market with the rest of us, you were taking a risk, and when someone wanted to get into the market you were there to sell to them.

That's completely different from holding a position for microseconds when you know for a fact someone is on their way.
Why not? I'll run my automated port knocker
Well said.

It comes down to structuring some type of process for facilitating communication rather than being reactionary.

Spontaneous conversations are going to happen and should be encouraged, but Slack is not a platform for documenting a decision or conversation. If for no other reason than it’s not concise. Coming back and trying to parse an hour long slack convo is a waste of time when it can likely be boiled down to a one paragraph summary.

If something interesting happens I find it helpful to take that opportunity to get the gist or decision documented in a ticket or wiki page somewhere for easier dissemination and for centralizing further communication and decisions related to the topic.
It's really not just about the 30% here though.

It's the 30% + being feature/speech-restricted by Apple while also competing with Apple in Apple's app store which holds half the US audience captive.

Third parties can't even make a browser that gets set as the default that opens hyperlinks. They can't replace iMessage or the phone dialer. They can't even use a browser engine other than the one that Apple restricts them to. They can't make political apps. They can't offer porn apps. The list goes on and on and on.

Furthermore, smartphones are way, way, way more ubiquitous and important to society right now than those devices ever were back in the 90s and early 2000s. Imagine only being allowed to shop at Walmart or Target with no other choice anywhere at all. If that ever happened in the real world and those companies were acting like Apple is, things'd change real quick.
Common law is a different thing. Common law is based on historical customs and English Common law is different from American Common law. It can even vary by state.

We aren't governed by the divine right of kings. Our system is based on limited sovereignty and trial by "combat" (truth comes from a fair fight in the courts). The Magna Carta is listed as the beginning of the evolution towards limited sovereignty - it is not the premise on which the current court system is based (it's that truth comes out during a fair fight).
I will second reading “Teach Yourself Programming in 10 Years”. I’m a self-taught programmer working with a lot of very smart CS grads, so I constantly find myself thinking that I’m not fast or good enough to keep cutting it. I remind myself of that essay very frequently to help with those feelings. It takes a long time to get _good_ at a skill like this, and you will always be behind someone else in that progression. The key is to find joy in the process and remember that it’s a long road.
> Just use SSH keys, and disable passwords

Or even use a good password, if you don't have many untrusted users. It works perfectly.
Apple: Apps should not require users to opt into tracking to access content
Integrating Libcamera into PipeWire
So why not provide a bin for them for the deposit recyclables? I'll tell you what, if you would like to pick out your preferred bin, show me it, and I'll pay for it for you. If that's really your problem then I can make the effort with a simple and easy solution.
If I remember correctly, back in the days of the... 4 or 4[s] there was a change in screws that secured the case/enclosure. IIRC they went from regular Philips screws to Torx?

Someone else can possibly correct me.

But I'd assume things like these happen during production over time. Probably nothing significantly different.
Rooftop solar withered when wildfire smoke blotted out the sun in California
I second the sentiment of many comments here.

To use an analogy. Instead of trying to upgrade the engine in a model T to a modern block, start over. Get a new office, get a small team to redesign the workflow. Then test it live, handle the exact same workload as the existing office and fix problems until everything mostly works. Give first dibs on the permanent jobs to the folks from the old office. Hire for the rest and pray you met budget. If you did start over with the next office. If not, you'll be replaced shortly.
And more access to bonuses and equity (typically).
My uneducated guess- not much other than ideas on paper.

I suspect maybe new chip versions are in progress and maybe have engineering samples of said chips, and probably a rough idea of the new design. I think the software probably isn't more than a few months ahead of what will be released.

as you get closer ~ 180 days from release you probably start seeing a more complete device ready.

Totally a random guess though. I know movies hint that there are devices 2 and 3 generations ahead floating around in companies...
> If they did make such a car, Tesla would still sell better because of the brand.

That is highly questionable to me.

> The current public narrative says that Tesla is cutting edge and futuristic, and Chevy is old school.

That the current 'narrative' because its currently true.
Twitter: Expanding our policies to further protect the civic conversation
My kids are in 2nd, 4th, and 6th grade. They all work very independently, and seem to enjoy school more than they did in person.

We always hear about the negative aspects of virtual education, but I think a big positive effect is that they are required to be more independent about watching the schedule and managing time.

Another big positive effect is that I feel like we have more time together as a family. A couple minutes here and there add up throughout the day, and I'm grateful for the extra time with them at this age.

Our elementary school has grouped the remote kids together so that the teacher can manage the class consistently, without trying to be hybrid. Their schedule follows a regular school day from 8-3, approximately alternating 30 minutes synchronous/asynchronous. We pick up a bag of take-home classroom material every 2 weeks, including textbooks and readers, and the students generally work on paper and submit photos of their work through Google Classroom or present during a Google Meet.
> The team says that the discovery is an example of deep-sea gigantism

Are there theories about this phenomenon? Does this explain the historically atypical size of the dinosaurs? Why doesn't it continue to happen? For example, why aren't there giant robins (birds) or tiny ones? Is there not a single eco-system ever where this would be an advantage?

From another article on the same discovery
Because you can't (easily) connect to an SQL DB from any arbitrary client, like a web browser or mobile app.
It's pretty easy, I just sell myself an easement on the property for $1 before I sell to someone else. I can also just move the electronics somewhere else. The nice thing about fiber is the range, I can be within 25dB of here and it will still work. With average loss of 0.5dB/km that gives you a decent range
Gillet jaunes disagree very strongly. Even if an idea is popular in principle and is a good idea there can be tons of anger over whose particular ox is gored by it, regardless of how skewed the priorities may be in the grand scheme of things if it is perceived as "unfair".

From barely visible offshore wind turbine complaints in Martha's Vineyard, to reluctance of former coal miners to retrain to less lucrative industries to the original luddites solving problems can piss /a lot/ of people off.

It doesn't make them non-viable but it isn't as easy as you would think from superficial popularity.
Thank you. Appreciate the kind words.
Papercraft Models of Classic Computers
Why did people leave Fanfiction.net? I spend quite some time there, but I never follow the meta discussions
Anything else wouldn't be GDPR compliant anyways, would it?
It doesn't matter how you define what is or isn't a promotion.

The real issue is that there isn't one, single right answer about what role is right for everybody.

It is not the case that being a manager is strictly better in every way for every person. That's the assumption that people need to let go of.
Isn't this normal? If they're not your manager, it's not their job to make sure you can do your job.

Though arguably the manager should have arranged for an easier process if this happens more than a few times.
Average UK tech pay isn’t as high as that, at least not on average: https://www.glassdoor.co.uk/Salaries/london-senior-developer...

This may itself be one of the reasons why the UK never developed one of the trillion-dollar businesses that they are reportedly looking to create.
If you compare Cassandra and ScyllaDB, the garbage collection causes serious problem with 99.9% latency.
On the face of the policy viewed in isolation, if they facilitate paid one-on-one encounters, yes, if they facilitate paid one-to-few or one-to-many encounters, no.

But I'm pretty sure pay-per-date apps of either type have bigger legal and App Store policy issues than whether the payment must be made via IAP with the Apple Tax.
The first and simplest thing you could do is head to the app, and work through the Apathy section. It should give you a better clue about what's going in your mind and make the difference between what you're body is doing (maybe fighting a virus) and what your mind is doing (fighting repressed emotions).

Also, ping me on Twitter @finereli. Let talk.
Do we feel that honeypots might actually be one form of this? I.e. something that isn't deterministically going to prevent an attack like a OTP cryptographic scheme, but that may trick a large majority of attackers into thinking they are actually in a secure production system for a long time.

I know they are used primarily for detection, but why not go the extra step and make a honeypot that is a truly believable facsimile of a real corporate environment so the attacker wants to stay around even longer. There are lots of clever ways you can switch network traffic to make it look like you are talking to one host when in reality you are talking to a VM jail under a security administrator's desk. Load these environments up with fake, but believable data. How would an attacker know if they are in production actual, or fake prod? Once you "acquire" an attacker, you could even monitor their approach and string them along with hopes of getting into SVRSQLPROD (which is obviously going to be loaded with fake bullshit, but they wont know until they find the symmetric encryption key which you will probably never give them).

Again, I think we are all clear that the above is not deterministic security and that certain experienced attackers (or insiders) may be able to smell such a honeypot from a mile away.
Hn.js