old thread: What are you working on, Jow Forums?
/dpt/ - Daily Programming Thread
Other urls found in this thread:
reliabilityanalytics.com
youtube.com
thoughtco.com
hackernoon.com
play.integer32.com
twitter.com
first for fuck hiroshimoot
I want to lick their feet....
Fuck programming, long live science!
Perl 6 is my favorite language and I think you'd like it too
Perl is a horrible language. Stop shilling that garbage here.
>Perl is a horrible language
Not true, and I assume you're talking about Perl 5. Perl 6 is a completely different language that has, for better or worse, retained the Perl name.
>Stop shilling that garbage here
I do it for free for the benefit of the scripting/programming community
Mill architecture in 2019
>he does it for free
Could someone tell me what categories of bugs Rust eliminates/mitigates that Ada does not?
>Oh you will always be
>Doing it for free
>Oh you will never be
>Compensated monetarily
>fan of tim toady
We're trying out different deployment automation tools at work, so I've been charged with figuring out how to get each one integrated with our change ticket system. Unfortunately, all the tools are pretty useless in this regard; they just give you a big textbox where you type in your key/value pairs. No hints about what fields are actually required for the request. This involves a lot of trial and error, like figuring out that the api returns a 403 error if you try to close a change request without a start and stop date set.
I'm having to write my own little shell scripts to accomplish so many things that I don't see the point of using the automation tool at all. We should just use scripts for the entire workflow.
ReiserFS in 2019
thank you for posting a programming related image.
cmake_minimum_required(VERSION 3.10)
project(app2)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED true)
set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
set(CMAKE_C_COMPILER "/usr/bin/clang")
set(CMAKE_CXX_FLAGS "-Weverything -Wno-c++98-compat")
add_executable(${PROJECT_NAME} "main.cpp")
>-c++98
>What are you working on, Jow Forums?
A useful program in haskell.
He specifically removed C++98 compatibility warnings but everything else
Clojure + Spacemacs = comfy
>useful program
>haskell
I sense a contradiction
bakari
nigger.cpp
how am i best off getting reliable timestamps for something as frequent as a mouse movement event? using python 3 btw
is spacemacs comfier than nightcode?
>Cmake
>Sepples
Would you pick anything worse?
I was going to give you an answer, but you posted disgusting furry trash.
muh qt
Hey! This might be the wrong place to ask this, but I can't think of anywhere else to ask. I want to do a spare parts analysis in excel and the formula is so strange that I have no idea how to input it into excel. Can someone tell me if this is even possible? I am talking about the "Example 1" on the webpage below. I only need to be able to change the "30", "0.05" and "0.95" in the formula.
reliabilityanalytics.com
please user
Here I lay
Still and breathless
Just like always
Still, I want some more
Mirrors sideways
Who cares what's behind?
Just like always
Still your passenger
The chrome buttons buckle on leather surfaces
These and other lucky witnesses
Now to calm me
This time won't you please
Drive faster
Roll the windows down this
Cool night air is curious
Let the whole world look in
Who cares who sees anything?
I'm your passenger
I'm your passenger
How funny is it that even in this degenerate dweeb environtment, people still feel superior to each other.
owo what's this?
>using Excel in 2018
>binomial distribution is "strange"
What cave are you living in? Anyway I don't excel at Excel but I can try splintering you the formula tho the best of my ability. What parts do you not get?
are we copying /hpg/ now?
*splintering -> spoon feeding
Fucking mobile
>tfw I solved the algorithm I was working on last night in my sleep
Ok guys,
I've got a question. Gotta do a database project for uni, but the dataset is fucked up.
I have a lot of companies which received money from the state. But those fucking retards from the state have always written the name of some companies diferently (like adding a space, a dot or whatever).
BUT I am able to identify them through a unique ID.
And here comes my question:
If I'd like them to group by uniqueID am I able to (((force))) something like select the first name youy find and group by it and ignore the others in mysql directly? Or would i have to do that manually (in c++)?
...
Actually it's as easy as using the builtin function
thoughtco.com
BINOM.DIST(k,n,p,false)
or true in the last one if you're interested in the cumulative probability
Is C++ dead?
how do I program my own death
better yet you should figure out how to get your ghost out of its shell.
Yes.
What's the difference between Entity Component System and Data Oriented Design
Not yet. Soon though.
Just return 0, dude.
Worse. It's undead.
Oh my god thanks so much man! I had no idea there is such a function.
Anyone familiar with svg format?
I have a bunch of image contours to write as paths in an svg.
I was thinking that I'd just draw straight lines between a subset of the boundary points (like total // 5 or something) of the contours, but I'm not sure if this is a good idea.
Some sources say that svg should be kept simple?
Additionally, If i start at one point, outlining the contour, and end at the starting point, can I then fill it with a color?
nvm, i am retarded.
I finally realized reddit is full of shills
???
wow. mind = blown
4gag is worse. But at least you can't call your fellow drones to downvote to reduce visibility.
Thank you for posting all that.
*downvoted*
is CLS/CLI worth learning when working with .NET?
rust will get rid of that bug of having a job
Read specs / examples. Create own svg file in inkscape/gimp/ps and then view how they do it in text editor. Also, 3min of google found this: '' so read on polyline i guess?
Ada is dead
no it's not.
Good to know, Do you know Ada?
Anyone else here knows Ada?
hullo
see any nice algorithms lately?
it's a hobbylang i tinker with from time to time.
still far from ded though
Dead
To be precise, it never was alive to begin with
In comparison to Rust:
$66241100
#66241108
>BR and a rustlet
please never post again.
Rust could go higher if it supported inheritance and polymorphism
It doesn't? How do people make anything in it? How do you even make a GUI?
It has a basic support for them via traits. So GUI APIs are very unidiomatic. This is a problem with all non OOP languages.
I came up with a new algorithm recently. It's definitely going to make me a famous computer scientist.
original_sort(array, len)
int array[];
short len; /* Use short because it's faster */
{
static short i = 0;
for (i = 0; i < len; i = i + 1) {
for (auto j = 1; j
>Use short because it's faster
A basic understanding, sure, but it really depends on what you're doing. Generally, not really.
Why is that a problem? I don't understand why someone would expect different languages to support the same interface to GUI libraries. Is rust poorly copying more idiomatic approaches? I can't think of another reason why being different would be bad in this context.
Big GUI API players, for example, Qt or JavaFx etc are written in OOP style.It caught on in the 90s and people have been trying to find a better approach to GUI but they can't.
Non OOP programmers don't invest in creating useful things so it gets less attention too.
My goal is to help with fcitx development. I know a bit about programming (a intro and a data structure class) but I'm not sure what else I should learn.
ah ok, makes sense
>Rust could go higher if it supported inheritance
Inheritance doesn't really make sense using traits. What properties would be "inherited"?
The closest meaningful thing I can think of is be extending traits, which you can do in Rust.
>and polymorphism
Rust has polymorphism - what do you think traits are FOR?
Please learn even basic Rust programming before talking about how it does things.
>Big GUI API players, for example, Qt or JavaFx etc are written in OOP style.
There's nothing preventing interfaces for those libraries being written in any other style, including using traits.
>There's nothing preventing interfaces for those libraries being written in any other style, including using traits.
Except Rust does not allow fields in traits.
YOU learn basic Rust before talking like a retard.
>There's nothing preventing interfaces for those libraries being written in any other style
Clean code is preventing exactly that.
>Except Rust does not allow fields in traits.
Why would you need fields in traits for a GUI?
>Clean code is preventing exactly that.
How so?
A wrapper around a GUI library is going to be ugly to look at regardless of the styles involved, but there's no reason it can't provide a decent Rust interface.
>Why would you need fields in traits for a GUI?
hackernoon.com
I think a Clojure records like solution to the first problem is what should be done
play.integer32.com
>hackernoon.com
I don't understand why this person is doing anything the way they are.
It looks like they're trying to write good C++ code and then getting frustrated that it's not valid Rust.
Traits in Rust specify interfaces, they don't have fields because they don't specify the implementation of the structs that implement them.
I think he wants to reuse that GetFontSize method in all the Widget-like structs, how is that done in Rust?
never mind I read on and don't care anymore
Is Fate/Grand Order good?
>What are you working on, Jow Forums?
Trying to find a job. How to prepare to my first interview?
idk, but spacemacs + intero (haskell) is comfy
there is no literally no IDE better for haskell than intero
Nearing completion of my game engine using C++11 + Boost.
>boost
Dropped.
>le boost is bad maymay
top kekkles
Not that guy, but I have never seen a worse designed thing than boost.
It's just the culminated retardation of C++.
You should end your life if you think it's good or worth using.
is there any reason to NOT use any standard above c++11?
>Making things easier is a bad thing
k
>is there any reason to NOT use any standard above c++11?
Projects that were started before those standards were released and would take a significant amount of time to convert to modern conventions.
Compatibility issues. e.g. noexcept is not part of function types in C++11, but is in C++17.
lol