skysight-inc/HackerNews huggingface dataset:
I agree to have big integers in JavaScript. I have read about this before (after asking about 64-bit integers in JavaScript on IRC, actually), and this is very good. That was one of the remaining problems in JavaScript, and now it is fixed.

The N-API routines for dealing with bigint are still marked as experimental, but then I can make a proper JavaScript API for SQLite; each SQL type can be represented as a different JavaScript type.

My "reload-form" package (which is pure JavaScript and does not use N-API) can also be corrected to tell the difference between integer nodes and floating nodes.

And it can also be used with other stuff that uses unlimited big integers such as implementing some esolangs (such as Fractran).

Just one thing I do not agree is the requirement that both operands of a bit shift operator need to be the same type; I think it should not be required and the type of the left operand should be used as the type of the result. (Although it isn't too serious if this isn't fixed.)
Except that it doesn't improve safety--for the driver of the suburban tank or their victim.

Better handling and braking due to a lower center of mass and less mass actually improves safety by getting into fewer accidents.
I phrased that poorly. I personally liked the look of Ionic. I read Medium post after Medium post while researching telling me I'm crazy to use Ionic since iOS people pay for apps and demand native appearance.
Passenger trains?

If so, does this happen as often for highways? If not, why not?
I've never run into anyone that did.
I consider myself a successful software developer who enjoys his work. I took one single programming class as an undergrad and it sucked. Everything else was literature, philosophy, art, with some science mixed in when I could. I think that decision served me well. It also made me less appealing to people hiring for boring positions and much more appealing to those trying to find smart weirdos who thought differently. My first real college programming job was with people who specifically did not hire out of the CS department. It was awesome!
Really? A SD card is a few dollars.
Ya, I bet a lot of people who grew up in cities don't have the same experience.
so sad that HN has come to this
Yeah, even though it's a time lapse, it conveys pretty well the fact that the ISS is going 5. miles. every. second.

If I left my home right now at that speed for San Francisco (~36 miles), I'd be ready to park in ~ 7 seconds.

Most of the universe operates at velocities and under conditions we can barely imagine.
> those who had chosen the vocational route showed marked drops in interest in tasks that are investigative and enterprising in nature.

Am I incorrect to think that this is narrowing of the vocational route?
Do we know people wouldn’t want to pay? I know Facebook never asked me if I would. People have a track record of paying for services like television. They might pay for social networks if given a chance. Charge me two dollars a month, make all the creepy spying illegal, and the remnants of Facebook are useful (staying connected to friends, etc.).
Grew up in a medium sized mostly working-class town in Northern England. My whole childhood I felt like an outsider, nobody cared about the things I cared about, whenever I spoke it was met with complete silence or indifference. I thought there was something wrong with me at a fundamental level, perhaps autism. First day at uni (19 yo) I stayed in my room most of the night, terrified. Finally summoned up the courage and socialised. Week later I stepped out of my room into the communal kitchen. A conversation was going on and someone asked my opinion. It suddenly occurred to me that that had never happened to me before entire life. I wasn’t some weirdo everyone was scared of or didn’t understand. Normal person, normal interests; just different to the tiny society I gre up in. Now married 35 living in Boston at junior faculty at Harvard Medical School, that tiny moment in the dorm kitchen shaped my whole life for the better, and university is the reason.
I think the point that the GP is making is that while you may indeed have bought a hybrid, objectively the population at large have not made that same switch, and if only you (and people like you) make the switch it has approximately no effect on the problem.

Sure, it's obviously better if people choose the hybrid over the guzzler, but if you're trying to do something to avoid catastrophic climate change, I think spending time persuading people not to buy the guzzler is not worth the opportunity cost. (By which I mean, at the margin, any time spent persuading people not to buy a gas guzzler would be better spent persuading people to support a carbon tax of some sort).
Is there any advantage to that over a generic OS? I have not, in general, cared what language my OS was written in.
there's an extremely efficient diesel engine called the Lister CS that became popular in the 1920s. It's claim to fame is that it can run 30-45 years without major maintenance and produce 1kwH per .125 gallons of diesel. That's 8kwh per gallon. It was banned in 2009 by the Obama administration because it was considered fuel inefficient by bureaucrats who didn't understand the design. There was a movement to try and de-list it from the ban. My dream has been trying to find one and draft it into freecad so people could 3d print cast iron molds and re-manufacture them. https://youtu.be/NhAD8D3sM2A?t=98
> My first real college programming job was with people who specifically did not hire out of the CS department.

Not going to lie, that sounds incredibly counter-intuitive. However, as long as the people have the right skills or mindset I don’t see the issue. There may be a lacking in deeper underlying systems knowledge, though.
I think the arrow points the other way in Europe. Their passenger rails are smooth for a nice ride. They run cargo over the smooth rails. In the US, once you leave the East Coast, you're on freight rails which are bumpy and annoying.
Broadening the mind, no- opposite effect. It's a very group think environment.

You do get better problem solving skills though and a new approach to looking at problems.
Small cities don't have trains.

Maybe you consider Boston to be a small city? They have some pretty empty trains, particularly the commuter rail. (yes it leaves the city, but that is the whole point of something that we aren't calling a subway)
US universities seem terrible.

Mine opened me to a variety of specialties, opinions, skills, cultural movements that I had never seen before.

This was my first contact with unions, entrepreneurs, metalheads, gay community, ultra-christians, drug users, researchers.
Old interesting thread about this: https://www.airliners.net/forum/viewtopic.php?t=276419
I think you just did...
and in every year since 1995 your quality of life has increased
For home is code for able to run Netflix, Facebook, amazon, and Ebay.
> is an informational RFC so a Microsoft employee just dumped it as written, no chance for anyone to say...

Which is ironic, considering “RFC” stands for “Request for Comments”.
For those interested in broadening their minds, I highly recommend living in a country other than the one you were born in for at least a year. Preferably one with a different language than your first language. It's pretty hard to do that while still hanging on to your narrow mindset. I work remotely and I've had the privilege of being able to live internationally since 2012. But even if you don't work remotely there are ways to have a similar experience. I once volunteered for a school in a foreign country for two years. Volunteer opportunities are abundant. And if you can't live internationally for one reason or another, learning another language and joining language meetup groups is a great way to connect with people and ideas that will expand your mind. And reading books from authors outside of the places you're familiar with is also a great way to expand your mind by exposing yourself to new ideas.
Haha, as if the average US university graduate is joining the ruling class
I think the OP is probably complaining about people tending to put all of the business logic into the controller. This essentially leads the the controller functions being modular/procedural in nature rather than object oriented. And I think that's what they mean by "spaghetti" -- you have either a big honking function, or you have a whole bunch of functions with no clear place to put them. This is made worse with the strategy of "service objects", which are usually not objects, but rather highly coupled modules of functionality that expose all of the properties in a way that is global to the entire module.

However, IMHO the OP is incorrect that the problem is with MVC. The problem is actually with the active record pattern (or, again in IMHO, anti-pattern). In active record, your "model object" has a one to one relationship with the (usually relational) table where you are storing the data. The problem with this is that what makes sense from an OOD perspective does not make sense from a relational perspective. This is why there are entire books written about the problems of object relational mapping.

From a relational perspective, we want to store things in a way that makes the relational calculus cleaner. We want to be able to efficiently store and query the data. From the OOD perspective, we want to increase cohesion for the functionality by grouping common state together. These two goals are usually at odds.

Just like we have a view layer in MVC with respect to the UI, so too do we need a view layer with respect to other kinds of external representations. Probably people don't remember the old, old frameworks where you designed forms graphically for the UI and the system automatically generated C++ code for the "model objects" that could be used to populate those forms. Most people don't know about these because they were an incredibly bad idea that thankfully died out. No sane developer would build their model objects to be one to one relationships with their UI view objects. The same should be true for other representations like the DB layer, or indeed communication layers (serialising model objects so you can ship out the data for a different application is incredibly common, but also incredibly bad). You want view objects to translate the data to and from the model objects.

Once you've done that, then you can design your model objects so that they can sanely calculate your business logic. Your controller object become the thing that they were meant to be in the first place: objects that forward incoming requests on to the model layer and put the result into the view layer.

Rails (at least if you are using ActiveRecord) is just broken. It's not a representation of how MVC should work. It works well enough for some cases, but gradually the stink gets worse and worse until you start asking yourself if there was some advantage to using Rails in the first place.
I have talked to some libertarians that once you push them a little seem to view slavery as a lesser evil than taxes or environmental regulations.
Some universities teach "follow the rules", others teach "here's where the rules come from." I was fortunate enough to have attended one of the latter.

This was brought home to me when I had to calculate the moment of inertia of some gears in a gearbox. I started with the concept of MoI, and worked it out with a bit of calculus. Another engineer was looking over my work, and asked "what book did you get the formula for MoI out of?" (The shape of the gear was unusual and the book formulae didn't match.)
And the outlook of political action on climate change is at best questionable.
This article literally says that while going to university does not make you a more well-rounded person (if we use "well-rounded" as a proxy for "broadened mind"), working makes you a less well-rounded person.
>it starts out "they need to in order to get a good job!" and end with "well... how are they going to become a more well rounded person if they don't go?"

I've honestly never heard anyone say that outside of movies and tv. Maybe I don't come from a posh enough of a background that "becoming well rounded" is an option of equal consideration alongside earning a sustainable income. Sure, they're not always mutually exclusive, but let's be real; most people are going to college nowadays for a better career, not to be a renaissance man/woman. I would consider myself to be well positioned now after going to college for engineering and having almost a decade of work experience under my belt, but even the thought of going back to college for a subject I'm passionate about is just a pipe dream. It's expensive, time consuming and I'll probably have no pragmatic use for what I learn without a career change. I barely had enough time while in undergrad to focus on the core material, let alone add on an extra 25% workload to become "well rounded". Sure, I had to take some "intro to _______" courses, but I hardly consider that any sort of in depth knowledge. Is that what people consider a well rounded college experience? If so, I disagree.
This is probably the most informative critique of Flutter that I've read. Should be higher up on the thread. Thanks!
this has become increasingly hard

I take it you weren't around back when the only realistic method of finding customers was magazine advertising and a 1.5"x2" ad in a tech magazine was $500/month with no guarantee that anyone would even notice it?

look at the huge salaries

For a lot of us it's not about the money; it's about being to live by your own rules.
It's also important to realise that, in any given situation 'cost effective' doesn't necessarily mean 'affordable' (or affordable-enough to lead to the people installing them).

The people need to have the available funds, etc. It may save momey but that's not an immediate payoff.

Any increase in efficiency vs costs will help with that equation.
Very cool article. Somewhat surprised China wasn’t included on the list as they have built a high speed rail network in the last several decades that already has more track mileage than Europe’s.

Where there is a will there is a way, as the saying goes, and America, and the UK, with their profit über alles obsession are happy to let infrastructure rot and make people use woefully underfunded and overcrowded rail systems rather than trying something “new.”
> He cites opinion polls taken during the Vietnam war showing that support for the war was greater among those with more higher education.

The rationale for American intervention in Vietnam, rightly or wrongly, was based on sophisticated geopolitical concerns. Things that are harder to understand tend to be better understood by more educated people for fairly obvious reasons. US intervention in World War II, to name one counterexample, was justified by a sneak attack on American sailors in Hawaii. Almost any idiot understood why we were fighting then.

Another difference was media influence, with the media firmly in favor of America going to war against Japan and Germany, and firmly opposed to America going to war against North Vietnam. If something is harder to understand, and the overwhelming message from the mass media is one of opposition to the government's position, then most uneducated people will oppose it. It's not that complicated.
Funny enough it is the lack of native Google Places support that makes Flutter a no go for me.

Also not having a JSX like syntax. I went into RN expecting to hate JSX, but I ended up loving it.

Doing UI development with nested {} is so hideous in comparison. I am impressed at the quality of UIs Flutter can make, but the code behind them is, IMHO, much harder to read than the RN equivalent.
David Blume [1] has been promoting for years the idea of small-scale alcohol fuel production integrated into a Permaculture farm.

This is a simple, backyard technology that can be adopted incrementally. The fuel is carbon-neutral. If you don't have land, you can join or start a Community-Supported Agriculture co-op, for produce and fuel.

[1] https://en.wikipedia.org/wiki/David_Blume
The Goertzel algorithm is O(N) for a single frequency component, which beats the FFT’s O(N log N), where N is the length of the data. The FFT gives you the whole spectrum though, whereas Goertzel “costs” O(N) each time. This might matter if the peak is not exactly where you imagine (e.g. 7.8 instead of 8). Furthermore, there’s a been a ton of work put into optimizing FFTs for a wide range of platforms, special cases, etc, so the FFT might actually run faster.

Further reading: http://www.fftw.org/pruned.html
That’s the root issue, isn’t it. Is a simulation of something somehow inferior to the real thing? I’m not quite so sure. In my experience, it has been machines that have provided me with a certain kind of kindness and warmth that no human could ever provide for me. A machine’s love would be unconditional.
That's why old political approaches should be abandoned in favor of more dramatic ones. I'm so done being nice to 'skeptics' and ideological moderates, their intellectually lazy accessories.
This insight should be more commonly accepted.

That said - just like in Science - the consensus among thoughtfully educated people is probably 'more correct'.

Where things can go wrong ... is when the systematic class is wrong, or where there is a value shift.

Populism is a super example of this: educated business type see the world through economic lenses, and can't for a second understand how 'Brexit' could happen. Most people have an affinity for their culture and a few extra cents on off their pint (and massively more surpluses in the pockets of bankers) is not going to change their mind over it.

Doctors are a funny bunch in this regard: all of them seem to me to be the most intelligent, boring folks! They have to be in a way extremely small-c conservative, very orthodox, there's no experimentation or zaniness with human bodies. The system, and frankly the work (years of total work, oversight, convention) keeps them in the mould. And frankly, they have no reason to try to go outside it either, once inside the mould, it's just too lucrative to leave.
They give it rave reviews: https://blog.discordapp.com/why-discord-is-sticking-with-rea...
But they're still thinking of it as evil.

Slavery is completely anti-ethical to libertarianism.
Counterpoint:

Switching from an omnivorous to vegetarian diet could reduce a person's carbon footprint by about 30 percent, says Martin Heller, an engineer at the Center for Sustainable Systems at the University of Michigan.

https://www.popsci.com/vegetarian-environment-health (I've picked this as the first hit on google, but if you want to find other sources go for it).

The point about vegetarianism is that eating meat is SOOOOOOOOOOOOOOOOOOOO inefficient that climate change won't be solved until we ALL stop eating meat (or at least the majority of the planet).

Yes, there are corporate plutocrats that are destroying the planet. No, that does not let you off the hook. If you see a collective action problem and decide that, since it's hard, and other people suck, you don't have to participate, then you're just as much a part of the problem as the sucky people.
Well, there is a port of glibc to UEFI, so one could very easily "boot into Emacs". Strangely I've not seen anyone do this.
If you can design a roof from which a shingle can be replaced from the inside, the roof doesn't leak when exposed to wind-driven rain, the roof can hold your weight, and the cost isn't hilariously high, I'll be impressed.

Also, if you stick a power port on your roof and you live in an area with lots of lightning, I'll stay away from your house.
Rational, in this context, means profit maximizing - both kinds of landowners should act in a similar way. If the owners compromise to less than the value of the land, sure, that's a way to redistribute the savings back to society, but it's still unfair to them. It also opens a major conflict of interest for those controlling the negotiation to get involved and grab some of that money on the table.

I much rather empower all owners to maximize the value of the land, but at the same time, have sane eminent domain regulation that prevent them for getting rich at the taxpayer's expense. So any inefficiency is the result of legislation that allows speculators to abuse the process.
While I think most of the "series" itself make sense, the configurations are often insane.

The X280 still has a 1366x768 display option.

For T480s, you need to figure out if you have 8GB RAM or 4GB soldered + 4GB. Even more stupid, the latter option comes more expensive.
Yeah but the more people that use your app the more tested it gets. The more gnarly edge cases crop up, the bigger the impact if you accidentally ship buggy features, etc. Scale means even your front end has to live up to a higher quality bar. And given that app store downloads are driven by reviews, it's even more critical to avoid bad performance than on the web.
>However, as long as the people have the right skills or mindset I don’t see the issue.

That is exactly what they’re looking for, regardless of degree type. Without digging up all the numbers, soft skills in the hiring process are important to a great deal——as long as that person is able to understand the on-the-job training you’re going to give them.

You can have person A and B interviewing for a PM position.

Person A graduated from CS dept, 3.9cGPA, introvert, no experience.

Person B graduated from Literature dept, 3.8cGPA, study abroad, sociable, 5 years work experience with deadlines.

In my opinion, I would take person B over A. I’ll tell you why, though.

Person A has (1) shown they are able to understand different cultures and environments—as the company may be Fortune 500 or non-profit, the workforce can be diverse. (2) they have shown they can take responsibility and (3) be willing to engage with others, coworkers in particular and (4) is willing to get out of their comfort zone by wandering into CS.

Person B will bring me (1) experience but they may not be able to communicate effectively with coworkers, managers, customers, etc. due to their personality. They may know how to fix a problem but (2) they’re personality makes them get confrontational when you say there’s a better way than their way. In the end, the amount of worry I’d have with how they’d work with my other employees is much greater than the time it’ll take me to take an apprentice and teach them how and what I want and need them to learn.
No. I am not going to work with people who have spent decades systematically undermining every else's existence and enthusiastically supporting genocide and ecocide, as most hard-right Republicans do (the only kind that are still allied ot the GOP). These people need to be defeated, not reasoned with.
What if we stopped to think that culture where women are free to show off their beauty, and where culture celebrates top 5%, is perhaps determeintal to 95%. I'd be stressed too if I was part of contest where I was losing and whole life depended on it.
It is amazing that around 2007 the US had declining oil production, an oil price shock and peak oil scare which probably were the primary reasons for the invasion of Iraq and terrible ethanol and biofuel policies. Now, there is talk of the US not requiring any imported oil by 2025 (not sure if that counts imports from the biggest supplier Canada), how times change due to a technological advancement in drilling practices.

I believe US foreign policy will potentially have very large changes due to their new found energy independence.
For me, Hot Corners are a pain when they're accidentally activated, so another way is Apple menu -> Lock Screen. After about 5 seconds, the screen turns off.