skysight-inc/HackerNews huggingface dataset:
Django's ORM is fine. I would say that it's good but not particularly powerful.

Its easy to use and makes inserting / updating data fast and easy. It's simple and fast for simple queries.
It starts getting a bit crap when you need complex queries. Annotations / GROUP BY stuff isn't intuitive.

It does make it easy for inexperienced people to generate huge numbers of queries by looping through querysets and getting field from another table.

It lets you run raw SQL through it and prevents SQL injection, so its really a case of knowing when to switch to that.
Service Bureaus, which would do mainframe job processing for smaller companies that couldn't afford their own computer, used to be a thing.
Germany always had very high electricity prices. Even if you eliminated the renewable surcharge it would still have higher prices than Belgium.
Years ago I had the same discussion [0] on Medium and here is my take on that: You will end up reinventing "an ORM" because your SQL won't handle all the edges cases. At least with eg. Django ORM we know it helps avoid some security flaws.

[0]: https://medium.com/@iMitwe/been-working-with-django-for-over...
I have been using thunderbird for years and didn't even know it did IM. It does a decent job at email and calender stuff.
How are they a Tech company? Is every car company with in-house developed self driving a tech company? Does that mean eventually most car companies will be tech companies and the term car company will fall out of use?
This is all rather basic math.
LearnerShape | Python Developer | London, UK | Full-time | ONSITE

LearnerShape is looking for a creative, ambitious Python engineer to help us solve one of the key education problems posed by technological change: the need for workforces and individuals to retrain and learn new skills for new roles. We have just received substantial funding from Innovate UK, the UK’s government innovation agency.

Key skills are Python and SQL. Knowledge of graph analytics, AWS and Ruby also helpful.

Compensation/benefits include £50-70K, 0.5-1.5% equity, pension and other

Full job description at https://drive.google.com/open?id=1orzQPk-yEmjwmfmI5GCH8slmZD...

Please reply with CV to info@learnershape.com
Maybe if you mention in the question that you've always found it hard, you might get more response. The explanation made it very different from what I expected the question was. That sounds terrible. Good luck!
Thanks for sharing. I'm working on face recognition with homomorphic encryption, therefore without compromising the user privacy. The bold goal is the first privacy preserving videocamera.
If you find this interesting, I would love to chat about it.
A Guide to Building Better Co-Founder Relationships
It depends on which fields of your expected jobs are. Go is the language of cloud infrastructure, and half of blockchian projects are written in Go.
Why would anyone pay for Mozilla to do adblocking when they could install an ad blocker for free.
"I also need to improve my accuracy for numbers and sybmols — but again, this will come with time." - oddly enough this hasn't been the case for me or at least as much I as I would expect. I believe it would take a concerted effort--though there are some symbols that I'm much more proficient at. ~ is not one of them!
I Make a Living Constructing 'The Perfect Day' for Random Strangers
I've used Mint and started to work on Ackee since it has been abandoned. It took me several rewrites and years, but it all started with Mint as an inspiration :D
> But then again: Is it even a good idea to access the same database from two codebases at all?

A motivation for relational algebra was different applications accessing data in different ways. This integration remains a selling point. Further, data often outlasts applications... even languages.
>Someone returns an ActiveRecord `User` object from a database method and now random other parts of your application are intricately linked to your database implementation.

Indeed. Its a rookie mistake but hey, you work with rookies all the time! Orms can be useful but they certainly allow for some dangerous patterns that are hard to notice if you're a young developer.
I believe it states the price of the aluminum is $3/kg, as opposed to the more expensive zirconium. I don't think they'd know the price of the finished MOF at this stage.
I will try to answer:

1. When you mention speed, there are two factors: downloading (size of the file and priority) and render (composition). There aren't many differences between one or another since, both use the browser default stylesheet.

2. I rely on CSS-grid to avoid floats. But it can be done too.

3. Inline SVG can be improved with imported embedding. But the benefit is really minimal to the point both structures are more or less similar (one has import instruction, the others has a path).

4. I respected all JS, ids from the original HN
That's why I prefer to say "it increased from 30 to 120" and let the reader calculate if they want to. At least the right info is there. :)
> Hong Kong could win their independence from the monsters who run China

Yes they could pull that off. But at what cost?

HK maritime and airspace were surrounded by China Guangdong and Fujian province. China could easily starve the city to death at no effort at all.
One randomizer I left out of this article (for the sake of brevity) is the Game Boy's version. It has much more bias as detailed in the post below. According to The Tetris Company founder it was also a last minute addition to the game. When they were testing a late build by Nintendo, it had a fixed sequence or something like that. So Nintendo flew in some devs to where Henk was, and over the weekend they programmed this new randomizer.

https://tetrisconcept.net/threads/randomizer-theory.512/page...
It's a rather well-known saying. See: https://en.wikipedia.org/wiki/Paradox_of_tolerance.

The core point is, if you have a society that accepts anything and everything, that society will not end up with all the things, because it'll also accept people working explicitly to get rid of some of the things. It will instead end up with few things, being run by "dictatorship of small, intolerant minorities"[0]. Therefore, if the society wants to stay accepting, it has to carve an exception - it needs to reject anyone who doesn't also accept anything and everything.

Reasoning behind the "paradox" is sound, but its application to real world varies. In particular, I've recently noticed that the "paradox of tolerance" is primarily being wielded by small, intolerant groups that want to aggressively force their way on everyone else.

--

[0] - https://news.ycombinator.com/item?id=20837171
> Applying the bug fixes in a dependency I'm using when a new version of it is published…

You can replace a dependency with a local modified copy of the dependency to do this.

Minimum Version Selection is for security reason. It might has some disadvantages, but personally I like it. It gives programmers more control.
Yup, agree. You might not be used to hard work but I am and I know those acres and acres are a 2, maximum 3, days of laying the pipes. And you know what also they are good for? Targeted irrigation as well. Shoot 2 rabbits with one bullet amigo. I wanna see you do irrigation and spraying pesticides using your drones and lets talk the cost of water + drones at the end of the season vs. my approach.
London Underground disruption for hours due to signal failure
Is Intel a tech company? Your i7 this week is the same i7 you bought last week.
AWS has marginal costs, as does Slack. Under this definition nearly nobody is a tech company
So obvious and simple! ...or you could just use SQL.
On a (somewhat) related note, I'm working on face recognition with homomorphic encryption, therefore without compromising the user privacy. The bold goal is the first privacy preserving videocamera. If you find this interesting, I would love to chat about it.
I would suggest that Mozilla has enough money already- they just don't spend it on Firefox. Donating only validates their current budget and gives them a mandate to keep building their sprawling portfolio of side projects.

There was some discussion about this a few days ago: https://news.ycombinator.com/item?id=20850950
Yes, that would be deciphering in a sense... in a sense to use "decipher" for "translate" is already an analogy, since "cipher" means to calculate or to write in a code, and "decipher" means to reverse the code... which is not exactly what's happening here if the language was not enciphered but merely obscure, but it's a natural enough extension of the meaning of the word.
C with templates (not classes), STL algorithms/ranges and small things like nullptr, auto, lambdas, stronger basic types, etc is actually a powerful configuration.
Where do you work? That is not the case at anyplace I've ever worked
Well, this is where we get the phrase "Plug and Pray", isn't it! ;-)

Right now I have an Uptab Mini-DisplayPort adapter in one port, and a StarTech full size DisplayPort adapter in the other. The Uptab adapter has its own USB-C input for power, so that is where the power supply is connected.

The mini and full size DisplayPorts are each connected to a 4K monitor, and I use all three - the two externals and the ThinkPad's WQHD. This all works great when the Uptab is in the rearmost USB-C port and the StarTech is in the other port. But if I switch the two around, one of the monitors goes into low resolution mode!

This kludgy configuration is just because these were the adapters I had on hand. There are a number of adapters that plug into a USB-C port and give you two mini-DisplayPort outputs - I have been meaning to try one out.
Does the RESF just browse C/C++ threads waiting for the right moment to jump in and proselytize? It is not even mentioned once in the article.
It's like sword making in Japan. The process was ritualized and copied, long before there was understanding of the underlying chemistry and why it worked.

Most of what we know how to do, like cooking, is learned by copying, not by understanding.

Despite bow and arrow being refined for millenia, the compound bow wasn't invented until 1966, when the inventor realized that nobody had applied modern engineering principles to bow design.
Hong Kong leader to kill bill, but some see move as too little, too late
They might just want to get it out the door asap, so that mitigation efforts could start sooner.
There is no way to know the contacts of your contacts. Email isn’t Facebook.
A related idea I’d love to explore is an off-grid fridge cooled via the Stirling cycle [0]. It’s essentially a Stirling engine run in reverse, using power to move heat vs. the other way around. No refrigerant is required, just an external source of power e.g. a DC electric motor. Such technology is used today for ultra-low-temperature cryonics. At least one Stirling cycle mini-fridge has been developed and brought to market; it got rave reviews from the boating community to whom it was marketed, but went out of production and was never followed up [1]. I’d love to find out why this technology hasn’t been more widely deployed.

[0] https://en.wikipedia.org/wiki/Stirling_cycle
[1] http://www.cruisersforum.com/forums/f115/coleman-stirling-po...
your disingenous use of subsidize leads me to believe your argument is weak
Yeah, in my mind this occupies a very different space that an actual font. It's sizzle & style. Not substance.
ORMs that I've experimented with tend to fall into one of two categories: either they treat the object model as prime, or they treat the relational model as prime.

The former almost invariably spurt out inefficient queries, or too many queries, or both. They usually require you to let the ORM generate tables. If you just want to have your object oriented design persist in a database, that's great.

The latter almost invariably results in trying to reinvent the SQL syntax in a quasi-language-native, quasi-database-agnostic way. They almost never manage to replicate more than a quarter of the power of real SQL, and in order to do anything non-trivial (or performant at scale) they force you to become an expert SQL and/or how it translates its own syntax into SQL.

And once you become more expert at SQL than your ORM, it's not long before you find the ORM is a net loss to productivity—in particular by how it encourages you to write too much data manipulation logic in code rather than directly in the database.

For the projects I've worked on, I've almost never wanted to turn data into objects. And on the occasions when I've thought otherwise, it has always turned out to be a mistake; de-objectifying it consistently results in simpler, shorter code with fewer data bugs.

I tend to find that the longer data spends being sieved through layers and tossed around inside your application, the more data bugs you'll end up having. It's much better to throw all data at the database as quickly as possible and do all manipulation within the database (where possible) or keep the turnaround into application code as short as possible. It means treating read-only outputs/reports more like isolated mini-applications; the false nirvana of code reuse be damned.

And that doesn't mean replacing an OOP or ORM fetish into a stored procedure/trigger fetish. It means realising that if your application is data at its core, it's your responsibility as a programmer to become an expert at native SQL.

The problem is that far too few programmers realise how deeply complex SQL can be; it's treated like a little side-hustle like regular expressions, when for so many programmers it's the most valuable skill to level up.
Not sure what you mean? It still comes under the moniker "Oil".
Indeed; if you're working with multiple developers and you need these policies enforced, you should use e.g. a makefile. I'm not sure if it's possible to force the use of that over straight `go` commands though.
>> Mistype a property on a model instance - no problem, no error, it will just not get saved to the db and data will be lost.

> That's a drawback of most dynamic languages, not a flaw of Django's ORM.

In Python, mistyping a name usually results in an exception at runtime. If Django doesn't check models for correctness, it can't be explained by being written in a dynamic language.
Five demands, not one less.

五大訴求，缺一不可。
Imagine the apes said it's foolish to invest in making hides from animals, that we shouldn't invest in the technology and just stay in Africa, as opposed to migrating to Europe, which is too cold for humans to live in.
The for same reason why we still use real numbers instead of imaginary ones everywhere. The problem is simple and so is the solution.
Well, it's not enough to try, unfortunately. They have to persist and this talk about the importance of keeping compatibility with Chrome in the context of blocking webRequest removal is not very encouraging.
It doesn't sound stupid to me. Browser features are so rich and similar nowadays that only the smallest differences swing an user one way or the other.

For example I was averse to Firefox for a long time because I didn't like the way scrolling pages felt.
It says bulk aluminum costs $3 per kilo, not MOF-303.
Does Windows really compete against Linux?
If you put an event bus in the middle (kinesis) your api-lambda functions don't need direct access to your RDS.
Subscribe lambda functions to your kinesis stream, and let them handle the link to your RDS. This way you wont notice the cold starts.
Would it be too hard to just compare arbitrary slices and arrays based on the contents of said data structures?
Converting arbitrary bytes to strings should fail at least some times, since not all byte sequences are valid UTF-8, and afaiu, in Go, the string type should always contain valid UTF-8.
Sneak Peak: Who Is Going to Speak at the OwnCloud Conference?
> I suppose if he wanted to donate to a diversity campaign, he'd donate to one directly.

This interpretation of his comment is... generous. I agree that there's a legitimate point around wanting your donation to go specifically to browser development and not overhead or other side-projects, but it's pretty clear that he was using the word diversity contemptuously.
Do not underestimate E=mv^2 ; hitting something at half the speed means quarter of the energy. Case in point: at a speed of 135 km/h, driver sees a bridge falling across the tracks half a km ahead, engages brakes, hits bridge at 90 km/h. By reducing the speed by 1/3, the total energy of the impact was reduced over 50%. There were 6 dead in that crash; without braking, the entire train plus 400 pax would have been blown to bits. https://en.wikipedia.org/wiki/2008_Stud%C3%A9nka_train_wreck
It's one more thing people have to learn. For that reason it imposes an ongoing cost.
I don't see the necessity of insurance salesmen. It's a particular way the industry decided to organize itself, but it isn't prima facie necessary for insurance - the valuable part - to function.

As for taxes and traffic stops, these help me and people around me. Advertising is made to hurt me, to rob me of my money by subtly manipulating my consumption choices. It's a malicious act.
Being Swedish, it's a bit weird that they don't acknowledge that the "young Swedish doctor named Hans Rosling" then went on to become quite famous for other things, too [1]. Usually things like that are pointed out in texts like these.

[1] https://en.wikipedia.org/wiki/Hans_Rosling

EDIT: Fixed a typo.
> watch as devices partition themselves between the few the need all of that stuff, and the majority that ship simple micro-USB 2.0 hardware

What's wrong with that? Just create a little spec addendum for USB 2 that officially allows the use of modern physical connectors. It would be so much better in any metric other than deliberate customer confusion than a big, bold "USB $some_high_number" claim with practically invisible fine print admitting that it only supports some obscure subset of the new specification that happens to be exactly USB 2.

The partition happens no matter what.
> Go's concurrency shines best in short-lived single-purpose processes, which is a near perfect fit for CLI tools

This is not reasonable. Go's concurrency shines for its flexibility. It has nothing related to whether or not the written programs are short/long-lived. It is the only language which gives me a happy and fun experience in concurrent programming.

> For long lived processes though, like most services, it feels very error-prone or very boilerplatey and manual.

This is not reasonable too. Whether or not a written program is robust depends on the experience of the authors. Rust may reduce many mistakes at compile time, but it can't prevent all mistakes. Programmers still need experience to avoid many mistakes.
Would it make sense to have an editor display a number in a more readable fashion while the source code itself has the grep-able version? I'm not a fan of ligatures myself but that is also done purely as presentation logic.
This just sounds like a bad architected solution, nothing else. The same problems that can happen in your own datacenter can happen in the cloud; it's just not your responsibility to fix it. If you lack that knowledge as an architect, rethink your title.
System Verilog Macro: A Powerful Feature for Design Verification Projects
https://youtu.be/9bAoq7k3tZ0

No seriously, these demands are a joke and not constructive. If anything it's just being used as an excuse to cause more chaos.

I'm trying to keep this comment as a logical opinion since I know hn isn't a place for flamed political views
Does an average visitor earn a site 5 USD per month? That sounds way too high. 5 cents, maybe, if they're a regular visitors. If sites asked users to pay what they earn off advertising to them on average, prices would be very low. Unfortunately, there's nothing stopping sites from asking for money and still advertising.
The awesome part is the steps you take to make it not show up on your own calendar don't actually make it go away. It's still there and will appear for people you share the calendar with.
But he's not saying "don't use transactions." He's saying "Don't keep your transaction open for your entire user connection for no reason. Close your completed transactions as soon as you can."
Downvoted for not having amerikkkan hatred for Iran & Venezuela. My facts are indisputable. OPEC, Russia & 'murrica use war and famine to keep oil prices high. Prove me wrong.
Open source speed-reading applications
Surveying Over 650 Developers - Open Source Security Management Report
Yeah the addition of window functions onto sqlite last year was quite a good feature to enable more data use cases with sqlite.

The exclude clause is part of the "window" configuration which defines which row to process, with it you can for instance define a range between all the previous and next rows and check if your data-point looks abnormal.
"they'll now have to provide those employees with a bunch of benefits they currently do not provide and pay a number of taxes they currently do not pay."

Thereby driving them out of business and eliminating this form of employment (which is clearly contractual and not "regular").
The problem is that you don't know if the logo is valid. Anyone can just print it on their product. Even buying from Amazon won't save you all the time.
>Have you seen the way they extinguish tear gas canisters with traffic cones?

This is nothing new, but somehow it’s only special and smart when the people doing it aren’t brown.
Alternatively, we need to corner the market into a kill box by letting it depend on a few large players, and then start shooting at it with regulations, technology and cultural shifts.

Personally, I do not want a healthy competition in adtech breeding further innovation. That's like wanting a healthy competition in bacteria breeding super germs. I want the adtech market to die.
You say that, but I find that a lot harder to read (and using `e` notation) than just the number - and readability / clarity is more important than cleverness, especially in Go.

10_000_000 can be read, 5 ＊ (1000＊＊4) and 1e7 has to be decoded. By me anyway, I'm just an average developer that never did well in maths - and you have to write code for the average developer, not for yourself and not for the top 10% smartest people.
I'm not agreeing with software limits comment, neither do I agree with your reaction to it. Clearly modern fridge usage can be called into question, that's what this whole discussion is about. Binary responses aren't interesting, there is a continuum that can be explored.
Reach Robotics is closing up shop
So what is the ad?
Interesting, thanks for the response. Perhaps eventually ML could form part of a solution to that problem too
Or they just Show a Progress-hash or something that i can store for myself if i wish to. To require a Login is annoying nowadays.

Anyway the Idea is good and it is really fun to solve.
Too much hacker news are political these days.
because computers don’t need diversity. you can either code or you can’t. who you are in the real world doesn’t matter.
If you say something is a joke, and post an opinion through a music video. You cannot then claim your opinion is logical. Protestors opinions cannot be reduced to a joke without any explanation.
This but Hibernate + Spring Repositories. Writing SQL is fine but the 95% CRUD cases are much better served with a decently managed ORM. We have an older project here using iBATIS, MSSQL and lots of stored procedures/SQL-first approach. See this tutorial for a preview of the horror to come: https://www.tutorialspoint.com/ibatis/ibatis_create_operatio...

'Employee.xml'

Now imagine this but with stored procedures and inserts with tens of parameters.
pretty sure pgbouncer should be a sidecar to postgres database itself and not the individual process. but otherwise, yes, it's a great answer.
We Have a Thing for the Internet of Things (IoT)
Wait, so you wrote this library to solve the political issue of crap DBAs?
it is a better-java language with c blood.
Program Synthesis and Semantic Parsing with Learned Code Idioms