skysight-inc/HackerNews huggingface dataset:
> Nobody has advocated writing "raw SQL with raw strings" in years.

It is an overstatement. Every time I look into some random PHP code I see there raw SQL with raw strings. Maybe it is just me being "lucky"?

By the way, the thread starter comment was mentioned it, I got phrase from it.
Publish Data Science Articles to the Web Using Jupyter, GitHub and Kyso
This reminded me of this article - https://mosaicscience.com/story/staying-awake-surprisingly-e... - which discusses treating depression by purposely putting patients into extremely sleep deprived states.
For those who needs something more beefy, check out
https://www.nxp.com/support/developer-resources/evaluation-a...
They are about 60 USD per board, though if you want only the chip for a final product, it will become much cheaper.

We use these development boards in combination with freeRTOS (bare C based) for lots of projects in our lab that require high sampling rates (e.g. 8 analog sensor readings at 1 kHz) motor control loops etc.

There is a very good blog on these chips at
mcuoneclipse.com
You could do this with no CSS, only html.
You're confusing China losing with the US winning. We both lost.
> For Python we tried to remove all the Python dependencies from the base image

Do you know why? I think it would be cool to not have any interpreted languages in the base image and FreeBSD manages to do that but I don't consider it that critical. For me it would be more interesting to not have Perl at all than Python...

I guess the situation with Python 2.7 on RHEL 7 was/is that painful?
> How much room do they have to grow? Uber is already a, what, multi-billion-dollar company? If they're not gross margin profitable now, where's the tipping point?

Lets consider Block Buster Video. Their business model was to use cheap access to debt to push out all their small competitors. This is Ubers business model as well. I'm not sure they actually made a profit that wasn't financed by debt for their whole 28 years in business.
I have also seen similar recovery benefits from longer (11+) hours sleeps. During a period of a few months I worked out heavily every day, and noticed better recovery and faster strength gains from the longer sleeps. One downside with the longer sleeps was that I would not get tired at the same time each night, so my sleep window moved later and later until I needed to skip a night's sleep to reset, so I was probably sleeping more than my normal rhythms required
You’re definitely right, my suggestion is business friendly (theoretically) and likely user-hostile depending on how well it’s executed.
That can be an advantage based on what video you may be watching and where ;)
I don't think so - I know the CentOS folk and they are working very hard on a release. There is no interference from IBM, partly because Red Hat hasn't been acquired yet, and partly because why would they kill a cash machine that's proven to work so well? Despite some nonsense you read online IBM are not stupid.
Anyone have any thoughts on why chrony vs openntpd?

Back when the ntpd security became a thing I evaluated chrony and openntpd as replacements and went with openntpd. It seemed to be simpler, used fewer system resources and had the openbsd teams reputation behind it.
They honestly don't realize how much of a feature that is. This is literally a kill if missing feature for me. I'm not due for a phone replacement yet, but when my device does end up reaching end of life I'll probably replace it with the successor of the 3a.
I was thinking exactly about q3a when I wrote the question!
It is, it imprints the mystical wonder of your understanding at the time and the effects it has on you (first video game, first 16bit game, first 3d game, fps or rts) and it's there forever.
I did consider the ATTINY 84, in fact it was the 84 was the one I wanted to order. But due to a mistake, I had ordered the 85 instead. So, when they arrived, I didn't really feel like waiting another week to get working on this project, so I found an online hack/article that allowed me to use the 85s with just 3 pins. I can't remember exactly (it was a year ago), but something similar to this I guess:

https://www.instructables.com/id/NRF24L01-With-ATtiny85-3-Pi...
This looks exactly how an average person expects AI to work = is fake, probably contracted cross promotion between tweeting person (some app owner) and F/X house.
I plan to keep my iPhone 8 for a few years, but I sure hope Google sells a ton of these things so that others will start to target this price point aggressively. I don't see Apple doing it, but, hey, that's their cheese.
You're profiling the what now?
Obviously it's whoever misrepresented the abilities of said robot. If that's nobody then you don't have a case.
Thanks to Pixel 3 discounts, the 3a is only $200 less (or 33%)
These people are human beings too. And the middle class is looking: whatever happens in the top tax bracket, trickles down.
Enlarging Labeled Handwritten Character Datasets with Capsule Networks
Went to go buy an apple watch and wanted to try the different sizes and feel the weights of the different models on my wrist. I signed in and was told that someone would come find me- that I just need to wait by the table. So I sit by the table for 25 minutes. I inquire around the table as to who's been helped/ try to gauge how many people are in front in "line". I wait for 20 minutes without any Apple employee coming to the table to help anyone. I see about 5 employees standing around- not sure what their purposes are. I find someone in a blue shirt and khakis and tell them that I want to give them money but there has been zero progress in the watch selling, but there are other people in line in front of who also are interested in giving them money but likewise not being helped. The person issues me the standard retail apology without any additional information. 5 minutes go by without any other communication and I leave the store without a watch.

It was off-putting to say the least.
Difference for me has been how hard it is to find a repair shop that has parts in stock and can turn around a repair quickly on a non-Galaxy/non-iPhone.
The idea is that the large tech companies are overwhelmingly staffed and lead by people who qualify as the political left by American standards. As Breitbart said, "Politics is downstream from culture." - so if you have the most important communications platforms the world has ever seen all privately owned and operated by "the left", that sounds like a bad thing if you're on "the right", because they can shape discourse however they want - either overtly by banning people for bad politics or covertly by shadowbanning and otherwise muting popular voices with undesirable opinions. Imagine if Google/Facebook/Twitter were owned by the Koch brothers and staffed by members of the Federalist Society and Heritage Foundation - people on the left would be doing the same thing Tucker Carlson is doing.
Okay, but did Memmius end up building over the school or not?
> Daylight/nighttime shouldn't matter much in modern human civilization anyway

You know except that pesky thing about how most people sleep at night and work during the day.

I'm not saying society wouldn't adjust, I just don't think it removes even the bulk of the problem. If I set my phone alarm in et to 6am, if I travel to San Francisco or Rome I want to be up at 6 local time, because I want to be up during the daylight hours.
Sand mining 'mafias' destroying environment, livelihoods: UN
I wrote the WebGL renderer after explorations in rendering the text using a 2D canvas which simply didn't live up to my expectations. It wasn't so much about drawing text at a "reasonable" speed, that was very easy to accomplish using the DOM, it was about excelling and trying to reach native-level performance from within a web context.

You can argue about the downsides of Electron all you want, but in xterm.js (the component that does the terminal parsing/rendering that Hyper consumes) we have a portable terminal frontend that can run on anything that has a webview and is getting really fast. It's also used in _a lot_ of software[0]. I wouldn't call that particularly sad.

https://github.com/xtermjs/xterm.js#real-world-uses
For a long time when optical mice were first released they were garbage for any serious work for gaming. All the problems that mechanical mice had, optical mice also had - sometimes even worse. They were more fussy about the surfaces, lower resolution, even their lighter weight was less desirable for me as a gamer (at that time).

They were so mediocre that I had written them off as being gimmicky and something that would never catch on. Clearly I was proven wrong but it felt like it took a long time to reach that stage.

In hindsight it's no different to a lot of other breakthrough technologies. For example MP3 players took a few iterations before they became a viable competitor to existing portable music devices.
There's been a huge effort to get the base RHEL image size right down, so obviously getting rid of Python would help there. As for why we need to reduce the size of the base image, the answer is - as always - because containers.
Learn ReactJs by Building a Chat Front End
It was the default since Mandriva/Linux Mandrake 6.2 too!
Node.js – v12.2.0
To emphasize wahern's comment, I'll quote from the linked-to document: "The semantic descriptions in this International Standard describe the behavior of an
abstract machine in which issues of optimization are irrelevant."
They don't need to convince people to buy their stock. Wall Streets going to stuff this into Muni retirement funds and ma and pa's 401k.
"free speech" has become a wedge issue, a cudgel used by crypto-fascists to induce well-meaning centrists to actively fight for their cause. All you need is the thinnest veneer of respectability covering your bigotry and a stampede of individuals who nominally hate what you stand for will fight relentlessly for your interests.

In the world of the free speech absolutist, we are all obligated to sit politely on the sidelines listening to white nationalists recruit and further their cause, cheered by the health of the marketplace of ideas.

Thin gruel.
I think the most common problem with ORMs is that people doesn’t know when to use the ORMs functionality or when to write their own query. This always leads to N+1 problems and unmaintainable code, because when you eventually finds those problems it’s usually quick fixed because there’s no time for fixing all of it. It leads to ad hoc code for the next guy trying to change. This is generally not the ORMs fault, but always the programmer and that they don’t understand those limitations. Just replacing the same code with “raw” sql would produce the same thing but you need to write it all instead.
I am working on one. I will post it on HN when it's done :)
Definitely the most creative code I'll be seeing this week! I realize this is really bad practice and likely to be fixed since it can be used for tracking users, but: are there any advantages to using CSS over Javascript, in theory?
"and because SQL is impossible to compose without substantial problems."

Would you mind providing an example of what you mean?
Slightly relatedly, we bundle our source code into our deployable artifact along with the revision. A bit silly and it increases the artifact size, but it's just another layer in the Docker image and so it's not that painful.
> The powers that be typically go out of their way to shield you from this kind of stuff when you're "too valuable on the floor".

Many times, the "glue" person is picking up The Powers That Be's slack, e.g. "Well, this needs to get done and Manager Bob isn't going to do it for reason X, so I'll make sure it gets done".
Very nice launch. I probably will buy this in the next week or two to power a product I will be launching myself soon.

The non-recurring pricing model makes it almost too cheap, but it’s right in the sweet spot of pulling out the corporate card and not even thinking about it.

$129 is cheap enough for the all but the tiniest projects.

I do like the simplicity of a single price point with no tiers or feature table, but it’s hard to shake the thought you’re leaving a lot on the table, or almost even disqualifying yourself from someone looking for a “premium” solution. I might suggest a $499 and $1999 version which offer merely higher tiers of support, just to see if anyone buys it. Pick some price which feels almost outrageous to you. At the very least it would anchor the $129.

At $129 the support should be limited to forums and self-help only.

docs.fullhelp.com - “Powered by FullHelp”.

Dogfooding doesn’t get better than this! I didn’t see an active live chat widget though?

You should be highlighting this as your product demo effectively.
I'm glad to see plastic make a return. I don't mind the metal, but I couldn't buy a glass backed phone. I remember when the Nexus 4 came out, people everywhere had broken glass backs.
What's fraud is that you represented your opinions in such a tremendously ineffective way that none of us can read them now, and you are acting like you blessed the world. Nobody even knows what your opinion was, I hope you're happy.
Pretty standard marketing for all phones and "smart" devices these days
That a good point. But a huge part of the GDP increase is an increase in efficiency, i.e., you can do more with less energy. A 2019 computer would cost a totally different price in 2009, and would be infeasible expensive in 1999.

But if you compare technologies within one year, the price tag gives you a very good idea how much energy was used for producing each one. Of course, there are scale effects at play, so an R&D cost (energy) might only occur once, but is then distributed within all units produced. This will very well be reflected in the price, once something enter mass market.

The same will happen with photovoltaic cells: They will continue to get cheaper (and more efficient) and at one point it will make economic sense to put them everywhere. And at this point it is clear that they are net energy producers, where currently it is still debatable, at least in more northern regions.
From a financial perspective, 30 is the new 20
"Of course, you can’t just deploy a change to production without, at least, running it locally or on a test server to make sure the code executes correctly"

Dear client of course we can, just prepare for commits in history:
"That simple fix" 6h ago
"Fix the fix" 3h ago
"Really fix" 1,5h ago
"Really really fix the fix" 10min ago

If all goes well enough, we won't have to craft "Customer data fix" SQL query commit the next day, just because someone forgot about that totally hidden stored procedure that was not included in the "Really fix". Which takes another 6 hours to prepare on next business day and invoice instead of being 3-4h of proper fix for "one liner" turns into bill for 12 hours and 2 days of lost production time.

Yours,
humble developer.
As models start fitting on devices, what keeps it a competitive advantage? Are specific models patentable? Copyrightable?

What's stopping Apple or a foreign company from shipping these models themselves?
Would you get buried in a mushroom suit like Luke Perry?
No negativity received on this end at all!

I definitely see what you're saying - that section of the ASP.NET Core docs drop straight into a top-to-bottom code-driven tutorial, whereas the Django docs go concept-by-concept. This is great feedback, so thanks!

If you get a chance, check out Microsoft Learn (microsoft.com/learn) - we're working on guided learning as opposed to documentation. Most of our content is interactive and task-based, but we try to ground the interactivity with conceptual information, context and scenarios. Much of the technical content published to date is Azure-focused, but we're growing other topics, including ASP.NET Core.
Does it support wireless charging? I can't seem to find any info on that and I'm addicted to that feature. Can't imaging going back to dealing with desk spaghetti.
Microsoft Research's TORC: VR controller for high-dexterity finger interaction
Hm so the mechanics within the game provide all the logical basis that a cpu requires?
Difference is less even than that if you got it a couple of weeks ago. My Pixel 3 cost $450, and it's the 128GB. If I could have gotten the 64GB, it would have been only $400, which is the same price as the Pixel 3a?
No wireless charging. Personally I find that having a desk-mounted power outlet gets rid of desk spaghetti. Also buying shorter USB cables so that they don't get spooled up cuts down on desk spaghetti.
io_uring definitely wants to own the buffers, either for its entire lifetime (with preregistered memory mappings) or at least until completion.

if possible the future should take ownership of the buffer and have it returned on completion.
The 'edit-compile-run-debug' cycle is so expensive, chip design is all about simulation.

Chip vendors, and the tools they use to design them, actually do a significant amount of work for error cases. This is important not just for correctness, but for production yield, reliability, temperature and radiation hardness, etc. As chips get larger and more dense this becomes more and more important.

Single Event Upset (where one bit flips) is an example of the type of error.
https://en.wikipedia.org/wiki/Single_event_upset
I find that the key to risk taking is to separate the things you can't afford losing from the things you're okay risking. And if by habit you always categorize any undesirable outcome (i.e. failure) in the first category, you'd never expose yourself to the upside of risk taking.

To win by losing, you first have to insulate yourself from losing. When losing is fatal to further attempts (russian roulette, financial ruin, etc) it's probably not worth participating. But it's important to distinguish between truly consequential outcomes from other failures that merely harm things you're okay losing (time, some money, some reputation, career status, ego, etc).
What are you using to version/migrate views?
More likely those who were paying attention and learned the lesson were promoted, fired, or age-discriminated out of it.
> The potential disparity between the value of personal data and what users receive in return creates space for governments to seek reimbursement on society’s behalf.

Is there a way to leverage competition to reduce this disparity instead of taxation? If there were proper competition, would there be a disparity?
Things we're working on at Cloverly–including helicopter transport offsets
Screen is bigger on 3a (vs 3). Also there is no Visual Core on 3a.
A couple of years ago, I approached several coworkers whom I highly respected and asked them for frank advice about whether I should continue on a technical, individual-contributor track or instead set my sights on a managerial track.

I felt as if my tech skills weren't all that great, and that I would always be playing catch-up (since programming was a career change for me). And from past jobs, I knew I had some pretty good "glue work" and managerial skills.

But there were two bits of advice that stuck out to me and led me to continue to remain on a technical track.

One was very practical. For someone with decent managerial skills and passable technical skills, it is always going to be harder to transition from managerial track to technical track than the other way around, so why not try to go as far as I can technically before making that decision?

The other was very much in line with the advice given in this talk. I was asked to ignore my current strengths and weaknesses and just answer this question: In which track would you feel less jealous of those in the other track? I realized that I would only be focusing on the managerial track because I didn't think I could cut it in the technical track. If I knew I could pull off the technical track, there really wouldn't be any question in my mind. And so the advice I was given was to continue to pursue the track I was most interested in, until one of these things happen: I go on doing it long enough without getting fired that I realize I actually can do it; I realize there's something else that interests me more; or I get fired and nobody else will hire me for the role I want and then I explore other possibilities.
If this interests you, check out their previous paper about generalised consensus: https://blog.acolyer.org/2019/03/08/a-generalised-solution-t...

I really like how understandable it is.
i was wondering why it didn't convince me! if it knows the shapes to badly erase then it could be erasing them correctly
SQL Injection Suminagashi
> Lucretius’s poem, dedicated to Memmius, was an attempt to convince the boorish Roman that he was obliterating a site of importance.

[Citation needed!!!]

This is so contrary to everything that we know about Memmius, Lucretius, and the place of poets in Ancient Rome that if you want to argue along those lines you'd need an extensive bibliography.

In Rome, "poets" were craftsmen, not "authors" in the modern sense of the term. They worked for hire. Memmius, who was an extremely important man from one of the most famous families, placed an order for an epic poem to Lucretius, in order to appear more gracious and to advance his political career.

Lucretius was happy to oblige.

To think that Lucretius wrote this poem on his own accord and then dedicated it to Memmius in order to lecture him about his behavior is ludicrous.
I wouldn't say that I need GPU to render my terminal, but if the alternative is to just let the GPU sit there, unused unloved, then I'll take the terminal that accelerates using the GPU.
According to some videos in which Matthew Walker (the author of "Why we sleep") is answering some Q&As on the Internet, he briefly talks about weed and alcohol.

Both these drugs are used as sedatives, but they are not good for your sleep. Your sleep cycles are just not the same (e.g. you don't get to REM as much) and it is considered detrimental for your sleep.

As others have mentioned in this thread, I highly recommend reading "Why we sleep" by M. Walker. It's one of the best books I've read.
“We don’t need another photo-sharing app or another blockchain start-up,” said Mr. Rogers... “We need to solve the carbon crisis. But a lot of folks are chasing the easy money rather than taking responsibility for what needs to be done.”
Two caveats with find_by_sql: it’s read-only, so no insert or update commands, and it still does column-to-instance-variable monkeypatching on the object level, as opposed to the class-level monkeypatching that’s applied to normal ActiveRecord classes as soon as the DB schema is read.
Signify(1) Signatures with a YubiHSM
I'm not from the US, what are the sales taxes (VAT) there? I mean for personal purchase.

I wonder casue $1 = 1£ once again. So the $399 US price (net) becomes 399£ (gross) which is $522 atm.
> Gmail's fix was to cache the emails' images on their own server, so it's only hit once.

That doesn't solve the problem; email trackers could just use a unique URL per email.
What does the visual core do? Also it looks like the pixel 3a's GPU is downgraded to Adreno 615 from Adreno 630
on pixel 3.
The Verge says it feels noticeably slower

https://www.theverge.com/2019/5/7/18530449/google-pixel-3a-x...

Also, even to my bad eyes, the camera quality isn't quite as good as the Pixel 3, due to the additional processing that this phone doesn't do
No, it has to be done. But some people won't believe it until they've had a couple tough upgrades that show the cost of laxity.

On one project there were CERT advisories out, and we had deferred upgrades due to breaking changes in those upgrades. All of a sudden we had to deal with the upgrade and a security issue at the same time. It was ugly. After the second time, we started putting at least one upgrade story per month on the work queue. Sometimes we let the engineer pick what they wanted to upgrade (just upgrade something!). Other times we picked the engineer for the work that needed to be done.