skysight-inc/HackerNews huggingface dataset:
California and New York are the size of countries. Why couldn't they function on their own as countries? I think a lot of states would be better served if they operated more autonomously and the federal government managed less of their business. I get that in certain cases that's not the optimal situation for resource allocation but freedom has a price.
Introduction to Room 101
This was my first computer. Dad threw it away when I was at college, I was disappointed. Wish I still had it.
> What event system ? how does it capture the failure mode ? I have an app that is now 4 years old, on which 6 devs are working full time, what can I do today to make it better in a month or two ?

Good question. Definitely the wording can be improved. Let me try to explain though.

Suppose you write a simple function which processes payment. It fails. Now you can insert a state saying failed with error code 1001. Now this insert creates an event which invokes a serverless function specifically aimed at resolving this error.

This way you have smaller cohesive functions which do "atomic" work as much as possible.

PS: Co-author here.
Advanced Version Control Pocket Guide for Game Developers [pdf]
For the non-math readers, ruler-and-compass constructions are constructible numbers¹, which are a subset of algebraic numbers², which are a subset of computable numbers³, which are a tiny⁴ subset of complex numbers.

¹ http://mathworld.wolfram.com/ConstructibleNumber.html
² http://mathworld.wolfram.com/AlgebraicNumber.html
³ http://mathworld.wolfram.com/ComputableNumber.html
⁴ http://mathworld.wolfram.com/MeasureZero.html
I've surprised the NTSB hasn't found touch interfaces dangerous and forced recalls to disable all of them that are within the drivers reach when the vehicle is in gear. Touch is great for things that are complex enough that you need to stop anyway (I doubt anyone can create an interface for entering the address you are going to that is safe to use while driving). Touch touch should be available to the navigator, but the screen should not be visible to the driver.

When I'm driving give me a minimal number of buttons/knobs so that I can quickly learn them all. Ideally these should be standardized so I don't have to take my eyes off the road to figure out how to control the wipers.
I am surprised how many product ignore this fact - that human peripheral vision is more sensitive to movement than the center vision.

Sony would put some animation on the bluetooth handsfree unit that distracts me when I am driving at night.

"Helpful" popups would bounce up and down at the corner of a screen on Mac and Windows.

What is the reason? To look "cool"? To check off a feature in some feature list?

It's like 2000's manufacturers putting blue LEDs everywhere...
You can set it to just show your function keys too.
I’m I the only one who is neutral or even slightly positive about the Touch Bar? I definitely can’t understand why so many people hate it. Take the two points of the article: 1) he uses an external keyboard 80-90% of the time, so he doesn’t care. Well, it’s called Laptop for a reason. 2) errors: I’ve been using the bar for quite a while and wouldn’t say the error rate is any higher than for any other key on my keyboard. I delete a lot of text because I hit the wrong key on the physical keyboard

I wonder if I’m the only one who doesn’t understand where all the hate is coming from
DNS was built in the 80s, there are still buildings from the 80s that are just fine.

We're just really really bad at software engineering as a practice.
Yes, as long as it is one step in the breakup of lots of other monopolies/conglomerates and not just politically motivated targeting.
After writing the following, I realized it might come off as more critical than I meant it. I'm genuinely curious, I just wasn't able to understand the motivation for this idea from the Wikipedia page.

First, let me attempt a summary in language that makes sense to me. You want to interpolate a function f:R^n to R^m. So you pick a "random non-linear dynamical system", and compose f with the output of this. To be concrete, let's say you pick a polynomial map F: R^n to R^n of degree at most k for some fixed k with random Gaussian coefficients. Let g(x) = h(1), where h' = F(h) and h(0)=x. Now, given training data (x_i, y_i), let z_i = g(x_i), and interpolate the function f* on the training data (z_i, y_i) using whatever method you like (least squares or a Neural net or whatever). Given test data x, guess f(x) = f*(g(x)).

Is this correct? Why is this plausibly a good idea? Why have the function g be the output of a dynamical system, and not a random matrix? Or if you want g to be nonlinear for some reason (what reason?), the output of a random polynomial or a random Fourier series? What happens if two clusters in the initial data which are well separated and map to different well-separated outputs in the codomain get mixed after composing with the dynamical system map g? Or what if g is not even one-to-one?
I love it for brightness and volume control.

Besides that, it would be really cool if i could program it with microapps. Temperature would be cool and/or clock and upcoming events.

Otherwise i'm not using its app specific features. Just realised that there is a fav button when i have chrome open.
Yes. And I've personally found that the "sweet spot" in the middle is all too elusive.

In my career I think I've spent the majority of time at one extreme or the other. Feast or famine: overworked & stressed or underworked & depressed. When you can hit it just right in the middle, life is truly great. But rarely have I been able to sustain it for more than a couple months at a time. Let me know if you've found the secret :)
Himself?
Better to say a Turing machine has unbounded tape. ‘Infinite’ can lead to slippery equivocations.
I never said that the updated standard should not happen - quite the contrary. I'm saying only that a string contatenation function is already available on every modern Lisp image that has ASDF loaded, and is therefore usable from user code.
It was one complaint out of several, and the default behavior of a UI shouldn't be an annoyance.
You're right that homelessness is a complex problem. However, taking steps to protect lives (or even just improve comfort) isn't papering over the problem. I think taking tiny steps toward a solution, even limited in scope, is still a very helpful thing to do.
Except that in an orally transmitted culture, stories are _also_ told to communicate actual, factual history.

So the issue is that we no longer communicate our history through stories told out loud and therefore decided not to be able to conceive of any culture actually doing the same.
Show up 15-20 minutes late
Why would customers pay for the unreleased FSD if its available for an upgrade at any time?

Why would you pay for an unreleased product before is available having the option to upgrade to it when it is available?

Tesla has been selling FSD for years now and it has never been available, why would you buy it on the Model 3 knowing that?

These 3 questions are essentially the same, just worded differently. ¯\_(ツ)_/¯
Then people would be gravely offended by who was and wasn't on the list of choices.
In a sense, they are. You'll just lose points for not doing the work. Clearly not what you were suggesting of course, but it's true.

Can you clarify how you think this would work?
I suspect mostly second. For example, in Soviet Union housing was a huge pain point. Young (and not so young) residents who did not live with their parents lived in dorms for years (sometimes 10+ years) while the queue for their own apartment slowly moved on. Those postcards may be showing something to look up to only several short years away. I think.
> There's too much between the third party and your user's browser for you to make any assumptions about just one loaded resource's TLS shortcut.

Are you assuming that or is there some testing you know of that can help back that up?

Because I've heard of timing attacks happening over networks with a surprising amount of precision.

Granted I'm inclined to believe you, it's my gut feeling as well, but I've been so very wrong about this in the past that I default to assuming there is no amount of latency or jitter that can hide a timing attack from a determined attacker.
>horrible concrete boxes

The cubic shape has the best utilisation of materials per unit of usable space. Houses must be cubical.
Microsoft’s $7.5BN GitHub buy gets green-lit by EU regulators
Yes it's a gimmick, I knew the second I saw it. I hate it. It is a nightmare when using VIM. Ugh... When my work said they were going to buy me a MacBook Pro I was stoked. When I found it came with that crap... cringe
I know you're being sarcastic, but even in the ANSI CL spec the word "deprecated" appears in some places. It's just that since nothing followed to it, the deprecation had no practical effect: the fixedness of the CL spec is just an accidental result of history.

As an aging developer I also detest environments that break things every other day, but I have realized that on the other hand system that never move have indeed a tendency to wither, usually in comfortable niches, while the flow of things moves elsewhere.
> there's no "literal" meaning where Dravidian means Southern India.

Except for the literal Sanskrit meaning of Dravida which refers to Southern India.
Especially wrt the DoJ claim. What does the Department of Justice have to do with anything?
Can you share some of those words with us? Because in these comments I'm reading things like, "A system is a system."
The video wasn't a scam, but maybe it was misleading. Telsa is very far behind Waymo/Cruise (and even waymo hasn't fully solved the problem yet), they are constraining themselves to use less sensors and they have less AI expertise in house.
How does front-end debt grow?
I really like my 2015 MBP, but outside the dated hardware in comparison I still think the 2012 model was "the best". Yes, it was thicker and heavier - but I didn't have to worry about buying as much RAM as I thought I'd ever need at purchase time, or storage for that matter (because while OWC sold replacement SSD's for the rMBP they were the only vendor, why Apple didn't adopt M.2 when it was released is beyond me).

Hell, Dell managed to put SODIMM slots + standard M.2 in the XPS 15 and at it's thickest it's still thinner than the 2015 MBP. You can't even argue that Apple does things for the sake of size when the competition beats them on it while maintaining upgradability.

One day I hope Apple brings back a proper MBP, because at this point I don't buy their products for the hardware but because it's the only sane choice for a *NIX-based workstation that doesn't require I constantly mess with things or give up loads of software to use.
Input lag is actually equal to your ping. Ping measures round-trip time.

I don't know what my input lag was during gameplay, but it was certainly enough to be noticeable.
The mix of conspiracy theory and condescension in this article is really obnoxious.
I can't speak for all Western countries, but I live in an extremely humid area with high pollen from around March until November. High humidity means your clothes take forever to dry and they're going to be covered in insects. High pollen means your clothes are going to be death-coated for anyone with even mild allergies.

It's really not feasible here. Some people hang their clothes to dry inside in sun rooms, but it's not very common. It's easier to throw them in the dryer.
I just saw the update notice myself (on Windows) but the numbering was bizarre and I couldn't find any official announcement or download, so I just killed and deleted the Java Update Scheduler instead. Useless as of JDK 11 anyway due to changed licensing. Did Oracle get hacked?
My fear is that if a breakup occurred, it would only allow Chinese tech companies to come marching in, destroying American competition. (This could backfire pretty bad...)
I agree with the article. When I bought my MacBook Pro I was actually rather enthusiastic about the Touch Bar, and very cautious about the butterfly keyboard. Two and a half years later I love the Butterfly keyboard and dislike the Touch Bar. I don't hate it, but I'd rather have the physical function keys back.
I assume you are aware of and have real refutations for the proposition that the Eye of the Sahara could be a location for Atlantis?

And you are absolutely incorrect about Plato's description being considered allegory at the time. Anyone during his time could have gone to Egypt and asked the same questions Solon did and gotten the same answer from the same temple.

You are repeating wrote cultural knowledge as if you had real research to back it up.
I write reference-style articles on confusing/underused areas of iOS development, and maintain links to hard to find documentation over at https://www.iosdev.recipes
This really isn't the same discussion.

Edit: Actually I guess you could say they are, although the titles are so different I think it will attract different people into the comments. I would not have clicked on that link but I immediately was interested in this story.
Nice idea, but without match expressions (checked by the compiler) it’s just not as good as a true FP language.
> entitlements would be lower

That's just the political rhetoric. Red-staters love their entitlements just so long as they go to the "right" people.
That's what I want to do: configure something that I used to not have to configure before. The touchbar replaced a row of keys that was fine before and required no extra effort. Once you configure something and it's no longer the default then you have to reconfigure every one you use or you have an inconsistent experience. I'm okay with this for many things but for a keyboard is ridiculous.
DNS needs to be decentralized, like on a blockchain. The internet won't really be free until this happens. Currently ICANN, the top-level domain registries, and even the registrars have too much control and can take down and censor domains.
First, let me say thank you for your efforts towards making DNS more accessible for implementors. Could you elaborate on "CNAME chasing to other zones: let’s not" and "Adding glue from other zones: let’s not"?
Yes, we should start with the regional telecom monopolies.
I've been thinking along the same lines. I currently use Python for relatively small projects, but even then, I wish I had type declarations when I come back to code I haven't looked at in a while.

What is your favorite language with an advanced type system, Haskell, OCaml, or something else? I've dabbled in both, but I want to dive deep into one. I like the look of Haskell more, but I'm a little afraid of it.
The author won the Nobel Prize in physics.
Just remap capslock to escape. It's more convenient for vi anyway.
Specialized applications aren't too bad if they're made with integration in mind. That allows them to tie together different datasets to do a limited set of things really well.

The problem is if it's difficult to get data into or out of them.

At work we make a fairly specialized application, but we're very flexible in how we can receive data and send data back out. From manually copying and pasting Excel sheets, parsing emails and PDFs, plain XML over SFTP or web services/REST APIs, we got solutions depending on where the core data comes from and where results needs to go (status back to WMS/TMS, financial details to invoicing system etc).

If needed we have customer-specific "integration shims" to easily adjust/correct/ignore data as it comes or goes.

This allows us to focus on making our application really good at a few things, and let other programs handle the tasks our customer also needs to get the job done (warehouse management, transport management, invoicing etc).

I agree though that support can be a bit of an issue when you have many systems working together and something is wrong. The place where the user discovers the error is often not the place where the error occurred. Monitoring is important, allowing support to be proactive ("hey, the server where you're hosting the DB to our program has less than 1GB diskspace left again").
Two spacecraft are embarking on a 7-year journey to decode Mercury’s mysteries
I usually start out buy building each "service" as a separate module that provides some type of interface (aka a classic interface in java / c#) where the interface can be referenced seperatly from the implementation (aka a "Interfaces" dll / jar)

From there launch the app as a monolith that references all the modules. As you grow and find out one module needs a lot more resources or fail over start hosting the seperatly and replace the implementation of the interface with something calls that module's new external home.

The real complexity is how cleanly you can separate the data between modules and still maintain efficient use of the data. i.e. if "user" and "invoice" are two modules, but data is highly related, do you dupe, cross-module load at runtime, etc.
Those things do not provide any physical security though, which is a very real concern for homeless people. In fact, the sort of lightweight, high-quality equipment that most backpackers choose, would likely just invite theft and/or violence.
Honestly, the only way to "win" the game at this point is to emigrate to somewhere sensible, Canada is nice!
Not with some protectionist regulation in place.
> but there's absolutely zero reason to allow the return gifts in the first place

There are reasons, but just ones that you don't agree with or haven't thought of. You need to understand that reciprocation is in the culture, and people are not purely rational economic actors. It's entirely possible some towns would outright refuse 'assistance' without being able to reciprocate somehow.
Yes, I should have clarified that the UI/userspace runs fine, but you still need to get those compiled bits from somewhere.
Come to Tandy Assembly next month in OH and relive your glory days.
Separating concerns is the fundamental principle, not hosting your code on 10 different machines for no good reason.
Sorry not quite, I believe that people use OOP in enterprise settings perhaps thinking:

* Encapsulation might make it safer for programmers to modify code without affecting other areas.

* Inheritance will make it easier to set standards for large numbers of high turnover programmers.

and that then it grows complex for various mostly social factors.

The testable hypothesis in this is that if you started with another programming model, and applied the same social pressures to it, it would end up just as ugly and complex.

These codebases have hordes of programmers banging away on them, with little regard for the bigger picture which makes the code ugly and inconsistent.[1]

Architects then react to this and attempt to enforce standards by introducing patterns and subclasses and facades etc, which is what makes it complex.

Basically, I'm saying that the main straw-man used to argue against OOP: the enterprise codebase is chosen for the wrong reasons.

Put any other programming style under the same pressures and you'll end up with a similar big ball of mud.

[1] https://en.wikipedia.org/wiki/Tragedy_of_the_commons
I've never used GraphQL, would using it mean I do not have to define DTOs or other API objects, I would just create models from whats been passed into GraphQL?

Talking in a Java context here.
It's a curious situation for sure. QBasic shares the property that you can run decades old code unmodified, but we don't celebrate that language. I think a certain amount of resistance to updating it must also come from looking at other languages that have no spec whatsoever (not even an old one) and are doing or have done just fine. Then you look at the various problems that would be addressed by an ANSI update, and see that so many of them are resolved with libraries that work across implementations, some bundled OOTB with implementations, and easy to get via quicklisp if not. And as you bring up, though there's not a standard for hash literals, which aesthetically sucks, you still have a gorillion choices you can import including writing your own in a few lines to fit your aesthetics if you can't stand the alists. Lisp is powerful enough to support such flexible choices without a headache.

A serious effort would probably benefit from talking to the C++ people. Since my knowledge of C++ is basically stuck at C++98 + a few Boost utils, my outside perspective is that C++0x and eventually C++11-C++17 were just standardizing what were already halfway de-facto standards in Boost (halfway because you could get a lot of questionable looks for including Boost from some parts of the community, and the limitations of C++ meant some things didn't look or debug as nice as if there were compiler support). Still, with the standard the syntax has grown quite a bit and some of it can be more pleasing than the Boost macros. Did it break anyone? Probably, but at least compilers let them compile with old standards. It'd be a good conversation with C++ committee people especially to see what it took to finally update such an old spec. A CL update would surely need a similar feature of running under the old spec, since e.g. if you're adding literal hash table support you're almost surely going to break someone who was using that syntax choice for something else.
El Cheapo Rails Performance Metrics, Part 1
#4 => go get customers that will pay for the development of the rest of the API. They will require some light customization, but you will get paid while building your product.
Please don't put "Show HN" on titles unless it's your own personal work.

Please read https://news.ycombinator.com/showhn.html.
Thank you for writing this.

It looks like the content on that site is really just plain, static text. It would be nice if it could be read without requiring the user's browser to allow javascript.
I once worked with a team that wanted to use Microservices, because they felt like a Monolith approach for their webapp wouldn't support their user base long term.

They had 400 users, serving roughly 40 requests per second. Their database was small enough to fit into RAM on my cell phone.

--

I'm sure there are 100% valid reasons for billion dollar corporations to use microservices. But most of the uses of it that I've experienced personally were not really warranted for any technical reason, and were usually some combination of non-tech/non-product problems bleeding into the codebase. (Whether that's inexperience, mismanagement, communication issues, lack of leadership, political strife, tacit permission to silo oneself off, developer boredom, or whatever.)
You missed the point of the article entirely.

The Bookish Life--obviously this will discuss a life built around books. Yeah, yeah, anyone could guess how it would end, i.e. there's little fortune in it.

How to Read and Why--interest. Purely so. You read slow because of your interest, you read because of your interest. Just as a foodie eats a dessert slowly because of his interest, he eats because of his interest. That a book-ie and a foodie would prefer one set of books or foods over another or over all others doesn't make the person less of a lover of their books or foods. That a foodie might prefer chopsticks over silverware, fingers or tortillas doesn't make their palate any less exquisite.

Tell me--would you consider Isaac Newton and Fyoder Dostoevsky small-minded because they tended to keep their reading Euro-centric as well?

And would I be right to charge anyone who hasn't the faintest interest in the Dalit literature of India or Japan, or in Mariama Bâ's So Long a Letter, or in the depths of Borges' poetry, etc., to be merely provincial? Or am I just being smug regarding my reading habits?

I recommend you re-read the piece with a little less hostility.