skysight-inc/HackerNews huggingface dataset:
I am genuinely curious to read more about this, but a google search for Grrranimals doesn't give me anything to work with. Can you provide a bit more info, please?

(if this was a joke, consider this my admission of egg on my face)
That doesn’t respond to the comment I made.
Since you need the road for the car to drive on, it's kind of fair to assume the road is a given.
I like your suggestion. It's almost like a punch-line to add the "For FUN" at the end after a two beat pause. I bet you get some chuckles too.
No. False. Totally wrong.

They vote every couple of years for candidates that are also accepting millions in donations from wealthy donors. No public airtime is provided so they only hear about candidates who can raise money. They go to their workplace where the owners make all the decisions. Collectively most decisions in our economy are made by the capital owners or the political candidates who could raise the most funds from capital owners.

Regular non capital owning people in America have significantly less political power than those with money. That is not democratic representation.
It’s probably https://bugzilla.mozilla.org/show_bug.cgi?id=1574538, so you could try Firefox Nightly and see if there’s any improvement.
The only reason typescript has gotten the massive adoption is because its a superset of JS. If you remove the js part then it wont grow anymore!
When I first read the often-repeated advice NEVER change public history or something along those lines I was like 'yeah, 'duh'. My opinion on that changed a bit though and I reckon this advice follows the standard pattern of good guidelines being falsely wrapped as strict rules which must never be broken.

In practice: I only work in smaller teams and we use feature branches which get merged into master after review, having the netto effect pretty much no-one is ever working directly on master. So it if happens someone does something like pushing a commit only to figure out 2 days later it has a typo or even needs a small code change or anything which would improve the commit with trivial changes not really worth creating another commit, we just go ahead and fixup/rebase/force push i.e. rewrite public history. Since the rest of the team always does pull --rebase of master anyway and/or rebases feature branches this is not a problem at all.
I think Self did the same. At those times this was one of the most researched topics, how to efficiently implement a PIC, polymorphic inline cache. Either with a simple ordered list (usually constructed at run-time, a harder problem), such a hash (good for compile-time) or vtables.
Certain devices such as Pixelbook and Slate received Pie with Chrome OS 72 in February.
Shopify Store Cost
Global Electricity Generation Quiz
Hydrocarbons will have a place as aviation fuel for the foreseeable future. It is unlikely that they'll be made with fossil carbon for much longer.
Yep, unpopular.
"fossil fuel" is a limited resource (not renewable) full of interesting chemical molecules. It is a shame that it is wasted for energy production. IMHO, it is too cheap.
100% agree.

> The trick is figuring out which way fits your business needs.

Rule of thumb - if you don't control the database, use an ORM; if you do control the database, work directly with it.

For example, let's say that your business is a software company that sells an on-prem product. Some of your customers have Postgres expertise, some have MySQL expertise, some MSSQL, some people are stuck on Oracle. Forcing customers to develop DBA expertise in a database they're not familiar with just for the privilege of buying your product is a sales disaster in the making. So you go with an ORM and set up QA testing that tests releases across all of the databases that you support, and the ORM helps you by making it much more likely that your development efforts will automagically succeed in working with each of the supported databases.

In most other situations, though, it makes much more sense to start with the data design. If your business grows, your databases are going to grow. You are almost guaranteed not to switch databases (absent overwhelming financial need, see: Oracle) over the lifetime of your company. Data analysts (data scientists now?) can extract serious value from your databases by getting into the weeds of the database schema, indexes, and queries and working with developers and DBAs to optimize them for business reporting. If you give up control to an automated tool that knows nothing about your business, your business will be less competitive as a result.

Data is far too valuable these days to refuse to develop expertise with the underlying databases.
If neither exists, electricity wins.

Are you sure? I'm not. Especially not when we're talking the sort of electrical infrastructure that can support charging multiple electric cars and trucks (although there's no point in having an electric car if there aren't any roads).

Obviously electricity is the right long term answer and where we should be going, but I doubt it is the cheapest immediate solution in many parts of the world.
> and many explicitly so [1].

Ignoring Google's properties (because we all know by now that they don't really play fair), the only examples I see there are Bank of America and some user complaining about his D3 animation being slow.

I'd hardly call that many.
> Hamburgers contain trans fat

> This is pretty misleading. Animal fat has a very small amount of trans fat

I'm sorry, but what was misleading? I didn't say "most trans fat in hamburgers is from animal fat". Pointing out that a main source is probably hydrogenated vegetable oil does not negate the animal fat source or the amount of trans fat overall.
I'm not sure there's a place far away enough, while still relatively free from regular natural disasters (and human disasters, like war). It's not like high-voltage transmissions lines are very lossy, so if putting plants far away was enough to assuage the nuclear fears, we'd probably have them already.
Yeah, in theory. But nuclear NIMBYism might prove too strong for even that. It will be interesting (scary) to see how this game of chicken plays out. Will fear of nuclear prevail for much longer over fear of climate change?
Everything old is new again.

From 2012, the first(?) time this was a widespread issue on the web:
https://www.theverge.com/2012/6/29/3126837/google-plus-event...

and Google has been enduring calendar spam for years beyong Google+:
https://support.google.com/calendar/forum/AAAAd3GaXpE5kUOfyI...
Magnus Carlsen buys chess platform Chessable.com
i.e. hardware companies are not tech companies (in this definition)
Your skepticism is partially correct and we've been pretty open about what we have and how we're applying ML. Lets take the example of getting all icons from a single category. If you choose the category food and your description contains "apple & bananas", it's not trivial to get an icon with an apple and banana unless you are using some sort of ML. Moreover, which fonts to put together is also not trivial. If we just start putting random stuff together, you'll be able to differentiate it pretty easily.

Now to your last point, we are working on something like that. We are training a deep learning architecture that creates logos from scratch, the stuff you are talking about. But we wanted to ship a simple yet decent product before we started working on more sophisticated stuff. In a couple of months, users will have option to select icons that are entirely generated by an AI engine.

I hope that clears some things. AI is being used in many places but there are also atleast 2-3 features that we're working on right now which will really exhibit the effectiveness of AI here.

Let me know if you wanna chat more about this. Happy to talk!
> The code expects that a different thread writes to the variable at the same time that this thread might read from it - that's the definition of a race condition,

No, that isn't. In one thread it reads a value over and over. Another thread will periodically set it. This isn't a race condition and requires no synchonization. On writer thread only, and you're fine. If the code was doing more, I didn't see it.

I just wrong something very similar yesterday where I had a counter that is read over and over and an async handler updated it. I had to make it volatile to prevent the the spin on it from optimizing out the load.

Yes, in low level programming, you have to know about the hardware, what a register is, what cache it, etc. C++ has a very lose (almost nonexistent) abstract model. This isn't UB.

> int is not the "correct type" because no int object lives at the pointed-to location after the cast

The string had its length prepended to it. There was an int there. Also, those aliasing rules are more about optimization issues, not as much about alignment issues (eg, if you are only writing for intel/amd hardware alignment only really matter for SIMD, and there is no penalty on unaligned access (with a few small exceptions that didn't apply here).
EBITDA is non-GAAP and needs to come with a disclaimer but it's pretty common and everyone's used to it. The point of it is to isolate the underlying operating profit without the complicating details of capital structure, tax regime, or capex.

Things like WeWork's "community-adjusted EBITDA" read like punchlines, though.
It is used. 3d stacking is called.

Most memory devices, like pendrives use that.
Smells like a CFAA violation to me.
Or you just tax fuel appropriately and suddenly the BMW or Audi isn't attractive anymore.
Episode 158: Rich Hickey on Clojure
Why do you throw it away after 2 years? It still gets security updates. Perfectly useable for more time.
Yes, we learned the difference between Thai basil and regular basil in Thailand, which was before she started attempting to make her own curry :).

I'm not sure if there's cardamom in the curry, but it's definitely in the cupboard (both powdered and whole cardamom pods), so if it should be there, I expect it is.
Instead of stopping use of a commercial-propaganda-infested app like Instagram, the author continues to use it, but shouts at the wind, essentially, on this is annoying.

Fatalism, defeatism, subservience.
No, I'm disagreeing. Kids just out of highschool are not full adults. They should be able to learn to apply themselves while not losing the chance to be an engineer. University allows for that freedom, an apprenticement doesn't.

Universities are win-win-win for people, bosses and government. Especially for the majority, the average students who can't retrain or self-study as easily. And the minorities, parents without degrees, middle and lower class or even outside the family business.

Aside, I was that smart youngster, I chose math, I wouldn't gave graduated. English would have been much worse. I was bored but at least not burned out. And I have used every course practically, 6 years of education and almost nothing that can be reliably scrapped to create a bootcamp.
Git Undo: The Art of Rolling Back
JavaScript: It
> They vote every couple of years for candidates

Aka the definition of democracy, yes.

> that are also accepting millions in donations from wealthy donors. No public airtime is provided so they only hear about candidates who can raise money.

Candidates that the wealthy don't like raise money all the time, though. Most rich people didn't like Trump. They certainly don't like Bernie Sanders or Elizabeth Warren. If your assertion is that money in politics systematically disenfranchises the poor, then you may want to re-examine the current democratic field.

> They go to their workplace where the owners make all the decisions. Collectively most decisions in our economy are made by the capital owners or the political candidates who could raise the most funds from capital owners.

Except that they choose to go to those workplaces. They may choose to do whatever they wish with their own time and labor.
> That's the point if they are forced to take full-time employees

Where does it say this?
Git Core Concepts
Writing Modern Async JavaScript
Because tech extends beyond software.
But you can't always do this if you need to use the site for your company (like hangouts for meetings, or other services used like managing expenses).
Depending on where you draw the line on "privacy", Matomo can also be hosted by you, if you don't mind the extra burden, and one installation can track multiple sites.

Edit: Not advocating in favour of Matomo, it's just that it is a solution which seems quite full featured. Personally I found it painful enough to work with it (from a devops perspective) that I wouldn't touch it with a ten foot stick.
A much higher percentage of the population used to smoke cigarettes, before the taxes were levied: https://i2.wp.com/www.prb.org/wp-content/uploads/2011/02/ust...
The US has launched a trade/tariff skirmish against China. Not because of Hong Kong, but it shows a government willing to act.
If an adapter exists we can categorize it as case 3 for the sake of this discussion. I think you're needlessly hung up on the word protocol when that really doesn't matter.
For example your server might have 3 network ports, one is a dedicated BMC, but if it's not populated it will bridge to one of the other two, so basically you only have 1 port that is safe to use.
go env -w allow you to configure your local go installation and set the default value of the config entry when the environment variable is not set. The config entries have the same name as environment variables.
Of course the situation is far, far worse in China than in the US, but look at some of the recent-ish litigation involving corporations and the NSA and FBI to see what I mean. Who the current president is has little to do with it.

If I hadn't added that, I would've received the opposite comment about American bias towards China.
Here's a cool project for farm telemetry: http://www.geekstips.com/two-esp8266-communication-talk-each...

Star-mesh topology, with batteries on the leaf nodes. Solar further in. Excerpt: "I’m expecting about 3 months at a 5min log interval using a 2000mAh lipo battery."
Windows 8 (and perhaps 10, can't remember) alerted me when I used a USB 3 thumbdrive in a USB 2 port
Both were correct! The original was correct, but produced a warning. Linus fixed the warning correctly. LTS folks "fixed" it incorrectly: "As a further failure, instead of looking at Linus' correct fix (observable by checking out the master tree at the time), the approach employed in the LTS kernels seems to have been to naively silence the warning by simply swapping the order of the two lines".
I'm not surprised about your comment on Ecto. Ecto takes experience and practice, but by the time you finish writing your 5th or 6th application, Ecto will be so natural that you wouldn't want to go back. Especially not to writing vanilla SQL.
> The 7-bag has a consistent piece output, making it more predictable. It’s easy to know where in a bag you are, and when a piece you need might come. Because of how predictable this random generator is, it’s actually possible to play forever. Overall it’s a silly system that makes you wonder how it ever became the official randomizer.

I actually like the bag one, knowing where in a bag you are gives an edge, and thus it adds an extra dimension to the game I feel.
> So I wonder, what are Firefox's competitive advantages?

Acting in the interest of the user.

Chrome has a history of adding or removing features, to align more to Google's business strategy, than to what really matters to the users.
We are currently at the moment where every aerospace manufacturer in the world is building some kind of autonomous sky taxi... seems like every idea has its time and specific technical requirements.
When companies no longer did exclusively software; Amazon and Microsoft to name a few stepped into the hardware space some time ago. Of course, with Microsoft we're talking what, 30 years ago already?

It's a bit more nebulous with e.g. Uber though; they don't really sell software, they sell a service and act as a middle man via software instead.
>>Either you (literally) didn't mean "literally", or you're being wilfully ignorant.

I do literally mean literally. Maybe I am wilfully ignorant then.

>> There's a significant minority who are more than happy with the idea of a no-deal Brexit and who voted for it with the understanding that may be the outcome.

See, I just don't believe that part. I don't believe that 3 years ago in 2016 there was any significant(or even greater than >1000) number of people who understood that if nothing is negotiated with the EU the UK will leave on WTO terms, who fully understood what that meant for the British trade position and who were still happy to proceed. Sure there is a lot of people who say that nowadays, but I just don't believe there was enough information about this 3 years ago for anyone but the most politically and economically engaged people to make such a choice and realistically be happy with a no-deal.

>>As far as the last part of the final sentence goes, one could also make a similar argument that the remain side should have shown some responsibility with regards to not utterly destroying the negotiating position in order to purposefully sabotage Brexit such that it becomes unsalvageable.

That just sounds like saying that half of the British society should have just shut up and said nothing for the 3 years while the government was negotiating. That's impossible in a democracy - not only people should be able to voice their opinions and displeasure with what is happening, they should also be able to change their minds about decisions already taken.
Sorry but it does not matter how many since everything is automated and you create the warm up scheduler when you create the function. As other pointed out in this thread that are other challenges with this approach.

>> Just use Fargate

We were trying to and we decided that is not our cup of tea. Lambdas are.
If I give Mozilla more money than they were anticipating, will they put it aside for a rainy day? Or will they expand their ambitions to fit their new budget and find themselves impoverished again next year?

Money is fungible but budgets have a nasty habit of being elastic.
I have experienced several riots (Hong Kong 2019, Hong Kong 2013, Istanbul 2013, Paris 2019..) where gas was deployed. Your comments are pithy and correct.

What is interesting is observing theearning curve of the protest participants, who rapidly learn and adapt, but always seem initially underprepared.
Presumably it reduces power usage by up to 2/3rds, not 3x. (You won’t be using Firefox to charge your MacBook.)
I actually was quite impressed. I invented a fake company and it made quite a good logo.

https://www.designwithai.com/shareLogoSocial?logoHash=1422d7...

I'd use this for exploring and generating ideas. Which is what AI-design is good for, really.
With edge computing, though, the computing is done under the control of whoever controls the mainframe even though it's physically close to the user, so it's quite different from personal computing.
I remember this one the first time round!

Previous discussion: https://news.ycombinator.com/item?id=8674039
Insert queries are tedious. Especially if you are using named parameters.

Foo.withSession { session ->
session.createSQLQuery("INSERT INTO FOO (bar, baz) VALUES (:bar, :baz)")
.setParameter("bar", "bar")
.setParameter("baz", "baz")
.executeUpdate()
}

vs

new Foo(bar: "bar", baz:"baz").save()

I don't need more justification to use an ORM.
Whic is odd, as I find FF better than Chrome for energy usage, but still trailing Safari.
Artificial Intelligence Without the Utopian Promise-Land and Dystopian Doomsday
Personal experience: I have a ESP32 that runs as a sort of weather station. It has a ~2000mAh battery and lasts almost 2 months, getting a data point once every 30 minutes. That is using the ESPHome to program it.

Even at once every 10 minutes, it should manage almost 3 weeks without requiring a recharge.

Some options that definitely help is to quicken the Wifi reconnect. ESPHome has options to disable AP scanning and doing a fast-and-dirty connect&send. Using MQTT also helped a lot compared to using HTTP.

The most important part is to reduce the on-time as much as possible. 30 seconds is still way above the lower limit that I can do. If you halve it you can double the amount of data points without additional energy by reducing the sleep time.

I'm working on replacing the battery with a solar panel and supercap to power it from ambient shadow light entirely, the numbers to agree that it is possible in my case. Would help to keep it alive in cold weather.
Exactly, I don't get why people are against it. All ORM allows you to write raw query and using ORM does not mean that you suck at SQL or vice versa.
The ESP 01S is particularly good once you get to grips with writing to them because you can power them from any old phone charger that spits out 5V. You simply cut off the plug, look for the wire with the white stripe on it to determine polarity, strip the ends and screw into the relay block.

Be prepared to wave goodbye to your spare time and seriously consider a separate VLAN/SSID for these things.
Happy to know that you liked your logo. Let us know if there is anything we could do to improve the product.
Scaling factors don't work that way. The economies of scale are where the majority of the market is, and that's low spec cables. So low spec cables will always have better economies of scale than high spec ones, and will have cheaper materials costs.

Any company that tries to compete by upgrading all their output to the top 25% of the market, paying materials costs at the top 25% rate across the whole production run, is committing economic suicide. All it takes is one competitor to not do that and only address the low end, and the whole strategy collapses in ruins.
> With some guns, some tanks, some international support, and the right leader, Hong Kong could win their independence from the monsters who run China.

still enjoying your school holiday?

independence? you mean a self isolated island without water/food/electricity supply? will also be interesting to watch how they can manage to sustain their economy and way of life.
Exactly, welcome back the good old Internet Explorer days!
Because diversity in the tech world isn't real. Just read about Brendan Eich. He got fired because he had the incorrect opinion.

In my world, that is the complete opposite of diversity.
Lockheed Martin (Rotary Mission Systems,RMS) Immediate interviews Candidates with ACTIVE security clearances
danielle.greenfeld@lmco.com
Even for "complex reporting" you can still use ORMs if you save your SQL query as a VIEW in the database. Then you use ORM for reading the output.
Collaborate faster with Real-Time tasks, chat, and adaptive workflows
+1 for Ecto, the most powerful ORM that I have seen so far (among PHP, Node, Ruby, Python and Elixir)
Who, me? I can assure you that I didn't, but I saw it on Reddit, so others might have submitted it as well.
I used it to learn regexp a long time ago and then for fun, because, regex are fun!
Quick reminder that advisory locks may need to be released by the same connection that acquired them...
I cannot really find a standard definition of pico hectares, but am I correct in assuming we're talking about 0.01 mm²? Or 1 square hecto-micrometre, I guess.
Hyperthreading is cool in theory, but most workloads that take full advantage of it are usually filled with code that is doing nothing but following pointers. It is generally unoptimized code or code written in an interpreted language that doesn't focus on speed anyway. It also requires the program to take advantage of multiple threads in the first place. This means languages like python don't benefit at all but code written in C/C++ are so optimized that hyperthreading does nothing but divide the cache into two halves.